/*
 * NTT architecture prototype
 * Static, non-service presentation layer. System fonts and local assets only.
 */

:root,
html[data-theme="light"] {
  color-scheme: light;
  --proto-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --proto-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --proto-ink: #17141b;
  --proto-text: #2a252f;
  --proto-muted: #625967;
  --proto-line: #17141b;
  --proto-page: #fffaf0;
  --proto-page-2: #fff0f3;
  --proto-surface: #fffdf7;
  --proto-surface-2: #f9f1ea;
  --proto-soft: #f2e9e2;
  --proto-yellow: #ffe34d;
  --proto-yellow-2: #ffd528;
  --proto-pink: #ff5a9d;
  --proto-pink-soft: #ffafd0;
  --proto-cyan: #61dbea;
  --proto-lime: #cef25c;
  --proto-purple: #ad83f7;
  --proto-orange: #ff8a55;
  --proto-green: #64d39b;
  --proto-vivid-ink: #16131a;
  --proto-focus: #0968c7;
  --proto-dot: rgba(36, 82, 111, 0.22);
  --proto-shadow: #17141b;
  --proto-footer: #17141b;
  --proto-footer-text: #fff8fb;
  --proto-header-height: 76px;
  --proto-radius-sm: 10px;
  --proto-radius: 18px;
  --proto-radius-lg: 28px;
  --proto-outline: 3px;
  --proto-shadow-sm: 3px 3px 0 var(--proto-shadow);
  --proto-shadow-md: 6px 6px 0 var(--proto-shadow);
  --proto-shadow-lg: 9px 9px 0 var(--proto-shadow);
  --proto-gutter: clamp(18px, 4vw, 56px);
  --proto-section-gap: clamp(64px, 9vw, 120px);
  --proto-content: 1440px;
  --proto-reading: 760px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --proto-ink: #fff7fc;
  --proto-text: #f4ecf7;
  --proto-muted: #c9bdce;
  --proto-line: #0b090d;
  --proto-page: #17121b;
  --proto-page-2: #211925;
  --proto-surface: #302536;
  --proto-surface-2: #3a2c40;
  --proto-soft: #44334a;
  --proto-yellow: #ffe34d;
  --proto-yellow-2: #ffd528;
  --proto-pink: #ff6aaa;
  --proto-pink-soft: #e58bb3;
  --proto-cyan: #65ddea;
  --proto-lime: #cef25c;
  --proto-purple: #b994ff;
  --proto-orange: #ff9464;
  --proto-green: #6cdda6;
  --proto-vivid-ink: #151219;
  --proto-focus: #ffe34d;
  --proto-dot: rgba(255, 105, 168, 0.2);
  --proto-shadow: #08070a;
  --proto-footer: #0c0910;
  --proto-footer-text: #fff8fb;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    color-scheme: dark;
    --proto-ink: #fff7fc;
    --proto-text: #f4ecf7;
    --proto-muted: #c9bdce;
    --proto-line: #0b090d;
    --proto-page: #17121b;
    --proto-page-2: #211925;
    --proto-surface: #302536;
    --proto-surface-2: #3a2c40;
    --proto-soft: #44334a;
    --proto-yellow: #ffe34d;
    --proto-yellow-2: #ffd528;
    --proto-pink: #ff6aaa;
    --proto-pink-soft: #e58bb3;
    --proto-cyan: #65ddea;
    --proto-lime: #cef25c;
    --proto-purple: #b994ff;
    --proto-orange: #ff9464;
    --proto-green: #6cdda6;
    --proto-vivid-ink: #151219;
    --proto-focus: #ffe34d;
    --proto-dot: rgba(255, 105, 168, 0.2);
    --proto-shadow: #08070a;
    --proto-footer: #0c0910;
    --proto-footer-text: #fff8fb;
  }
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--proto-header-height) + 20px);
  scrollbar-color: var(--proto-pink) var(--proto-page-2);
  scrollbar-width: thin;
}

body.prototype-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  color: var(--proto-text);
  background-color: var(--proto-page);
  background-image:
    radial-gradient(circle, var(--proto-dot) 1.35px, transparent 1.5px),
    linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--proto-page-2) 32%, transparent) 100%);
  background-position: 0 0, 0 0;
  background-size: 18px 18px, 100% 100%;
  font-family: var(--proto-font);
  font-size: 16px;
  font-weight: 520;
  line-height: 1.65;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.prototype-page > main {
  flex: 1 0 auto;
}

body.prototype-page > footer {
  flex-shrink: 0;
}

body.prototype-page img,
body.prototype-page svg {
  display: block;
  max-width: 100%;
}

body.prototype-page img {
  height: auto;
}

body.prototype-page button,
body.prototype-page input,
body.prototype-page select,
body.prototype-page textarea {
  color: inherit;
  font: inherit;
}

body.prototype-page button {
  cursor: pointer;
}

body.prototype-page a {
  color: inherit;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

body.prototype-page ::selection {
  color: var(--proto-vivid-ink);
  background: var(--proto-cyan);
}

body.prototype-page :focus-visible {
  outline: 4px solid var(--proto-focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 3000;
  padding: 10px 16px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius-sm);
  box-shadow: var(--proto-shadow-sm);
  font-weight: 900;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Shared injected chrome */
.topbar-skeleton {
  min-height: var(--proto-header-height);
  background: var(--proto-yellow);
  border-bottom: var(--proto-outline) solid var(--proto-line);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--proto-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2.2vw, 32px);
  padding: 11px max(var(--proto-gutter), calc((100vw - var(--proto-content)) / 2));
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border-bottom: var(--proto-outline) solid var(--proto-line);
  box-shadow: 0 3px 0 rgba(10, 8, 12, 0.1);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--proto-vivid-ink);
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: clamp(36px, 4vw, 48px);
  object-fit: contain;
}

.nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.1vw, 14px);
  font-size: 14px;
  font-weight: 850;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--proto-vivid-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: #fffdf8;
  border-color: var(--proto-line);
}

.nav a:hover {
  transform: translateY(-1px);
}

.nav-badge,
.prototype-status,
.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  min-height: 26px;
  padding: 4px 9px;
  color: var(--proto-vivid-ink);
  background: #fffdf8;
  border: 2px solid var(--proto-line);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--proto-shadow);
  font-family: var(--proto-mono);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-badge {
  padding-inline: 7px;
  background: var(--proto-pink-soft);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.account-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  color: var(--proto-vivid-ink);
  background: var(--proto-pink-soft);
  border: 2.5px solid var(--proto-line);
  border-radius: 999px;
  box-shadow: var(--proto-shadow-sm);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.account-link:hover,
.account-link[aria-current="page"] {
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--proto-shadow);
}

.prototype-status,
.prototype-status-chip {
  background: var(--proto-lime);
}

.theme-toggle,
.prototype-theme-toggle,
.nav-burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  color: var(--proto-vivid-ink);
  background: #fffdf8;
  border: 2.5px solid var(--proto-line);
  border-radius: 50%;
  box-shadow: var(--proto-shadow-sm);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.theme-toggle:hover,
.prototype-theme-toggle:hover,
.nav-burger:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--proto-shadow);
}

.theme-toggle:active,
.prototype-theme-toggle:active,
.nav-burger:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--proto-shadow);
}

.prototype-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--proto-vivid-ink);
  border: 2px solid var(--proto-line);
  border-radius: 999px;
  box-shadow: 2px 2px 0 var(--proto-shadow);
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.prototype-theme-toggle {
  width: auto;
  min-width: 44px;
  padding-inline: 10px;
  gap: 6px;
  border-radius: 999px;
}

.prototype-theme-toggle-icon {
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.prototype-theme-toggle-label {
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  border-radius: 12px;
}

.nav-burger span {
  width: 20px;
  height: 2.5px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Main layout */
.proto-main {
  width: min(100%, var(--proto-content));
  margin-inline: auto;
  padding: 0 var(--proto-gutter) var(--proto-section-gap);
}

.proto-hero {
  position: relative;
  min-height: min(760px, calc(100svh - var(--proto-header-height)));
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding-block: clamp(64px, 9vw, 132px);
}

.proto-hero--compact {
  min-height: 600px;
  padding-block: clamp(54px, 7vw, 96px);
}

.proto-hero--compact .hero-copy h1 {
  font-size: clamp(42px, 5.3vw, 76px);
}

.proto-hero--compact .hero-visual {
  min-height: 330px;
}

.proto-hero::before,
.proto-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.proto-hero::before {
  top: 12%;
  right: -10vw;
  width: clamp(200px, 30vw, 460px);
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--proto-purple) 25%, transparent);
  border-radius: 42% 58% 66% 34% / 53% 35% 65% 47%;
  transform: rotate(12deg);
}

.proto-hero::after {
  bottom: 8%;
  left: -15vw;
  width: clamp(160px, 22vw, 320px);
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--proto-cyan) 24%, transparent);
  border-radius: 50%;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 900px;
  margin: 20px 0 22px;
  color: var(--proto-ink);
  font-size: clamp(44px, 6.4vw, 94px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
  word-break: keep-all;
}

.hero-copy > p {
  max-width: 680px;
  margin: 0;
  color: var(--proto-text);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.7;
  word-break: keep-all;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 50px);
  color: var(--proto-vivid-ink);
  background: var(--proto-cyan);
  border: 4px solid var(--proto-line);
  border-radius: var(--proto-radius-lg);
  box-shadow: var(--proto-shadow-lg);
  transform: rotate(1.2deg);
}

.hero-visual > * {
  max-width: 100%;
}

.eyebrow,
.section-kicker {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: 2.5px solid var(--proto-line);
  border-radius: 999px;
  box-shadow: var(--proto-shadow-sm);
  padding: 7px 14px;
  font-family: var(--proto-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  white-space: normal;
}

.status-row,
.hero-actions,
.legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.status-row {
  margin-top: 26px;
}

.status-chip:nth-child(4n + 1) { background: var(--proto-lime); }
.status-chip:nth-child(4n + 2) { background: var(--proto-pink-soft); }
.status-chip:nth-child(4n + 3) { background: var(--proto-cyan); }
.status-chip:nth-child(4n) { background: var(--proto-purple); }
.status-chip--defined { background: var(--proto-lime) !important; }
.status-chip--pending { background: var(--proto-yellow) !important; }
.status-chip--guard { background: var(--proto-pink-soft) !important; }

.hero-actions {
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  color: var(--proto-ink);
  background: var(--proto-surface);
  border: 2.5px solid var(--proto-line);
  border-radius: 999px;
  box-shadow: var(--proto-shadow-sm);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--proto-shadow);
}

.button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--proto-shadow);
}

.button--primary,
.button.primary,
body.prototype-page .button--primary {
  color: var(--proto-vivid-ink);
  background: var(--proto-pink);
}

.button--secondary,
.button.secondary,
body.prototype-page .button--secondary {
  color: var(--proto-vivid-ink);
  background: var(--proto-cyan);
}

.button--lime,
body.prototype-page .button--lime {
  color: var(--proto-vivid-ink);
  background: var(--proto-lime);
}

.button--ink,
.button.ink {
  color: var(--proto-footer-text);
  background: #17141b;
}

.button--ghost,
.button.ghost {
  color: var(--proto-ink);
  background: transparent;
  border-style: dashed;
  box-shadow: none;
}

.button[aria-disabled="true"],
.button.is-disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  filter: saturate(0.4);
  transform: none;
  box-shadow: none;
}

.section {
  position: relative;
  padding-block: var(--proto-section-gap) 0;
  scroll-margin-top: calc(var(--proto-header-height) + 18px);
}

.section + .section {
  margin-top: clamp(12px, 2vw, 28px);
}

.section--tint {
  margin-inline: calc(var(--proto-gutter) * -0.45);
  padding-inline: calc(var(--proto-gutter) * 0.45);
  padding-bottom: clamp(36px, 5vw, 66px);
  background: color-mix(in srgb, var(--proto-purple) 10%, var(--proto-surface));
  border: 2px solid color-mix(in srgb, var(--proto-purple) 38%, var(--proto-line));
  border-radius: var(--proto-radius-lg);
}

.section-head {
  max-width: 920px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .section-kicker {
  margin-inline: auto;
}

.section-title {
  margin: 16px 0 14px;
  color: var(--proto-ink);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.052em;
  text-wrap: balance;
  word-break: keep-all;
}

.section-copy {
  max-width: var(--proto-reading);
  margin: 0;
  color: var(--proto-muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.75;
  word-break: keep-all;
}

.section-head--center .section-copy {
  margin-inline: auto;
}

.paper-panel {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 3vw, 42px);
  color: var(--proto-text);
  background: var(--proto-surface);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius-lg);
  box-shadow: var(--proto-shadow-md);
}

html[data-theme="dark"] .paper-panel {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), var(--proto-shadow-md);
}

html[data-theme="dark"] .trust-hero__aside h2,
html[data-theme="dark"] .trust-hero__aside > p:not(.section-kicker),
html[data-theme="dark"] .trust-step-list li,
html[data-theme="dark"] .trust-principles,
html[data-theme="dark"] .hero-topic-list li {
  color: var(--proto-text);
}

/* Architecture flow */
.architecture-flow {
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1.2vw, 18px);
}

.flow-node {
  position: relative;
  min-height: 146px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
  flex: 1 1 0;
}

.flow-node:nth-of-type(4n + 1) { background: var(--proto-yellow); }
.flow-node:nth-of-type(4n + 2) { background: var(--proto-pink-soft); }
.flow-node:nth-of-type(4n + 3) { background: var(--proto-cyan); }
.flow-node:nth-of-type(4n) { background: var(--proto-lime); }
.flow-node[data-tone="purple"] { background: var(--proto-purple); }
.flow-node[data-tone="pink"] { background: var(--proto-pink-soft); }
.flow-node[data-tone="cyan"] { background: var(--proto-cyan); }
.flow-node[data-tone="lime"] { background: var(--proto-lime); }
.flow-node--yellow { background: var(--proto-yellow) !important; }
.flow-node--pink { background: var(--proto-pink-soft) !important; }
.flow-node--cyan { background: var(--proto-cyan) !important; }
.flow-node--lime { background: var(--proto-lime) !important; }
.flow-node--purple { background: var(--proto-purple) !important; }

.flow-node strong {
  display: block;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 950;
  line-height: 1.14;
}

.flow-node small {
  display: block;
  font-family: var(--proto-mono);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.025em;
}

.flow-node > span {
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.flow-arrow {
  min-width: 30px;
  display: grid;
  place-items: center;
  color: var(--proto-ink);
  font-family: var(--proto-mono);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 950;
  line-height: 1;
  flex: 0 0 auto;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 38px);
  align-items: stretch;
}

.split-grid:has(> :nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.metric-card,
.layer-card,
.research-card,
.product-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.prototype-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.prototype-card:hover {
  transform: translateY(-3px);
}

.prototype-card.is-current,
.is-current.prototype-card {
  outline: 5px solid var(--proto-yellow);
  outline-offset: 4px;
}

.info-card {
  position: relative;
  min-height: 230px;
  padding: clamp(20px, 2.5vw, 30px);
  color: var(--proto-vivid-ink);
  background: var(--proto-pink-soft);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-md);
}

.info-card:nth-child(4n + 2) { background: var(--proto-cyan); }
.info-card:nth-child(4n + 3) { background: var(--proto-lime); }
.info-card:nth-child(4n) { background: var(--proto-purple); }
.info-card[data-tone="yellow"] { background: var(--proto-yellow); }
.info-card[data-tone="pink"] { background: var(--proto-pink-soft); }
.info-card[data-tone="cyan"] { background: var(--proto-cyan); }
.info-card[data-tone="lime"] { background: var(--proto-lime); }
.info-card[data-tone="purple"] { background: var(--proto-purple); }

.info-card--featured {
  min-height: 360px;
  background: var(--proto-pink-soft);
}

.info-card--featured:nth-child(even) {
  background: var(--proto-cyan);
}

.info-card::before {
  content: attr(data-index);
  min-width: 28px;
  min-height: 28px;
  display: grid;
  place-items: center;
  width: fit-content;
  margin-bottom: 24px;
  padding: 4px 7px;
  color: #fff;
  background: #17141b;
  border: 2px solid #17141b;
  border-radius: 8px;
  font-family: var(--proto-mono);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.info-card:not([data-index])::before {
  content: none;
  display: none;
}

.info-card__index {
  min-width: 30px;
  min-height: 30px;
  display: grid;
  place-items: center;
  width: fit-content;
  margin-bottom: 22px;
  padding: 4px 8px;
  color: #fff;
  background: #17141b;
  border: 2px solid #17141b;
  border-radius: 8px;
  font-family: var(--proto-mono);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.info-card h3,
.metric-card h3,
.layer-card h3,
.research-card h3,
.product-card h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.info-card p,
.metric-card p,
.layer-card p,
.research-card p,
.product-card p {
  margin: 0;
  line-height: 1.65;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  padding: 20px;
  color: var(--proto-text);
  background: var(--proto-surface);
  border: 2.5px solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
}

.metric-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--proto-ink);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-card small {
  color: var(--proto-muted);
  font-size: 13px;
  font-weight: 750;
}

.metric-card--pink { color: var(--proto-vivid-ink); background: var(--proto-pink-soft); }
.metric-card--yellow { color: var(--proto-vivid-ink); background: var(--proto-yellow); }
.metric-card--cyan { color: var(--proto-vivid-ink); background: var(--proto-cyan); }
.metric-card--lime { color: var(--proto-vivid-ink); background: var(--proto-lime); }

.metric-card--pink strong,
.metric-card--yellow strong,
.metric-card--cyan strong,
.metric-card--lime strong,
.metric-card--pink small,
.metric-card--yellow small,
.metric-card--cyan small,
.metric-card--lime small {
  color: var(--proto-vivid-ink);
}

.metric-grid--inside {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 20px;
}

.metric-grid--inside .metric-card {
  min-height: 138px;
  color: var(--proto-text);
  background: var(--proto-surface);
}

.boundary-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-list li {
  position: relative;
  padding: 13px 15px 13px 48px;
  color: var(--proto-text);
  background: var(--proto-surface);
  border: 2px solid var(--proto-line);
  border-radius: 13px;
  font-weight: 720;
}

.boundary-list li::before {
  content: "×";
  position: absolute;
  top: 50%;
  left: 13px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--proto-vivid-ink);
  background: var(--proto-pink);
  border: 2px solid var(--proto-line);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  transform: translateY(-50%) rotate(-5deg);
}

.callout {
  position: relative;
  padding: clamp(20px, 3vw, 34px) clamp(20px, 3.5vw, 42px);
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-md);
}

.callout::before {
  content: "NOTE";
  position: absolute;
  top: -14px;
  left: 22px;
  padding: 4px 10px;
  background: #17141b;
  color: #fff;
  border-radius: 7px;
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.callout[data-tone="pink"] { background: var(--proto-pink-soft); }
.callout[data-tone="cyan"] { background: var(--proto-cyan); }
.callout[data-tone="lime"] { background: var(--proto-lime); }
.callout[data-tone="purple"] { background: var(--proto-purple); }

.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }

/* Layer stack */
.layer-stack {
  display: grid;
  gap: 13px;
  counter-reset: proto-layer;
}

.layer-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(70px, 0.22fr) minmax(140px, 0.65fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 18px;
  padding: 17px 20px;
  color: var(--proto-vivid-ink);
  background: var(--proto-surface);
  border: 2.5px solid var(--proto-line);
  border-radius: 14px;
  box-shadow: var(--proto-shadow-sm);
  counter-increment: proto-layer;
}

.layer-card:nth-child(4n + 1) { background: var(--proto-yellow); }
.layer-card:nth-child(4n + 2) { background: var(--proto-cyan); }
.layer-card:nth-child(4n + 3) { background: var(--proto-lime); }
.layer-card:nth-child(4n) { background: var(--proto-purple); }

.layer-card::before {
  content: "L" counter(proto-layer);
  width: fit-content;
  padding: 5px 9px;
  color: #fff;
  background: #17141b;
  border-radius: 8px;
  font-family: var(--proto-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.layer-card:has(> span:first-child)::before {
  content: none;
  display: none;
}

.layer-card > span:first-child {
  width: fit-content;
  color: var(--proto-vivid-ink);
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.045em;
}

.layer-card > strong {
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 950;
  line-height: 1.2;
}

.layer-card h3,
.layer-card > strong,
.layer-card p {
  margin: 0;
}

/* C16 catalogue */
.c16-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.c16-grid > .c16-row {
  grid-column: 1 / -1;
}

.c16-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.c16-row > :first-child:not(.c16-card) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
  font-weight: 950;
}

.c16-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(92px, 0.37fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  color: var(--proto-vivid-ink);
  background: var(--proto-surface);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
}

.c16-card__asset {
  min-width: 0;
  min-height: 100%;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  background: var(--proto-pink-soft);
  border-right: var(--proto-outline) solid var(--proto-line);
}

.c16-card:nth-child(4n + 2) .c16-card__asset { background: var(--proto-cyan); }
.c16-card:nth-child(4n + 3) .c16-card__asset { background: var(--proto-lime); }
.c16-card:nth-child(4n) .c16-card__asset { background: var(--proto-purple); }

.c16-card__asset img {
  width: min(100%, 132px);
  max-height: 146px;
  object-fit: contain;
  filter: drop-shadow(3px 4px 0 rgba(23, 20, 27, 0.74));
}

.c16-card__body {
  min-width: 0;
  align-self: center;
  padding: 16px;
  color: var(--proto-text);
}

.c16-card__meta {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.c16-card__i8,
.prototype-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 7px;
  border: 1.5px solid var(--proto-line);
  border-radius: 999px;
  font-family: var(--proto-mono);
  font-size: 8px;
  font-weight: 900;
  line-height: 1.25;
}

.c16-card__i8 {
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
}

.prototype-badge {
  color: var(--proto-vivid-ink);
  background: var(--proto-lime);
}

.c16-card__title {
  margin: 0 0 7px;
  color: var(--proto-ink);
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.c16-card__action,
.c16-card__direction {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.c16-card__action {
  color: var(--proto-text);
  font-weight: 800;
}

.c16-card__direction {
  margin-top: 5px;
  color: var(--proto-muted);
}

.c16-row:nth-child(4n + 1) .c16-art { background: var(--proto-pink-soft); }
.c16-row:nth-child(4n + 2) .c16-art { background: var(--proto-cyan); }
.c16-row:nth-child(4n + 3) .c16-art { background: var(--proto-lime); }
.c16-row:nth-child(4n) .c16-art { background: var(--proto-purple); }

.c16-art {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 16px;
  border-right: var(--proto-outline) solid var(--proto-line);
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1;
}

.c16-art img {
  width: min(100%, 120px);
  aspect-ratio: 1;
  object-fit: contain;
}

.c16-copy {
  min-width: 0;
  align-self: center;
  padding: 19px;
  color: var(--proto-text);
}

.c16-copy strong {
  display: block;
  margin-bottom: 7px;
  color: var(--proto-ink);
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 950;
  line-height: 1.2;
}

.c16-copy p {
  margin: 0;
  color: var(--proto-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* C64 matrix: horizontal and vertical scrolling stay inside this shell. */
.c64-shell {
  position: relative;
  isolation: isolate;
  max-width: 100%;
  max-height: min(78vh, 850px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--proto-surface);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-md);
  scrollbar-gutter: stable both-edges;
}

.c64-shell:focus-within {
  outline: 4px solid var(--proto-focus);
  outline-offset: 5px;
}

table.c64-grid,
.c64-grid table {
  width: 100%;
  min-width: 920px;
  margin: 0;
  color: var(--proto-text);
  background: var(--proto-surface);
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.c64-grid th,
.c64-grid td,
.c64-axis,
.c64-cell {
  min-width: 96px;
  height: 84px;
  padding: 10px;
  border-right: 2px solid var(--proto-line);
  border-bottom: 2px solid var(--proto-line);
  text-align: center;
  vertical-align: middle;
}

.c64-grid tr:last-child > * {
  border-bottom: 0;
}

.c64-grid tr > *:last-child {
  border-right: 0;
}

.c64-grid thead th,
.c64-grid thead .c64-axis {
  position: sticky;
  top: 0;
  z-index: 5;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  box-shadow: 0 2px 0 var(--proto-line);
  font-weight: 950;
}

.c64-grid tbody th,
.c64-grid tbody .c64-axis {
  position: sticky;
  left: 0;
  z-index: 4;
  color: var(--proto-vivid-ink);
  background: var(--proto-cyan);
  box-shadow: 2px 0 0 var(--proto-line);
  font-weight: 950;
}

.c64-grid thead th:first-child,
.c64-grid thead .c64-axis:first-child {
  left: 0;
  z-index: 7;
  background: var(--proto-pink);
  box-shadow: 2px 2px 0 var(--proto-line);
}

.c64-cell {
  position: relative;
  background: var(--proto-surface);
  font-size: 13px;
  line-height: 1.35;
}

.c64-grid tbody tr:nth-child(even) .c64-cell,
.c64-grid tbody tr:nth-child(even) td {
  background: var(--proto-surface-2);
}

.c64-cell[data-pure="true"],
.c64-cell.is-pure {
  color: var(--proto-vivid-ink);
  background: var(--proto-lime) !important;
  font-weight: 900;
}

.c64-cell[data-state="placeholder"],
.c64-cell.is-placeholder {
  color: var(--proto-muted);
  background-image: repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in srgb, var(--proto-muted) 9%, transparent) 8px 16px);
}

.c64-matrix__viewport {
  min-width: 920px;
}

.c64-matrix {
  font-variant-numeric: tabular-nums;
}

.c64-matrix__corner {
  min-width: 146px !important;
  font-size: 13px;
  line-height: 1.25;
}

.c64-matrix__axis {
  font-family: var(--proto-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.c64-cell__asset-slot {
  display: block;
  width: fit-content;
  margin: 0 auto 7px;
  padding: 2px 5px;
  color: var(--proto-muted);
  background: color-mix(in srgb, var(--proto-surface-2) 78%, transparent);
  border: 1px dashed currentColor;
  border-radius: 4px;
  font-family: var(--proto-mono);
  font-size: 7px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.c64-cell__details {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}

.c64-cell__name {
  color: var(--proto-ink);
  font-weight: 900;
}

.c64-cell__pure,
.c64-cell__anchor {
  display: inline-flex;
  padding: 2px 5px;
  color: var(--proto-vivid-ink);
  background: #fffdf8;
  border: 1px solid var(--proto-line);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.15;
}

.c64-cell.has-anchor:not(.is-pure) {
  box-shadow: inset 0 0 0 3px var(--proto-purple);
}

.c64-grid:not(table) {
  min-width: 920px;
  display: block;
  background: var(--proto-surface);
}

.c64-grid:not(table):has(> .c64-axis) {
  display: grid;
  grid-template-columns: repeat(9, minmax(96px, 1fr));
}

.c64-grid:not(table) > .c64-axis[data-axis="column"] {
  position: sticky;
  top: 0;
  z-index: 5;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
}

.c64-grid:not(table) > .c64-axis[data-axis="row"] {
  position: sticky;
  left: 0;
  z-index: 4;
  color: var(--proto-vivid-ink);
  background: var(--proto-cyan);
}

.asset-slot {
  min-height: 170px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 24px;
  color: var(--proto-muted);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--proto-pink) 9%, transparent), transparent 58%),
    var(--proto-surface-2);
  border: 3px dashed var(--proto-line);
  border-radius: var(--proto-radius);
  text-align: center;
}

.asset-slot:not(.has-asset)::before {
  content: "+";
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: 2px solid var(--proto-line);
  border-radius: 50%;
  box-shadow: var(--proto-shadow-sm);
  font-size: 26px;
  font-weight: 950;
}

.asset-slot.has-asset::before {
  content: none;
  display: none;
}

.asset-slot strong {
  color: var(--proto-ink);
  font-size: 17px;
  font-weight: 900;
}

.asset-slot small {
  max-width: 42ch;
  font-family: var(--proto-mono);
  font-size: 11px;
  line-height: 1.5;
}

.legend {
  margin-top: 18px;
  color: var(--proto-muted);
  font-size: 13px;
}

.legend > * {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  background: var(--proto-surface);
  border: 1.5px solid var(--proto-line);
  border-radius: 999px;
  font-weight: 750;
}

.legend > *::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  background: var(--legend-color, var(--proto-pink));
  border: 1.5px solid var(--proto-line);
  border-radius: 50%;
}

/* Generic data tables */
.prototype-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  color: var(--proto-text);
  background: var(--proto-surface);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
  border-collapse: separate;
  border-spacing: 0;
}

div.prototype-table {
  display: block;
}

.prototype-table table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

table.prototype-table {
  min-width: 700px;
}

.prototype-table th,
.prototype-table td {
  padding: 14px 16px;
  border-right: 1.5px solid var(--proto-line);
  border-bottom: 1.5px solid var(--proto-line);
  text-align: left;
  vertical-align: top;
}

.prototype-table tr:last-child > * { border-bottom: 0; }
.prototype-table tr > *:last-child { border-right: 0; }

.prototype-table th {
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  font-size: 13px;
  font-weight: 900;
}

.prototype-table tbody tr:nth-child(even) td {
  background: var(--proto-surface-2);
}

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

/* Product and route prototype */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.product-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.4vw, 30px);
  color: var(--proto-vivid-ink);
  background: var(--proto-pink-soft);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-md);
}

.product-card:nth-child(4n + 2) { background: var(--proto-cyan); }
.product-card:nth-child(4n + 3) { background: var(--proto-lime); }
.product-card:nth-child(4n) { background: var(--proto-purple); }

.product-card .status-chip {
  margin-bottom: 18px;
  background: #fffdf8;
}

.product-card p {
  margin-bottom: 24px;
}

.product-card .button,
.product-card > :last-child {
  margin-top: auto;
}

.product-card__asset {
  width: 100%;
  min-height: 142px;
  display: grid;
  place-items: center;
  margin: 0 0 22px;
  padding: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  border: 2px dashed var(--proto-line);
  border-radius: 14px;
}

.product-card__asset:empty::before {
  content: "PRODUCT ASSET · LATER";
  color: var(--proto-vivid-ink);
  font-family: var(--proto-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.product-card__asset img {
  width: min(100%, 180px);
  max-height: 122px;
  object-fit: contain;
}

.product-card__meta {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 34px 26px 0;
}

.product-card__phase,
.product-card__audience {
  display: inline-flex;
  padding: 4px 7px;
  color: var(--proto-vivid-ink);
  background: #fffdf8;
  border: 1.5px solid var(--proto-line);
  border-radius: 999px;
  font-family: var(--proto-mono);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
}

.product-card__id {
  margin: 0 0 8px !important;
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.035em;
}

.product-card__purpose {
  margin-bottom: 18px !important;
  font-size: 15px;
  line-height: 1.65;
}

.product-card__title {
  color: var(--proto-vivid-ink);
}

.product-card__for-whom,
.product-card__receive-block {
  width: 100%;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 2px solid rgba(23, 20, 27, 0.7);
}

.product-card__for-whom > strong,
.product-card__receive-block > strong,
.product-card__sample > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 950;
}

.product-card__for-whom p {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.55;
}

.product-card__receives {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card__receives li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.product-card__receives li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 950;
}

.product-card__sample {
  width: 100%;
  margin: 0 0 20px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.78);
  border: 2px solid var(--proto-line);
  border-radius: 12px;
}

.product-card__sample p {
  margin: 0 0 9px !important;
  font-size: 14px;
  line-height: 1.6;
}

.product-card__sample small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.product-card__status {
  width: 100%;
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
}

.product-card__status > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  padding-top: 7px;
  border-top: 1.5px solid rgba(23, 20, 27, 0.72);
}

.product-card__status dt,
.product-card__status dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.product-card__status dt { font-weight: 900; }
.product-card__status dd { font-weight: 700; }

.product-card__constraints {
  display: grid;
  gap: 6px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.product-card__constraints li {
  position: relative;
  padding-left: 15px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.product-card__constraints li::before {
  content: "×";
  position: absolute;
  left: 0;
  font-weight: 950;
}

.route-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 30px 0 0;
  list-style: none;
  counter-reset: route-step;
}

.route-rail--six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.route-rail::before {
  content: "";
  position: absolute;
  top: 49px;
  right: 7%;
  left: 7%;
  height: 5px;
  background: var(--proto-line);
  border-radius: 999px;
}

.route-step {
  position: relative;
  z-index: 1;
  padding: 56px 18px 20px;
  color: var(--proto-text);
  background: var(--proto-surface);
  border: 2.5px solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
  counter-increment: route-step;
}

.route-step::before {
  content: counter(route-step, decimal-leading-zero);
  position: absolute;
  top: -21px;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: 50%;
  box-shadow: var(--proto-shadow-sm);
  font-family: var(--proto-mono);
  font-size: 12px;
  font-weight: 950;
  transform: translateX(-50%);
}

.route-step:has(> span:first-child)::before {
  content: none;
  display: none;
}

.route-step > span:first-child {
  position: absolute;
  top: -21px;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: 50%;
  box-shadow: var(--proto-shadow-sm);
  font-family: var(--proto-mono);
  font-size: 12px;
  font-weight: 950;
  transform: translateX(-50%);
}

.route-step > div > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--proto-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.route-step > div > p {
  margin: 0;
  color: var(--proto-muted);
  font-size: 14px;
  line-height: 1.55;
}

.route-step h3 {
  margin: 0 0 8px;
  color: var(--proto-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.route-step p {
  margin: 0;
  color: var(--proto-muted);
  font-size: 14px;
  line-height: 1.55;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.research-card {
  min-height: 250px;
  padding: clamp(22px, 2.5vw, 30px);
  color: var(--proto-text);
  background: var(--proto-surface);
  border: var(--proto-outline) dashed var(--proto-line);
  border-radius: var(--proto-radius);
}

.research-card::before {
  content: "RESEARCH / VALIDATION";
  display: block;
  width: fit-content;
  margin-bottom: 24px;
  padding: 5px 9px;
  color: var(--proto-vivid-ink);
  background: var(--proto-purple);
  border: 2px solid var(--proto-line);
  border-radius: 7px;
  font-family: var(--proto-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.research-card--feature {
  grid-column: span 2;
  border-style: solid;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--proto-purple) 24%, transparent), transparent 62%),
    var(--proto-surface);
}

.research-card.is-current,
.research-card--feature.is-current {
  outline: 5px solid var(--proto-yellow);
  outline-offset: 4px;
}

.empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 32px;
  color: var(--proto-muted);
  background: var(--proto-surface-2);
  border: 3px dashed var(--proto-line);
  border-radius: var(--proto-radius);
  text-align: center;
}

.empty-state::before {
  content: "…";
  width: 64px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--proto-vivid-ink);
  background: var(--proto-cyan);
  border: 2px solid var(--proto-line);
  border-radius: 50%;
  box-shadow: var(--proto-shadow-sm);
  font-size: 28px;
  font-weight: 950;
}

.empty-state h3,
.empty-state p {
  max-width: 46ch;
  margin: 0;
}

.empty-state h3 {
  color: var(--proto-ink);
  font-size: 22px;
  font-weight: 900;
}

.result-contract {
  display: block;
}

.result-contract > ol,
.result-contract:not(:has(> ol)) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: result-contract;
}

.result-contract > ol > li,
.result-contract:not(:has(> ol)) > * {
  position: relative;
  min-height: 130px;
  padding: 48px 17px 17px;
  color: var(--proto-text);
  background: var(--proto-surface);
  border: 2px solid var(--proto-line);
  border-radius: 14px;
  counter-increment: result-contract;
  list-style: none;
}

.result-contract > ol > li::before,
.result-contract:not(:has(> ol)) > *::before {
  content: counter(result-contract, decimal-leading-zero);
  position: absolute;
  top: 13px;
  left: 15px;
  color: var(--proto-vivid-ink);
  font-family: var(--proto-mono);
  font-size: 12px;
  font-weight: 950;
  text-decoration: underline 5px var(--proto-pink);
  text-underline-offset: 4px;
}

html[data-theme="dark"] .result-contract > ol > li::before,
html[data-theme="dark"] .result-contract:not(:has(> ol)) > *::before {
  color: var(--proto-text);
}

.result-contract > ol > li > span:first-child {
  display: none;
}

.result-contract strong {
  display: block;
  margin-bottom: 7px;
  color: var(--proto-ink);
  font-weight: 900;
}

.result-contract p {
  margin: 0;
  color: var(--proto-muted);
  font-size: 13px;
  line-height: 1.55;
}

.notice-banner {
  position: relative;
  display: block;
  min-height: 78px;
  padding: 20px clamp(18px, 3vw, 30px) 20px clamp(76px, 7vw, 92px);
  color: var(--proto-vivid-ink);
  background: var(--proto-lime);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
}

.notice-banner::before {
  content: "!";
  position: absolute;
  top: 50%;
  left: clamp(18px, 2.5vw, 28px);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--proto-yellow);
  border: 2px solid var(--proto-line);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 950;
  transform: translateY(-50%);
}

.notice-banner > :first-child,
.notice-banner > :last-child {
  margin-top: 0;
  margin-bottom: 0;
}

/* Shared injected footer */
.footer {
  margin-top: clamp(70px, 10vw, 140px);
  padding: clamp(48px, 7vw, 80px) max(var(--proto-gutter), calc((100vw - var(--proto-content)) / 2)) 24px;
  color: var(--proto-footer-text);
  background: var(--proto-footer);
  border-top: 4px solid var(--proto-line);
  font-family: var(--proto-font);
}

.footer-body {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2.8fr);
  align-items: start;
  gap: clamp(42px, 6vw, 96px);
}

.footer-brand {
  max-width: 360px;
}

.footer-brand__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--proto-cyan);
  font-family: var(--proto-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footer-brand__title {
  display: block;
  color: var(--proto-footer-text);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 950;
  line-height: 1.24;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.footer-brand__copy {
  margin: 14px 0 18px;
  color: #d3c7d7;
  font-size: 13px;
  line-height: 1.72;
  word-break: keep-all;
}

.footer-runtime-chip {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: 2px solid #08070a;
  border-radius: 999px;
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.footer-col {
  min-width: 0;
}

.footer-col > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--proto-yellow);
  font-size: 15px;
  font-weight: 900;
}

.footer-col > strong:first-child + strong {
  display: none;
}

.footer-col > small {
  display: block;
  margin: -4px 0 14px;
  color: #d3c7d7;
  line-height: 1.5;
}

.footer-col .footer-strong-2 {
  margin-top: 24px;
}

.footer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a,
.footer-bottom a {
  color: var(--proto-footer-text);
  text-decoration: none;
}

.footer-list a:hover,
.footer-bottom a:hover {
  color: var(--proto-yellow);
  text-decoration: underline;
}

.footer-list .soon-tag {
  display: inline-flex;
  margin-left: 7px;
  padding: 2px 6px;
  color: var(--proto-vivid-ink);
  background: var(--proto-pink-soft);
  border: 1px solid #0b090d;
  border-radius: 999px;
  font-family: var(--proto-mono);
  font-size: 8px;
  font-weight: 900;
  vertical-align: 2px;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 20px;
  color: #d3c7d7;
  border-top: 1px solid #4a414e;
}

.footer-bottom small {
  display: block;
}

.footer-bottom__status {
  display: grid;
  gap: 4px;
}

.footer-mini {
  margin-top: 0;
  padding-block: 18px;
}

.footer-mini .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-mini__status {
  display: grid;
  gap: 3px;
}

.footer-mini__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-mini__links a {
  color: var(--proto-footer-text);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.footer-mini__links a:hover {
  color: var(--proto-yellow);
  text-decoration: underline;
}

.toast-soon {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 2400;
  max-width: min(360px, calc(100vw - 36px));
  padding: 13px 17px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: 13px;
  box-shadow: var(--proto-shadow-md);
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) rotate(1deg);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast-soon.is-show {
  opacity: 1;
  transform: translateY(0) rotate(1deg);
}

/* graph.heal7.com catalog adapters: SCH-29, SCH-28, SCH-23 */
.graph-figure {
  overflow: hidden;
  padding: clamp(18px, 3vw, 32px);
}

.graph-figure__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.graph-figure__head strong {
  color: var(--proto-ink);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.3;
}

.graph-code {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 30px;
  padding: 3px 9px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: 2px solid var(--proto-line);
  border-radius: 8px;
  box-shadow: 2px 2px 0 var(--proto-shadow);
  font-family: var(--proto-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.graph-canvas {
  min-width: 0;
  overflow-x: auto;
  padding: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--proto-soft) 72%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--proto-soft) 72%, transparent) 1px, transparent 1px),
    color-mix(in srgb, var(--proto-surface) 92%, var(--proto-page));
  background-size: 24px 24px;
  border: 2px solid var(--proto-line);
  border-radius: 14px;
}

.graph-svg {
  width: 100%;
  min-width: 660px;
  height: auto;
  overflow: visible;
}

.graph-box,
.graph-step {
  stroke: var(--proto-line);
  stroke-width: 3;
}

.graph-tone--yellow {
  fill: var(--proto-yellow);
}

.graph-tone--cyan {
  fill: var(--proto-cyan);
}

.graph-tone--purple {
  fill: var(--proto-purple);
}

.graph-tone--pink {
  fill: var(--proto-pink-soft);
}

.graph-title,
.graph-step-label,
.graph-axis,
.graph-caption {
  fill: var(--proto-vivid-ink);
  font-family: var(--proto-font);
  font-weight: 900;
}

.graph-title {
  font-size: 18px;
}

.graph-copy {
  fill: var(--proto-vivid-ink);
  font-family: var(--proto-font);
  font-size: 13px;
  font-weight: 650;
}

.graph-step-label {
  font-size: 13px;
}

.graph-axis {
  fill: var(--proto-text);
  font-family: var(--proto-mono);
  font-size: 13px;
}

.graph-caption {
  fill: var(--proto-text);
  font-family: var(--proto-mono);
  font-size: 13px;
}

.graph-connector,
.graph-lane,
.graph-gridline {
  fill: none;
  stroke: var(--proto-line);
}

.graph-connector {
  stroke-width: 3;
  stroke-linecap: round;
}

.graph-lane {
  stroke-width: 2;
  stroke-dasharray: 8 7;
  opacity: 0.65;
}

.graph-gridline {
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  opacity: 0.35;
}

.graph-arrow {
  fill: var(--proto-text);
  font-family: var(--proto-mono);
  font-size: 18px;
  font-weight: 900;
}

/* Trust IA: about, methodology, safety, FAQ */
.trust-page .proto-main {
  --proto-reading: 800px;
}

.trust-hero__aside {
  min-height: 380px;
  place-items: stretch;
  align-content: center;
}

.trust-hero__aside h2 {
  margin: 20px 0 16px;
  color: var(--proto-vivid-ink);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

.trust-hero__aside > p:not(.section-kicker) {
  margin: 0;
  color: var(--proto-vivid-ink);
  line-height: 1.7;
}

.trust-hero__aside .button {
  width: fit-content;
  margin-top: 22px;
}

.trust-step-list,
.trust-principles,
.trust-check-list,
.trace-flow {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-step-list {
  display: grid;
  gap: 11px;
}

.trust-step-list li {
  display: grid;
  grid-template-columns: minmax(82px, 0.36fr) minmax(0, 1fr);
  gap: 13px;
  padding: 12px 14px;
  color: var(--proto-vivid-ink);
  background: color-mix(in srgb, var(--proto-surface) 82%, transparent);
  border: 2px solid var(--proto-line);
  border-radius: 12px;
}

.trust-step-list strong {
  font-weight: 950;
}

.trust-step-list span {
  line-height: 1.5;
}

.trust-principles {
  display: grid;
  gap: 13px;
  color: var(--proto-vivid-ink);
}

.trust-principles li {
  position: relative;
  padding-left: 27px;
  font-weight: 760;
}

.trust-principles li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 950;
}

.trust-dual-grid,
.trust-card-grid,
.rights-grid,
.method-layer-grid,
.prohibited-grid,
.numbers-caution,
.decision-board {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}

.trust-dual-grid,
.prohibited-grid,
.decision-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-card-grid,
.numbers-caution {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rights-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.method-layer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-layer--field {
  grid-column: span 2;
}

.trust-card,
.prohibited-grid > article,
.numbers-caution > div {
  position: relative;
  min-width: 0;
  padding: clamp(21px, 2.7vw, 32px);
  color: var(--proto-text);
  background: var(--proto-surface);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
}

.trust-card--positive {
  background: color-mix(in srgb, var(--proto-lime) 26%, var(--proto-surface));
}

.trust-card--guard {
  background: color-mix(in srgb, var(--proto-pink-soft) 25%, var(--proto-surface));
}

.trust-card h3,
.prohibited-grid h3,
.prohibited-grid strong,
.numbers-caution strong {
  display: block;
  margin: 8px 0 12px;
  color: var(--proto-ink);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.trust-card p,
.prohibited-grid p,
.numbers-caution p {
  margin: 0;
  color: var(--proto-muted);
  line-height: 1.7;
  word-break: keep-all;
}

.trust-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--proto-ink);
  font-weight: 900;
}

.trust-card__label,
.trust-card__index,
.method-layer > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 3px 9px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: 2px solid var(--proto-line);
  border-radius: 8px;
  font-family: var(--proto-mono);
  font-size: 11px;
  font-weight: 950;
}

.trust-card--guard .trust-card__label {
  background: var(--proto-pink-soft);
}

.trust-check-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.trust-check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--proto-text);
  line-height: 1.58;
}

.trust-check-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--proto-pink);
  font-weight: 950;
}

.decision-board article {
  min-width: 0;
  padding: 20px;
  background: var(--proto-soft);
  border: 2px solid var(--proto-line);
  border-radius: 14px;
}

.decision-board strong {
  display: block;
  color: var(--proto-ink);
  font-size: 20px;
  font-weight: 950;
}

.decision-board p {
  margin: 8px 0 16px;
  color: var(--proto-muted);
}

.decision-board span {
  color: var(--proto-muted);
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 900;
}

.trust-pending-note {
  margin: 22px 0 0;
  padding: 16px 19px;
  color: var(--proto-text);
  background: color-mix(in srgb, var(--proto-yellow) 20%, var(--proto-surface));
  border: 2px dashed var(--proto-line);
  border-radius: 13px;
}

.trust-next-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: var(--proto-section-gap);
}

.trust-next-nav a {
  display: grid;
  gap: 5px;
  padding: 20px 22px;
  color: var(--proto-vivid-ink);
  background: var(--proto-cyan);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.trust-next-nav a:nth-child(2) {
  background: var(--proto-yellow);
}

.trust-next-nav a:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--proto-shadow-md);
}

.trust-next-nav span {
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.trust-next-nav strong {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 950;
}

.method-layer {
  min-height: 250px;
}

.method-layer--anchor {
  background: color-mix(in srgb, var(--proto-yellow) 26%, var(--proto-surface));
}

.method-layer--scene {
  background: color-mix(in srgb, var(--proto-purple) 20%, var(--proto-surface));
}

.method-layer--field {
  background: color-mix(in srgb, var(--proto-cyan) 22%, var(--proto-surface));
}

.trace-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trace-flow li {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--proto-soft);
  border: 2px solid var(--proto-line);
  border-radius: 13px;
}

.trace-flow li > span {
  color: var(--proto-pink);
  font-family: var(--proto-mono);
  font-size: 12px;
  font-weight: 950;
}

.trace-flow strong {
  color: var(--proto-ink);
  font-size: 17px;
  font-weight: 950;
}

.trace-flow p {
  margin: 5px 0 0;
  color: var(--proto-muted);
  font-size: 14px;
  line-height: 1.55;
}

.validation-ladder {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.validation-ladder article {
  min-width: 0;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 17px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
}

.validation-ladder article:nth-child(3n + 2) { background: var(--proto-cyan); }
.validation-ladder article:nth-child(3n) { background: var(--proto-purple); }
.validation-ladder span,
.validation-ladder b {
  font-family: var(--proto-mono);
  font-size: 11px;
  font-weight: 950;
}

.validation-ladder strong {
  margin-top: auto;
  font-size: 19px;
  font-weight: 950;
}

.validation-ladder small {
  line-height: 1.45;
}

.validation-ladder b {
  width: fit-content;
  margin-top: 5px;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.58);
  border: 1.5px solid var(--proto-line);
  border-radius: 999px;
}

.numbers-caution {
  padding: clamp(19px, 3vw, 34px);
}

.numbers-caution > div {
  box-shadow: none;
}

.trust-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  padding: 0;
}

.trust-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  color: var(--proto-text);
  text-align: left;
}

.trust-table th,
.trust-table td {
  padding: 16px 18px;
  border: 1.5px solid color-mix(in srgb, var(--proto-line) 55%, transparent);
  vertical-align: top;
}

.trust-table thead th {
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  font-size: 13px;
  font-weight: 950;
}

.trust-table tbody th {
  color: var(--proto-ink);
  background: color-mix(in srgb, var(--proto-cyan) 18%, var(--proto-surface));
  font-weight: 950;
}

.trust-table td {
  background: var(--proto-surface);
}

.prohibited-grid > article {
  background: color-mix(in srgb, var(--proto-pink-soft) 20%, var(--proto-surface));
}

.trust-contact-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trust-contact-state h2 {
  margin: 18px 0 10px;
  color: var(--proto-ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.trust-contact-state p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--proto-muted);
}

.trust-contact-state > .status-chip {
  flex: 0 0 auto;
}

.faq-index nav {
  display: grid;
  gap: 9px;
}

.faq-index nav a {
  padding: 10px 13px;
  color: var(--proto-vivid-ink);
  background: rgba(255, 255, 255, 0.58);
  border: 2px solid var(--proto-line);
  border-radius: 10px;
  font-family: var(--proto-mono);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.faq-index nav a:hover {
  background: var(--proto-yellow);
}

.faq-section {
  scroll-margin-top: calc(var(--proto-header-height) + 16px);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: clip;
  color: var(--proto-text);
  background: var(--proto-surface);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius);
  box-shadow: var(--proto-shadow-sm);
}

.faq-item summary {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 18px 68px 18px 22px;
  color: var(--proto-ink);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 950;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: 2px solid var(--proto-line);
  border-radius: 50%;
  font-family: var(--proto-mono);
  font-weight: 950;
  transition: transform 150ms ease;
}

.faq-item[open] summary {
  background: color-mix(in srgb, var(--proto-cyan) 20%, var(--proto-surface));
  border-bottom: 2px solid var(--proto-line);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item > div {
  padding: 20px 22px 24px;
}

.faq-item > div p {
  max-width: 880px;
  margin: 0;
  color: var(--proto-muted);
  line-height: 1.75;
  word-break: keep-all;
}

.faq-item > div a {
  display: inline-block;
  margin-top: 13px;
  color: var(--proto-ink);
  font-weight: 900;
}

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

.glossary-grid > div {
  min-width: 0;
  padding: 20px 22px;
  color: var(--proto-text);
  background: var(--proto-surface);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius-sm);
  box-shadow: var(--proto-shadow-sm);
}

.glossary-grid dt {
  margin-bottom: 8px;
  color: var(--proto-ink);
  font-size: 17px;
  font-weight: 950;
}

.glossary-grid dd {
  margin: 0;
  color: var(--proto-muted);
  line-height: 1.7;
  word-break: keep-all;
}

.noscript-notice {
  width: min(var(--proto-max), calc(100% - (var(--proto-gutter) * 2)));
  margin: 18px auto 0;
  padding: 14px 18px;
  color: var(--proto-ink);
  background: var(--proto-yellow);
  border: var(--proto-outline) solid var(--proto-line);
  border-radius: var(--proto-radius-sm);
  box-shadow: var(--proto-shadow-sm);
  font-weight: 800;
}

.noscript-notice a {
  color: inherit;
}

/* Utilities */
.only-mobile {
  display: none !important;
}

.reveal {
  animation: proto-reveal 520ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

[data-reveal][data-reveal-ready="true"] {
  opacity: 1;
  transform: translateY(0);
  animation: proto-reveal 520ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

[data-reveal][data-reveal-ready="true"].is-visible,
[data-reveal][data-reveal-ready="true"].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes proto-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 1080px) {
  :root {
    --proto-header-height: 70px;
  }

  .topbar {
    gap: 12px;
  }

  .nav {
    gap: 2px;
    font-size: 13px;
  }

  .nav a {
    padding-inline: 7px;
  }

  .prototype-status,
  .prototype-status-chip {
    display: none;
  }

  .proto-hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
    gap: 40px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .architecture-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .architecture-flow .flow-arrow {
    display: none;
  }

  .card-grid,
  .research-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid--four,
  .split-grid:has(> :nth-child(3)),
  .c16-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 42px;
  }

  .route-rail::before {
    display: none;
  }

  .result-contract > ol,
  .result-contract:not(:has(> ol)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-body {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    max-width: 620px;
  }

  .footer-grid,
  .trust-card-grid,
  .rights-grid,
  .method-layer-grid,
  .trace-flow,
  .validation-ladder,
  .numbers-caution {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-layer--field {
    grid-column: auto;
  }
}

/* Mobile */
@media (max-width: 780px) {
  :root {
    --proto-header-height: 64px;
    --proto-gutter: clamp(16px, 5vw, 24px);
    --proto-section-gap: clamp(56px, 18vw, 88px);
    --proto-outline: 2.5px;
    --proto-shadow-md: 4px 4px 0 var(--proto-shadow);
    --proto-shadow-lg: 6px 6px 0 var(--proto-shadow);
  }

  html {
    scroll-padding-top: calc(var(--proto-header-height) + 12px);
  }

  body.prototype-page {
    font-size: 15px;
    background-size: 16px 16px, 100% 100%;
  }

  .topbar {
    min-height: var(--proto-header-height);
    padding-block: 8px;
  }

  .brand-logo {
    height: 36px;
    max-width: min(46vw, 184px);
  }

  .nav-burger {
    display: inline-flex;
  }

  .theme-toggle,
  .prototype-theme-toggle,
  .nav-burger {
    width: 44px;
    height: 44px;
  }

  .prototype-theme-toggle {
    min-width: 44px;
    padding-inline: 0;
  }

  .prototype-theme-toggle-label {
    display: none;
  }

  .nav {
    position: absolute;
    top: calc(100% + 3px);
    right: var(--proto-gutter);
    left: var(--proto-gutter);
    z-index: 1001;
    display: none;
    align-items: stretch;
    padding: 10px;
    background: var(--proto-yellow);
    border: var(--proto-outline) solid var(--proto-line);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--proto-shadow-md);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding-inline: 13px;
    border-radius: 10px;
  }

  .proto-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: clamp(48px, 14vw, 80px);
  }

  .hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(42px, 14vw, 68px);
    line-height: 1.02;
  }

  .hero-visual {
    min-height: 340px;
    padding: 22px;
    transform: rotate(0.7deg);
  }

  .hero-actions .button {
    flex: 1 1 180px;
  }

  .section-title {
    font-size: clamp(34px, 11vw, 52px);
  }

  .paper-panel {
    padding: 20px;
    border-radius: 20px;
  }

  .architecture-flow,
  .split-grid,
  .card-grid,
  .metric-grid,
  .product-grid,
  .research-grid,
  .route-rail,
  .result-contract > ol,
  .result-contract:not(:has(> ol)),
  .c16-grid {
    grid-template-columns: 1fr;
  }

  .trust-dual-grid,
  .trust-card-grid,
  .rights-grid,
  .method-layer-grid,
  .prohibited-grid,
  .numbers-caution,
  .decision-board,
  .trace-flow,
  .validation-ladder,
  .trust-next-nav {
    grid-template-columns: 1fr;
  }

  .architecture-flow {
    gap: 12px;
  }

  .flow-node {
    min-height: 118px;
  }

  .architecture-flow .flow-arrow {
    min-height: 24px;
    display: grid;
    transform: rotate(90deg);
  }

  .info-card,
  .research-card {
    min-height: auto;
  }

  .research-card--feature {
    grid-column: auto;
  }

  .metric-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
  }

  .metric-card strong {
    grid-row: span 2;
    margin: 0;
  }

  .layer-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 14px;
  }

  .layer-card p {
    grid-column: 1 / -1;
  }

  .c16-row {
    grid-template-columns: 1fr;
  }

  .c16-row > :first-child:not(.c16-card) {
    min-height: 68px;
  }

  .c16-card {
    min-height: 158px;
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .c16-art {
    padding: 12px;
    font-size: 44px;
  }

  .c16-copy {
    padding: 16px;
  }

  .c64-shell {
    max-height: 70vh;
    margin-right: calc(var(--proto-gutter) * -0.35);
    border-radius: 14px 0 0 14px;
  }

  table.c64-grid,
  .c64-grid table,
  .c64-grid:not(table) {
    min-width: 760px;
  }

  .c64-grid th,
  .c64-grid td,
  .c64-axis,
  .c64-cell {
    min-width: 80px;
    height: 74px;
    padding: 8px;
    font-size: 12px;
  }

  .product-card {
    min-height: 290px;
  }

  .route-rail {
    gap: 38px;
  }

  .route-step {
    min-height: 130px;
  }

  .graph-figure {
    padding: 16px;
  }

  .graph-figure__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .graph-canvas {
    margin-right: calc(var(--proto-gutter) * -0.35);
    border-radius: 12px 0 0 12px;
  }

  .graph-svg {
    min-width: 620px;
  }

  .notice-banner {
    padding-left: 74px;
  }

  .footer {
    padding-top: 46px;
  }

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

  .footer-bottom,
  .footer-mini .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom-quick {
    line-height: 1.8;
  }

  .footer-mini__links {
    justify-content: flex-start;
  }

  .trust-hero__aside {
    min-height: 320px;
  }

  .trust-step-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .method-layer {
    min-height: auto;
  }

  .trust-contact-state {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-table-wrap {
    margin-right: calc(var(--proto-gutter) * -0.35);
    border-radius: 16px 0 0 16px;
  }

  .faq-item summary {
    min-height: 66px;
    padding: 16px 58px 16px 17px;
  }

  .faq-item summary::after {
    right: 15px;
  }

  .faq-item > div {
    padding: 17px 18px 20px;
  }

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

  .only-desktop {
    display: none !important;
  }

  .only-mobile {
    display: initial !important;
  }
}

@media (max-width: 430px) {
  .brand-logo { max-width: min(40vw, 156px); }

  .topbar-actions {
    gap: 5px;
  }

  .account-link { min-height: 44px; padding-inline: 9px; font-size: 11px; }

  .theme-toggle,
  .prototype-theme-toggle,
  .nav-burger {
    width: 44px;
    height: 44px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    flex-basis: auto;
  }

  .status-row {
    align-items: flex-start;
  }

  .status-chip {
    white-space: normal;
  }

  .c16-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .notice-banner { padding-left: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (forced-colors: active) {
  .topbar,
  .paper-panel,
  .info-card,
  .metric-card,
  .layer-card,
  .c16-card,
  .c64-shell,
  .product-card,
  .research-card,
  .notice-banner,
  .button {
    border-color: CanvasText;
    box-shadow: none;
    forced-color-adjust: auto;
  }

  .status-chip,
  .nav-badge,
  .prototype-status {
    border-color: CanvasText;
    box-shadow: none;
  }
}

@media print {
  .skip-link,
  .topbar,
  .footer,
  .theme-toggle,
  .nav-burger,
  .hero-actions,
  .toast-soon {
    display: none !important;
  }

  body.prototype-page {
    color: #111;
    background: #fff;
  }

  .proto-main {
    width: 100%;
    padding: 0;
  }

  .proto-hero {
    min-height: 0;
    padding-block: 24px;
  }

  .paper-panel,
  .info-card,
  .metric-card,
  .layer-card,
  .c16-card,
  .product-card,
  .research-card,
  .notice-banner {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* ========================================================================== 
   Home editorial system · visual language reconstructed from sample 1—5
   ========================================================================== */

.topbar {
  background-image: linear-gradient(180deg, #ffed32 0%, var(--proto-yellow) 100%);
}

.topbar .brand-logo {
  height: clamp(38px, 4vw, 46px);
}

.topbar .nav {
  padding: 5px;
  color: #fff;
  background: #17141b;
  border: 2.5px solid #17141b;
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(23, 20, 27, 0.2);
}

.topbar .nav a {
  min-height: 36px;
  color: #fff;
  border: 0;
}

.topbar .nav a:hover,
.topbar .nav a[aria-current="page"] {
  color: #17141b;
  background: var(--proto-yellow);
  border-color: transparent;
}

.home-magazine .proto-main {
  max-width: 1600px;
}

.home-magazine mark {
  position: relative;
  z-index: 0;
  display: inline;
  padding: 0 0.08em;
  color: inherit;
  background: transparent;
}

.home-magazine mark::after {
  content: "";
  position: absolute;
  right: -0.08em;
  bottom: 0.02em;
  left: -0.08em;
  z-index: -1;
  height: 0.32em;
  background: var(--proto-yellow);
  border: 2px solid var(--proto-line);
  transform: rotate(-1.2deg);
}

.home-hero {
  min-height: min(810px, calc(100svh - var(--proto-header-height)));
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  gap: clamp(30px, 4vw, 72px);
  padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 84px);
}

.home-hero::before {
  top: 10%;
  right: -7vw;
  background: color-mix(in srgb, var(--proto-pink) 17%, transparent);
}

.home-hero::after {
  bottom: 0;
  background: color-mix(in srgb, var(--proto-cyan) 17%, transparent);
}

.home-hero .hero-copy h1 {
  margin-block: 22px 24px;
  font-size: clamp(58px, 6.2vw, 106px);
  line-height: 0.94;
}

.home-hero .hero-copy h1 span,
.home-hero .hero-copy h1 mark {
  white-space: nowrap;
}

.home-hero .section-copy {
  color: var(--proto-text);
  font-size: clamp(16px, 1.2vw, 20px);
}

.hero-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.hero-topic-list li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  color: var(--proto-vivid-ink);
  background: var(--proto-surface);
  border: 2px solid var(--proto-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.hero-topic-list img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.prototype-line {
  max-width: 680px;
  margin: 22px 0 0 !important;
  padding-left: 15px;
  color: var(--proto-muted) !important;
  border-left: 4px solid var(--proto-pink);
  font-family: var(--proto-mono);
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.kit-stage {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  color: var(--proto-vivid-ink);
  background:
    radial-gradient(circle, rgba(23, 20, 27, 0.19) 1.1px, transparent 1.3px),
    linear-gradient(135deg, color-mix(in srgb, var(--proto-cyan) 46%, #fff) 0 44%, color-mix(in srgb, var(--proto-purple) 58%, #fff) 72%, color-mix(in srgb, var(--proto-pink) 52%, #fff) 100%);
  background-size: 15px 15px, 100% 100%;
  border: 4px solid var(--proto-line);
  border-radius: 34px;
  box-shadow: 10px 10px 0 var(--proto-shadow);
  transform: rotate(0.7deg);
}

.kit-stage::after {
  content: "NTT · DISCOVER / HEAL / GROW";
  position: absolute;
  right: 25px;
  bottom: 20px;
  left: 25px;
  padding-top: 12px;
  border-top: 3px dotted var(--proto-line);
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.kit-stage__box {
  position: absolute;
  top: 13%;
  left: 50%;
  width: min(64%, 440px);
  transform: translateX(-50%) scale(1.25);
}

.kit-stage__box img {
  width: 100%;
  display: block;
  filter: drop-shadow(6px 8px 0 rgba(23, 20, 27, 0.28));
}

.kit-stage__item {
  position: absolute;
  bottom: 58px;
  width: 28%;
  min-width: 116px;
  display: grid;
  place-items: center;
}

.kit-stage__item > span {
  position: absolute;
  top: -8px;
  z-index: 2;
  padding: 5px 9px;
  color: #fff;
  background: #17141b;
  border: 2px solid #17141b;
  border-radius: 999px;
  font-family: var(--proto-mono);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.kit-stage__item img {
  width: 100%;
  max-height: 170px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(4px 5px 0 rgba(23, 20, 27, 0.28));
}

.kit-stage__item--deck { left: 7%; transform: rotate(-7deg); }
.kit-stage__item--report { left: 36%; transform: rotate(2deg); }
.kit-stage__item--sticker { right: 6%; transform: rotate(6deg); }

.issue-burst {
  position: absolute;
  top: -27px;
  left: -30px;
  z-index: 3;
  width: 104px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  color: var(--proto-vivid-ink);
  background: var(--proto-pink);
  border: 3px solid var(--proto-line);
  box-shadow: var(--proto-shadow-sm);
  font-family: var(--proto-mono);
  font-size: 10px;
  font-weight: 900;
  line-height: 0.9;
  text-align: center;
  clip-path: polygon(50% 0, 61% 12%, 77% 6%, 82% 22%, 98% 27%, 89% 42%, 100% 56%, 84% 64%, 85% 82%, 67% 82%, 57% 100%, 44% 87%, 28% 97%, 22% 80%, 4% 78%, 12% 60%, 0 48%, 15% 37%, 7% 20%, 27% 18%, 35% 2%);
}

.issue-burst strong {
  font-size: 31px;
  line-height: 1;
}

.kit-stage__spark {
  position: absolute;
  top: 34%;
  right: 4%;
  width: 58px;
  transform: rotate(9deg);
}

.journey-strip {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(0, 4fr);
  align-items: stretch;
  overflow: hidden;
  color: var(--proto-vivid-ink);
  background: linear-gradient(90deg, var(--proto-pink), #ff9670 25%, var(--proto-yellow) 50%, var(--proto-green) 74%, var(--proto-cyan));
  border: 3px solid var(--proto-line);
  border-radius: 22px;
  box-shadow: var(--proto-shadow-md);
}

.journey-strip > p {
  align-self: center;
  margin: 0;
  padding: 20px 22px;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.22;
}

.journey-strip ol {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-strip li {
  min-width: 0;
  border-left: 2px solid rgba(23, 20, 27, 0.7);
}

.journey-strip a {
  height: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 1px 9px;
  padding: 12px;
  color: var(--proto-vivid-ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
  text-decoration: none;
}

.journey-strip a:hover {
  background: rgba(255, 255, 255, 0.42);
}

.journey-strip a span {
  grid-column: 2;
  font-family: var(--proto-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.journey-strip a img {
  grid-row: 1 / -1;
  width: 38px;
  height: 38px;
  padding: 8px;
  object-fit: contain;
  background: #fffdf8;
  border: 2px solid var(--proto-line);
  border-radius: 50%;
}

.home-notice {
  margin-top: clamp(36px, 5vw, 64px);
}

.character-shelf-section .section-head {
  max-width: 1040px;
}

.character-shelf-section .section-title mark::after {
  background: var(--proto-pink);
}

.c16-grid--shelf {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.c16-shelf-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.52fr) minmax(0, 2fr);
  gap: 12px;
  padding: 14px 14px 18px;
  color: var(--proto-vivid-ink);
  background: var(--proto-pink-soft);
  border: 3px solid var(--proto-line);
  border-radius: 18px 18px 7px 7px;
  box-shadow: 0 9px 0 var(--proto-shadow);
}

.c16-shelf-row--2 { background: var(--proto-cyan); }
.c16-shelf-row--3 { background: var(--proto-lime); }
.c16-shelf-row--4 { background: var(--proto-orange); }

.c16-shelf-row__label {
  align-self: center;
  padding: 14px;
}

.c16-shelf-row__label small {
  display: inline-flex;
  padding: 4px 8px;
  background: #fffdf8;
  border: 2px solid var(--proto-line);
  border-radius: 999px;
  font-family: var(--proto-mono);
  font-weight: 900;
}

.c16-shelf-row__label h3 {
  margin: 10px 0 4px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.c16-shelf-row__label p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.c16-shelf-row__cards {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.c16-grid--shelf .c16-card {
  min-height: 248px;
  grid-template-columns: 1fr;
  grid-template-rows: 132px minmax(0, 1fr);
  background: #fffdf8;
  border-radius: 12px 12px 4px 4px;
  box-shadow: 3px 3px 0 rgba(23, 20, 27, 0.72);
}

.c16-grid--shelf .c16-card__asset {
  min-height: 132px;
  padding: 8px;
  background: color-mix(in srgb, var(--proto-pink-soft) 34%, #fffdf8);
  border-right: 0;
  border-bottom: 3px solid var(--proto-line);
}

.c16-grid--shelf .c16-card:nth-child(4n + 2) .c16-card__asset { background: color-mix(in srgb, var(--proto-yellow) 43%, #fffdf8); }
.c16-grid--shelf .c16-card:nth-child(4n + 3) .c16-card__asset { background: color-mix(in srgb, var(--proto-cyan) 38%, #fffdf8); }
.c16-grid--shelf .c16-card:nth-child(4n) .c16-card__asset { background: color-mix(in srgb, var(--proto-purple) 32%, #fffdf8); }

.c16-grid--shelf .c16-card__asset img {
  max-height: 108px;
}

.c16-grid--shelf .c16-card__body {
  align-self: stretch;
  padding: 12px;
}

.c16-grid--shelf .c16-card__meta {
  margin-bottom: 8px;
}

.c16-card__number {
  display: inline-flex;
  align-items: center;
  color: var(--proto-pink);
  font-family: var(--proto-mono);
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.c16-grid--shelf .prototype-badge {
  display: none;
}

.c16-grid--shelf .c16-card__title {
  font-size: clamp(17px, 1.5vw, 22px);
}

.c16-grid--shelf .c16-card__direction {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shelf-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 30px;
  padding: 18px 20px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: 3px solid var(--proto-line);
  border-radius: 18px;
  box-shadow: var(--proto-shadow-sm);
}

.shelf-actions p { margin: 0; line-height: 1.45; }

.starter-kit-section {
  padding-top: clamp(42px, 6vw, 74px);
}

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

.kit-item {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 17px;
  color: var(--proto-vivid-ink);
  background: var(--proto-pink-soft);
  border: 3px solid var(--proto-line);
  border-radius: 17px;
  box-shadow: var(--proto-shadow-sm);
  text-align: center;
}

.kit-item--cyan { background: var(--proto-cyan); }
.kit-item--yellow { background: var(--proto-yellow); }
.kit-item--lime { background: var(--proto-lime); }
.kit-item--purple { background: var(--proto-purple); }

.kit-item > span {
  align-self: flex-start;
  padding: 4px 7px;
  background: #fffdf8;
  border: 2px solid var(--proto-line);
  border-radius: 999px;
  font-family: var(--proto-mono);
  font-size: 8px;
  font-weight: 900;
}

.kit-item img {
  width: min(100%, 190px);
  height: 170px;
  margin: 8px auto 3px;
  object-fit: contain;
  filter: drop-shadow(4px 5px 0 rgba(23, 20, 27, 0.25));
}

.kit-item h3 {
  margin: 6px 0;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.1;
}

.kit-item p {
  margin: 0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.55;
}

.layer-magazine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.layer-magazine-card {
  min-height: 235px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  color: var(--proto-vivid-ink);
  background: var(--proto-pink-soft);
  border: 3px solid var(--proto-line);
  border-radius: 16px;
  box-shadow: var(--proto-shadow-sm);
}

.layer-magazine-card--scene { background: var(--proto-cyan); }
.layer-magazine-card--field { background: var(--proto-lime); }
.layer-magazine-card--action { background: var(--proto-yellow); }

.layer-magazine-card > span {
  font-family: var(--proto-mono);
  font-size: 9px;
  font-weight: 900;
}

.layer-magazine-card > strong {
  margin-top: 18px;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.1;
}

.layer-magazine-card p {
  margin: 12px 0 18px;
  font-size: 13px;
  line-height: 1.55;
}

.layer-magazine-card a {
  margin-top: auto;
  color: inherit;
  font-weight: 950;
}

.framework-editorial .architecture-flow {
  margin-bottom: 32px;
}

.scene-coordinate-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.scene-coordinate-copy .button { margin-top: 28px; }

.coordinate-board {
  position: relative;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 48px);
  color: var(--proto-vivid-ink);
  background:
    linear-gradient(90deg, rgba(23, 20, 27, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(23, 20, 27, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, var(--proto-cyan), var(--proto-purple) 58%, var(--proto-pink));
  background-size: 32px 32px, 32px 32px, 100% 100%;
  border: 4px solid var(--proto-line);
  border-radius: 26px;
  box-shadow: var(--proto-shadow-lg);
  transform: rotate(1deg);
}

.coordinate-board > span,
.coordinate-board > small {
  padding: 6px 10px;
  background: var(--proto-yellow);
  border: 2px solid var(--proto-line);
  border-radius: 999px;
  font-family: var(--proto-mono);
  font-size: 9px;
  font-weight: 900;
}

.coordinate-board > strong {
  font-size: clamp(76px, 9vw, 146px);
  font-weight: 950;
  line-height: 0.85;
  letter-spacing: -0.09em;
  text-shadow: 5px 5px 0 #fffdf8;
}

.coordinate-board p {
  margin: 0;
  font-family: var(--proto-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.55;
  text-transform: uppercase;
}

.safety-editorial .section-title mark::after { background: var(--proto-cyan); }

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.safety-card {
  position: relative;
  min-height: 260px;
  padding: 26px;
  background: var(--proto-surface);
  border: 3px solid var(--proto-line);
  border-radius: 17px;
  box-shadow: var(--proto-shadow-md);
}

.safety-card:nth-child(2) { background: color-mix(in srgb, var(--proto-cyan) 23%, var(--proto-surface)); }
.safety-card:nth-child(3) { background: color-mix(in srgb, var(--proto-lime) 27%, var(--proto-surface)); }

.safety-card > span {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--proto-pink);
  font-family: var(--proto-mono);
  font-size: 23px;
  font-weight: 950;
}

.safety-card img {
  width: 48px;
  height: 48px;
  padding: 9px;
  background: var(--proto-yellow);
  border: 2px solid var(--proto-line);
  border-radius: 12px;
}

.safety-card h3 { margin: 22px 0 9px; font-size: 22px; }
.safety-card p { margin: 0; line-height: 1.65; }

.boundary-board {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.7fr);
  gap: 28px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 46px);
  color: #fff;
  background: #17141b;
  border: 3px solid #17141b;
  border-radius: 21px;
  box-shadow: 7px 7px 0 var(--proto-pink);
}

.boundary-board > div { display: grid; align-content: start; gap: 8px; }

.boundary-board > div span {
  width: fit-content;
  padding: 5px 9px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border-radius: 999px;
  font-family: var(--proto-mono);
  font-size: 9px;
  font-weight: 900;
}

.boundary-board > div strong {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.boundary-board .boundary-list { margin: 0; }

.next-issue-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
  padding: clamp(26px, 5vw, 58px);
  color: var(--proto-vivid-ink);
  background: linear-gradient(120deg, var(--proto-cyan), var(--proto-purple) 52%, var(--proto-pink));
  border: 4px solid var(--proto-line);
  border-radius: 28px;
  box-shadow: var(--proto-shadow-lg);
}

.next-issue-card > img {
  width: min(100%, 260px);
  margin-inline: auto;
  filter: drop-shadow(7px 8px 0 rgba(23, 20, 27, 0.35));
  transform: rotate(-4deg);
}

.next-issue-card h2 {
  margin: 16px 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.next-issue-card p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.65;
}

.next-issue-card > .next-issue-card__head,
.trust-contact-state > .trust-contact-state__head {
  width: 100%;
  margin: 0;
}

.next-issue-card > .next-issue-card__head > .section-copy {
  max-width: 720px;
  color: var(--proto-vivid-ink);
  background: rgba(255, 253, 248, 0.68);
}

.trust-contact-state > .trust-contact-state__head {
  flex: 1 1 auto;
}

/* Public service preview cards */
.experience-hero-visual {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}

.experience-hero-visual img {
  width: min(100%, 360px);
  max-height: 300px;
  object-fit: contain;
}

.experience-hero-visual > strong {
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.1;
}

.experience-sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.experience-sample-card {
  min-width: 0;
  overflow: hidden;
  color: var(--proto-vivid-ink);
  background: var(--proto-pink-soft);
  border: 3px solid var(--proto-line);
  border-radius: 20px 20px 7px 7px;
  box-shadow: var(--proto-shadow-md);
}

.experience-sample-card--cyan { background: var(--proto-cyan); }
.experience-sample-card--lime { background: var(--proto-lime); }

.experience-sample-card figure {
  position: relative;
  min-height: 230px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  margin: 0;
  padding: 24px;
  background: rgba(255, 253, 248, 0.72);
  border-bottom: 3px solid var(--proto-line);
}

.experience-sample-card figure img {
  width: min(100%, 210px);
  height: 190px;
  object-fit: contain;
}

.experience-sample-card figcaption {
  position: static;
  width: 100%;
  margin-top: 8px;
  padding: 7px 10px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border: 2px solid var(--proto-line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.experience-sample-card > div { padding: 24px; }
.experience-sample-card > div > span {
  font-family: var(--proto-mono);
  font-size: 11px;
  font-weight: 900;
}

.experience-sample-card h3 {
  margin: 16px 0 12px;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.05;
}

.experience-sample-card p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
}

.experience-sample-card dl { display: grid; gap: 10px; margin: 0; }
.experience-sample-card dl > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding-top: 10px;
  border-top: 1.5px solid rgba(23, 20, 27, 0.7);
}

.experience-sample-card dt,
.experience-sample-card dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.experience-sample-card dt { font-weight: 950; }
.experience-sample-card dd { font-weight: 700; }

.media-placeholder {
  min-height: 230px;
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  overflow: hidden;
  background: var(--proto-surface);
  border: 3px dashed var(--proto-line);
  border-radius: 18px;
}

.experience-sample-card.media-placeholder {
  margin-top: 0;
}

.media-placeholder > div {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 38px 24px;
  text-align: center;
}

.media-placeholder > div strong { font-size: clamp(20px, 2.2vw, 30px); }
.media-placeholder > div span { max-width: 620px; font-size: 14px; line-height: 1.6; }
.media-placeholder figcaption {
  padding: 12px 18px;
  color: var(--proto-vivid-ink);
  background: var(--proto-yellow);
  border-top: 2px solid var(--proto-line);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

html[data-theme="dark"] .experience-sample-card,
html[data-theme="dark"] .experience-sample-card figure {
  color: var(--proto-vivid-ink);
}

html[data-theme="dark"] .media-placeholder {
  color: var(--proto-text);
}

html[data-theme="dark"] .home-magazine mark::after,
html[data-theme="dark"] .journey-strip,
html[data-theme="dark"] .kit-stage,
html[data-theme="dark"] .c16-shelf-row,
html[data-theme="dark"] .kit-item,
html[data-theme="dark"] .layer-magazine-card,
html[data-theme="dark"] .coordinate-board,
html[data-theme="dark"] .next-issue-card {
  color: var(--proto-vivid-ink);
}

html[data-theme="dark"] .home-magazine .section--tint {
  background: color-mix(in srgb, var(--proto-purple) 18%, var(--proto-surface));
}

@media (max-width: 1180px) {
  .home-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  }

  .home-hero .hero-copy h1 { font-size: clamp(54px, 6.7vw, 82px); }
  .home-hero .hero-copy h1 span,
  .home-hero .hero-copy h1 mark { white-space: normal; }
  .journey-strip { grid-template-columns: 1fr; }
  .journey-strip > p { display: none; }
  .journey-strip ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-strip li:first-child { border-left: 0; }
  .journey-strip li:nth-child(4) { border-left: 0; }
  .journey-strip li:nth-child(n + 4) { border-top: 2px solid rgba(23, 20, 27, 0.7); }
  .kit-item-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kit-item:nth-child(4), .kit-item:nth-child(5) { min-height: 320px; }
  .layer-magazine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .topbar .nav {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .topbar .nav a { color: var(--proto-vivid-ink); }
  .topbar .nav a:hover,
  .topbar .nav a[aria-current="page"] { background: #fffdf8; }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .home-hero .hero-copy { max-width: 820px; }
  .home-hero .hero-copy h1 { font-size: clamp(58px, 10vw, 92px); }
  .kit-stage { width: min(100%, 760px); margin-inline: auto; }
  .c16-shelf-row { grid-template-columns: 1fr; }
  .c16-shelf-row__label { padding-block: 6px; }
  .c16-shelf-row__label p { max-width: 520px; }
  .c16-grid--shelf .c16-card__direction {
    display: block;
    overflow: visible;
  }
  .scene-coordinate-section { grid-template-columns: 1fr; }
  .coordinate-board { width: min(100%, 680px); }
  .experience-sample-grid { grid-template-columns: 1fr; }
  .experience-sample-card { display: grid; grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr); }
  .experience-sample-card > div:only-child { grid-column: 1 / -1; }
  .experience-sample-card figure { min-height: 100%; border-right: 3px solid var(--proto-line); border-bottom: 0; }
}

@media (max-width: 780px) {
  .topbar .nav {
    background: var(--proto-yellow);
    border-color: var(--proto-line);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--proto-shadow-md);
  }

  .home-hero { gap: 48px; }
  .home-hero .hero-copy h1 { font-size: clamp(44px, 13vw, 70px); }
  .home-hero .hero-copy h1 span,
  .home-hero .hero-copy h1 mark { white-space: normal; }
  .kit-stage { min-height: 500px; border-radius: 24px; }
  .kit-stage__box { top: 12%; width: 72%; }
  .kit-stage__item { bottom: 56px; width: 31%; }
  .issue-burst { left: -9px; width: 88px; }

  .journey-strip { border-radius: 18px; overflow: hidden; }
  .journey-strip ol { min-width: 0; grid-template-columns: 1fr; }
  .journey-strip li { border-top: 2px solid rgba(23, 20, 27, 0.7); border-left: 0; }
  .journey-strip li:first-child { border-top: 0; }
  .journey-strip a { min-height: 68px; padding-inline: 18px; }

  .c16-shelf-row__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c16-grid--shelf .c16-card { min-height: 230px; }
  .shelf-actions { align-items: stretch; flex-direction: column; }
  .shelf-actions .button { width: 100%; }
  .kit-item-grid,
  .layer-magazine-grid,
  .safety-grid { grid-template-columns: 1fr; }
  .kit-item { min-height: 310px; }
  .layer-magazine-card { min-height: 200px; }
  .boundary-board { grid-template-columns: 1fr; }
  .next-issue-card { grid-template-columns: 1fr; text-align: center; }
  .next-issue-card .section-kicker { margin-inline: auto; }
  .next-issue-card .hero-actions { justify-content: center; }
  .experience-sample-card { grid-template-columns: 1fr; }
  .experience-sample-card figure { min-height: 220px; border-right: 0; border-bottom: 3px solid var(--proto-line); }
}

@media (max-width: 480px) {
  .home-hero .eyebrow { font-size: 9px; }
  .kit-stage {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 66px 12px 58px;
    overflow: hidden;
    transform: none;
  }
  .kit-stage__box {
    position: static;
    width: min(100%, 300px);
    grid-column: 1 / -1;
    justify-self: center;
    transform: none;
  }
  .kit-stage__item,
  .kit-stage__item--deck,
  .kit-stage__item--report,
  .kit-stage__item--sticker {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    transform: none;
  }
  .kit-stage__item > span {
    position: static;
    order: 2;
    margin-top: 4px;
    padding: 3px 5px;
    font-size: 7px;
    white-space: normal;
    text-align: center;
  }
  .kit-stage__item img { max-height: 118px; }
  .issue-burst { top: 10px; left: 10px; width: 72px; }
  .kit-stage__spark { display: none; }
  .c16-shelf-row { padding: 10px 10px 15px; }
  .c16-shelf-row__cards { gap: 8px; }
  .c16-grid--shelf .c16-card { min-height: 212px; grid-template-rows: 112px minmax(0, 1fr); }
  .c16-grid--shelf .c16-card__asset { min-height: 112px; }
  .c16-grid--shelf .c16-card__asset img { max-height: 90px; }
  .c16-grid--shelf .c16-card__body { padding: 10px; }
  .c16-grid--shelf .c16-card__direction { display: none; }
  .coordinate-board { min-height: 340px; }
  .next-issue-card .hero-actions { align-items: stretch; }
}

/* Korean navigation and hero copy need the compact layout before phone widths. */
@media (max-width: 900px) {
  :root { --proto-header-height: 64px; }

  .topbar { min-height: var(--proto-header-height); padding-block: 8px; }
  .brand-logo { height: 36px; max-width: min(40vw, 184px); }
  .nav-burger { display: inline-flex; }
  .prototype-theme-toggle,
  .nav-burger { width: 44px; height: 44px; }
  .prototype-theme-toggle { min-width: 44px; padding-inline: 0; }
  .prototype-theme-toggle-label { display: none; }

  .topbar .nav {
    position: absolute;
    top: calc(100% + 3px);
    right: var(--proto-gutter);
    left: var(--proto-gutter);
    z-index: 1001;
    display: none;
    align-items: stretch;
    padding: 10px;
    color: var(--proto-vivid-ink);
    background: var(--proto-yellow);
    border: var(--proto-outline) solid var(--proto-line);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--proto-shadow-md);
  }

  .topbar .nav.is-open { display: grid; }
  .topbar .nav a {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding-inline: 13px;
    color: var(--proto-vivid-ink);
    border-radius: 10px;
  }

  .proto-hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .proto-hero .hero-copy { max-width: 820px; }
  .proto-hero .hero-visual {
    width: min(100%, 760px);
    min-height: 0;
    margin-inline: auto;
  }
}

/* Customer-facing section wayfinding */
.proto-main > .section {
  --section-accent: var(--proto-yellow);
  --section-divider: color-mix(in srgb, var(--proto-ink) 34%, transparent);
  padding-top: clamp(66px, 7.5vw, 104px);
  padding-bottom: clamp(34px, 4vw, 56px);
}

.proto-main > .section:nth-of-type(6n + 1) { --section-accent: var(--proto-pink); }
.proto-main > .section:nth-of-type(6n + 2) { --section-accent: var(--proto-cyan); }
.proto-main > .section:nth-of-type(6n + 3) { --section-accent: var(--proto-lime); }
.proto-main > .section:nth-of-type(6n + 4) { --section-accent: var(--proto-purple); }
.proto-main > .section:nth-of-type(6n + 5) { --section-accent: var(--proto-orange); }

.proto-main > .section:not(.section--tint) {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--section-accent) 5%, var(--proto-surface)) 0,
    color-mix(in srgb, var(--proto-surface) 34%, transparent) 34%,
    transparent 100%
  );
  border-top: 3px solid var(--section-divider);
  border-bottom: 1px solid color-mix(in srgb, var(--proto-ink) 18%, transparent);
}

.proto-main > .section--tint {
  padding-bottom: clamp(40px, 5vw, 66px);
  background: color-mix(in srgb, var(--section-accent) 10%, var(--proto-surface));
  border-color: color-mix(in srgb, var(--section-accent) 46%, var(--proto-line));
  box-shadow: inset 0 8px 0 var(--section-accent);
}

.proto-main > .section + .section {
  margin-top: clamp(22px, 3vw, 42px);
}

.section-head {
  position: relative;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  grid-template-rows: auto 1fr;
  align-items: end;
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: 12px;
  padding: 0 0 clamp(24px, 3vw, 34px) clamp(18px, 2vw, 28px);
  border-bottom: 3px solid var(--section-divider);
}

.section-head::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: clamp(24px, 3vw, 34px);
  left: 0;
  width: clamp(7px, 0.7vw, 10px);
  background: var(--section-accent);
  border: 2px solid var(--proto-line);
  border-radius: 999px;
}

.section-head > .section-kicker {
  grid-column: 1;
  grid-row: 1;
  padding: 0 0 7px;
  color: var(--proto-ink);
  background: transparent;
  border: 0;
  border-bottom: 5px solid var(--section-accent);
  border-radius: 0;
  box-shadow: none;
  letter-spacing: 0.035em;
}

.section-head > .section-title {
  grid-column: 1;
  grid-row: 2;
  max-width: 930px;
  margin-bottom: 0;
  font-size: clamp(32px, 4.2vw, 56px);
}

.section-head > .section-copy {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  max-width: 560px;
  padding: clamp(14px, 1.6vw, 20px);
  color: var(--proto-text);
  background: color-mix(in srgb, var(--section-accent) 7%, var(--proto-surface));
  border: 2px solid var(--section-divider);
  border-left: 7px solid var(--section-accent);
  border-radius: 14px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.68;
}

.section-head--center,
.section-head--stacked {
  grid-template-columns: 1fr;
}

.section-head--center > .section-kicker,
.section-head--center > .section-title,
.section-head--center > .section-copy,
.section-head--stacked > .section-kicker,
.section-head--stacked > .section-title,
.section-head--stacked > .section-copy {
  grid-column: 1;
  grid-row: auto;
}

.section-head--center > .section-copy {
  margin-inline: auto;
}

.section--next {
  border: 3px solid var(--proto-line) !important;
  border-radius: var(--proto-radius-lg);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--section-accent) 26%, var(--proto-surface)),
    color-mix(in srgb, var(--proto-cyan) 16%, var(--proto-surface))
  ) !important;
  box-shadow: inset 0 8px 0 var(--section-accent);
}

html[data-theme="dark"] .proto-main > .section--tint {
  background: color-mix(in srgb, var(--section-accent) 17%, var(--proto-surface));
}

html[data-theme="dark"] .section-head > .section-copy {
  background: color-mix(in srgb, var(--section-accent) 12%, var(--proto-surface));
}

@media (max-width: 1180px) {
  .journey-strip > p {
    display: block;
    padding: 16px 20px;
    border-bottom: 2px solid rgba(23, 20, 27, 0.7);
  }
}

@media (max-width: 900px) {
  .proto-main > .section {
    padding-top: clamp(54px, 10vw, 76px);
    padding-bottom: clamp(30px, 7vw, 44px);
  }

  .proto-main > .section--tint {
    margin-inline: calc(var(--proto-gutter) * -0.25);
    padding-inline: calc(var(--proto-gutter) * 0.5);
  }

  .section-head {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    padding-left: 18px;
  }

  .section-head > .section-kicker,
  .section-head > .section-title,
  .section-head > .section-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .section-head > .section-copy {
    width: 100%;
    max-width: var(--proto-reading);
  }

  .section-title {
    font-size: clamp(31px, 9.2vw, 48px);
    line-height: 1.08;
  }
}

@media (max-width: 480px) {
  .section-head {
    margin-bottom: 24px;
    padding-bottom: 22px;
  }

  .section-head::before {
    bottom: 22px;
  }

  .section-head > .section-kicker {
    max-width: 100%;
    font-size: 10px;
    line-height: 1.35;
  }

  .section-head > .section-copy {
    padding: 13px 14px;
    border-left-width: 5px;
    font-size: 15px;
  }
}
