/* ==========================================================================
   Tuzuri LLM — Official Site
   Black, white, one blue. Square corners, hairline rules, no shadows.
   Noto Sans JP (self-hosted, subset).
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/noto-sans-jp-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/noto-sans-jp-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/noto-sans-jp-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --blue: #1a2bd0;
  --blue-deep: #1220a3;
  --blue-tint: #e6e8fb;
  --blue-light: #cdd2f8;
  --blue-mid: #8c97f0;

  --ink: #000000;
  --text: #262626;
  --muted: #666a75;
  --line: #d6d8de;
  --bg: #ffffff;
  --bg-2: #f1f2f5;

  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --jp: var(--sans);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 0;

  --container: 1160px;
  --pad: clamp(20px, 4.5vw, 48px);
  --header-h: 68px;
  --hero-img: url("https://images.unsplash.com/photo-1760865245520-21b0786f5236?auto=format&fit=crop&w=2000&q=70");
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.02em;
  line-break: strict;
  word-break: auto-phrase;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

p,
dd {
  text-wrap: pretty;
}

/* ---------- Layout ---------- */
.site {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 400;
  transform: translateY(-110%);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  font-size: 13px;
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus {
  transform: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.site-name {
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 36px);
}
.nav-a {
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 2px no-repeat;
  transition: color 0.2s var(--ease), background-size 0.25s var(--ease);
}
.nav-a:hover {
  color: var(--blue);
  background-size: 100% 2px;
}
.nav-a.is-active {
  color: var(--blue);
  background-size: 100% 2px;
}

.menu-toggle {
  display: none;
}

/* ---------- Mobile menu ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: calc(var(--header-h) + 12px) 0 40px;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}
body.menu-open {
  overflow: hidden;
}
.menu-overlay a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.menu-foot {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--jp);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--light {
  background: var(--ink);
  color: #fff;
}
.btn--light:hover {
  background: var(--blue);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: var(--blue);
}
.link-light {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.link-light:hover {
  color: var(--blue);
}

/* ---------- Hero ---------- */
main > .hero,
main > .page-head {
  margin-top: calc(var(--header-h) * -1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.78) 70%, #fff 100%),
    var(--hero-img) center / cover no-repeat,
    var(--bg);
}
.hero {
  padding: calc(var(--header-h) + clamp(72px, 10vw, 128px)) 0 clamp(24px, 3vw, 40px);
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hero-lead {
  max-width: 33em;
  margin-top: clamp(24px, 3.5vw, 36px);
  font-size: 16px;
  line-height: 2;
  color: var(--text);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}
.hero-spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(56px, 8vw, 88px);
  border-top: 1px solid var(--line);
}
.hero-spec > div {
  padding: 20px 20px 0 0;
}
.hero-spec dt {
  font-size: 13px;
  color: var(--muted);
}
.hero-spec dd {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}
.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.hero + .sec {
  margin-top: clamp(64px, 9vw, 112px);
}
.sec {
  padding-bottom: clamp(64px, 9vw, 112px);
  scroll-margin-top: var(--header-h);
}
.sec-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.sec-side {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.sec-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sec-body {
  max-width: 720px;
}
.body {
  font-size: 16px;
  line-height: 2;
  color: var(--text);
}
.body + .body {
  margin-top: 18px;
}
.note {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* Aside */
.aside-block {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.aside-title {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

/* Table */
.table {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.table-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.table-row dt {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.table-row dd {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}
.table--release .table-row dd {
  font-weight: 700;
}

/* Steps */
.steps {
  border-top: 1px solid var(--line);
}
.steps li {
  display: grid;
  grid-template-columns: 40px 170px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.step-no {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.steps h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.steps .sub {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.steps p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text);
}

/* Progress */
.stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 36px;
}
.stages li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stages li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 16px;
  right: 0;
  height: 2px;
  background: var(--line);
}
.stages li:last-child::before {
  display: none;
}
.stages li.is-done::before {
  background: var(--ink);
}
.stage-node {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.stages .is-done .stage-node {
  border-color: var(--ink);
  background: var(--ink);
}
.stages .is-current .stage-node {
  border-color: var(--blue);
  background: var(--blue);
}
.stage-name {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.stages .is-done .stage-name {
  color: var(--ink);
}
.stages .is-current .stage-name {
  font-weight: 700;
  color: var(--blue);
}

/* ---------- Feature (roadmap) ---------- */
.feature {
  padding: 0 0 clamp(64px, 9vw, 112px);
  scroll-margin-top: var(--header-h);
}
.feature-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.feature-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feature-lead {
  max-width: 720px;
  font-size: 16px;
  line-height: 2;
  color: var(--text);
}
.feature-sub {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.arch-section {
  margin-top: clamp(48px, 7vw, 80px);
}
.arch-section .feature-sub {
  margin-bottom: 16px;
}
.arch-section .body {
  max-width: 760px;
}
.arch-section .body + .body {
  margin-top: 14px;
}

/* ---------- Brain figure ---------- */
.brain {
  margin: 40px 0 36px;
  padding: clamp(20px, 3.2vw, 36px) 0 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.brain-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.brain-head-total {
  font-family: var(--sans);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.scale {
  margin: 12px 0 8px;
}
.scale-bar,
.scale-labels {
  display: flex;
  gap: 2px;
}
.scale-seg {
  height: 10px;
}
.scale-seg--core {
  background: #f1f2fd;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.scale-seg--mem {
  background: var(--ink);
}
.scale-seg--exp {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.scale-labels {
  margin-top: 6px;
}
.scale-labels span {
  font-family: var(--sans);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.brain-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.brain-svg text {
  font-family: var(--sans);
}
.brain-hint {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* SVG regions */
.brain .r {
  transition: opacity 0.3s var(--ease);
}
.fill-core {
  fill: #f1f2fd;
}
.stroke-core,
.stroke-exp {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.sulci .gyri {
  fill: var(--blue);
  fill-opacity: 0.3;
  stroke: none;
}
.sulci .lat,
.sulci .cen {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sulci .lat {
  stroke-width: 1.2;
}
.sulci .cen {
  stroke-width: 1.4;
}
.fill-mem {
  fill: var(--ink);
}
.hippo-halo {
  fill: #fff;
  stroke: #fff;
  stroke-width: 3.5;
  stroke-linejoin: round;
}
.cb rect {
  fill: #fff;
  stroke: #fff;
  stroke-width: 2;
  transition: fill 0.4s var(--ease);
}
.cb.on rect {
  fill: var(--blue-mid);
}
.folia path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 0.6;
}
.cbn rect {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 1;
  transition: fill 0.4s var(--ease);
}
.cbn text {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}
.cbn.on rect {
  fill: var(--blue-mid);
}

/* Leaders and labels */
.lead {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
}
.lead-dot {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 1.5;
}
.sw--core {
  fill: #f1f2fd;
  stroke: var(--blue);
  stroke-width: 1.5;
}
.sw--mem {
  fill: var(--ink);
}
.sw--exp {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 1.5;
}
.lab-name {
  font-family: var(--jp);
  font-size: 15px;
  font-weight: 700;
  fill: var(--ink);
}
.lab-val {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.015em;
  fill: var(--ink);
}
.lab-sub {
  font-family: var(--jp);
  font-size: 13px;
  fill: var(--muted);
}

/* Hover / focus linking */
.brain[data-active] .r {
  opacity: 0.2;
}
.brain[data-active="core"] .r-core,
.brain[data-active="mem"] .r-mem,
.brain[data-active="exp"] .r-exp {
  opacity: 1;
}
.brain[data-active] .part {
  opacity: 0.4;
}
.brain[data-active="core"] .part--core,
.brain[data-active="mem"] .part--mem,
.brain[data-active="exp"] .part--exp {
  opacity: 1;
}

/* Legend columns */
.parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3.5vw, 48px);
  margin-top: 28px;
}
.part {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  transition: opacity 0.3s var(--ease);
}
.part-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}
span.sw {
  flex: none;
  width: 12px;
  height: 12px;
}
span.sw--core {
  background: #f1f2fd;
  box-shadow: inset 0 0 0 1.5px var(--blue);
}
span.sw--mem {
  background: var(--ink);
}
span.sw--exp {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.part-size {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.part-size span {
  margin-left: 10px;
  font-family: var(--jp);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.part-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text);
}
.experts {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.experts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}
.experts b {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  background: var(--blue-tint);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.experts li.on {
  font-weight: 700;
  color: var(--ink);
}
.experts li.on b {
  background: var(--blue-mid);
  color: var(--ink);
}

/* Plans */
.plan-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 6vw, 80px);
  margin-top: clamp(48px, 7vw, 72px);
}
.plan {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.plan h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.plan p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}
.plan-list + .note {
  margin-top: 28px;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.q-t {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq summary:hover .q-t {
  color: var(--blue);
}
.q-mk {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.q-mk::before,
.q-mk::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.q-mk::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}
.q-mk::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}
details[open] .q-mk::after {
  transform: scaleY(0);
}
details[open] .q-t {
  color: var(--blue);
}
.a {
  padding: 0 40px 24px 0;
}
.a p {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
}
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
}

/* Placeholder */
.tbd {
  display: inline-block;
  border-bottom: 1px dashed var(--muted);
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Page head (About) ---------- */
.page-head {
  padding: calc(var(--header-h) + clamp(64px, 9vw, 112px)) 0 clamp(32px, 5vw, 56px);
}
.page-title {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.page-lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: 16px;
  line-height: 2;
  color: var(--text);
}
.page-head + .sec {
  margin-top: clamp(24px, 4vw, 48px);
}

/* Profile */
.profile {
  margin-top: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.profile-name {
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.profile-role {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}
.profile + .table {
  margin-top: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  padding: clamp(48px, 6vw, 72px) 0 28px;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0.45) 100%),
    var(--hero-img) center / cover no-repeat,
    var(--bg);
  color: var(--text);
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.footer-desc {
  max-width: 30em;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--blue);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 48px);
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.footer-bottom p {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sec-grid,
  .feature-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sec-side {
    position: static;
  }
  .parts {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 60px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    padding: 8px 0;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
  }

  .hero-title {
    font-size: clamp(2.1rem, 9.5vw, 3rem);
  }
  .hero-lead {
    font-size: 15.5px;
  }
  .hero-spec {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 14px 0;
  }

  .steps li {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .steps p {
    grid-column: 2;
  }

  .stages {
    grid-template-columns: 1fr;
  }
  .stages li {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding-bottom: 22px;
  }
  .stages li:last-child {
    padding-bottom: 0;
  }
  .stages li::before {
    top: 18px;
    bottom: 0;
    left: 8px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .plan-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Brain: crop to the drawing, details move to the list below */
  .brain-stage {
    overflow: hidden;
  }
  .brain-svg {
    width: 166%;
    max-width: none;
  }
  .brain-labels {
    display: none;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .btn {
    height: 50px;
    padding: 0 24px;
    font-size: 14.5px;
  }
  .a {
    padding-right: 0;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .faq details::details-content,
  .cb rect,
  .cbn rect,
  .experts li,
  .experts b,
  .brain .r {
    transition: none;
  }
}

.sec-body .btn {
  margin-top: 20px;
}
