/* SelfLet and SelfLet Stays landing pages, shared stylesheet.
   Written 2026-09-06 for the v2 cinematic rebuild (SELFLET/SELFLET_SITES_V2_BRIEF.md).
   One file for both pages so the header, the film, the type scale and the
   section system cannot drift apart. Palette from BUR-MAN-001 section 6:
   SelfLet navy, amber, slate on off-white. Nothing Burl, nothing Vestis. */

:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1A33;
  --navy-soft: #2D3F65;
  --amber: #D97706;
  --amber-deep: #B45309;   /* small text on light surfaces: 5.0:1 on white */
  --amber-soft: #FEF3C7;
  --slate: #64748B;
  --muted: #94A3B8;
  --border: #E2E8F0;
  --off-white: #F8FAFC;
  --white: #FFFFFF;
  --text: #0F172A;
  --text-2: #475569;
  --on-dark: #F8FAFC;
  --on-dark-2: #CBD5E1;
  --success: #059669;
  --error: #DC2626;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 0.75rem;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--sans); color: var(--text); background: var(--off-white);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 50; background: var(--white); color: var(--navy); padding: 8px 12px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 12px; }

/* ---------- Type ---------- */
.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.label { color: var(--amber-deep); }
.on-dark .label, .dark .label { color: var(--amber); }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 44ch; }
.dark, .dark h1, .dark h2, .dark h3 { color: var(--on-dark); }
.dark .lead, .dark p { color: var(--on-dark-2); }
.line { display: block; overflow: hidden; }
.line > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1); }
.in .line > span, html.static .line > span { transform: none; }
.in .line:nth-child(2) > span { transition-delay: 0.08s; }
.in .line:nth-child(3) > span { transition-delay: 0.16s; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 64px;
  display: flex; align-items: center;
  background: rgba(248,250,252,0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.7);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.over-dark { background: rgba(15,26,51,0.72); border-color: rgba(255,255,255,0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--navy); text-decoration: none; }
.logo .amber { color: var(--amber); }
.over-dark .logo { color: var(--on-dark); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--text-2); }
.over-dark .nav a { color: var(--on-dark-2); }
.nav a:hover { color: var(--amber-deep); }
.over-dark .nav a:hover { color: var(--amber); }
.nav a.btn, .over-dark .nav a.btn, .nav a.btn:hover, .over-dark .nav a.btn:hover { color: var(--white); }
.nav-group { position: relative; }
.nav-group > a { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-group > a::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 190px; background: var(--white); color: var(--text); border: 1px solid var(--border); border-radius: 0.6rem;
  padding: 0.4rem; box-shadow: 0 18px 40px -20px rgba(15,23,42,0.35);
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-menu a { display: block; padding: 0.55rem 0.8rem; border-radius: 0.4rem; color: var(--text-2) !important; font-size: 0.9rem; }
.nav-menu a:hover { background: var(--off-white); color: var(--navy) !important; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu, .nav-group.open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--amber-deep); color: var(--white); font-weight: 700; font-size: 0.95rem;
  /* amber-deep, not amber: white on #D97706 is 3.55:1 and fails AA for button text; on #B45309 it is 5.0:1. Same call Burl made with ember. */
  padding: 0.75rem 1.25rem; border-radius: 0.6rem; border: 0; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { background: #92400E; transform: translateY(-1px); }
.btn:disabled { opacity: 0.7; cursor: default; transform: none; }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--white); border-color: var(--navy); }
.dark .btn-ghost { color: var(--on-dark); border-color: rgba(255,255,255,0.25); }
.dark .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--on-dark); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; border-radius: 0.5rem; color: var(--navy); }
.over-dark .nav-toggle { color: var(--on-dark); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 760px; }
.dark { background: var(--navy); color: var(--on-dark); }
.deep { background: var(--navy-deep); }
.on-white { background: var(--white); }
.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--amber-soft); color: #92400E; font-weight: 600; font-size: 0.8rem; padding: 0.35rem 0.75rem; border-radius: 999px; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.dark .badge { background: rgba(217,119,6,0.18); color: #FDE68A; }

/* ---------- Scroll reveal (film path only; the static page shows everything) ---------- */
html.scrub .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.scrub .reveal.in { opacity: 1; transform: none; }
html.scrub .grid > .reveal:nth-child(2) { transition-delay: 0.07s; }
html.scrub .grid > .reveal:nth-child(3) { transition-delay: 0.14s; }
html.scrub .grid > .reveal:nth-child(4) { transition-delay: 0.21s; }

/* ---------- Film (scroll-scrubbed frame sequence) ---------- */
html.scrub .hero-static { display: none; }
html.static .scrub { display: none; }
.scrub { position: relative; height: 300vh; background: var(--navy-deep); }
.scrub-secondary { height: 240vh; }
.scrub-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--navy-deep); }
.scrub-frame { position: absolute; inset: 0; }
.scrub-poster img, .scrub-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.scrub-canvas { opacity: 0; transition: opacity 0.3s ease; }
.scrub-canvas.is-live { opacity: 1; }
.scrub-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,26,51,0.55) 0%, rgba(15,26,51,0.05) 28%, rgba(15,26,51,0.05) 60%, rgba(15,26,51,0.8) 100%);
}
.scrub-copy { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 1.5rem; z-index: 2; color: var(--on-dark); }
.scrub-line { grid-area: 1 / 1; opacity: 0; will-change: opacity, transform; max-width: 20ch; }
.scrub-line.is-hidden { visibility: hidden; pointer-events: none; }
h1.scrub-line, .scrub-line.h { font-size: clamp(2.4rem, 6.5vw, 5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; color: var(--on-dark); text-shadow: 0 2px 24px rgba(15,26,51,0.5); }
p.scrub-line { font-size: clamp(1.5rem, 3.6vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; max-width: 26ch; color: var(--on-dark); text-shadow: 0 2px 24px rgba(15,26,51,0.5); }
.scrub-cta { max-width: 600px; width: 100%; padding: 1.75rem 1.5rem; border-radius: 1rem; background: rgba(15,26,51,0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); }
.scrub-cta .badge { margin-bottom: 1rem; }
.scrub-cta h2 { color: var(--on-dark); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.25rem; text-shadow: 0 2px 24px rgba(15,26,51,0.5); }
.scrub-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--on-dark-2); transition: opacity 0.4s; }
.scrub-anchor { position: absolute; left: 0; width: 1px; height: 1px; top: calc(100% - 100svh); }
.scrub-copy .mono.label { color: var(--amber); }
.scrub-copy .mono.label + h2 { margin-top: 0.75rem; }
.scrub-lines { display: grid; gap: 1.25rem; text-align: left; max-width: 640px; justify-items: start; }
.scrub-line.beat { text-align: left; max-width: 36ch; padding: 1.5rem 1.75rem; border-radius: 1rem; background: rgba(15,26,51,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); }
.scrub-line.beat .mono { display: block; margin-bottom: 0.6rem; color: var(--amber); }
.scrub-line.beat h2 { color: var(--on-dark); font-size: clamp(1.9rem, 4.4vw, 3.2rem); margin-bottom: 0.75rem; text-shadow: 0 2px 24px rgba(15,26,51,0.5); }
.scrub-line.beat p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-dark-2); line-height: 1.5; max-width: 40ch; text-shadow: 0 1px 12px rgba(15,26,51,0.6); }

@media (orientation: portrait) {
  .scrub-frame { inset: auto; top: 0; left: 0; width: 100%; height: min(125vw, 62vh); height: min(125vw, 62svh); }
  .scrub-copy { top: auto; bottom: 0; height: 40svh; align-content: center; }
  .scrub-vignette { background: linear-gradient(180deg, rgba(15,26,51,0.35) 0%, rgba(15,26,51,0) 40%, rgba(15,26,51,0) 70%, var(--navy-deep) 100%); }
  h1.scrub-line, .scrub-line.h { font-size: clamp(2rem, 9vw, 3rem); }
  p.scrub-line { font-size: clamp(1.3rem, 6.5vw, 2rem); }
  .scrub-line.beat h2 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .scrub-line.beat { padding: 1rem 1.1rem; background: rgba(15,26,51,0.35); }
  .scrub-hint { display: none; }
}

/* ---------- Static hero (reduced motion, data saver, no film) ---------- */
.hero-static { position: relative; min-height: min(100svh, 960px); display: grid; align-items: end; background: var(--navy-deep); color: var(--on-dark); overflow: hidden; }
.hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-static::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,26,51,0.45) 0%, rgba(15,26,51,0.15) 40%, rgba(15,26,51,0.9) 100%); }
.hero-static .wrap { position: relative; z-index: 2; padding-top: 7rem; padding-bottom: 4rem; display: grid; gap: 1.25rem; max-width: 860px; }
.hero-static h1 { color: var(--on-dark); }
.hero-static .lead { color: var(--on-dark-2); }

/* ---------- Waitlist form ---------- */
.waitlist { display: grid; gap: 0.6rem; width: 100%; max-width: 560px; }
.waitlist form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.waitlist input {
  flex: 1 1 240px; min-width: 0; height: 3rem; padding: 0 1rem; font: inherit; font-size: 1rem;
  border-radius: 0.6rem; border: 1.5px solid var(--border); background: var(--white); color: var(--text);
}
.waitlist input:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(217,119,6,0.25); }
.waitlist .btn { height: 3rem; padding: 0 1.4rem; }
.form-message { min-height: 1.4rem; font-size: 0.9rem; font-weight: 500; }
.form-message.success { color: #6EE7B7; }
.form-message.error { color: #FCA5A5; }
.on-light .form-message.success { color: var(--success); }
.on-light .form-message.error { color: var(--error); }
.form-note { font-size: 0.85rem; color: var(--on-dark-2); }
.on-light .form-note { color: var(--text-2); }
.scrub-cta .waitlist { margin: 0 auto; justify-items: center; }
.scrub-cta .waitlist form { justify-content: center; }

/* ---------- Numbered list (features, how it works) ---------- */
.num-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.num-item { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.num-item .mono { color: var(--amber-deep); padding-top: 0.35rem; }
.num-item h3 { margin-bottom: 0.35rem; }
.num-item p { color: var(--text-2); max-width: 60ch; }
.num-item ul { margin-top: 0.5rem; display: grid; gap: 0.25rem; color: var(--text-2); font-size: 0.95rem; }
.num-item ul li { padding-left: 1rem; position: relative; }
.num-item ul li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.dark .num-list { border-color: rgba(255,255,255,0.12); }
.dark .num-item { border-color: rgba(255,255,255,0.12); }
.dark .num-item .mono { color: var(--amber); }
.dark .num-item p, .dark .num-item ul { color: var(--on-dark-2); }
@media (min-width: 900px) {
  .num-list.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .num-list.three { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; }
}

/* ---------- Nation cards ---------- */
.nation { padding: 1.75rem; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.nation .mono { color: var(--amber); display: block; margin-bottom: 0.75rem; }
.nation h3 { color: var(--on-dark); margin-bottom: 0.5rem; }
.nation p { color: var(--on-dark-2); font-size: 0.95rem; }
.on-light .nation { background: var(--white); border-color: var(--border); }
.on-light .nation .mono { color: var(--amber-deep); }
.on-light .nation h3 { color: var(--navy); }
.on-light .nation p { color: var(--text-2); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); padding: 1.75rem 0; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--amber); line-height: 1; margin-bottom: 0.4rem; }
.stat span { font-size: 0.9rem; color: var(--on-dark-2); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
th, td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--navy); color: var(--on-dark); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em; }
th.hi { background: var(--amber); }
td.hi { background: #FFFBEB; font-weight: 600; color: var(--navy); }
tr:last-child td { border-bottom: 0; }
tr.total td { font-weight: 700; color: var(--navy); background: var(--off-white); }
.callout { margin-top: 1.25rem; padding: 1rem 1.25rem; border-left: 3px solid var(--amber); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-2); }
.callout b { color: var(--navy); }

/* ---------- Pricing ---------- */
.founder { background: var(--amber-soft); border: 1px solid #FCD34D; border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.founder b { color: #92400E; display: block; margin-bottom: 0.25rem; }
.founder p { color: #78350F; font-size: 0.95rem; }
.plan { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; align-content: start; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(15,23,42,0.35); }
.plan.hi { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(217,119,6,0.12); }
.plan .mono { color: var(--amber-deep); }
.plan .price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.plan .band { color: var(--text-2); font-weight: 500; margin-top: -0.5rem; }
.plan ul { display: grid; gap: 0.45rem; color: var(--text-2); font-size: 0.95rem; }
.plan ul li { padding-left: 1.25rem; position: relative; }
.plan ul li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 8px; height: 5px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.plan .btn { justify-self: start; margin-top: 0.5rem; }
.fine { color: var(--text-2); font-size: 0.9rem; max-width: 70ch; margin-top: 1.5rem; }
.fine a { color: var(--amber-deep); }

/* ---------- Walkthrough ---------- */
.walk { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: center; }
.step:nth-child(even) .step-copy { order: 2; }
.step-copy { display: grid; gap: 0.6rem; }
.step-copy .mono { color: var(--amber-deep); }
.step-copy h3 { font-size: 1.6rem; letter-spacing: -0.02em; }
.step-copy p { color: var(--text-2); max-width: 46ch; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--white); box-shadow: 0 30px 60px -40px rgba(15,23,42,0.45); }
.shot img { width: 100%; }

/* ---------- Product card (cross-sell) ---------- */
.pcard { position: relative; display: grid; align-items: end; min-height: 380px; border-radius: 1rem; overflow: hidden; background: var(--navy); color: var(--on-dark); text-decoration: none; isolation: isolate; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.pcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,26,51,0) 30%, rgba(15,26,51,0.9) 100%); }
.pcard-body { position: relative; z-index: 2; padding: 2rem; display: grid; gap: 0.6rem; max-width: 520px; }
.pcard-body .mono { color: var(--amber); }
.pcard-body h2 { color: var(--on-dark); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.pcard-body p { color: var(--on-dark-2); }
.pcard:hover img { transform: scale(1.03); }
.pcard .btn { justify-self: start; margin-top: 0.4rem; }

/* ---------- Install ---------- */
.install { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.install-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: grid; gap: 0.75rem; align-content: start; }
.install-card .mono { color: var(--amber-deep); }
.install-card ol { list-style: decimal; padding-left: 1.2rem; color: var(--text-2); display: grid; gap: 0.4rem; font-size: 0.95rem; }
.install-card ol li::marker { color: var(--amber-deep); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-2); padding: 4rem 0 2rem; }
.site-footer .grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: var(--on-dark); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.9rem; }
.site-footer ul { display: grid; gap: 0.45rem; }
.site-footer a { text-decoration: none; color: var(--on-dark-2); font-size: 0.95rem; }
.site-footer a:hover { color: var(--amber); }
.site-footer .foot-line { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.site-footer .foot-line a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .cols-3, .cols-2, .install { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-copy { order: 0; }
  .nav { position: fixed; top: 64px; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 0.5rem 1rem 1rem; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0; color: var(--text-2) !important; }
  .nav-group > a::after { display: none; }
  .nav-menu { position: static; transform: none; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 0 0 0 1rem; }
  .nav .btn { margin-top: 0.5rem; color: var(--white) !important; }
  .nav-toggle { display: block; }
  .num-item { grid-template-columns: 3rem 1fr; }
}
@media (max-width: 560px) {
  .site-footer .grid { grid-template-columns: 1fr; }
  .pcard { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
