/* ============ Sendo brand system ============ */
:root {
  --navy: #15265B;
  --navy-deep: #0B1733;
  --navy-deeper: #070F24;
  --ink: #1C2B4A;
  --mint: #5BE48E;
  --mint-soft: #A8F5C6;
  --teal: #3ED6C0;
  --cyan: #58C8F0;
  --bg: #FFFFFF;
  --bg-tint: #F2F8F4;
  --line: #E3EAE5;
  --muted: #5A6B86;
  --muted-light: #9FB0CC;
  --radius: 20px;
  --shadow: 0 14px 40px -12px rgba(11, 23, 51, .14);
  --shadow-lg: 0 30px 70px -20px rgba(11, 23, 51, .25);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], footer { scroll-margin-top: 86px; }
::selection { background: rgba(91,228,142,.35); color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--navy-deeper); }
::-webkit-scrollbar-thumb { background: #2A3D66; border-radius: 8px; border: 2px solid var(--navy-deeper); }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem;
  padding: 12px 22px; border-radius: 0 0 14px 14px; transition: top .25s ease;
}
.skip-link:focus { top: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
.inline-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(91,228,142,.55); transition: color .2s ease, text-decoration-color .2s ease; }
.inline-link:hover { color: var(--mint); text-decoration-color: var(--mint); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ============ Typography ============ */
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 800; line-height: 1.07; letter-spacing: -0.02em; }
.section-title { font-size: clamp(2.15rem, 4.1vw, 3.35rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }
.section-dark .section-title { color: #fff; }
.section-sub { font-size: 1.13rem; color: var(--muted); max-width: 640px; margin-top: 18px; }
.plat-tagline { font-size: 1.18rem; font-weight: 700; color: var(--navy); max-width: 640px; margin-top: 16px; letter-spacing: -0.01em; text-wrap: balance; }
#platform .section-sub { text-wrap: balance; }
.section-sub.light { color: var(--muted-light); }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy); opacity: .55; margin-bottom: 18px;
}
.eyebrow-light { color: var(--mint); opacity: .9; }
.grad-text {
  background: linear-gradient(95deg, var(--mint) 0%, var(--teal) 35%, var(--cyan) 60%, var(--mint) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 14s linear infinite;
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }

/* Word-wave title reveal */
.ww { display: inline-block; opacity: 0; transform: translateY(.65em); }
.in .ww, .ww-go .ww { animation: wordUp .65s cubic-bezier(.22,.61,.36,1) forwards; animation-delay: calc(var(--wi) * 55ms); }
@keyframes wordUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ww { opacity: 1; transform: none; animation: none !important; } }
.big-num { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; display: block; line-height: 1.1; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; cursor: pointer; border: none;
  border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(95deg, var(--mint), #43D9A0);
  color: var(--navy-deep);
  box-shadow: 0 10px 30px -8px rgba(91, 228, 142, .55);
}
.btn-primary:hover { box-shadow: 0 16px 38px -8px rgba(91, 228, 142, .7); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline:hover { border-color: var(--mint); color: var(--mint); }
.btn-ghost { background: transparent; color: rgba(255,255,255,.9); }
.btn-ghost:hover { color: #0a8f4d; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.nav.scrolled .btn-ghost, .nav.menu-open .btn-ghost { color: var(--navy); }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(11,23,51,.07), 0 8px 30px -12px rgba(11,23,51,.12);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; }
/* Real Sendo logo (hi-res): inverted white version over the dark hero, exact full-colour when nav turns white */
.brand-logo { height: 36px; width: auto; display: block; transition: transform .25s ease; }
.brand:hover .brand-logo { transform: scale(1.04); }
.brand-logo-dark { display: none; }
.nav.scrolled .brand-logo-light, .nav.menu-open .brand-logo-light { display: none; }
.nav.scrolled .brand-logo-dark, .nav.menu-open .brand-logo-dark { display: block; }
.footer .brand-logo { height: 40px; }

/* Intro: the logo pops and settles in on first load */
.brand--intro .brand-logo-light { transform-origin: left center; animation: logoIn .7s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes logoIn { 0% { opacity: 0; transform: translateY(5px) scale(.84); } 60% { transform: scale(1.05); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .brand--intro .brand-logo-light { animation: none; } }
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a {
  font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.82);
  transition: color .2s ease; position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--mint); border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a, .nav.menu-open .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--mint); }
.nav.scrolled .nav-links a:hover { color: #0a8f4d; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.lang-toggle {
  display: flex; margin-left: auto; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 3px; backdrop-filter: blur(6px);
}
.nav-links + .lang-toggle { margin-left: 22px; }
.lang-toggle span {
  font-family: var(--font); font-size: .74rem; font-weight: 800; letter-spacing: .06em;
  padding: 5px 11px; border-radius: 999px; color: rgba(255,255,255,.75);
  transition: background .2s ease, color .2s ease;
}
.lang-toggle span.on { background: var(--mint); color: var(--navy-deep); }
.nav.scrolled .lang-toggle, .nav.menu-open .lang-toggle { background: rgba(11,23,51,.06); border-color: rgba(11,23,51,.15); }
.nav.scrolled .lang-toggle span, .nav.menu-open .lang-toggle span { color: var(--muted); }
.nav.scrolled .lang-toggle span.on, .nav.menu-open .lang-toggle span.on { background: var(--navy); color: #fff; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: #fff; margin: 5px 0; transition: all .3s ease; }
.nav.scrolled .nav-burger span, .nav.menu-open .nav-burger span { background: var(--navy); }

/* ============ Hero (pinned — page slides over it) ============ */
.hero-wrap { padding-bottom: 60vh; }
.hero {
  position: sticky; top: 0; z-index: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 75% 10%, #123158 0%, var(--navy-deep) 45%, var(--navy-deeper) 100%);
  overflow: hidden;
  padding-bottom: 30px;
}
.hero-inner {
  flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center;
  padding-top: 100px; padding-bottom: 20px;
}
.page {
  position: relative; z-index: 2;
  background: var(--bg);
  border-radius: 30px 30px 0 0;
  margin-top: -60vh;
  box-shadow: 0 -24px 60px -20px rgba(0, 0, 0, .5);
}
.hero-inner { will-change: transform, opacity; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-glow {
  position: absolute; width: 760px; height: 760px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(91,228,142,.16) 0%, rgba(62,214,192,.08) 40%, transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; color: #fff; }
.hero h1 { max-width: 1020px; }
.hero-sub { font-size: 1.18rem; color: var(--muted-light); max-width: 760px; margin-top: 26px; }
.hero-sub strong { color: var(--mint-soft); font-weight: 700; }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-proof {
  display: inline-flex; align-items: center; gap: 11px; align-self: flex-start;
  margin-top: 30px; padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  color: var(--muted-light); font-size: .96rem; font-weight: 600; line-height: 1.4;
  backdrop-filter: blur(6px);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.hero-proof:hover { border-color: rgba(91,228,142,.55); background: rgba(91,228,142,.08); transform: translateY(-1px); }
.hero-proof strong { color: #fff; font-weight: 700; }
.hero-proof .hp-badge {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mint); color: var(--navy-deep); font-size: .72rem; font-weight: 800;
}
.hero-proof .hp-arrow { color: var(--mint); transition: transform .25s ease; }
.hero-proof:hover .hp-arrow { transform: translateX(3px); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 36px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hstat-num { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; display: block;
  background: linear-gradient(95deg, #fff 30%, var(--mint-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hstat-label { font-size: .85rem; color: var(--muted-light); font-weight: 600; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, rgba(7,15,36,.55)); pointer-events: none; }

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--mint), var(--teal), var(--cyan));
  z-index: 200; border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(91,228,142,.6);
}

/* ============ Scroll cue ============ */
.scroll-cue {
  width: 26px; height: 42px; margin-top: 64px;
  border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 9px; border-radius: 3px; background: var(--mint);
  animation: cueDrop 1.8s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes cueDrop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ Trust bar + marquee ============ */
.trustbar { background: var(--navy-deeper); padding: 42px 0 40px; border-radius: 30px 30px 0 0; overflow: hidden; }
/* Channel marquee pinned to the bottom of the hero — visible on first load */
.hero-marquee {
  position: relative; flex: 0 0 auto; z-index: 4;
  padding: 18px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(transparent, rgba(7,15,36,.55));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 38px; width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-size: .95rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5); white-space: nowrap;
}
.marquee-track i {
  width: 9px; height: 9px; flex: none;
  background: linear-gradient(135deg, var(--mint), var(--teal));
  transform: rotate(45deg); border-radius: 2px; opacity: .7;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.trustbar-inner p {
  color: var(--muted-light); text-align: center; font-size: .98rem; max-width: 760px; margin: 0 auto;
}
.trustbar-inner strong { color: var(--mint-soft); }

/* ============ Sections ============ */
.section { padding: 110px 0; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: radial-gradient(110% 100% at 20% 0%, #11294e 0%, var(--navy-deep) 50%, var(--navy-deeper) 100%); color: #fff; position: relative; overflow: hidden; }

/* ============ Platform cards ============ */
.card-grid { display: grid; gap: 22px; margin-top: 56px; }
.card-grid.five { grid-template-columns: repeat(5, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.pcard {
  background: linear-gradient(180deg, #EAFBF1 0%, #fff 55%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; transition: transform .25s ease, box-shadow .25s ease;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard-gem {
  width: 54px; height: 54px; border-radius: 15px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(62,214,192,.45);
  margin-bottom: 18px;
}
.pcard-gem img { width: 46px; height: 46px; object-fit: contain; }
.pcard h3 { font-size: 1.12rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.pcard p { font-size: .9rem; color: var(--muted); }

/* Stacking sticky panels — each card slides over the previous one */
.platform-panels { margin-top: 46px; }
.panel {
  position: sticky; top: 120px;
  background: linear-gradient(120deg, #EAFBF1 0%, #fff 55%);
  border: 1px solid var(--line); border-radius: 26px;
  padding: 56px 54px; margin-bottom: 26px;
  min-height: 320px; overflow: hidden;
  box-shadow: 0 -10px 40px -18px rgba(11,23,51,.25);
  will-change: transform;
  transform-origin: center top;
}
.panel-mid { background: linear-gradient(120deg, #CDEBDC 0%, #BFD4E8 100%); border-color: #B5CBDF; }
.panel-mid .panel-num { background: linear-gradient(180deg, rgba(21,38,91,.22), rgba(21,38,91,.03)); -webkit-background-clip: text; background-clip: text; }
.panel-dark { background: radial-gradient(120% 140% at 85% 0%, #143057 0%, var(--navy-deep) 60%); border-color: rgba(255,255,255,.1); }
.panel.panel-dark h3 { color: #fff; }
.panel.panel-dark p { color: #C7D6EE; }
.panel-num {
  position: absolute; right: 34px; top: 50%; transform: translateY(-50%);
  font-size: clamp(7rem, 16vw, 13rem); font-weight: 800; line-height: 1;
  background: linear-gradient(180deg, rgba(91,228,142,.28), rgba(91,228,142,.03));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none;
}
.panel-dark .panel-num { background: linear-gradient(180deg, rgba(91,228,142,.4), rgba(91,228,142,.05)); -webkit-background-clip: text; background-clip: text; }
.panel-tag { font-family: var(--mono); font-size: .8rem; color: #0a9d5c; font-weight: 600; letter-spacing: .06em; margin-bottom: 16px; }
.panel-dark .panel-tag { color: var(--mint); }
.panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.25; max-width: 620px; }
.panel p { font-size: 1.02rem; color: var(--muted); max-width: 560px; }
.panel-chips { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.panel-chips span {
  font-size: .8rem; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  background: rgba(91,228,142,.14); color: #0a7d4c; border: 1px solid rgba(91,228,142,.3);
}
.panel-dark .panel-chips span { color: var(--mint-soft); background: rgba(91,228,142,.1); }

/* ============ Architecture diagram ============ */
.arch { margin-top: 64px; }
.arch-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.015em; }
.arch-sub { color: var(--muted); max-width: 760px; margin-bottom: 26px; }
.arch-figure {
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(12px, 2vw, 24px); box-shadow: var(--shadow);
  overflow-x: auto;
}
.arch-figure svg { width: 100%; min-width: 640px; height: auto; display: block; }
.abox { fill: #fff; stroke: #D6E0EA; stroke-width: 1.5; }
.abox-mint { fill: #EAFBF1; stroke: rgba(91,228,142,.5); stroke-width: 1.5; }
.albl { font-family: var(--font); font-size: 14px; font-weight: 700; fill: var(--navy); }
.albl-light { font-family: var(--font); font-size: 15px; font-weight: 700; fill: #fff; }
.atag { font-family: var(--mono); font-size: 11.5px; fill: #0a9d5c; font-weight: 600; }
.acloud { fill: #F2F8F4; stroke: #15265B; stroke-width: 2; }
.aflow {
  fill: none; stroke: #9FB8D8; stroke-width: 1.8;
  stroke-dasharray: 6 7; animation: dashFlow 1.1s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -13; } }
@media (prefers-reduced-motion: reduce) { .aflow { animation: none; } }

/* ============ Statement (scroll-fill text) ============ */
.statement {
  background: var(--navy-deeper); padding: 150px 0;
  position: relative; overflow: hidden;
}
.statement::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 500px at 80% 30%, rgba(62,214,192,.07), transparent 60%);
}
.statement .container { position: relative; }
.statement-text {
  font-size: clamp(1.7rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.3;
  letter-spacing: -0.015em; max-width: 980px;
}
.statement-text .w { color: rgba(255,255,255,.14); transition: color .35s ease; }
.statement-text .w.lit { color: #fff; }
.statement-text .w.accent.lit { color: var(--mint); }

/* ============ Products ============ */
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
/* Cursor spotlight */
.prod::after, .pcard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(91,228,142,.16), transparent 65%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.prod:hover::after, .pcard:hover::after { opacity: 1; }
.pcard { position: relative; overflow: hidden; }
.prod::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--mint), var(--teal), var(--cyan));
  opacity: 0; transition: opacity .25s ease;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod:hover::before { opacity: 1; }
.prod-icon {
  width: 64px; height: 64px; border-radius: 17px;
  background: rgba(91,228,142,.1); border: 1px solid rgba(91,228,142,.25);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: transform .25s ease;
}
.prod-icon img { width: 54px; height: 54px; object-fit: contain; }
.prod:hover .prod-icon { transform: scale(1.08) rotate(-3deg); }
.prod h3 { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.prod p { font-size: .95rem; color: var(--muted); margin-bottom: 18px; }
.prod ul { list-style: none; }
.prod li { font-size: .88rem; font-weight: 600; color: var(--ink); padding: 5px 0 5px 24px; position: relative; }
.prod li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 12px;
  background: linear-gradient(135deg, var(--mint), var(--teal)); border-radius: 4px;
  transform: rotate(45deg) scale(.78);
}

/* ============ Tabs / Solutions ============ */
.tabs { display: flex; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.tab {
  font-family: var(--font); font-size: .92rem; font-weight: 700; cursor: pointer;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--muted); transition: all .2s ease;
}
.tab:hover { border-color: var(--mint); color: var(--navy); }
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab-panels { margin-top: 34px; }
.tab-panel {
  display: none; position: relative; overflow: hidden; min-height: 340px;
  background: linear-gradient(120deg, #EAFBF1 0%, #fff 55%);
  border: 1px solid var(--line); border-radius: 26px; padding: 50px;
}
.tab-panel.active { display: flex; align-items: center; animation: fadeUp .45s ease both; }
.tab-copy { position: relative; z-index: 2; max-width: 56%; }
.tab-copy h3 { font-size: 1.55rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.tab-copy p { color: var(--muted); margin-bottom: 20px; }
/* Segment render bleeds in from the right, fading to transparent toward the text */
.tab-img {
  position: absolute; top: 0; right: 0; height: 100%; width: 54%;
  object-fit: cover; object-position: center right; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.4) 38%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.4) 38%, #000 72%);
}

.checklist { list-style: none; }
.checklist li { padding: 7px 0 7px 32px; position: relative; font-weight: 600; font-size: .98rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 20px;
  border-radius: 7px; background: rgba(91,228,142,.18);
}
.checklist li::after {
  content: ""; position: absolute; left: 5px; top: 13px; width: 9px; height: 5px;
  border-left: 2.2px solid #0a9d5c; border-bottom: 2.2px solid #0a9d5c; transform: rotate(-45deg);
}
.checklist.light li { color: #DCE6F5; }
.checklist.light li::before { background: rgba(91,228,142,.22); }
.checklist.light li::after { border-color: var(--mint); }

/* ============ Floating orbs (parallax accents) ============ */
.orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(60px); opacity: .5; z-index: 0;
}
.orb-mint { width: 340px; height: 340px; background: radial-gradient(circle, rgba(91,228,142,.4), transparent 70%); top: -80px; right: -60px; }
.orb-cyan { width: 300px; height: 300px; background: radial-gradient(circle, rgba(88,200,240,.35), transparent 70%); }
.orb-tr { top: -60px; right: 4%; }
.orb-bl { bottom: -40px; left: 2%; }

/* ============ AI section ============ */
.ai-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(91,228,142,.10), transparent 65%),
    radial-gradient(500px 400px at 10% 90%, rgba(88,200,240,.08), transparent 65%);
}
.ai-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; position: relative; }
.ai-visual { position: relative; }
.ai-copy .btn { margin-top: 34px; }
.ai-copy .checklist { margin-top: 26px; }
.chat-demo {
  background: rgba(10,21,48,.66);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px; padding: 28px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.6);
}
.chat-head { font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--muted-light); display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.chat-bubble {
  max-width: 85%; padding: 14px 18px; border-radius: 18px; font-size: .95rem; margin-bottom: 12px;
  animation: fadeUp .5s ease both;
}
.chat-bubble.bot { background: rgba(255,255,255,.09); color: #EAF1FC; border-bottom-left-radius: 6px; }
.chat-bubble.user { background: linear-gradient(95deg, var(--mint), #43D9A0); color: var(--navy-deep); font-weight: 600; margin-left: auto; border-bottom-right-radius: 6px; }
.chat-meta { font-size: .8rem; color: var(--mint); font-weight: 700; margin-top: 18px; letter-spacing: .03em; }
/* Sequenced chat: JS hides steps, then plays them like a live conversation */
.chat-demo.seq [data-step] { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; animation: none; }
.chat-demo.seq [data-step].show { opacity: 1; transform: none; }
.chat-typing {
  display: none; width: 64px; padding: 14px 0; border-radius: 18px; border-bottom-left-radius: 6px;
  background: rgba(255,255,255,.09); margin-bottom: 12px;
  text-align: center;
}
.chat-typing.show { display: block; }
.chat-typing span {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--muted-light); margin: 0 3px;
  animation: typingDot 1.1s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .18s; }
.chat-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typingDot { 30% { transform: translateY(-5px); opacity: 1; } 60% { transform: none; opacity: .5; } }

/* ============ Developers ============ */
.dev-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.dev-stats { display: flex; gap: 50px; margin-top: 36px; }
.dev-stats span:last-child { font-size: .88rem; color: var(--muted); font-weight: 600; }
.dev-docs { margin-top: 34px; }
.dev-docs-lead { font-size: 1.02rem; color: var(--muted); margin: 0 0 14px; }
.dev-docs-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.dev-docs-links a {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 999px;
  background: var(--bg-tint); border: 1px solid var(--line);
  color: var(--navy); font-weight: 600; font-size: .95rem;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, color .2s ease;
}
.dev-docs-links a:hover { border-color: var(--mint); background: #EAFBF1; color: #0a8f4d; transform: translateY(-1px); }
.code-card {
  background: var(--navy-deeper); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
}
.code-tabs { display: flex; gap: 4px; padding: 14px 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.code-tab {
  font-family: var(--mono); font-size: .82rem; font-weight: 500; cursor: pointer;
  background: none; border: none; color: var(--muted-light);
  padding: 10px 16px; border-radius: 10px 10px 0 0; transition: color .2s ease;
  border-bottom: 2px solid transparent;
}
.code-tab:hover { color: #fff; }
.code-tab.active { color: var(--mint); border-bottom-color: var(--mint); }
.code-body { display: none; padding: 26px 26px 30px; overflow-x: auto; }
.code-body.active { display: block; }
.code-body code { font-family: var(--mono); font-size: .85rem; line-height: 1.75; color: #C9D6EC; white-space: pre; }
.c-str { color: var(--mint-soft); }
.c-kw { color: var(--cyan); }
.c-fn { color: #F0C674; }
.c-cmd { color: var(--mint); font-weight: 500; }
.code-result {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 26px 24px; background: rgba(0,0,0,.25);
}
.code-result-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; color: var(--muted-light); display: block; margin-bottom: 10px; }
.code-result pre { font-family: var(--mono); font-size: .82rem; line-height: 1.7; color: var(--mint-soft); white-space: pre-wrap; min-height: 210px; margin: 0; }
.type-cursor {
  display: inline-block; width: 8px; height: 15px; vertical-align: -2px;
  background: var(--mint); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============ Case study ============ */
.case-card {
  background: var(--navy-deep);
  background-image: radial-gradient(700px 420px at 90% -10%, rgba(91,228,142,.14), transparent 60%);
  border-radius: 30px; padding: 70px 60px; color: #fff;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.case-client { display: flex; align-items: center; gap: 13px; margin-bottom: 26px; }
.dc-mark { width: 46px; height: 46px; flex: none; }
.case-client-name { font-weight: 800; font-size: 1.12rem; color: #fff; line-height: 1.1; letter-spacing: .005em; }
.case-client-name small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .24em; color: var(--mint-soft); margin-top: 3px; }
.case-copy .eyebrow { color: var(--mint); opacity: .9; }
.case-copy h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.18; margin-bottom: 22px; letter-spacing: -0.015em; }
.case-copy p { color: var(--muted-light); margin-bottom: 14px; max-width: 560px; }
.case-stats { display: flex; flex-direction: column; gap: 18px; }
.case-stat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 22px 26px;
}
.case-stat .big-num { background: linear-gradient(95deg, var(--mint), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-stat span:last-child { font-size: .88rem; color: var(--muted-light); }

/* ============ Company network canvas ============ */
#netCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
#company .container { position: relative; z-index: 1; }

/* ============ CTA band ============ */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(120% 130% at 50% -20%, #16345f 0%, var(--navy-deep) 55%, var(--navy-deeper) 100%);
  padding: 140px 0 150px; color: #fff;
}
.cta-inner { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.cta-band p { color: var(--muted-light); font-size: 1.15rem; margin: 22px 0 38px; }
.cta-orb {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.cta-orb-a {
  width: 480px; height: 480px; left: -120px; bottom: -180px;
  background: radial-gradient(circle, rgba(91,228,142,.22), transparent 70%);
  animation: orbFloat 9s ease-in-out infinite alternate;
}
.cta-orb-b {
  width: 420px; height: 420px; right: -100px; top: -140px;
  background: radial-gradient(circle, rgba(88,200,240,.2), transparent 70%);
  animation: orbFloat 11s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.12); } }
.btn-magnetic { will-change: transform; }

/* ============ Company stats ============ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.stat {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 30px 26px;
  transition: transform .25s ease, border-color .25s ease;
}
.stat:hover { transform: translateY(-4px); border-color: rgba(91,228,142,.45); }
.stat-num {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; display: block;
  background: linear-gradient(95deg, #fff 20%, var(--mint-soft)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: .88rem; color: var(--muted-light); font-weight: 600; }
.pop-note { margin-top: 40px; color: var(--muted-light); font-size: .92rem; letter-spacing: .02em; }
.scale-label {
  margin-top: 50px; font-size: .78rem; font-weight: 800; letter-spacing: .18em;
  color: var(--mint); opacity: .85;
}
.stat-grid { margin-top: 24px; }

/* Compact the Company / BTS stats block so it fits in one viewport */
#company { padding-top: 84px; padding-bottom: 78px; }
#company .section-title { font-size: clamp(1.75rem, 3.1vw, 2.6rem); }
#company .section-sub { margin-top: 14px; }
#company .scale-label { margin-top: 30px; }
#company .stat-grid { margin-top: 18px; gap: 16px; }
#company .stat { padding: 20px 24px; border-radius: 18px; }
#company .stat-num { font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
#company .pop-note { margin-top: 24px; }
/* Keep the long "Voice leader (TeleGeography 2026)" label on one line across the 4-col desktop grid */
@media (min-width: 1025px) {
  .stat-label-1line { white-space: nowrap; font-size: clamp(.66rem, 1.05vw, .82rem); letter-spacing: -0.005em; }
}

/* ============ Leadership ============ */
.leader-card {
  margin-top: 70px; display: flex; gap: 44px; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: 26px; padding: 44px 48px;
  box-shadow: var(--shadow-lg);
}
.leader-card .eyebrow { color: #0a9d5c; opacity: 1; }
.leader-avatar {
  flex: none; width: 158px; height: 158px; border-radius: 28px;
  position: relative; overflow: hidden;
  box-shadow: 0 18px 40px -14px rgba(11,23,51,.4);
  border: 1px solid var(--line);
}
.leader-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.leader-mono {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--mint), var(--teal));
  font-size: 2.8rem; font-weight: 800; color: var(--navy-deep);
}
.leader-avatar.is-mono .leader-mono { display: flex; }
.leader-info h3 { font-size: 1.7rem; font-weight: 800; margin: 4px 0 2px; color: var(--navy); }
.leader-role { color: #0a9d5c; font-weight: 700; font-size: .98rem; margin-bottom: 12px; }
.leader-bio { color: var(--muted); max-width: 640px; font-size: .98rem; }
.leader-link {
  display: inline-block; margin-top: 16px; font-weight: 800; font-size: .92rem;
  color: #0a9d5c; border-bottom: 2px solid rgba(91,228,142,.45);
  transition: color .2s ease, border-color .2s ease;
}
.leader-link:hover { color: var(--navy); border-color: var(--navy); }

/* ============ News ============ */
.news-grid { margin-top: 46px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-date {
  align-self: flex-start; font-family: var(--mono); font-size: .76rem; font-weight: 600;
  color: #0a9d5c; background: rgba(91,228,142,.14); border-radius: 999px;
  padding: 5px 14px; margin-bottom: 18px;
}
.news-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy); line-height: 1.35; margin-bottom: 10px; }
.news-card p { font-size: .93rem; color: var(--muted); flex: 1; }
.news-link { margin-top: 18px; font-weight: 800; font-size: .92rem; color: #0a9d5c; }
.news-link:hover { color: var(--navy); }

/* ============ FAQ ============ */
.faq-wrap { max-width: 860px; }
.faq-list { margin-top: 44px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font); font-size: 1.12rem; font-weight: 800; color: var(--navy);
  padding: 24px 4px; transition: color .2s ease;
}
.faq-q:hover { color: #0a9d5c; }
.faq-q i {
  flex: none; width: 30px; height: 30px; border-radius: 10px; position: relative;
  background: rgba(91,228,142,.16); transition: transform .35s cubic-bezier(.22,.61,.36,1), background .2s ease;
}
.faq-q i::before, .faq-q i::after {
  content: ""; position: absolute; background: #0a9d5c; border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-q i::before { width: 12px; height: 2.4px; }
.faq-q i::after { width: 2.4px; height: 12px; transition: opacity .25s ease; }
.faq-item.open .faq-q i { transform: rotate(135deg); background: var(--mint); }
.faq-item.open .faq-q i::after { opacity: 0; }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.22,.61,.36,1);
}
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 44px 24px 4px; max-width: 720px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact-copy .checklist { margin-top: 26px; }
.contact-alt { margin-top: 30px; color: var(--muted); }
.contact-alt a { color: #0a9d5c; font-weight: 700; border-bottom: 2px solid rgba(91,228,142,.4); }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  padding: 42px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { font-size: .85rem; font-weight: 700; color: var(--navy); display: flex; flex-direction: column; gap: 7px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font); font-size: .95rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #FAFCFB; transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%; resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(91,228,142,.18);
}
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }

/* ============ Footer ============ */
.footer { background: var(--navy-deeper); color: #fff; padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand p { color: var(--muted-light); font-size: .92rem; margin-top: 18px; max-width: 300px; }
.footer-col h4 { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted-light); font-size: .93rem; padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem; color: var(--muted-light); letter-spacing: .04em;
}

/* ============ Brand imagery (high-res renders as section art) ============ */
.ai-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.chat-demo { position: relative; z-index: 2; }

/* Globe behind the Company / BTS section */
#company { position: relative; overflow: hidden; }
.section-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
#company .container { position: relative; z-index: 1; }
.company-globe { object-position: center right; opacity: .9; }
.company-veil {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(11,23,51,.78) 38%, rgba(11,23,51,.35) 100%);
}

/* Wave-lines ambiance behind the Voice AI section */
#ai { position: relative; overflow: hidden; }
.ai-lines { opacity: .5; object-position: center bottom; }
#ai .container { position: relative; z-index: 1; }

/* Wave banner behind the closing CTA */
.cta-band .section-bg { opacity: .85; object-position: center right; }
.cta-veil {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 0%, rgba(11,23,51,.6), rgba(7,15,36,.82));
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0; transform: translateY(30px); filter: blur(10px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1), filter .8s ease;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
[data-prlx] { will-change: transform; }
.tilt-active { transition: none !important; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .42s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .marquee-track { animation: none; }
  .scroll-cue span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .card-grid.five { grid-template-columns: repeat(3, 1fr); }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .ai-grid, .dev-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .case-card { grid-template-columns: 1fr; padding: 50px 40px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .hero { padding: 130px 0 80px; }
  .leader-card { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 26px; }
  .arch { margin-top: 48px; }
  .panel { padding: 36px 26px; top: 90px; min-height: 0; }
  .panel-num { right: 14px; }
  .statement { padding: 100px 0; }
  .cta-band { padding: 100px 0; }
  .glass-accent { display: none; }
  .ai-infinity { width: 128%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .card-grid.five, .card-grid.three { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tab-panel { padding: 32px 26px 200px; }
  .tab-copy { max-width: 100%; }
  .tab-img { width: 100%; height: 200px; top: auto; bottom: 0; object-position: center; -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent); mask-image: linear-gradient(0deg, #000 30%, transparent); }
  .case-card { padding: 40px 26px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: 14px; }
  .lang-toggle { margin-left: auto; }
  .nav.menu-open { background: #fff; box-shadow: 0 20px 50px -20px rgba(11,23,51,.3); }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 10px 28px 24px;
    box-shadow: 0 30px 50px -20px rgba(11,23,51,.3);
  }
  .nav.menu-open .nav-links a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ============ Footer legal links (bottom-right) ============ */
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--muted-light); transition: color .2s ease; }
.footer-legal a:hover { color: var(--mint); }

/* ============ Legal / Privacy pages ============ */
html[data-lang-view="en"] .only-es { display: none !important; }
html[data-lang-view="es"] .only-en { display: none !important; }

.legal-nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.legal-nav-inner { max-width: 900px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 18px; }
.legal-nav .brand-logo { height: 34px; width: auto; display: block; }
.legal-nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.legal-nav .lang-toggle { background: rgba(11,23,51,.06); border-color: rgba(11,23,51,.15); }
.legal-nav .lang-toggle span { color: var(--muted); }
.legal-nav .lang-toggle span.on { background: var(--navy); color: #fff; }

.legal-wrap { max-width: 820px; margin: 0 auto; padding: 64px 28px 90px; }
.legal-doc h1 { font-size: clamp(2rem, 4.2vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.12; }
.legal-updated { color: var(--muted); font-size: .95rem; margin: 10px 0 36px; }
.legal-doc h2 { font-size: 1.28rem; font-weight: 700; color: var(--navy); margin: 40px 0 12px; }
.legal-doc p { color: var(--muted); line-height: 1.75; margin: 0 0 16px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 22px; color: var(--muted); line-height: 1.75; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc a { color: #0a8f4d; text-decoration: underline; }
.legal-doc strong { color: var(--ink); font-weight: 700; }
.legal-card { background: var(--bg-tint); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 0 0 18px; }
.legal-card p { margin: 0 0 6px; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-copy { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }

.legal-footer { background: var(--navy-deep); color: var(--muted-light); }
.legal-footer-inner { max-width: 820px; margin: 0 auto; padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: .85rem; }
.legal-footer-links { display: flex; gap: 20px; }
.legal-footer-links a { color: var(--muted-light); transition: color .2s ease; }
.legal-footer-links a:hover { color: var(--mint); }
@media (max-width: 720px) {
  .legal-footer-inner { flex-direction: column; align-items: flex-start; }
}
