/* ═══════════════════════════════════════════════════════════════
   THEOMEDURI.COM — Premium Landing Page
   Design System · Liquid Glass · Motion-first
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;1,9..144,300;1,9..144,700&family=Syne:wght@400;500;700;800&display=swap');

/* ── TOKENS ── */
:root {
  --bg0: #020408;
  --bg1: #04060E;
  --bg2: #060A14;
  --bg3: #08101C;
  --bg4: #0A1424;
  --bg5: #0E1A2E;

  --b-100: #0040CC;
  --b-200: #1060FF;
  --b-300: #2E80FF;
  --b-400: #5698FF;
  --b-500: #7EBEFF;
  --b-600: #A8D4FF;
  --b-700: #D4EAFF;

  --t1: #EEF4FF;
  --t2: #7890B8;
  --t3: #3A4E6E;
  --t4: #1E2E48;

  --br0: rgba(255,255,255,0.03);
  --br1: rgba(255,255,255,0.06);
  --br2: rgba(255,255,255,0.10);
  --br3: rgba(255,255,255,0.16);
  --br-blue: rgba(80,152,255,0.15);
  --br-blue-h: rgba(80,152,255,0.28);

  --lq-body:        rgba(8,20,50,0.38);
  --lq-body-hover:  rgba(12,28,68,0.48);
  --lq-blur-core:   blur(44px) saturate(220%) brightness(1.12);
  --lq-blur-edge:   blur(24px) saturate(180%) brightness(1.06);
  --lq-blur-light:  blur(16px) saturate(160%) brightness(1.04);
  --lq-blur-heavy:  blur(64px) saturate(240%) brightness(1.18);

  --lq-shadow:
    0 16px 48px rgba(0,0,0,0.55),
    0 6px 16px rgba(0,0,0,0.35),
    0 2px 4px rgba(0,0,0,0.45),
    0 1px 0 rgba(60,120,255,0.06) inset,
    0 1px 0 rgba(220,240,255,0.30) inset;

  --lq-shadow-hover:
    0 24px 64px rgba(0,0,0,0.62),
    0 8px 24px rgba(0,0,0,0.40),
    0 2px 4px rgba(0,0,0,0.50),
    0 0 40px rgba(30,100,255,0.10),
    0 1px 0 rgba(220,240,255,0.38) inset;

  --deep-shadow:
    inset 0 -80px 60px -30px rgba(21,68,205,1.00),
    inset 0 -40px 30px -8px rgba(102,148,255,0.50),
    inset 0 -20px 20px 0px rgba(255,255,255,0.40),
    inset 0 6px 6px -2px rgba(35,101,255,0.15),
    0 20px 60px rgba(0,0,0,0.60),
    0 4px 16px rgba(0,0,0,0.40);

  --glow-sm:  0 0 16px rgba(30,90,255,0.28);
  --glow-md:  0 0 40px rgba(30,90,255,0.38);
  --glow-lg:  0 0 80px rgba(30,90,255,0.44);
  --glow-btn:
    0 4px 28px rgba(20,80,255,0.55),
    0 0 56px rgba(60,120,255,0.22),
    0 1px 0 rgba(255,255,255,0.22) inset;

  --r-xs:4px; --r-sm:8px; --r-md:12px; --r-lg:16px; --r-xl:20px;
  --r-2xl:24px; --r-3xl:32px; --r-4xl:40px; --r-full:9999px;

  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:20px;
  --s6:24px; --s8:32px; --s10:40px; --s12:48px; --s16:64px;
  --s20:80px; --s24:96px; --s32:128px;

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Syne', sans-serif;
  --mono:  'Courier New', monospace;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-s: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-b: cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-w: 1160px;
  --nav-h: 68px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--bg0);
  color: var(--t1);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 2px; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--sans); }
img, svg { display: block; }

/* Global grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 9999; pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── LAYOUT ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s8); position: relative; z-index: 1; }
@media(max-width:768px) { .wrap { padding: 0 var(--s5); } }

/* Nav needs overflow visible so the lang dropdown panel isn't clipped.
   Must use high specificity + !important to beat .liquid-glass-heavy { overflow: hidden } */
.tm-nav.liquid-glass-heavy { overflow: visible !important; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); }
.row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
@media(max-width:900px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .g2, .g3 { grid-template-columns: 1fr; } }

/* ── LIQUID GLASS SYSTEM ── */
.liquid-glass {
  backdrop-filter: var(--lq-blur-core);
  -webkit-backdrop-filter: var(--lq-blur-core);
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.038'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 55% 55% at 22% 18%, rgba(255,255,255,0.058) 0%, rgba(200,225,255,0.020) 40%, transparent 75%),
    radial-gradient(ellipse 90% 45% at 50% 0%, rgba(140,195,255,0.095) 0%, rgba(80,150,255,0.030) 55%, transparent 100%),
    var(--lq-body);
  box-shadow: var(--lq-shadow);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform, box-shadow;
  transition: background 0.35s var(--ease-s), border-color 0.25s var(--ease-s), box-shadow 0.40s var(--ease-s), transform 0.30s var(--ease);
}
.liquid-glass::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,225,255,0.00) 10%, rgba(220,240,255,0.28) 30%, rgba(240,250,255,0.42) 50%, rgba(220,240,255,0.28) 70%, rgba(200,225,255,0.00) 90%, transparent 100%);
  pointer-events: none; z-index: 4;
}
.liquid-glass::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 28% at 50% 100%, rgba(70,140,255,0.14) 0%, rgba(40,100,220,0.06) 55%, transparent 80%),
    linear-gradient(90deg, rgba(100,170,255,0.055) 0%, transparent 25%),
    linear-gradient(270deg, rgba(100,170,255,0.040) 0%, transparent 25%);
  pointer-events: none; z-index: 1; border-radius: inherit;
}
.liquid-glass:hover {
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.048'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 55% 55% at 22% 18%, rgba(255,255,255,0.075) 0%, rgba(200,225,255,0.028) 40%, transparent 75%),
    radial-gradient(ellipse 90% 45% at 50% 0%, rgba(160,210,255,0.120) 0%, rgba(100,170,255,0.042) 55%, transparent 100%),
    var(--lq-body-hover);
  box-shadow: var(--lq-shadow-hover);
  border-color: rgba(180,215,255,0.20);
  transform: translateY(-2px) translateZ(0);
}

.liquid-glass-heavy {
  backdrop-filter: var(--lq-blur-heavy);
  -webkit-backdrop-filter: var(--lq-blur-heavy);
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.032'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(255,255,255,0.050) 0%, transparent 65%),
    rgba(4, 8, 22, 0.82);
  border: 0.5px solid rgba(255,255,255,0.09);
  position: relative; overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,0.70), 0 8px 24px rgba(0,0,0,0.45), 0 1px 0 rgba(220,240,255,0.18) inset;
}
.liquid-glass-heavy::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,230,255,0.28) 30%, rgba(230,245,255,0.42) 50%, rgba(200,230,255,0.28) 70%, transparent 100%);
  z-index: 4;
}

/* Liquid Card */
.liquid-card {
  backdrop-filter: var(--lq-blur-core);
  -webkit-backdrop-filter: var(--lq-blur-core);
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.040'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 60% 55% at 22% 16%, rgba(255,255,255,0.060) 0%, rgba(180,220,255,0.022) 45%, transparent 75%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(120,185,255,0.100) 0%, rgba(60,130,255,0.032) 55%, transparent 100%),
    rgba(8, 20, 50, 0.40);
  box-shadow:
    0 16px 52px rgba(0,0,0,0.58), 0 6px 18px rgba(0,0,0,0.38), 0 2px 6px rgba(0,0,0,0.45),
    0 0 0 0.5px rgba(255,255,255,0.10),
    0 1px 0 rgba(220,240,255,0.32) inset, 0 -1px 0 rgba(30,80,200,0.10) inset;
  border: none;
  border-radius: var(--r-2xl);
  padding: var(--s6);
  position: relative; overflow: hidden;
  transform: translateZ(0);
  will-change: transform, box-shadow;
  transition: background 0.40s var(--ease-s), box-shadow 0.45s var(--ease-s), transform 0.30s var(--ease);
}
.liquid-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(180,215,255,0.00) 8%, rgba(220,240,255,0.32) 28%, rgba(245,252,255,0.48) 50%, rgba(220,240,255,0.32) 72%, rgba(180,215,255,0.00) 92%, transparent 100%);
  z-index: 4; pointer-events: none;
}
.liquid-card::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(60,130,255,0.16) 0%, rgba(30,90,220,0.07) 55%, transparent 80%),
    linear-gradient(90deg, rgba(90,160,255,0.06) 0%, transparent 22%),
    linear-gradient(270deg, rgba(90,160,255,0.05) 0%, transparent 22%);
  pointer-events: none; z-index: 1; border-radius: inherit;
}
.liquid-card:hover {
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.052'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 60% 55% at 22% 16%, rgba(255,255,255,0.080) 0%, rgba(180,220,255,0.030) 45%, transparent 75%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(150,210,255,0.125) 0%, rgba(80,160,255,0.040) 55%, transparent 100%),
    rgba(12, 28, 65, 0.50);
  box-shadow:
    0 24px 68px rgba(0,0,0,0.65), 0 8px 24px rgba(0,0,0,0.42), 0 2px 6px rgba(0,0,0,0.50),
    0 0 50px rgba(30,100,255,0.12),
    0 0 0 0.5px rgba(180,215,255,0.18),
    0 1px 0 rgba(230,245,255,0.40) inset, 0 -1px 0 rgba(30,80,200,0.14) inset;
  transform: translateY(-4px) translateZ(0);
}
.liquid-card:hover::before {
  background: linear-gradient(90deg, transparent 0%, rgba(180,215,255,0.00) 5%, rgba(230,248,255,0.45) 28%, rgba(255,255,255,0.60) 50%, rgba(230,248,255,0.45) 72%, rgba(180,215,255,0.00) 95%, transparent 100%);
}

/* Deep card */
.deep {
  background: linear-gradient(180deg, #0A1424 0%, #04060E 100%);
  border: .5px solid rgba(30,80,200,.18);
  border-radius: var(--r-xl);
  box-shadow: var(--deep-shadow);
  padding: var(--s6); position: relative; overflow: hidden;
  transition: border-color .35s, box-shadow .35s, transform .35s; cursor: pointer;
}
.deep::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(102,148,255,.25) 40%, rgba(200,220,255,.35) 55%, rgba(102,148,255,.25) 70%, transparent 95%);
}
.deep:hover {
  border-color: rgba(80,152,255,.32);
  transform: translateY(-3px);
  box-shadow:
    inset 0 -80px 60px -30px rgba(21,68,205,1.00),
    inset 0 -40px 30px -8px rgba(102,148,255,.65),
    inset 0 -20px 20px 0px rgba(255,255,255,.50),
    inset 0 6px 6px -2px rgba(35,101,255,.18),
    0 0 48px rgba(30,90,255,.20),
    0 28px 72px rgba(0,0,0,.65),
    0 4px 16px rgba(0,0,0,.40);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer; border: none;
  border-radius: var(--r-sm);
  padding: var(--s3) var(--s6);
  position: relative; overflow: hidden;
  transform: translateZ(0); will-change: transform, box-shadow;
  transition: background 0.25s var(--ease-s), box-shadow 0.30s var(--ease-s), transform 0.18s var(--ease), border-color 0.25s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, #1A78FF 0%, #0E60EE 40%, #083ACC 80%, #062CB0 100%);
  box-shadow: var(--glow-btn);
  border: 0.5px solid rgba(100,170,255,0.30);
}
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.55) 35%, rgba(255,255,255,0.72) 50%, rgba(255,255,255,0.55) 65%, transparent 90%);
  z-index: 2;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,0.16) 45%, rgba(255,255,255,0.10) 50%, transparent 75%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
  z-index: 3;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover {
  background: linear-gradient(145deg, #3A92FF 0%, #1A72FF 40%, #0E50DD 80%, #0840CC 100%);
  box-shadow: 0 6px 36px rgba(20,80,255,0.68), 0 0 80px rgba(60,130,255,0.30), 0 0 0 1px rgba(120,190,255,0.22), 0 1px 0 rgba(255,255,255,0.30) inset;
  transform: translateY(-1px) translateZ(0);
}
.btn-primary:active { transform: translateY(0) scale(0.98) translateZ(0); }

.btn-glass {
  color: var(--t1);
  backdrop-filter: var(--lq-blur-edge);
  -webkit-backdrop-filter: var(--lq-blur-edge);
  background:
    radial-gradient(ellipse 70% 60% at 30% 20%, rgba(255,255,255,0.055) 0%, transparent 70%),
    rgba(10, 24, 58, 0.35);
  border: 0.5px solid rgba(200,230,255,0.14);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.25), 0 1px 0 rgba(220,240,255,0.25) inset;
}
.btn-glass::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(200,230,255,0.38) 30%, rgba(230,248,255,0.55) 50%, rgba(200,230,255,0.38) 70%, transparent 95%);
  z-index: 2;
}
.btn-glass::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.09) 48%, rgba(255,255,255,0.06) 52%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn-glass:hover::after { transform: translateX(100%); }
.btn-glass:hover {
  background:
    radial-gradient(ellipse 70% 60% at 30% 20%, rgba(255,255,255,0.075) 0%, transparent 70%),
    rgba(14, 32, 75, 0.45);
  border-color: rgba(180,220,255,0.22);
  box-shadow: 0 8px 28px rgba(0,0,0,0.42), 0 2px 8px rgba(0,0,0,0.30), 0 0 24px rgba(30,100,255,0.10), 0 1px 0 rgba(230,248,255,0.35) inset;
  transform: translateY(-1px) translateZ(0);
}
.btn-glass:active { transform: translateY(0) scale(0.98) translateZ(0); }
.btn-sm  { font-size: 11px; padding: var(--s2) var(--s4); border-radius: var(--r-xs); }
.btn-lg  { font-size: 15px; padding: var(--s4) var(--s10); border-radius: var(--r-md); }
.btn-xl  { font-size: 16px; padding: var(--s5) var(--s12); border-radius: var(--r-md); }
.btn-icon { width: 38px; height: 38px; padding: 0; border-radius: var(--r-sm); }
.btn-icon svg { width: 16px; height: 16px; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.btn:focus-visible { outline: 2px solid rgba(80,150,255,0.60); outline-offset: 2px; }

/* ── INPUTS ── */
.input-wrap { position: relative; border-radius: var(--r-sm); }
.input-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(200,230,255,0.28) 30%, rgba(225,245,255,0.42) 50%, rgba(200,230,255,0.28) 70%, transparent 92%);
  z-index: 2; border-radius: var(--r-sm) var(--r-sm) 0 0; pointer-events: none;
}
.tm-input {
  width: 100%;
  font-family: var(--sans); font-size: 14px; color: var(--t1);
  outline: none;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-sm);
  border: 0.5px solid rgba(180,215,255,0.10);
  backdrop-filter: var(--lq-blur-edge);
  -webkit-backdrop-filter: var(--lq-blur-edge);
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(255,255,255,0.040) 0%, transparent 70%),
    rgba(6, 14, 38, 0.42);
  box-shadow: 0 1px 0 rgba(220,240,255,0.18) inset, 0 -1px 0 rgba(0,0,0,0.22) inset, 0 3px 12px rgba(0,0,0,0.28);
  transition: border-color 0.20s, box-shadow 0.25s, background 0.20s;
}
.tm-input::placeholder { color: rgba(140,178,235,0.48); letter-spacing: .01em; }
.tm-input:focus {
  border-color: rgba(80,150,255,0.45);
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(255,255,255,0.052) 0%, transparent 70%),
    rgba(8, 20, 55, 0.52);
  box-shadow: 0 0 0 3px rgba(30,100,255,0.12), 0 0 0 1px rgba(80,150,255,0.08), 0 1px 0 rgba(180,220,255,0.22) inset, 0 -1px 0 rgba(0,0,0,0.22) inset, 0 4px 16px rgba(0,0,0,0.35);
}
.tm-input:focus { outline: none; }
.tm-textarea {
  resize: vertical; min-height: 96px; line-height: 1.65;
}

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.b-blue { background: rgba(20,80,255,.09); color: var(--b-400); border: .5px solid rgba(80,152,255,.20); }
.b-glass { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(255,255,255,.055); color: var(--t1); border: .5px solid var(--br2); }
.b-green { background: rgba(52,211,153,.09); color: #4ADE80; border: .5px solid rgba(74,222,128,.22); }

/* ── NAV ── */
.tm-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  border-radius: 0;
  display: flex; align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
  opacity: 0;
  transform: translateY(-8px);
}
.tm-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s8);
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 2;
}
.tm-logo {
  font-family: var(--serif);
  font-size: 18px; font-weight: 700;
  color: var(--t1);
  letter-spacing: -.01em;
}
.tm-logo span { color: var(--b-400); }
.nav-links {
  display: flex; gap: var(--s6);
  font-size: 13px; font-weight: 700;
}
.nav-link {
  color: var(--t2);
  cursor: pointer;
  transition: color .15s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--b-400);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.2s var(--ease);
}
.nav-link:hover { color: var(--t1); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--t1); }
.nav-actions { display: flex; gap: var(--s3); align-items: center; }
@media(max-width:900px) { .nav-links { display: none; } }

/* ── HERO ── */
.s-hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  z-index: 0;
}
/* Horizon glow layers */
.hero-bg-layer { position: absolute; pointer-events: none; }
.hbl-1 {
  inset: 0;
  background: linear-gradient(180deg, var(--bg0) 0%, var(--bg1) 100%);
}
.hbl-2 {
  left: -10%; right: -10%;
  top: 30%; height: 50%;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(20,70,200,0.28) 0%, rgba(10,40,150,0.18) 40%, transparent 75%);
  filter: blur(40px);
}
.hbl-3 {
  left: -5%; right: -5%;
  top: 38%; height: 30%;
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(60,130,255,0.22) 0%, rgba(30,90,200,0.14) 50%, transparent 80%);
  filter: blur(20px);
}
.hbl-4 {
  left: 10%; right: 10%;
  top: 44%; height: 16%;
  background: radial-gradient(ellipse 40% 60% at 50% 50%, rgba(140,200,255,0.28) 0%, rgba(80,160,255,0.18) 40%, transparent 75%);
  filter: blur(8px);
}
/* Corner vignettes */
.hbl-vl {
  left: 0; top: 0; width: 45%; height: 100%;
  background: radial-gradient(ellipse 100% 80% at 0% 30%, rgba(2,4,8,0.95) 0%, transparent 70%);
}
.hbl-vr {
  right: 0; top: 0; width: 45%; height: 100%;
  background: radial-gradient(ellipse 100% 80% at 100% 30%, rgba(2,4,8,0.95) 0%, transparent 70%);
}
.hbl-vb {
  bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(0deg, var(--bg0) 0%, transparent 100%);
}
/* Horizon line */
.hero-hline {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(60,120,255,0.08) 8%, rgba(140,195,255,0.52) 32%, rgba(200,232,255,0.90) 50%, rgba(140,195,255,0.52) 68%, rgba(60,120,255,0.08) 92%, transparent 100%);
  pointer-events: none;
}
.hero-hline::after {
  content: '';
  position: absolute; left: 0; right: 0; top: -16px; height: 34px;
  background: linear-gradient(90deg, transparent 5%, rgba(25,80,255,0.05) 18%, rgba(100,165,255,0.14) 38%, rgba(170,215,255,0.20) 50%, rgba(100,165,255,0.14) 62%, rgba(25,80,255,0.05) 82%, transparent 95%);
  filter: blur(6px);
}

/* Side lights */
.hero-sl {
  position: absolute; pointer-events: none;
}
.hero-sl-left {
  left: 0; top: 20%; bottom: 20%;
  width: 280px;
  background: radial-gradient(ellipse 100% 60% at 0% 50%, rgba(40,100,255,0.14) 0%, transparent 70%);
  filter: blur(30px);
}
.hero-sl-right {
  right: 0; top: 20%; bottom: 20%;
  width: 280px;
  background: radial-gradient(ellipse 100% 60% at 100% 50%, rgba(40,100,255,0.10) 0%, transparent 70%);
  filter: blur(30px);
}

/* Stars/particles */
.hero-stars {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  background: rgba(180,220,255,0.60);
  border-radius: 50%;
  animation: star-twinkle var(--dur) ease-in-out infinite;
}
@keyframes star-twinkle { 0%,100%{opacity:0.3;transform:scale(1)} 50%{opacity:1;transform:scale(1.4)} }

/* Hero content */
.hero-content {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: var(--s16) var(--s8) var(--s12);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--s3);
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--t2);
  margin-bottom: var(--s6);
  opacity: 0; transform: translateY(12px);
}
.hero-eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--b-300);
  box-shadow: 0 0 8px rgba(46,128,255,0.60);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.6)} }
.hero-eyebrow-line {
  width: 40px; height: 0.5px;
  background: linear-gradient(90deg, transparent, var(--br-blue));
}
.hero-eyebrow-line.r {
  background: linear-gradient(90deg, var(--br-blue), transparent);
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.00;
  letter-spacing: -.03em;
  color: var(--t1);
  max-width: 820px;
  margin: 0 auto var(--s5);
  opacity: 0;
}
.hero-h1 em { font-style: italic; font-weight: 300; color: var(--b-500); }
.hero-h1 .word { display: inline-block; overflow: hidden; }
.hero-h1 .char { display: inline-block; }
.hero-sub {
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--t2);
  max-width: 480px;
  margin: 0 auto var(--s8);
  line-height: 1.75;
  opacity: 0; transform: translateY(16px);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center;
  margin-bottom: var(--s8);
  opacity: 0; transform: translateY(16px);
}
.hero-social-proof {
  display: flex; align-items: center; gap: var(--s4);
  opacity: 0; transform: translateY(10px);
}
.hsp-divider { width: 1px; height: 20px; background: var(--br1); }
.hsp-item { font-size: 12px; color: var(--t3); }
.hsp-item strong { display: block; font-size: 16px; font-weight: 700; color: var(--t1); font-family: var(--serif); }

/* Floating glass panels in hero */
.hero-float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}
.hf-1 { top: 18%; left: 5%; }
.hf-2 { top: 22%; right: 5%; }
.hf-3 { bottom: 20%; left: 7%; }
.hf-4 { bottom: 24%; right: 6%; }
@media(max-width:900px) { .hero-float { display: none; } }
.hero-float-card {
  backdrop-filter: var(--lq-blur-core);
  -webkit-backdrop-filter: var(--lq-blur-core);
  background:
    radial-gradient(ellipse 70% 55% at 25% 15%, rgba(255,255,255,0.060) 0%, transparent 75%),
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(120,190,255,0.080) 0%, transparent 100%),
    rgba(6, 16, 44, 0.48);
  border: 0.5px solid rgba(180,215,255,0.14);
  border-radius: var(--r-xl);
  padding: var(--s4) var(--s5);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.50), 0 4px 12px rgba(0,0,0,0.30),
    0 0 0 0.5px rgba(255,255,255,0.08),
    0 1px 0 rgba(220,240,255,0.28) inset;
  min-width: 180px;
  position: relative; overflow: hidden;
}
.hero-float-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(200,230,255,0.35) 50%, transparent 90%);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: var(--s8); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--s2);
  opacity: 0;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, transparent, var(--br-blue) 40%, transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }
.hero-scroll span { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t4); }

/* ── SECTION COMMON ── */
.section {
  padding: var(--s24) 0;
  position: relative;
}
.section + .section { border-top: 0.5px solid var(--br0); }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--b-400);
  margin-bottom: var(--s5);
}
.sec-eyebrow::before {
  content: '';
  display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--b-300);
  box-box-shadow: 0 0 8px rgba(46,128,255,0.50);
  animation: pulse-dot 2s ease-in-out infinite;
}
.sec-h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--t1);
  margin-bottom: var(--s5);
}
.sec-h2 em { font-style: italic; font-weight: 300; color: var(--b-500); }
.sec-p {
  font-size: 15px; color: var(--t2); line-height: 1.75;
  max-width: 500px;
}

/* ── TRUST SECTION ── */
.s-trust { background: var(--bg0); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  margin-top: var(--s12);
}
@media(max-width:900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  padding: var(--s6);
  border-radius: var(--r-xl);
  background: var(--bg2);
  border: 0.5px solid var(--br1);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  cursor: default;
  position: relative; overflow: hidden;
}
.trust-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(180,215,255,0.12) 50%, transparent 90%);
}
.trust-card:hover {
  border-color: var(--br-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.40), 0 0 24px rgba(30,90,255,0.06);
}
.trust-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: rgba(30,90,255,0.08);
  border: 0.5px solid rgba(80,152,255,0.16);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s4);
}
.trust-icon svg { width: 18px; height: 18px; stroke: var(--b-400); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trust-title { font-size: 15px; font-weight: 700; color: var(--t1); margin-bottom: var(--s2); }
.trust-desc { font-size: 12px; color: var(--t2); line-height: 1.65; }

/* Stats row */
.stats-row {
  display: flex; gap: var(--s10); align-items: center;
  justify-content: center;
  padding: var(--s10) 0 var(--s6);
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(36px,5vw,56px);
  font-weight: 700;
  line-height: 1;
  color: var(--t1);
  letter-spacing: -.03em;
}
.stat-num span { color: var(--b-400); }
.stat-label { font-size: 11px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; color: var(--t3); margin-top: var(--s2); }
.stats-divider { width: 1px; height: 48px; background: var(--br1); }

/* ── SERVICES SECTION ── */
.s-services {
  background: radial-gradient(ellipse 100% 50% at 50% 0%, rgba(8,28,100,0.18) 0%, transparent 70%), var(--bg0);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  margin-top: var(--s12);
}
@media(max-width:900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .services-grid { grid-template-columns: 1fr; } }
.svc-card {
  padding: var(--s6) var(--s6) var(--s8);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(255,255,255,0.030) 0%, transparent 70%),
    var(--bg2);
  border: 0.5px solid var(--br1);
  transition: border-color 0.35s, transform 0.30s var(--ease), box-shadow 0.35s;
  position: relative; overflow: hidden;
  cursor: default;
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(180,215,255,0.10) 50%, transparent 95%);
  transition: background 0.3s;
}
.svc-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(0deg, rgba(20,60,180,0.06) 0%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.svc-card:hover {
  border-color: var(--br-blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 0.5px rgba(80,152,255,0.12), 0 0 32px rgba(30,90,255,0.08);
}
.svc-card:hover::before {
  background: linear-gradient(90deg, transparent 5%, rgba(80,152,255,0.20) 50%, transparent 95%);
}
.svc-card:hover::after { opacity: 1; }
.svc-num {
  font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .14em;
  color: var(--t4); text-transform: uppercase;
  margin-bottom: var(--s5);
}
.svc-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: rgba(30,90,255,0.07);
  border: 0.5px solid rgba(80,152,255,0.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s5);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}
.svc-card:hover .svc-icon {
  background: rgba(30,90,255,0.12);
  border-color: rgba(80,152,255,0.28);
  box-shadow: 0 0 20px rgba(30,90,255,0.16);
}
.svc-icon svg { width: 22px; height: 22px; stroke: var(--b-400); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.svc-title { font-size: 18px; font-weight: 700; color: var(--t1); margin-bottom: var(--s2); font-family: var(--serif); letter-spacing: -.01em; }
.svc-tagline { font-size: 12px; font-weight: 700; color: var(--b-400); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--s3); }
.svc-desc { font-size: 13px; color: var(--t2); line-height: 1.70; }
.svc-tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.svc-tag {
  font-size: 9px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-full);
  color: var(--t3); background: rgba(255,255,255,0.04); border: 0.5px solid var(--br1);
}

/* ── PROCESS SECTION ── */
.s-process {
  background: radial-gradient(ellipse 80% 40% at 50% 80%, rgba(8,28,100,0.20) 0%, transparent 70%), var(--bg0);
}
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
  margin-top: var(--s12);
}
@media(max-width:900px) { .process-layout { grid-template-columns: 1fr; } }

/* Premium step component */
.lq-step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.lq-step-list::before {
  content: '';
  position: absolute;
  left: 19px; top: 28px; bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(80,152,255,0.15) 10%, rgba(80,152,255,0.15) 90%, transparent);
}
.lq-step-item {
  display: flex; gap: var(--s5);
  padding: var(--s5) 0;
  position: relative;
  cursor: default;
}
.lq-step-left {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
}
.lq-step-circle-lg {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  flex-shrink: 0;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  transition: all 0.35s var(--ease-s);
  background: var(--bg3);
  border: 0.5px solid var(--br2);
  color: var(--t3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.30);
}
.lq-step-item.done .lq-step-circle-lg {
  background: linear-gradient(145deg, #1A78FF 0%, #0E60EE 50%, #083ACC 100%);
  border-color: rgba(100,170,255,0.35);
  color: #fff;
  box-shadow: 0 4px 16px rgba(20,80,255,0.42), 0 0 24px rgba(30,100,255,0.18), 0 1px 0 rgba(255,255,255,0.22) inset;
}
.lq-step-item.active .lq-step-circle-lg {
  background: rgba(8,20,52,0.80);
  border: 1.5px solid var(--b-300);
  color: var(--b-400);
  box-shadow: 0 0 0 5px rgba(30,100,255,0.10), 0 0 24px rgba(30,100,255,0.22);
  animation: step-breathe 2.4s ease-in-out infinite;
}
@keyframes step-breathe {
  0%,100% { box-shadow: 0 0 0 5px rgba(30,100,255,0.10), 0 0 24px rgba(30,100,255,0.22); }
  50%      { box-shadow: 0 0 0 8px rgba(30,100,255,0.06), 0 0 36px rgba(30,100,255,0.28); }
}
.lq-step-circle-lg svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; display: none; }
.lq-step-item.done .lq-step-circle-lg svg { display: block; }
.lq-step-item.done .step-num-text { display: none; }
.lq-step-body { padding-top: 8px; flex: 1; }
.lq-step-title {
  font-size: 15px; font-weight: 700; color: var(--t1);
  margin-bottom: var(--s1);
  transition: color 0.25s;
}
.lq-step-item.active .lq-step-title { color: var(--b-400); }
.lq-step-item:not(.done):not(.active) .lq-step-title { color: var(--t3); }
.lq-step-desc { font-size: 13px; color: var(--t2); line-height: 1.65; }
.lq-step-item:not(.done):not(.active) .lq-step-desc { color: var(--t4); }

/* ── PORTAL SECTION ── */
.s-portal {
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(10,40,140,0.22) 0%, transparent 65%),
    var(--bg0);
  overflow: hidden;
}
.portal-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s12);
  align-items: center;
  margin-top: var(--s12);
}
@media(max-width:900px) { .portal-layout { grid-template-columns: 1fr; } }
.portal-window {
  position: relative;
}
.portal-frame {
  backdrop-filter: blur(48px) saturate(200%);
  -webkit-backdrop-filter: blur(48px) saturate(200%);
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.90' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.035'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 70% 40% at 25% 10%, rgba(255,255,255,0.048) 0%, transparent 70%),
    rgba(4, 8, 24, 0.88);
  border: 0.5px solid rgba(180,215,255,0.12);
  border-radius: var(--r-3xl);
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.70), 0 16px 40px rgba(0,0,0,0.50),
    0 0 0 0.5px rgba(255,255,255,0.06),
    0 1px 0 rgba(220,240,255,0.20) inset;
  position: relative;
}
.portal-frame::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(160,215,255,0.00) 5%, rgba(220,242,255,0.35) 30%, rgba(240,252,255,0.52) 50%, rgba(220,242,255,0.35) 70%, rgba(160,215,255,0.00) 95%, transparent 100%);
  z-index: 10;
}
/* Portal titlebar */
.portal-titlebar {
  padding: var(--s4) var(--s6);
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.02);
}
.portal-titlebar-dots { display: flex; gap: 6px; }
.ptd {
  width: 10px; height: 10px; border-radius: 50%;
}
.ptd-r { background: rgba(255,95,85,0.5); border: 0.5px solid rgba(255,95,85,0.3); }
.ptd-y { background: rgba(255,189,46,0.5); border: 0.5px solid rgba(255,189,46,0.3); }
.ptd-g { background: rgba(39,201,63,0.5); border: 0.5px solid rgba(39,201,63,0.3); }
.portal-titlebar-url {
  font-family: var(--mono); font-size: 10px; color: var(--t4);
  background: rgba(255,255,255,0.03); border: 0.5px solid var(--br1);
  padding: 4px 12px; border-radius: var(--r-full);
  display: flex; align-items: center; gap: 6px;
}
.portal-titlebar-url::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%; background: var(--b-300);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
/* Portal body */
.portal-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); }
/* Portal top bar */
.portal-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s3) var(--s5);
  background: rgba(255,255,255,0.02);
  border: 0.5px solid var(--br1);
  border-radius: var(--r-lg);
}
.portal-project-name { font-size: 14px; font-weight: 700; color: var(--t1); }
.portal-project-sub { font-size: 10px; color: var(--t3); margin-top: 2px; }
.portal-status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(46,128,255,0.10); color: var(--b-400);
  border: 0.5px solid rgba(46,128,255,0.22);
}
.portal-status-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--b-300);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
/* Portal grid */
.portal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3);
}
.portal-mini-card {
  padding: var(--s4);
  background: rgba(255,255,255,0.02);
  border: 0.5px solid var(--br1);
  border-radius: var(--r-lg);
  transition: border-color 0.2s;
}
.portal-mini-label {
  font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--t4); margin-bottom: var(--s3);
}
.portal-mini-value { font-size: 22px; font-weight: 700; color: var(--t1); font-family: var(--serif); letter-spacing: -.02em; }
.portal-mini-value span { font-size: 13px; color: var(--t3); font-family: var(--sans); font-weight: 400; }
/* Progress bars */
.portal-progress-section { display: flex; flex-direction: column; gap: var(--s3); }
.portal-prog-row {
  display: flex; flex-direction: column; gap: 6px;
}
.portal-prog-hd { display: flex; justify-content: space-between; }
.portal-prog-label { font-size: 11px; font-weight: 700; color: var(--t2); }
.portal-prog-val { font-family: var(--mono); font-size: 10px; color: var(--b-400); }
.portal-prog-track { height: 4px; background: var(--bg4); border-radius: 2px; overflow: hidden; }
.portal-prog-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--b-200), var(--b-400));
  position: relative; overflow: hidden;
  transition: width 1.2s var(--ease);
}
.portal-prog-fill::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  animation: prog-shimmer 2.2s linear infinite;
}
@keyframes prog-shimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(200%)} }
/* Messages */
.portal-messages { display: flex; flex-direction: column; gap: var(--s2); }
.portal-msg {
  display: flex; align-items: flex-start; gap: var(--s3);
  padding: var(--s3);
  background: rgba(255,255,255,0.02);
  border: 0.5px solid var(--br1);
  border-radius: var(--r-md);
  transition: border-color 0.2s;
}
.portal-msg:hover { border-color: var(--br2); }
.portal-msg-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.pma-me { background: linear-gradient(135deg, var(--b-200), var(--b-300)); color: #fff; }
.pma-you { background: var(--bg4); color: var(--t2); border: 0.5px solid var(--br2); }
.portal-msg-text { font-size: 12px; color: var(--t2); flex: 1; line-height: 1.55; }
.portal-msg-time { font-family: var(--mono); font-size: 9px; color: var(--t4); flex-shrink: 0; margin-top: 2px; }
/* Action buttons row */
.portal-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.portal-action-btn {
  flex: 1; min-width: 100px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; border: none; font-family: var(--sans);
  transition: all 0.20s var(--ease-s);
}
.pab-primary {
  background: linear-gradient(135deg, rgba(30,100,255,0.75), rgba(16,70,200,0.90));
  color: #fff;
  border: 0.5px solid rgba(80,152,255,0.30);
  box-shadow: 0 2px 10px rgba(20,80,255,0.30);
}
.pab-primary:hover { box-shadow: 0 4px 18px rgba(20,80,255,0.45); transform: translateY(-1px); }
.pab-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--t2);
  border: 0.5px solid var(--br2);
}
.pab-ghost:hover { background: rgba(255,255,255,0.07); color: var(--t1); border-color: var(--br3); }
/* Floating glow behind portal */
.portal-glow {
  position: absolute;
  top: -60px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(30,100,255,0.18) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none; z-index: -1;
}

/* ── WHY SECTION ── */
.s-why {
  background: radial-gradient(ellipse 100% 50% at 50% 100%, rgba(8,28,100,0.18) 0%, transparent 70%), var(--bg0);
}
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: start;
  margin-top: var(--s12);
}
@media(max-width:900px) { .why-layout { grid-template-columns: 1fr; } }
.why-compare {
  display: flex; flex-direction: column; gap: var(--s3);
}
.why-row {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--s5);
  border-radius: var(--r-lg);
  background: var(--bg2);
  border: 0.5px solid var(--br1);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.why-row:hover { border-color: var(--br-blue); transform: translateX(4px); }
.why-row-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.wri-positive { background: rgba(30,90,255,0.08); border: 0.5px solid rgba(80,152,255,0.16); }
.wri-positive svg { stroke: var(--b-400); }
.why-row-text { font-size: 13px; color: var(--t1); font-weight: 700; }
.why-row-sub { font-size: 11px; color: var(--t2); margin-top: 2px; }
.why-row-icon svg { width: 15px; height: 15px; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* ── CONTACT SECTION ── */
.s-contact {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(15,60,210,0.22) 0%, transparent 65%),
    var(--bg0);
  padding-bottom: var(--s32);
}
.contact-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.contact-center .sec-h2 { font-size: clamp(32px,5vw,64px); margin-bottom: var(--s5); }

/* Ask bar (from design system) */
.ask-bar-wrap {
  position: relative;
  display: flex; align-items: center;
  margin: var(--s8) auto;
  max-width: 560px;
  filter: drop-shadow(0 0 28px rgba(30,100,255,0.22)) drop-shadow(0 0 6px rgba(30,100,255,0.12));
}
.ask-bar-border {
  position: relative;
  border-radius: var(--r-full);
  padding: 1.5px; flex: 1;
  background: linear-gradient(135deg, rgba(100,170,255,0.70) 0%, rgba(55,125,255,0.50) 30%, rgba(30,90,255,0.38) 50%, rgba(55,125,255,0.50) 70%, rgba(100,170,255,0.70) 100%);
}
.ask-bar-inner {
  position: relative;
  border-radius: calc(var(--r-full) - 1.5px);
  display: flex; align-items: center; overflow: hidden;
  backdrop-filter: blur(48px) saturate(220%) brightness(1.14);
  -webkit-backdrop-filter: blur(48px) saturate(220%) brightness(1.14);
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.042'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 40% 100% at 0% 50%, rgba(80,150,255,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(180,220,255,0.07) 0%, transparent 70%),
    rgba(4, 10, 30, 0.90);
  box-shadow: 0 1px 0 rgba(200,230,255,0.24) inset, 0 -1px 0 rgba(0,0,0,0.32) inset;
}
.ask-bar-inner::before {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180,220,255,0.32) 25%, rgba(220,242,255,0.52) 50%, rgba(180,220,255,0.32) 75%, transparent);
  z-index: 4; pointer-events: none;
}
.ask-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--t1);
  padding: 14px 0 14px 22px;
  letter-spacing: .01em;
  caret-color: var(--b-400);
}
.ask-input::placeholder { color: rgba(150,190,240,0.58); font-weight: 400; }
.ask-send {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 8px 14px 8px 10px;
  margin: 5px 5px 5px 0;
  border-radius: calc(var(--r-full) - 8px);
  cursor: pointer;
  background: linear-gradient(135deg, rgba(30,100,255,0.75) 0%, rgba(16,70,200,0.90) 100%);
  border: 0.5px solid rgba(100,170,255,0.35);
  box-shadow: 0 2px 12px rgba(20,80,255,0.45), 0 1px 0 rgba(255,255,255,0.18) inset;
  transition: box-shadow 0.2s, transform 0.15s;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.ask-send:hover {
  box-shadow: 0 4px 20px rgba(20,80,255,0.60), 0 0 32px rgba(60,130,255,0.20), 0 1px 0 rgba(255,255,255,0.22) inset;
  transform: scale(1.04);
}
.ask-send svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* Contact options */
.contact-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  margin-top: var(--s8);
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
@media(max-width:600px) { .contact-options { grid-template-columns: 1fr; } }
.contact-option {
  padding: var(--s5) var(--s6);
  border-radius: var(--r-xl);
  background: var(--bg2);
  border: 0.5px solid var(--br1);
  text-align: left;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  cursor: pointer;
  position: relative; overflow: hidden;
}
.contact-option::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180,215,255,0.10) 50%, transparent);
}
.contact-option:hover { border-color: var(--br-blue); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.40), 0 0 20px rgba(30,90,255,0.08); }
.co-icon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(30,90,255,0.08); border: 0.5px solid rgba(80,152,255,0.16);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s3);
}
.co-icon svg { width: 16px; height: 16px; stroke: var(--b-400); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.co-title { font-size: 14px; font-weight: 700; color: var(--t1); margin-bottom: 4px; }
.co-desc { font-size: 12px; color: var(--t2); line-height: 1.55; }

/* ── LANGUAGE SWITCHER ── */
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px;
  border-radius: var(--r-full);
  border: 0.5px solid rgba(180,215,255,0.14);
  background:
    radial-gradient(ellipse 70% 70% at 30% 20%, rgba(255,255,255,0.040) 0%, transparent 75%),
    rgba(6, 14, 38, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25), 0 1px 0 rgba(220,240,255,0.18) inset;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase;
  color: var(--t2);
  transition: border-color 0.2s, box-shadow 0.2s, color 0.15s;
  position: relative; overflow: hidden;
}
.lang-btn::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 15%, rgba(200,230,255,0.25) 50%, transparent 85%);
  pointer-events: none;
}
.lang-btn:hover {
  border-color: rgba(80,152,255,0.28);
  color: var(--t1);
  box-shadow: 0 3px 12px rgba(0,0,0,0.30), 0 0 14px rgba(30,90,255,0.08), 0 1px 0 rgba(220,240,255,0.22) inset;
}
.lang-active { color: var(--b-400); }
.lang-sep { color: var(--t4); margin: 0 1px; }
.lang-other { color: var(--t3); }
.lang-btn svg { stroke: var(--t4); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; display: none; }

/* ── FOOTER ── */
.tm-footer {
  border-top: 0.5px solid var(--br0);
  padding: var(--s8) 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s4);
}
.footer-copy { font-size: 12px; color: var(--t4); }
.footer-links { display: flex; gap: var(--s5); }
.footer-link { font-size: 12px; color: var(--t3); transition: color .15s; }
.footer-link:hover { color: var(--t1); }

/* ── MISC ── */
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--b-400); margin-bottom: var(--s5);
}
.eyebrow::before {
  content: ''; display: block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--b-300); animation: pulse-dot 2s ease-in-out infinite;
}
/* Divider glow */
.glow-divider {
  width: 100%; height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(80,152,255,0.25) 30%, rgba(140,195,255,0.45) 50%, rgba(80,152,255,0.25) 70%, transparent);
  margin: 0;
}

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal-up { opacity: 0; transform: translateY(32px); }
.reveal-left { opacity: 0; transform: translateX(-32px); }
.reveal-right { opacity: 0; transform: translateX(32px); }
.reveal-scale { opacity: 0; transform: scale(0.94); }

/* ── TOGGLE ── */
.tog-wrap { display: flex; align-items: center; gap: var(--s3); cursor: pointer; }
.tog-track { width: 40px; height: 22px; border-radius: var(--r-full); background: rgba(255,255,255,.06); border: .5px solid var(--br2); position: relative; transition: background .25s, border-color .25s, box-shadow .25s; }
.tog-track.on { background: linear-gradient(90deg,#1060FF,#2E80FF); border-color: transparent; box-shadow: 0 0 14px rgba(20,80,255,.42); }
.tog-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.40); transition: transform var(--ease-b) .25s; }
.tog-track.on .tog-thumb { transform: translateX(18px); }

/* ── SECTION GLOW BG ── */
.sec-glow-bg {
  position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(80px); opacity: 0.6;
}

/* ── MOBILE HAMBURGER ── */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  border: 0.5px solid rgba(180,215,255,0.14);
  border-radius: var(--r-sm);
  background: rgba(6,14,38,0.45);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  cursor: pointer; padding: 0; flex-shrink: 0;
}
.nav-hamburger-bar {
  display: block; width: 18px; height: 1.5px;
  background: var(--t2); border-radius: 1px;
  transition: transform 0.28s var(--ease), opacity 0.2s, width 0.2s;
}
.nav-hamburger.open .nav-hamburger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open .nav-hamburger-bar:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open .nav-hamburger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1050; pointer-events: none;
}
.mobile-nav-backdrop {
  position: absolute; inset: 0;
  background: rgba(2,4,8,0.70); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.3s var(--ease-s);
}
.mobile-nav-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(300px, 84vw);
  backdrop-filter: var(--lq-blur-heavy); -webkit-backdrop-filter: var(--lq-blur-heavy);
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(255,255,255,0.048) 0%, transparent 65%),
    rgba(4, 8, 22, 0.93);
  border-left: 0.5px solid rgba(255,255,255,0.09);
  box-shadow: -24px 0 72px rgba(0,0,0,0.70), 0 1px 0 rgba(220,240,255,0.14) inset;
  display: flex; flex-direction: column;
  padding: var(--s6) var(--s5) var(--s8);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { pointer-events: all; }
.mobile-nav.open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav.open .mobile-nav-drawer { transform: translateX(0); }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--s6); padding-bottom: var(--s5);
  border-bottom: 0.5px solid var(--br1);
}
.mobile-nav-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 0.5px solid rgba(180,215,255,0.14);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.04); cursor: pointer;
}
.mobile-nav-close svg { width: 16px; height: 16px; stroke: var(--t2); stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--s6); }
.mobile-nav-link {
  font-size: 15px; font-weight: 700; color: var(--t2);
  padding: var(--s3) var(--s3); border-radius: var(--r-sm);
  cursor: pointer; transition: color 0.15s, background 0.15s;
  letter-spacing: .01em;
}
.mobile-nav-link:hover { color: var(--t1); background: rgba(255,255,255,0.04); }
.mobile-nav-divider { width: 100%; height: 0.5px; background: var(--br1); margin-bottom: var(--s5); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: var(--s3); margin-top: auto; }

/* ── LANG DROPDOWN ── */
.lang-dropdown { position: relative; }
.lang-dropdown-trigger {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.04); border: 0.5px solid var(--br2);
  cursor: pointer; user-select: none;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--t2);
  transition: background 0.2s, border-color 0.2s;
}
.lang-dropdown-trigger:hover { background: rgba(255,255,255,0.07); border-color: var(--br3); }
.lang-dropdown-chevron { display: flex; align-items: center; }
.lang-dropdown-chevron svg {
  width: 12px; height: 12px; stroke: var(--t3); stroke-width: 2.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.2s;
}
.lang-dropdown.open .lang-dropdown-chevron svg { transform: rotate(180deg); }
.lang-dropdown-panel {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 1100;
  min-width: 190px;
  backdrop-filter: var(--lq-blur-heavy); -webkit-backdrop-filter: var(--lq-blur-heavy);
  background: rgba(6,10,20,0.92);
  border: 0.5px solid var(--br2); border-radius: var(--r-lg);
  box-shadow: var(--lq-shadow);
  padding: 6px; overflow: hidden;
}
.lang-dropdown.open .lang-dropdown-panel { display: block; }
.lang-dropdown-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--r-md);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--t2);
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.lang-dropdown-item:hover { background: rgba(255,255,255,0.05); color: var(--t1); }
.lang-dropdown-item.selected { color: var(--b-400); }
.lang-dropdown-check { display: flex; align-items: center; opacity: 0; transition: opacity 0.15s; }
.lang-dropdown-check svg {
  width: 13px; height: 13px; stroke: var(--b-400); stroke-width: 2.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.lang-dropdown-item.selected .lang-dropdown-check { opacity: 1; }

/* ── SERVICES HEADER GRID (replaces inline style) ── */
.services-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s8); align-items: end; margin-bottom: 0;
}
@media(max-width:768px) { .services-header { grid-template-columns: 1fr; gap: var(--s5); } }

/* ── RESPONSIVE BREAKPOINTS ── */
/* Nav hamburger — mostra em tablet e mobile */
@media(max-width:900px) {
  .nav-hamburger { display: flex; }
  .nav-portal-btn { display: none; }
  .nav-cta-btn { display: none; }
}

/* Botões standalone dentro de .reveal não devem esticar full-width */
.reveal > .btn, .reveal-up > .btn { display: inline-flex; width: auto; }

/* Layout responsivo geral — mobile */
@media(max-width:768px) {
  .section { padding: var(--s16) 0; }
  .s-contact { padding-bottom: var(--s16); }
  .hero-content { padding: var(--s12) var(--s5) var(--s10); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-sm { display: none; }
  .stats-row { gap: var(--s6); }
  .stats-divider { display: none; }
  .portal-layout { gap: var(--s8); }
  .process-layout { gap: var(--s10); }
  .why-row { align-items: flex-start; }
  .contact-options { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: var(--s4); text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media(max-width:480px) {
  .hero-h1 { font-size: clamp(32px, 9.5vw, 50px) !important; }
  .ask-bar-wrap { margin: var(--s5) auto; }
  .ask-input { font-size: 13px; }
  .stats-row { flex-direction: column; align-items: center; gap: var(--s5); }
}
