/* ————————————————————————————————————————————————————————
   LUTLINE — lutline.app
   One line from the camera to the look. Near-black canvas, cream ink,
   amber lamps. Self-hosted fonts; no third-party requests.
   ———————————————————————————————————————————————————————— */

/* ——— Fonts ——— */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ——— Tokens ——— */

:root {
  color-scheme: dark;
  --canvas: #070808;
  --canvas-2: #0C0E0D;
  --surface: rgba(237, 239, 236, 0.045);
  --surface-2: rgba(237, 239, 236, 0.08);
  --line: rgba(237, 239, 236, 0.13);
  --line-2: rgba(237, 239, 236, 0.07);
  --text: #EDEFEC;
  --text-dim: #C3C5C2;
  --muted: #8A8C89;
  --cream: #EDE7DA;
  --cream-ink: #0A0B0B;
  --amber: #F0B35A;
  --amber-strong: #F7C36E;
  --amber-ink: #1A1206;
  --amber-glow: rgba(240, 179, 90, 0.28);
  --warning: #FFB84D;
  --danger: #FF6B5E;
  --shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.85);
  --shadow-soft: 0 24px 48px -28px rgba(0, 0, 0, 0.7);
  --radius: 18px;
  --radius-s: 12px;
  --radius-pill: 999px;
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --canvas: #F6F3EC;
  --canvas-2: #FFFFFF;
  --surface: rgba(15, 16, 15, 0.035);
  --surface-2: rgba(15, 16, 15, 0.06);
  --line: rgba(15, 16, 15, 0.14);
  --line-2: rgba(15, 16, 15, 0.07);
  --text: #0F100F;
  --text-dim: #3A3B39;
  --muted: #6B6D6A;
  --cream: #0F100F;
  --cream-ink: #F6F3EC;
  --amber: #E39A2E;
  --amber-strong: #B8730F;
  --amber-ink: #1A1206;
  --amber-glow: rgba(227, 154, 46, 0.22);
  --warning: #B8730F;
  --shadow: 0 40px 80px -40px rgba(30, 22, 8, 0.35);
  --shadow-soft: 0 24px 48px -30px rgba(30, 22, 8, 0.25);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --canvas: #F6F3EC;
    --canvas-2: #FFFFFF;
    --surface: rgba(15, 16, 15, 0.035);
    --surface-2: rgba(15, 16, 15, 0.06);
    --line: rgba(15, 16, 15, 0.14);
    --line-2: rgba(15, 16, 15, 0.07);
    --text: #0F100F;
    --text-dim: #3A3B39;
    --muted: #6B6D6A;
    --cream: #0F100F;
    --cream-ink: #F6F3EC;
    --amber: #E39A2E;
    --amber-strong: #B8730F;
    --amber-ink: #1A1206;
    --amber-glow: rgba(227, 154, 46, 0.22);
    --warning: #B8730F;
    --shadow: 0 40px 80px -40px rgba(30, 22, 8, 0.35);
    --shadow-soft: 0 24px 48px -30px rgba(30, 22, 8, 0.25);
  }
}

/* ——— Base ——— */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--amber-strong); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-2); padding: 0.1em 0.4em; border-radius: 6px; }
pre { font-family: var(--font-mono); font-size: 0.86em; line-height: 1.55; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 16px 18px; overflow-x: auto; }
pre code { background: none; padding: 0; font-size: inherit; }
hr { border: 0; border-top: 1px solid var(--line-2); margin: 40px 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.95em; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { font-weight: 600; color: var(--text); }
thead th { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
::selection { background: var(--amber); color: var(--amber-ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link { position: absolute; left: 16px; top: -60px; padding: 10px 14px; background: var(--amber); color: var(--amber-ink); border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ——— Typography ——— */

h1, h2, h3, h4 { font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber-glow), 0 0 2px var(--amber);
  margin-right: 10px;
  vertical-align: 1px;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-dim); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ——— Buttons ——— */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none;
  border: 1px solid transparent; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button--primary { background: var(--amber); color: var(--amber-ink); box-shadow: 0 10px 30px -12px var(--amber-glow); }
.button--primary:hover { background: var(--amber-strong); color: var(--amber-ink); box-shadow: 0 14px 34px -12px var(--amber-glow); }
.button--secondary { background: transparent; color: var(--text); border-color: var(--line); }
.button--secondary:hover { border-color: var(--text); color: var(--text); background: var(--surface); }
.button--small { padding: 10px 16px; font-size: 0.92rem; }
.button svg { width: 18px; height: 18px; }

/* ——— Header ——— */

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  border-bottom: 1px solid var(--line-2);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__mark { color: var(--cream); }
.brand__word { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.22em; font-size: 14px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.site-nav a { display: inline-block; padding: 8px 12px; border-radius: var(--radius-pill); text-decoration: none; color: var(--text-dim); font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--text-dim); border: 1px solid var(--line-2); }
.theme-toggle:hover { color: var(--text); border-color: var(--line); }
.theme-toggle__moon { display: none; }
:root[data-theme="light"] .theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle__moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle__sun { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle__moon { display: block; }
}
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 16px; height: 1.6px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line-2); padding: 8px var(--gutter) 16px; }
.mobile-nav ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.mobile-nav a { display: block; padding: 12px 8px; text-decoration: none; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); }
.mobile-nav__cta { color: var(--amber); font-weight: 600; }
.mobile-nav[hidden] { display: none; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__actions .button { display: none; }
}

/* ——— Sections ——— */

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head p { margin-top: 14px; color: var(--text-dim); font-size: 1.08rem; }
.section + .section { border-top: 1px solid var(--line-2); }

/* ——— Hero ——— */

.hero { position: relative; padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 96px); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin: 0 0 22px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lede { margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; }
.hero__trust li::before { content: "·"; color: var(--amber); margin-right: 8px; }
.hero__trust li:first-child::before { content: none; }
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__line {
  position: absolute; inset: -20% -10% auto; height: 140%; width: 120%;
  pointer-events: none; opacity: .9; z-index: 0;
}
.hero__line path { stroke: var(--amber); stroke-width: 1.2; fill: none; opacity: .35; }
.hero__line .hero__line-glow { stroke-width: 10; opacity: .08; filter: blur(6px); }
.hero__glow { position: absolute; width: 60vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--amber-glow), transparent 70%); filter: blur(30px); opacity: .55; z-index: 0; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }

/* ——— Phone mockup ——— */

.phone {
  position: relative; z-index: 1;
  width: min(320px, 78vw);
  aspect-ratio: 1320 / 2868;
  border-radius: 12.4% / 5.7%;
  padding: 2.4%;
  background: linear-gradient(160deg, #2A2C2B, #101211 60%, #1C1E1D);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone::before {
  content: ""; position: absolute; left: 50%; top: 3.6%; transform: translateX(-50%);
  width: 22%; height: 2.3%; background: #000; border-radius: 999px; z-index: 2;
}
.phone__screen { width: 100%; height: 100%; border-radius: 10.5% / 4.8%; overflow: hidden; background: #000; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone--small { width: min(250px, 70vw); }
.phone--tilt { transform: rotate(-3deg); }

/* ——— Chain (signal path) ——— */

.chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: stage; list-style: none; padding: 0; margin: 0; }
.chain__stage { position: relative; padding: 22px 20px 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.chain__stage::before {
  counter-increment: stage; content: "0" counter(stage);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--amber);
}
.chain__stage h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.chain__stage p { color: var(--text-dim); font-size: .95rem; line-height: 1.5; }
.chain__stage::after {
  content: ""; position: absolute; right: -13px; top: 50%; width: 12px; height: 1px; background: var(--line);
}
.chain__stage:last-child::after { content: none; }
@media (max-width: 960px) { .chain { grid-template-columns: repeat(2, 1fr); } .chain__stage::after { content: none; } }
@media (max-width: 520px) { .chain { grid-template-columns: 1fr; } }

/* ——— Compare slider ——— */

.compare { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1222 / 788; background: #000; box-shadow: var(--shadow-soft); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { clip-path: inset(0 0 0 var(--split, 50%)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 0; pointer-events: none; }
.compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--cream); box-shadow: 0 0 12px rgba(0,0,0,.6); }
.compare__knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--cream-ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.compare__knob svg { width: 20px; height: 20px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.compare__label { position: absolute; top: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-pill); background: rgba(7,8,8,.65); color: #EDEFEC; backdrop-filter: blur(6px); pointer-events: none; }
.compare__label--before { left: 14px; }
.compare__label--after { right: 14px; }
.compare__label--after::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-right: 8px; vertical-align: 1px; }
.compare__caption { margin-top: 14px; color: var(--muted); font-size: .92rem; }

/* ——— Feature grid & cards ——— */

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--text-dim); font-size: .98rem; line-height: 1.55; }
.card .eyebrow { margin-bottom: 4px; }
.card--link { text-decoration: none; color: inherit; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.card--link:hover { border-color: var(--line); background: var(--surface-2); transform: translateY(-2px); color: inherit; }
.card__more { margin-top: auto; padding-top: 8px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--amber); }
.card__stat { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__stat strong { color: var(--text); font-weight: 500; }
.card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--amber); margin-bottom: 6px; }
.card__icon svg { width: 20px; height: 20px; }

/* ——— Stats strip ——— */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 20px 22px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--line-2); }
.stat strong { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ——— Screens gallery ——— */

.gallery { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px var(--gutter) 40px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.gallery__item .phone { width: 250px; margin-inline: auto; }
.gallery__item figcaption { margin-top: 16px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* ——— Cameras table ——— */

.cameras { border: 1px solid var(--line-2); border-radius: var(--radius); overflow-x: auto; background: var(--surface); -webkit-overflow-scrolling: touch; }
.cameras table { font-size: .97rem; min-width: 820px; }
.cameras th:first-child, .cameras td:first-child { padding-left: 22px; }
.cameras td .mono { color: var(--text-dim); font-size: .88em; }
.cameras tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: 3px 9px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; margin: 2px 4px 2px 0; color: var(--text-dim); }
.tag--free { border-color: var(--amber); color: var(--amber); }

/* ——— Pricing ——— */

.pricing { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; align-items: stretch; }
.plan { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.plan--pro { border-color: color-mix(in srgb, var(--amber) 45%, var(--line)); box-shadow: 0 0 0 1px var(--amber-glow), var(--shadow-soft); }
.plan h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.plan__price { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.plan__price small { font-size: .95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan ul { list-style: none; padding: 0; display: grid; gap: 9px; color: var(--text-dim); }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber-glow); }
.plan--free li::before { background: var(--muted); box-shadow: none; }
.plan__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan__option { padding: 12px 10px; border-radius: var(--radius-s); border: 1px solid var(--line-2); text-align: center; }
.plan__option strong { display: block; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.plan__option span { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.plan__note { color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .plan__options { grid-template-columns: 1fr; } }

/* ——— FAQ ——— */

.faq-list { display: grid; gap: 10px; }
details.faq { border: 1px solid var(--line-2); border-radius: var(--radius-s); background: var(--surface); padding: 0 22px; }
details.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 1.6px solid var(--amber); border-bottom: 1.6px solid var(--amber); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
details.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.faq > div { padding: 0 0 20px; color: var(--text-dim); }
details.faq > div p + p { margin-top: 10px; }

/* ——— CTA band ——— */

.cta-band { padding: clamp(40px, 6vw, 72px); border-radius: calc(var(--radius) + 6px); background: linear-gradient(135deg, color-mix(in srgb, var(--amber) 14%, var(--canvas-2)), var(--canvas-2) 60%); border: 1px solid var(--line-2); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); max-width: 56ch; margin-inline: auto; margin-bottom: 26px; }
.cta-band .hero__cta { justify-content: center; margin-bottom: 0; }

/* ——— Article ——— */

.article { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 100px); }
.article__header { margin-bottom: clamp(28px, 4vw, 44px); }
.article__header h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; }
.article__meta { color: var(--muted); font-size: .9rem; font-family: var(--font-mono); letter-spacing: .02em; }
.article__meta a { color: var(--text-dim); }
.breadcrumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumbs a { text-decoration: none; }
.tldr { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border-left: 3px solid var(--amber); margin: 0 0 34px; }
.tldr .eyebrow { margin-bottom: 8px; }
.tldr p { font-size: 1.08rem; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--amber); }
.prose figure { margin-block: 1.8em; }
.prose figcaption { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.prose table { margin-block: 1.4em; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .callout { padding: 18px 20px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--line-2); font-size: .98rem; }
.prose .callout strong { color: var(--amber); }
.prose blockquote { border-left: 2px solid var(--line); padding-left: 18px; color: var(--text-dim); font-style: italic; }
.prose .howto { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.prose .howto li { position: relative; padding: 20px 22px 20px 64px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); }
.prose .howto li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 22px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--amber); }
.prose .howto h3 { margin: 0 0 6px; font-size: 1.1rem; }
.prose .howto p { color: var(--text-dim); font-size: .97rem; }
.article__cta { margin-top: 48px; }
.article__related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.article__related h2 { font-size: 1.3rem; margin-bottom: 18px; }
.article__related ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.article__related a { text-decoration: none; color: var(--text-dim); }
.article__related a:hover { color: var(--amber-strong); }
.article__related a::before { content: "→"; color: var(--amber); margin-right: 10px; }

/* ——— Legal ——— */

.legal { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 100px); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 10px; }
.legal .prose h2 { font-size: 1.45rem; margin-top: 2em; }
.legal .prose h3 { font-size: 1.12rem; }
.legal__meta { color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; margin-bottom: 28px; }

/* ——— Contact ——— */

.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.contact-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); }
.contact-card h2 { font-size: 1.35rem; margin-bottom: 12px; }
.contact-card p { color: var(--text-dim); }
.contact-card ul { color: var(--text-dim); display: grid; gap: 6px; margin-top: 12px; }
.contact-card .button { margin-top: 18px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ——— Footer ——— */

.site-footer { border-top: 1px solid var(--line-2); padding-block: clamp(40px, 6vw, 64px) 32px; color: var(--text-dim); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer__brand p { margin-top: 14px; max-width: 40ch; }
.site-footer__meta { color: var(--muted); font-size: .88rem; }
.site-footer__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.site-footer nav ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer nav a { text-decoration: none; }
.site-footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: .84rem; display: grid; gap: 10px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ——— Responsive hero ——— */

@media (max-width: 900px) {
  .hero { padding-top: clamp(40px, 8vw, 64px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: 1; margin-top: 8px; }
  .phone { width: min(280px, 72vw); }
}

/* ——— Motion ——— */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .button, .card--link { transition: none; }
}

/* ——— 404 ——— */

.notfound { min-height: 60dvh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); }
