/* snagline.app — "site board": near-black bands, hi-vis orange, paper-white cards with crisp corners,
   Archivo (self-hosted subset in /fonts). Generated pages: src/build.py. */
@font-face { font-family: Archivo; src: url(/fonts/archivo-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Archivo; src: url(/fonts/archivo-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Archivo; src: url(/fonts/archivo-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #15171C; --ink-2: #2A2E37; --muted: #5C6270; --faint: #9AA0AC;
  --paper: #F4F4F1; --card: #FFFFFF; --line: #E3E3DE;
  --orange: #E2470F; --orange-ink: #B83A0C; --amber: #FFA41B; --tint: #FDEBE2;
  --open: #D92D20; --progress: #D97A00; --fixed: #15803D;
  --r: 10px; --max: 1160px; --text: 68ch;
  --font: Archivo, "Helvetica Neue", Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; margin-top: 1.6em; }
h3 { font-size: 1.15rem; font-weight: 800; margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
code { font-size: .92em; background: #ECECE7; padding: .08em .35em; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand img { border-radius: 8px; }
.top nav { display: flex; gap: 4px 18px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: #D5D7DC; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; }
.top nav a:hover { color: #fff; }
.top nav a.btn-nav { background: var(--orange); color: #fff; padding: 7px 14px; border-radius: 8px; }
.top nav a.btn-nav:hover { background: var(--orange-ink); }
@media (max-width: 760px) { .top nav a:not(.btn-nav):not(.keep) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; font: 800 1rem var(--font); padding: 14px 22px; border-radius: var(--r); border: 0; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--orange-ink); color: #fff; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn.dark { background: var(--ink); }

/* hero: photo with a dark board panel */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero picture, .hero .hero-img { position: absolute; inset: 0; }
.hero .hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,23,28,.96) 0%, rgba(21,23,28,.82) 45%, rgba(21,23,28,.25) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding-block: 72px 64px; }
.hero .kicker { color: var(--amber); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }
.hero h1 { color: #fff; }
.hero p.lede { font-size: 1.2rem; color: #D5D7DC; max-width: 46ch; }
.hero .phone { justify-self: center; width: min(300px, 80%); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 48px; } .hero .phone { display: none; } }

/* waitlist form (wl.js) */
.wl { margin-top: 22px; max-width: 520px; }
.wl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.wl input[type=email] { flex: 1 1 220px; min-width: 0; font: 400 1rem var(--font); padding: 14px 14px; border-radius: var(--r); border: 2px solid transparent; background: #fff; color: var(--ink); }
.wl input[type=email]:focus { border-color: var(--amber); outline: none; }
.wl-platforms { border: 0; padding: 0; margin: 12px 0 0; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: .95rem; }
.wl-platforms legend { float: left; margin-right: 12px; font-weight: 600; }
.wl-platforms label { display: inline-flex; gap: 6px; align-items: center; }
.wl-note { font-size: .88rem; color: #AEB2BB; margin-top: 10px; }
.wl-note a { color: #fff; }
.wl-status { margin: 10px 0 0; font-weight: 700; color: var(--amber); min-height: 1.2em; }
.wl-hp { position: absolute; left: -9999px; }
.light .wl-note { color: var(--muted); } .light .wl-note a { color: var(--orange-ink); }
.light .wl input[type=email] { border-color: var(--line); }

/* proof strip */
.strip { background: var(--card); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-block: 22px; }
.strip div { font-size: .95rem; color: var(--muted); }
.strip b { display: block; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 760px) { .strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sections */
.section { padding-block: 64px; }
.section.alt { background: var(--card); border-block: 1px solid var(--line); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 0; }
.section-title.spaced { margin-top: 56px; }
.section .intro { color: var(--muted); max-width: 62ch; font-size: 1.08rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } .split.flip > :first-child { order: 0; } }
.photo { margin: 0; border-radius: var(--r); overflow: hidden; background: #ddd; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo figcaption { font-size: .82rem; color: var(--muted); padding: 8px 2px 0; background: transparent; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 16px; height: 9px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--r); padding: 20px; }
.section.alt .feature { background: var(--paper); }
.feature .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--ink); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: 10px; }
.feature h3 { margin-top: 0; }
.feature p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* phone screenshots */
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
@media (max-width: 860px) { .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.screen { margin: 0; }
.screen img { border-radius: 22px; border: 6px solid var(--ink); background: var(--ink); width: 100%; }
.screen figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.phone img { border-radius: 30px; border: 8px solid #000; box-shadow: 0 30px 60px rgba(0,0,0,.45); }

/* comparison / pricing table */
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .96rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: #fff; font-weight: 800; }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--fixed); font-weight: 700; } td.no { color: var(--faint); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; max-width: 820px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.plan.pro { border: 2px solid var(--orange); }
.plan .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); }

/* articles */
.article { max-width: 780px; padding-block: 28px 64px; }
.article > p, .article section > p, .article li { max-width: var(--text); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--faint); }
.crumbs a { color: var(--muted); }
.meta { color: var(--muted); font-size: .9rem; margin-top: -.4em; }
.answer { font-size: 1.15rem; background: var(--card); border-left: 4px solid var(--orange); padding: 16px 18px; border-radius: 0 var(--r) var(--r) 0; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin: 22px 0; }
.toc h2 { font-size: 1rem; margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 20px; font-size: .97rem; }
.article .photo { margin: 26px 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 8px 0 8px 34px; border-bottom: 1px dashed var(--line); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 16px; height: 16px; border: 2px solid var(--ink-2); border-radius: 4px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.cta { display: flex; gap: 18px; align-items: flex-start; background: var(--ink); color: #fff; border-radius: var(--r); padding: 22px; margin: 36px 0; }
.cta img { border-radius: 12px; flex: none; }
.cta p { margin: 0 0 12px; color: #D5D7DC; }
.cta strong { color: #fff; }
.cta .wl { margin-top: 6px; }
@media (max-width: 560px) { .cta { flex-direction: column; } }
.related ul, .cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .related ul, .cards { grid-template-columns: 1fr; } }
.related li, .cards li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.related a, .cards a { display: block; padding: 14px 16px; font-weight: 800; text-decoration: none; color: var(--ink); }
.related span, .cards span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.cards a:hover, .related a:hover { color: var(--orange-ink); }
.print-note { font-size: .92rem; color: var(--muted); }

/* footer */
.foot { background: var(--ink); color: #AEB2BB; padding-block: 44px 36px; font-size: .93rem; }
.fcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 26px; }
@media (max-width: 760px) { .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot h2 { color: #fff; font-size: .95rem; margin: 0 0 10px; }
.foot a { display: block; color: #D5D7DC; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot p { margin: 0; }

/* hand-written pages (privacy, terms, support) */
.legal { max-width: 780px; padding-block: 36px 64px; }
.legal h2 { font-size: 1.3rem; }

@media print {
  .top, .foot, .cta, .hero::after, .wl, .related, .toc { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .article { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
