/* Koyantaw landing — colours and type mirror lib/constants/colors.dart and styles.dart */

@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Black.otf") format("opentype"); font-weight: 900; font-display: swap; }

:root {
  /* KColor */
  --yellow: #ffc700;
  --yellow-soft: #fff9e6;
  --yellow-tint: #fff2c2;
  --black: #0c0d0e;
  --paragraph: #434548;
  --disable: #9d9d9f;
  --border: #c8c9c9;
  --line: #e8e8e9;
  --white: #ffffff;
  --red: #ff342e;
  --red-soft: #ffe6e6;
  --blue: #4e2eff;
  --blue-soft: #e9e6ff;
  --green-soft: #e6feec;
  --protected: #05663c;

  --bg: #ffffff;
  --surface: #f7f7f5;
  --radius-lg: 32px;
  --radius: 20px;
  --max: 1160px;
  --font: "Satoshi", "Myanmar Sangam MN", "Noto Sans Myanmar", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[id] { scroll-margin-top: 88px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--paragraph);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--black); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--black);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.section { padding: 112px 0; }
.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; }
.section-head p { font-size: 19px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { box-shadow: 0 10px 24px rgba(12, 13, 14, .22); }
.btn-yellow { background: var(--yellow); color: var(--black); }

.store {
  min-width: 196px;
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 22px 0 18px; border-radius: 16px;
  background: var(--black); color: var(--white); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(12, 13, 14, .25); }
.store svg { width: 28px; height: 28px; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: 12px; opacity: .8; font-weight: 500; }
.store b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store.light { background: var(--white); color: var(--black); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--black); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--paragraph); }
.nav-links a:hover { color: var(--black); }
.nav .btn { height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 120%;
  background: radial-gradient(closest-side, rgba(255, 199, 0, .35), rgba(255, 199, 0, 0));
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 80px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 mark { background: none; color: inherit; position: relative; white-space: nowrap; }
.hero h1 mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em;
  background: var(--yellow); z-index: -1; border-radius: 6px;
}
.hero h1 { position: relative; z-index: 0; }
.hero .lede { font-size: 20px; max-width: 520px; margin: 24px 0 36px; }
.hero .mm { display: inline-block; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--yellow-soft); border: 1px solid var(--yellow-tint); color: var(--black); font-weight: 500; font-size: 15px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; font-size: 15px; font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--protected); stroke-width: 2.5; }
.hero-visual { position: relative; display: flex; justify-content: center; }

/* Floating toasts around the phone */
.toast {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--white);
  box-shadow: 0 18px 40px rgba(12, 13, 14, .14), 0 0 0 1px rgba(12, 13, 14, .04);
  font-size: 14px; line-height: 1.3; color: var(--paragraph); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.toast b { display: block; color: var(--black); font-size: 15px; }
.toast .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.toast .ic svg { width: 22px; height: 22px; }
.toast.t1 { top: 34%; left: -8%; }
.toast.t2 { top: 54%; right: -8%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 19.2; flex: none;
  border-radius: 48px; padding: 10px; background: #111214;
  box-shadow: 0 40px 80px -20px rgba(12, 13, 14, .35), inset 0 0 0 2px #2a2b2e;
}
.phone::before { /* dynamic island */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 5;
}
.screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  background: var(--white); color: var(--black); font-size: 12px; line-height: 1.35;
  display: flex; flex-direction: column;
}
.sb { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px 6px; font-weight: 700; font-size: 13px; height: 46px; }
.sb i { display: inline-block; width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.sb i::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.appbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 12px; border-bottom: 1px solid var(--line); }
.appbar b { font-size: 17px; font-weight: 700; }
.appbar svg { width: 20px; height: 20px; }
.dot-badge { position: relative; }
.dot-badge::after { content: ""; position: absolute; top: 0; right: 1px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.scr-body { flex: 1; padding: 14px 14px 0; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.map { position: relative; border-radius: 18px; overflow: hidden; background: #eceee9; flex: 1; min-height: 0; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin-me { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid var(--white); box-shadow: 0 0 0 8px rgba(78, 46, 255, .18); }
.card-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; }
.card-row .sq { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--white); flex: none; }
.card-row .sq svg { width: 22px; height: 22px; }
.card-row b { display: block; font-size: 14px; }
.card-row small { color: var(--paragraph); font-size: 11.5px; }
.card-row .chev { margin-left: auto; width: 16px; height: 16px; color: var(--paragraph); }
.card-row.red { background: var(--red-soft); } .card-row.red .sq { background: var(--red); }
.card-row.yel { background: var(--yellow-soft); } .card-row.yel .sq { background: var(--yellow); color: var(--black); }
.tabbar { display: flex; justify-content: space-around; align-items: flex-end; padding: 8px 6px 18px; border-top: 1px solid var(--line); margin-top: 12px; font-size: 9.5px; color: var(--disable); }
.tabbar span { display: grid; justify-items: center; gap: 3px; }
.tabbar svg { width: 19px; height: 19px; }
.tabbar .on { color: var(--black); font-weight: 700; }
.tabbar .fab { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--protected); color: var(--white); margin-top: -26px; box-shadow: 0 6px 16px rgba(5, 102, 60, .35), 0 0 0 4px var(--white); }
.tabbar .fab svg { width: 24px; height: 24px; }
.guard-bar { display: flex; align-items: center; gap: 8px; background: var(--yellow); color: var(--black); padding: 8px 14px; font-weight: 700; font-size: 12px; }
.guard-bar svg { width: 16px; height: 16px; }

/* Trip screen bits */
.trip-sheet { background: var(--white); border-radius: 20px 20px 0 0; margin: -20px -14px 0; padding: 16px 16px 4px; position: relative; box-shadow: 0 -8px 20px rgba(12, 13, 14, .06); display: grid; gap: 10px; }
.trip-sheet .grab { width: 36px; height: 4px; border-radius: 4px; background: var(--line); margin: -4px auto 2px; }
.trip-sheet h4 { font-size: 16px; }
.eta { display: flex; gap: 8px; }
.eta div { flex: 1; background: var(--surface); border-radius: 12px; padding: 8px 10px; }
.eta small { display: block; color: var(--paragraph); font-size: 10.5px; }
.eta b { font-size: 15px; }
.viewers { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--paragraph); }
.avatars { display: flex; }
.avatars i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--white); margin-left: -6px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 10px; color: var(--black); }
.avatars i:first-child { margin-left: 0; }
.mini-btn { height: 40px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--black); color: var(--white); }

/* Panic screen */
.screen.panic { background: linear-gradient(180deg, #ff4a44 0%, var(--red) 55%, #e5221c 100%); color: var(--white); }
.panic-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 0 22px 28px; }
.panic-body h4 { color: var(--white); font-size: 24px; font-weight: 900; }
.panic-body p { font-size: 12.5px; opacity: .92; }
.sos { position: relative; width: 150px; height: 150px; border-radius: 50%; background: var(--white); color: var(--red); display: grid; place-items: center; font-weight: 900; font-size: 30px; letter-spacing: .02em; margin: 18px 0; }
.sos::before, .sos::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: ripple 2.4s ease-out infinite; }
.sos::after { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.sent-list { width: 100%; display: grid; gap: 6px; }
.sent-list div { display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, .16); border-radius: 12px; padding: 9px 12px; font-size: 12px; font-weight: 500; }
.sent-list svg { width: 15px; height: 15px; stroke-width: 3; }

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div { padding: 28px 16px; text-align: center; }
.strip div + div { border-left: 1px solid var(--line); }
.strip b { display: block; font-size: 28px; font-weight: 900; color: var(--black); letter-spacing: -0.02em; }
.strip span { font-size: 15px; }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 128px; }
.feature.flip .feature-visual { order: -1; }
.feature-copy { display: grid; gap: 20px; justify-items: start; }
.feature-copy h3 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 900; }
.feature-copy > p { font-size: 19px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.tag svg { width: 18px; height: 18px; }
.tag.green { background: var(--green-soft); color: var(--protected); }
.tag.yel { background: var(--yellow-soft); color: #7a5f00; }
.tag.red { background: var(--red-soft); color: #c4140f; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--paragraph); }
.checks li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--black); color: var(--yellow); stroke-width: 3.2; margin-top: 2px; }
.checks b { color: var(--black); font-weight: 700; }
.feature-visual { position: relative; display: flex; justify-content: center; padding: 48px 0; }
.feature-visual::before { content: ""; position: absolute; inset: 0 6%; border-radius: var(--radius-lg); z-index: -1; }
.feature-visual.bg-green::before { background: var(--green-soft); }
.feature-visual.bg-yel::before { background: var(--yellow-soft); }
.feature-visual.bg-red::before { background: var(--red-soft); }

/* ---------- Bento grid ---------- */
.bento-section { background: var(--black); color: #b8babd; border-radius: 48px; margin: 0 16px; }
.bento-section .section-head h2 { color: var(--white); }
.bento-section .eyebrow { color: var(--white); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: #17181a; border: 1px solid #232427; border-radius: 24px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.tile .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--yellow); color: var(--black); margin-bottom: 8px; }
.tile h4 { color: var(--white); font-size: 20px; font-weight: 700; }
.tile p { font-size: 16px; }
.tile.wide { grid-column: span 2; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--surface); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 12px; grid-template-rows: auto auto auto 1fr; overflow: hidden; }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--black); font-weight: 900; font-size: 18px; margin-bottom: 8px; }
.step h4 { font-size: 22px; font-weight: 700; }
/* Illustrations are 360px rasters: cap them at a size that stays sharp, never crop. */
.step img { align-self: end; justify-self: center; width: 100%; max-width: 220px; height: auto; margin-top: 16px; mix-blend-mode: multiply; }

/* ---------- Privacy ---------- */
.privacy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.privacy-copy { display: grid; gap: 20px; justify-items: start; }
.privacy-copy h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 900; }
.privacy-copy > p { font-size: 19px; }
.privacy-list { display: grid; gap: 16px; }
.privacy-list div { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.privacy-list .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--black); }
.privacy-list b { display: block; color: var(--black); font-size: 17px; margin-bottom: 2px; }
.privacy-list p { font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--radius); padding: 0 24px; transition: background .2s ease; }
.faq details[open] { background: var(--yellow-soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 18px; color: var(--black); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 22px; font-weight: 500; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; font-size: 16.5px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--yellow); border-radius: 48px; padding: 80px 64px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.cta h2 { font-size: clamp(34px, 4.8vw, 56px); font-weight: 900; letter-spacing: -0.03em; }
.cta p { color: var(--black); font-size: 19px; margin: 16px 0 32px; max-width: 480px; }
.cta img { width: 100%; max-width: 300px; aspect-ratio: 1; object-fit: contain; justify-self: end; background: var(--white); border-radius: 50%; padding: 24px; }

/* ---------- Footer ---------- */
footer { padding: 72px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.foot p { font-size: 15.5px; max-width: 340px; margin-top: 16px; }
.foot h5 { margin: 0 0 16px; font-size: 14px; color: var(--black); text-transform: uppercase; letter-spacing: .06em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15.5px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--black); text-decoration: underline; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 14px; color: var(--disable); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .toast, .sos::before, .sos::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 72px; }
  .hero .wrap, .feature, .privacy, .cta { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; display: grid; justify-items: center; }
  .hero .lede { margin-inline: auto; }
  .stores, .hero-meta { justify-content: center; }
  .hero-visual { margin-top: 24px; }
  .feature { gap: 32px; }
  .feature.flip .feature-visual { order: 0; }
  .feature + .feature { margin-top: 96px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .cta { padding: 56px 32px 0; text-align: center; justify-items: center; }
  .cta p { margin-inline: auto; }
  .cta .stores { justify-content: center; }
  .cta img { justify-self: center; max-width: 280px; margin-bottom: 48px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .nav .btn { display: none; }
  .phone { width: 260px; border-radius: 42px; }
  .screen { border-radius: 33px; }
  .toast { font-size: 12.5px; padding: 10px 12px 10px 10px; }
  .toast b { font-size: 13.5px; }
  .toast .ic { width: 34px; height: 34px; }
  .toast.t1 { left: -2%; top: 20%; }
  .toast.t2 { right: -2%; top: 38%; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip div:nth-child(3) { border-left: 0; }
  .strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .bento-section, .cta { border-radius: 32px; margin: 0 8px; }
  .cta { margin: 0; }
  .foot { grid-template-columns: 1fr; }
  .store { height: 56px; }
}

/* ---------- Legal pages (privacy policy) ---------- */
.legal-hero { position: relative; overflow: hidden; padding: 72px 0 56px; background: var(--yellow-soft); border-bottom: 1px solid var(--yellow-tint); }
.legal-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 199, 0, .45), rgba(255, 199, 0, 0)); pointer-events: none; }
.legal-hero .wrap { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: start; }
.legal-hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; letter-spacing: -0.03em; }
.legal-hero .lede { font-size: 19px; max-width: 680px; }
.crumbs { font-size: 14px; font-weight: 500; }
.crumbs a { text-decoration: none; color: var(--paragraph); }
.crumbs a:hover { color: var(--black); }
.date-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--yellow-tint); font-size: 14px; font-weight: 500; color: var(--black); }
.date-pill svg { width: 16px; height: 16px; }

.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; width: 100%; }
.glance div { background: var(--white); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; align-content: start; box-shadow: 0 1px 0 rgba(12, 13, 14, .04); }
.glance .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow); color: var(--black); margin-bottom: 6px; }
.glance .ic svg { width: 20px; height: 20px; }
.glance b { color: var(--black); font-size: 16px; }
.glance span { font-size: 14.5px; line-height: 1.5; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; padding: 64px 0 96px; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; }
.toc h5 { margin: 0 0 12px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--black); }
.toc a { display: flex; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 15px; text-decoration: none; color: var(--paragraph); border-left: 3px solid transparent; }
.toc a span { color: var(--disable); font-variant-numeric: tabular-nums; min-width: 18px; }
.toc a:hover { background: var(--surface); color: var(--black); }
.toc a.active { background: var(--yellow-soft); color: var(--black); font-weight: 700; border-left-color: var(--yellow); }
.toc a.active span { color: var(--black); }

.policy { max-width: 720px; display: grid; gap: 16px; }
.policy section { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.policy h2 { display: flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.policy h2 .n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--yellow); font-size: 15px; font-weight: 900; }
.policy p { font-size: 16.5px; }
.policy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.policy li { position: relative; padding-left: 22px; font-size: 16.5px; }
.policy li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--yellow-soft); }
.policy strong { color: var(--black); }
.policy .note { background: var(--surface); border: 0; }
.back-home { margin-top: 16px; justify-self: start; }

@media (max-width: 980px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .toc { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc h5 { display: none; }
  .toc a { flex: none; border-left: 0; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
  .policy { max-width: none; }
}
@media (max-width: 640px) {
  .legal-hero { padding: 48px 0 40px; }
  .glance { grid-template-columns: 1fr; }
  .policy section { padding: 24px 20px; border-radius: 20px; }
  .policy h2 { font-size: 20px; }
}
