/* ============================================================
   ORAIA — redesign
   Premium sleek-enterprise. Navy base, magenta + cyan accents.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800&family=Hanken+Grotesk:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* brand palette (from oraia design system) */
  --navy:        #071024;
  --navy-2:      #0a132b;
  --surface:     #0d1734;
  --surface-2:   #101c3e;
  --line:        rgba(144, 164, 207, 0.16);
  --line-strong: rgba(144, 164, 207, 0.30);

  --ink:         #f5f7ff;
  --body:        #aebddd;
  --muted:       #7d8dba;

  --magenta:     #bc3181;
  --magenta-lit: #e25aa8;
  --cyan:        #008dbc;
  --cyan-lit:    #36c6f0;

  --grad: linear-gradient(100deg, #e25aa8 0%, #bc3181 38%, #1f8fc4 100%);
  --grad-soft: linear-gradient(135deg, rgba(188,49,129,0.16), rgba(0,141,188,0.16));

  /* semantic surfaces (themed) */
  --nav-bg:    rgba(7,16,36,0.72);
  --card-bg:   linear-gradient(165deg, rgba(16,28,62,0.85), rgba(10,19,43,0.75));
  --tint:      rgba(255,255,255,0.025);
  --tint-2:    rgba(255,255,255,0.05);
  --chip-bg:   rgba(13,23,52,0.92);
  --ph-bg:     linear-gradient(160deg, #0e1a3c, #0a1330);
  --ph-stripe: rgba(144,164,207,0.06);
  --card-shadow: 0 30px 60px -34px rgba(0,0,0,0.8);
  --glow-a: 0.20; --glow-b: 0.18; --grid-op: 0.035;

  /* alternating section bands */
  --band-bg:        linear-gradient(180deg, rgba(16,28,62,0.55), rgba(11,20,44,0.55));
  --band-bg-strong: linear-gradient(180deg, rgba(18,32,72,0.92), rgba(12,22,50,0.92));
  --band-glow:      0.06;

  --display: 'Schibsted Grotesk', sans-serif;
  --sans:    'Hanken Grotesk', sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(226,90,168,0.35); color: #fff; }

/* ambient page glow */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 78% -5%, rgba(188,49,129,var(--glow-a)), transparent 60%),
    radial-gradient(800px 600px at 8% 12%, rgba(0,141,188,var(--glow-b)), transparent 60%),
    radial-gradient(1000px 800px at 50% 120%, rgba(0,141,188,0.10), transparent 60%);
  pointer-events: none; z-index: 0; transition: opacity .5s;
}
/* faint grid */
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(144,164,207,var(--grid-op)) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144,164,207,var(--grid-op)) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 78%);
  pointer-events: none; z-index: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ============================================================
   Typography helpers
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.06; letter-spacing: -0.02em; font-weight: 700; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan-lit);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan-lit); opacity: 0.7; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--body); max-width: 60ch; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(188,49,129,0.7), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(188,49,129,0.85), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-ghost {
  border: 1px solid var(--line-strong); color: var(--ink);
  background: var(--tint); backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--cyan-lit); transform: translateY(-2px); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--ink); letter-spacing: -0.01em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; position: relative;
  background: var(--grad);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 6px 18px -6px rgba(188,49,129,0.8);
  display: grid; place-items: center;
}
.brand-mark::after { content:""; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,0.9); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav-links a {
  font-size: 14.5px; color: var(--body); padding: 8px 13px; border-radius: 9px;
  transition: color .25s, background .25s; font-weight: 500;
}
.nav-links a:hover { color: var(--ink); background: var(--tint-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; align-items: center; border: 1px solid var(--line-strong);
  border-radius: 999px; overflow: hidden; font-family: var(--mono); font-size: 12px;
}
.lang-toggle button { padding: 6px 11px; color: var(--muted); transition: color .25s, background .25s; }
.lang-toggle button.active { color: #fff; background: var(--tint-2); }
.nav-link-login { font-size: 14.5px; font-weight: 500; color: var(--body); transition: color .25s; }
.nav-link-login:hover { color: var(--ink); }
.menu-toggle { display: none; }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; z-index: 1; padding: clamp(80px, 9vw, 130px) 0; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 50px); margin: 18px 0 16px; font-weight: 700; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* alternating section bands — visual rhythm between sections */
section.band { background: var(--band-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .5s, border-color .5s; }
section.band::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(760px 320px at 78% 0%, rgba(188,49,129,var(--band-glow)), transparent 62%),
              radial-gradient(620px 300px at 10% 100%, rgba(0,141,188,var(--band-glow)), transparent 62%);
}
section.band > .wrap { position: relative; z-index: 1; }
body.bands-off section.band { background: none; border-color: transparent; }
body.bands-off section.band::after { display: none; }
body.bands-strong section.band { background: var(--band-bg-strong); }
body.bands-strong section.band { --band-glow: 0.10; }

/* reveal animation base */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .adx-mode { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* generic card */
.card {
  background: var(--card-bg);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--card-shadow); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 150px; padding-bottom: 90px; min-height: 100svh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 9px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--body);
  background: var(--tint); margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-lit); box-shadow: 0 0 0 4px rgba(54,198,240,0.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 3px rgba(54,198,240,0.18);} 50%{box-shadow:0 0 0 7px rgba(54,198,240,0.05);} }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--body); max-width: 50ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--body);
  padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--tint);
}
.pill svg { width: 15px; height: 15px; color: var(--cyan-lit); }

/* hero stage (3d centerpiece) */
.hero-stage { position: relative; height: 540px; perspective: 1400px; }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s var(--ease); }
.stage-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.stage-scene.active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }

/* switcher */
.hero-switch {
  position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; padding: 6px; z-index: 5;
  background: rgba(7,16,36,0.7); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(12px);
}
.hero-switch button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; color: var(--muted); transition: color .3s, background .3s; white-space: nowrap;
}
.hero-switch button.active { color: #fff; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* device scene (CSS 3D phone) */
.phone {
  position: absolute; top: 45%; left: 50%;
  width: 270px; height: 552px; margin: -276px 0 0 -135px;
  border-radius: 42px; background: linear-gradient(160deg, #16244d, #0a1330);
  border: 1px solid rgba(144,164,207,0.28);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 13px; transform-style: preserve-3d;
  transition: transform .25s ease-out;
}
.phone::before { content:""; position:absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 999px; background: #060d20; z-index: 3; }
.phone-screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden; position: relative;
  background: radial-gradient(120% 90% at 50% 0%, #122152, #08122c 70%);
  display: flex; flex-direction: column; padding: 46px 18px 18px;
}
.call-status { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-lit); text-align: center; }
.call-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 22px auto 14px;
  background: var(--grad); display: grid; place-items: center; position: relative;
  box-shadow: 0 0 0 6px rgba(226,90,168,0.12), 0 0 40px rgba(188,49,129,0.5);
}
.call-avatar::after { content:""; position:absolute; inset:-12px; border-radius:50%; border:1px solid rgba(226,90,168,0.4); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0%{transform:scale(0.9);opacity:0.8;} 100%{transform:scale(1.5);opacity:0;} }
.call-avatar svg { width: 38px; height: 38px; color: #fff; }
.call-name { text-align:center; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 19px; }
.call-meta { text-align:center; color: var(--muted); font-size: 12.5px; margin-bottom: 18px; }
.wave { display:flex; align-items:center; justify-content:center; gap: 4px; height: 40px; margin: 6px 0 18px; }
.wave span { width: 4px; border-radius: 4px; background: linear-gradient(var(--cyan-lit), var(--magenta-lit)); animation: wv 1.1s ease-in-out infinite; }
@keyframes wv { 0%,100%{height:8px;} 50%{height:34px;} }
.call-card {
  margin-top: auto; background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 13px;
}
.call-card .row { display:flex; justify-content:space-between; font-size: 11.5px; padding: 3px 0; }
.call-card .row span:first-child { color: var(--muted); }
.call-card .row span:last-child { color: var(--ink); font-weight: 600; }
.float-chip {
  position: absolute; padding: 11px 14px; border-radius: 14px; font-size: 12.5px; color: var(--ink);
  background: var(--chip-bg); border: 1px solid var(--line-strong); backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.8); display: flex; align-items: center; gap: 9px;
}
.float-chip .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan-lit); }
.float-chip .ic svg { width: 15px; height: 15px; }

/* ============================================================
   Capabilities (4-step flow)
   ============================================================ */
.cap-lead-2 { margin-top: 14px; color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); }

/* connector rail — sweeps across once the section enters view */
.cap-rail { position: relative; height: 2px; margin: 0 0 30px; }
.cap-rail-line {
  position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--magenta-lit) 18%, var(--cyan-lit) 82%, transparent 100%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.1s var(--ease) .15s; opacity: .55;
}
.cap-rail.in .cap-rail-line { transform: scaleX(1); }
.cap-pulse {
  position: absolute; top: 50%; left: 0; width: 70px; height: 6px; margin-top: -3px;
  border-radius: 6px; opacity: 0;
  background: radial-gradient(closest-side, rgba(54,198,240,0.9), transparent);
  filter: blur(1px);
}
.cap-rail.in .cap-pulse { animation: capPulse 3.4s var(--ease) 1s infinite; }
@keyframes capPulse {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 70px); opacity: 0; }
}

.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* substantial, glassy navy cards with a warm corner wash */
.cap-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 336px; padding: 32px 28px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.12), transparent 55%) padding-box,
    linear-gradient(168deg, rgba(40,58,112,0.92), rgba(24,40,86,0.9)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow:
    0 0 48px -14px color-mix(in oklch, var(--magenta) 42%, transparent),
    0 24px 60px -32px color-mix(in oklch, var(--cyan) 55%, transparent);
  transition: transform .5s var(--ease), box-shadow .5s, background .45s;
}
/* each card glows with a slightly different hue across the magenta→cyan range */
.cap-card[data-d="1"] {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.12), transparent 55%) padding-box,
    linear-gradient(168deg, rgba(40,58,112,0.92), rgba(24,40,86,0.9)) padding-box,
    linear-gradient(135deg, var(--magenta-lit), var(--magenta)) border-box;
  box-shadow:
    0 0 50px -13px color-mix(in oklch, var(--magenta-lit) 55%, transparent),
    0 24px 60px -32px color-mix(in oklch, var(--magenta) 40%, transparent);
}
.cap-card[data-d="2"] {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.12), transparent 55%) padding-box,
    linear-gradient(168deg, rgba(40,58,112,0.92), rgba(24,40,86,0.9)) padding-box,
    linear-gradient(135deg, var(--magenta), var(--cyan)) border-box;
  box-shadow:
    0 0 50px -13px color-mix(in oklch, var(--magenta) 48%, transparent),
    0 24px 60px -32px color-mix(in oklch, var(--cyan) 40%, transparent);
}
.cap-card[data-d="3"] {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.12), transparent 55%) padding-box,
    linear-gradient(168deg, rgba(40,58,112,0.92), rgba(24,40,86,0.9)) padding-box,
    linear-gradient(135deg, var(--cyan-lit), var(--magenta)) border-box;
  box-shadow:
    0 0 50px -13px color-mix(in oklch, var(--cyan) 50%, transparent),
    0 24px 60px -32px color-mix(in oklch, var(--magenta) 32%, transparent);
}
.cap-card[data-d="4"] {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.12), transparent 55%) padding-box,
    linear-gradient(168deg, rgba(40,58,112,0.92), rgba(24,40,86,0.9)) padding-box,
    linear-gradient(135deg, var(--cyan-lit), var(--cyan)) border-box;
  box-shadow:
    0 0 52px -12px color-mix(in oklch, var(--cyan-lit) 55%, transparent),
    0 24px 60px -32px color-mix(in oklch, var(--cyan) 48%, transparent);
}
/* cyan glow that fades in on hover */
.cap-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(95% 75% at 50% -12%, rgba(54,198,240,0.18), transparent 60%);
  transition: opacity .45s;
}
.cap-card > * { position: relative; z-index: 1; }

.cap-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.cap-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--cyan-lit);
  transition: background .45s, color .45s, border-color .45s, transform .5s var(--ease), box-shadow .45s;
}
.cap-icon svg { width: 26px; height: 26px; }
.cap-no {
  font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; opacity: .92;
  transition: opacity .45s, transform .5s var(--ease);
}
.cap-card h3 { font-size: 22px; margin-bottom: 12px; letter-spacing: -0.01em; }
.cap-card p  { font-size: 15px; color: var(--body); }

/* cumulative step progress — reinforces the 1 → 4 sequence */
.cap-prog { display: flex; gap: 6px; margin-top: auto; padding-top: 26px; }
.cap-prog i { height: 4px; flex: 1; border-radius: 4px; background: rgba(144,164,207,0.18); transition: background .45s; }
.cap-prog[data-step="1"] i:nth-child(1),
.cap-prog[data-step="2"] i:nth-child(-n+2),
.cap-prog[data-step="3"] i:nth-child(-n+3),
.cap-prog[data-step="4"] i:nth-child(-n+4) { background: var(--grad); }

/* hover: lift, light cyan border, icon fills, glow in */
.cap-card:hover {
  transform: translateY(-8px);
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.14), transparent 55%) padding-box,
    linear-gradient(168deg, rgba(50,70,128,0.95), rgba(30,48,98,0.92)) padding-box,
    var(--grad) border-box;
  box-shadow:
    0 0 60px -10px color-mix(in oklch, var(--magenta) 55%, transparent),
    0 36px 72px -30px color-mix(in oklch, var(--cyan) 65%, transparent);
}
.cap-card:hover::after { opacity: 1; }
.cap-card:hover .cap-icon { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(226,90,168,0.6); }
.cap-card:hover .cap-no { opacity: 1; transform: translateY(-2px); }

/* light theme — bright cards so the dark text stays readable */
body.light .cap-card {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.07), transparent 55%) padding-box,
    linear-gradient(168deg, #ffffff, #f4f8ff) padding-box,
    var(--grad) border-box;
  box-shadow:
    0 0 40px -16px color-mix(in oklch, var(--magenta) 30%, transparent),
    0 22px 50px -36px color-mix(in oklch, var(--cyan) 38%, transparent);
}
body.light .cap-card[data-d="1"] {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.07), transparent 55%) padding-box,
    linear-gradient(168deg, #ffffff, #f4f8ff) padding-box,
    linear-gradient(135deg, var(--magenta-lit), var(--magenta)) border-box;
}
body.light .cap-card[data-d="2"] {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.07), transparent 55%) padding-box,
    linear-gradient(168deg, #ffffff, #f4f8ff) padding-box,
    linear-gradient(135deg, var(--magenta), var(--cyan)) border-box;
}
body.light .cap-card[data-d="3"] {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.07), transparent 55%) padding-box,
    linear-gradient(168deg, #ffffff, #f4f8ff) padding-box,
    linear-gradient(135deg, var(--cyan-lit), var(--magenta)) border-box;
}
body.light .cap-card[data-d="4"] {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.07), transparent 55%) padding-box,
    linear-gradient(168deg, #ffffff, #f4f8ff) padding-box,
    linear-gradient(135deg, var(--cyan-lit), var(--cyan)) border-box;
}
body.light .cap-card::after { background: radial-gradient(95% 75% at 50% -12%, rgba(0,141,188,0.12), transparent 60%); }
body.light .cap-icon { border-color: var(--line-strong); }
body.light .cap-prog i { background: rgba(94,107,140,0.22); }
body.light .cap-card:hover {
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(188,49,129,0.10), transparent 55%),
    linear-gradient(168deg, #ffffff, #eef3ff);
  border-color: rgba(0,141,188,0.42);
  box-shadow: 0 34px 64px -34px rgba(40,60,120,0.55), 0 0 0 1px rgba(0,141,188,0.16);
}

/* directional converging reveal — left / top / bottom / right */
.cap-card.reveal { opacity: 0; transition: opacity .85s var(--ease), transform .85s var(--ease); }
.cap-card.reveal[data-dir="left"]  { transform: translateX(-70px); }
.cap-card.reveal[data-dir="right"] { transform: translateX(70px); }
.cap-card.reveal[data-dir="up"]    { transform: translateY(-58px); }
.cap-card.reveal[data-dir="down"]  { transform: translateY(58px); }
.cap-card.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .cap-card.reveal, .cap-rail-line { transform: none !important; opacity: 1 !important; }
  .cap-rail.in .cap-pulse { animation: none; }
}

/* ============================================================
   Benefits (split + product)
   ============================================================ */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 18px; }
.benefit-big { padding: 38px 34px; }
.benefit-big .stat { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 62px); letter-spacing: -0.03em; line-height: 1; margin-bottom: 16px; }
.benefit-big h3 { font-size: 22px; margin-bottom: 10px; }
.benefit-big p { font-size: 15px; max-width: 42ch; }
.product-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.product-card { padding: 0; overflow: hidden; }
.product-card .body { padding: 34px; }
.product-card h3 { font-size: 24px; margin-bottom: 12px; }
.ora-tag { display:inline-flex; align-items:center; gap:8px; font-family: var(--mono); font-size: 12px; color: var(--cyan-lit); letter-spacing: 0.1em; margin-bottom: 16px; }

/* benefits — before/after comparison with centre orb */
.bn-head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; max-width: 820px; margin: 0 auto 52px; }
.bn-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan-lit); background: var(--tint-2); border: 1px solid var(--line);
  padding: 9px 18px; border-radius: 999px;
}
.bn-badge svg { width: 16px; height: 16px; }
.bn-head h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.12; font-weight: 700; }
.bn-head h2 .grad-text { display: inline-block; padding-bottom: 0.12em; }

.cmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.cmp-col { display: flex; flex-direction: column; gap: 12px; }
.cmp-cap { font-family: var(--mono); font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }
.cmp-cap.neg { color: var(--muted); }
.cmp-cap.pos { color: var(--cyan-lit); }
.cmp-row {
  display: flex; align-items: center; gap: 14px;
  padding: clamp(13px, 1vw, 17px) clamp(15px, 1.25vw, 20px);
  border-radius: 16px; border: 1px solid var(--line);
  background: var(--card-bg); box-shadow: 0 18px 40px -34px rgba(0,0,0,0.8);
  font-size: clamp(13.5px, 1.05vw, 15.5px); line-height: 1.4;
  transition: transform .4s var(--ease), border-color .4s;
}
.cmp-row .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.cmp-row .ic svg { width: 15px; height: 15px; }
.cmp-row.neg { color: var(--muted); }
.cmp-row.neg .ic { background: rgba(226,90,168,0.14); color: var(--magenta-lit); }
.cmp-row.pos { color: var(--ink); }
.cmp-row.pos .ic { background: rgba(54,198,240,0.16); color: var(--cyan-lit); }
.cmp-row.pos:hover { transform: translateX(4px); border-color: rgba(54,198,240,0.4); }

/* centre orb — gradient-ringed circular media slot */
.cmp-orb { position: relative; width: clamp(220px, 24vw, 360px); aspect-ratio: 1; margin: 0 auto; }
.cmp-orb::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: var(--grad); z-index: 0; }
.cmp-orb::after { content: ""; position: absolute; inset: -28px; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(54,198,240,0.22), transparent 70%); }
.cmp-orb image-slot { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.cmp-orb canvas { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--navy); }

/* centre phone — call flow that switches right→left */
.cmp-phone { display: grid; place-items: center; }
.phone-bn {
  position: relative; top: auto; left: auto; margin: 0;
  width: 248px; height: 506px;
  animation: bn-float 6s var(--ease) infinite;
}
@keyframes bn-float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-0.4deg); } }
.phone-bn .phone-screen { padding: 0; }
.bn-track { display: flex; width: 100%; height: 100%; transition: transform .62s var(--ease); will-change: transform; }
.bn-screen {
  flex: none; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: stretch;
  padding: 46px 18px 18px;
}
.bn-fill { flex: 1; }
.bn-ai { background: linear-gradient(150deg, var(--cyan), var(--magenta)); }
.bn-ok {
  background: rgba(75,224,160,0.16); border: 1px solid rgba(75,224,160,0.45);
  box-shadow: 0 0 0 6px rgba(75,224,160,0.10), 0 0 36px rgba(75,224,160,0.35);
}
.bn-ok svg { color: #4be0a0; }
.bn-ok::after, .bn-ai::after { display: none; }
.call-status.pos { color: #4be0a0; }
.bn-wave { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
  .phone-bn { animation: none; }
  .bn-track { transition: none; }
}
@media (max-width: 900px) {
  .cmp { grid-template-columns: 1fr; justify-items: center; }
  .cmp-orb { order: -1; }
  .cmp-phone { order: 0; }
  .cmp-col { width: 100%; max-width: 460px; }
}

/* placeholder visual */
.ph {
  position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, var(--ph-stripe) 0 10px, transparent 10px 20px),
    var(--ph-bg);
  display: grid; place-items: center; min-height: 200px;
}
.ph span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 6px 12px; border: 1px dashed var(--line-strong); border-radius: 8px; background: rgba(7,16,36,0.6); }

/* ============================================================
   Vision / about
   ============================================================ */
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }

/* about — asymmetric bento: tall photo feature + two accent tiles */
.about-bento { display: flex; gap: 18px; align-items: stretch; }
.abento-feature { flex: 1.2; }
.abento-side { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.abento-side .abento { flex: 1; }

.abento {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), border-color .45s, box-shadow .5s;
}
.abento:hover { transform: translateY(-6px); }
.abento-n {
  display: block; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1;
  letter-spacing: -0.03em; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.abento h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: -0.01em; }
.abento p  { font-size: 14.5px; color: var(--body); }

/* feature tile: photo fills top, copy anchored bottom */
.abento-feature { padding: 0; display: flex; flex-direction: column; }
.abento-ph { display: block; flex: 1; width: 100%; min-height: 240px; border: none; border-radius: 0; }
.abento-inner { padding: 30px 30px 32px; }
.abento-feature .abento-n { font-size: 36px; }

/* side tiles: padded with a corner colour wash */
.abento-cyan, .abento-mag { padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; }
.abento-cyan::after, .abento-mag::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.abento-cyan::after { background: radial-gradient(120% 100% at 100% 0%, rgba(0,141,188,0.16), transparent 58%); }
.abento-mag::after  { background: radial-gradient(120% 100% at 0% 100%, rgba(188,49,129,0.16), transparent 58%); }
.abento-cyan > *, .abento-mag > * { position: relative; z-index: 1; }
.abento-cyan:hover { border-color: rgba(54,198,240,0.45); }
.abento-mag:hover  { border-color: rgba(226,90,168,0.45); }
@media (max-width: 760px) {
  .about-bento { flex-direction: column; }
}

/* about intro — heading text left, big logo vertically centered right */
.about-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.about-intro .sec-head { margin-bottom: 0; max-width: none; }
.about-logo { display: flex; align-items: center; justify-content: center; }
.about-logo img { width: 100%; max-width: 380px; height: auto; }
@media (max-width: 860px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-logo { justify-content: center; }
  .about-logo img { max-width: 280px; }
}
.vision-item { padding: 30px 26px; }
.vision-item .vn { font-family: var(--mono); color: var(--magenta-lit); font-size: 13px; margin-bottom: 18px; }
.vision-item h3 { font-size: 18px; margin-bottom: 10px; }
.vision-item p { font-size: 14px; }

/* ============================================================
   Features (tab demo)
   ============================================================ */
.feat-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.feat-tabs { display: flex; flex-direction: column; gap: 8px; }
.feat-tab {
  text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent;
  display: flex; gap: 14px; align-items: flex-start; transition: background .35s, border-color .35s;
}
.feat-tab:hover { background: var(--tint); }
.feat-tab.active { background: linear-gradient(120deg, rgba(188,49,129,0.12), rgba(0,141,188,0.10)); border-color: var(--line-strong); }
.feat-tab .ti { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--tint-2); border: 1px solid var(--line); color: var(--cyan-lit); transition: background .35s, color .35s; }
.feat-tab.active .ti { background: var(--grad); color: #fff; border-color: transparent; }
.feat-tab .ti svg { width: 20px; height: 20px; }
.feat-tab h4 { font-size: 16.5px; margin-bottom: 3px; color: var(--ink); }
.feat-tab p { font-size: 13.5px; color: var(--muted); }
.feat-stage { min-height: 460px; position: relative; }
.feat-panel { display: none; }
.feat-panel.active { display: block; animation: fadeUp .6s var(--ease); }
/* glowing gradient-bordered demo cards (desktop stage only; mobile accordion panels live outside .feat-stage) */
.feat-stage .feat-panel {
  border: 2px solid transparent;
  background: var(--card-bg) padding-box, var(--grad) border-box;
}
.feat-stage .feat-panel.active {
  box-shadow:
    0 0 55px -12px color-mix(in oklch, var(--magenta) 45%, transparent),
    0 28px 64px -30px color-mix(in oklch, var(--cyan) 60%, transparent);
}
@keyframes fadeUp { from{opacity:0; transform: translateY(16px);} to{opacity:1; transform:none;} }

/* mobile: tabs become an accordion — each panel expands inline under its feature */
@media (max-width: 900px) {
  /* gap:0 so collapsed (height:0) panels don't add a double flex-gap between rows;
     spacing comes from margin-top on each tab instead */
  .feat-tabs.feat-accordion { gap: 0; }
  .feat-tabs.feat-accordion .feat-tab { margin-top: 10px; }
  .feat-tabs.feat-accordion .feat-tab:first-child { margin-top: 0; }
  .feat-tabs.feat-accordion .feat-tab { padding-right: 46px; position: relative; }
  .feat-tabs.feat-accordion .feat-tab::after {
    content: ""; position: absolute; right: 20px; top: 24px;
    width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: rotate(45deg); transition: transform .35s var(--ease);
  }
  .feat-tabs.feat-accordion .feat-tab.active::after { transform: rotate(225deg); top: 27px; }
  .feat-tabs.feat-accordion .feat-panel {
    display: block; overflow: hidden; opacity: 0; margin: 0;
    transition: max-height .45s var(--ease), opacity .35s, margin .35s, padding .35s;
  }
  /* collapsed: zero vertical padding+border too — with border-box, max-height:0
     alone can't shrink below padding+border, which left ~54-62px of residual height */
  .feat-tabs.feat-accordion .feat-panel:not(.active) {
    max-height: 0; padding-top: 0; padding-bottom: 0;
    border-top-width: 0; border-bottom-width: 0;
  }
  .feat-tabs.feat-accordion .feat-panel.active {
    max-height: 1400px; opacity: 1; margin: 12px 0 8px; animation: none;
  }
  .feat-tabs.feat-accordion .feat-stage,
  .feat-layout > .feat-stage { display: none; }
}

/* chat demo */
.chat { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.chat-head { display:flex; align-items:center; justify-content:space-between; padding-bottom: 8px; }
.chat-live { display:inline-flex; align-items:center; gap:8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #4be0a0; }
.chat-live .dot { width:7px; height:7px; border-radius:50%; background:#4be0a0; box-shadow:0 0 10px #4be0a0; animation: pulse 2s infinite; }
.bubble { max-width: 80%; padding: 13px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.bubble.caller { align-self: flex-start; background: var(--tint-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--body); }
.bubble.ora { align-self: flex-end; background: var(--grad-soft); border: 1px solid rgba(0,141,188,0.3); border-bottom-right-radius: 4px; color: var(--ink); }
.bubble small { display:block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; margin-bottom: 4px; }

/* structured result */
.result-card { padding: 26px; }
.result-card h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-lit); margin-bottom: 18px; }
.result-row { display:flex; justify-content:space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.result-row:first-of-type { border-top: none; }
.result-row .k { color: var(--muted); }
.result-row .v { color: var(--ink); font-weight: 600; text-align: right; }
/* feature — upcoming ("À venir") */
.feat-soon { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.soon-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.soon-tag {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: var(--grad-soft); color: var(--cyan-lit);
  border: 1px solid var(--line-strong);
}
.soon-head h3 { font-size: 19px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.soon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.soon-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border-radius: 16px;
  background: var(--tint); border: 1px dashed var(--line-strong);
}
.soon-ic {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--tint-2); border: 1px solid var(--line); color: var(--cyan-lit);
}
.soon-ic svg { width: 20px; height: 20px; }
.soon-card h4 { font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.soon-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 720px) { .soon-grid { grid-template-columns: 1fr; } }

.badge-soft { display:inline-flex; align-items:center; gap:6px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(75,224,160,0.12); color: #4be0a0; border: 1px solid rgba(75,224,160,0.25); }

/* feature panel — calendar */
.cal { padding: 26px; }
.cal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 18px; }
.cal-head .m { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.cal-nav { display:flex; gap: 8px; }
.cal-nav button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); color: var(--body); display:grid; place-items:center; transition: border-color .25s, color .25s; }
.cal-nav button:hover { border-color: var(--line-strong); color: var(--ink); }
.cal-nav button svg { width: 15px; height: 15px; }
.cal-grid { display:grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align:center; padding-bottom: 8px; }
.cal-day { aspect-ratio: 1; display:grid; place-items:center; border-radius: 10px; font-size: 13.5px; color: var(--body); position: relative; transition: background .25s, color .25s; }
.cal-day.mut { color: var(--muted); opacity: 0.4; }
.cal-day.today { border: 1px solid var(--line-strong); color: var(--ink); }
.cal-day.sel { background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 10px 24px -10px rgba(188,49,129,0.7); }
.cal-day .has { position:absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan-lit); }
.cal-slot { margin-top: 18px; display:flex; align-items:center; justify-content:space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--line-strong); }
.cal-slot .s { display:block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-lit); margin-bottom: 4px; }
.cal-slot .t { display:block; color: var(--ink); font-weight: 600; font-size: 14.5px; }

/* feature panel — handoff flow */
.flow-demo { padding: 30px; }
.flow-demo .alert { display:flex; align-items:center; gap: 11px; padding: 12px 15px; border-radius: 12px; background: rgba(226,90,168,0.12); border: 1px solid rgba(226,90,168,0.32); margin-bottom: 24px; }
.flow-demo .alert .pp { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta-lit); box-shadow: 0 0 10px var(--magenta-lit); animation: pulse 1.8s infinite; flex: none; }
.flow-demo .alert span:last-child { color: var(--ink); font-size: 13.5px; font-weight: 600; }
.handoff { display:flex; align-items:center; gap: 6px; }
.ho-node { flex: 1; text-align:center; padding: 18px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--tint); }
.ho-node .av { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 10px; display:grid; place-items:center; }
.ho-node .av svg { width: 22px; height: 22px; }
.ho-node.ai .av { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(188,49,129,0.7); }
.ho-node.cl .av, .ho-node.hu .av { background: var(--tint-2); border: 1px solid var(--line-strong); color: var(--cyan-lit); }
.ho-node .nm { display:block; font-size: 12.5px; color: var(--ink); font-weight: 600; line-height: 1.2; }
.ho-node .rl { display:block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.ho-arrow { color: var(--muted); flex: none; }
.ho-arrow svg { width: 18px; height: 18px; }
.ctx-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 24px 0 12px; }
.ctx-chips { display:flex; flex-wrap:wrap; gap: 8px; }
.ctx-chips .cx { font-size: 12.5px; color: var(--body); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--tint); display:flex; align-items:center; gap: 6px; }
.ctx-chips .cx svg { width: 13px; height: 13px; color: var(--cyan-lit); flex: none; }

/* schedule */
#schedule .sch-perks { display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2.5vw,28px); margin-top:clamp(36px,5vw,52px); }
#schedule .sch-perk { display:flex; align-items:flex-start; gap:14px; padding:clamp(18px,2.5vw,26px); background:var(--surface-2); border:1px solid var(--line-strong); border-radius:var(--radius-lg); }
#schedule .sch-perk-ic { flex-shrink:0; width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; background:var(--grad-soft); border:1px solid var(--line-strong); color:var(--grad-a,#bc3181); }
#schedule .sch-perk-ic svg { width:19px; height:19px; }
#schedule .sch-perk-body h4 { font-size:15.5px; font-weight:600; color:var(--ink); margin:0 0 5px; line-height:1.3; }
#schedule .sch-perk-body p { font-size:13.5px; color:var(--body); margin:0; line-height:1.6; }
#schedule .sch-cal-outer { margin-top:clamp(24px,3.5vw,36px); border-radius:var(--radius-lg); background:linear-gradient(135deg,var(--grad-a,#bc3181),var(--grad-b,#008dbc)); padding:1.5px; box-shadow:0 24px 64px rgba(0,0,0,0.22), 0 0 80px rgba(188,49,129,0.14); }
#schedule .sch-cal-inner { border-radius:calc(var(--radius-lg) - 2px); overflow:hidden; background:var(--surface); padding-top:28px; }
#cal-booking-placeholder { width:100%; min-height:0; overflow:hidden; }
#cal-booking-placeholder iframe { display:block; width:100%; min-height:0; border:0; margin-top:0; }
@media (max-width:720px){
  #schedule .sch-perks { grid-template-columns:1fr; }
  #schedule .sch-cal-outer { margin-top: 24px; }
  #schedule .sch-cal-inner { padding-top: 0; }
  #cal-booking-placeholder iframe { margin-top: 0; }
}

/* ============================================================
   Industries marquee
   ============================================================ */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scrollx 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.rev .marquee-track { animation-duration: 46s; animation-direction: reverse; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.ind-card { width: 320px; flex: none; padding: 24px; }
.ind-card .ih { width: 40px; height: 40px; border-radius: 11px; display:grid; place-items:center; background: var(--grad-soft); color: var(--cyan-lit); margin-bottom: 16px; }
.ind-card .ih svg { width: 20px; height: 20px; }
.ind-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.ind-card p { font-size: 13.5px; }

/* ============================================================
   Sector adaptation (3 cards)
   ============================================================ */
.adapt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.adapt-card { padding: 30px 28px; }
.adapt-card .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--magenta-lit); margin-bottom: 8px; display:block; }
.adapt-card h3 { font-size: 20px; margin-bottom: 14px; }
.adapt-card p { font-size: 14.5px; }
.adapt-card .num { font-family: var(--display); font-weight: 800; font-size: 38px; color: rgba(144,164,207,0.18); position: absolute; top: 22px; right: 26px; }

/* adaptation — switchboard: ready core → workflow levers (flowing signal) */
#adapt .sec-head.center { max-width: 940px; }
#adapt .sec-head.center .lead { max-width: 820px; margin-left: auto; margin-right: auto; }
#vision .sec-head { max-width: 960px; }
#vision .sec-head h2 { max-width: 720px; }
#vision .sec-head .lead { max-width: 880px; }
.adx-a-stage { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; min-height: 400px; margin: 12px auto 0; max-width: 940px; }
.adx-a-grid { position: absolute; inset: -40px -20px; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; opacity: 0.5;
  -webkit-mask-image: radial-gradient(120% 90% at 30% 50%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 30% 50%, #000 35%, transparent 78%); }
.adx-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.adx-core-col { position: relative; z-index: 2; display: grid; place-items: center; }
.adx-core { position: relative; width: 138px; height: 138px; border-radius: 34px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 30px 60px -22px rgba(188,49,129,0.55); }
.adx-core::before { content: ""; position: absolute; inset: 9px; border-radius: 26px; background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.35), transparent 60%); }
.adx-core::after { content: ""; position: absolute; inset: -16px; border-radius: 44px; border: 1px solid rgba(226,90,168,0.4); animation: adx-ring 3s var(--ease) infinite; }
@keyframes adx-ring { 0% { transform: scale(0.92); opacity: 0.7; } 100% { transform: scale(1.32); opacity: 0; } }
.adx-core svg { width: 50px; height: 50px; color: #fff; position: relative; z-index: 1; }
.adx-core-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }
.adx-core-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4be0a0; box-shadow: 0 0 9px #4be0a0; }
.adx-creds { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.adx-creds span { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.01em; color: var(--body); }
.adx-creds svg { width: 13px; height: 13px; flex: none; color: #4be0a0; }
.adx-modes-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-lit); padding-left: 30px; margin-bottom: 2px; }
.adx-modes { position: relative; z-index: 2; display: flex; flex-direction: column; gap: clamp(14px, 2.2vw, 26px); }
.adx-mode { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding-left: 30px; }
.adx-mode .mk { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--accent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 16%, transparent); }
.adx-mode .mnum { font-family: var(--mono); font-size: 12px; color: var(--accent); align-self: start; padding-top: 3px; }
.adx-mode .mtxt h4 { font-family: var(--display); font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 3px; }
.adx-mode .mtxt p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.adx-mode:nth-child(2) { --accent: #e25aa8; }
.adx-mode:nth-child(3) { --accent: #c45db4; }
.adx-mode:nth-child(4) { --accent: #5a8fd6; }
.adx-mode:nth-child(5) { --accent: #36c6f0; }
@media (max-width: 860px) {
  .adx-a-stage { grid-template-columns: 1fr; gap: 38px; }
  .adx-svg, .adx-a-grid { display: none; }
  .adx-modes { gap: 14px; }
  .adx-modes-head { padding-left: 4px; margin-bottom: 6px; }

  /* mobile: each example becomes a self-contained, accent-tinted card */
  .adx-mode {
    display: block; position: relative; overflow: hidden;
    padding: 20px 24px;
    border-radius: 18px;
    background:
      linear-gradient(135deg,
        color-mix(in oklch, var(--accent) 16%, transparent),
        color-mix(in oklch, var(--accent) 4%, transparent)),
      var(--card-bg);
    border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent);
    box-shadow: 0 20px 38px -28px color-mix(in oklch, var(--accent) 65%, transparent);
  }
  .adx-mode .mk { display: none; }
  .adx-mode .mnum { display: none; }
  .adx-mode .mtxt { position: relative; z-index: 1; }
  .adx-mode .mtxt h4 { font-size: 18px; }
  .adx-mode .mtxt p { font-size: 14px; }

  /* entrance — alternate sliding in from left / right, staggered */
  .adx-mode {
    opacity: 0;
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  .adx-mode:nth-child(odd)  { transform: translateX(-48px); }
  .adx-mode:nth-child(even) { transform: translateX(48px); }
  .adx-mode:nth-child(3) { transition-delay: .07s; }
  .adx-mode:nth-child(4) { transition-delay: .14s; }
  .adx-mode:nth-child(5) { transition-delay: .21s; }
  .adx-mode.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .adx-core::after { animation: none; } }

/* ============================================================
   Pricing
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { padding: 34px 30px; display: flex; flex-direction: column; }
.price-card.pop { border-color: rgba(226,90,168,0.45); box-shadow: 0 0 0 1px rgba(226,90,168,0.2), 0 40px 80px -40px rgba(188,49,129,0.5); }
.price-card.pop::before { content:""; position:absolute; inset:0; background: radial-gradient(120% 80% at 50% 0%, rgba(188,49,129,0.14), transparent 60%); pointer-events:none; }
.price-top { display:flex; align-items:center; justify-content:space-between; margin-bottom: 8px; }
.price-card h3 { font-size: 21px; }
.tier-pop { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 4px 10px; border-radius: 999px; }
.price-amt { display:flex; align-items:baseline; gap: 6px; margin: 12px 0 6px; }
.price-amt .num { font-family: var(--display); font-weight: 800; font-size: 46px; color: var(--ink); letter-spacing: -0.03em; }
.price-amt .per { font-size: 13px; color: var(--muted); }
.price-line { font-size: 13.5px; color: var(--body); padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.price-line b { color: var(--ink); }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.feat-list li { display: flex; gap: 11px; font-size: 14px; color: var(--body); align-items: flex-start; }
.feat-list li svg { width: 17px; height: 17px; flex: none; color: var(--cyan-lit); margin-top: 2px; }
.feat-list li.off { color: var(--muted); }
.feat-list li.off svg { color: var(--muted); opacity: 0.5; }

/* ============================================================
   Workflow (3 steps) + gallery
   ============================================================ */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.flow-step { padding: 30px 28px; position: relative; }
.flow-step .sn { font-family: var(--mono); font-size: 13px; color: var(--cyan-lit); margin-bottom: 16px; display:flex; align-items:center; gap: 10px; }
.flow-step .sn b { width: 28px; height: 28px; border-radius: 8px; display:grid; place-items:center; background: var(--grad-soft); border: 1px solid var(--line); }
.flow-step h3 { font-size: 19px; margin-bottom: 10px; }
.flow-step p { font-size: 14.5px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery .ph { min-height: 150px; }

/* vision — hub & spoke ecosystem */
.eco { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: center; margin-top: 44px; }
.eco-stage { perspective: 1100px; }
.eco-diagram { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; margin: 0; transform-style: preserve-3d; transition: transform .1s linear; }
.eco-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-link { stroke: var(--line-strong); stroke-width: 0.5; }
.eco-link.on { stroke: var(--cyan-lit); stroke-width: 0.8; }
.eco-flow { stroke: var(--cyan-lit); stroke-width: 0.8; stroke-dasharray: 2 6; stroke-linecap: round; opacity: 0.5; animation: ecoflow 1.6s linear infinite; }
.eco-flow.on { opacity: 1; stroke-width: 1.1; }
@keyframes ecoflow { to { stroke-dashoffset: -16; } }
@media (prefers-reduced-motion: reduce) { .eco-flow { animation: none; } }

.eco-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px;
  box-shadow: 0 0 0 6px var(--grad-soft), 0 18px 44px -14px rgba(188,49,129,0.7), inset 0 1px 0 rgba(255,255,255,0.3);
  z-index: 3;
}
.eco-hub::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--line-strong); animation: ring 3s var(--ease) infinite; }

.eco-node {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 9px; padding: 8px 15px 8px 8px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--chip-bg);
  color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer;
  backdrop-filter: blur(8px); z-index: 2;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.eco-node .ei { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); color: var(--cyan-lit); transition: background .3s, color .3s; }
.eco-node .ei svg { width: 16px; height: 16px; }
.eco-node:hover, .eco-node.active { border-color: var(--cyan-lit); box-shadow: 0 16px 34px -16px rgba(0,141,188,0.65); transform: translate(-50%, -50%) scale(1.07); }
.eco-node.active .ei { background: var(--grad); color: #fff; }

.eco-panel {
  position: relative;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  background: var(--card-bg) padding-box, var(--grad) border-box;
  padding: 40px 36px; min-height: 264px;
  display: flex; flex-direction: column; justify-content: center;
}
/* soft gradient glow behind the card */
.eco-panel::before {
  content: ""; position: absolute; inset: 2px; z-index: -1;
  border-radius: inherit; background: var(--grad);
  filter: blur(36px); opacity: 0.42;
}
.eco-panel-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-lit); }
.eco-panel-title { font-size: 28px; margin: 14px 0 14px; }
.eco-panel-desc { font-size: 16px; line-height: 1.65; color: var(--body); }
body.light .eco-panel::before { opacity: 0.3; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { text-align: center; }
.cta-inner { background: var(--grad-soft); border: 1px solid var(--line-strong); border-radius: 32px; padding: clamp(46px, 6vw, 80px) 30px; position: relative; overflow: hidden; }
.cta-inner::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 300px at 50% -20%, rgba(226,90,168,0.25), transparent 60%); pointer-events:none; }
.cta-inner h2 { font-size: clamp(30px, 4.5vw, 54px); margin-bottom: 18px; }
.cta-inner p { font-size: 18px; max-width: 50ch; margin: 0 auto 32px; }
.cta-buttons { display:flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.section-cta { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:28px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 50px; }
.footer-brand p { font-size: 14px; max-width: 34ch; margin: 18px 0 0; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--body); padding: 5px 0; transition: color .25s; }
.footer-col a:hover { color: var(--ink); }
.footer-bot { display:flex; align-items:center; justify-content:space-between; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-social { display:flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; display:grid; place-items:center; border: 1px solid var(--line); transition: border-color .25s, color .25s; }
.footer-social a:hover { border-color: var(--cyan-lit); color: var(--cyan-lit); }
.footer-social svg { width: 16px; height: 16px; }

/* ============================================================
   Tweaks panel
   ============================================================ */
#tweaks {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  width: 230px; background: rgba(10,19,43,0.92); border: 1px solid var(--line-strong);
  border-radius: 18px; padding: 16px; backdrop-filter: blur(18px); font-size: 13px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.9); display: none;
}
#tweaks.show { display: block; }
#tweaks h6 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
#tweaks .grp { margin-bottom: 14px; }
#tweaks label { display:block; color: var(--body); margin-bottom: 7px; font-size: 12px; }
.swatches { display:flex; gap: 8px; }
.swatch { width: 26px; height: 26px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.swatch.sel { border-color: #fff; }
.tw-seg { display:flex; gap: 6px; }
.tw-seg button { flex:1; padding: 7px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); font-size: 11px; font-family: var(--mono); }
.tw-seg button.sel { color:#fff; background: var(--grad-soft); border-color: var(--line-strong); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  /* text first, animation below it on mobile */
  .hero-stage { height: 440px; order: 0; }
  /* phone (552px) is taller than the stage — scale it down and lift it off the switch */
  .phone { transform: translateY(-28px) scale(0.66) !important; }
  .cap-grid, .vision-grid, .adapt-grid, .price-grid, .flow-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid, .product-grid, .feat-layout { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  /* footer: 2-column link grid, brand spans full width & centered (logo included) */
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: center; justify-items: center; gap: 30px 24px; }
  .footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
  .footer-brand .brand-img { margin: 0; }
  .footer-brand p { max-width: 42ch; margin-inline: auto; }
  .footer-bot { flex-direction: column; gap: 16px; justify-content: center; text-align: center; }
  .nav-links { display: none; }
  .eco { grid-template-columns: 1fr; gap: 30px; }
  .eco-diagram { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .cap-grid, .vision-grid, .adapt-grid, .price-grid, .flow-grid { grid-template-columns: 1fr; }
  /* mobile hero order: headline → animation → text → buttons → badge,
     so the headline + animation are both visible without scrolling */
  .hero {
    padding-top: 92px;
    padding-bottom: max(48px, env(safe-area-inset-bottom));
    align-items: flex-start;
    min-height: 100dvh;
  }
  .hero-grid { display: flex; flex-direction: column; text-align: center; gap: 18px; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; font-size: 38px; margin: 0; }
  .hero-stage { order: 2; height: 270px; margin-top: 22px; }
  .hero-sub { order: 3; font-size: 15.5px; margin: 28px auto 0; }
  /* both CTA buttons side by side */
  .hero-cta { order: 4; flex-wrap: nowrap; justify-content: center; gap: 8px; margin: 20px 0 0; }
  .hero-cta .btn-lg { flex: 1 1 0; min-width: 0; padding: 12px; font-size: 13px; justify-content: center; text-align: center; line-height: 1.2; }
  .hero-cta .btn-primary svg { display: none; }
  .hero-badge { order: 5; margin: 28px auto 0; width: max-content; }
  /* hide trust pills on mobile */
  .hero-pills { display: none; }
  .eco-diagram { max-width: 320px; }
  .eco-node { font-size: 11.5px; padding: 6px 11px 6px 6px; gap: 6px; }
  .eco-node .ei { width: 24px; height: 24px; }
  .eco-node .ei svg { width: 13px; height: 13px; }
  .eco-hub { width: 74px; height: 74px; font-size: 13px; }
  /* hide floating chips on mobile (they overflow the viewport) */
  .float-chip { display: none; }
  /* push the scene switcher to the bottom, below the image */
  .hero-stage { display: flex; flex-direction: column; justify-content: flex-end; }
  /* nudge the chip down a little for breathing room from the animation */
  .hero-switch { position: static; transform: translateY(22px); margin: 0 auto; width: max-content; align-self: center; }
  /* phone is a fixed 270x552px block — scale it down so the device scene
     fits the shorter mobile stage instead of overflowing into the headline
     and the sub-text below. !important beats the inline tilt transform set by JS. */
  .phone { transform: translateY(-4px) scale(0.38) !important; }
  section { padding: 70px 0; }
}

/* ============================================================
   Theme toggle (nav) + LIGHT THEME
   ============================================================ */
.theme-toggle { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.theme-toggle button { width: 34px; height: 30px; display: grid; place-items: center; color: var(--muted); transition: color .25s, background .25s; }
.theme-toggle button svg { width: 15px; height: 15px; }
.theme-toggle button.active { color: var(--ink); background: var(--tint-2); }
body { transition: background .5s var(--ease), color .5s var(--ease); }

body.light {
  --navy:        #fbfcff;
  --navy-2:      #fff2f8;
  --surface:     #ffffff;
  --surface-2:   #f7f9ff;
  --line:        rgba(130, 145, 186, 0.22);
  --line-strong: rgba(130, 145, 186, 0.36);

  --ink:         #1b2240;
  --body:        #46527a;
  --muted:       #5e6b8c;

  --magenta:     #bc3181;
  --magenta-lit: #d24a98;
  --cyan:        #008dbc;
  --cyan-lit:    #0a8cb8;

  --grad: linear-gradient(100deg, #d24a98 0%, #bc3181 40%, #008dbc 100%);
  --grad-soft: linear-gradient(135deg, rgba(188,49,129,0.09), rgba(0,141,188,0.09));

  --nav-bg:    rgba(251,252,255,0.82);
  --card-bg:   linear-gradient(165deg, #ffffff, #f7f9ff);
  --tint:      rgba(188,49,129,0.04);
  --tint-2:    rgba(188,49,129,0.07);
  --chip-bg:   rgba(255,255,255,0.95);
  --ph-bg:     linear-gradient(160deg, #eef1f9, #e6ecf7);
  --ph-stripe: rgba(27,34,64,0.05);
  --card-shadow: 0 26px 52px -30px rgba(27,40,90,0.24);
  --glow-a: 0.09; --glow-b: 0.09; --grid-op: 0.05;

  --band-bg:        linear-gradient(180deg, #fff6fb, #fbf3f8);
  --band-bg-strong: linear-gradient(180deg, #fff0f7, #f5edfb);
  --band-glow:      0.05;
}
/* light: bits that hardcode white text on now-faint fills */
body.light .lang-toggle button.active { color: var(--ink); }
body.light .hero-switch { background: rgba(255,255,255,0.78); }
body.light .hero-switch button.active { color: var(--ink); }
body.light .card:hover { box-shadow: var(--card-shadow); }
/* light: keep the Tweaks overlay dark, force its text light */
body.light #tweaks { background: rgba(10,19,43,0.94); }
body.light #tweaks h6 { color: #8093b8; }
body.light #tweaks label { color: #c3cfe8; }
body.light #tw-fab { background: rgba(10,19,43,0.94); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-bg); overflow: hidden; transition: border-color .35s, box-shadow .35s; }
.faq-item.open { border-color: var(--line-strong); box-shadow: 0 24px 50px -34px rgba(0,0,0,0.6); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; text-align: left; font-family: var(--display); font-weight: 600; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink); letter-spacing: -0.01em; }
.faq-q .ico { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--cyan-lit); transition: transform .4s var(--ease), background .35s, color .35s, border-color .35s; }
.faq-q .ico svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .ico { background: var(--grad); color: #fff; border-color: transparent; transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--body); font-size: 15px; line-height: 1.65; max-width: 68ch; }
