
/* Layout: un escenario WebGL fijo detrás de la página. Las fichas del caos (Excel, WhatsApp, papelitos) se dan vuelta y forman el tablero; después se vuelven barras y al final orbitan el logo. El texto flota encima en paneles de vidrio. Marca deliberadamente oscura (brand-kit SolvAI). */
:root {
  --ink: #0B0B11;      /* fondo */
  --card: #14141E;     /* superficies */
  --card2: #1A1A26;
  --line: #22222E;
  --violet: #4B4AE3;   /* violeta SolvAI */
  --violet2: #7D7CF0;  /* violeta claro */
  --paper: #ECE9E2;    /* texto */
  --mute: #8B8B98;
  --dim: #5A5A68;
  --wa: #3fb985;       /* verde WhatsApp, solo dentro del chat */
  --glass: rgba(16, 16, 26, .72);
  --scrim: rgba(11, 11, 17, .86);

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --logo: url("/assets/asset-f78956a06316.png");
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--ink); color: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; color: var(--violet2); }
.wrap { padding-left: var(--gl); padding-right: var(--gr); }
.inner { max-width: 1180px; margin: 0 auto; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet2); }

/* ---------- escenario ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; opacity: 0; transition: opacity 1.4s ease; }
.gl-on #gl { opacity: 1; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 65% 40%, transparent 50%, rgba(5,5,9,.8) 100%); }
body.no-gl { background: radial-gradient(70% 60% at 70% 25%, #1d1c4a 0%, var(--ink) 70%) fixed; }
main, footer { position: relative; z-index: 2; }

/* ---------- header ---------- */
header.top { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px var(--gr) 14px var(--gl); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 30px; height: 28px; background: var(--violet2);
  -webkit-mask: var(--logo) no-repeat -12px -3px / 50px auto; mask: var(--logo) no-repeat -12px -3px / 50px auto; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: .01em; }
.brand small { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: var(--mute); text-transform: uppercase; margin-top: -2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--violet); color: #fff; box-shadow: 0 10px 40px -10px rgba(75,74,227,.8); }
.btn.solid:hover { background: #5b5af0; }
.btn.ghost { background: var(--glass); border-color: rgba(236,233,226,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn.ghost:hover { border-color: var(--violet2); }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- hero (escena pegajosa) ---------- */
.scene { position: relative; height: var(--h, 260vh); }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.sticky::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--scrim) 0%, rgba(11,11,17,.55) 38%, transparent 62%); }
.hero-copy { position: relative; display: grid; width: 100%; max-width: 1180px; margin: 0 auto; }
.phase { grid-area: 1 / 1; max-width: 600px; display: grid; gap: 22px; align-content: center; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.phase h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1.02; }
.phase p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #cfccd8; max-width: 46ch; margin: 0; }
.phase.b { opacity: 0; transform: translateY(26px); pointer-events: none; }
.ordered .phase.a { opacity: 0; transform: translateY(-26px); pointer-events: none; }
.ordered .phase.b { opacity: 1; transform: none; pointer-events: auto; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.hint { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.hint i { width: 22px; height: 36px; border: 1.5px solid var(--dim); border-radius: 12px; position: relative; }
.hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--violet2); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1 } 80% { transform: translateY(12px); opacity: 0 } 100% { opacity: 0 } }
.legend { position: absolute; right: var(--gr); bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.legend span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11,11,17,.6); }
.legend .on { color: var(--paper); border-color: var(--violet); }
.ordered .legend .chaos { opacity: .35; text-decoration: line-through; }
.legend .order { display: none; }
.ordered .legend .order { display: inline; }

/* ---------- secciones ---------- */
section.block { padding-block: clamp(80px, 12vh, 140px); }
.head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(28px, 5vh, 48px); text-shadow: 0 2px 24px rgba(11,11,17,.95), 0 0 2px rgba(11,11,17,.9); }
.head h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.05; }
.head p { margin: 0; color: #c7c4d0; font-size: 1.08rem; max-width: 56ch; }
.panel { background: var(--glass); border: 1px solid rgba(236,233,226,.09); border-radius: 22px; backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }

/* qué hacemos */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(18px, 3vw, 36px); }
.tabs { display: grid; gap: 10px; }
.tab { text-align: left; background: transparent; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; cursor: pointer; display: grid; gap: 6px; position: relative; overflow: hidden; transition: border-color .3s, background .3s; }
.tab .t { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.1; display: flex; gap: 12px; align-items: baseline; }
.tab .t small { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .1em; }
.tab .d { color: var(--mute); font-size: 15px; max-height: 0; opacity: 0; transition: max-height .5s ease, opacity .4s; }
.tab[aria-selected="true"] { border-color: var(--violet); background: rgba(75,74,227,.1); }
.tab[aria-selected="true"] .d { max-height: 120px; opacity: 1; }
.tab[aria-selected="true"] .t small { color: var(--violet2); }
.tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--violet2); }
.tab[aria-selected="true"] .bar.run { animation: fill var(--dur, 9s) linear forwards; }
@keyframes fill { to { width: 100% } }
.tab:hover { border-color: #3a3a52; }

.phone { width: 100%; max-width: 320px; aspect-ratio: 9 / 17; margin: 0 auto; border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #2a2a3c, #101018); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px #2c2c40, 0 0 60px -10px rgba(75,74,227,.35); transform: perspective(900px) rotateY(-8deg) rotateX(4deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.phone:hover { transform: perspective(900px) rotateY(0) rotateX(0); }
.screen { height: 100%; border-radius: 30px; overflow: hidden; background: var(--ink); position: relative; display: flex; flex-direction: column; }
.notch { position: absolute; top: 8px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #000; z-index: 3; }
.view { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 40px 14px 14px; gap: 10px; opacity: 0; transform: scale(.97); transition: opacity .45s, transform .45s; pointer-events: none; }
.view.on { opacity: 1; transform: none; pointer-events: auto; }
.vh { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--mute); }
.vh b { color: var(--paper); font-weight: 600; font-size: 14px; }
.tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
/* tablero */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 2px; }
.kpi span { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--mute); text-transform: uppercase; }
.kpi b { font-family: var(--display); font-weight: 400; font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kpi i { font-style: normal; font-size: 10.5px; color: var(--violet2); }
.week { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 8px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; }
.bars div { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--violet2), var(--violet)); height: 10%; transition: height 1s cubic-bezier(.2,.8,.2,1); }
.bars div:last-child { background: linear-gradient(180deg, #fff, var(--violet2)); }
.days { display: flex; gap: 6px; font-family: var(--mono); font-size: 9px; color: var(--dim); }
.days span { flex: 1; text-align: center; }
.alert { display: flex; gap: 8px; align-items: center; background: rgba(75,74,227,.12); border: 1px solid rgba(125,124,240,.3); border-radius: 12px; padding: 9px 10px; font-size: 11.5px; color: #d9d7f7; }
.alert::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet2); flex: none; box-shadow: 0 0 0 4px rgba(125,124,240,.2); }
/* chat */
.chat-h { display: flex; gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.av { width: 32px; height: 32px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; font-weight: 600; font-size: 12px; }
.chat-h div { font-size: 13px; line-height: 1.2; }
.chat-h small { color: var(--wa); font-size: 11px; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 7px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 86%; padding: 8px 10px 6px; border-radius: 12px; font-size: 12.5px; line-height: 1.35; animation: pop .35s cubic-bezier(.2,.8,.2,1); }
.msg small { display: block; text-align: right; font-size: 9.5px; color: rgba(236,233,226,.5); margin-top: 2px; }
.msg.in { align-self: flex-start; background: var(--card2); border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: #1d4f3e; border-top-right-radius: 4px; }
.typing { align-self: flex-end; background: #1d4f3e; border-radius: 12px; padding: 10px 12px; display: flex; gap: 4px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: rgba(236,233,226,.7); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s } .typing i:nth-child(3) { animation-delay: .3s }
@keyframes blink { 50% { opacity: .2 } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96) } }
/* automatizaciones */
.flow { display: grid; gap: 0; margin-top: 4px; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; position: relative; padding-bottom: 14px; opacity: .35; transition: opacity .4s; }
.step::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step .dot { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--dim); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; background: var(--ink); position: relative; z-index: 1; transition: background .4s, border-color .4s; }
.step b { font-size: 13px; font-weight: 600; display: block; }
.step span { font-size: 11.5px; color: var(--mute); }
.step.on { opacity: 1; }
.step.on .dot { background: var(--violet); border-color: var(--violet); }
.when { margin-top: auto; text-align: center; font-family: var(--mono); font-size: 10px; color: var(--dim); }

/* proyecto: vibra */
.vibra { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.vibra .head { margin: 0; }
.browser { margin: 0; overflow: hidden; padding: 0; transform: perspective(1200px) rotateY(-7deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 70px -20px rgba(75,74,227,.4); }
.browser:hover { transform: none; }
.browser .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(236,233,226,.08); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); }
.browser .bar span { margin-left: 10px; flex: 1; max-width: 300px; padding: 4px 12px; border-radius: 999px; background: rgba(236,233,226,.07); font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.browser video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #f4f1ea; }

/* marcas */
.brands { display: grid; gap: 16px; margin-bottom: clamp(40px, 7vh, 72px); }
.brands-h { display: flex; gap: clamp(16px, 3vw, 32px); align-items: center; margin-bottom: 12px; text-shadow: 0 2px 24px rgba(11,11,17,.95); }
.brands-h > div { display: grid; gap: 10px; min-width: 0; }
.brands-h h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.05; }
.plus { font-family: var(--display); font-weight: 300; font-size: clamp(4.4rem, 11vw, 9rem); line-height: .85; color: var(--violet2); font-variant-numeric: tabular-nums; flex: none; }
.mq { overflow: hidden; padding-block: 10px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq.drag { cursor: grabbing; }
.mq-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.bc { --s: 132px; flex: none; width: var(--s); height: var(--s); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 14px 30px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(236,233,226,.08); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.bc.pad img { object-fit: contain; padding: 9%; }
.bc img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.bc:hover { transform: translateY(-8px) rotate(-3deg) scale(1.08); box-shadow: 0 24px 40px -16px rgba(0,0,0,.9), 0 0 0 2px var(--violet2); }
.mq[data-dir="-1"] .bc:hover { transform: translateY(-8px) rotate(3deg) scale(1.08); }
.mq-hint { margin: 0; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; text-align: center; }

/* casos */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; perspective: 1100px; }
.case { padding: 26px 24px 24px; display: grid; gap: 14px; align-content: start; transform-style: preserve-3d; transition: transform .25s ease-out, border-color .3s; will-change: transform; }
.case:hover { border-color: rgba(125,124,240,.5); }
.case .who { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; }
.case .big { font-family: var(--display); font-weight: 300; font-size: clamp(3rem, 5vw, 4.4rem); line-height: .95; color: #fff; transform: translateZ(40px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.case .big small { font-size: .38em; color: var(--violet2); font-style: italic; }
.case .what { font-size: 15px; font-weight: 600; transform: translateZ(24px); }
.case p { margin: 0; color: var(--mute); font-size: 14.5px; }
.case h3 { font-size: 1.5rem; }
.own { margin-top: 16px; padding: 16px 20px; display: flex; gap: 14px; align-items: center; color: #c7c4d0; font-size: 15px; }
.own b { color: var(--paper); font-weight: 600; }
.own .mark { flex: none; width: 26px; height: 24px; -webkit-mask-size: 44px auto; mask-size: 44px auto; -webkit-mask-position: -11px -3px; mask-position: -11px -3px; }

/* método */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 8px; counter-reset: s; }
.st { padding: 22px 20px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); }
.st:last-child { border-right: 0; }
.st .n { font-family: var(--mono); font-size: 12px; color: var(--violet2); }
.st h3 { font-size: 1.35rem; line-height: 1.15; }
.st p { margin: 0; font-size: 14.5px; color: var(--mute); }
.miles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.mile { padding: 22px 24px; display: flex; gap: 18px; align-items: center; }
.mile b { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; color: #fff; white-space: nowrap; }
.mile b small { font-family: var(--mono); font-size: 12px; color: var(--violet2); letter-spacing: .1em; display: block; margin-bottom: 6px; }
.mile span { color: #c7c4d0; font-size: 15.5px; }

/* contacto */
.cta { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; min-height: 82vh; }
.cta h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1; }
.cta p { color: #cfccd8; font-size: 1.12rem; max-width: 46ch; margin: 0; }
.cta-l { display: grid; gap: 24px; }
.free { padding: 4px 20px; max-width: 480px; }
.free li { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.free li:last-child { border-bottom: 0; }
.free li span { font-family: var(--mono); font-size: 11px; color: var(--violet2); letter-spacing: .1em; text-transform: uppercase; align-self: center; }
.free ul { list-style: none; margin: 0; padding: 0; }
.free .tag { display: block; padding-top: 14px; }
.web { font-family: var(--mono); font-size: 13px; color: var(--mute); }

footer { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: rgba(11,11,17,.85); }
footer .inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--mute); font-size: 13px; }
.logo-full { width: 120px; height: 113px; background: var(--paper); -webkit-mask: var(--logo) no-repeat center / contain; mask: var(--logo) no-repeat center / contain; }

/* ---------- celular ---------- */
@media (max-width: 860px) {
  .sticky { align-items: flex-end; padding-bottom: 40px; }
  .sticky::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(11,11,17,.9) 34%, rgba(11,11,17,.25) 58%, transparent 72%); }
  .phase { gap: 16px; }
  .phase h1 { font-size: clamp(2.1rem, 9.4vw, 3rem); }
  .legend { display: none; }
  .head { padding: 18px; border-radius: 18px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(236,233,226,.08); }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .phone { max-width: 290px; transform: none; }
  .cases { grid-template-columns: minmax(0, 1fr); }
  .vibra { grid-template-columns: minmax(0, 1fr); }
  .browser { transform: none; }
  .bc { --s: 100px; border-radius: 16px; }
  .head.sub { padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; margin-bottom: 16px; }
  .brands-h { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border-radius: 18px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(236,233,226,.08); }
  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .st:nth-child(2) { border-right: 0; }
  .st:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 34vh; }
  .brand small { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .st { border-right: 0; border-bottom: 1px solid var(--line); }
  .st:last-child { border-bottom: 0; }
  .miles { grid-template-columns: minmax(0, 1fr); }
  .row .btn { flex: 1 1 auto; }
  .top .btn.sm { padding: 0 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  .phone { transform: none; }
}

:root { --mute: #aaa8b7; --dim: #92909f; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 16px; padding: 12px 20px; background: var(--paper); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
header.top { background: rgba(11,11,17,.86); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(236,233,226,.06); }
.header-actions, .site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: #c7c4d0; font-size: 13px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--violet2); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 99px; min-width: 44px; min-height: 44px; cursor: pointer; }
.phase h2 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1.02; }
.phase[aria-hidden="true"] { visibility: hidden; }
.hero-link { color: var(--paper); font-size: 14px; text-underline-offset: 5px; }
.service-links { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-link { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--glass); font-size: 14px; text-decoration: none; }
.service-link:hover { border-color: var(--violet2); }
.section-action { margin-top: 24px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 20px 24px; }
.faq-list summary { cursor: pointer; font-size: 17px; font-weight: 500; }
.faq-list p { margin: 16px 0 0; max-width: 76ch; color: #c7c4d0; }
.footer-links { display: flex; gap: 12px 24px; flex-wrap: wrap; }
.footer-links a { text-underline-offset: 4px; }
.analytics-settings, .analytics-close { color: inherit; font: inherit; background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.analytics-notice { position: fixed; z-index: 70; left: 20px; bottom: 20px; width: min(540px, calc(100% - 40px)); padding: 24px; background: #14141efc; box-shadow: 0 15px 65px #0009; max-height: calc(100svh - 40px); overflow-y: auto; }
.analytics-notice h2 { font-size: 1.65rem; }
.analytics-notice p { color: #c7c4d0; font-size: 14px; }
.analytics-notice .row { align-items: center; }
.analytics-close { margin-left: auto; font-size: 13px; }
.footer-bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.motion-toggle { position: fixed; z-index: 40; bottom: 16px; right: 16px; min-height: 40px; border: 1px solid #49485f; background: #14141ef2; color: #cfccd8; border-radius: 999px; padding: 8px 14px; font-size: 12px; cursor: pointer; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.interior { background: radial-gradient(ellipse at 90% 10%, #222149 0, transparent 45%), var(--ink); }
.page-main { min-height: 75vh; padding-top: 124px; padding-bottom: 100px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font: 11px var(--mono); color: var(--mute); margin-bottom: 40px; }
.breadcrumb a { text-decoration: none; }
.page-hero { max-width: 880px; display: grid; gap: 22px; margin-bottom: 64px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.05; }
.page-hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #c7c4d0; max-width: 65ch; margin: 0; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.content-card { padding: clamp(24px, 4vw, 40px); }
.content-card h2 { font-size: 1.8rem; margin-bottom: 14px; }
.content-card p { color: #c7c4d0; margin: 0; }
.content-section { margin-top: 64px; }
.content-section > h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.content-section > p { max-width: 76ch; color: #c7c4d0; font-size: 18px; }
.callout { margin-top: 64px; padding: 32px; display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.callout h2 { font-size: 2rem; }
.callout p { color: var(--mute); margin-bottom: 0; }
.callout .btn { flex-shrink: 0; }
.audit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: start; gap: 40px; }
.audit-aside { display: grid; gap: 22px; }
.audit-aside h2 { font-size: 2rem; }
.audit-aside p, .audit-aside li { color: #c7c4d0; }
.audit-aside ul { padding-left: 20px; display: grid; gap: 12px; }
.audit-form { padding: clamp(20px, 4vw, 38px); display: grid; gap: 22px; }
.form-heading { display: grid; gap: 12px; }
.form-heading h2 { font-size: 2rem; }
.form-heading p, .form-note { margin: 0; color: var(--mute); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audit-form label { display: grid; gap: 8px; font-size: 14px; }
input, select, textarea { width: 100%; font: inherit; color: var(--paper); background: #101019; border: 1px solid #4a495e; border-radius: 10px; padding: 13px; min-height: 48px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #9997a8; }
.audit-form .consent { display: flex; gap: 12px; align-items: start; color: #c7c4d0; }
.consent input { width: 19px; height: 19px; min-height: 0; flex-shrink: 0; margin-top: 2px; accent-color: var(--violet); }
.form-result { padding-top: 24px; border-top: 1px solid var(--line); }
.form-result h3 { font-size: 1.8rem; }
.form-result p { color: var(--mute); }
.form-result pre { font: 14px/1.6 var(--body); white-space: pre-wrap; overflow-wrap: anywhere; padding: 18px; border-radius: 12px; background: var(--ink); }
.privacy-copy { max-width: 780px; }
.privacy-copy h2 { font-size: 1.8rem; margin-top: 40px; }
.privacy-copy p { color: #c7c4d0; }
.no-js .scene { height: auto !important; }
.no-js .sticky { height: auto; min-height: 100svh; padding-block: 130px 70px; }
.no-js .hero-copy { gap: 45px; }
.no-js .phase { grid-area: auto; }
.no-js .phase.b { opacity: 1; transform: none; pointer-events: auto; }
.no-js .tab .d { max-height: none; opacity: 1; }
.no-js .hint, .no-js .legend, .no-js .motion-toggle { display: none; }
.no-js .audit-form { display: none; }
.no-js .site-nav { display: flex; }
@media (min-width: 1280px) { header.top { padding-inline: max(30px, calc((100vw - 1380px) / 2)); } }
@media (max-width: 980px) {
  .js .menu-toggle { display: inline-grid; place-items: center; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; padding: 24px; background: #14141efc; border: 1px solid var(--line); border-radius: 16px; align-items: stretch; }
  .js .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { padding-block: 7px; }
  .header-actions { gap: 8px; }
  .no-js header.top { position: relative; flex-wrap: wrap; }
  .no-js .site-nav { flex-wrap: wrap; gap: 8px 18px; }
  .audit-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) { .phase h2 { font-size: clamp(2.1rem, 9.4vw, 3rem); } .service-links { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .content-grid, .form-grid { grid-template-columns: 1fr; }
  .page-main { padding-top: 110px; }
  .page-hero { margin-bottom: 40px; }
  .callout { display: grid; padding: 24px; }
  .audit-layout { gap: 28px; }
  .header-actions .btn { font-size: 12px; padding-inline: 12px; }
  .brand b { font-size: 20px; }
  .brand { gap: 5px; }
  footer { padding-bottom: 80px; }
  .faq-list details { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 360px) {
  .header-actions .btn { font-size: 11px; padding-inline: 10px; white-space: nowrap; }
  .header-actions .btn span { display: none; }
}
