/* =============================================================
   JORBEN LABS — Archetype 04 · Glassmorphism Modern (refined)
   Layout: floating glass nav · split hero with framed "device" · glass pricing tiers · calm sections
   1. Tokens
   ============================================================= */
:root {
  --bg: #F4F6FA;          /* cool off-white, biased to brand blue */
  --paper: #FFFFFF;
  --ink: #0F1A2E;         /* navy ink */
  --ink-soft: #46526A;
  --ink-mute: #6B7690;
  --navy: #0B1930;
  --blue: #1677FF;
  --blue-soft: #E6F0FF;
  --mint: #2FBF8F;
  --amber: #E09A3B;
  --line: rgba(15, 26, 46, .10);
  --glass: rgba(255, 255, 255, .55);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-line: rgba(255, 255, 255, .75);
  --mesh-1: #BBD7FF;
  --mesh-2: #D8D0FF;
  --mesh-3: #C9F1E2;

  --display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(15,26,46,.04), 0 12px 40px -12px rgba(15,26,46,.14);
  color-scheme: light;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--blue); }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--navy); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.fine { font-size: .82rem; color: var(--ink-mute); }
.link { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.glass {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .glass { background: var(--glass); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
}

/* Mesh background — 3 stops, slow 30 s drift (functional ambience: always on) */
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .75; will-change: transform; }
.mesh i:nth-child(1) { background: var(--mesh-1); top: -20vmax; right: -15vmax; animation: drift1 30s ease-in-out infinite; }
.mesh i:nth-child(2) { background: var(--mesh-2); top: 30vh; left: -25vmax; animation: drift2 34s ease-in-out infinite; }
.mesh i:nth-child(3) { background: var(--mesh-3); bottom: -30vmax; right: 10vw; animation: drift3 38s ease-in-out infinite; }

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-dark { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(11,25,48,.55); }
.btn-dark:hover { background: var(--blue); box-shadow: 0 16px 34px -12px rgba(22,119,255,.6); }
.btn-glass { background: rgba(255,255,255,.7); border: 1px solid var(--line); color: var(--ink); }
.btn-glass:hover { background: #fff; box-shadow: var(--shadow); }
.btn-small { min-height: 40px; padding: .6rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.has-magnetic { display: inline-flex; }
.magnetic-inner { display: inline-flex; align-items: center; gap: .5rem; will-change: transform; transition: transform .8s var(--ease-soft); }

.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .5rem; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231677FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* =============================================================
   5. Nav
   ============================================================= */
.nav { position: fixed; inset: calc(.75rem + env(safe-area-inset-top, 0px)) 0 auto; z-index: 50; padding-inline: var(--gutter); }
.nav-pill { max-width: var(--max); margin-inline: auto; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 .55rem 0 1.1rem; border-radius: 999px; transition: box-shadow .4s; }
.nav.is-scrolled .nav-pill { box-shadow: 0 10px 40px -14px rgba(15,26,46,.25); }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand-mark { width: 26px; height: 26px; }
.brand-word { font-family: var(--display); font-size: 1rem; letter-spacing: -.01em; color: var(--blue); font-weight: 500; }
.brand-word b { color: var(--navy); font-weight: 800; }
.nav-links { position: relative; display: none; gap: .25rem; }
.nav-links a { position: relative; z-index: 1; padding: .5rem .9rem; font-size: .92rem; font-weight: 500; color: var(--ink-soft); transition: color .3s; }
.nav-links a:hover, .nav-links a.is-current { color: var(--ink); }
.nav-indicator { position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--blue); border-radius: 2px; opacity: 0; transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s; }
.nav-cta { display: none; }
.nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 50%; }
.nav-toggle i { display: block; width: 18px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease-out); }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.3px) rotate(-45deg); }
.menu { max-width: var(--max); margin: .5rem auto 0; padding: .75rem; display: grid; }
.menu[hidden] { display: none; }
.menu a { padding: .9rem 1rem; border-radius: 14px; font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.menu a:hover { background: rgba(255,255,255,.7); }

/* =============================================================
   6. Sections
   ============================================================= */
/* Hero */
.hero { display: grid; gap: 3rem; align-items: center; padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(47,191,143,.5); animation: pulse 2.4s infinite; }
.hero-title { font-size: clamp(2.5rem, 6.6vw, 5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; max-width: 13ch; }
.sector-slot { display: inline-block; position: relative; }
.sector-word { display: inline-block; }
.sector-word.is-out { animation: wordOut .35s var(--ease-soft) forwards; }
.sector-word.is-in { animation: wordIn .6s var(--ease-out) forwards; }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; }
.hero-lede [data-sector-message] { color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.segmented { display: flex; gap: .25rem; padding: .3rem; border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.segmented button { flex: none; min-height: 40px; padding: .45rem .95rem; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--ink-soft); transition: background .35s, color .35s, box-shadow .35s; }
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -2px rgba(15,26,46,.18); }

/* Hero stage: framed device + floating chips */
.hero-stage { position: relative; width: min(100%, 520px); justify-self: center; padding: 1.5rem 0 2.5rem; }
.device { position: relative; border-radius: 28px; padding: 10px; background: rgba(255,255,255,.55); border: 1px solid var(--glass-line); box-shadow: 0 40px 80px -30px rgba(11,25,48,.45), 0 1px 0 rgba(255,255,255,.8) inset; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px 10px; }
.device-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(15,26,46,.14); }
.device-bar small { margin-left: auto; font-size: .75rem; font-weight: 500; color: var(--ink-mute); }
.device-screen { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #050A1C; }
.device-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease-out), transform 1.6s var(--ease-out); }
.device-screen img.is-active { opacity: 1; transform: none; }
.float-chip { position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: .55rem; align-items: center; padding: .7rem 1rem; border-radius: 16px; font-family: var(--display); font-weight: 600; font-size: .85rem; line-height: 1.2; white-space: nowrap; }
.float-chip small { grid-column: 2; font-family: var(--sans); font-weight: 400; font-size: .72rem; color: var(--ink-mute); }
.float-chip .dot { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; }
.dot-mint { background: var(--mint); } .dot-blue { background: var(--blue); } .dot-amber { background: var(--amber); }
.float-chip.glass { background: rgba(255,255,255,.92); }
.chip-a { left: -1.25rem; top: 4%; }
.chip-b { right: -1.25rem; top: 52%; }
.chip-c { left: 6%; bottom: .75rem; }
@media (max-width: 539px) { .chip-a { left: -.25rem; top: 0; } .chip-b { right: -.25rem; } }
.is-floating .device { animation: bob 8s ease-in-out infinite; }
.is-floating .chip-a { animation: bob 7s ease-in-out infinite .4s; }
.is-floating .chip-b { animation: bob 9s ease-in-out infinite 1.2s; }
.is-floating .chip-c { animation: bob 7.5s ease-in-out infinite .8s; }

/* Sections */
.section { padding-block: clamp(4rem, 10vw, 7.5rem); }
.section-head { display: grid; gap: .9rem; max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2, .calc h2, .contact h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 52ch; }

/* Plans */
.plans { display: grid; gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 1.25rem 1.5rem; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(15,26,46,.35); }
.plan-visual { border-radius: 18px; overflow: hidden; background: #050A1C; aspect-ratio: 16 / 10; }
.plan-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.plan:hover .plan-visual img { transform: scale(1.06); }
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .25rem; }
.plan-top h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.plan-tag { font-size: .8rem; color: var(--ink-mute); }
.price { font-family: var(--display); font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--sans); font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--ink-mute); }
.plan-copy { color: var(--ink-soft); }
.plan .ticks { margin-top: .25rem; }
.ideal { font-size: .85rem; color: var(--ink-mute); border-top: 1px solid var(--line); padding-top: .9rem; margin-top: auto; }
.plan-featured { border-color: rgba(22,119,255,.35); box-shadow: 0 24px 60px -24px rgba(22,119,255,.35); }
.plan-badge { position: absolute; top: 1.85rem; left: 2rem; z-index: 1; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--blue); font-size: .75rem; font-weight: 600; }

/* Sectors */
.sector-card { padding: clamp(1rem, 3vw, 2rem); }
.sector-tabs { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; }
.sector-tabs::-webkit-scrollbar { display: none; }
.sector-tabs button { flex: none; min-height: 42px; padding: .5rem 1rem; border-radius: 999px; font-weight: 500; font-size: .92rem; color: var(--ink-soft); transition: background .3s, color .3s; }
.sector-tabs button:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.sector-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.sector-panel { display: grid; gap: 2rem; }
.sector-punch { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
.sector-msg { font-size: 1.1rem; color: var(--ink-soft); max-width: 40ch; }
.sector-side { display: grid; gap: 1.1rem; justify-items: start; align-content: start; }
.pack { width: 100%; padding: 1rem 1.25rem; border-radius: 16px; background: var(--blue-soft); }
.pack strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--navy); margin-top: .2rem; }
.is-swapping > * { animation: swap .5s var(--ease-out); }

/* Steps (a real sequence → numbered) */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { position: relative; padding: 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,.55); border: 1px solid var(--glass-line); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* Calculator */
.calc { display: grid; gap: 2rem; padding: clamp(1.25rem, 4vw, 3rem); }
.calc-intro { display: grid; gap: .8rem; }
.calc-form { display: grid; gap: 1.6rem; }
.calc-form label > span { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; font-weight: 500; font-size: .95rem; }
.calc-form output { font-family: var(--display); font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--p, 50%), rgba(15,26,46,.12) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(15,26,46,.12); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blue); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 4px 12px -2px rgba(22,119,255,.45); transition: transform .3s var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-result { display: grid; gap: .8rem; justify-items: start; padding: 1.5rem; border-radius: 20px; background: var(--navy); color: #fff; }
.calc-result .label { color: #8FB9FF; }
.calc-big { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-result p { color: rgba(255,255,255,.82); }
.calc-result b { color: #fff; }
.calc-result .fine { color: rgba(255,255,255,.6); }
.calc-result .btn-dark { background: #fff; color: var(--navy); }
.calc-result .btn-dark:hover { background: var(--blue); color: #fff; }

/* Why */
.why { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.why-item { padding: 1.75rem 1.5rem; background: rgba(255,255,255,.7); transition: background .4s; }
.why-item:hover { background: #fff; }
.why-item h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.why-item p { color: var(--ink-soft); font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { border-radius: 18px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%231677FF' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/55% no-repeat; transition: transform .5s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); max-width: 65ch; }
.faq details[open] p { animation: faqIn .45s var(--ease-out); }

/* Contact */
.contact { display: grid; gap: 2rem; padding: clamp(1.25rem, 4vw, 3rem); }
.contact-intro { display: grid; gap: .9rem; align-content: start; }
.mail a { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease-out); padding-bottom: 2px; }
.mail a:hover { background-size: 100% 1.5px; }
.form { display: grid; gap: 1.1rem; min-width: 0; }
.form-grid { display: grid; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 500; }
.form input:not([type="checkbox"]), .form textarea { font: inherit; color: var(--ink); background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem; min-height: 50px; transition: border-color .3s, box-shadow .3s; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,119,255,.14); }
.form input::placeholder, .form textarea::placeholder { color: #9AA3B5; }
.form fieldset { border: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.form legend { font-size: .9rem; font-weight: 500; margin-bottom: .5rem; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { display: inline-flex; align-items: center; min-height: 42px; padding: .45rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--ink-soft); font-weight: 500; cursor: pointer; transition: all .3s; }
.check input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.check input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn-submit { justify-self: start; }
.form .is-error { border-color: #D64545 !important; }
[data-form-status].is-ok { color: var(--mint); }
[data-form-status].is-bad { color: #C23B3B; }

/* Footer */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2.5rem calc(6rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--ink-mute); font-size: .88rem; }
.footer nav { display: flex; gap: 1.25rem; }
.footer nav a:hover { color: var(--ink); }

/* Mobile CTA */
.mobile-cta { position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 40; min-height: 52px; transition: transform .5s var(--ease-out), opacity .4s; }
.mobile-cta.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }

/* Reveal (hidden only while JS runs; 6 s safety net in main.js) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-out); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split], [data-reveal][data-split] { opacity: 1; transform: none; }
.js .plans > :nth-child(2), .js .steps > :nth-child(2), .js .why > :nth-child(2) { transition-delay: .08s; }
.js .plans > :nth-child(3), .js .steps > :nth-child(3), .js .why > :nth-child(3) { transition-delay: .16s; }
.js .steps > :nth-child(4), .js .why > :nth-child(4) { transition-delay: .24s; }

/* =============================================================
   7. Effects
   ============================================================= */
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-8vw, 10vh) scale(1.15); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(10vw, -6vh) scale(1.1); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6vw, -10vh) scale(1.2); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,191,143,.5); } 70% { box-shadow: 0 0 0 9px rgba(47,191,143,0); } 100% { box-shadow: 0 0 0 0 rgba(47,191,143,0); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes wordOut { to { opacity: 0; transform: translateY(-30%); filter: blur(4px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(30%); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .sector-panel { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .menu { display: none !important; }
  .mobile-cta { display: none; }
  .footer { padding-bottom: 2.5rem; }
  .hero { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; padding-top: 150px; min-height: min(100svh, 900px); }
  .hero-stage { justify-self: end; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan-featured { transform: translateY(-12px); }
  .plan-featured:hover { transform: translateY(-18px); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .why { grid-template-columns: repeat(4, 1fr); }
  .calc { grid-template-columns: 1fr 1fr; column-gap: 3rem; align-items: start; }
  .calc-intro { grid-column: 1 / -1; max-width: 720px; }
  .faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
  .faq-section .section-head { position: sticky; top: 120px; }
  .contact { grid-template-columns: .8fr 1.2fr; gap: 3rem; }
}

/* =============================================================
   9. Reduced motion — only INTRUSIVE effects (Windows ships it ON)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .mesh i { animation-duration: 60s; }
  .pulse { animation: none; }
}

/* =============================================================
   10. Legal pages
   ============================================================= */
.legal-page .legal-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--gutter); background: rgba(244,246,250,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.legal { padding-block: 3.5rem 5rem; max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: .75rem 0 1.5rem; }
.pending { border: 1px dashed var(--amber); background: #FFF7EA; color: #8A5A12; border-radius: 14px; padding: .9rem 1.15rem; margin-bottom: 2rem; font-size: .95rem; }
.legal section { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.legal h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.legal p { color: var(--ink-soft); max-width: 65ch; }
.legal a { color: var(--blue); }
.legal-page .footer { padding-bottom: 2.5rem; }
