/* ============================================================
   Maverick Ventures — Design System
   Aesthetic: cream/gradient grounds, bold geometric type,
   colorful color-blocked shapes, photos in shapes.
   ============================================================ */

:root {
  /* ---- palette (tweakable) ---- */
  --cream-0: #fbf9f3;   /* page */
  --cream-1: #f4efe4;   /* alt section */
  --cream-2: #efe8d8;
  --ink: #15141b;
  --ink-2: #423f4d;
  --ink-3: #6f6b7a;
  --line: rgba(21,20,27,.10);

  --c-purple: #7c5cff;
  --c-green:  #1fae7a;
  --c-orange: #ff7a3d;
  --c-yellow: #ffc24b;
  --c-pink:   #ff6b9d;
  --c-blue:   #4d6dfc;

  --accent: var(--c-blue);
  --accent-ink: #ffffff;

  /* ---- type ---- */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* ---- radii / shadow ---- */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-xl: 48px;
  --shadow-soft: 0 24px 60px -28px rgba(21,20,27,.30);
  --shadow-card: 0 18px 44px -26px rgba(21,20,27,.28);

  /* ---- motion ---- */
  --float-mult: 1;        /* animation intensity */
  --reveal-dist: 26px;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream-0);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; margin: 0; letter-spacing: -.02em; line-height: 1.04; }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-green);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px; border-radius: 3px;
  background: currentColor;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --pad-y: 16px; --pad-x: 28px;
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px;
  border: 0;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 14px 30px -12px color-mix(in oklab, var(--accent) 70%, transparent);
}
.btn-primary:hover { box-shadow: 0 20px 40px -12px color-mix(in oklab, var(--accent) 75%, transparent); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 22px;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--cream-0) 82%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.scrolled .nav-inner { padding-block: 14px; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.55rem;
  letter-spacing: -.04em; display: inline-flex; align-items: center; gap: .15em;
}
.logo .dot { color: var(--accent); }
.logo .mark {
  width: 30px; height: 30px; margin-right: .4em; border-radius: 9px;
  display: inline-block; position: relative; overflow: hidden;
  background:
    conic-gradient(from 0deg, var(--c-orange) 0 25%, transparent 0 100%),
    linear-gradient(135deg, var(--c-purple), var(--c-purple));
}
.logo .mark::after {
  content:""; position:absolute; right:0; bottom:0; width:50%; height:50%;
  background: var(--c-green);
}
.logo .mark::before {
  content:""; position:absolute; left:0; bottom:0; width:50%; height:50%;
  background: var(--c-yellow); border-bottom-left-radius: 9px;
}
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  color: var(--ink-2); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0;
  background: var(--accent); border-radius: 2px; transition: width .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none; background: transparent; border: 0; width: 46px; height: 46px;
  border-radius: 12px; align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after {
  content:""; position:absolute; left:0; width:22px; height:2px; background: var(--ink); border-radius: 2px; transition: .3s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--cream-0);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gutter);
  transform: translateY(-100%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
body.menu-open .mobile-menu { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 9vw, 3.2rem);
  letter-spacing: -.03em; padding: 10px 0; color: var(--ink);
  opacity: 0; transform: translateY(14px); transition: .4s;
}
body.menu-open .mobile-menu a { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-menu a:nth-child(1){ transition-delay:.08s; }
body.menu-open .mobile-menu a:nth-child(2){ transition-delay:.14s; }
body.menu-open .mobile-menu a:nth-child(3){ transition-delay:.20s; }
body.menu-open .mobile-menu a:nth-child(4){ transition-delay:.26s; }
body.menu-open .mobile-menu a:nth-child(5){ transition-delay:.32s; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding-top: 26px; padding-bottom: clamp(60px, 9vw, 120px); }
.hero-mesh {
  position: absolute; inset: -10% -10% auto -10%; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 50% at 8% 12%, color-mix(in oklab, var(--c-orange) 38%, transparent), transparent 70%),
    radial-gradient(38% 48% at 30% 4%, color-mix(in oklab, var(--c-pink) 36%, transparent), transparent 70%),
    radial-gradient(42% 52% at 0% 60%, color-mix(in oklab, var(--c-purple) 30%, transparent), transparent 70%),
    radial-gradient(44% 50% at 92% 86%, color-mix(in oklab, var(--c-green) 22%, transparent), transparent 72%);
  filter: blur(20px) saturate(108%);
  opacity: .9;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  font-weight: 800;
  margin: 18px 0 0;
}
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content:""; position:absolute; left:-2%; right:-2%; bottom:.06em; height:.30em;
  background: color-mix(in oklab, var(--c-yellow) 90%, transparent); z-index:-1; border-radius: 4px;
  transform: scaleX(0); transform-origin: left; transition: transform .8s .5s cubic-bezier(.2,.8,.2,1);
}
.reveal.in .hero h1 .hl::after, .hero.in h1 .hl::after { transform: scaleX(1); }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-2);
  max-width: 30ch; margin-top: 24px; line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 46px); margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat strong {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem);
  display: block; line-height: 1;
}
.hero-stats .stat span { color: var(--ink-3); font-size: .9rem; font-weight: 500; }

/* hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / 1.04; }
.hero-photo {
  position: absolute; inset: 8% 6% 4% 10%;
  border-radius: 50% 50% 46% 46% / 52% 52% 48% 48%;
  overflow: hidden; box-shadow: var(--shadow-soft);
}
.blob-bg {
  position: absolute; inset: 4% 2% 0 6%;
  background: radial-gradient(120% 120% at 30% 20%, var(--c-green), color-mix(in oklab, var(--c-green) 60%, var(--c-blue)));
  border-radius: 50% 50% 46% 46% / 52% 52% 48% 48%;
  z-index: -1;
}
.float {
  position: absolute; will-change: transform;
  animation: floaty calc(6s / var(--float-mult)) ease-in-out infinite;
}
.float.f2 { animation-duration: calc(7.5s / var(--float-mult)); animation-direction: alternate-reverse; }
.float.f3 { animation-duration: calc(9s / var(--float-mult)); }
.float.f4 { animation-duration: calc(5.4s / var(--float-mult)); animation-direction: alternate-reverse; }
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(calc(-18px * var(--float-mult))) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .float { animation: none !important; }
}

/* geometric primitives */
.shape { position: absolute; }
.shape.circle { border-radius: 50%; }
.shape.semi-t { border-radius: 999px 999px 0 0; }
.shape.semi-r { border-radius: 0 999px 999px 0; }
.shape.tri { width: 0; height: 0; background: transparent !important; }

/* badge chip floating on hero */
.chip {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-card);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
}
.chip .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(var(--reveal-dist)); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; }
.section { padding-block: clamp(70px, 10vw, 130px); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-top: 16px; }
.section-head p { color: var(--ink-2); font-size: 1.12rem; margin-top: 18px; line-height: 1.6; max-width: 56ch; }
.section-head.center p { margin-inline: auto; }

/* ============================================================
   Marquee
   ============================================================ */
.marquee { overflow: hidden; padding-block: 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scrollx calc(28s / var(--float-mult)) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.marquee-item { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink-3); opacity: .65; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.marquee-item .gd { width: 14px; height: 14px; border-radius: 50%; }

/* ============================================================
   Services
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: #fff; border-radius: var(--r-lg); padding: 34px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.svc .ico-wrap { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 26px; position: relative; }
.svc h3 { font-size: 1.4rem; }
.svc p { color: var(--ink-2); margin-top: 12px; line-height: 1.55; }
.svc .more { margin-top: 22px; font-family: var(--font-display); font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.svc .more .arrow { transition: transform .25s; }
.svc:hover .more .arrow { transform: translateX(5px); }
.svc .corner { position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; opacity: .12; transition: transform .5s; }
.svc:hover .corner { transform: scale(1.5); }

/* ============================================================
   Process
   ============================================================ */
.process { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(40px,6vw,76px); overflow: hidden; position: relative; }
.process h2 { color: #fff; }
.process .section-head p { color: rgba(255,255,255,.7); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
.step { position: relative; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); margin-bottom: 22px; }
.step h3 { font-size: 1.3rem; color: #fff; }
.step p { color: rgba(255,255,255,.66); margin-top: 10px; line-height: 1.55; font-size: .98rem; }
.process .glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(80px); opacity: .5; z-index: 0; }

/* ============================================================
   Results / stats band
   ============================================================ */
.results-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.result-card { border-radius: var(--r-lg); padding: 40px 36px; color: #fff; position: relative; overflow: hidden; }
.result-card strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; display: block; }
.result-card span { display: block; margin-top: 14px; font-size: 1.05rem; opacity: .92; max-width: 22ch; }
.result-card .deco { position: absolute; right: -24px; bottom: -24px; width: 130px; height: 130px; opacity: .25; }

/* ============================================================
   Work / case studies
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.work-card .ph { aspect-ratio: 4/3; position: relative; }
.work-card image-slot { width: 100%; height: 100%; }
.work-card .body { padding: 26px 28px 30px; }
.work-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag { font-family: var(--font-display); font-weight: 600; font-size: .76rem; letter-spacing: .02em; padding: 6px 12px; border-radius: 100px; background: var(--cream-1); color: var(--ink-2); }
.work-card h3 { font-size: 1.35rem; }
.work-card .res { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.work-card .res b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.work-card .res small { color: var(--ink-3); font-size: .9rem; }

/* ============================================================
   Testimonial
   ============================================================ */
.quote { background: var(--cream-1); border-radius: var(--r-xl); padding: clamp(40px,6vw,80px); display: grid; grid-template-columns: auto 1fr; gap: clamp(30px,5vw,60px); align-items: center; position: relative; overflow: hidden; }
.quote .avatar { width: clamp(140px, 18vw, 220px); aspect-ratio: 1; }
.quote image-slot { width: 100%; height: 100%; }
.quote blockquote { margin: 0; }
.quote .mark { font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: .6; color: var(--accent); }
.quote q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 2.1rem); line-height: 1.28; letter-spacing: -.02em; quotes: none; display: block; margin-top: 14px; }
.quote .who { margin-top: 26px; }
.quote .who b { font-family: var(--font-display); font-weight: 700; }
.quote .who span { color: var(--ink-3); display: block; font-size: .95rem; margin-top: 2px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; border-radius: var(--r-xl); padding: clamp(48px,8vw,100px) clamp(30px,6vw,80px); overflow: hidden; text-align: center; background: linear-gradient(135deg, var(--c-purple), var(--c-blue)); color: #fff; }
.cta-band h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.2rem; margin-top: 18px; max-width: 46ch; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--ink); margin-top: 38px; box-shadow: 0 20px 50px -16px rgba(0,0,0,.4); }
.cta-band .shape { opacity: .9; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: #fff; border-top-left-radius: var(--r-xl); border-top-right-radius: var(--r-xl); margin-top: clamp(50px,8vw,90px); padding-block: clamp(56px,7vw,84px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer .blurb { color: rgba(255,255,255,.6); margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.footer h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: rgba(255,255,255,.82); transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer address { font-style: normal; color: rgba(255,255,255,.82); line-height: 1.7; }
.footer address a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: clamp(44px,6vw,68px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .9rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: .25s; }
.socials a:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .services-grid, .work-grid, .results-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right .btn-cta-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .quote { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 620px) {
  .services-grid, .work-grid, .results-grid, .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer .brand-col { grid-column: 1 / -1; }
  .hero-stats { gap: 22px; }
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal-hero { position: relative; padding-block: clamp(48px, 7vw, 92px) clamp(36px, 5vw, 60px); overflow: hidden; }
.legal-hero .hero-mesh { height: 160%; inset: -30% -10% auto -10%; }
.legal-hero .eyebrow { color: var(--c-purple); }
.legal-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; margin-top: 16px; }
.legal-hero .updated { color: var(--ink-3); margin-top: 18px; font-weight: 500; font-size: .98rem; }
.legal-hero .legal-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.legal-tabs a { font-family: var(--font-display); font-weight: 600; font-size: .92rem; padding: 10px 18px; border-radius: 100px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: .25s; }
.legal-tabs a:hover { border-color: var(--ink); transform: translateY(-2px); }
.legal-tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; padding-bottom: clamp(50px, 8vw, 100px); }
.legal-toc { position: sticky; top: 96px; }
.legal-toc h4 { font-family: var(--font-display); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-3); font-size: .92rem; font-weight: 500; line-height: 1.4; transition: .2s; }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.active { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }

.legal-body { max-width: 760px; }
.legal-body .intro { font-size: 1.18rem; line-height: 1.65; color: var(--ink-2); padding-bottom: 14px; }
.legal-body section { scroll-margin-top: 96px; padding-top: 28px; }
.legal-body h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; margin: 0 0 16px; display: flex; align-items: baseline; gap: 12px; }
.legal-body h2 .n { font-size: .9rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.legal-body h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; margin: 26px 0 10px; }
.legal-body p { color: var(--ink-2); line-height: 1.72; margin-bottom: 16px; font-size: 1.02rem; }
.legal-body ul, .legal-body ol { color: var(--ink-2); line-height: 1.72; margin: 0 0 18px; padding-left: 22px; }
.legal-body li { margin-bottom: 10px; }
.legal-body li::marker { color: var(--accent); }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-body .callout { background: var(--cream-1); border-radius: var(--r-md); padding: 24px 26px; margin: 22px 0; border: 1px solid var(--line); }
.legal-body .callout p:last-child { margin-bottom: 0; }
.legal-contact { margin-top: 40px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 34px 36px; }
.legal-contact h3 { font-family: var(--font-display); color: #fff; font-size: 1.3rem; margin: 0 0 12px; }
.legal-contact address { font-style: normal; line-height: 1.7; color: rgba(255,255,255,.82); }
.legal-contact a { color: #fff; }
.legal-disclaimer { margin-top: 30px; font-size: .88rem; color: var(--ink-3); line-height: 1.6; }

@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}
