/* Public pages (landing, terms, privacy): built on style.css tokens. */
body.public { background: var(--bg); }
.pub-head { max-width: 1120px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pub-nav { display: flex; align-items: center; gap: 1.1rem; }
.pub-nav a:not(.btn) { color: var(--text-2); font-weight: 600; }
@media (max-width: 560px) { .pub-nav a:not(.btn) { display: none; } }
.pub-main { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem 3rem; display: flex; flex-direction: column; gap: 4.5rem; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--accent-strong); margin: 0 0 0.6rem; }
.section-title { font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 800; color: var(--text); margin-bottom: 1.1rem; }
.btn.lg, button.lg { padding: 0.8rem 1.4rem; font-size: 1.02rem; border-radius: 999px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem; align-items: center; padding-top: 1.5rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; color: var(--brand-strong); }
.hero-lede { font-size: 1.15rem; color: var(--text-2); max-width: 34rem; margin: 1rem 0 1.5rem; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: 0.85rem; margin-top: 0.9rem; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, var(--sunshine) 0 46%, transparent 47%), var(--brand-soft); opacity: .9; }
.hero-art img { position: relative; width: 100%; max-width: 440px; height: auto; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; text-align: left; } .hero-art { order: -1; } .hero-art img { max-width: 300px; } }

/* features */
.feature-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.feature h3 { font-size: 1.2rem; color: var(--brand-strong); margin-bottom: 0.35rem; }
.feature p { margin: 0; color: var(--text-2); }

/* how */
.steps-list { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps-list li { counter-increment: s; background: var(--surface-warm); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.1rem 3.6rem; position: relative; color: var(--text-2); }
.steps-list li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-family: var(--font-display); font-weight: 800; }
.steps-list b { color: var(--text); display: block; font-family: var(--font-display); font-size: 1.1rem; }

/* preview */
.preview { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; }
.preview-copy p { color: var(--text-2); font-size: 1.05rem; }
.preview-card { position: relative; }
.preview-tag { position: absolute; top: -0.7rem; right: 1rem; margin: 0; background: var(--sunshine); color: var(--deep-ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.6rem; border-radius: 999px; }
.preview-list { margin-top: 0.75rem; }
@media (max-width: 800px) { .preview { grid-template-columns: 1fr; } }

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.4rem 1rem; margin-bottom: 0.6rem; }
.faq summary { color: var(--text); font-family: var(--font-display); font-size: 1.1rem; }
.faq details p { color: var(--text-2); margin: 0 0 0.7rem; max-width: 62ch; }

/* join */
.join { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 2rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 8px); padding: 2rem; }
.join-art { width: 100%; max-width: 280px; height: auto; justify-self: center; }
.join-copy p { color: var(--text-2); }
.join-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-top: 1rem; }
.join-form .jf { display: flex; flex-direction: column; gap: 0.3rem; }
.join-form .full { grid-column: 1 / -1; }
.join-form label { font-weight: 600; font-size: 0.9rem; }
.join-form .hint { color: var(--muted); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 800px) { .join { grid-template-columns: 1fr; padding: 1.25rem; } .join-art { max-width: 200px; } .join-form { grid-template-columns: 1fr; } }

/* footer */
.pub-foot { border-top: 1px solid var(--border); background: var(--surface); }
.pub-foot-inner { max-width: 1120px; margin: 0 auto; padding: 1.5rem 1.25rem 2rem; color: var(--muted); font-size: 0.85rem; }
.pub-foot-inner p { max-width: 70ch; }
.small-brand { font-size: 1rem; gap: 0.4rem; }
.small-brand img { border-radius: 6px; }

/* legal pages */
.legal { max-width: 46rem; }
.legal h1 { font-size: 2.2rem; color: var(--brand-strong); }
.legal h2 { font-size: 1.3rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--text-2); }
.legal .draft { background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--warn); border-radius: var(--radius-sm); padding: 0.6rem 0.9rem; font-weight: 600; }

/* sign-in pages */
.auth-wrap { display: grid; place-items: center; padding-block: 1.5rem 2rem; }
.auth-card { width: 100%; max-width: 26rem; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); padding: 1.75rem 1.5rem; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.7rem; color: var(--brand-strong); margin-bottom: 0.6rem; }
.auth-owl { display: block; width: 72px; height: 72px; margin: -0.25rem 0 0.75rem; border-radius: 18px; }
.auth-card form { display: flex; flex-direction: column; }
.auth-card input:not([type=checkbox]) { width: 100%; }
.auth-submit { margin-top: 1.1rem; width: 100%; padding: 0.75rem; font-size: 1rem; border-radius: 999px; }
.auth-alt { margin-top: 0.9rem; font-size: 0.9rem; }
.auth-check { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 500; margin-top: 1rem; }
.auth-check input { margin-top: 0.2rem; }
.hint { color: var(--muted); font-weight: 400; }
