@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

/* Reflectα public site v2
   Tokens follow the app (gas/style.html) so the marketing page and the product feel continuous. */

:root {
  --header-h: 61px;
  --navy: #0d2850;
  --navy-deep: #081d3a;
  --navy-soft: #eef2f6;
  --navy-line: rgba(13, 40, 80, .14);
  --ink: #191919;
  --text-2: #4e5c6e;
  --muted: #647184;
  --line: #d9e0e8;
  --line-2: #e6eaef;
  --surface: #f8f9fa;
  --warm: #feede0;
  --warm-soft: #fff7f0;
  --white: #ffffff;

  --m-n2: #c62828; --m-n2-bg: #ffebee; --m-n2-bd: #e57373;
  --m-n1: #a84b00; --m-n1-bg: #fff3e0; --m-n1-bd: #ffb74d;
  --m-0:  #455a64; --m-0-bg:  #eceff1; --m-0-bd:  #90a4ae;
  --m-p1: #2e7d32; --m-p1-bg: #e8f5e9; --m-p1-bd: #81c784;
  --m-p2: #1565c0; --m-p2-bg: #e3f2fd; --m-p2-bd: #64b5f6;

  --shadow-sm: 0 2px 8px rgba(13, 40, 80, .05);
  --shadow: 0 16px 48px rgba(13, 40, 80, .09);
  --shadow-lg: 0 28px 70px rgba(13, 40, 80, .14);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --page: min(1160px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  background: var(--white);
  color: var(--ink);
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--white);
  font-family: var(--sans);
  font-feature-settings: "palt";
  line-height: 1.8;
  letter-spacing: .03em;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--navy);
  text-underline-offset: .2em;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(13, 40, 80, .28);
  outline-offset: 4px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { width: var(--page); margin: 0 auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(217, 224, 232, .8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav {
  position: relative;
  width: var(--page);
  min-height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark { width: 34px; height: 34px; object-fit: contain; }

.brand-name {
  font: 400 20px/1.2 var(--serif);
  letter-spacing: .07em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 12px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a { color: var(--text-2); text-decoration: none; }
.nav-links a:hover { color: var(--navy); }

.nav-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
}

.language-switch a { text-decoration: none; }
.language-switch [aria-current="page"] { color: var(--navy); font-weight: 700; }

.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  font: 400 14px/1.4 var(--serif);
  text-decoration: none;
  transition: background-color .16s ease;
}

.nav-cta:hover { background: var(--navy-deep); }


/* ---------- Buttons (offset frame like the app's .btn) ---------- */

.button {
  position: relative;
  z-index: 0;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid var(--navy);
  font: 400 16px/1.45 var(--serif);
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

.button::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid var(--navy);
  translate: 6px 6px;
  content: "";
  transition: translate .18s ease;
}

.button:hover::before { translate: 3px 3px; }
.button:active { transform: translateY(1px); }

.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--navy-deep); }

.button-ghost { background: #fff; color: var(--navy); }
.button-ghost:hover { background: var(--navy-soft); }

.button-light {
  border-color: #fff;
  background: #fff;
  color: var(--navy);
}

.button-light::before { border-color: rgba(255, 255, 255, .55); }
.button-light:hover { background: var(--navy-soft); }

.button .arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform .18s ease;
}

.button:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
  background:
    linear-gradient(var(--white), rgba(255, 255, 255, 0) 30%),
    repeating-linear-gradient(90deg, rgba(13, 40, 80, .035) 0 1px, transparent 1px 96px),
    var(--white);
}

.hero-inner {
  width: var(--page);
  margin: 0 auto;
  padding: 88px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font: 400 clamp(34px, 4.6vw, 54px)/1.42 var(--serif);
  letter-spacing: .06em;
}

.hero h1 .nowrap { white-space: nowrap; }

.hero-copy {
  margin: 26px 0 0;
  max-width: 520px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 20px;
  margin-top: 36px;
}

.hero-meta {
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg { width: 15px; height: 15px; color: var(--navy); }

/* ---------- App window mockups ---------- */

.hero-visual {
  position: relative;
  padding: 0 0 104px 0;
}

.window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .03em;
}

.window-bar {
  height: 34px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface);
}

.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d5dbe3;
}

.window-bar .url {
  margin-left: 12px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font: 11px/1.5 var(--mono);
  letter-spacing: 0;
}

.app-top {
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-2);
  color: var(--navy);
  font: 400 13px/1.4 var(--serif);
  letter-spacing: .08em;
}

.app-top span:last-child {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .03em;
}

.app-banner {
  padding: 16px 18px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font: 400 16px/1.4 var(--serif);
}

.app-body { padding: 20px 22px 22px; background: #fff; }

.app-label {
  margin: 0 0 10px;
  color: var(--navy);
  font: 700 13.5px/1.5 var(--serif);
}

.app-label small {
  margin-left: 8px;
  color: var(--muted);
  font: 400 11px/1.4 var(--sans);
}

.selector {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.opt {
  min-height: 62px;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  border-radius: var(--r-md);
  background: #fff;
  text-align: center;
}

.opt b { font: 700 18px/1 var(--serif); }
.opt span { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.2; }

.opt.n2 { border-color: var(--m-n2-bd); } .opt.n2 b { color: var(--m-n2); }
.opt.n1 { border-color: var(--m-n1-bd); } .opt.n1 b { color: var(--m-n1); }
.opt.z0 { border-color: var(--m-0-bd); }  .opt.z0 b { color: var(--m-0); }
.opt.p1 { border-color: var(--m-p1-bd); } .opt.p1 b { color: var(--m-p1); }
.opt.p2 { border-color: var(--m-p2-bd); } .opt.p2 b { color: var(--m-p2); }

.opt.is-on {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.opt.p1.is-on { background: var(--m-p1-bg); border-color: var(--m-p1); }

.fake-textarea {
  margin-top: 18px;
  min-height: 84px;
  padding: 10px 12px;
  border: 1px solid #ccd4dc;
  border-radius: var(--r-sm);
  color: #33404f;
  font-size: 12.5px;
  line-height: 1.75;
}

.fake-textarea .caret {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--navy);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.counter-row {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.fake-btn {
  margin-top: 16px;
  padding: 10px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font: 400 13px/1.4 var(--serif);
}

/* floating trend card */

.float-card {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: min(300px, 62%);
  padding: 14px 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 12px;
}

.float-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: var(--navy);
  font: 700 12.5px/1.4 var(--serif);
}

.float-card__head small {
  color: var(--muted);
  font: 400 10.5px/1.4 var(--sans);
}

.trend { margin-top: 8px; width: 100%; height: auto; }
.trend .grid { stroke: var(--line-2); stroke-width: 1; }
.trend .zero { stroke: #b9c3cf; stroke-dasharray: 3 3; }
.trend .line { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.trend .line-prev { fill: none; stroke: #9fb0c4; stroke-width: 1.5; stroke-dasharray: 4 3; }
.trend .dot { fill: #fff; stroke: var(--navy); stroke-width: 2; }
.trend .dot-now { fill: var(--navy); }
.trend .area { fill: rgba(13, 40, 80, .06); }
.trend text { fill: var(--muted); font: 9px var(--sans); }
.trend--wide text { font-size: 10px; }

.legend {
  margin-top: 6px;
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 10.5px;
}

.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 2px; background: var(--navy); }
.legend i.prev { background: repeating-linear-gradient(90deg, #9fb0c4 0 4px, transparent 4px 7px); }

/* ---------- Facts strip ---------- */

.facts {
  border-bottom: 1px solid var(--line-2);
  background: #fff;
}

.facts ul {
  width: var(--page);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.facts li {
  padding: 28px 26px;
  border-left: 1px solid var(--line-2);
}

.facts li:first-child { border-left: 0; padding-left: 0; }

.facts b {
  display: block;
  color: var(--navy);
  font: 400 26px/1.3 var(--serif);
  letter-spacing: .04em;
}

.facts b small { margin-left: 4px; font-size: 14px; }

.facts span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* ---------- Sections ---------- */

.section { padding: 112px 0; }
.section-soft { background: var(--surface); }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}

.section-head h2 {
  margin: 0;
  color: var(--navy);
  font: 400 clamp(28px, 3.4vw, 40px)/1.5 var(--serif);
  letter-spacing: .05em;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.95;
}

.section-head--split p { margin: 0; }

/* ---------- Student feature rows ---------- */

.feature-rows { display: grid; gap: 104px; }

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.feature-row--flip .feature-text { order: 2; }
.feature-row--flip .feature-visual { order: 1; }

.feature-num {
  margin: 0 0 14px;
  color: var(--muted);
  font: 400 13px/1 var(--mono);
  letter-spacing: .1em;
}

.feature-text h3 {
  margin: 0;
  color: var(--navy);
  font: 400 clamp(22px, 2.4vw, 28px)/1.5 var(--serif);
  letter-spacing: .05em;
}

.feature-text > p {
  margin: 16px 0 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.95;
}

.checklist {
  margin: 26px 0 0;
  padding: 22px 0 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14px;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  color: #33404f;
}

.checklist li::before {
  position: absolute;
  top: .62em;
  left: 2px;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(-45deg);
  content: "";
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.65;
}

.section-soft .panel { background: #fff; }

.panel-caption {
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

/* goal mockup */

.goal-period {
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--navy-soft);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 500;
}

.goal-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.goal-step + .goal-step {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

.step-dot {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 13px/1 var(--serif);
}

.step-dot--check { background: #47617f; }

.goal-step h4 {
  margin: 3px 0 8px;
  color: var(--navy);
  font: 700 13.5px/1.5 var(--serif);
}

.goal-items { display: grid; gap: 6px; }

.goal-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #ccd4dc;
  border-radius: var(--r-sm);
  font-size: 12.5px;
}

.goal-item > span {
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--navy);
  font-weight: 700;
  font-size: 11.5px;
}

.goal-item > p { margin: 0; padding: 7px 10px; }

.confidence {
  padding: 12px 14px;
  border: 1px solid #ccd4dc;
  border-radius: var(--r-sm);
}

.confidence__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  font-weight: 700;
  font-size: 12.5px;
}

.confidence__score {
  min-width: 48px;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.confidence__track {
  position: relative;
  height: 6px;
  margin: 14px 0 8px;
  border-radius: 999px;
  background: var(--line-2);
}

.confidence__fill {
  position: absolute;
  inset: 0 25% 0 0;
  border-radius: inherit;
  background: var(--navy);
}

.confidence__fill::after {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  transform: translateY(-50%);
  content: "";
}

.confidence__ticks {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10.5px;
}

.reflect-rows {
  display: grid;
  gap: 6px;
  margin: 0;
}

.reflect-rows div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #ccd4dc;
  border-radius: var(--r-sm);
}

.reflect-rows dt,
.reflect-rows dd {
  margin: 0;
  padding: 7px 10px;
  font-size: 12px;
}

.reflect-rows dt { background: var(--navy-soft); color: var(--navy); font-weight: 700; }

/* my page mockup */

.mypage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.year-chips { display: flex; gap: 12px; color: var(--navy); font-size: 11.5px; }
.year-chips span { display: inline-flex; align-items: center; gap: 5px; }
.year-chips i { width: 12px; height: 12px; border-radius: 3px; background: var(--navy); }
.year-chips i.prev { border: 1.5px solid #9fb0c4; background: #fff; }

.trend--wide { margin: 4px 0 16px; }

.history { display: grid; gap: 8px; }

.history-card {
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--navy);
  border-radius: var(--r-sm);
  background: #fff;
}

.history-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--navy);
  font: 700 12.5px/1.5 var(--serif);
}

.history-card p { margin: 4px 0 0; color: #33404f; font-size: 12px; }

.badge {
  min-width: 34px;
  padding: 1px 6px;
  border: 1px solid;
  border-radius: var(--r-sm);
  font: 700 11.5px/1.5 var(--sans);
  text-align: center;
}

.badge.p2 { border-color: var(--m-p2-bd); background: var(--m-p2-bg); color: var(--m-p2); }
.badge.p1 { border-color: var(--m-p1-bd); background: var(--m-p1-bg); color: var(--m-p1); }
.badge.z0 { border-color: var(--m-0-bd); background: var(--m-0-bg); color: var(--m-0); }
.badge.n1 { border-color: var(--m-n1-bd); background: var(--m-n1-bg); color: var(--m-n1); }

/* ---------- Teacher dashboard ---------- */

.section-teacher {
  background: var(--navy);
  color: #fff;
}

.section-teacher .section-head h2 { color: #fff; }
.section-teacher .section-head p { color: rgba(255, 255, 255, .78); }
.section-teacher .eyebrow { color: rgba(255, 255, 255, .85); }

.dash {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.6;
}

.dash-tabs {
  display: flex;
  gap: 4px;
  overflow: hidden;
  padding: 0 18px;
  border-bottom: 1px solid #ccd4dc;
}

.dash-tabs span {
  flex: 0 0 auto;
  padding: 11px 14px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.dash-tabs span.is-on { border-bottom-color: var(--navy); color: var(--navy); }

.dash-body { padding: 20px; background: #fff; }

.dash-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(204, 212, 220, .7);
  border-radius: var(--r-md);
  background: var(--surface);
}

.dash-filter b { margin-right: 6px; color: var(--navy); font: 700 12.5px/1.4 var(--serif); }

.chip {
  padding: 3px 10px;
  border: 1px solid #ccd4dc;
  border-radius: var(--r-sm);
  background: #fff;
  color: #33404f;
  font-size: 11.5px;
  white-space: nowrap;
}

.chip--note { margin-left: auto; border: 0; background: transparent; color: var(--muted); }

.dash-summary {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.stat span { display: block; color: var(--muted); font-size: 11px; }
.stat b { display: block; margin-top: 4px; color: var(--navy); font: 700 20px/1.25 var(--serif); }
.stat small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; }

.dash-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 14px;
}

.dash-card {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
}

.dash-card h4 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  font: 700 13px/1.5 var(--serif);
}

.dash-card h4 small { color: var(--muted); font: 400 10.5px/1.4 var(--sans); }

.heatmap {
  width: 100%;
  border-collapse: separate;
  border-spacing: 3px;
  font-size: 11.5px;
}

.heatmap th {
  padding: 2px 4px;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.heatmap th[scope="row"] { color: #33404f; text-align: left; padding-right: 8px; }

.heatmap td {
  height: 26px;
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
}

.heatmap .n2 { background: var(--m-n2-bg); color: #9f1f1f; }
.heatmap .n1 { background: var(--m-n1-bg); color: #934800; }
.heatmap .z0 { background: var(--m-0-bg); color: #37474f; }
.heatmap .p1 { background: var(--m-p1-bg); color: #256629; }
.heatmap .p2 { background: var(--m-p2-bg); color: #125491; }
.heatmap .na { background: #fff; border: 1px dashed #d5dbe3; color: #9aa4b0; font-weight: 400; }

.dist { display: grid; gap: 9px; margin-top: 4px; }

.dist-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
}

.dist-row b { font: 700 12px/1 var(--serif); text-align: right; }
.dist-row em { color: var(--muted); font-style: normal; text-align: right; }

.bar { height: 12px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; }

.dist-row.n2 b { color: var(--m-n2); } .dist-row.n2 i { background: var(--m-n2-bd); width: 6%; }
.dist-row.n1 b { color: var(--m-n1); } .dist-row.n1 i { background: var(--m-n1-bd); width: 14%; }
.dist-row.z0 b { color: var(--m-0); }  .dist-row.z0 i { background: var(--m-0-bd); width: 34%; }
.dist-row.p1 b { color: var(--m-p1); } .dist-row.p1 i { background: var(--m-p1-bd); width: 30%; }
.dist-row.p2 b { color: var(--m-p2); } .dist-row.p2 i { background: var(--m-p2-bd); width: 16%; }

.dist-note {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 10.5px;
}

.dash-caption {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  text-align: right;
}

.cap-list {
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.cap-list li {
  padding: 26px 24px 4px 0;
}

.cap-list li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .16); }

.cap-list h3 {
  margin: 0 0 8px;
  color: #fff;
  font: 400 17px/1.5 var(--serif);
  letter-spacing: .04em;
}

.cap-list p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13.5px;
  line-height: 1.85;
}

/* ---------- Flow ---------- */

.flow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  counter-reset: flow;
}

.flow li {
  position: relative;
  padding: 30px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.flow li::after {
  position: absolute;
  top: 46px;
  right: -19px;
  width: 14px;
  height: 14px;
  border-top: 1px solid #9fb0c4;
  border-right: 1px solid #9fb0c4;
  transform: rotate(45deg);
  content: "";
}

.flow li:last-child::after { content: none; }

.flow-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 15px/1 var(--serif);
}

.flow h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font: 400 19px/1.5 var(--serif);
  letter-spacing: .04em;
}

.flow p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.9; }

.flow .login-ways {
  margin: 16px 0 0;
  padding: 14px 0 0;
  display: grid;
  gap: 6px;
  border-top: 1px dashed var(--line);
  list-style: none;
  font-size: 12.5px;
  color: #33404f;
}

.flow .login-ways li {
  padding: 0;
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px;
}

.flow .login-ways li::after { content: none; }
.flow .login-ways b { color: var(--navy); font-weight: 700; }

/* ---------- Privacy ---------- */

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.privacy-grid .section-head { margin-bottom: 0; }

.privacy-links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
}

.scope-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.scope-card__head {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--navy);
  font: 700 14px/1.5 var(--serif);
}

.scope-card__head small { color: var(--muted); font: 400 11.5px/1.4 var(--mono); }

.scope-list { margin: 0; padding: 6px 22px; list-style: none; }

.scope-list li {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.scope-list li + li { border-top: 1px solid var(--line-2); }
.scope-list code { color: var(--navy); font: 700 13px/1.4 var(--mono); }
.scope-list .tag { color: var(--muted); font-size: 12px; }

.scope-list .mark {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.scope-list .mark svg { width: 12px; height: 12px; }
.mark--yes { background: var(--m-p1-bg); color: var(--m-p1); }
.mark--no { background: #f1f3f5; color: #8a939e; }

.scope-list li.is-off { color: #7b8592; }

.scope-card__foot {
  padding: 14px 22px;
  border-top: 1px solid var(--line-2);
  background: var(--warm-soft);
  color: #5f554d;
  font-size: 13px;
  line-height: 1.75;
}

/* ---------- About / Operator ---------- */

.section-about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}

.about-grid .section-head { margin-bottom: 0; }

.about-links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.about-links a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.about-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-facts > div {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
}

.about-facts .about-fact--wide { grid-column: 1 / -1; }

.about-facts dt {
  margin: 0 0 8px;
  color: var(--muted);
  font: 700 11px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-facts dd {
  margin: 0;
  color: var(--navy);
  font: 400 18px/1.5 var(--serif);
  overflow-wrap: anywhere;
}

.about-facts dd small {
  display: block;
  margin-top: 5px;
  color: var(--text-2);
  font: 400 12.5px/1.6 var(--sans);
}

.about-facts dd a { color: inherit; text-underline-offset: 4px; }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.faq-grid .section-head { margin-bottom: 0; }

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--navy);
  font: 400 16.5px/1.6 var(--serif);
  letter-spacing: .03em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before,
.faq summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 14px;
  height: 1.5px;
  background: var(--navy);
  content: "";
  transition: transform .2s ease;
}

.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }

.faq details p {
  margin: -6px 0 0;
  padding: 0 44px 24px 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.95;
}

/* ---------- CTA ---------- */

.cta-band { padding: 112px 0; }

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 64px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  border-radius: var(--r-lg);
  background: var(--navy);
  color: #fff;
}

.cta-box::after {
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 120px rgba(255, 255, 255, .02);
  content: "";
  pointer-events: none;
}

.cta-box h2 {
  margin: 0;
  font: 400 clamp(24px, 3vw, 34px)/1.5 var(--serif);
  letter-spacing: .05em;
}

.cta-box p { margin: 12px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; }

.cta-box .button { position: relative; z-index: 1; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 40px;
  background: var(--warm);
  color: var(--navy);
}

.footer-inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .6fr));
  gap: 40px;
}

.footer-brand p { margin: 14px 0 0; max-width: 340px; color: #5f554d; font-size: 13px; line-height: 1.85; }

.footer-col h2 {
  margin: 4px 0 12px;
  color: var(--navy);
  font: 700 13px/1.5 var(--sans);
  letter-spacing: .1em;
}

.footer-col ul { margin: 0; padding: 0; display: grid; gap: 6px; list-style: none; font-size: 13.5px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }

.footer-bottom {
  width: var(--page);
  margin: 44px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(13, 40, 80, .14);
  color: #6d625a;
  font-size: 12px;
}

/* ---------- Mobile menu (CSS-only, :target based; the site CSP forbids scripts) ---------- */

.menu-toggle {
  width: 42px;
  height: 42px;
  margin-right: -8px;
  display: none;
  place-items: center;
  border-radius: 4px;
}

.hamburger-icon { width: 22px; display: grid; gap: 6px; }

.hamburger-icon span {
  height: 1.5px;
  display: block;
  border-radius: 1px;
  background: var(--navy);
}

.hamburger-icon.is-x span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-icon.is-x span:nth-child(2) { opacity: 0; }
.hamburger-icon.is-x span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.menu-sheet { display: none; }

@media (max-width: 920px) {
  .menu-sheet:target {
    position: fixed;
    z-index: 39;
    inset: var(--header-h) 0 0 0;
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    animation: sheet-in .28s cubic-bezier(.2, .7, .2, 1) both;
  }

  .menu-sheet:target ~ .site-header { background: #fff; }
  .menu-sheet:target ~ .site-header .menu-toggle--open { display: none; }
  .menu-sheet:target ~ .site-header .menu-toggle--close { display: grid; }
  html:has(.menu-sheet:target) { overflow: hidden; }
}

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.menu-sheet__inner {
  width: var(--page);
  min-height: 100%;
  margin: 0 auto;
  padding: 12px 0 calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list li {
  border-bottom: 1px solid var(--line-2);
  animation: item-in .34s cubic-bezier(.2, .7, .2, 1) both;
}

.menu-list li:nth-child(2) { animation-delay: .03s; }
.menu-list li:nth-child(3) { animation-delay: .06s; }
.menu-list li:nth-child(4) { animation-delay: .09s; }
.menu-list li:nth-child(5) { animation-delay: .12s; }

@keyframes item-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.menu-list a {
  padding: 18px 2px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
}

.menu-list a:active { background: var(--navy-soft); }
.menu-list__num { color: var(--muted); font: 400 12px/1 var(--mono); }
.menu-list__label { font: 400 21px/1.4 var(--serif); letter-spacing: .05em; }
.menu-list__sub { color: var(--muted); font-size: 11.5px; letter-spacing: .06em; }

.menu-sub {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  list-style: none;
  font-size: 14px;
}

.menu-sub a {
  min-height: 40px;
  display: flex;
  align-items: center;
  color: var(--text-2);
  text-decoration: none;
}

.menu-sub a[aria-current="page"] { color: var(--navy); font-weight: 700; }

.menu-cta { margin-top: 28px; width: calc(100% - 6px); }

.menu-lang {
  margin-top: 26px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
}

.menu-lang a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}

.menu-lang a[aria-current="true"] { background: var(--navy); color: #fff; }

/* ---------- Legal pages ---------- */

.legal-hero {
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--line-2);
  background:
    repeating-linear-gradient(90deg, rgba(13, 40, 80, .03) 0 1px, transparent 1px 96px),
    var(--surface);
}

.crumbs {
  margin-bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.crumbs a { color: var(--muted); }

.legal-hero h1 {
  margin: 0;
  color: var(--navy);
  font: 400 clamp(30px, 4.4vw, 46px)/1.35 var(--serif);
  letter-spacing: .05em;
}

.legal-hero .updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-layout {
  padding: 64px 0 112px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.legal-toc__title,
.legal-related__title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.legal-toc ol,
.legal-toc-mobile ol {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  line-height: 1.6;
}

.legal-toc li a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 1px solid var(--line);
  color: var(--text-2);
  text-decoration: none;
}

.legal-toc li a:hover { border-left-color: var(--navy); color: var(--navy); }

.legal-toc-mobile { display: none; }

.legal-body {
  max-width: 760px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.legal-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.legal-body > .legal-section:first-of-type { padding-top: 0; border-top: 0; }

.legal-section h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font: 400 23px/1.5 var(--serif);
  letter-spacing: .04em;
}

.legal-section h3 {
  margin: 24px 0 8px;
  color: #26384f;
  font-size: 16px;
}

.legal-section p { margin: 10px 0; color: #2b3746; }
.legal-section ul,
.legal-section ol { margin: 10px 0 0; padding-left: 1.4em; color: #2b3746; }
.legal-section li + li { margin-top: 7px; }

.legal-intro {
  margin: 0 0 40px;
  padding: 22px 24px;
  border-left: 4px solid var(--navy);
  background: var(--navy-soft);
  color: #39495d;
}

.inline-code {
  padding: .12em .4em;
  border: 1px solid #d7dee7;
  border-radius: 5px;
  background: #f4f6f8;
  font: .9em var(--mono);
}

.notice {
  margin: 26px 0;
  padding: 18px 20px;
  border: 1px solid #eadccf;
  border-radius: 10px;
  background: var(--warm-soft);
  color: #5f554d;
}

.legal-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.legal-related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.related-card {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--navy);
  font: 400 16px/1.5 var(--serif);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.related-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font: 400 12px/1.4 var(--sans);
}

.related-card .arrow { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .18s ease; }
.related-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.related-card:hover .arrow { transform: translateX(3px); }

/* ---------- 404 ---------- */

.error-main { padding: 120px 0 140px; }

.error-main h1 {
  margin: 0;
  color: var(--navy);
  font: 400 clamp(30px, 5vw, 46px)/1.4 var(--serif);
}

.error-main p { margin: 16px 0 0; color: var(--text-2); }
.error-main .error-en { color: var(--muted); font-size: 14px; }

/* ---------- English typography ---------- */

html[lang="en"] body { letter-spacing: .005em; font-feature-settings: normal; }
html[lang="en"] .hero h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.3; letter-spacing: 0; }
html[lang="en"] .hero h1 .nowrap { white-space: normal; }
html[lang="en"] .section-head h2,
html[lang="en"] .feature-text h3,
html[lang="en"] .legal-hero h1,
html[lang="en"] .legal-section h2,
html[lang="en"] .cta-box h2,
html[lang="en"] .cap-list h3,
html[lang="en"] .flow h3,
html[lang="en"] .faq summary,
html[lang="en"] .menu-list__label { letter-spacing: 0; }
html[lang="en"] .section-head h2 { line-height: 1.35; }
html[lang="en"] .feature-text h3 { line-height: 1.4; }
html[lang="en"] .eyebrow { letter-spacing: .1em; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .hero-inner { gap: 44px; }
  .float-card { right: -8px; }
  .cap-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cap-list li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .16); }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-toggle--open { display: grid; }
  .nav-end { gap: 14px; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 64px 0 72px;
  }

  .hero-visual { max-width: 600px; }

  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line-2); }

  .section { padding: 88px 0; }
  .section-head--split { grid-template-columns: 1fr; gap: 0; }
  .section-head--split p { margin-top: 18px; }

  .feature-row,
  .feature-row--flip { grid-template-columns: 1fr; gap: 36px; }
  .feature-row--flip .feature-text,
  .feature-row--flip .feature-visual { order: initial; }
  .feature-rows { gap: 80px; }

  .dash-grid { grid-template-columns: 1fr; }

  .flow { grid-template-columns: 1fr; gap: 16px; }
  .flow li::after { content: none; }

  .privacy-grid,
  .faq-grid,
  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .cta-box { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-band { padding: 88px 0; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .legal-layout { grid-template-columns: 1fr; gap: 0; padding-top: 40px; }
  .legal-toc { display: none; }

  .legal-toc-mobile {
    margin-bottom: 36px;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
  }

  .legal-toc-mobile summary {
    position: relative;
    padding: 14px 44px 14px 18px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .legal-toc-mobile summary::-webkit-details-marker { display: none; }

  .legal-toc-mobile summary::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    content: "";
    transition: transform .18s ease;
  }

  .legal-toc-mobile[open] summary::after { transform: translateY(-30%) rotate(225deg); }
  .legal-toc-mobile ol { padding: 0 18px 10px; }

  .legal-toc-mobile li a {
    display: block;
    padding: 9px 0;
    border-top: 1px solid var(--line-2);
    color: var(--text-2);
    text-decoration: none;
  }
}

@media (max-width: 640px) {
  :root { --page: min(1160px, calc(100% - 32px)); }

  html { scroll-padding-top: 56px; }
  :root { --header-h: 53px; }

  .nav { min-height: 52px; gap: 12px; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .language-switch { display: none; }
  .nav-cta { display: none; }


  .hero-inner { padding: 48px 0 56px; }
  .hero h1 { font-size: 31px; line-height: 1.5; }
  .hero-copy { font-size: 15px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-actions .button-ghost { display: none; }

  .hero-visual { padding-bottom: 0; }
  .float-card { display: none; }
  .app-body { padding: 16px; }
  .selector { gap: 5px; }
  .opt { min-height: 54px; }
  .opt b { font-size: 16px; }
  .opt span { font-size: 9px; }

  .facts li { padding: 20px 14px; }
  .facts li:nth-child(odd) { padding-left: 0; }
  .facts b { font-size: 21px; }
  .facts span { font-size: 12px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .feature-rows { gap: 64px; }
  .panel { padding: 18px 16px; }
  .reflect-rows div { grid-template-columns: 1fr; }

  .dash-body { padding: 14px; }
  .dash-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip--note { margin-left: 0; padding-left: 0; }
  .heatmap-wrap { overflow-x: auto; }
  .heatmap { min-width: 360px; }

  .cap-list { grid-template-columns: 1fr; margin-top: 44px; }
  .cap-list li,
  .cap-list li + li { padding: 20px 0; border-left: 0; }
  .cap-list li + li { border-top: 1px solid rgba(255, 255, 255, .16); }

  .flow li { padding: 24px 20px; }

  .faq summary { font-size: 15.5px; padding-right: 36px; }
  .faq details p { padding-right: 0; }

  .about-facts { grid-template-columns: 1fr; }
  .about-facts .about-fact--wide { grid-column: auto; }

  .cta-box { padding: 40px 24px; }
  .cta-box .button { width: 100%; }
  .cta-band { padding: 72px 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .legal-hero { padding: 40px 0 36px; }
  .crumbs { margin-bottom: 22px; }
  .legal-layout { padding: 32px 0 80px; }
  .legal-section { padding: 28px 0; scroll-margin-top: 64px; }
  .legal-section h2 { font-size: 20px; }
  .legal-related__grid { grid-template-columns: 1fr; }
  .error-main { padding: 72px 0 96px; }
}

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