/* Premavu - flagship single page 3D experience
   Layout: a fixed WebGL canvas behind everything; six sticky "beats" drive the camera,
   then content panels scroll over the final scene. Brand night palette, single theme by design.
   Brand tokens: Night #10211F, Deep #153A35, Lime #D7FF59, Mint #D9F3E9, Cloud #FCFDFB. Type: Plus Jakarta Sans. */
:root {
  --night: #10211f;
  --night-2: #0a1513;
  --deep: #153a35;
  --lime: #d7ff59;
  --lime-2: #e6ff8f;
  --lime-dim: rgba(215, 255, 89, 0.16);
  --mint: #d9f3e9;
  --cloud: #fcfdfb;
  --text: #fcfdfb;
  --text-2: rgba(217, 243, 233, 0.74);
  --text-3: rgba(217, 243, 233, 0.5);
  --panel: rgba(10, 21, 19, 0.78);
  --panel-2: rgba(13, 28, 25, 0.92);
  --line: rgba(217, 243, 233, 0.14);
  --line-2: rgba(217, 243, 233, 0.28);
  --danger: #ffb4a2;
  --pop: #0d1c19;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --nav-h: 76px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(15px, 0.4vw + 13px, 17px);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--night); }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--lime); color: var(--night); font-weight: 600; padding: 10px 16px; border-radius: 999px; transition: top .3s; }
.skip:focus { top: max(12px, env(safe-area-inset-top, 0px)); }

/* ---------- fixed layers ---------- */
.scene {
  position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh;
  z-index: 0; display: block; background: var(--night-2);
}
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, -1%); } 100% { transform: translate(3%, 3%); } }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 60; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--lime); pointer-events: none; transform: translate(-50%, -50%);
  mix-blend-mode: difference; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), opacity .3s, background-color .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; background: rgba(215, 255, 89, 0.12); }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--night); padding-inline: var(--gutter-l) var(--gutter-r);
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { width: min(320px, 100%); display: grid; justify-items: center; text-align: center; }
.loader-mark { width: 64px; height: 64px; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.07); } }
.loader-eyebrow { margin-block: 18px 22px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.loader-bar { width: 100%; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--lime); transition: width .35s var(--ease); }
.loader-hint { margin-top: 14px; font-size: 12px; color: var(--text-3); letter-spacing: .06em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 50;
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav-inner {
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: var(--gutter-l) var(--gutter-r);
  background: linear-gradient(to bottom, rgba(10, 21, 19, 0.78), rgba(10, 21, 19, 0));
}
@media (min-width: 821px) { .nav-inner { padding-inline: max(28px, env(safe-area-inset-left, 0px)) max(28px, env(safe-area-inset-right, 0px)); } }
.logo { display: inline-flex; flex: none; }
.logo img { display: block; height: auto; }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.nav-links a { position: relative; padding-block: 6px; transition: color .3s; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; border-radius: 2px; background: var(--lime); transition: right .5s var(--ease); }
.nav-links a:hover::after { right: 0; }
.nav-progress { height: 2px; background: transparent; }
.nav-progress span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
@media (max-width: 820px) { .nav-links { display: none; } .nav .logo img { width: 98px; } }

/* beat indicator (desktop only) */
.beats {
  position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 14px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3);
  opacity: 0; transition: opacity .8s;
}
.beats.is-on { opacity: 1; }
.beats span { position: relative; padding-right: 22px; text-align: right; transition: color .5s; }
.beats span::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .5s, border-color .5s, transform .5s; }
.beats span.is-active { color: var(--text); }
.beats span.is-active::after { background: var(--lime); border-color: var(--lime); transform: scale(1.3); }
@media (max-width: 1180px), (pointer: coarse) { .beats { display: none; } }

/* ---------- type ---------- */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter-l) var(--gutter-r); }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); font-weight: 600; }
.display {
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.0;
  font-size: clamp(40px, 5.9vw, 86px); text-wrap: balance;
}
.display em { font-style: normal; color: var(--lime); }
.display-xl { font-size: clamp(50px, 9vw, 136px); letter-spacing: -0.05em; }
h3 { font-weight: 700; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.15; letter-spacing: -0.02em; }
.lede { font-size: clamp(16px, 1.1vw + 10px, 20px); color: var(--text-2); max-width: 34em; line-height: 1.55; }
.body { color: var(--text-2); max-width: 34em; }
.center { margin-inline: auto; text-align: center; }
.fineprint { font-size: 12px; color: var(--text-3); margin-top: 28px; }

/* word-reveal */
[data-reveal] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
[data-reveal] .w > span { display: inline-block; transform: translateY(112%); will-change: transform; }
[data-reveal].is-in .w > span { transform: none; transition: transform 1.1s var(--ease); }
[data-reveal] .w > span { transition-delay: calc(var(--i, 0) * 28ms); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding-inline: 28px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  border: 1px solid transparent; transition: transform .5s var(--ease), background-color .4s, color .4s, border-color .4s, box-shadow .5s;
  white-space: nowrap; will-change: transform;
}
.btn-sm { height: 44px; padding-inline: 20px; font-size: 14px; }
.btn-lime { background: var(--lime); color: var(--night); box-shadow: 0 12px 44px -16px rgba(215, 255, 89, 0.6); }
.btn-lime:hover { background: var(--lime-2); box-shadow: 0 18px 54px -14px rgba(215, 255, 89, 0.7); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(10, 21, 19, 0.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.ico { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -4px; color: inherit; }
.btn .ico { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .ico:not(.ico-lead) { transform: translateX(4px); }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links .ico { width: 16px; height: 16px; color: var(--lime); }
.contact-phone .ico { color: var(--lime); }

/* floating action dock: WhatsApp first, then call and form */
.dock {
  position: fixed; z-index: 45; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.dock.is-on { opacity: 1; transform: none; pointer-events: auto; }
.dock-items { display: flex; flex-direction: column; gap: 10px; }
.dock-btn, .dock-main { position: relative; display: grid; place-items: center; border-radius: 50%; transition: transform .45s var(--ease), background-color .3s, border-color .3s, color .3s; }
.dock-btn { width: 46px; height: 46px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dock-btn .ico { width: 18px; height: 18px; }
.dock-btn:hover { border-color: var(--lime); color: var(--lime); transform: translateX(-3px); }
.dock-main { width: 58px; height: 58px; background: var(--lime); color: var(--night); box-shadow: 0 14px 40px -12px rgba(215, 255, 89, 0.7); }
.dock-main .ico { width: 27px; height: 27px; }
.dock-main:hover { background: var(--lime-2); transform: translateX(-3px) scale(1.04); }
.dock-main::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(215, 255, 89, 0.55); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.9; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }
.dock [data-tip]::after {
  content: attr(data-tip); position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  font-size: 12px; font-weight: 500; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.dock [data-tip]:hover::after, .dock [data-tip]:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
/* collapsed by default (phones, tablets, short windows): WhatsApp + a toggle; items open on tap */
.dock-toggle { display: grid; }
.dock-toggle .ico { transition: transform .4s var(--ease); }
.dock-items { display: none; }
.dock.is-open .dock-items { display: flex; }
.dock.is-open .dock-toggle .ico { transform: rotate(45deg); }
.dock [data-tip]::after { display: none; }
.dock-main::before { display: none; }
/* expanded only where there is room and a real pointer: large desktop windows */
@media (min-width: 821px) and (min-height: 800px) and (pointer: fine) {
  .dock-toggle { display: none; }
  .dock-items { display: flex; }
  .dock [data-tip]::after { display: block; }
  .dock-main::before { display: block; }
}
@media (prefers-reduced-motion: reduce) { .dock-main::before, .loader-mark { animation: none; } }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; color: var(--lime); font-size: 15px; font-weight: 600; margin-top: 8px; }
.link-arrow i { width: 34px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: width .5s var(--ease); }
.link-arrow i::after { content: ""; position: absolute; right: -1px; top: -3px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.link-arrow:hover i { width: 52px; }

/* ---------- story beats ---------- */
.story { position: relative; z-index: 2; }
.beat { height: 160vh; height: 160lvh; position: relative; }
.beat-hero { height: 140vh; height: 140lvh; }
.beat-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.beat-copy { display: grid; gap: 22px; opacity: 0; will-change: opacity, transform; position: relative; }
.beat-copy::before { content: ""; position: absolute; inset: -26% -30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(8, 17, 15, 0.9), rgba(8, 17, 15, 0.55) 55%, transparent); pointer-events: none; }
.beat-copy, .hero-copy { text-shadow: 0 1px 2px rgba(8, 17, 15, 0.85), 0 0 28px rgba(8, 17, 15, 0.8); }
.beat-copy .btn, .hero-copy .btn { text-shadow: none; }
.beat-hero .beat-sticky::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(100deg, rgba(8, 17, 15, 0.8) 0%, rgba(8, 17, 15, 0.45) 40%, rgba(8, 17, 15, 0) 64%), linear-gradient(to top, rgba(8, 17, 15, 0.7), transparent 30%); }
.beat-hero .hero-grid, .beat-hero .scroll-cue { position: relative; z-index: 1; }
.beat-copy-left { justify-items: start; max-width: 700px; }
.beat-copy-right { justify-items: start; max-width: 620px; margin-left: auto; }
.beat-copy-center { justify-items: center; text-align: center; width: 100%; }
.beat-copy .eyebrow { margin-bottom: 4px; }
/* the copy keeps to its own side of the page column, so the scene has the other */
.beat-copy-left { margin-left: max(0px, calc((100vw - 1240px) / 2)); margin-right: auto; }
.beat-copy-right { margin-right: max(0px, calc((100vw - 1240px) / 2)); margin-left: auto; }
@media (min-width: 821px) {
  .beat-copy-left, .hero-grid { padding-left: max(28px, env(safe-area-inset-left, 0px)); }
  .beat-copy-right { padding-right: max(28px, env(safe-area-inset-right, 0px)); }
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: 100svh; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 72px; }
.hero-copy { display: grid; gap: 26px; align-self: center; max-width: 760px; }
.hero-copy .display { font-size: clamp(42px, 6.3vw, 94px); }
.hero-copy .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero-copy .line > span { display: inline-block; transform: translateY(112%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
[data-intro] { opacity: 0; transform: translateY(18px); }

.scroll-cue {
  position: absolute; left: 50%; bottom: max(22px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); white-space: nowrap;
}
.scroll-cue span { width: 2px; height: 38px; border-radius: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform: translateY(-100%); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60% { transform: translateY(100%); } 100% { transform: translateY(100%); } }

.layers { display: grid; width: 100%; margin-top: 6px; border-top: 1px solid var(--line); }
.layers li { display: grid; grid-template-columns: 2.6rem 7.5rem minmax(0, 1fr); gap: 12px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--line); }
.layer-n { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--lime); font-variant-numeric: tabular-nums; }
.layer-t { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.layer-d { color: var(--text-2); font-size: 15px; }

.marquee { width: 100vw; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; will-change: transform; animation: marquee 44s linear infinite; }
.marquee-track span { font-weight: 700; letter-spacing: -0.04em; font-size: clamp(40px, 7vw, 104px); line-height: 1.1; padding-inline: 0.36em; white-space: nowrap; color: var(--text); }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- panels ---------- */
.panel { position: relative; z-index: 2; padding-block: clamp(84px, 11vw, 150px); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--panel); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.panel + .panel::before { border-top: 1px solid var(--line); }
.panel-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; perspective: 1400px; }
.service {
  position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 26px 30px; min-height: 230px; min-width: 0;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(217, 243, 233, 0.055), rgba(217, 243, 233, 0.012)); border-radius: var(--radius);
  transform-style: preserve-3d; transition: border-color .5s, box-shadow .6s var(--ease); will-change: transform;
}
.service::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(215, 255, 89, 0.12), transparent 45%); opacity: 0; transition: opacity .5s; }
.service:hover { border-color: rgba(215, 255, 89, 0.5); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9); }
.service:hover::after { opacity: 1; }
.service-n { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-variant-numeric: tabular-nums; }
.service h3 { margin-top: 18px; }
.service p { color: var(--text-2); font-size: 15px; }
.service-lead { grid-column: span 2; background: linear-gradient(140deg, rgba(215, 255, 89, 0.14), rgba(21, 58, 53, 0.35) 55%, rgba(217, 243, 233, 0.02)); }
.service-lead h3 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.035em; line-height: 1.05; }
.service-lead p { font-size: 17px; max-width: 30em; }
.service-cta { background: var(--lime); color: var(--night); border-color: var(--lime); }
.service-cta .service-n { color: var(--night); opacity: .7; }
.service-cta p { color: var(--night); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.service-cta .ico { transition: transform .5s var(--ease); }
.service-cta:hover { border-color: var(--lime-2); background: var(--lime-2); }
.service-cta:hover .ico { transform: translateX(5px); }
.service-cta::after { display: none; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps li { display: grid; gap: 12px; align-content: start; padding: 26px 0 0; border-top: 2px solid var(--line-2); min-width: 0; }
.step-n { font-size: 13px; font-weight: 600; color: var(--lime); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.steps p { color: var(--text-2); font-size: 15px; max-width: 30em; }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust li { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(217, 243, 233, 0.025); min-width: 0; }
.trust li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 5px solid var(--lime); margin-bottom: 8px; }
.trust p { color: var(--text-2); font-size: 15px; }

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 90px); align-items: start; }
.faq-grid .panel-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 22px; font-weight: 600; font-size: clamp(17px, 1.3vw, 20px); letter-spacing: -0.015em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: translateY(-3px) rotate(45deg); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--lime); }
.faq details p { color: var(--text-2); max-width: 40em; padding-bottom: 24px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.contact-copy { display: grid; gap: 22px; }
.contact-direct { display: flex; flex-wrap: wrap; gap: 12px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: 28px; border: 1px solid var(--line); background: var(--panel-2); border-radius: var(--radius); position: relative; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: rgba(217, 243, 233, 0.04); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; transition: border-color .3s, background-color .3s; min-width: 0;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: rgba(217, 243, 233, 0.07); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .dd-btn { border-color: var(--danger); }
.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.form-note { font-size: 13px; color: var(--text-3); }
.form-legal { font-size: 12px; color: var(--text-3); }
.form-success { grid-column: 1 / -1; display: grid; gap: 10px; text-align: center; padding-block: 24px; }
.form-success .display { font-size: clamp(38px, 5vw, 60px); }
.form.is-sent .field, .form.is-sent .form-foot, .form.is-sent .form-legal { display: none; }
/* form details: errors, optional tag, counter, honeypot */
.field-error { font-size: 12px; line-height: 1.4; color: var(--danger); }
.field label .opt { margin-left: 6px; font-size: 10px; letter-spacing: .1em; color: var(--text-3); opacity: .8; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-count { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.field-count.is-near { color: var(--lime); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
#turnstileBox:empty { display: none; }
/* phone: country code picker + number */
.phone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
/* dropdown (listbox) shared by the country code and the topic */
.dd { position: relative; min-width: 0; }
.dd-btn {
  width: 100%; min-height: 50px; display: flex; align-items: center; gap: 9px; text-align: left; font: inherit; color: var(--text);
  background: rgba(217, 243, 233, 0.04); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  transition: border-color .3s, background-color .3s;
}
.dd-btn:hover, .dd-btn[aria-expanded="true"] { border-color: var(--lime); background: rgba(217, 243, 233, 0.07); }
.dd-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dd-val.is-placeholder { color: var(--text-3); }
.dd-iso { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; color: var(--night); background: var(--lime); border-radius: 4px; padding: 1px 5px; }
.dd-chev { flex: none; width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.dd-btn[aria-expanded="true"] .dd-chev { transform: translateY(1px) rotate(-135deg); }
.dd-pop {
  position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); min-width: 100%; background: var(--pop);
  border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 26px 60px -18px rgba(0, 0, 0, 0.95); overflow: hidden;
}
.dd-country .dd-pop { width: min(320px, 84vw); }
.field .dd-search { width: 100%; font-size: 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: rgba(217, 243, 233, 0.05); padding: 12px 14px; }
.field .dd-search:focus { outline: none; background: rgba(217, 243, 233, 0.09); }
.dd-list { position: relative; max-height: 248px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; outline: none; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.dd-opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.dd-opt.is-active, .dd-opt:hover { background: rgba(215, 255, 89, 0.14); color: var(--text); }
.dd-opt[aria-selected="true"] { color: var(--lime); }
.dd-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-dial { flex: none; color: var(--text-3); font-variant-numeric: tabular-nums; }
.dd-empty { padding: 12px 10px; font-size: 13px; color: var(--text-3); }

.footer { position: relative; z-index: 2; padding-block: 48px max(36px, env(safe-area-inset-bottom, 0px)); background: var(--night-2); border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px 48px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-meta { font-size: 14px; color: var(--text-3); line-height: 1.7; margin-top: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; font-weight: 500; color: var(--text-2); padding-top: 8px; }
.footer-links a { position: relative; padding-block: 4px; border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.footer-links a:hover { color: var(--text); border-color: var(--lime); }
.inline-link { color: var(--lime); border-bottom: 1px solid rgba(215, 255, 89, 0.4); transition: border-color .3s; }
.inline-link:hover { border-color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px 40px; flex-wrap: wrap; padding-top: 22px; }
.footer-legal { font-size: 13px; color: var(--text-3); line-height: 1.7; }
.footer-legal-links { display: flex; gap: 22px; }
.footer-legal-links a { border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.footer-legal-links a:hover { color: var(--text); border-color: var(--lime); }
.contact-phone { font-size: 15px; color: var(--text-2); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-phone a { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line-2); }
.copy-btn { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; transition: border-color .3s; }
.copy-btn:hover { border-color: var(--lime); }

/* ---------- legal and error pages (no scene) ---------- */
.plain { background: radial-gradient(1200px 600px at 80% -10%, rgba(21, 58, 53, 0.9), transparent 70%), var(--night); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.plain-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.plain main { flex: 1; }
.legal { max-width: 760px; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.legal-updated { font-size: 13px; color: var(--text-3); }
.legal h1 { margin-top: 10px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(38px, 5.4vw, 64px); }
.legal-intro { margin-top: 18px; font-size: clamp(17px, 1.2vw + 10px, 20px); color: var(--text-2); }
.legal section { margin-top: 40px; }
.legal h2 { font-weight: 700; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -0.02em; }
.legal section p { margin-top: 12px; color: var(--text-2); }
.legal section ul { margin-top: 12px; padding-left: 20px; list-style: disc; color: var(--text-2); display: grid; gap: 8px; }
.legal section li::marker { color: var(--lime); }
.plain .footer { margin-top: auto; }
.notfound { display: grid; align-content: center; justify-items: start; gap: 22px; max-width: 760px; padding-block: clamp(56px, 12vh, 140px); }
.notfound h1 { font-weight: 700; letter-spacing: -0.04em; line-height: 1.0; font-size: clamp(42px, 7vw, 84px); text-wrap: balance; }
.notfound h1 em { font-style: normal; color: var(--lime); }
.notfound p { color: var(--text-2); max-width: 44ch; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .panel-head { position: static; margin-bottom: 8px; }
}
@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  /* phones: copy sits at the top of the screen and the 3D mark has the lower half to itself */
  .beat-hero .beat-sticky { align-items: start; }
  .beat-hero .beat-sticky::before { background: linear-gradient(to bottom, rgba(8, 17, 15, 0.86) 0%, rgba(8, 17, 15, 0.6) 46%, rgba(8, 17, 15, 0) 70%), linear-gradient(to top, rgba(8, 17, 15, 0.6), transparent 22%); }
  .hero-grid { align-items: start; padding-top: calc(var(--nav-h) + 18px); padding-bottom: 60px; }
  .hero-copy { gap: 18px; align-self: start; }
  .beat-copy-right { margin-left: 0; margin-right: auto; }
  .beat:not(.beat-hero) .beat-sticky { align-items: start; padding-top: calc(var(--nav-h) + 26px); }
  .beat-copy-center { align-self: center; }
  .layers li { grid-template-columns: 2.2rem 6rem minmax(0, 1fr); gap: 8px; padding-block: 11px; }
  .layer-t { font-size: 17px; }
  .layer-d { font-size: 14px; }
  .services, .steps, .trust { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service-lead { grid-column: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .scroll-cue { font-size: 10px; }
  .panel::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 21, 19, 0.93); }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
/* short phones: tighter hero so the 3D mark still shows below the buttons */
@media (max-width: 820px) and (max-height: 720px) {
  .hero-copy { gap: 13px; }
  .hero-copy .lede { font-size: 15px; line-height: 1.45; }
  .beat-copy { gap: 14px; }
}
@media (max-width: 420px) {
  .display { font-size: clamp(34px, 10.4vw, 44px); }
  .hero-copy .display { font-size: clamp(36px, 11vw, 46px); }
  .btn { height: 50px; padding-inline: 22px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .scroll-cue span::after, .marquee-track { animation: none; }
  [data-reveal] .w > span, .hero-copy .line > span { transform: none; transition: none; }
  [data-intro], .beat-copy { opacity: 1; transform: none; }
  .btn, .service { transition: none; }
}
