/* Suntservanda landing page. Tokens mirror project/frontend/web/css/app.css (docs/DESIGN.md): cool paper, ink,
   bottle green, Literata + Golos Text (OFL, self-hosted in /fonts). No external fonts, no build step, no inline code. */
@font-face { font-family: "Literata"; src: url("../fonts/literata-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("../fonts/literata-italic-var.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../fonts/golos-text-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
    --paper: #f6f6f4; --surface: #ffffff; --sunk: #eeeeeb; --ink: #111111; --ink-2: #5a5a5a; --line: #dcdddb; --line-2: #8a8f8c;
    --accent: #b79d66; --accent-2: #a88d55; --accent-soft: #f3eee3; --on-accent: #000000; --link: #111111; --focus: #000000;
    --high: #b3261e; --high-ink: #9c2119; --high-soft: #fbe9e7; --del: #b3261e; --del-bg: #fbe9e7; --ins: #1f5d4a; --ins-bg: #e4f1eb;
    --serif: "Literata", "Iowan Old Style", Georgia, serif;
    --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius: 6px;
    color-scheme: light;
}
/* light only: dark mode was dropped by owner decision (2026-11-16) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .75rem; font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.015em; max-width: 16ch; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1rem; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link); text-decoration-thickness: 2px; background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; box-shadow: 0 0 0 4px var(--paper); }
.wrap { width: 100%; max-width: calc(66rem + 4rem); margin: 0 auto; padding: 0 2rem; }
@media (max-width: 40rem) { .wrap { padding: 0 1rem; } }
.wrap.narrow > * { max-width: 40rem; }
.skip { position: absolute; left: 1rem; top: -4rem; background: #000; color: #fff; padding: .6rem 1rem; border-radius: var(--radius); z-index: 10; font-weight: 600; }
.skip:focus { top: 1rem; color: #fff; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* header */
header.top { background: var(--surface); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; min-height: 3.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.125rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.brand .mark { display: block; height: 3.4rem; width: auto; }
nav.top-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; font-size: .9375rem; }
.lang { display: inline-flex; gap: .25rem; }
.lang a, .lang span { padding: .2rem .45rem; text-decoration: none; color: var(--ink-2); }
.lang [aria-current] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -4px 0 var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .6rem 1.25rem; border-radius: var(--radius); border: 1px solid #000; background: var(--accent); color: var(--on-accent); font: 600 1rem/1.25 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-2); border-color: #000; color: var(--on-accent); text-decoration: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.75rem; }
.link { font-weight: 600; }

/* hero: the headline, and an example finding drawn the way the app draws it */
.hero { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); padding-top: 3rem; padding-bottom: 3.5rem; align-items: center; }
.hero .lead { font-size: 1.1875rem; color: var(--ink-2); max-width: 34rem; margin-top: 1rem; }
.specimen { margin: 0; }
.sheet { position: relative; background: var(--surface); border: 1px solid var(--line); padding: 1.5rem 1.5rem 1.5rem 2rem; }
.where { font-size: .875rem; color: var(--ink-2); margin-bottom: .5rem; }
.clause { position: relative; margin: 0 0 1rem; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.6; }
.clause p { margin: 0; }
.clause::before { content: ""; position: absolute; left: -1.25rem; top: .25em; bottom: .25em; width: 4px; border-radius: 1px; background: var(--high); }
.note { border-left: 1px solid var(--line); padding-left: 1rem; margin: 0 0 1.25rem; font-size: .9375rem; }
.note p { margin: 0; }
.sev { display: inline-flex; align-items: center; gap: .3rem; padding: .05rem .45rem .05rem .35rem; margin-bottom: .4rem !important; border-radius: 4px; background: var(--high-soft); color: var(--high-ink); font-weight: 600; font-size: .8125rem; }
.redline-label { font-size: .875rem; color: var(--ink-2); margin-bottom: .25rem; }
.redline { font-family: var(--serif); font-size: 1.125rem; line-height: 1.7; margin: 0; }
del { color: var(--del); background: var(--del-bg); text-decoration: line-through; text-decoration-thickness: 1.5px; }
ins { color: var(--ins); background: var(--ins-bg); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .15em; }
figcaption { font-size: .875rem; color: var(--ink-2); margin-top: .5rem; }

/* sections */
section { padding: 2.75rem 0; border-top: 1px solid var(--line); }
.who { margin: 1rem 0 0; display: grid; gap: 0; max-width: 46rem; }
.who > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem 2rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.who > div:first-child { border-top: 0; padding-top: 0; }
.who dt { font-family: var(--serif); font-weight: 600; font-size: 1.125rem; }
.who dd { margin: 0; color: var(--ink-2); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 1.5rem; max-width: 46rem; }
.steps li { counter-increment: step; position: relative; padding: .7rem 0 .7rem 2.75rem; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: .65rem; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; color: var(--ink); font: 600 .9375rem var(--serif); }
.steps strong { font-weight: 600; }
.pricing-box { background: var(--surface); border: 1px solid var(--line); padding: 1rem 1.25rem; margin-top: 1rem; max-width: 46rem; }
.pricing-box[hidden] { display: none; }
.packs { display: grid; gap: .75rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: .75rem 0; }
.packs li { border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; background: var(--paper); }
.packs strong { font-family: var(--serif); font-size: 1.2rem; display: block; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
th, td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--line); }
th { font-weight: 500; color: var(--ink-2); }

/* invite form */
form.invite { display: grid; gap: 1rem; max-width: 34rem; margin-top: 1rem; }
label { display: grid; gap: .3rem; font-weight: 600; font-size: .9375rem; }
label small { font-weight: 400; color: var(--ink-2); }
input, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: .6rem .75rem; width: 100%; min-height: 2.75rem; }
input:focus, textarea:focus { border-color: #000; outline: 2px solid var(--focus); outline-offset: 0; box-shadow: none; }
textarea { min-height: 6rem; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 1rem 0 0; padding: .75rem 1rem; border-left: 3px solid var(--line-2); background: var(--surface); max-width: 34rem; }
.status[hidden] { display: none; }
.status.ok { background: var(--ins-bg); border-left-color: var(--ins); }
.status.bad { background: var(--high-soft); border-left-color: var(--high); }
.status.fallback { display: none; }
#invite:target .status.fallback { display: block; }
.js #invite:target .status.fallback { display: none; }

.notice { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.notice p { margin: 0; font-family: var(--serif); font-size: 1.0625rem; max-width: 46rem; border-left: 3px solid var(--line-2); padding-left: 1rem; }
footer { border-top: 1px solid var(--line); padding: 1.5rem 0 3rem; color: var(--ink-2); font-size: .9375rem; }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: 0 0 1rem; }
footer a { color: var(--ink-2); }
footer .foot-logo { display: block; height: 2.5rem; width: auto; margin: 0 0 1.25rem; }   /* clear space: half the mark */

@media (min-width: 52rem) {
    .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; padding-top: 4.5rem; padding-bottom: 4.5rem; }
    .who > div { grid-template-columns: 10rem minmax(0, 1fr); }
    .packs { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
