chittios-app / style.css
mechramc's picture
Polished Space landing page (privacy-forward, onboarding explainer, light/dark)
f1c1b35 verified
Raw
History Blame Contribute Delete
4.39 kB
:root {
--bg: #fdfbf7;
--surface: #ffffff;
--ink: #26211c;
--muted: #6f665c;
--line: #ece5da;
--accent: #e8792b;
--accent-2: #f4a24c;
--accent-ink: #7a3d12;
--halo: rgba(232, 121, 43, 0.14);
--shadow: 0 18px 40px rgba(45, 32, 18, 0.10);
--radius: 18px;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #17140f;
--surface: #211c16;
--ink: #f3ede4;
--muted: #b3a99c;
--line: #342c22;
--accent: #f4a24c;
--accent-2: #e8792b;
--accent-ink: #ffd8ad;
--halo: rgba(244, 162, 76, 0.16);
--shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
color: var(--ink);
background: var(--bg);
-webkit-font-smoothing: antialiased;
}
.wrap {
max-width: 980px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* Hero */
.hero {
text-align: center;
padding: 5rem 0 3.5rem;
background:
radial-gradient(60% 70% at 50% 0%, var(--halo), transparent 70%),
var(--bg);
border-bottom: 1px solid var(--line);
}
.badge {
display: inline-block;
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--accent-ink);
background: var(--halo);
border: 1px solid var(--line);
padding: 0.35rem 0.8rem;
border-radius: 999px;
margin-bottom: 1.4rem;
}
.mark {
font-size: 3.4rem;
line-height: 1;
margin-bottom: 0.6rem;
}
.hero h1 {
font-size: clamp(2.6rem, 7vw, 4rem);
font-weight: 800;
letter-spacing: -0.02em;
background: linear-gradient(120deg, var(--accent), var(--accent-2));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.tagline {
font-size: clamp(1.15rem, 2.5vw, 1.45rem);
font-weight: 600;
margin: 0.6rem auto 0.4rem;
max-width: 34ch;
}
.sub {
color: var(--muted);
max-width: 56ch;
margin: 0.4rem auto 0;
}
.pills {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
justify-content: center;
margin-top: 1.8rem;
}
.pill {
font-size: 0.86rem;
font-weight: 600;
color: var(--ink);
background: var(--surface);
border: 1px solid var(--line);
border-radius: 999px;
padding: 0.4rem 0.9rem;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
/* Feature cards */
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 1.1rem;
margin: 3.5rem 0;
}
.card {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 1.6rem;
box-shadow: var(--shadow);
}
.card .icon {
font-size: 1.8rem;
margin-bottom: 0.7rem;
}
.card h3 {
font-size: 1.12rem;
margin-bottom: 0.4rem;
}
.card p {
color: var(--muted);
font-size: 0.96rem;
}
/* Onboarding */
.onboard {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 2.6rem 2rem;
box-shadow: var(--shadow);
margin: 0 0 3.5rem;
}
.onboard h2,
.install h2 {
font-size: clamp(1.6rem, 4vw, 2rem);
letter-spacing: -0.01em;
text-align: center;
}
.lead {
text-align: center;
color: var(--muted);
margin-top: 0.4rem;
margin-bottom: 2rem;
}
.steps {
list-style: none;
display: grid;
gap: 1.3rem;
max-width: 640px;
margin: 0 auto;
}
.steps li {
display: flex;
gap: 1rem;
align-items: flex-start;
}
.steps .n {
flex-shrink: 0;
width: 2.1rem;
height: 2.1rem;
border-radius: 50%;
display: grid;
place-items: center;
font-weight: 800;
color: #fff;
background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.steps h4 {
font-size: 1.05rem;
margin-bottom: 0.15rem;
}
.steps p {
color: var(--muted);
font-size: 0.96rem;
}
/* Install */
.install {
text-align: center;
margin-bottom: 3.5rem;
}
.install p {
color: var(--muted);
max-width: 52ch;
margin: 0.7rem auto 1.4rem;
}
.idpill {
display: inline-block;
background: var(--surface);
border: 1px solid var(--line);
border-radius: 10px;
padding: 0.7rem 1.1rem;
box-shadow: var(--shadow);
}
.idpill code {
font-family: "SF Mono", "Monaco", "Roboto Mono", monospace;
font-size: 0.95rem;
color: var(--accent-ink);
}
/* Footer */
.footer {
text-align: center;
padding: 2.5rem 1.5rem;
color: var(--muted);
font-size: 0.9rem;
border-top: 1px solid var(--line);
}
.footer a {
color: var(--accent-ink);
font-weight: 600;
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}