@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/noto-serif-sc-display.woff2") format("woff2");
}

:root {
  --paper: #f3efe4;
  --paper-light: #fbf8ef;
  --paper-deep: #e9e2d2;
  --ink: #14211a;
  --ink-soft: #4a574e;
  --ink-faint: #5b665d;
  --line: #d6cebd;
  --line-strong: #bdb3a0;
  --green: #07c160;
  --green-deep: #067a46;
  --green-ink: #055f37;
  --green-soft: #dff3e7;
  --amber: #a54e14;
  --amber-soft: #f3e0ce;
  --olive: #5c7a4a;
  --dark: #122019;
  --dark-2: #17281f;
  --dark-text: #e9e5d9;
  --dark-muted: #a8b3a9;
  --display: "Noto Serif SC", "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", "Menlo", monospace;
  --hand: "Kaiti SC", "KaiTi", "STKaiti", serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;
  --shadow-sheet: 0 26px 60px rgba(20, 33, 26, 0.16), 0 2px 0 rgba(20, 33, 26, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(20, 33, 26, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 26, 0.02) 1px, transparent 1px);
  background-size: 100% 32px, 32px 100%;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--green-deep);
}

::selection {
  background: var(--green);
  color: var(--ink);
}

* {
  scrollbar-color: var(--green-deep) var(--paper-deep);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--green-deep);
  border: 2px solid var(--paper-deep);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

.timeline-section :focus-visible,
.download-section :focus-visible {
  outline-color: #3ed27f;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--green-deep);
  color: #fff;
  font-size: 0.82rem;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

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

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section[id] {
  scroll-margin-top: 88px;
}

#main {
  scroll-margin-top: 88px;
}

.mono {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
}

p {
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button-small {
  padding: 11px 15px;
  font-size: 0.82rem;
}

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

.button-primary:hover {
  background: #055f37;
  border-color: #055f37;
  transform: translateY(-1px);
}

.button-invert {
  background: var(--paper-light);
  border-color: var(--paper-light);
  color: var(--ink);
}

.button-invert:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: translateY(-1px);
}

.button-full {
  width: 100%;
}

.button.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.button.is-disabled.button-invert {
  border-color: rgba(233, 229, 217, 0.38);
  background: transparent;
  color: var(--dark-muted);
  opacity: 1;
}

.button.is-disabled.button-invert:hover {
  border-color: rgba(233, 229, 217, 0.38);
  background: transparent;
  color: var(--dark-muted);
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  border-color: var(--green-deep);
  color: var(--green-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header.is-dark {
  background: var(--dark);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.site-header.is-dark .brand-name {
  color: var(--dark-text);
}

.site-header.is-dark .brand-en {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--dark-muted);
}

.site-header.is-dark .desktop-nav a {
  color: var(--dark-muted);
}

.site-header.is-dark .desktop-nav a:hover,
.site-header.is-dark .desktop-nav a:focus-visible {
  color: var(--dark-text);
}

.site-header.is-dark .menu-toggle {
  color: var(--dark-text);
}

.site-header.is-dark .menu-toggle-lines i {
  background: var(--dark-text);
}

.site-header.is-dark .mobile-nav {
  border-color: rgba(255, 255, 255, 0.16);
}

.site-header.is-dark .mobile-nav a:not(.button) {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--dark-text);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
}

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

.brand img {
  border-radius: 4px;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-en {
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.desktop-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--green-deep);
  transition: right 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  cursor: pointer;
}

.menu-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.menu-toggle-lines i {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 0 var(--gutter) 20px;
  border-top: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav a:not(.button) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.mobile-nav .button {
  margin-top: 14px;
}

.hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(32px, 5.5vh, 64px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(6, 122, 70, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -18%;
  right: -12%;
  width: 66vw;
  height: 66vw;
  max-width: 900px;
  max-height: 900px;
}

.hero::after {
  top: 2%;
  right: -2%;
  width: 42vw;
  height: 42vw;
  max-width: 620px;
  max-height: 620px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero-copy {
  padding-top: 20px;
}

.hero-title {
  margin: 0 0 28px;
  font-size: clamp(3.4rem, 7.4vw, 7.2rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line > span {
  display: block;
  transform: translateY(110%);
  animation: line-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line:nth-child(2) > span {
  animation-delay: 0.1s;
}

@keyframes line-in {
  to {
    transform: translateY(0);
  }
}

.hero-lede {
  max-width: 34em;
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 28px 0 0;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sheet-wrap {
  width: min(100%, 520px);
  transform: rotate(-1.4deg);
  animation: sheet-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(-2.2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1.4deg);
  }
}

.sheet {
  position: relative;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line-strong);
  background: var(--paper-light);
  box-shadow: var(--shadow-sheet);
}

.sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 33, 26, 0.032) 1px, transparent 1px);
  background-size: 100% 24px;
  pointer-events: none;
}

.sheet > * {
  position: relative;
}

.regmark {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--line-strong);
  border-style: solid;
  pointer-events: none;
}

.regmark--tl {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.regmark--tr {
  top: 8px;
  right: 8px;
  border-width: 1px 1px 0 0;
}

.regmark--bl {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 1px 1px;
}

.regmark--br {
  right: 8px;
  bottom: 8px;
  border-width: 0 1px 1px 0;
}

.sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.sheet-id {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.sheet-id img {
  border-radius: 3px;
}

.sheet-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 18px 0 16px;
}

.sheet-eyebrow {
  margin: 0 0 4px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.sheet-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sheet-meta {
  display: flex;
  gap: 18px;
  margin: 0;
}

.sheet-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sheet-meta dt {
  color: var(--ink-faint);
  font-size: 0.62rem;
}

.sheet-meta dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.contact-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.frame {
  position: relative;
  margin: 0;
  padding: 8px 8px 7px;
  border: 1px solid var(--line);
  background: #f7f2e6;
}

.frame--latest {
  border-color: var(--green-deep);
  box-shadow: inset 0 0 0 1px rgba(6, 122, 70, 0.12);
}

.frame-visual {
  position: relative;
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 26, 0.08);
  background: var(--paper-light);
}

.frame-visual svg {
  width: 100%;
  height: 100%;
  color: var(--ink);
}

.frame .strands path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0.66;
}

.frame .crown-gap {
  fill: var(--paper-light);
  stroke: var(--ink-soft);
  stroke-width: 0.8;
  stroke-dasharray: 2 2.5;
}

.frame .obs-ring {
  fill: none;
  stroke: var(--green-deep);
  stroke-width: 0.7;
  stroke-dasharray: 2 3;
  opacity: 0.45;
}

.frame .crosshair {
  fill: none;
  stroke: var(--green-deep);
  stroke-width: 0.8;
  opacity: 0.8;
}

.frame .follicles circle {
  fill: currentColor;
  opacity: 0.55;
}

.frame--shedding .crown-gap {
  stroke: var(--amber);
}

.frame--latest .crown-gap {
  stroke: var(--green-deep);
}

.frame-tag {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 2px 4px;
  border: 1px solid var(--line);
  background: var(--paper-light);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.04em;
}

.frame-tag--green {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: #fff;
}

.frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.frame figcaption time {
  color: var(--ink);
}

.frame figcaption span {
  text-align: right;
}

.sheet-chart {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mini-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 0.64rem;
}

.sheet-chart svg {
  width: 100%;
  height: auto;
}

.mini-grid path {
  stroke: rgba(20, 33, 26, 0.09);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.mini-area {
  fill: rgba(6, 122, 70, 0.08);
}

.mini-line {
  fill: none;
  stroke: var(--green-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  vector-effect: non-scaling-stroke;
  animation: draw 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.mini-dot {
  fill: var(--green-deep);
}

.sheet-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 10px;
}

.annotation {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--hand);
  font-size: 0.92rem;
  transform: rotate(-2deg);
}

.stamp {
  width: 92px;
  height: 92px;
  color: var(--green-deep);
  opacity: 0.86;
  transform: rotate(-8deg);
}

.stamp-outer {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.stamp-inner {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.7;
  stroke-dasharray: 2 2;
}

.stamp-main {
  fill: currentColor;
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-anchor: middle;
}

.stamp-sub {
  fill: currentColor;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 2px;
  text-anchor: middle;
}

.sheet-caption {
  margin: 18px 0 0;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.hero-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: clamp(28px, 4vh, 44px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.hero-foot-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.timeline-section {
  position: relative;
  overflow: clip;
  padding: clamp(72px, 10vw, 128px) 0;
  background: var(--dark);
  color: var(--dark-text);
}

.timeline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 40px, 40px 100%;
  pointer-events: none;
}

.timeline-section .wrap {
  position: relative;
}

.section-head--dark {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head--dark h2 {
  color: var(--dark-text);
}

.section-head--dark p {
  max-width: 34em;
  margin: 0 0 6px;
  color: var(--dark-muted);
  line-height: 1.9;
}

.timeline-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 40px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline-readout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.readout-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.readout-label {
  color: var(--dark-muted);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.readout-date {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.readout-phase {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.phase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--phase-color, #3ed27f);
}

.readout-range {
  color: var(--dark-muted);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.readout-stats {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.readout-stats dt {
  margin-bottom: 6px;
  color: var(--dark-muted);
  font-size: 0.65rem;
}

.readout-stats dd {
  margin: 0;
  color: var(--dark-text);
  font-size: 0.9rem;
}

.readout-count {
  margin-right: 4px;
  font-family: var(--mono);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
}

.readout-stats small {
  color: var(--dark-muted);
  font-size: 0.62rem;
}

.readout-med {
  font-size: 0.82rem;
  line-height: 1.6;
}

.readout-note {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--dark-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.chart-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.chart-plot {
  position: relative;
  height: clamp(240px, 28vw, 330px);
  margin-left: 34px;
}

.chart-y {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: 28px;
  color: var(--dark-muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  transform: translateY(-3px);
}

.chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-grid path {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.chart-bands rect {
  opacity: 0.1;
}

.chart-area {
  fill: rgba(62, 210, 127, 0.1);
}

.chart-line {
  fill: none;
  stroke: #3ed27f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.phase-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.phase-labels span {
  position: absolute;
  top: 8px;
  color: rgba(233, 229, 217, 0.72);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.chart-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 0;
  pointer-events: none;
  transition: left 0.12s linear;
}

.chart-marker-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-left: 1px dashed rgba(233, 229, 217, 0.5);
}

.chart-marker-dot {
  position: absolute;
  top: var(--marker-y, 50%);
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  margin-left: -5px;
  border-radius: 50%;
  background: #3ed27f;
  box-shadow: 0 0 0 4px rgba(62, 210, 127, 0.14);
  transition: top 0.12s linear;
}

.chart-x {
  position: relative;
  height: 1.1em;
  margin-left: 34px;
  color: var(--dark-muted);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.chart-x span {
  position: absolute;
  top: 0;
  white-space: nowrap;
  transform: translateX(-50%);
}

.chart-x span:first-child {
  transform: none;
}

.chart-x span:last-child {
  transform: translateX(-100%);
}

.range-wrap {
  margin-left: 34px;
  padding-top: 10px;
}

.range-wrap label {
  display: block;
  margin-bottom: 6px;
  color: var(--dark-muted);
  font-size: 0.7rem;
}

.range-wrap label span {
  color: var(--dark-text);
  font-family: var(--mono);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  background: transparent;
  cursor: ew-resize;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -7.5px;
  border: 2px solid var(--dark);
  border-radius: 50%;
  background: #3ed27f;
  box-shadow: 0 0 0 1px #3ed27f;
}

input[type="range"]::-moz-range-track {
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid var(--dark);
  border-radius: 50%;
  background: #3ed27f;
}

.range-ends {
  display: flex;
  justify-content: space-between;
  margin-top: -2px;
  color: var(--dark-muted);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.phase-legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.phase-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--dark-muted);
  font-size: 0.72rem;
}

.phase-item strong {
  color: var(--dark-text);
  font-size: 0.82rem;
  font-weight: 500;
}

.phase-swatch {
  width: 22px;
  height: 3px;
  background: var(--phase-color);
}

.phase-item--adaptive {
  --phase-color: #7fa3b2;
}

.phase-item--shedding {
  --phase-color: #e29a5c;
}

.phase-item--accumulation {
  --phase-color: #a8c08a;
}

.phase-item--peak {
  --phase-color: #3ed27f;
}

.phase-item--maintenance {
  --phase-color: #9a9f8e;
}

.fineprint {
  margin: 18px 0 0;
  color: var(--ink-faint);
  font-size: 0.75rem;
  line-height: 1.7;
}

.timeline-section .fineprint {
  color: var(--dark-muted);
}

.record-section {
  padding: clamp(80px, 11vw, 140px) 0;
  background: var(--paper);
}

.record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.record-copy h2,
.review-copy h2,
.privacy-copy h2,
.faq-intro h2 {
  margin: 0 0 24px;
}

.section-lede {
  max-width: 34em;
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}

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

.ledger-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-key {
  padding-top: 3px;
  color: var(--green-deep);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.ledger-row h3 {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.ledger-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.75;
}

.record-form {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line-strong);
  background: var(--paper-light);
  box-shadow: 0 18px 40px rgba(20, 33, 26, 0.08);
}

.record-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 33, 26, 0.03) 1px, transparent 1px);
  background-size: 100% 26px;
  pointer-events: none;
}

.record-form > * {
  position: relative;
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.form-head .mono {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-faint);
}

.form-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tag {
  padding: 3px 6px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.tag--demo {
  border-color: rgba(165, 78, 20, 0.4);
  background: rgba(165, 78, 20, 0.06);
  color: var(--amber);
}

.form-row--date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.field-label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.date-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.field-group {
  margin: 0;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.field-group > .field-label {
  margin-bottom: 10px;
  padding: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip:hover span {
  border-color: var(--green-deep);
  color: var(--green-deep);
}

.chip input:checked + span {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: #fff;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--green-deep);
  outline-offset: 2px;
}

.medicine-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(6, 122, 70, 0.16);
  background: rgba(6, 122, 70, 0.05);
  font-size: 0.78rem;
}

.medicine-name {
  color: var(--ink);
  font-weight: 600;
}

.medicine-freq {
  color: var(--ink-soft);
}

.photo-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.photo-slot:hover {
  border-color: var(--green-deep);
  background: rgba(6, 122, 70, 0.03);
}

.photo-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.photo-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.photo-copy strong {
  font-size: 0.78rem;
  font-weight: 600;
}

.photo-copy small {
  color: var(--ink-faint);
  font-size: 0.65rem;
}

.photo-state {
  margin-left: auto;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.58rem;
}

.photo-slot.is-added {
  border-style: solid;
  border-color: var(--green-deep);
  background: rgba(6, 122, 70, 0.04);
}

.photo-slot.is-added .photo-icon {
  border-color: var(--green-deep);
  color: var(--green-deep);
}

.photo-slot.is-added .photo-state {
  color: var(--green-deep);
}

.record-form .button-full {
  margin-top: 18px;
}

.form-status {
  margin: 10px 0 0;
  color: var(--ink-faint);
  font-size: 0.7rem;
  line-height: 1.6;
}

.form-status.is-saved {
  color: var(--green-deep);
}

.review-section {
  padding: clamp(80px, 11vw, 140px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.review-steps {
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.review-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step-no {
  padding-top: 2px;
  color: var(--green-ink);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.review-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.review-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.7;
}

.report {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  background: var(--paper-light);
  box-shadow: 0 22px 50px rgba(20, 33, 26, 0.1);
}

.report::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 33, 26, 0.03) 1px, transparent 1px);
  background-size: 100% 28px;
  pointer-events: none;
}

.report > * {
  position: relative;
}

.report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.report-head .mono {
  color: var(--ink-faint);
}

.report-status {
  padding: 3px 6px;
  border: 1px solid rgba(6, 122, 70, 0.35);
  background: rgba(6, 122, 70, 0.05);
  color: var(--green-deep);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.report-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.report-body {
  padding-top: 8px;
}

.report-body section {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.report-body h3 {
  margin: 0 0 6px;
  color: var(--green-deep);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.report-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.8;
}

.report-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  color: var(--ink-faint);
  font-size: 0.7rem;
}

.report-stamp {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--green-deep);
  border-radius: 50%;
  color: var(--green-deep);
  font-family: var(--display);
  font-size: 0.82rem;
  transform: rotate(-8deg);
}

.report-note {
  margin: 14px 0 0;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.privacy-section {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--paper);
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.privacy-copy .section-lede {
  margin-bottom: 20px;
}

.privacy-list {
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.privacy-list div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-list dt {
  padding-top: 2px;
  color: var(--green-deep);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.privacy-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
}

.faq-section {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.faq-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--green-deep);
  transition: transform 0.2s ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-list details[open] .faq-icon::after {
  transform: rotate(0);
}

.faq-list summary:hover,
.faq-list details[open] summary {
  color: var(--green-deep);
}

.faq-list details p {
  max-width: 62ch;
  margin: 0;
  padding: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.8;
}

.download-section {
  position: relative;
  overflow: clip;
  padding: clamp(80px, 11vw, 140px) 0;
  background: var(--dark);
  color: var(--dark-text);
  text-align: center;
}

.download-section::before,
.download-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(62, 210, 127, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.download-section::before {
  width: min(120vw, 1200px);
  aspect-ratio: 1;
}

.download-section::after {
  width: min(82vw, 780px);
  aspect-ratio: 1;
  border-color: rgba(62, 210, 127, 0.09);
}

.download-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-icon {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.download-inner h2 {
  margin: 24px 0 18px;
  color: var(--dark-text);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.download-inner > p {
  max-width: 34em;
  margin: 0 0 30px;
  color: var(--dark-muted);
}

.button-large {
  padding: 18px 26px;
  font-size: 1rem;
}

.download-note {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  color: var(--dark-muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

/* 下载二维码 */
.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}

.qr-block[hidden] {
  display: none;
}

.qr-image {
  display: block;
  width: 132px;
  height: 132px;
  padding: 9px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.qr-caption {
  margin: 0 !important;
  color: var(--dark-muted);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

/* 下载落地页 */
.download-page-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.download-page-section .download-inner {
  width: 100%;
}

/* .button 的 display 会盖过 hidden 属性，这里显式兜底 */
.download-page-section .button[hidden] {
  display: none;
}

.dl-help {
  margin: 26px 0 0 !important;
}

.dl-help .text-link {
  color: var(--dark-muted);
}

.dl-help .text-link:hover {
  color: var(--dark-text);
}

/* 微信内引导 */
.wx-guide {
  width: min(100%, 430px);
  margin: 0 0 8px;
  text-align: left;
}

.wx-guide[hidden] {
  display: none;
}

.wx-guide-card {
  padding: 24px 26px 22px;
  border: 1px solid rgba(233, 229, 217, 0.24);
  border-radius: 3px;
  background: rgba(233, 229, 217, 0.06);
}

.wx-guide-title {
  margin: 0 0 14px !important;
  color: var(--dark-text);
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 600;
}

.wx-guide ol {
  margin: 0;
  padding-left: 20px;
  color: var(--dark-text);
  font-size: 0.9rem;
  line-height: 2;
}

.wx-dots {
  display: inline-block;
  padding: 0 5px;
  border: 1px solid rgba(233, 229, 217, 0.5);
  border-radius: 3px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: baseline;
}

.wx-guide-note {
  margin: 14px 0 0 !important;
  color: var(--dark-muted);
  font-size: 0.8rem;
}

.wx-copy-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.wx-copy-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(233, 229, 217, 0.28);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--dark-text);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.wx-copy-row .button {
  flex: none;
}

.site-footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-top nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-top nav a {
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-top nav a:hover {
  color: var(--green-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  color: var(--ink-faint);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.legal-page .site-header {
  position: static;
}

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 96px) var(--gutter) clamp(80px, 10vw, 120px);
}

.legal-main h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.legal-body {
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.legal-body h1,
.legal-body h2,
.legal-body h3,
.legal-body h4,
.legal-body h5,
.legal-body h6 {
  margin: 1.4em 0 0.6em;
  color: var(--ink);
  line-height: 1.35;
}

.legal-body h1 {
  font-size: 1.9rem;
}

.legal-body h2 {
  font-size: 1.55rem;
}

.legal-body h3 {
  font-size: 1.3rem;
}

.legal-body h4,
.legal-body h5,
.legal-body h6 {
  font-size: 1.08rem;
}

.legal-body > :first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.9;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.2em;
}

.legal-body li {
  margin-bottom: 10px;
}

.legal-body strong {
  color: var(--ink);
}

.legal-body a {
  color: var(--green-deep);
  text-underline-offset: 3px;
}

.legal-body img {
  max-width: 100%;
  height: auto;
}

.legal-body blockquote {
  margin: 1.2em 0;
  padding-left: 1em;
  border-left: 2px solid var(--line-strong);
}

.legal-body hr {
  margin: 1.6em 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
}

.legal-state {
  color: var(--ink-faint);
}

.legal-state.is-error {
  color: var(--amber);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-decoration: none;
}

.legal-back:hover {
  color: var(--green-deep);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: 720px;
    margin: 0 auto;
  }

  .hero-visual {
    align-items: center;
  }

  .sheet-wrap {
    width: min(100%, 520px);
  }

  .section-head--dark,
  .record-grid,
  .review-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .timeline-panel {
    grid-template-columns: 1fr;
  }

  .timeline-readout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .readout-note {
    grid-column: 1 / -1;
  }

  .phase-legend {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .hero-lede {
    font-size: 0.96rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-note {
    flex-direction: column;
    gap: 4px;
  }

  .hero-foot {
    gap: 10px;
  }

  .hero-foot .mono {
    font-size: 0.56rem;
  }

  .sheet {
    padding: 18px;
  }

  .sheet-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sheet-meta {
    gap: 24px;
  }

  .contact-sheet {
    gap: 8px;
  }

  .frame {
    padding: 6px;
  }

  .frame figcaption {
    font-size: 0.54rem;
  }

  .sheet-foot {
    align-items: center;
  }

  .stamp {
    width: 78px;
    height: 78px;
  }

  .timeline-readout {
    grid-template-columns: 1fr;
  }

  .readout-stats {
    grid-template-columns: 1fr 1fr;
  }

  .chart-plot {
    height: 240px;
    margin-left: 28px;
  }

  .chart-y {
    left: -28px;
    width: 22px;
    font-size: 0.5rem;
  }

  .chart-x {
    margin-left: 28px;
    font-size: 0.48rem;
  }

  .chart-x span:nth-child(2),
  .chart-x span:nth-child(3) {
    display: none;
  }

  .range-wrap {
    margin-left: 28px;
  }

  .phase-legend {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  .phase-labels {
    display: none;
  }

  .phase-item {
    font-size: 0.62rem;
  }

  .ledger-row {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .privacy-list div {
    grid-template-columns: 62px 1fr;
    gap: 14px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top nav {
    gap: 14px 18px;
  }
}

@media (max-width: 420px) {
  .sheet-foot {
    gap: 12px;
  }

  .annotation {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .stamp {
    width: 68px;
    height: 68px;
  }

  .frame figcaption {
    font-size: 0.54rem;
  }

  .frame figcaption span {
    display: none;
  }

  .sheet-meta dd {
    font-size: 0.7rem;
  }

  .readout-stats {
    grid-template-columns: 1fr;
  }

}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-line > span {
    transform: none;
  }

  .sheet-wrap {
    opacity: 1;
    transform: rotate(-1.4deg);
  }

  .mini-line {
    stroke-dashoffset: 0;
  }
}
