:root {
  color-scheme: light;
  --surface: #f2fbf8;
  --card: #ffffff;
  --ink: #10201b;
  --muted: #5a7068;
  --line: #d8ebe5;
  --primary: #0f766e;
  --primary-strong: #075f59;
  --accent: #2f6fed;
  --shadow: 0 18px 55px rgba(15, 118, 110, .11);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 5%, rgba(47, 111, 237, .08), transparent 28rem),
    radial-gradient(circle at 94% 18%, rgba(15, 118, 110, .1), transparent 30rem),
    var(--surface);
  color: var(--ink);
  font: 16px/1.72 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--primary); text-underline-offset: 3px; }
img { max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(216, 235, 229, .82); background: rgba(246, 252, 250, .9); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 12px; box-shadow: 0 6px 18px rgba(47, 111, 237, .15); }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 17px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); }
.menu-button > span:not(.sr-only) { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--ink); }
.reading-progress { position: absolute; inset: auto 0 0; height: 2px; }
.reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); }

.hero { min-height: 570px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; padding-block: 80px 70px; }
.eyebrow { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 14px 0 20px; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.hero-copy > p { max-width: 700px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 18px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 14px; font-weight: 750; text-decoration: none; }
.button.primary { background: var(--primary); color: #fff; box-shadow: 0 12px 28px rgba(15, 118, 110, .2); }
.button.primary:hover { background: var(--primary-strong); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--ink); }
.updated { font-size: 13px !important; }
.summary-card { padding: 32px; border: 1px solid rgba(216, 235, 229, .9); border-radius: 30px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
.summary-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 17px; background: #def6ef; color: var(--primary); font-size: 25px; font-weight: 900; }
.summary-card h2 { margin: 18px 0 10px; font-size: 23px; }
.summary-card ul { margin: 0; padding: 0; list-style: none; }
.summary-card li { position: relative; padding: 8px 0 8px 24px; color: var(--muted); }
.summary-card li::before { content: ""; position: absolute; top: 18px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.content-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: start; gap: 36px; padding-bottom: 100px; }
.toc { position: sticky; top: 105px; display: grid; gap: 2px; padding: 16px 0; }
.toc p { margin: 0 0 8px 14px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.toc a { padding: 7px 14px; border-left: 2px solid transparent; color: var(--muted); font-size: 13px; text-decoration: none; }
.toc a:hover, .toc a.active { border-color: var(--primary); background: rgba(15, 118, 110, .06); color: var(--primary); }
.policy-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.policy-heading { padding: clamp(28px, 6vw, 56px); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fff, #effbf7); }
.policy-heading h2 { margin: 8px 0 10px; font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
.policy-heading p { max-width: 720px; margin: 0; color: var(--muted); }
.policy-card > section { padding: 42px clamp(26px, 6vw, 56px); border-bottom: 1px solid var(--line); }
.policy-card > section:last-child { border-bottom: 0; }
.policy-card h3 { display: flex; align-items: center; gap: 13px; margin: 0 0 16px; font-size: 23px; line-height: 1.25; }
.policy-card h3 span { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 11px; background: #e3f5f0; color: var(--primary); font-size: 14px; }
.policy-card p, .policy-card li { color: #465e56; }
.policy-card ul { padding-left: 22px; }
.policy-card li { margin: 7px 0; }
.permission-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.permission-grid div { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #f9fcfb; }
.permission-grid strong { color: var(--ink); }
.permission-grid p { margin: 5px 0 0; font-size: 14px; }
.contact-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; padding: 24px; border-radius: 18px; background: #eff9f6; }
.contact-card p { margin: 3px 0 0; }
.contact-card dl { margin: 0; }
.contact-card dl div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 6px 0; }
.contact-card dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.contact-card dd { margin: 0; overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); background: #e8f5f1; }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner div { display: grid; }
.footer-inner span { color: var(--muted); font-size: 13px; }
.footer-inner a { font-weight: 700; text-decoration: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 60px; }
  .content-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), 1160px); }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 66px; right: 14px; display: none; width: min(260px, calc(100vw - 28px)); align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 11px 12px; }
  .hero { min-height: 0; }
  .hero-copy, .summary-card, .policy-card { min-width: 0; }
  .hero h1 { font-size: clamp(34px, 11vw, 43px); overflow-wrap: anywhere; }
  .summary-card { padding: 24px; }
  .policy-card > section { padding-block: 34px; }
  .permission-grid, .contact-card { grid-template-columns: 1fr; }
  .footer-inner { padding-block: 25px; align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
