/* ===========================================================
   Nomad Camera — full landing page styles
   Builds on brand.css tokens. Direction C (playground) + bold type.
   =========================================================== */

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 1000; }
.skip-link:focus { left: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section { position: relative; }

/* ---------- buttons (shared) ---------- */
.btn { font-family: var(--font-body); font-weight: 600; font-size: 15px; border: none; cursor: pointer; border-radius: var(--r-pill);
  padding: 13px 22px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1;
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { box-shadow: var(--shadow-md); }
.btn-green { background: var(--green); color: #04130D; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost-light { background: transparent; color: var(--on-dark); border: 1.5px solid var(--line-dark); }

.playstore { display: inline-flex; align-items: center; gap: 11px; padding: 13px 24px 13px 20px; border-radius: var(--r-pill);
  font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .25s var(--ease-spring), box-shadow .25s; }
.playstore:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.playstore .tri { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent currentColor; }
.playstore { white-space: nowrap; }
.playstore small { display: block; font-size: 10px; font-weight: 500; opacity: .72; letter-spacing: .05em; }
.playstore b { font-size: 16px; font-weight: 700; }
.playstore > span { display: flex; flex-direction: column; line-height: 1.05; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ===================== HEADER ===================== */
.site-header { position: sticky; top: 0; z-index: 100; transition: background .3s, box-shadow .3s, padding .3s; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.site-header.scrolled { background: rgba(244,239,227,.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header .links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
.site-header .links a { opacity: .72; text-decoration: none; transition: opacity .2s; }
.site-header .links a:hover { opacity: 1; }
.header-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 820px) { .site-header .links { display: none; } }

/* ===================== HERO ===================== */
.hero { padding: 40px 0 70px; overflow: hidden; }
.hero-inner { position: relative; min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 0; }
.hero-center { text-align: center; position: relative; z-index: 5; max-width: 760px; }
.rec-btn { position: relative; width: 84px; height: 84px; margin: 0 auto 22px; }
.rec-btn .ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--ink); }
.rec-btn .core { position: absolute; inset: 15px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s ease-in-out infinite; }
.rec-btn .pr { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--coral); animation: ping 2.4s ease-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(.84); } }
@keyframes ping { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.3); opacity: 0; } }

.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 8vw, 92px); line-height: .9; letter-spacing: -.035em; margin: 14px 0 0; text-wrap: balance; }
.hero h1 .u { color: var(--green-deep); }
.hero h1 .co { color: var(--coral); }
.hero .sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-soft); margin: 24px auto 30px; max-width: 500px; line-height: 1.45; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .micro { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-soft); opacity: .78; margin-top: 22px; }

/* real device showcase */
.hero-device { position: relative; width: min(366px, 80vw); margin: 46px auto 0; z-index: 4; }
.hero-phone { display: block; width: 100%; height: auto; border-radius: 30px;
  box-shadow: 0 44px 90px -28px rgba(12,46,39,.55), 0 10px 30px rgba(10,24,20,.22);
  outline: 1px solid rgba(12,46,39,.08); outline-offset: -1px; }
.hero-glow { position: absolute; inset: -16% -22% -10%; z-index: -1; filter: blur(36px);
  background: radial-gradient(46% 44% at 50% 40%, rgba(47,180,107,.42), transparent 70%),
              radial-gradient(40% 30% at 72% 76%, rgba(255,92,57,.30), transparent 72%); }
.hero-device .badge-pill { z-index: 5; }
.hero-device .hb1 { top: 56px; left: -118px; }
.hero-device .hb2 { top: 132px; right: -86px; }
.hero-device .hb3 { bottom: 70px; left: -132px; }

/* floating playground bits */
.sticker { position: absolute; z-index: 2; background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 11px; animation: drift 9s ease-in-out infinite; }
.sticker .thumb { border-radius: 10px; background-size: cover; background-position: center; }
.sticker .cap { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; margin-top: 8px; color: var(--ink); }
.badge-pill { position: absolute; z-index: 3; font-family: var(--font-mono); font-weight: 700; font-size: 11.5px; letter-spacing: .07em;
  padding: 9px 15px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); animation: drift 7s ease-in-out infinite; white-space: nowrap; }
@keyframes drift { 0%,100% { transform: translate(0,0) rotate(var(--rot,0deg)); } 50% { transform: translate(var(--dx,0), var(--dy,-16px)) rotate(var(--rot2,0deg)); } }
.conf { position: absolute; border-radius: 50%; z-index: 1; animation: drift 8s ease-in-out infinite; }
@media (max-width: 920px) { .sticker, .badge-pill, .conf { display: none; } }

/* logo strip */
.trust { text-align: center; padding: 8px 0 10px; }
.trust .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); opacity: .7; }
.trust .row { display: flex; justify-content: center; gap: 38px; flex-wrap: wrap; margin-top: 16px; opacity: .55; }
.trust .row span { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }

/* ===================== SECTION HEADINGS ===================== */
.sec-head { max-width: 660px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5vw, 56px); line-height: .98; letter-spacing: -.03em; margin: 14px 0 0; text-wrap: balance; }
.sec-head h2 em { font-style: normal; color: var(--green-deep); }
.sec-head h2 .co { color: var(--coral); }
.sec-head p { font-size: 18px; color: var(--ink-soft); line-height: 1.5; margin: 16px 0 0; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

/* ===================== DEMO (one take -> formats) ===================== */
.demo { padding: 70px 0; background: var(--cream-2); }
.demo-stage { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; margin-top: 44px; }
.demo-phone-wrap { display: grid; place-items: center; }
.fmt-picker { display: flex; flex-direction: column; gap: 12px; }
.fmt-btn { display: flex; align-items: center; gap: 16px; text-align: left; background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r-md); padding: 16px 18px; cursor: pointer; transition: border-color .25s, background .25s, transform .2s var(--ease-spring); font-family: var(--font-body); }
.fmt-btn:hover { transform: translateX(4px); }
.fmt-btn.active { border-color: var(--green); background: var(--paper); box-shadow: var(--shadow-sm); }
.fmt-btn .ratio { flex: none; display: grid; place-items: center; width: 52px; height: 52px; }
.fmt-btn .ratio .box { background: var(--ink); border-radius: 4px; position: relative; transition: all .35s var(--ease-spring); }
.fmt-btn.active .ratio .box { background: var(--green-deep); }
.fmt-btn .meta b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.fmt-btn .meta span { font-size: 13.5px; color: var(--ink-soft); }
.fmt-btn .tagn { margin-left: auto; font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--green-deep); opacity: 0; transition: opacity .25s; }
.fmt-btn.active .tagn { opacity: 1; }
@media (max-width: 820px) { .demo-stage { grid-template-columns: 1fr; gap: 32px; } }

/* ===================== PHONE (shared mock) ===================== */
.phone { width: 248px; height: 510px; border-radius: 40px; background: linear-gradient(160deg,#14201d,#0a1714); padding: 10px;
  box-shadow: var(--shadow-phone); position: relative; }
.phone .screen { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; position: relative; background: #0d1c18; }
.phone .notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 74px; height: 7px; border-radius: 7px; background: #000; opacity: .55; z-index: 6; }
.frame-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.crop-bar { position: absolute; left: 0; right: 0; height: 50%; z-index: 4; transform: scaleY(0); }
@media (prefers-reduced-motion: no-preference) { .crop-bar { transition: transform .45s var(--ease-out); } }
.crop-bar.top { top: 0; transform-origin: top; background: linear-gradient(to bottom, #07120e calc(100% - 2px), var(--green-bright)); }
.crop-bar.bottom { bottom: 0; transform-origin: bottom; background: linear-gradient(to top, #07120e calc(100% - 2px), var(--green-bright)); }
.cam-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 14px; z-index: 5; }
.cam-top { display: flex; justify-content: space-between; align-items: flex-start; }
.rec-dot { display: inline-flex; align-items: center; gap: 7px; background: rgba(0,0,0,.45); color: #fff; font-family: var(--font-mono); font-size: 10px; padding: 5px 10px; border-radius: 20px; }
.rec-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: blink 1.1s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.cam-bottom { display: flex; align-items: center; justify-content: center; gap: 22px; }
.shutter { width: 54px; height: 54px; border-radius: 50%; border: 4px solid #fff; position: relative; }
.shutter::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--coral); }
.cam-chip { font-family: var(--font-mono); font-size: 9px; font-weight: 700; color: #fff; background: rgba(0,0,0,.4); padding: 4px 8px; border-radius: 14px; }
/* tracking reticle */
.reticle { position: absolute; width: 92px; height: 92px; border: 2px solid var(--green-bright); border-radius: 10px; z-index: 5;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.04); transition: all 1.2s var(--ease-out); }
.reticle::before, .reticle::after { content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--green-bright); border-style: solid; }
.reticle .corner { position: absolute; width: 11px; height: 11px; border: 2px solid var(--green-bright); }
.reticle .c1 { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.reticle .c2 { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.reticle .c3 { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.reticle .c4 { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
/* PiP inset */
.pip-inset { position: absolute; right: 12px; bottom: 86px; width: 64px; height: 86px; border-radius: 10px; border: 2px solid #fff;
  background-size: cover; background-position: center; z-index: 5; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
/* dual front+rear split */
.dual-split { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 1fr; }
.dual-pane { position: relative; background-size: cover; background-position: center; }
.dual-pane.top { background-position: 50% 42%; }
.dual-pane.bottom { background-position: 50% 28%; box-shadow: 0 -1px 0 rgba(255,255,255,.5); }
.dual-tag { position: absolute; top: 8px; left: 8px; font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .08em;
  color: #fff; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); padding: 3px 7px; border-radius: 7px; }

/* ===================== WORKFLOW (sticky scroll) ===================== */
.workflow { background: var(--ink); color: var(--on-dark); padding: 90px 0; }
.workflow .sec-head h2 { color: var(--on-dark); }
.workflow .sec-head h2 em { color: var(--green-bright); }
.workflow .sec-head p { color: var(--on-dark-soft); }
.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 56px; align-items: start; }
.wf-sticky { position: sticky; top: 120px; height: 560px; display: grid; place-items: center; }
.wf-steps { display: flex; flex-direction: column; gap: 22vh; padding: 16vh 0; }
.wf-step { opacity: .35; transition: opacity .4s; }
.wf-step.active { opacity: 1; }
.wf-step .num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; color: var(--green-bright); font-weight: 700; }
.wf-step h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 46px); line-height: 1; letter-spacing: -.02em; margin: 12px 0 14px; }
.wf-step p { font-size: 17.5px; line-height: 1.55; color: var(--on-dark-soft); max-width: 420px; }
.wf-step .pts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; }
.wf-step .pts li { font-size: 14.5px; color: var(--on-dark); display: flex; align-items: center; gap: 10px; }
.wf-step .pts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); flex: none; }
.wf-progress { position: absolute; left: -28px; top: 16vh; bottom: 16vh; width: 2px; background: var(--line-dark); }
.wf-progress .fill { position: absolute; left: 0; top: 0; width: 100%; background: var(--green-bright); border-radius: 2px; transition: height .2s linear; }
/* sticky visual panel */
.wf-visual { width: 100%; max-width: 440px; aspect-ratio: 4/3; border-radius: var(--r-xl); position: relative; overflow: hidden;
  background: linear-gradient(160deg,#102d26,#0a221c); border: 1px solid var(--line-dark); display: grid; place-items: center; }
@media (max-width: 900px) {
  .wf-grid { grid-template-columns: 1fr; gap: 30px; }
  .wf-sticky { position: relative; top: 0; height: 340px; order: -1; }
  .wf-steps { gap: 60px; padding: 20px 0; }
  .wf-step { opacity: 1; }
  .wf-progress { display: none; }
}

/* ===================== GALLERY ===================== */
.gallery { padding: 92px 0 100px; background: var(--cream-2); overflow: hidden; }
.gal-rail-wrap { position: relative; margin-top: 42px; }
.gal-rail { list-style: none; margin: 0; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(24px, calc((100vw - 1120px) / 2)) 30px; scroll-padding-left: max(24px, calc((100vw - 1120px) / 2));
  -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gal-rail::-webkit-scrollbar { display: none; }
.gcard { flex: 0 0 auto; width: min(270px, 66vw); scroll-snap-align: center; margin: 0; }
.gcard img { display: block; width: 100%; height: auto; border-radius: 22px;
  box-shadow: 0 26px 54px -24px rgba(12,46,39,.5), 0 6px 16px rgba(10,24,20,.16);
  outline: 1px solid rgba(12,46,39,.08); outline-offset: -1px;
  transition: transform .35s var(--ease-spring), box-shadow .35s; }
.gcard:hover img { transform: translateY(-8px); box-shadow: 0 36px 70px -26px rgba(12,46,39,.55), 0 8px 20px rgba(10,24,20,.18); }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 30px; line-height: 0; cursor: pointer;
  box-shadow: var(--shadow-md); display: grid; place-items: center; padding-bottom: 4px; transition: background .2s, color .2s, transform .2s; }
.gal-nav:hover { background: var(--ink); color: var(--paper); }
.gal-nav:active { transform: translateY(-50%) scale(.94); }
.gal-nav.prev { left: clamp(8px, 3vw, 40px); }
.gal-nav.next { right: clamp(8px, 3vw, 40px); }
@media (max-width: 760px) { .gal-nav { display: none; } }

/* ===================== USE CASES ===================== */
.usecases { padding: 90px 0; }
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.uc-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 9/14; color: #fff;
  box-shadow: var(--shadow-md); cursor: pointer; transition: transform .35s var(--ease-spring), box-shadow .35s; }
.uc-card:hover { transform: translateY(-8px) scale(1.015); box-shadow: var(--shadow-lg); }
.uc-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s var(--ease-out); }
.uc-card:hover .bg { transform: scale(1.08); }
.uc-card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,16,0) 30%, rgba(8,20,16,.85)); }
.uc-card .uc-pip { position: absolute; top: 14px; right: 14px; width: 34%; aspect-ratio: 3 / 4; border-radius: 8px; border: 2px solid rgba(255,255,255,.85);
  background-size: cover; box-shadow: 0 4px 14px rgba(0,0,0,.4); z-index: 2; }
.uc-card .body { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; }
.uc-card .ratio-tag { position: absolute; top: 16px; left: 16px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em;
  background: rgba(0,0,0,.45); backdrop-filter: blur(4px); padding: 6px 11px; border-radius: 20px; }
.uc-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 23px; margin: 0 0 6px; letter-spacing: -.01em; }
.uc-card p { font-size: 14px; line-height: 1.45; opacity: .85; margin: 0; }
@media (max-width: 900px) { .uc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .uc-grid { grid-template-columns: 1fr; } }

/* ===================== FEATURES ===================== */
.features { padding: 90px 0; background: var(--cream-2); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.feat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .3s var(--ease-spring), box-shadow .3s; }
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feat-card.wide { grid-column: span 2; }
.feat-card .ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); margin-bottom: 18px; }
.feat-card .ic svg { width: 26px; height: 26px; stroke: var(--green-bright); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 0 0 8px; letter-spacing: -.01em; }
.feat-card p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.feat-card .chiprow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.feat-card .chiprow span { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 6px 11px; border-radius: var(--r-pill); background: var(--cream-2); color: var(--green-deep); }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } .feat-card.wide { grid-column: span 2; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } .feat-card.wide { grid-column: span 1; } }

/* ===================== TESTIMONIALS ===================== */
.testimonials { padding: 90px 0; overflow: hidden; }
.tcols { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 48px; }
.tcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.tcard .stars { color: var(--yellow); font-size: 15px; letter-spacing: 2px; }
.tcard blockquote { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.35; margin: 14px 0 20px; letter-spacing: -.01em; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .who .av { width: 42px; height: 42px; border-radius: 50%; background-size: cover; background-position: center; flex: none; }
.tcard .who .av.mono { display: grid; place-items: center; background: var(--ink); color: var(--green-bright); font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.tcard .who b { display: block; font-size: 14.5px; }
.tcard .who span { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 900px) { .tcols { grid-template-columns: 1fr; } }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 18px; }
.metric { text-align: center; padding: 28px 18px; }
.metric b { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px,6vw,60px); line-height: 1; letter-spacing: -.03em; display: block; }
.metric span { font-size: 14px; color: var(--ink-soft); margin-top: 8px; display: block; }
@media (max-width: 600px) { .metrics { grid-template-columns: 1fr; gap: 4px; } }

/* ===================== FAQ ===================== */
.faq { padding: 90px 0; background: var(--cream-2); }
.faq-list { max-width: 800px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .25s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { flex: none; width: 26px; height: 26px; position: relative; transition: transform .3s var(--ease-spring); }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; background: var(--green-deep); border-radius: 2px; }
.faq-item summary .pm::before { left: 50%; top: 4px; bottom: 4px; width: 2.5px; transform: translateX(-50%); }
.faq-item summary .pm::after { top: 50%; left: 4px; right: 4px; height: 2.5px; transform: translateY(-50%); }
.faq-item[open] summary .pm { transform: rotate(135deg); }
.faq-item .ans { padding: 0 24px 24px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* ===================== FINAL CTA ===================== */
.final { background: var(--ink); color: var(--on-dark); padding: 100px 0; position: relative; overflow: hidden; text-align: center; }
.final::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(700px 400px at 30% 20%, rgba(47,180,107,.2), transparent 60%),
  radial-gradient(600px 360px at 80% 90%, rgba(255,92,57,.14), transparent 60%); }
.final-inner { position: relative; z-index: 2; }
.final h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px,7vw,82px); line-height: .92; letter-spacing: -.035em; margin: 18px 0 0; text-wrap: balance; }
.final h2 em { font-style: normal; color: var(--green-bright); }
.final h2 .co { color: var(--coral); }
.final p { font-size: 19px; color: var(--on-dark-soft); max-width: 460px; margin: 22px auto 32px; line-height: 1.45; }
.final .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final .micro { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--on-dark-soft); margin-top: 24px; opacity: .8; }
.final-conf { position: absolute; border-radius: 50%; z-index: 1; animation: drift 8s ease-in-out infinite; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink-2); color: var(--on-dark-soft); padding: 56px 0 32px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-top .brand-col p { font-size: 14px; line-height: 1.5; max-width: 260px; margin: 16px 0 0; }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); opacity: .6; margin: 0 0 16px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--on-dark-soft); text-decoration: none; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--green-bright); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } }

/* Static HTML additions */
.wf-copy { position: relative; }
.wf-panel { display: none; width: 100%; height: 100%; place-items: center; }
.wf-panel.is-active { display: grid; }
.wf-note { width: 78%; max-width: 300px; background: rgba(0,0,0,.35); border-radius: 16px; padding: 18px; border: 1px solid var(--line-dark); }
.wf-note div { font-family: var(--font-mono); font-size: 11px; color: var(--green-bright); letter-spacing: .1em; margin-bottom: 12px; }
.wf-note span { display: block; height: 10px; border-radius: 6px; background: var(--on-dark); opacity: .42; margin-bottom: 9px; }
.wf-note span:nth-of-type(2) { width: 78%; opacity: .36; }
.wf-note span:nth-of-type(3) { width: 62%; opacity: .25; }
.wf-note i { display: block; width: 55%; height: 10px; border-radius: 6px; background: var(--green-bright); margin-top: 14px; }
.mini-phone { transform: scale(.86); }
.wf-exports > div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 82%; align-items: start; }
.wf-exports figure { position: relative; margin: 0; aspect-ratio: 16 / 11; border-radius: 12px; overflow: hidden; background-size: cover; background-position: center; border: 8px solid rgba(0,0,0,.3); outline: 1px solid var(--line-dark); }
.wf-exports figure:first-child { aspect-ratio: 9 / 13; }
.wf-exports figure:nth-child(3) { aspect-ratio: 1 / 1; }
.wf-exports figure span { position: absolute; right: 8px; bottom: 28px; width: 34%; aspect-ratio: 3 / 4; border-radius: 5px; border: 2px solid rgba(255,255,255,.9); background-size: cover; background-position: center; }
.wf-exports figure b { position: absolute; left: 8px; bottom: 7px; font-family: var(--font-mono); font-size: 10px; color: var(--green-bright); }

.legal-page { background: var(--cream); }
.legal-page .site-header .bar { padding: 16px 0; }
.legal-main { padding: 64px 0 96px; }
.legal-hero { max-width: 800px; margin-bottom: 38px; }
.legal-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(42px, 7vw, 78px); line-height: .92; letter-spacing: -.03em; margin: 14px 0 18px; color: var(--ink); }
.legal-note { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 760px; }
.legal-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-sm); }
.legal-card h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1; letter-spacing: -.02em; color: var(--ink); margin: 34px 0 12px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); }
.legal-card a { color: var(--green-deep); font-weight: 700; }
.legal-card ul { padding-left: 22px; }
@media (max-width: 760px) {
  .legal-main { padding-top: 42px; }
  .foot-top { grid-template-columns: 1fr; }
}
