/* ═══════════════════════════════════════════════════════════════════════════════
   LetterUp marketing site — design system (2026-09-11)
   One stylesheet for every page. Tokens match the portal (styles.scss) so the site
   and the product read as one thing. No emoji icons, no gradients-as-decoration:
   real screenshots, statute references, and typography do the work.
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
  --ink:        #0F172A;
  --ink-2:      #1E293B;
  --ink-3:      #334155;
  --text:       #1E293B;
  --text-2:     #475569;
  --text-3:     #64748B;
  --line:       #E2E8F0;
  --line-2:     #CBD5E1;
  --bg:         #FFFFFF;
  --bg-2:       #F8FAFC;
  --bg-3:       #F1F5F9;
  --brand:      #F97316;
  --brand-dark: #EA580C;
  --brand-tint: #FFF7ED;
  --brand-line: #FED7AA;
  --ok:         #059669;
  --ok-tint:    #ECFDF5;
  --warn:       #D97706;
  --warn-tint:  #FFFBEB;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow-md: 0 8px 24px -8px rgba(15,23,42,.14), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg: 0 24px 48px -16px rgba(15,23,42,.22), 0 8px 16px -8px rgba(15,23,42,.08);
  /* aliases used by the legal pages' own style blocks (written against the old site tokens) */
  --c-navy: var(--ink); --c-text: var(--ink); --c-text-2: var(--text-2); --c-text-3: var(--text-3); --c-border: var(--line);
  --c-brand: var(--brand); --c-brand-dark: var(--brand-dark); --c-brand-light: var(--brand-tint); --c-bg: var(--bg); --c-bg-2: var(--bg-2); --c-card: #fff;
  --wrap: 1180px;
  --nav-h: 68px;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg);
       -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
strong { font-weight: 600; }
::selection { background: var(--brand-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 820px; }
.wrap--wide { max-width: 1320px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Type ──────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 62px); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 22px; letter-spacing: -0.015em; }
h4 { font-size: 17px; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-2); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 14px; }
.muted { color: var(--text-3); }
.small { font-size: 14px; }
.em { color: var(--brand); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--text-2); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-md);
       font-weight: 600; font-size: 15px; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
       transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; }
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(234,88,12,.25); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); padding-left: 10px; padding-right: 10px; }
.btn--ghost:hover { color: var(--brand-dark); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--bg-3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-note { font-size: 13px; color: var(--text-3); margin-top: 12px; }
.textlink { font-weight: 600; color: var(--brand-dark); display: inline-flex; align-items: center; gap: 6px; }
.textlink svg { width: 15px; height: 15px; transition: transform .15s; }
.textlink:hover svg { transform: translateX(3px); }

/* ── Nav ───────────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px);
       border-bottom: 1px solid var(--line); height: var(--nav-h); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; height: 100%; display: flex; align-items: center; gap: 36px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: var(--ink); }
.logo img { width: 30px; height: 30px; border-radius: 7px; }
.logo-word { display: inline; }
.logo-word span { color: var(--brand); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; color: var(--text); background: none; border: 0; cursor: pointer; }
.nav-links a:hover, .nav-links button:hover, .nav-links a.is-active { background: var(--bg-3); color: var(--ink); }
.nav-links button svg { width: 14px; height: 14px; opacity: .6; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { padding: 9px 16px; font-size: 14px; }
.nav-tel { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; margin-right: 2px; border-radius: 8px;
           font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-tel svg { width: 15px; height: 15px; color: var(--brand); }
.nav-tel:hover { background: var(--bg-3); }
.menu { position: absolute; top: 100%; left: 0; margin-top: 8px; min-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
        box-shadow: var(--shadow-lg); padding: 10px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; }
/* invisible bridge over the 8px gap so the pointer can travel from the button into the menu */
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-links li:hover > .menu, .nav-links li:focus-within > .menu, .nav-links li.open > .menu { display: grid; }
.menu a { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; padding: 10px 12px; border-radius: 8px; }
.menu a b { font-size: 14px; font-weight: 600; color: var(--ink); }
.menu a small { font-size: 12.5px; color: var(--text-3); font-weight: 400; }
.menu-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding: 10px 12px 4px; font-size: 13px; }
.nav-mobile-actions { display: none; }
.nav-burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; margin-left: auto; flex-direction: column; justify-content: center; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform .2s, opacity .2s; }
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--grey { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #CBD5E1; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .lead, .section--ink p { color: #CBD5E1; }
.section--ink .eyebrow { color: var(--brand); }
.section--brand { background: var(--brand-tint); border-top: 1px solid var(--brand-line); border-bottom: 1px solid var(--brand-line); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(1200px 500px at 80% -10%, #FFF1E3 0%, rgba(255,241,227,0) 60%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 0 0 22px; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--line); border-radius: var(--r-full);
              font-size: 13px; font-weight: 500; color: var(--text-2); background: #fff; margin-bottom: 26px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof li { font-size: 13.5px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.hero-shot { position: relative; }
.hero-shot .frame { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.hero-shot .frame:hover { transform: perspective(1600px) rotateY(-2deg); }
.hero-float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.hero-float b { display: block; font-size: 13px; color: var(--ink); }
.hero-float small { color: var(--text-3); font-size: 12px; }
.hero-float .dot { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.hero-float--a { left: -34px; bottom: 54px; }
.hero-float--b { right: -18px; top: 42px; }

/* ── Browser frame for screenshots ─────────────────────────────────────────── */
.frame { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; transition: transform .5s ease; }
.frame-bar { height: 34px; background: var(--bg-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.frame-bar span { margin-left: 10px; flex: 1; max-width: 360px; height: 18px; border-radius: 5px; background: #fff; border: 1px solid var(--line); font-size: 11px; color: var(--text-3); display: flex; align-items: center; padding: 0 10px; }
.frame img { width: 100%; height: auto; }
.frame--crop img { object-fit: cover; object-position: top left; }
.frame--plain { border-radius: 10px; }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.shot img { width: 100%; height: auto; }

/* ── Feature rows (alternating text / screenshot) ──────────────────────────── */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature-copy { order: 2; }
.feature h3 { font-size: 28px; margin-bottom: 14px; }
.feature p { color: var(--text-2); font-size: 16.5px; }
.feature ul { margin-top: 20px; display: grid; gap: 10px; }
.feature ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.feature ul svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; }

/* ── Statute reference ─────────────────────────────────────────────────────── */
.law { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 8px; font-size: 14px; }
.law b { display: block; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.law span { color: var(--text-2); }

/* ── Cards / grids ─────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 18px; margin: 14px 0 8px; }
.card p { font-size: 15px; color: var(--text-2); }
.card .textlink { margin-top: 14px; font-size: 14px; }
.icon { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-tint); color: var(--brand-dark); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }
.icon--ink { background: var(--ink); color: #fff; }
.icon--ok { background: var(--ok-tint); color: var(--ok); }
.card--ink { background: var(--ink); border-color: var(--ink); color: #CBD5E1; }
.card--ink h3 { color: #fff; }
.card--ink p { color: #94A3B8; }

/* ── Stat strip ────────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.stats > div { padding: 24px 26px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.stats span { font-size: 13.5px; color: var(--text-3); display: block; margin-top: 6px; }

/* ── Tables ────────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink); }
.tick { color: var(--ok); font-weight: 700; }
.cross { color: var(--text-3); }
td .sub { display: block; font-size: 13px; color: var(--text-3); font-weight: 400; margin-top: 2px; }
.col-hl { background: var(--brand-tint); }

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; position: relative; }
.plan--hl { border-color: var(--ink); box-shadow: var(--shadow-md); }
.plan-tag { position: absolute; top: -12px; left: 24px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-full); }
.plan-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.plan-band { font-size: 13.5px; color: var(--text-3); margin-top: 2px; }
.plan-price { margin: 18px 0 4px; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.plan-price--quote { font-size: 28px; }
.plan-per { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.plan-desc { font-size: 14px; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 20px; flex: 1; }
.plan .btn { width: 100%; }
.plan-note { font-size: 12.5px; color: var(--text-3); text-align: center; margin-top: 10px; }
.includes { margin-top: 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 32px; }
.includes h3 { font-size: 18px; margin-bottom: 18px; }
.includes ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; }
.includes li { display: flex; gap: 9px; font-size: 14.5px; align-items: flex-start; }
.includes li svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 3px; }

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; color: var(--ink); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 24px; color: var(--text-3); line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--text-2); max-width: 760px; font-size: 15.5px; }
.faq .a p + p { margin-top: 10px; }

/* ── Steps ─────────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; font-weight: 700; color: var(--brand-dark); display: block; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-2); }

/* ── Quote / founder ───────────────────────────────────────────────────────── */
.quote { border-left: 3px solid var(--brand); padding: 8px 0 8px 24px; font-size: 20px; line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; }
.quote cite { display: block; font-style: normal; font-size: 14px; color: var(--text-3); margin-top: 12px; }
.prose { font-size: 17px; color: var(--text-2); }
.prose p + p { margin-top: 18px; }
.prose h2 { margin: 48px 0 16px; font-size: 28px; }
.prose h3 { margin: 32px 0 10px; font-size: 20px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 14px 0; }
.prose ul li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose ol { list-style: decimal; padding-left: 26px; margin: 16px 0; }
.prose ol li { padding-left: 2px; }
.prose ol li + li { margin-top: 10px; }
.prose ol li b { color: var(--ink); font-weight: 600; }

/* ── CTA band ──────────────────────────────────────────────────────────────── */
.cta { background: var(--ink); color: #fff; padding: 88px 0; text-align: center; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: #94A3B8; font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.cta .btn-row { justify-content: center; }
.cta .btn-note { color: #64748B; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 36px; font-size: 14px; color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer li + li { margin-top: 9px; }
.footer a:hover { color: var(--brand-dark); }
.footer-brand p { margin-top: 12px; max-width: 320px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px !important; font-weight: 600; color: var(--ink); }
.footer-contact a { color: var(--ink); }
.footer-contact a:hover { color: var(--brand-dark); }
.footer-bottom { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.footer-legal { max-width: 760px; margin: 40px auto 0; text-align: center; font-size: 12.5px; color: var(--text-3); padding-top: 22px; border-top: 1px solid var(--line); }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line-2); border-radius: var(--r-md); background: #fff; font-size: 15px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--text-3); margin-top: 5px; }
.form-msg { padding: 12px 14px; border-radius: var(--r-md); font-size: 14px; display: none; }
.form-msg.ok { display: block; background: var(--ok-tint); color: var(--ok); border: 1px solid #A7F3D0; }
.form-msg.err { display: block; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.hp { position: absolute; left: -9999px; }

/* ── Legal pages ───────────────────────────────────────────────────────────── */
.legal { max-width: 820px; margin: 0 auto; padding: 64px 28px 96px; }
.legal h1 { font-size: 40px; margin-bottom: 8px; }
.legal .updated { color: var(--text-3); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 12px 0; list-style: disc; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: 6px; }
.legal .legal-highlight, .legal .highlight { background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: var(--r-md); padding: 16px 18px; margin: 20px 0; font-size: 15px; }
.legal table { min-width: 0; font-size: 14.5px; }
.legal a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; margin: 24px 0 36px; font-size: 14.5px; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--brand-dark); }

/* ── Cookie banner ─────────────────────────────────────────────────────────── */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; margin: 0 auto; max-width: 720px; background: var(--ink); color: #CBD5E1; border-radius: 12px; padding: 14px 18px; display: none; gap: 16px; align-items: center; font-size: 13.5px; box-shadow: var(--shadow-lg); }
.cookie.show { display: flex; }
.cookie a { color: #fff; text-decoration: underline; }
.cookie .btn { padding: 8px 14px; font-size: 13px; margin-left: auto; }

/* ── Page hero (inner pages) ───────────────────────────────────────────────── */
.page-hero { padding: 72px 0 48px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 18px; max-width: 800px; }
.page-hero .lead { max-width: 640px; }
.page-hero--shot { padding-bottom: 0; }
.page-hero--shot .frame { margin-top: 48px; }
.crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 20px; display: flex; gap: 8px; }
.crumbs a:hover { color: var(--brand-dark); }

/* ── Module hub list ───────────────────────────────────────────────────────── */
.modlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mod { display: grid; grid-template-columns: 200px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.mod:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); }
.mod-shot { background: var(--bg-3); border-right: 1px solid var(--line); overflow: hidden; }
.mod-shot img { width: 200%; max-width: none; height: 100%; object-fit: cover; object-position: top left; }
.mod-body { padding: 20px 22px; }
.mod-body h3 { font-size: 17px; margin-bottom: 6px; }
.mod-body p { font-size: 14px; color: var(--text-2); }
.mod-body .textlink { font-size: 13.5px; margin-top: 12px; }

/* ── Compare "you vs" boxes ────────────────────────────────────────────────── */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs .card ul { margin-top: 14px; display: grid; gap: 9px; }
.vs .card li { font-size: 14.5px; display: flex; gap: 9px; }
.vs .card li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-tel { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .includes ul { grid-template-columns: repeat(2, 1fr); }
  .menu { min-width: 480px; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  /* inner-page heroes that set a two-column grid inline (self-service, contact) */
  .page-hero .wrap[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 36px !important; }
  .page-hero div[style*="1fr auto"], .feature div[style*="1fr auto"] { grid-template-columns: 1fr !important; }
  .page-hero div[style*="1fr auto"] > .shot, .feature div[style*="1fr auto"] > .shot { display: none; }
  .hero-shot .frame { transform: none; }
  .hero-float { display: none; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 30px; padding: 44px 0; }
  .feature--flip .feature-copy { order: 0; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .modlist { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  /* nav collapses */
  .nav-burger { display: flex; }
  .nav-links, .nav-actions { display: none; }
  .nav.is-open .nav-links { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; max-height: calc(100vh - var(--nav-h)); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px; box-shadow: var(--shadow-lg); }
  .nav.is-open .nav-links a, .nav.is-open .nav-links button { width: 100%; justify-content: space-between; font-size: 16px; padding: 12px 10px; }
  .nav.is-open .nav-links > li > .menu { position: static; display: grid; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav.is-open .nav-links > li > .menu a { padding: 8px 10px; align-items: flex-start; justify-content: flex-start; }
  .nav.is-open .menu-foot { display: none; }
  .nav.is-open .nav-mobile-actions { display: grid; gap: 8px; padding: 12px 10px 6px; border-top: 1px solid var(--line); margin-top: 6px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .law { flex-direction: column; gap: 6px; }
  .law b { white-space: normal; }
  h1 { font-size: 34px; }
  .hero { padding: 52px 0 48px; }
  .grid--2, .grid--3, .grid--4, .plans, .form-row, .stats, .includes ul { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats > div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mod { grid-template-columns: 1fr; }
  .mod-shot { height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head { margin-bottom: 36px; }
  .btn-row .btn { width: 100%; }
  .cta { padding: 64px 0; }
  .legal { padding: 44px 20px 72px; }
  .legal h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
