/* Public pages. Same tokens, type and button recipe as the workspace, in the Coral accent. */
:root {
    --canvas: #faf8f6; --surface: #ffffff; --rail: #f5efea; --inset: #f7f3f0; --line: #e4ded9;
    --ink: #141414; --muted: #626262;
    --accent: #c33114; --accent-text: #a82d14; --accent-ring: rgb(217 49 17 / 32%);
    --accent-wash: color-mix(in srgb, var(--accent) 7%, var(--surface));
    --action-highlight: #ff9981; --action-middle: #d33615; --action-base: #bd2c0e;
    --radius: 12px; --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 4%); --shadow-lg: 0 30px 70px -28px rgb(60 20 10 / 28%);
    --gutter: clamp(16px, 4vw, 40px);
    color-scheme: light;
}
html[data-theme=dark] {
    --canvas: #161616; --surface: #212121; --rail: #191919; --inset: #292929; --line: #383838;
    --ink: #f2f2f2; --muted: #aaaaaa; --accent-text: #ff9a6b;
    --shadow-lg: 0 30px 70px -28px rgb(0 0 0 / 80%);
    color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 15px/1.55 Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.icon, .workspace-icon { width: 18px; height: 18px; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.billing-toggle { margin-inline: auto; }
:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }

/* Buttons: lit upper edge and deeper base, as in the app */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px; font: 600 14px/1 Geist, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
    color: #fff; background: linear-gradient(180deg, var(--action-highlight), var(--action-middle) 47%, var(--action-base)); border: 1px solid var(--action-base); border-top-color: var(--action-highlight);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 2px 4px rgb(0 0 0 / 18%); transition: filter .15s, transform .08s; }
.btn:hover { filter: brightness(1.05); }
.btn:active { filter: brightness(.95); transform: translateY(1px); }
.btn.secondary { color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn.secondary:hover { filter: none; border-color: var(--muted); }
.btn.large { min-height: 50px; padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.btn.small { min-height: 38px; padding: 8px 16px; font-size: 13px; }

/* Navigation */
.site-nav { position: sticky; top: 0; z-index: 40; -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); background: rgb(255 255 255 / 86%); border-bottom: 1px solid rgb(0 0 0 / 6%); }
html[data-theme=dark] .site-nav { background: rgb(33 33 33 / 86%); border-bottom-color: rgb(255 255 255 / 8%); }
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 18px; letter-spacing: -.04em; text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.nav-links a { padding: 8px 15px; border-radius: 999px; color: var(--muted); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current=page] { color: var(--ink); background: var(--inset); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer; }
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); }
.theme-toggle .when-dark, html[data-theme=dark] .theme-toggle .when-light { display: none; }
html[data-theme=dark] .theme-toggle .when-dark { display: block; }
.nav-menu { display: none; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 84px) 0 0; text-align: center; }
.hero-lines { position: absolute; inset: 0 0 auto; height: 560px; z-index: -1; color: var(--line); pointer-events: none; }
.hero-lines svg { width: 100%; height: 100%; }
.hero::before { content: ""; position: absolute; inset: -140px 0 auto; height: 620px; z-index: -2; background: radial-gradient(60% 60% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.eyebrow { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow b { color: var(--accent-text); font-weight: 600; }
.hero h1 { margin: 22px auto 0; max-width: 15ch; font-size: clamp(36px, 6.4vw, 68px); line-height: 1.04; font-weight: 650; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.lede { margin: 20px auto 0; max-width: 56ch; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 12.5px; font-weight: 550; }
.chips svg { width: 16px; height: 16px; color: var(--accent-text); }
.shot { margin: clamp(36px, 6vw, 64px) auto 0; padding: clamp(6px, 1vw, 12px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: var(--shadow-lg); }
.shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: calc(var(--radius-lg) - 8px); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot .dark, html[data-theme=dark] .shot .light { display: none; }
html[data-theme=dark] .shot .dark { display: block; }
.shot figcaption { padding: 10px 4px 4px; color: var(--muted); font-size: 12px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding-top: clamp(40px, 6vw, 72px); }
.section-head { max-width: 62ch; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.kicker { color: var(--accent-text); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2, .page-title { margin-top: 10px; font-size: clamp(26px, 3.8vw, 42px); line-height: 1.1; font-weight: 650; letter-spacing: -.045em; text-wrap: balance; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 550; }
.strip li { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 18px; height: 18px; color: var(--accent-text); }

.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.card h3 { font-size: 16px; font-weight: 650; letter-spacing: -.03em; }
.card p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.card .glyph { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 10px; background: var(--accent-wash); color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); }
.card.wash { background: linear-gradient(110deg, var(--surface) 35%, var(--accent-wash)); }
.steps { counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 50%; background: var(--ink); color: var(--canvas); font-size: 13px; font-weight: 650; }
.feature-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: start; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.feature-row h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; font-weight: 650; letter-spacing: -.04em; }
.feature-row > div > p { margin-top: 10px; color: var(--muted); }
.ticks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14.5px; }
.ticks svg { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-text); }
.ticks b { font-weight: 600; }
.ticks span { color: var(--muted); }
.cta { padding: clamp(32px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--surface) 30%, var(--accent-wash)); text-align: center; }
.cta h2 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.12; font-weight: 650; letter-spacing: -.045em; }
.cta p { margin: 10px auto 0; max-width: 52ch; color: var(--muted); }
.cta .hero-actions { margin-top: 24px; }

/* Pricing */
.page-head { padding: clamp(40px, 6vw, 72px) 0 0; text-align: center; }
.page-head p { margin: 14px auto 0; max-width: 58ch; color: var(--muted); font-size: 16px; }
.billing-toggle { display: inline-flex; gap: 2px; margin-top: 26px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.billing-toggle label { cursor: pointer; }
.billing-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; color: var(--muted); font-size: 13.5px; font-weight: 550; }
.billing-toggle input:checked + span { background: var(--ink); color: var(--canvas); }
.billing-toggle input:focus-visible + span { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
.billing-toggle small { font-size: 11px; font-weight: 600; color: var(--accent-text); }
.billing-toggle input:checked + span small { color: var(--action-highlight); }
.plans { align-items: stretch; margin-top: clamp(28px, 4vw, 44px); }
.plan { display: flex; flex-direction: column; padding: 28px 26px; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring), var(--shadow-lg); background: linear-gradient(160deg, var(--surface) 40%, var(--accent-wash)); }
.plan .tag { align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.plan h2 { font-size: 20px; font-weight: 650; letter-spacing: -.03em; }
.plan .tagline { margin-top: 4px; color: var(--muted); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; font-variant-numeric: tabular-nums; }
.price strong { font-size: 40px; line-height: 1; font-weight: 650; letter-spacing: -.05em; }
.price span { color: var(--muted); font-size: 14px; }
.price-note { min-height: 20px; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.plan .btn { margin: 22px 0; }
.plan .ticks li { font-size: 14px; }
[data-billing=yearly] .monthly, [data-billing=monthly] .yearly { display: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: 14px; font-weight: 650; background: var(--inset); }
.compare tbody th { font-weight: 500; }
.compare .group th { background: var(--inset); color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; text-align: left; }
.compare tr:last-child > * { border-bottom: 0; }
.compare .yes { color: var(--accent-text); }
.compare .no { color: var(--muted); }
.compare svg { width: 18px; height: 18px; vertical-align: middle; }
.faq { display: grid; gap: 10px; max-width: 760px; margin-inline: auto; }
.faq details { padding: 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq summary { padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 18px; color: var(--muted); font-size: 14.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; margin-top: clamp(28px, 4vw, 44px); align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.contact-item .glyph { margin: 0; }
.contact-item strong { display: block; font-size: 14px; font-weight: 650; }
.contact-item a, .contact-item span { color: var(--muted); font-size: 14.5px; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--accent-text); text-decoration: underline; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 550; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea, .form select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); color: var(--ink); font: 15px Geist, sans-serif; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.form .note { color: var(--muted); font-size: 12.5px; font-weight: 400; }

/* Footer */
.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: var(--rail); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
    .grid.three, .grid.two, .feature-row, .contact-grid { grid-template-columns: 1fr; }
    .nav-links { background: var(--surface); display: none; position: absolute; top: 68px; left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; padding: 8px; border-radius: 16px; box-shadow: var(--shadow-lg); }
    .nav-links a { padding: 12px 14px; font-size: 15px; }
    .site-nav.open .nav-links { display: flex; }
    .nav-menu { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
    .nav-actions .signin { display: none; }
    .shot img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
    .form { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .nav-actions .btn { padding-inline: 12px; }
    .hero-lines { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Home hero artwork: the sign-in page's coral gradient, fading into the page below the fold */
.hero-art { position: absolute; inset: -68px 0 0; z-index: -1; overflow: hidden; pointer-events: none;
    background: radial-gradient(60% 55% at 30% 30%, rgb(255 154 107 / .6), transparent 70%), radial-gradient(50% 50% at 80% 70%, rgb(195 189 255 / .45), transparent 70%), linear-gradient(135deg, #8f2410, #c33114 40%, #d93111 75%, #5d2929);
    -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 18%, rgb(0 0 0 / 62%) 44%, rgb(0 0 0 / 22%) 68%, transparent 90%); mask-image: linear-gradient(to bottom, #000 0, #000 18%, rgb(0 0 0 / 62%) 44%, rgb(0 0 0 / 22%) 68%, transparent 90%); }
.hero-art canvas { display: block; width: 100%; height: 100%; }
.has-art .hero::before { display: none; }
.has-art .hero-lines { color: rgb(255 255 255 / 22%); }
.has-art .hero h1 { color: #fff; text-shadow: 0 1px 24px rgb(60 14 6 / 35%); }
.has-art .hero h1 em { color: #ffe1d2; }
.has-art .hero .lede { color: rgb(255 255 255 / 88%); }
.has-art .hero .hero-actions .btn:not(.secondary) { color: var(--accent-text); background: #fff; border-color: #fff; box-shadow: 0 6px 20px rgb(60 14 6 / 30%); }
html[data-theme=dark] .has-art .hero .hero-actions .btn:not(.secondary) { color: #a82d14; }
.has-art .hero .hero-actions .btn.secondary { color: #fff; background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 55%); box-shadow: none; backdrop-filter: blur(6px); }
.has-art .hero .hero-actions .btn.secondary:hover { background: rgb(255 255 255 / 20%); border-color: #fff; }
.has-art .hero .chips li { color: #fff; background: rgb(255 255 255 / 16%); border-color: rgb(255 255 255 / 34%); box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-shadow: 0 1px 8px rgb(60 14 6 / 30%); }
.has-art .hero .chips svg { color: #fff; }
.has-art .shot { background: rgb(255 255 255 / 18%); border-color: rgb(255 255 255 / 35%); backdrop-filter: blur(4px); }
.has-art .shot figcaption { color: var(--muted); }
@media (max-width: 560px) { .has-art .hero-lines { display: none; } }
