/* PixFixer AI — demo site. Mobile-first; desktop rules in the min-width query at the end. */
:root {
  --bg: #070C14;
  --bg-2: #0B1320;
  --ink: #F4EEE3;
  --ink-soft: #C4CCD8;
  --muted: #8B98AC;
  --accent: #EA6A1E;
  --accent-2: #F2A25C;
  --scan: #8FE3FF;
  --ok: #6BD49A;
  --line: rgba(244, 238, 227, 0.12);
  --glass: rgba(8, 14, 24, 0.8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ——— Header ——— */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 12, 20, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.brand img { height: 28px; width: auto; display: block; }
.nav nav { display: flex; align-items: center; gap: 12px; }
.nav-links { display: none; }
.menu-btn {
  width: 44px; height: 44px; flex: none; border-radius: 8px; cursor: pointer; display: grid; place-items: center;
  border: 1px solid rgba(244, 238, 227, 0.32); background: rgba(7, 12, 20, 0.55); color: var(--ink);
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s ease, background 0.2s ease;
}
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 999px) {
  .nav.open { background: #070C14; border-bottom-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #070C14; z-index: 30;
    border-bottom: 1px solid var(--line); padding: 6px 16px 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
  .nav.open .nav-link { display: block; font-size: 13px; padding: 15px 4px; border-bottom: 1px solid rgba(244, 238, 227, 0.08); }
  .nav.open .nav-link:last-child { border-bottom: 0; }
}
.nav-link { display: none; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; }
.nav-link:hover { color: var(--ink); }

/* ——— Buttons, chips, type ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  background: var(--accent); color: var(--bg);
  font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: 0.01em;
  border: 1px solid var(--accent); border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: #FF7A2B; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(244, 238, 227, 0.4); }
.btn-ghost:hover { background: rgba(244, 238, 227, 0.08); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow, .num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-2);
}
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent-2); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid rgba(242, 162, 92, 0.5); border-radius: 999px; color: #FFD2AE;
  background: rgba(234, 106, 30, 0.12);
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--accent-2); }

/* ——— Hero: the whole walkthrough in one window ——— */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 640px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 66px 12px 12px;
  background: linear-gradient(180deg, #3f72aa 0%, #8db2d6 40%, #f3c49b 62%, #58772f 62%, #435f24 100%);
}
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.hero.is-dragging #scene { cursor: grabbing; }
.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,12,20,0.82) 0%, rgba(7,12,20,0.5) 18%, rgba(7,12,20,0) 30%, rgba(7,12,20,0) 52%, rgba(7,12,20,0.55) 64%, rgba(7,12,20,0.85) 100%);
}
#labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fade { position: absolute; inset: 0; z-index: 1; background: #05080d; opacity: 0; pointer-events: none; }
.hero-copy, .cycle { position: relative; z-index: 2; }
.hero-copy { pointer-events: none; }
.hero-copy a, .hero-copy .chips { pointer-events: auto; }
.hero-copy .eyebrow { margin-bottom: 8px; font-size: 11px; }
.hero-copy h1 { font-size: 30px; text-shadow: 0 2px 18px rgba(7, 12, 20, 0.5); }
.lede { font-size: 17px; font-weight: 300; color: var(--ink-soft); margin-top: 16px; }
.hero-copy .lede, .hero-copy .chips, .hero-copy .actions { display: none; }   /* the nav and the bands below carry the buttons */

/* 3D labels */
.tag {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink); background: rgba(7, 12, 20, 0.84);
  border: 1px solid rgba(143, 227, 255, 0.55); border-radius: 4px; padding: 4px 8px;
  transition: opacity 0.35s ease, border-color 0.4s ease;
  will-change: transform, opacity;
}
.tag-d { border-color: var(--accent); color: #FFD9BF; }
@media (max-width: 760px) { .tag { font-size: 9.5px; padding: 3px 6px; } .tag-ok { font-size: 10px; padding: 4px 8px; } }
.tag-ok { border-color: var(--ok); color: #D6F5E3; background: rgba(9, 30, 20, 0.88); font-size: 11.5px; padding: 6px 11px; }
#labels.verified .tag-m, #labels.verified .tag-d { border-color: rgba(107, 212, 154, 0.75); }
#labels.verified .tag-m::before, #labels.verified .tag-d::before { content: '✓ '; color: var(--ok); }

/* Step 1: the guidance on the phone's screen. The hands and phone are 3D;
   app.js sets --sx/--sy/--sw/--sh to the screen's box every frame. */
.vf { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease; }
.hero[data-phone="1"] .vf { opacity: 1; }
.tour-tip {
  position: absolute; z-index: 2; pointer-events: none; left: var(--fcx, 50%); top: calc(var(--fy0, 80px) + 24px);
  transform: translateX(-50%); white-space: nowrap; opacity: 0; transition: opacity 0.5s ease;
  display: flex; align-items: center; gap: 9px;
  background: rgba(7, 12, 20, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 14px; font-weight: 500; padding: 8px 15px; border-radius: 999px;
}
.tour-tip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(234,106,30,0.25); }
.hero[data-step="0"]:not([data-phone="1"]) .tour-tip { opacity: 1; }
.vf-screen {
  position: absolute; overflow: hidden;
  left: var(--sx, -999px); top: var(--sy, 0); width: var(--sw, 0); height: var(--sh, 0);
  border-radius: 5.5% / 12%;
  container-type: size;
}
.vf-c { position: absolute; width: 7cqw; height: 7cqw; max-width: 26px; max-height: 26px; border: 2px solid rgba(255, 255, 255, 0.92); filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)); }
.vf-tl { left: 5%; top: 8%; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.vf-tr { right: 5%; top: 8%; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.vf-bl { left: 5%; bottom: 8%; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.vf-br { right: 5%; bottom: 8%; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.vf-prompt {
  position: absolute; top: 7%; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.6em; white-space: nowrap;
  background: rgba(7, 12, 20, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: clamp(10px, 2.6cqw, 14px); font-weight: 500; padding: 0.55em 1.05em; border-radius: 999px;
}
.vf-prompt::before { content: ''; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0.3em rgba(234,106,30,0.25); }
.vf-prompt .pop { display: inline-block; animation: pop 0.35s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.vf-focus {
  position: absolute; left: 50%; top: 50%; width: 20cqh; height: 20cqh; transform: translate(-50%, -50%) scale(1.5);
  border: 2px solid #FFD666; border-radius: 6px; opacity: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.vf.locking .vf-focus { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.vf-count {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace; font-size: clamp(9px, 2cqw, 11px); letter-spacing: 0.06em; color: #fff;
  background: rgba(7,12,20,0.7); padding: 0.35em 0.8em; border-radius: 5px; white-space: nowrap;
}
.vf-shutter {
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%);
  width: 15cqh; height: 15cqh; max-width: 46px; max-height: 46px; min-width: 26px; min-height: 26px;
  border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center;
  background: rgba(7,12,20,0.25); filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4));
}
.vf-shutter::after { content: ''; width: 76%; height: 76%; border-radius: 50%; background: #fff; }
.vf-flash { position: absolute; inset: 0; background: #fff; opacity: 0; }
.vf.flash .vf-flash { animation: flash 0.5s ease-out; }
.vf.flash .vf-shutter::after { animation: press 0.3s ease-out; }
@keyframes flash { from { opacity: 0.75; } to { opacity: 0; } }
@keyframes press { 50% { transform: scale(0.78); } }

/* The walkthrough card */
.cycle {
  background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 14px 14px;
}
.cycle-bar { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.tabs { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tab {
  appearance: none; background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; text-align: left;
  min-height: 48px; padding: 6px 0 9px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
}
.tab-num { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; }
.tab-name { font-size: 13px; font-weight: 500; line-height: 1.2; }
.tab-track { display: block; height: 2px; margin-top: 6px; background: rgba(244, 238, 227, 0.16); border-radius: 2px; overflow: hidden; }
.tab-track i { display: block; height: 100%; background: var(--accent-2); transform: scaleX(0); transform-origin: left; }
.tab:hover { color: var(--ink-soft); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"] .tab-num { color: var(--accent-2); }
.play {
  flex: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(244, 238, 227, 0.32); background: transparent; color: var(--ink);
  display: grid; place-items: center;
}
.play:hover { background: rgba(244, 238, 227, 0.08); }
.play span { width: 11px; height: 13px; border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor; }
.play.paused span { width: 0; height: 0; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-right: 0; margin-left: 3px; }

.steps { display: grid; margin-top: 12px; }
.step { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
.step.on { visibility: visible; opacity: 1; transition: opacity 0.5s ease 0.1s; }
.step:focus-visible { outline-offset: 6px; }
.num { font-size: 10.5px; }
.step h2 { font-size: 22px; margin: 6px 0 8px; }
.step p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.step .num { color: var(--accent-2); }

.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; }
.facts dt { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: 'Fraunces', serif; font-size: 20px; color: var(--ink); line-height: 1.2; }

.estimate { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: rgba(7, 12, 20, 0.55); }
.est-lines { list-style: none; }
.est-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 12px; font-size: 13px; color: var(--ink-soft); border-bottom: 1px solid rgba(244,238,227,0.06); }
.est-lines li { align-items: baseline; }
.est-item { flex: 1; min-width: 0; }
.est-qty { font-family: 'JetBrains Mono', monospace; font-size: 0.85em; color: var(--muted); white-space: nowrap; }
.est-price { font-family: 'JetBrains Mono', monospace; color: var(--ink); white-space: nowrap; min-width: 6.6em; text-align: right; }
.est-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 12px; border-bottom: 1px solid rgba(244,238,227,0.06); font-weight: 500; font-size: 14px; color: var(--ink); background: rgba(242, 162, 92, 0.08); }
.est-total span:last-child { font-family: 'JetBrains Mono', monospace; color: var(--accent-2); white-space: nowrap; }
.est-lines li:nth-child(n+4) { display: none; }
.est-foot { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.est-foot .ok { color: var(--ok); }

.drag-hint { display: none; }

.no-webgl #scene, .no-webgl #labels, .no-webgl .vf, .no-webgl .drag-hint { display: none; }

/* ——— Bands below the hero ——— */
.band { position: relative; background: var(--bg); border-top: 1px solid var(--line); padding: 72px 16px; }
.band-inner { max-width: 1120px; margin: 0 auto; }
.band h2 { font-size: 36px; }
.band-lede { color: var(--ink-soft); margin-top: 16px; max-width: 60ch; font-size: 16.5px; }

.cards { display: grid; gap: 14px; margin-top: 36px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: var(--bg-2); }
.card-icon { width: 30px; height: 30px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 22px; margin: 14px 0 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }

.band-people { background: radial-gradient(ellipse at 85% 10%, rgba(242,162,92,0.12), transparent 55%), var(--bg); }
.people { display: grid; gap: 40px; align-items: center; }
.compare { border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; background: var(--bg-2); }
.compare-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.bar-row + .bar-row { margin-top: 22px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 15px; color: var(--ink-soft); }
.bar-value { font-family: 'JetBrains Mono', monospace; color: var(--ink); white-space: nowrap; }
.bar-value-new { color: var(--accent-2); }
.bar-track { height: 14px; background: rgba(244,238,227,0.06); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 999px; transition: width 1.8s cubic-bezier(0.22, 1, 0.36, 1); }
.bar-old { background: linear-gradient(90deg, #2c3a50, #56657c); }
.bar-new { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.compare.in .bar-old { width: 100%; }
.compare.in .bar-new { width: 1.2%; min-width: 10px; transition-delay: 0.5s; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

.band-cta { background: radial-gradient(ellipse at 20% 0%, rgba(234,106,30,0.16), transparent 60%), var(--bg); }
.band-cta h2 { max-width: 20ch; }

.footer {
  background: var(--bg); border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px; padding: 28px 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bar-fill, .step, .step.on, .vf, .vf-focus, .tag { transition: none; }
  .vf.flash .vf-flash, .vf.flash .vf-shutter::after, .vf-prompt .pop { animation: none; }
}

/* ——— Desktop ——— */
@media (min-width: 761px) {
  .nav { padding: 18px 40px; }
  .brand img { height: 50px; }

  .hero { padding: 104px 40px 28px; min-height: 620px; }
  .scrim {
    background:
      linear-gradient(90deg, rgba(7,12,20,0.88) 0%, rgba(7,12,20,0.66) 28%, rgba(7,12,20,0.12) 46%, rgba(7,12,20,0) 56%),
      linear-gradient(180deg, rgba(7,12,20,0.55) 0%, rgba(7,12,20,0) 15%);
  }
  .hero-copy { max-width: 500px; }
  .hero-copy .eyebrow { font-size: 12px; margin-bottom: 14px; }
  .hero-copy h1 { font-size: clamp(42px, 4.2vw, 60px); }
  .hero-copy .lede, .hero-copy .chips { display: block; }
  .hero-copy .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
  .hero-copy .chips li { font-size: 10px; padding: 5px 9px; white-space: nowrap; }
  .cycle { max-width: 500px; padding: 8px 20px 20px; }
  .tab-name { font-size: 14px; }
  .step h2 { font-size: 30px; margin: 8px 0 10px; }
  .step p { font-size: 15.5px; }
  .est-lines li:nth-child(4) { display: flex; }
  .est-lines li { font-size: 13.5px; padding: 7px 14px; }
  .drag-hint {
    display: block; position: absolute; right: 28px; bottom: 22px; z-index: 2; pointer-events: none;
    font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.85); text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  }
  .tag { font-size: 11px; }
  .band { padding: 120px 40px; }
  .band h2 { font-size: clamp(40px, 4.4vw, 58px); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .people { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .footer { flex-direction: row; justify-content: space-between; padding: 28px 40px; }
}
@media (min-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
/* Short desktop windows: keep the whole walkthrough on screen. */
@media (min-width: 761px) and (max-height: 820px) {
  .hero { padding-top: 100px; }
  .hero-copy .lede { display: none; }
  .hero-copy h1 { font-size: clamp(38px, 3.6vw, 50px); }
  .est-lines li:nth-child(4) { display: none; }
}

/* ——— Other pages: about, contact, privacy, 404 ——— */
.nav-link[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent-2); }
.footer-links a { white-space: nowrap; }
.page-hero { padding: 120px 16px 64px; background: radial-gradient(ellipse at 80% 0%, rgba(242,162,92,0.14), transparent 55%), var(--bg); }
.page-hero h1 { font-size: 38px; max-width: 18ch; }
.split { display: grid; gap: 36px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 16.5px; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose h2 { font-size: 26px; margin: 36px 0 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 10px; }
.prose a, .contact-list a, .form-note a { color: var(--accent-2); }
.stats { display: grid; gap: 14px; margin-top: 28px; }
.stats div { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: var(--bg-2); }
.stats dt { font-family: 'Fraunces', serif; font-size: 30px; color: var(--ink); }
.stats dd { font-size: 14px; color: var(--muted); }
.source { margin-top: 14px; font-size: 13px !important; color: var(--muted) !important; }
.team-carousel { position: relative; margin-top: 36px; }
.team-arrow {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1;
  border: 1px solid rgba(244, 238, 227, 0.35); background: rgba(7, 12, 20, 0.88); color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.25s ease;
}
.team-prev { left: -26px; }
.team-next { right: -26px; }
@media (hover: hover) { .team-arrow:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--bg); } }
.team-arrow:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 1340px) { .team-prev { left: 6px; } .team-next { right: 6px; } }
.people-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; overscroll-behavior-x: contain;
  padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: rgba(242,162,92,0.5) transparent;
}
.people-track::-webkit-scrollbar { height: 6px; }
.people-track::-webkit-scrollbar-thumb { background: rgba(242,162,92,0.45); border-radius: 3px; }
.people-track:focus-visible { outline-offset: 4px; }
.people-track .person { scroll-snap-align: start; }
.person { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--bg-2); }
.person-photo {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #16233a;
  display: grid; place-items: center; font-family: 'Fraunces', serif; font-size: 40px; color: var(--accent-2);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person h3 { font-size: 22px; margin-top: 16px; }
@media (max-width: 760px) {
  .person h3 { font-size: 21px; }
}
.person-role { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); margin: 6px 0 10px; }
.person p:last-child { color: var(--ink-soft); font-size: 15px; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-list dt { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { font-size: 17px; }
.form-card { border: 1px solid var(--line); border-radius: 14px; padding: 24px 20px; background: var(--bg-2); display: grid; gap: 16px; align-self: start; }
.form-title { font-size: 28px; }
.form-sub, .form-note { color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid rgba(244,238,227,0.22); border-radius: 8px;
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 1px; border-color: transparent; }
.form-card .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; justify-self: start; }
.form-card .btn:disabled { opacity: 0.6; cursor: default; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; font-size: 15px; color: var(--ink-soft); }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #F2A08F; }
.policy .updated { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.06em; margin: 14px 0 8px; }
.policy .prose { max-width: 68ch; }
@media (min-width: 761px) {
  .page-hero { padding: 170px 40px 100px; }
  .page-hero h1 { font-size: clamp(44px, 4.6vw, 64px); }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .people-track { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; }
  .form-card { padding: 32px 30px; }
}
@media (min-width: 1100px) { .people-track { grid-auto-columns: calc((100% - 60px) / 4); } }

/* ——— "In safe hands": a deck of promise cards; click the top one for the next ——— */
.trust { display: grid; gap: 28px; }
.deck-card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--bg-2); }
.deck-card[data-tone="0"] { background: linear-gradient(150deg, rgba(234,106,30,0.24), rgba(11,19,32,0) 60%), var(--bg-2); }
.deck-card[data-tone="1"] { background: linear-gradient(150deg, rgba(143,227,255,0.18), rgba(11,19,32,0) 60%), var(--bg-2); }
.deck-card[data-tone="2"] { background: linear-gradient(150deg, rgba(185,164,232,0.2), rgba(11,19,32,0) 60%), var(--bg-2); }
.deck-card[data-tone="3"] { background: linear-gradient(150deg, rgba(107,212,154,0.18), rgba(11,19,32,0) 60%), var(--bg-2); }
.deck-top { display: flex; justify-content: space-between; align-items: center; }
.deck-num { font-family: 'Fraunces', serif; font-size: 46px; line-height: 1; color: var(--accent-2); }
.deck-card .card-icon { width: 34px; height: 34px; }
.deck-card h3 { font-size: 26px; margin: 20px 0 10px; }
.deck-card p { color: var(--ink-soft); font-size: 16px; }
.deck-hint { display: none; }
.deck.is-deck { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 8px; padding: 46px 46px 0 0; }
.is-deck .deck-card {
  grid-area: 1 / 1; min-height: 290px; display: flex; flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  will-change: transform;
}
.is-deck .deck-card[data-pos="0"] { z-index: 4; cursor: pointer; }
.is-deck .deck-card[data-pos="0"]:hover { transform: translateY(-4px) rotate(-0.6deg); }
.is-deck .deck-card[data-pos="1"] { z-index: 3; transform: translate(15px, -15px) scale(0.97); opacity: 0.8; }
.is-deck .deck-card[data-pos="2"] { z-index: 2; transform: translate(30px, -30px) scale(0.94); opacity: 0.55; }
.is-deck .deck-card[data-pos="3"] { z-index: 1; transform: translate(45px, -45px) scale(0.91); opacity: 0.35; }
.is-deck .deck-card.leaving { z-index: 5; transform: translate(-115%, 40px) rotate(-12deg); opacity: 0; }
.is-deck .deck-card[data-pos="0"] .deck-hint {
  display: block; margin-top: auto; padding-top: 22px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2);
}
.deck-controls { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.deck-controls[hidden] { display: none; }
.deck-btn {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(244, 238, 227, 0.35); background: transparent; color: var(--ink); font: inherit; font-size: 15px;
}
.deck-btn:hover { background: rgba(244, 238, 227, 0.08); }
.deck-next { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; }
.deck-next:hover { background: #FF7A2B; }
.deck-count { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); min-width: 4.5em; text-align: center; }
@media (prefers-reduced-motion: reduce) { .is-deck .deck-card { transition: none; } }
@media (min-width: 761px) {
  .trust { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .is-deck .deck-card { min-height: 320px; padding: 32px; }
}

.band-who { background: radial-gradient(ellipse at 10% 0%, rgba(143,227,255,0.07), transparent 55%), var(--bg); }

/* ——— "Who it's for": circles you click through ——— */
.who { margin-top: 44px; }
.who-dots { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 820px; margin: 0 auto; }
.who-dots::before {
  content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 41px; height: 2px;
  background: linear-gradient(90deg, rgba(242,162,92,0.6), rgba(244,238,227,0.12));
}
.who-dot { position: relative; background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); font: inherit; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.who-ring {
  position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-2); border: 1.5px solid rgba(244, 238, 227, 0.25);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.who-ring svg { width: 32px; height: 32px; fill: none; stroke: var(--ink-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.who-name { font-size: 14px; font-weight: 500; text-align: center; line-height: 1.25; max-width: 12ch; }
.who-dot:hover .who-ring { border-color: rgba(242, 162, 92, 0.7); transform: scale(1.05); }
.who-dot.is-seen .who-ring { border-color: rgba(242, 162, 92, 0.55); }
.who-dot[aria-selected="true"] { color: var(--ink); }
.who-dot[aria-selected="true"] .who-ring {
  transform: scale(1.14); border-color: var(--accent);
  background: radial-gradient(circle at 50% 40%, rgba(234,106,30,0.45), rgba(234,106,30,0.1) 70%), var(--bg-2);
  box-shadow: 0 0 0 7px rgba(234,106,30,0.14), 0 0 34px rgba(234,106,30,0.38);
}
.who-dot[aria-selected="true"] .who-ring svg { stroke: #FFD9BF; }
.who-dot.is-next .who-ring::after {
  content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--accent-2);
  animation: who-ping 1.7s ease-out infinite;
}
.who-dot.is-next .who-ring::before {
  content: 'tap'; position: absolute; top: -12px; right: -16px; z-index: 1;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent); color: var(--bg); padding: 3px 8px; border-radius: 999px;
}
@keyframes who-ping { 0% { transform: scale(0.92); opacity: 0.9; } 100% { transform: scale(1.32); opacity: 0; } }
.who-panels { display: grid; max-width: 820px; margin: 36px auto 0; }
.who-panel {
  grid-area: 1 / 1; border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px;
  background: linear-gradient(150deg, rgba(234,106,30,0.16), rgba(11,19,32,0) 55%), var(--bg-2);
  animation: who-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.who-panel[hidden] { display: none; }
@keyframes who-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.who-for { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
.who-panel h3 { font-size: 28px; margin: 10px 0 10px; }
.who-panel p:not(.who-for) { color: var(--ink-soft); font-size: 16.5px; max-width: 62ch; }
.who-next {
  margin-top: 20px; min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 15px;
  border: 1px solid rgba(244, 238, 227, 0.35); background: transparent; color: var(--ink);
}
.who-next:hover { background: rgba(244, 238, 227, 0.08); }
/* without JavaScript: all four cards, no circles */
.who:not(.is-live) .who-dots { display: none; }
.who:not(.is-live) .who-panel[hidden] { display: block; }
.who:not(.is-live) .who-panels { gap: 14px; }
.who:not(.is-live) .who-next { display: none; }
@media (max-width: 760px) {
  .who-ring { width: 60px; height: 60px; }
  .who-ring svg { width: 24px; height: 24px; }
  .who-dots::before { top: 29px; }
  .who-name { font-size: 11.5px; max-width: 9ch; }
  .who-dots { column-gap: 6px; }
  .who-dot.is-next .who-ring::before { right: -12px; top: -10px; font-size: 9px; padding: 2px 6px; }
  .who-panel { padding: 22px 20px; }
  .who-panel h3 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .who-dot.is-next .who-ring::after, .who-panel { animation: none; } }

/* ——— Start your claim ——— */
.next-steps { list-style: none; display: grid; gap: 18px; margin-top: 32px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; }
.ns-num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Fraunces', serif; font-size: 18px; color: var(--bg); background: var(--accent-2);
}
.next-steps strong { font-weight: 500; font-size: 16.5px; }
.next-steps p { color: var(--ink-soft); font-size: 15px; margin-top: 2px; }
.claim-card form { display: grid; gap: 16px; }
.field-hint { font-size: 13.5px; color: var(--muted); }
.field-error { font-size: 14px; color: #F2A08F; }
.field input[aria-invalid="true"] { border-color: #E5897B; }
.claim-card .btn { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-status:empty { display: none; }
.form-status a { color: var(--accent-2); }
.claim-done { display: grid; gap: 12px; text-align: left; }
.claim-done p { color: var(--ink-soft); }
.done-mark {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(107,212,154,0.15); border: 1px solid rgba(107,212,154,0.6); color: var(--ok) !important; font-size: 26px;
}
.claim-done .form-title:focus { outline: none; }
.btn[aria-current="page"] { box-shadow: 0 0 0 2px rgba(242,162,92,0.45); }
.claim-done[hidden], .claim-card [hidden] { display: none !important; }
.claim-card #claim-start > .form-sub { margin: 4px 0 18px; }

/* ——— Strategic partners ——— */
.band-partners { padding-top: 56px; padding-bottom: 56px; }
.band-partners .eyebrow { justify-content: center; }
.band-partners .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--accent-2); }
.partners { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.partner {
  display: flex; align-items: center; justify-content: center; height: 110px; padding: 18px 26px;
  border: 1px solid transparent; border-radius: 12px; background: #ffffff; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.partner:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.partner:focus-visible { outline-offset: 4px; }
.partner img { display: block; width: auto; height: auto; max-width: 100%; max-height: 64px; }
.partner-name { font-family: 'Fraunces', Georgia, serif; font-size: 22px; letter-spacing: -0.01em; color: var(--ink-soft); text-align: center; }
.partner:hover .partner-name { color: var(--ink); }
@media (min-width: 761px) {
  .band-partners { padding-top: 72px; padding-bottom: 72px; }
  .partners { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (max-width: 760px) { .partner { height: 92px; padding: 14px 20px; } .partner img { max-height: 54px; } }

/* ——— Team ring (about page, when JavaScript is on) ——— */
.team-carousel.is-ring { overflow: clip; padding: 26px 0 8px; margin-top: 20px; }
.is-ring .people-track {
  display: block; position: relative; overflow: visible; padding: 0;
  perspective: 1400px; perspective-origin: 30% 30%; scroll-snap-type: none; cursor: grab; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.is-ring .people-track:active { cursor: grabbing; }
.is-ring .person {
  position: absolute; top: 0; left: 50%; width: 260px; margin-left: -130px;
  will-change: transform, opacity; backface-visibility: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.is-ring .person img { pointer-events: none; -webkit-user-drag: none; }
.is-ring .person.is-front {
  border-color: rgba(242, 162, 92, 0.6);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(242, 162, 92, 0.25), 0 0 40px rgba(234, 106, 30, 0.18);
}
.is-ring .person:not(.is-front) { cursor: pointer; }
.is-ring .team-arrow { top: 42%; }
.is-ring .team-prev { left: 4px; }
.is-ring .team-next { right: 4px; }
.is-ring .team-arrow:disabled { opacity: 1; pointer-events: auto; }
.is-ring::after {           /* floor glow under the ring */
  content: ''; position: absolute; left: 15%; right: 15%; bottom: 0; height: 40px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(234, 106, 30, 0.16), transparent 70%);
}
@media (max-width: 760px) {
  .is-ring .person { width: 64vw; max-width: 260px; margin-left: min(-32vw, -130px); margin-left: max(-32vw, -130px); }
  .is-ring .team-arrow { width: 44px; height: 44px; font-size: 19px; }
}
@media (min-width: 761px) {
  .team-carousel.is-ring { overflow: visible; }
  .is-ring .team-prev { left: -34px; }
  .is-ring .team-next { right: -34px; }
}
@media (min-width: 761px) and (max-width: 1240px) {
  .is-ring .team-prev { left: 0; }
  .is-ring .team-next { right: 0; }
}


/* Phones: a compact estimate so every step's card is about the same height
   and the card sits low, leaving the 3D scene most of the screen. */
@media (max-width: 760px) {
  .step h2 { font-size: 21px; margin: 4px 0 6px; }
  .est-lines li { padding: 5px 10px; font-size: 12.5px; }
  .est-lines li:nth-child(n+3) { display: none; }
  .est-qty { display: none; }
  .est-item { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .est-total { padding: 6px 10px; font-size: 13px; }
  .cycle { padding-bottom: 10px; }
  .steps { margin-top: 8px; }
}
@media (max-width: 760px) {
  .facts { margin-top: 8px; gap: 2px 18px; }
  .facts dd { font-size: 16px; }
  .facts dt { font-size: 9.5px; }
}
@media (min-width: 761px) and (max-width: 1099px) { .brand img { height: 40px; } }

/* The full nav fits from 1000px; narrower screens (phones, tablets) use the menu button. */
@media (min-width: 1000px) {
  .nav-link { display: inline; }
  .nav-links { display: flex; align-items: center; gap: 20px; margin-right: 8px; }
  .menu-btn { display: none; }
}
