/* WayInTech: a light, warm studio frame in the brand teal; each product section wears its own colours. */
@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/jakarta.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --paper: #f6f5f0; --paper-2: #efede5; --ink: #0e1714; --ink-2: #33423d; --muted: #66746f; --line: #e2dfd5;
  --teal: #40cbae; --teal-ink: #0d7a65; --teal-deep: #0b2f29;
  --people: #ff5f8a; --money: #2f5bea; --markets: #11a88a;
  --radius: 28px; --shadow: 0 30px 80px -30px rgba(14, 23, 20, .35);
  --display: 'Bricolage', 'Segoe UI', system-ui, sans-serif; --text: 'Jakarta', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.sprite { display: none; }
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15.5px/1 var(--text); text-decoration: none; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 18px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-teal { background: var(--teal); color: var(--teal-deep); box-shadow: 0 12px 30px -12px rgba(64, 203, 174, .8); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid transparent; }
.text-link:hover { border-color: currentColor; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s ease, box-shadow .25s ease; }
.nav.scrolled { background: rgba(246, 245, 240, .86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -.02em; }
.brand img { width: 40px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav-cta { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s ease; }
.menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: 56px; display: grid; min-width: 220px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.menu-panel a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: var(--paper); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--teal-ink); font: 700 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(64, 203, 174, .2); }
.eyebrow-light { color: var(--teal); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: .98; font-weight: 800; }
.section-title { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; font-weight: 750; max-width: 16ch; }
.w-people { color: var(--people); } .w-money { color: var(--money); } .w-markets { color: var(--markets); }
.lede { max-width: 34em; margin: 26px 0 34px; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 48px 0 110px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(64, 203, 174, .28), transparent 65%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%); opacity: .55; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; min-height: 560px; }
.hero-stack { position: relative; aspect-ratio: 1 / .9; }
.stack-card { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(14, 23, 20, .08); animation: float 9s ease-in-out infinite; }
.stack-card > img { width: 100%; }
.stack-card figcaption { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink); font: 700 13px/1 var(--text); box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .4); }
.stack-card figcaption img { width: 20px; height: 20px; border-radius: 6px; object-fit: contain; }
.c-synergy { width: 88%; left: 12%; top: 0; transform: rotate(2deg); background: #1b0f2a; }
.c-track { width: 64%; left: 0; top: 47%; animation-delay: -3s; transform: rotate(-3deg); }
.c-stocklens { width: 44%; right: -2%; top: 40%; animation-delay: -6s; transform: rotate(4deg); background: #0a1a22; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- product overview ---------- */
.products { padding: 20px 0 110px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.product-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 340px; padding: 26px; border-radius: var(--radius); text-decoration: none; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; filter: blur(30px); opacity: .55; pointer-events: none; }
.pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.pc-top img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; }
.badge { padding: 7px 12px; border-radius: 999px; font: 700 12px/1 var(--text); letter-spacing: .02em; }
.pc-name { font: 800 34px/1 var(--display); letter-spacing: -.03em; }
.pc-line { font-size: 16.5px; opacity: .85; max-width: 24ch; }
.pc-meta { margin-top: auto; font-size: 13.5px; font-weight: 600; opacity: .7; }
.pc-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.pc-go .i { transition: transform .2s ease; }
.product-card:hover .pc-go .i { transform: translateX(4px); }
.pc-synergy { background: linear-gradient(150deg, #2a1240, #150b22 70%); color: #f6f0ff; }
.pc-synergy::after { background: linear-gradient(135deg, #ff8a5c, #ff4f8b, #b26bff); }
.pc-synergy .badge { background: rgba(255, 138, 92, .18); color: #ffb79c; }
.pc-synergy .pc-top img { background: rgba(255, 255, 255, .08); padding: 6px; }
.pc-track { background: linear-gradient(150deg, #ffffff, #eef2ff); color: #111827; border: 1px solid #dde3f6; }
.pc-track::after { background: #2f5bea; opacity: .25; }
.pc-track .badge { background: #e6f6ef; color: #0b7a52; }
.pc-stocklens { background: linear-gradient(150deg, #0c2733, #07141b 70%); color: #eef8fb; }
.pc-stocklens::after { background: #2fd6b0; opacity: .35; }
.pc-stocklens .badge { background: rgba(47, 214, 176, .15); color: #6fe8cb; }

/* ---------- product sections ---------- */
.product { position: relative; margin: 0 16px; padding: 110px 0; border-radius: 40px; overflow: hidden; }
.product + .product { margin-top: 20px; }
.product-grid-2 { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 64px; }
.product-grid-2.flip .product-copy { order: 2; }
.tag { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 800 18px/1 var(--display); letter-spacing: -.01em; }
.tag img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; }
.product h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; font-weight: 750; }
.product-lede { margin: 20px 0 24px; font-size: 18px; opacity: .85; max-width: 32em; }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks .i { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.facts span { padding: 7px 13px; border-radius: 999px; font: 700 13px/1 var(--text); }
.fine { margin: 22px 0 0; font-size: 13.5px; opacity: .7; }
.shots { position: relative; }
.shot { border-radius: 20px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .75); }
.shots:not(.single) { padding-bottom: 22%; }
.shot-main { width: 100%; }
.shot-a, .shot-b { position: absolute; width: 52%; border: 4px solid rgba(255, 255, 255, .1); }
.shot-a { left: -6%; bottom: 0; }
.shot-b { right: -4%; bottom: 6%; }

.theme-synergy { background: radial-gradient(900px 600px at 85% 0%, rgba(178, 107, 255, .35), transparent 60%), radial-gradient(800px 600px at 0% 100%, rgba(255, 95, 138, .28), transparent 60%), #150b22; color: #f6f0ff; }
.theme-synergy .ticks .i { background: rgba(255, 138, 92, .18); color: #ff9f7c; }
.theme-synergy .facts span { background: rgba(255, 255, 255, .08); }
.btn-synergy { background: linear-gradient(100deg, #ff8a5c, #ff4f8b 55%, #b26bff); color: #fff; box-shadow: 0 14px 34px -14px rgba(255, 79, 139, .9); }

.theme-track { background: radial-gradient(800px 500px at 100% 0%, rgba(47, 91, 234, .14), transparent 60%), linear-gradient(180deg, #f8faff, #eef2fc); color: #111827; border: 1px solid #e0e6f5; }
.theme-track .ticks .i { background: #e8eeff; color: #2f5bea; }
.theme-track .facts span { background: #fff; border: 1px solid #dfe5f5; color: #1e3a8a; }
.btn-track { background: #2f5bea; color: #fff; box-shadow: 0 14px 34px -14px rgba(47, 91, 234, .9); }
.theme-track .shot { box-shadow: 0 40px 90px -40px rgba(30, 58, 138, .45); }

.theme-stocklens { background: radial-gradient(800px 600px at 90% 10%, rgba(47, 214, 176, .2), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(85, 185, 255, .14), transparent 60%), #07141b; color: #eef8fb; }
.theme-stocklens .ticks .i { background: rgba(47, 214, 176, .14); color: #45dbb8; }
.theme-stocklens .facts span { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.theme-stocklens .fine a { color: #6fe8cb; }
.btn-stocklens { background: #2fd6b0; color: #052a22; box-shadow: 0 14px 34px -14px rgba(47, 214, 176, .9); }

/* ---------- studio ---------- */
.studio { padding: 130px 0 110px; }
.studio-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; }
.studio-head .eyebrow { grid-column: 1 / -1; }
.studio-lede { margin: 0; color: var(--ink-2); font-size: 18px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.principle { padding: 28px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.principle .i { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: #e3f7f2; color: var(--teal-ink); }
.principle h3 { margin: 22px 0 8px; font-size: 21px; font-weight: 750; letter-spacing: -.02em; }
.principle p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- contact ---------- */
.contact { padding: 0 0 110px; }
.contact-card { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; padding: 72px 64px; border-radius: 40px; color: #eefaf6; overflow: hidden;
  background: radial-gradient(600px 420px at 100% 0%, rgba(64, 203, 174, .32), transparent 60%), radial-gradient(500px 380px at 0% 100%, rgba(64, 203, 174, .14), transparent 60%), var(--teal-deep); }
.contact-card::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(90deg, #000, transparent 60%); pointer-events: none; }
.contact-main, .contact-topics { position: relative; }
.contact h2 { font-size: clamp(44px, 6vw, 76px); line-height: .98; font-weight: 800; }
.contact-lede { margin: 20px 0 32px; max-width: 30em; opacity: .82; font-size: 18px; }
/* Email: one split pill, address on the left, copy on the right. */
.email-pill { display: inline-flex; align-items: stretch; border-radius: 999px; background: var(--teal); box-shadow: 0 16px 40px -14px rgba(64, 203, 174, .75); }
.email-link { display: inline-flex; align-items: center; gap: 12px; padding: 0 26px 0 24px; min-height: 60px; color: var(--teal-deep); font: 750 19px/1 var(--text); text-decoration: none; border-radius: 999px 0 0 999px; }
.email-link:hover { background: rgba(255, 255, 255, .14); }
.email-copy { position: relative; display: grid; place-items: center; width: 62px; border: 0; border-left: 1.5px solid rgba(11, 47, 41, .18); border-radius: 0 999px 999px 0; background: transparent; color: var(--teal-deep); cursor: pointer; }
.email-copy:hover { background: rgba(255, 255, 255, .14); }
.email-copy .i { width: 21px; height: 21px; grid-area: 1 / 1; transition: opacity .2s ease, transform .2s ease; }
.email-copy .ic-done { opacity: 0; transform: scale(.5); }
.email-copy.copied .ic-copy { opacity: 0; transform: scale(.5); }
.email-copy.copied .ic-done { opacity: 1; transform: none; }
.copy-tip { position: absolute; bottom: calc(100% + 10px); left: 50%; translate: -50% 4px; padding: 6px 10px; border-radius: 9px; background: #fff; color: var(--teal-deep);
  font: 700 12.5px/1 var(--text); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease, translate .15s ease; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.copy-tip::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top-color: #fff; }
.email-copy:hover .copy-tip, .email-copy:focus-visible .copy-tip, .email-copy.copied .copy-tip { opacity: 1; translate: -50% 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.topics-title { margin: 0 0 14px; color: var(--teal); font: 700 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; }
.contact-topics { display: grid; gap: 10px; }
.topic { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 20px; text-decoration: none;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.topic:hover { background: rgba(255, 255, 255, .1); border-color: rgba(64, 203, 174, .55); transform: translateX(4px); }
.topic-icon { width: 44px; height: 44px; padding: 6px; border-radius: 13px; object-fit: contain; background: rgba(255, 255, 255, .08); }
.topic-icon.t-synergy { background: #1d0f2d; } .topic-icon.t-track { background: #fff; } .topic-icon.t-wit { background: #0e1714; padding: 9px; }
.topic strong { display: block; font: 750 17px/1.2 var(--display); letter-spacing: -.01em; }
.topic span span { display: block; margin-top: 3px; font-size: 14.5px; opacity: .72; }
.topic > .i { color: var(--teal); transition: transform .2s ease; }
.topic:hover > .i { transform: translateX(3px); }

/* ---------- footer ---------- */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 28px; }
.footer-brand p { margin: 16px 0 0; color: var(--muted); max-width: 26ch; font-size: 15px; }
.footer-brand .brand img { width: 34px; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h3 { margin-bottom: 4px; font: 700 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-col a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.footer-col a:hover { color: var(--teal-ink); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-base p { margin: 0; }

/* ---------- reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.product-grid .reveal:nth-child(2), .principles .reveal:nth-child(2) { transition-delay: .08s; }
.product-grid .reveal:nth-child(3), .principles .reveal:nth-child(3) { transition-delay: .16s; }
.principles .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .product-grid-2 { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 40px; }
  .hero-stack { max-width: 640px; }
  .product-grid-2.flip .product-copy { order: 0; }
  .product { padding: 80px 0; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .studio-head { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; gap: 40px; padding: 56px 36px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .menu { display: block; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .hero { padding: 24px 0 72px; }
  .product { margin: 0 8px; border-radius: 28px; padding: 64px 0; }
  .principles { grid-template-columns: 1fr; }
  .contact-card { padding: 44px 22px; border-radius: 28px; }
  .topic { padding: 12px 14px 12px 12px; gap: 12px; }
  .email-pill { display: flex; }
  .email-link { flex: 1; justify-content: center; padding: 0 16px; font-size: 16.5px; min-height: 56px; }
  .email-copy { width: 58px; }
  .btn { white-space: normal; text-align: center; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stack-card { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .product-card, .topic { transition: none; }
}

/* ---------- 404 ---------- */
.notfound { width: min(760px, 100% - 40px); margin: 0 auto; padding: 14vh 0; }
.notfound h1 { margin-top: 48px; font-size: clamp(38px, 6vw, 64px); }

/* Synergy's card is behind the others: label it at the top so it stays visible. */
.c-synergy figcaption { top: 12px; bottom: auto; }
@media (max-width: 560px) { .hero-stack { aspect-ratio: 1 / .78; } .eyebrow { align-items: flex-start; line-height: 1.4; } }

.c-synergy figcaption img { background: #1d0f2d; padding: 2px; }

/* ---------- legal pages (privacy, terms, notices) ---------- */
.legal-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: radial-gradient(700px 300px at 85% 0%, rgba(64, 203, 174, .16), transparent 70%); }
.legal-hero h1 { font-size: clamp(42px, 6vw, 72px); }
.legal-meta { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.legal-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; align-items: start; padding: 48px 0 100px; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; max-height: calc(100vh - 120px); overflow: auto; }
.toc a { padding: 7px 12px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.toc a:hover { background: var(--paper-2); color: var(--ink); }
.prose { max-width: 74ch; }
.prose h2 { margin: 52px 0 14px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 750; letter-spacing: -.02em; scroll-margin-top: 96px; }
.prose h3 { margin: 26px 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.3em; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--teal-ink); }
.prose a { color: var(--teal-ink); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.summary { padding: 26px 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -35px rgba(14, 23, 20, .35); }
.summary h2 { margin-top: 0; font-size: 22px; }
.summary ul { margin-bottom: 0; }
.summary-note { margin: 14px 0 0 !important; color: var(--muted) !important; font-size: 14px; }
.legal-footer { padding: 0 0 36px; }
.legal-footer .footer-base { margin-top: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links span { color: var(--muted); }
.legal-links a { color: var(--ink-2); text-decoration: none; }
.legal-links a:hover { color: var(--teal-ink); text-decoration: underline; }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }
@media (max-width: 900px) {
  .legal-body { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .toc { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; }
}
@media (max-width: 820px) {
  .legal-page .nav-links { display: flex; margin-left: auto; gap: 2px; }
  .legal-page .nav-links a { padding: 7px 10px; font-size: 13.5px; }
}
@media (max-width: 440px) {
  .legal-page .brand span { display: none; }
  .legal-hero { padding: 36px 0 28px; }
  .summary { padding: 22px 20px; }
}
