/* ============ Tokens ============ */
:root {
  --blue-50:  #EEF5FF;
  --blue-100: #DCEAFF;
  --blue-200: #B7D4FF;
  --blue-300: #7AB1FF;
  --blue-400: #3F8DFF;
  --blue-500: #1B7CF7;   /* primary */
  --blue-600: #0E61D6;
  --blue-700: #0B4FB0;
  --blue-800: #0A3F8A;
  --blue-900: #0A2A60;

  --ink:      #0A1430;
  --ink-2:    #1B2541;
  --muted:    #5A6A85;
  --line:     #E4ECF7;
  --soft:     #F4F8FF;

  --shadow-sm: 0 1px 2px rgba(10,20,48,.06), 0 2px 6px rgba(10,20,48,.04);
  --shadow-md: 0 8px 24px rgba(10,42,96,.10), 0 2px 6px rgba(10,42,96,.06);
  --shadow-lg: 0 28px 60px rgba(10,42,96,.20), 0 8px 18px rgba(10,42,96,.08);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --max: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; color: var(--muted); text-wrap: pretty; }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

/* ============ Section head ============ */
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 24px;
}
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  margin: 20px 0 14px;
  line-height: 1.05;
}
.section-head p {
  font-size: 18px;
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.0);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(10,20,48,.02);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  height: 38px;
  display: flex;
  align-items: center;
}
.brand-mark img { height: 30px; width: auto; display: block; }
.brand-word {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-links {
  margin-left: 24px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
}
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  opacity: .85;
}
.nav-links a:hover { opacity: 1; color: var(--blue-600); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
  color: white;
  box-shadow: 0 6px 18px rgba(27,124,247,.32), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(27,124,247,.4); }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--blue-50); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(160deg, #1A6BE0 0%, #1F7CF6 38%, #2E8CFF 70%, #4FA0FF 100%);
  color: white;
  overflow: hidden;
  padding: 56px 0 120px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.hero-blob-1 {
  background: radial-gradient(circle, #7AB1FF 0%, transparent 60%);
  top: -180px;
  right: -150px;
}
.hero-blob-2 {
  background: radial-gradient(circle, #0B4FB0 0%, transparent 65%);
  bottom: -250px;
  left: -150px;
  opacity: .7;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-cta { justify-content: center; }
.hero-showcase {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 0 16px;
}
.hero-showcase img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(6,26,70,.35));
  -webkit-mask-image: radial-gradient(125% 135% at 50% 38%, #000 58%, transparent 90%);
  mask-image: radial-gradient(125% 135% at 50% 38%, #000 58%, transparent 90%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6EF0A8;
  box-shadow: 0 0 0 4px rgba(110,240,168,.22);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(110,240,168,0); }
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  color: #fff;
  margin: 0 0 22px;
  letter-spacing: -0.03em;
}
.grad-text {
  background: linear-gradient(95deg, #B7DCFF 0%, #FFFFFF 50%, #B7DCFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 1.4vw, 19px);
  color: rgba(255,255,255,.88);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  background: #0A1430;
  color: #fff;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 6px 18px rgba(8,20,48,.35);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8,20,48,.5); }
.store-badge svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.store-badge small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.store-badge strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-trust {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatars { display: flex; }
.avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(10,20,48,.25);
}
.avatars span:first-child { margin-left: 0; }
.hero-trust-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
.hero-trust-text strong { font-size: 17px; font-weight: 800; color: #fff; }
.hero-trust-text span { color: rgba(255,255,255,.85); font-size: 13.5px; }

/* Hero showcase handled inline above */

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 1;
  display: block;
}

/* ============ STATS ============ */
.stats {
  position: relative;
  margin-top: -40px;
  z-index: 2;
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  gap: 24px;
  position: relative;
  z-index: 2;
}
.stat {
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-lbl {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}

/* ============ FEATURES ============ */
.features {
  padding: 120px 0 80px;
}
.feature-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.feat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--blue-50) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .25s ease;
}
.feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.feat:hover::before { opacity: 1; }
.feat > * { position: relative; }
.feat-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--c) 12%, white);
  color: var(--c);
  margin-bottom: 20px;
}
.feat-ic svg { width: 28px; height: 28px; }
.feat h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feat p {
  font-size: 15px;
  line-height: 1.55;
}

/* ============ SCREEN GALLERY ============ */
.gallery {
  padding: 60px 0 90px;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 55%, #EAF2FF 100%);
  overflow: hidden;
}
.gallery-track {
  display: flex;
  gap: 0;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 8px auto 28px;
  padding: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 24px;
  box-shadow: 0 28px 56px rgba(10,42,96,.20), 0 6px 14px rgba(10,42,96,.08);
}
.gallery-track::-webkit-scrollbar { display: none; }
.tile {
  flex: 0 0 auto;
  width: clamp(220px, 24vw, 300px);
  margin: 0;
  scroll-snap-align: center;
  background: #1F7CF6;
}
.tile img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}
.gallery-dots {
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-200));
}

/* ============ VOICES ============ */
.voices {
  padding: 100px 0;
  background: #fff;
}
.voice-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.voice:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.voice-stars {
  color: #F2A93B;
  font-size: 17px;
  letter-spacing: 2px;
}
.voice blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 500;
  text-wrap: pretty;
}
.voice figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}
.voice figcaption .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.voice figcaption strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.voice figcaption small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

/* ============ CTA BAND ============ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0A3F8A 0%, #1A6BE0 60%, #2A8BFF 100%);
  color: white;
  padding: 100px 0 110px;
  text-align: center;
  isolation: isolate;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cta-blob {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(100px);
  background: radial-gradient(circle, #4FA0FF 0%, transparent 65%);
  top: -300px;
  right: -200px;
  opacity: .55;
}
.cta-blob-2 {
  background: radial-gradient(circle, #0A2A60 0%, transparent 65%);
  top: auto;
  bottom: -300px;
  left: -200px;
  right: auto;
  opacity: .7;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}
.cta-inner h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  color: white;
  line-height: 1.05;
  margin-bottom: 18px;
}
.cta-inner p {
  font-size: 18px;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
}
.cta-inner .hero-cta {
  justify-content: center;
}
.cta-contact {
  margin-top: 28px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
}
.cta-contact a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px dashed rgba(255,255,255,.4);
  padding-bottom: 1px;
}
.cta-contact a:hover { border-bottom-color: rgba(255,255,255,1); }

/* ============ FAQ ============ */
.faq {
  padding: 100px 0;
  background: var(--soft);
}
.faq-head {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
  padding: 0 24px;
}
.faq-head h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  margin: 18px 0 0;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  padding: 20px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.chev {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-50);
  position: relative;
  flex-shrink: 0;
  transition: background .2s ease, transform .25s ease;
}
.chev::before, .chev::after {
  content: "";
  position: absolute;
  background: var(--blue-600);
  top: 50%;
  left: 50%;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.chev::before { width: 10px; height: 2px; }
.chev::after { width: 2px; height: 10px; transition: transform .25s ease; }
.faq details[open] .chev::after { transform: translate(-50%, -50%) scaleY(0); }
.faq details[open] .chev { background: var(--blue-100); }
.faq details p {
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.faq details p a { color: var(--blue-600); font-weight: 600; }

/* ============ FOOTER ============ */
.footer {
  background: #07172E;
  color: rgba(255,255,255,.7);
  padding: 80px 0 30px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
}
.footer-brand p {
  color: rgba(255,255,255,.65);
  font-size: 15px;
  max-width: 320px;
  margin-top: 16px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-cols h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-cols a, .footer-cols span {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: 14.5px;
  padding: 5px 0;
  transition: color .15s ease;
}
.footer-cols a:hover { color: white; }
.footer-base {
  max-width: var(--max);
  margin: 60px auto 0;
  padding: 26px 28px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
}

.footer-logo { display: block; }
.footer-logo img { height: 88px; width: auto; display: block; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; margin-left: 16px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-showcase { max-width: 940px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 26px 20px; gap: 26px 16px; }
  .stat + .stat::before { display: none; }
  .voice-grid { grid-template-columns: 1fr; max-width: 540px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .tile { width: clamp(220px, 48vw, 280px); }
  .section-head { margin-bottom: 42px; }
  .features { padding: 90px 0 70px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-inner { padding: 11px 18px; gap: 10px; }
  .brand-word { font-size: 19px; }
  .brand-mark { height: 34px; padding: 5px 8px; }
  .brand-mark img { height: 21px; }
  .hero { padding: 36px 0 70px; }
  .hero-inner { padding: 24px 22px 12px; }
  .hero-cta { gap: 10px; }
  .store-badge { padding: 9px 14px 9px 12px; }
  .store-badge strong { font-size: 15px; }
  .store-badge svg { width: 24px; height: 24px; }
  .hero-trust { margin-top: 26px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feat { padding: 24px 22px; }
  .gallery { padding: 50px 0 70px; }
  .gallery-track { padding: 0 16px; }
  .tile { width: 64vw; }
  .voices { padding: 70px 0; }
  .cta-band { padding: 72px 0 80px; }
  .faq { padding: 70px 0; }
  .faq summary { font-size: 16px; }
  .footer { padding: 60px 0 26px; }
  .footer-logo img { height: 74px; }
  .footer-base { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 33px; }
  .hero-sub { font-size: 16px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .stat-num { font-size: 27px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ============ LEGAL PAGES ============ */
.legal-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0A3F8A 0%, #1A6BE0 45%, #2E8CFF 80%, #4FA0FF 100%);
  color: #fff;
  padding: 64px 0 84px;
  isolation: isolate;
}
.legal-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.legal-hero-bg .hero-blob-1 { top: -220px; right: -160px; }
.legal-hero-bg .hero-blob-2 { bottom: -260px; left: -180px; }
.legal-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.legal-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: 22px;
}
.legal-crumb:hover { color: #fff; }
.legal-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  color: #fff;
  line-height: 1.08;
  margin: 0 0 16px;
}
.legal-hero .eyebrow { margin-bottom: 18px; }
.legal-hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}
.legal-hero-links {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.legal-hero-links a {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  transition: background .2s ease, border-color .2s ease;
}
.legal-hero-links a.is-active,
.legal-hero-links a:hover {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.4);
}

.legal-body {
  background: var(--soft);
  padding: 64px 0 100px;
}
.legal-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.legal-toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: toc;
}
.legal-toc a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 10px;
  border-radius: 10px;
  line-height: 1.35;
  transition: background .15s ease, color .15s ease;
}
.legal-toc a:hover { background: var(--blue-50); color: var(--blue-600); }

.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 48px 52px 56px;
  box-shadow: var(--shadow-sm);
}
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.legal-content > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 18px;
}
.legal-content section { margin-top: 44px; scroll-margin-top: 100px; }
.legal-content section:first-of-type { margin-top: 0; }
.legal-content h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-700);
  margin: 26px 0 10px;
  scroll-margin-top: 100px;
}
.legal-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 14px;
}
.legal-content p strong { color: var(--ink-2); }
.legal-content ul, .legal-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.legal-content li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}
.legal-content li strong { color: var(--ink-2); }
.legal-content li ul {
  margin: 8px 0 0;
  gap: 7px;
}
.legal-content a { color: var(--blue-600); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-contact-card {
  margin-top: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.legal-contact-card p { margin: 0 0 6px; font-size: 15px; }
.legal-contact-card p:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .legal-shell { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-content { padding: 36px 26px 44px; }
}
@media (max-width: 560px) {
  .legal-hero { padding: 48px 0 64px; }
  .legal-body { padding: 44px 0 70px; }
  .legal-content { padding: 28px 18px 36px; }
  .legal-content h2 { font-size: 21px; }
}
