/* =========================================================
   XFHR.WORK — 徐费皓苒 / 网球打比赛
   One stylesheet, no frameworks, no external requests.
   ========================================================= */

@font-face {
  font-family: "XF Serif";
  src: url("/assets/fonts/noto-serif-sc-subset.woff2?v=20261102h") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-950: #052018;
  --green-900: #072a20;
  --green-800: #0b3b2e;
  --green-700: #104a39;
  --green-600: #1a5c47;
  --green-500: #2c7a5b;
  --cream: #f4f0e4;
  --paper: #fbf7eb;
  --ball: #d8f24b;
  --ball-deep: #c6e239;
  --clay: #c86a47;
  --ink: #10241c;
  --muted: #63736a;
  --line: rgba(16, 36, 28, 0.14);
  --line-strong: rgba(16, 36, 28, 0.28);
  --line-light: rgba(244, 240, 228, 0.17);
  --serif: "XF Serif", "Songti SC", "Noto Serif SC", "Source Han Serif SC", STSong, serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 0.72, 0.22, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

.nowrap {
  white-space: nowrap;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

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

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ball);
  color: var(--green-950);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.25s var(--ease);
}

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

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

.hero :focus-visible,
.section--dark :focus-visible,
.site-footer :focus-visible,
.product-hero :focus-visible,
.error-page :focus-visible {
  outline-color: var(--ball);
}

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

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    padding 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  transition: padding 0.35s var(--ease);
}

.site-header.is-scrolled,
body.header-light .site-header {
  color: var(--ink);
  background: rgba(244, 240, 228, 0.92);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border-bottom-color: var(--line);
}

.site-header.is-scrolled .header-inner,
body.header-light .site-header .header-inner {
  padding: 11px 0;
}

body.nav-open .site-header {
  color: var(--cream);
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.nav-open .site-header .header-inner {
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  flex: none;
}

.brand-ball {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.16));
  transition: transform 0.45s var(--ease);
}

.brand:hover .brand-ball {
  transform: rotate(-14deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.2em;
  opacity: 0.55;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav > a:not(.nav-mobile-cta) {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  opacity: 0.82;
  transition: opacity 0.25s;
}

.nav > a:not(.nav-mobile-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.3s var(--ease);
}

.nav > a:not(.nav-mobile-cta):hover {
  opacity: 1;
}

.nav > a:not(.nav-mobile-cta):hover::after {
  right: 0;
}

.nav > a[aria-current="page"] {
  opacity: 1;
}

.nav > a[aria-current="page"]::after {
  right: 0;
}

.nav-mobile-cta {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--ball);
  color: var(--green-950);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.nav-cta .icon {
  width: 14px;
  height: 14px;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--cream);
}

.site-header.is-scrolled .nav-cta,
body.header-light .site-header .nav-cta {
  background: var(--green-800);
  color: var(--cream);
}

.site-header.is-scrolled .nav-cta:hover,
body.header-light .site-header .nav-cta:hover {
  background: var(--green-950);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 24px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* =========================================================
   Type helpers
   ========================================================= */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ball);
}

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

.section {
  position: relative;
  padding: clamp(84px, 9vw, 132px) 0;
}

.section--cream {
  background: var(--cream);
}

.section--paper {
  background: var(--paper);
}

.section--dark {
  background: var(--green-900);
  color: var(--cream);
}

.section-head {
  max-width: 920px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--green-600);
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.section-kicker span {
  color: var(--green-800);
  opacity: 0.45;
}

.section h2 {
  text-wrap: balance;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.14;
}

.section-lede {
  max-width: 640px;
  margin-top: 22px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.9;
  color: var(--muted);
}

.section--dark .section-kicker {
  color: var(--ball);
}

.section--dark .section-kicker span {
  color: var(--ball);
  opacity: 0.65;
}

.section--dark .section-lede {
  color: rgba(244, 240, 228, 0.64);
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.text-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.text-link:hover .icon {
  transform: translateX(4px);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s,
    border-color 0.25s;
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-ball {
  background: var(--ball);
  color: var(--green-950);
}

.btn-ball:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--green-800);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--green-950);
  transform: translateY(-2px);
}

.btn-ghost-light {
  border-color: rgba(244, 240, 228, 0.32);
  background: transparent;
  color: var(--cream);
}

.btn-ghost-light:hover {
  background: rgba(244, 240, 228, 0.1);
  border-color: var(--cream);
}

.btn-outline-dark {
  border-color: rgba(7, 42, 32, 0.34);
  background: transparent;
  color: var(--green-950);
}

.btn-outline-dark:hover {
  background: var(--green-950);
  color: var(--ball);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(960px, 100svh);
  padding: 150px 0 34px;
  overflow: hidden;
  background: var(--green-800);
  color: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 42%, rgba(44, 122, 91, 0.52), transparent 56%),
    linear-gradient(180deg, rgba(5, 32, 24, 0.28), transparent 26%, rgba(5, 32, 24, 0.5));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.055;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.hero-court {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
}

.hero-court svg {
  width: 100%;
  height: 100%;
}

.hero-court rect,
.hero-court line {
  fill: none;
  stroke: rgba(216, 242, 75, 0.19);
  stroke-width: 1;
}

.court-trajectory {
  fill: none;
  stroke: rgba(244, 240, 228, 0.16);
  stroke-width: 1.2;
  stroke-dasharray: 4 9;
}

.court-ball {
  fill: var(--ball);
  opacity: 0.45;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 74px);
}

.hero h1 {
  max-width: 11em;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.hl {
  color: var(--ball);
}

.hero-lede {
  max-width: 35em;
  margin-top: 26px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.9;
  color: rgba(244, 240, 228, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.hero-meta li {
  margin-right: 20px;
  padding: 14px 20px 0 0;
  border-right: 1px solid var(--line-light);
  color: rgba(244, 240, 228, 0.52);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.hero-meta li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.hero-meta span {
  display: block;
  margin-bottom: 3px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.ball-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(280px, 30vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.ball-stage::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(216, 242, 75, 0.26);
  border-radius: 50%;
}

.ball-stage::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(11, 59, 46, 0.17);
  border-radius: 50%;
}

.hero-ball {
  position: relative;
  z-index: 2;
  width: 86%;
  filter: drop-shadow(0 18px 28px rgba(16, 36, 28, 0.2));
  animation: ball-breathe 8s ease-in-out infinite;
}

@keyframes ball-breathe {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(2deg) translateY(-8px);
  }
}

.ball-stage-label {
  position: absolute;
  top: 8.5%;
  z-index: 3;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.ball-ring {
  position: absolute;
  inset: -9%;
  z-index: 4;
  width: 118%;
  height: 118%;
  animation: spin 54s linear infinite;
  pointer-events: none;
}

.ball-ring text {
  fill: rgba(244, 240, 228, 0.62);
  font-family: var(--mono);
  font-size: 7.2px;
  letter-spacing: 0.22em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.float-card {
  position: absolute;
  z-index: 5;
  padding: 16px 18px;
  border: 1px solid rgba(16, 36, 28, 0.18);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.float-level {
  top: 2%;
  left: -7%;
  min-width: 152px;
  transform: rotate(-4deg);
}

.float-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.float-level strong {
  display: block;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.float-note {
  display: block;
  max-width: 170px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.float-status {
  right: -6%;
  bottom: 3%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 260px;
  transform: rotate(2deg);
}

.float-status strong {
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: none;
  margin-top: 6px;
  border-radius: 50%;
  background: #2fb36b;
  box-shadow: 0 0 0 4px rgba(47, 179, 107, 0.15);
}

.hero-quote {
  position: absolute;
  bottom: -8%;
  left: 6%;
  color: rgba(244, 240, 228, 0.62);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 58px;
  color: rgba(244, 240, 228, 0.44);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

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

.hero-scroll .icon {
  width: 14px;
  height: 14px;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* =========================================================
   Ticker
   ========================================================= */

.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(16, 36, 28, 0.24);
  border-bottom: 1px solid rgba(16, 36, 28, 0.24);
  background: var(--ball);
  color: var(--green-950);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 15px 0;
  animation: marquee 38s linear infinite;
}

.ticker-track span {
  padding: 0 26px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
}

.ticker-track i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--green-950);
  opacity: 0.62;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   Product
   ========================================================= */

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.product-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.product-name-row h3 {
  font-size: clamp(28px, 3vw, 40px);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.chip--beta {
  border-color: var(--green-800);
  background: var(--green-800);
  color: var(--cream);
}

.product-desc {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.7;
}

.check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--ball);
}

.check .icon {
  width: 12px;
  height: 12px;
}

.product-quote {
  max-width: 520px;
  margin-top: 38px;
  padding: 18px 0 0 20px;
  border-left: 2px solid var(--ball);
}

.product-quote p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
}

.product-quote cite {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.04em;
}

.product-visual {
  position: relative;
}

.phone-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
}

.phone {
  position: relative;
  width: min(300px, 72vw);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 36, 28, 0.16);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(16, 36, 28, 0.18);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 18px 14px;
  background: linear-gradient(transparent, rgba(7, 42, 32, 0.8));
  color: var(--cream);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.phone--front {
  z-index: 2;
  transform: rotate(2.5deg) translate(44px, 0);
  transition: transform 0.5s var(--ease);
}

.phone--back {
  position: absolute;
  z-index: 1;
  width: 250px;
  opacity: 0.94;
  transform: rotate(-7deg) translate(-86px, 18px);
  transition: transform 0.5s var(--ease);
}

.phone--back figcaption {
  display: none;
}

@media (hover: hover) {
  .phone--front:hover {
    transform: rotate(0) translate(44px, -6px);
  }
  .phone--back:hover {
    transform: rotate(-4deg) translate(-86px, 12px);
  }
}

.fact-card {
  position: absolute;
  bottom: 4%;
  left: -4%;
  z-index: 3;
  max-width: 190px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--green-800);
  color: var(--cream);
  box-shadow: 0 20px 44px rgba(16, 36, 28, 0.2);
  transform: rotate(-3deg);
}

.fact-kicker {
  color: var(--ball);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.fact-card strong {
  display: block;
  margin: 6px 0 2px;
  color: var(--ball);
  font-family: var(--serif);
  font-size: 54px;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.fact-card > span {
  display: block;
  font-size: 11px;
  line-height: 1.5;
}

.fact-note {
  margin-top: 8px;
  color: rgba(244, 240, 228, 0.6);
}

/* =========================================================
   Value
   ========================================================= */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 30px 26px 24px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(244, 240, 228, 0.055), rgba(244, 240, 228, 0.015));
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.value-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

.value-index {
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.value-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--ball);
}

.value-icon .icon {
  width: 18px;
  height: 18px;
}

.value-card h3 {
  margin-top: 44px;
  font-size: 30px;
}

.value-sub {
  min-height: 44px;
  margin-top: 10px;
  color: var(--ball);
  font-size: 14px;
  line-height: 1.6;
}

.value-card ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.value-card li {
  position: relative;
  padding-left: 14px;
  color: rgba(244, 240, 228, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.value-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ball);
}

.value-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: rgba(244, 240, 228, 0.55);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.value-foot .icon {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
}

@media (hover: hover) {
  .value-card:hover {
    background: var(--ball);
    color: var(--green-950);
    transform: translateY(-6px);
  }
  .value-card:hover .value-sub,
  .value-card:hover .value-index {
    color: var(--green-700);
  }
  .value-card:hover li {
    color: rgba(7, 42, 32, 0.78);
  }
  .value-card:hover li::before {
    background: var(--green-800);
  }
  .value-card:hover .value-icon {
    border-color: rgba(7, 42, 32, 0.24);
    color: var(--green-800);
  }
  .value-card:hover .value-foot {
    border-color: rgba(7, 42, 32, 0.18);
    color: rgba(7, 42, 32, 0.6);
  }
}

.level-strip {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  margin-top: 48px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 24px;
  background: var(--ball);
  color: var(--green-950);
}

.level-number {
  font-family: var(--serif);
  font-size: clamp(96px, 13vw, 160px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.level-copy p {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.8;
}

.level-kicker {
  margin-bottom: 10px !important;
  opacity: 0.55;
  font-family: var(--mono);
  font-size: 9px !important;
  letter-spacing: 0.18em;
}

.level-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.level-tags li {
  padding: 5px 12px;
  border: 1px solid rgba(7, 42, 32, 0.28);
  border-radius: 999px;
  font-size: 11px;
}

.playbook {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 50px;
  margin-top: 64px;
  padding-top: 38px;
  border-top: 1px solid var(--line-light);
}

.playbook h3 {
  font-size: 30px;
}

.playbook-head p {
  max-width: 280px;
  margin-top: 12px;
  color: rgba(244, 240, 228, 0.6);
  font-size: 13px;
  line-height: 1.8;
}

.playbook-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 36px;
}

.playbook-grid div {
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
}

.playbook-grid dt {
  margin-bottom: 8px;
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.playbook-grid dd {
  color: rgba(244, 240, 228, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

/* =========================================================
   About
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.player-card-wrap {
  position: relative;
}

.player-card {
  position: relative;
  max-width: 400px;
  aspect-ratio: 3 / 4;
  padding: 24px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 16px 16px 0 rgba(11, 59, 46, 0.12);
  transform: rotate(-2deg);
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(16, 36, 28, 0.16);
  border-radius: 12px;
  pointer-events: none;
}

.pc-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.pc-name {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1;
}

.pc-level {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: clamp(80px, 10vw, 120px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.pc-level span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.pc-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pc-meta span {
  padding: 3px 9px;
  border: 1px solid rgba(16, 36, 28, 0.22);
  border-radius: 999px;
  font-size: 10px;
}

.pc-ball {
  position: absolute;
  right: -14%;
  bottom: 12%;
  z-index: 1;
  width: 55%;
  opacity: 0.92;
}

.pc-bottom {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(16, 36, 28, 0.18);
  font-size: 11px;
}

.pc-code {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.player-card-caption {
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: center;
}

.about-copy > p {
  max-width: 600px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.about-copy .section-kicker {
  margin-bottom: 18px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.facts div {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  width: 52px;
  flex: none;
  padding-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.facts dd {
  font-size: 13px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(60px, 8vw, 100px);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  padding: 26px 30px 0 0;
}

.timeline li + li {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.timeline-date {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.timeline h3 {
  margin-top: 12px;
  font-size: 22px;
}

.timeline p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================================
   Notes preview
   ========================================================= */

.notes .section-head--row {
  align-items: flex-end;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.note-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px 28px 30px 0;
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.note-card + .note-card {
  padding-left: 28px;
}

.note-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.note-no {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
}

.note-tag {
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note-card h3 {
  max-width: 13em;
  margin-top: 12px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
}

.note-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.note-more {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 12px;
  font-weight: 600;
}

.note-more .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

@media (hover: hover) {
  .note-card:hover {
    background: var(--ball);
  }
  .note-card:hover .note-tag,
  .note-card:hover p {
    color: rgba(7, 42, 32, 0.68);
  }
  .note-card:hover .note-no {
    color: var(--green-800);
  }
  .note-card:hover .note-more .icon {
    transform: translateX(4px);
  }
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(90px, 10vw, 140px);
  background: var(--ball);
  color: var(--green-950);
}

.contact .section-kicker {
  color: var(--green-700);
}

.contact .section-kicker span {
  color: var(--green-800);
  opacity: 0.55;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.contact h2 {
  font-size: clamp(58px, 8vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.contact-copy {
  padding-top: 28px;
}

.contact-copy > p {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.9;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--green-950);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mail-link .icon {
  width: 24px;
  height: 24px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact-note {
  max-width: 450px;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.72;
}

.contact-note--small {
  margin-top: 8px;
  opacity: 0.55;
}

.contact-watermark {
  position: absolute;
  right: -2%;
  bottom: -12%;
  z-index: 1;
  color: rgba(7, 42, 32, 0.055);
  font-family: var(--serif);
  font-size: clamp(180px, 30vw, 430px);
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.08em;
  pointer-events: none;
  user-select: none;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 64px 0 28px;
  background: var(--green-950);
  color: var(--cream);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand .brand {
  color: var(--cream);
}

.footer-brand p {
  margin-top: 20px;
  color: rgba(244, 240, 228, 0.55);
  font-size: 12px;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  gap: clamp(40px, 8vw, 120px);
}

.footer-title {
  margin-bottom: 16px;
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.footer-nav a {
  display: block;
  padding: 5px 0;
  color: rgba(244, 240, 228, 0.72);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--ball);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: rgba(244, 240, 228, 0.42);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.footer-bottom a {
  border-bottom: 1px solid rgba(244, 240, 228, 0.22);
}

.footer-bottom a:hover {
  color: var(--ball);
}

/* =========================================================
   Scroll reveal
   ========================================================= */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .value-card:nth-child(2),
.js .note-card:nth-child(2),
.js .value-card.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.js .value-card:nth-child(3),
.js .note-card:nth-child(3) {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-ball,
  .ball-ring,
  .ticker-track,
  .hero-scroll .icon {
    animation: none !important;
  }
  .ticker-track {
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .ticker-track span:nth-child(n + 10),
  .ticker-track i:nth-child(n + 10) {
    display: none;
  }
}

/* =========================================================
   Product page
   ========================================================= */

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 72px;
  background: var(--green-900);
  color: var(--cream);
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 68% 30%, rgba(44, 122, 91, 0.48), transparent 55%),
    linear-gradient(180deg, rgba(5, 32, 24, 0.22), transparent 40%, rgba(5, 32, 24, 0.4));
  pointer-events: none;
}

.product-hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 7px 13px;
  border: 1px solid rgba(216, 242, 75, 0.35);
  border-radius: 999px;
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-status .status-dot {
  margin-top: 0;
}

.product-hero h1 {
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.product-hero .lede {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(244, 240, 228, 0.76);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.9;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.badge-row span {
  padding: 5px 11px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: rgba(244, 240, 228, 0.75);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.product-hero .hero-actions {
  margin-top: 30px;
}

.product-hero-note {
  max-width: 430px;
  margin-top: 22px;
  color: rgba(244, 240, 228, 0.48);
  font-size: 11px;
  line-height: 1.8;
}

.product-hero-visual {
  position: relative;
  min-height: 560px;
}

.phone-duo {
  position: relative;
  min-height: 560px;
}

.phone-duo .phone--front {
  position: absolute;
  top: 30px;
  right: 0;
  transform: rotate(3deg);
  width: min(290px, 70vw);
}

.phone-duo .phone--back {
  top: 0;
  left: 0;
  transform: rotate(-6deg);
  width: 240px;
}

.phone-duo .phone figcaption {
  font-size: 8px;
}

.phone-duo .phone--front:hover {
  transform: rotate(1deg) translateY(-6px);
}

.phone-duo .phone--back:hover {
  transform: rotate(-3deg) translateY(-4px);
}

.product-stats {
  background: var(--ball);
  color: var(--green-950);
}

.product-stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.product-stat {
  padding: 24px 24px 24px 0;
  border-right: 1px solid rgba(7, 42, 32, 0.18);
}

.product-stat + .product-stat {
  padding-left: 24px;
}

.product-stat:last-child {
  border-right: 0;
}

.product-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.product-stat span {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.why-quote {
  margin-bottom: 36px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 40px);
  text-wrap: balance;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.why-quote em {
  color: var(--green-600);
  font-style: normal;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.compare h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare ul {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.compare li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.compare li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

.compare .is-now li {
  color: var(--ink);
}

.compare .is-now li::before {
  background: var(--green-600);
}

.quote-card {
  margin-top: 34px;
  padding: 24px 26px;
  border-radius: 18px;
  background: var(--green-800);
  color: var(--cream);
}

.quote-card p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
}

.quote-card cite {
  display: block;
  margin-top: 12px;
  color: rgba(244, 240, 228, 0.5);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.04em;
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px 24px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: rgba(244, 240, 228, 0.035);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.feature-no {
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  margin-top: 40px;
  font-size: 25px;
  line-height: 1.3;
}

.feature-card p {
  margin-top: 14px;
  color: rgba(244, 240, 228, 0.64);
  font-size: 14px;
  line-height: 1.85;
}

.feature-card .feature-tag {
  margin-top: auto;
  padding-top: 22px;
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

@media (hover: hover) {
  .feature-card:hover {
    background: var(--ball);
    color: var(--green-950);
    transform: translateY(-5px);
  }
  .feature-card:hover p {
    color: rgba(7, 42, 32, 0.72);
  }
  .feature-card:hover .feature-no,
  .feature-card:hover .feature-tag {
    color: var(--green-700);
  }
}

.algo-band {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  align-items: end;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 22px;
  background: var(--ball);
  color: var(--green-950);
}

.algo-band h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
}

.algo-band p {
  max-width: 420px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.7;
}

.algo-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.algo-numbers div {
  text-align: right;
}

.algo-numbers strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.algo-numbers span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.flow-step {
  position: relative;
  padding: 26px 26px 0 0;
}

.flow-step + .flow-step {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.flow-no {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
}

.flow-step h3 {
  margin-top: 20px;
  font-size: 24px;
}

.flow-step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
  margin-top: 12px;
}

.gallery-item {
  margin: 0;
}

.gallery-item:nth-child(2) {
  margin-top: 46px;
}

.gallery-item .phone {
  width: 100%;
  border-radius: 24px;
}

.gallery-item .phone img {
  width: 100%;
}

.gallery-item figcaption {
  position: static;
  padding: 14px 0 0;
  background: none;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.gallery-item figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
}

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

.fit-card {
  padding: 30px 28px;
  border-radius: 20px;
  background: var(--paper);
}

.fit-card--no {
  background: transparent;
  border: 1px solid var(--line);
}

.fit-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 27px;
}

.fit-card h3 .icon {
  width: 22px;
  height: 22px;
  color: var(--green-600);
}

.fit-card--no h3 .icon {
  color: var(--clay);
}

.fit-card ul {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.fit-card li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.fit-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-600);
}

.fit-card--no li::before {
  background: var(--clay);
}

.fit-note {
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.principle {
  padding: 28px 26px;
  border-top: 2px solid var(--ball);
  background: rgba(244, 240, 228, 0.04);
}

.principle strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
}

.principle p {
  margin-top: 10px;
  color: rgba(244, 240, 228, 0.62);
  font-size: 13px;
  line-height: 1.8;
}

.build-note {
  margin-top: 28px;
  color: rgba(244, 240, 228, 0.42);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  flex: none;
  color: var(--green-600);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.25s var(--ease);
}

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

.faq-list .faq-answer {
  max-width: 760px;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--ball);
  color: var(--green-950);
}

.cta-band .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  max-width: 720px;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.15;
}

.cta-band p {
  max-width: 430px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.85;
  opacity: 0.72;
}

.cta-band .btn {
  flex: none;
}

.cta-watermark {
  position: absolute;
  right: -1%;
  bottom: -18%;
  color: rgba(7, 42, 32, 0.06);
  font-family: var(--serif);
  font-size: 32vw;
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.08em;
  pointer-events: none;
  user-select: none;
}

/* =========================================================
   Notes page
   ========================================================= */

.notes-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 80px;
  background: var(--cream);
}

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

.notes-hero h1 {
  max-width: 900px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
}

.notes-hero .lede {
  max-width: 580px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.notes-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.notes-watermark {
  position: absolute;
  right: -2%;
  bottom: -22%;
  color: rgba(11, 59, 46, 0.055);
  font-family: var(--serif);
  font-size: 28vw;
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.08em;
  pointer-events: none;
  user-select: none;
}

.notes-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.notes-index a {
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
  transition: background 0.25s, color 0.25s;
}

.notes-index a:hover {
  background: var(--green-800);
  color: var(--cream);
}

.notes-body {
  background: var(--paper);
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 130px);
}

.notes-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  justify-content: center;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.notes-toc {
  position: sticky;
  top: 120px;
}

.notes-toc p {
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.notes-toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.notes-toc a:hover,
.notes-toc a.is-active {
  color: var(--green-800);
  border-bottom-color: var(--green-800);
}

.article {
  padding-bottom: 10px;
}

.article + .article {
  margin-top: 90px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.article-meta span + span::before {
  content: "/";
  margin-right: 14px;
  opacity: 0.4;
}

.article h2 {
  margin-top: 18px;
  text-wrap: balance;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
}

.article-lead {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.8;
  color: var(--green-800);
}

.article p {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.95;
  color: #24352c;
}

.article strong {
  color: var(--green-800);
  font-weight: 700;
}

.article blockquote {
  margin: 34px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--ball);
}

.article blockquote p {
  margin: 0;
  font-size: 20px;
  line-height: 1.8;
  color: var(--green-800);
}

.article-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 38px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.article-end::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--line-strong);
}

/* 随笔内嵌图：截图 / 配图 */
.article figure {
  margin: 36px 0;
}

.article figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

/* 手机截图：限制宽度，避免整张图过分占屏 */
.article figure.figure--phone {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.article figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: center;
}

.article a {
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--ball);
  text-underline-offset: 3px;
}

.article a:hover {
  text-decoration-color: var(--green-800);
}

.notes-cta {
  margin-top: 46px;
  padding: 26px;
  border-radius: 18px;
  background: var(--green-800);
  color: var(--cream);
}

.notes-cta p {
  margin: 0;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.8;
}

.notes-cta .btn {
  margin-top: 18px;
}

/* =========================================================
   404
   ========================================================= */

.error-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 140px 20px 80px;
  background: var(--green-900);
  color: var(--cream);
  text-align: center;
}

.error-inner {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.error-code {
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(130px, 28vw, 300px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1px var(--ball);
}

.error-page h1 {
  margin-top: 20px;
  font-size: clamp(32px, 5vw, 54px);
}

.error-page p {
  margin-top: 14px;
  color: rgba(244, 240, 228, 0.62);
  font-size: 14px;
  line-height: 1.8;
}

.error-page .btn {
  margin-top: 28px;
}

.error-ball {
  position: absolute;
  right: 4%;
  bottom: 4%;
  width: clamp(180px, 24vw, 360px);
  opacity: 0.9;
  transform: rotate(8deg);
  pointer-events: none;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1120px) {
  .hero-grid {
    gap: 40px;
  }
  .float-level {
    left: -2%;
  }
  .float-status {
    right: 0;
  }
  .phone-stack {
    min-height: 520px;
  }
  .phone--back {
    width: 220px;
    transform: rotate(-7deg) translate(-70px, 18px);
  }
  .phone--front {
    transform: rotate(2.5deg) translate(34px, 0);
  }
  .fact-card {
    left: 0;
    bottom: 0;
  }
  .about-grid {
    grid-template-columns: 360px 1fr;
    gap: 50px;
  }
}

@media (max-width: 980px) {
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    overflow-y: auto;
    padding: 118px var(--gutter) 50px;
    background: var(--green-900);
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0.45s;
  }

  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav > a:not(.nav-mobile-cta) {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-light);
    color: var(--cream);
    font-family: var(--serif);
    font-size: clamp(34px, 7vw, 54px);
    font-weight: 700;
    line-height: 1.2;
    opacity: 1;
  }

  .nav > a:not(.nav-mobile-cta)::after {
    display: none;
  }

  .nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--ball);
    color: var(--green-950);
    font-size: 13px;
    font-weight: 700;
  }

  .header-inner {
    position: relative;
    z-index: 2;
  }

  .hero {
    min-height: 0;
    padding-top: 132px;
  }

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

  .hero h1 {
    max-width: 10em;
    font-size: clamp(42px, 7.4vw, 68px);
  }

  .hero-visual {
    min-height: 0;
    margin-top: 10px;
  }

  .ball-stage {
    width: min(360px, 68vw);
  }

  .float-level {
    top: 2%;
    left: calc(50% - 240px);
  }

  .float-status {
    right: calc(50% - 250px);
    bottom: 2%;
  }

  .hero-quote {
    right: 0;
    bottom: -16%;
    left: auto;
  }

  .hero-bottom {
    margin-top: 80px;
  }

  .product-grid,
  .product-hero .wrap,
  .about-grid,
  .why-grid,
  .contact-grid,
  .notes-layout {
    grid-template-columns: 1fr;
  }

  .product-visual {
    margin-top: 10px;
  }

  .product-hero {
    padding-top: 132px;
  }

  .product-hero-visual {
    margin-top: 30px;
  }

  .phone-duo {
    max-width: 560px;
    margin: 0 auto;
  }

  .value-grid,
  .feature-grid,
  .principles-grid,
  .flow-grid,
  .gallery-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-card:last-child,
  .feature-card:last-child,
  .principle:last-child {
    grid-column: 1 / -1;
  }

  .flow-step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .flow-step:nth-child(3),
  .flow-step:nth-child(4) {
    border-top: 1px solid var(--line);
    margin-top: 26px;
  }

  .timeline li:last-child {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 26px;
  }

  .notes-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--ink);
  }

  .note-card {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .note-card + .note-card {
    padding-left: 0;
  }

  .note-card:last-child {
    padding-right: 0;
    border-bottom: 0;
  }

  .note-card h3 {
    max-width: none;
  }

  .note-more {
    padding-top: 18px;
  }

  .contact-grid {
    gap: 20px;
  }

  .contact-copy {
    padding-top: 0;
  }

  .contact h2 {
    font-size: clamp(56px, 12vw, 96px);
  }

  .cta-band .wrap {
    display: block;
  }

  .cta-band .btn {
    margin-top: 26px;
  }

  .notes-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    order: -1;
  }

  .notes-toc p {
    width: 100%;
  }

  .notes-toc a {
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .notes-toc a:hover,
  .notes-toc a.is-active {
    border-color: var(--green-800);
  }

  .section-head--row {
    display: block;
  }

  .section-head--row .text-link {
    margin-top: 20px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .section h2 {
    font-size: clamp(32px, 8vw, 46px);
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(39px, 10.4vw, 58px);
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 15px;
  }

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

  .hero-meta {
    margin-top: 28px;
  }

  .hero-meta li {
    width: 100%;
    margin-right: 0;
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .hero-meta li:last-child {
    border-bottom: 0;
  }

  .ball-stage {
    width: min(310px, 78vw);
  }

  .float-level {
    top: -4%;
    left: 0;
    padding: 12px 14px;
    min-width: 128px;
  }

  .float-level strong {
    font-size: 44px;
  }

  .float-status {
    right: 0;
    bottom: -3%;
    max-width: 225px;
    padding: 12px 14px;
  }

  .float-note {
    max-width: 145px;
    font-size: 10px;
  }

  .hero-visual {
    flex-direction: column;
    gap: 26px;
  }

  .float-status {
    display: none;
  }

  .hero-quote {
    position: static;
    margin-top: 8px;
    text-align: center;
    font-size: 14px;
  }

  .hero-bottom {
    margin-top: 28px;
  }

  .hero-coord {
    display: none;
  }

  .ticker-track span {
    padding: 0 18px;
    font-size: 9px;
  }

  .product-name-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .phone-stack {
    flex-direction: column;
    min-height: 0;
    padding-bottom: 0;
  }

  .phone--back {
    display: none;
  }

  .phone--front {
    width: min(300px, 80vw);
    transform: rotate(1.5deg);
  }

  .phone--front:hover {
    transform: rotate(1.5deg);
  }

  .fact-card {
    position: static;
    margin: 22px auto 0;
    max-width: 240px;
    transform: rotate(-2deg);
    text-align: left;
  }

  .level-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .level-number {
    font-size: 104px;
  }

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

  .playbook-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .value-grid,
  .feature-grid,
  .principles-grid,
  .flow-grid,
  .gallery-grid,
  .timeline,
  .compare,
  .fit-grid,
  .product-stats .wrap {
    grid-template-columns: 1fr;
  }

  .value-card:last-child,
  .feature-card:last-child,
  .principle:last-child {
    grid-column: auto;
  }

  .value-card {
    min-height: 0;
  }

  .flow-step,
  .flow-step + .flow-step,
  .flow-step:nth-child(3) {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 0;
  }

  .flow-step:first-child {
    border-top: 0;
  }

  .timeline li,
  .timeline li + li,
  .timeline li:last-child {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 0;
  }

  .timeline li:first-child {
    border-top: 0;
  }

  .product-stat,
  .product-stat + .product-stat {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 42, 32, 0.16);
  }

  .product-stat:last-child {
    border-bottom: 0;
  }

  .algo-band {
    grid-template-columns: 1fr;
  }

  .algo-numbers {
    justify-content: flex-start;
  }

  .algo-numbers div {
    text-align: left;
  }

  .gallery-item:nth-child(2) {
    margin-top: 0;
  }

  .cta-band h2 {
    font-size: clamp(34px, 9vw, 52px);
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .mail-link {
    font-size: clamp(24px, 7vw, 34px);
  }

  .footer-top {
    display: block;
  }

  .footer-nav {
    margin-top: 42px;
    gap: 56px;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
  }

  .notes-hero {
    padding-top: 132px;
  }

  .notes-hero h1 {
    font-size: clamp(42px, 9vw, 70px);
  }

  .notes-layout {
    gap: 36px;
  }

  .article + .article {
    margin-top: 60px;
    padding-top: 50px;
  }

  .article p {
    font-size: 16px;
    line-height: 1.9;
  }

  .phone-duo {
    min-height: 0;
    padding-bottom: 40px;
  }

  .phone-duo .phone--front {
    position: relative;
    top: 0;
    right: auto;
    width: min(300px, 80vw);
    margin: 0 auto;
  }

  .phone-duo .phone--back {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .float-level {
    top: -7%;
  }

  .float-status {
    bottom: -8%;
  }

  .section-head--row .text-link {
    margin-top: 18px;
  }

  .contact h2 {
    font-size: 54px;
  }

  .footer-nav {
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* --- mobile refinements --- */
@media (max-width: 760px) {
  .product-stats .wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-stat,
  .product-stat + .product-stat {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 42, 32, 0.16);
  }

  .product-stat:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid rgba(7, 42, 32, 0.16);
  }

  .product-stat:nth-child(3),
  .product-stat:nth-child(4) {
    border-bottom: 0;
  }

  .feature-card {
    min-height: 0;
  }

  .article p {
    font-size: 17px;
  }
}

.pc-code {
  color: var(--ink);
}
/* Keep the brand above the full-screen mobile menu */
body.nav-open .brand,
body.nav-open .menu-toggle {
  position: relative;
  z-index: 3;
}
/* Small phones: avoid awkward headline wraps */
@media (max-width: 430px) {
  .hero h1 {
    font-size: clamp(30px, 9.6vw, 38px);
  }

  .section h2 {
    font-size: clamp(28px, 8.4vw, 32px);
  }

  .notes-hero h1 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .article h2 {
    font-size: clamp(26px, 7.4vw, 32px);
  }
}
@media (max-width: 980px) {
  .float-status {
    display: none;
  }
}
/* =========================================================
   Personal homepage
   ========================================================= */

.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(900px, 100svh);
  padding: 150px 0 34px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}

.home-hero-court {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
}

.home-hero-court svg {
  width: 100%;
  height: 100%;
}

.home-hero-court rect,
.home-hero-court line {
  fill: none;
  stroke: rgba(11, 59, 46, 0.13);
  stroke-width: 1;
}

.home-hero-court .court-trajectory {
  fill: none;
  stroke: rgba(11, 59, 46, 0.14);
  stroke-width: 1.2;
  stroke-dasharray: 4 9;
}

.home-hero-court .court-ball {
  fill: var(--ball-deep);
}

.home-hero-mark {
  position: absolute;
  right: -3%;
  bottom: -17%;
  color: rgba(11, 59, 46, 0.045);
  font-family: var(--serif);
  font-size: clamp(200px, 34vw, 520px);
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.08em;
  pointer-events: none;
  user-select: none;
}

.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.eyebrow--dark {
  color: var(--green-600);
}

.eyebrow--dark::before {
  background: var(--green-600);
}

.home-hero h1 {
  max-width: 8em;
  color: var(--ink);
  font-size: clamp(62px, 10.5vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.home-hero-statement {
  margin-top: 26px;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.035em;
}

.home-hero-statement mark {
  padding: 0 0.08em;
  background: var(--ball);
  color: var(--ink);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.home-hero-lede {
  max-width: 35em;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.9;
}

.home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.home-hero-meta li {
  margin-right: 20px;
  padding: 13px 20px 0 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.home-hero-meta li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}

.home-hero-meta span {
  display: block;
  margin-bottom: 3px;
  color: var(--green-800);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
}

.home-hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 52px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.home-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}

.hero-index-card {
  border-radius: 18px;
}

.hero-index-card--back {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 270px;
  padding: 22px;
  border: 1px solid rgba(244, 240, 228, 0.18);
  background: var(--green-800);
  color: var(--cream);
  box-shadow: 0 24px 54px rgba(11, 59, 46, 0.26);
  transform: rotate(7deg);
  transition: transform 0.5s var(--ease);
}

.hero-index-card--back .hi-kicker {
  display: block;
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.hero-index-card--back strong {
  display: block;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
}

.hero-index-card--back .hi-note {
  display: block;
  margin-top: 8px;
  color: rgba(244, 240, 228, 0.55);
  font-size: 10px;
}

.hero-index-card--back .hi-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
}

.hero-index-card--back .hi-arrow .icon {
  width: 13px;
  height: 13px;
}

.hero-index-card--front {
  position: relative;
  z-index: 2;
  width: min(390px, 82vw);
  padding: 26px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  box-shadow: 18px 18px 0 rgba(11, 59, 46, 0.11);
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease);
}

.hi-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.hi-location {
  margin-top: 30px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hi-name {
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hi-role {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.hi-level {
  margin-top: 18px;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 78px;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.hi-level span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.hi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.hi-tags span {
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10px;
}

.hi-motto {
  position: relative;
  z-index: 2;
  max-width: 60%;
  margin-top: 26px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

.hi-ball {
  position: absolute;
  right: -10%;
  bottom: 4%;
  z-index: 1;
  width: 50%;
  opacity: 0.92;
}

.hi-code {
  position: absolute;
  bottom: 20px;
  left: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

@media (hover: hover) {
  .hero-index-card--front:hover {
    transform: rotate(0);
  }
  .hero-index-card--back:hover {
    transform: rotate(3deg);
  }
}

.ticker--dark {
  border-color: rgba(244, 240, 228, 0.14);
  background: var(--green-900);
  color: var(--cream);
}

.ticker--dark .ticker-track i {
  background: var(--ball);
}

.about-personal .section-head {
  max-width: 900px;
}

.about-personal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.about-quote {
  margin-bottom: 28px;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 50px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.about-pillars {
  margin: 0;
  border-top: 1px solid var(--line);
}

.about-pillar {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.about-pillar dt {
  padding-top: 4px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.about-pillar dd {
  margin: 0;
}

.about-pillar strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
}

.about-pillar p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.about-personal-copy > p {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.9;
}

.about-personal-copy .facts {
  margin-top: 26px;
}

.work .section-head {
  max-width: 830px;
}

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

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 0.8fr) 40px;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--cream);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    padding 0.3s var(--ease), margin 0.3s var(--ease);
}

.work-no {
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.work-main h3 {
  font-size: 28px;
  line-height: 1.2;
}

.work-main p {
  margin-top: 6px;
  color: rgba(244, 240, 228, 0.62);
  font-size: 13px;
  line-height: 1.75;
}

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

.work-meta span {
  padding: 4px 9px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: rgba(244, 240, 228, 0.58);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.work-arrow {
  color: var(--ball);
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1;
  text-align: right;
}

@media (hover: hover) {
  a.work-row:hover {
    margin: 0 -18px;
    padding-right: 18px;
    padding-left: 18px;
    background: var(--ball);
    color: var(--green-950);
  }
  a.work-row:hover .work-main p,
  a.work-row:hover .work-meta span {
    color: rgba(7, 42, 32, 0.7);
    border-color: rgba(7, 42, 32, 0.24);
  }
  a.work-row:hover .work-no,
  a.work-row:hover .work-arrow {
    color: var(--green-700);
  }
}

.work-row--static {
  cursor: default;
}

.work-note {
  margin-top: 26px;
  color: rgba(244, 240, 228, 0.42);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.value--light {
  background: var(--cream);
  color: var(--ink);
}

.value--light .section-kicker {
  color: var(--green-600);
}

.value--light .section-kicker span {
  color: var(--green-800);
  opacity: 0.55;
}

.value--light .section-lede {
  color: var(--muted);
}

.value--light .value-card {
  border-color: rgba(11, 59, 46, 0.08);
  background: var(--green-900);
  box-shadow: 0 18px 40px rgba(11, 59, 46, 0.08);
}

.value--light .playbook {
  border-top-color: var(--line);
}

.value--light .playbook-head p {
  color: var(--muted);
}

.value--light .playbook-grid div {
  border-top-color: var(--line);
}

.value--light .playbook-grid dt {
  color: var(--green-700);
}

.value--light .playbook-grid dd {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .hero-index-card--front {
    width: min(360px, 80vw);
  }
  .hero-index-card--back {
    width: 240px;
  }
  .hi-level {
    font-size: 68px;
  }
}

@media (max-width: 980px) {
  .home-hero {
    min-height: 0;
    padding-top: 132px;
  }
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .home-hero h1 {
    font-size: clamp(62px, 12vw, 120px);
  }
  .home-hero-visual {
    min-height: 0;
  }
  .hero-index-card--front {
    width: min(390px, 86vw);
  }
  .hero-index-card--back {
    display: none;
  }
  .about-personal-grid {
    grid-template-columns: 1fr;
  }
  .work-row {
    grid-template-columns: 40px minmax(0, 1fr) 30px;
    gap: 16px;
  }
  .work-meta {
    grid-column: 2;
    margin-top: 10px;
  }
  .work-arrow {
    position: absolute;
    top: 28px;
    right: 0;
  }
}

@media (max-width: 760px) {
  .home-hero {
    padding-top: 118px;
    padding-bottom: 24px;
  }
  .home-hero h1 {
    font-size: clamp(58px, 15vw, 86px);
  }
  .home-hero-statement {
    margin-top: 20px;
    font-size: clamp(23px, 6.2vw, 30px);
  }
  .home-hero-lede {
    margin-top: 18px;
    font-size: 15px;
  }
  .home-hero-meta {
    margin-top: 26px;
  }
  .home-hero-meta li {
    width: 100%;
    margin-right: 0;
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .home-hero-meta li:last-child {
    border-bottom: 0;
  }
  .home-hero-bottom {
    margin-top: 32px;
  }
  .hero-index-card--front {
    width: min(340px, 88vw);
    padding: 22px;
    box-shadow: 10px 10px 0 rgba(11, 59, 46, 0.1);
  }
  .hi-location {
    margin-top: 24px;
  }
  .hi-level {
    font-size: 58px;
  }
  .hi-name {
    font-size: 36px;
  }
  .hi-motto {
    font-size: 14px;
  }
  .hi-code {
    left: 22px;
    bottom: 16px;
  }
  .about-quote {
    font-size: 32px;
  }
  .about-pillar {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }
  .work-row {
    padding: 22px 30px 22px 0;
  }
  .work-main h3 {
    font-size: 23px;
  }
  .work-main p {
    font-size: 12px;
  }
  .work-arrow {
    top: 24px;
  }
  .work-note {
    font-size: 8px;
  }
}

@media (max-width: 430px) {
  .home-hero h1 {
    font-size: 60px;
  }
  .home-hero-statement {
    font-size: 23px;
  }
  .hero-index-card--front {
    width: 100%;
  }
  .hero-index-card--back {
    display: none;
  }
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: inherit;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.breadcrumb a:hover {
  opacity: 1;
}

.breadcrumb span[aria-current="page"] {
  opacity: 1;
}

.work-context {
  margin-bottom: 16px;
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.home-hero-visual {
  flex-direction: column;
  gap: 22px;
}

.hero-work-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 20px;
  align-items: center;
  width: min(390px, 82vw);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.hwl-kicker {
  color: var(--green-600);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.hero-work-link strong {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
}

.hwl-meta {
  color: var(--muted);
  font-size: 10px;
}

.hwl-arrow {
  grid-row: 1 / span 3;
  grid-column: 2;
  align-self: center;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
}

@media (hover: hover) {
  .hero-work-link:hover strong {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .hero-work-link:hover .hwl-arrow {
    color: var(--green-950);
  }
}

.value--light .value-card {
  color: var(--cream);
}

.value--light .value-card h3 {
  color: var(--cream);
}

@media (max-width: 1120px) {
  .hero-work-link {
    width: min(360px, 80vw);
  }
}

@media (max-width: 980px) {
  .hero-work-link {
    width: min(390px, 86vw);
  }
}

@media (max-width: 760px) {
  .hero-work-link {
    width: min(340px, 88vw);
  }
}

@media (max-width: 430px) {
  .hero-work-link {
    width: 100%;
  }
}
/* =========================================================
   About page
   ========================================================= */

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 80px;
  background: var(--cream);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about-hero h1 {
  max-width: 10em;
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.about-hero .lede {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.95;
}

.about-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.about-hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.retro-art {
  width: min(100%, 560px);
  color: var(--green-800);
  filter: drop-shadow(0 18px 30px rgba(11, 59, 46, 0.08));
}

.retro-caption {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-align: center;
}

.story-block {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.about-story .story-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.story-no {
  padding-top: 8px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.story-content h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.story-content > p {
  max-width: 780px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.story-content blockquote {
  max-width: 780px;
  margin: 28px 0 0;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--ball);
}

.story-content blockquote p {
  margin: 0;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.8;
}

.tech-band .section-head {
  max-width: 760px;
}

.tech-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
}

.tech-step {
  padding: 24px 22px 0 0;
}

.tech-step + .tech-step {
  padding-left: 22px;
  border-left: 1px solid var(--line-light);
}

.tech-era {
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.tech-step strong {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.3;
}

.tech-step p {
  margin-top: 8px;
  color: rgba(244, 240, 228, 0.6);
  font-size: 12px;
  line-height: 1.8;
}

.game-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 780px;
  margin-top: 24px;
}

.game-chip {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 11px;
}

.game-chip--fav {
  border-color: var(--ball);
  background: var(--ball);
  color: var(--green-950);
  font-weight: 600;
}

.game-note {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
}

.about-file {
  margin-top: 56px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--cream);
}

.about-file-kicker {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

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

.about-file-grid div {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.about-file-grid dt {
  width: 64px;
  flex: none;
  padding-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.about-file-grid dd {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .about-hero {
    padding-top: 132px;
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .about-hero-art {
    align-items: flex-start;
  }
  .retro-art {
    width: min(100%, 520px);
  }
  .story-block {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 28px;
  }
  .tech-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .tech-step:nth-child(3),
  .tech-step:nth-child(4) {
    margin-top: 24px;
    border-top: 1px solid var(--line-light);
  }
}

@media (max-width: 760px) {
  .about-hero {
    padding-top: 118px;
    padding-bottom: 60px;
  }
  .about-hero h1 {
    font-size: clamp(42px, 11vw, 64px);
  }
  .about-hero .lede {
    margin-top: 18px;
    font-size: 15px;
  }
  .story-block {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0;
  }
  .story-no {
    padding-top: 0;
  }
  .story-content h2 {
    font-size: clamp(27px, 8vw, 36px);
  }
  .story-content > p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.9;
  }
  .story-content blockquote p {
    font-size: 18px;
  }
  .tech-track {
    grid-template-columns: 1fr;
  }
  .tech-step,
  .tech-step + .tech-step {
    padding: 22px 0 0;
    border-left: 0;
  }
  .tech-step + .tech-step {
    margin-top: 22px;
    border-top: 1px solid var(--line-light);
  }
  .about-file {
    padding: 22px;
  }
  .about-file-grid {
    grid-template-columns: 1fr;
  }
  .game-cloud {
    gap: 6px;
  }
  .game-chip {
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .about-hero h1 {
    font-size: 42px;
  }
  .retro-art {
    width: 100%;
  }
}
.about-origin {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-origin-kicker {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.about-origin p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.9;
}

.about-origin .text-link {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .about-origin {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
/* =========================================================
   Reading page
   ========================================================= */

.reading-hero {
  overflow: hidden;
  padding: 150px 0 80px;
  background: var(--cream);
}

.reading-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.reading-hero h1 {
  max-width: 11em;
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.reading-hero .lede {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.95;
}

.reading-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.reading-hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.shelf-art {
  width: min(100%, 560px);
  color: var(--green-800);
  filter: drop-shadow(0 18px 30px rgba(11, 59, 46, 0.08));
}

.reading-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reading-facts div {
  padding: 16px 18px 16px 0;
  border-right: 1px solid var(--line);
}

.reading-facts div + div {
  padding-left: 18px;
}

.reading-facts div:last-child {
  border-right: 0;
}

.reading-facts strong {
  display: block;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.reading-facts span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.reading-places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.reading-places span {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
}

.reading-end {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.reading-end-kicker {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.reading-end > p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 980px) {
  .reading-hero {
    padding-top: 132px;
  }
  .reading-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .reading-hero-art {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .reading-hero {
    padding-top: 118px;
    padding-bottom: 60px;
  }
  .reading-hero h1 {
    font-size: clamp(40px, 10.6vw, 60px);
  }
  .reading-hero .lede {
    margin-top: 18px;
    font-size: 15px;
  }
  .reading-facts {
    grid-template-columns: 1fr;
  }
  .reading-facts div,
  .reading-facts div + div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .reading-facts div:last-child {
    border-bottom: 0;
  }
  .reading-facts strong {
    font-size: 34px;
  }
}

@media (max-width: 430px) {
  .reading-hero h1 {
    font-size: 40px;
  }
}
.pillar-link {
  display: inline-block;
  margin-top: 6px;
  padding-bottom: 1px;
  border-bottom: 1px solid currentColor;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 600;
}
/* =========================================================
   Music page
   ========================================================= */

.music-hero {
  overflow: hidden;
  padding: 150px 0 80px;
  background: var(--cream);
}

.music-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.music-hero h1 {
  max-width: 10em;
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.music-hero .lede {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.95;
}

.music-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.music-hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.vinyl-art {
  width: min(100%, 560px);
  color: var(--green-800);
  filter: drop-shadow(0 18px 30px rgba(11, 59, 46, 0.08));
}

.music-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.music-stats div {
  padding: 16px 18px 16px 0;
  border-right: 1px solid var(--line);
}

.music-stats div + div {
  padding-left: 18px;
}

.music-stats div:last-child {
  border-right: 0;
}

.music-stats strong {
  display: block;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.music-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.genre-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 780px;
  margin-top: 24px;
}

.genre-cloud span {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 11px;
}

.genre-note {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.music-end {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.music-end > p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 980px) {
  .music-hero {
    padding-top: 132px;
  }
  .music-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .music-hero-art {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .music-hero {
    padding-top: 118px;
    padding-bottom: 60px;
  }
  .music-hero h1 {
    font-size: clamp(40px, 10.6vw, 60px);
  }
  .music-hero .lede {
    margin-top: 18px;
    font-size: 15px;
  }
  .music-stats {
    grid-template-columns: 1fr;
  }
  .music-stats div,
  .music-stats div + div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .music-stats div:last-child {
    border-bottom: 0;
  }
  .music-stats strong {
    font-size: 34px;
  }
}

@media (max-width: 430px) {
  .music-hero h1 {
    font-size: 40px;
  }
}
/* =========================================================
   About — long-form letter
   ========================================================= */

.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ball);
  transition: width 0.1s linear;
}

.letter-hero {
  padding: 160px 0 38px;
  background: var(--cream);
}

.letter-hero h1 {
  max-width: 11em;
  font-size: clamp(38px, 5.8vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.letter-lede {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.95;
}

.letter-meta {
  margin-top: 22px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.letter-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 30px;
  margin-top: 38px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.letter-toc a {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  padding: 5px 0;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s;
}

.letter-toc a:hover {
  color: var(--green-800);
}

.letter-toc span {
  color: var(--green-600);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.letter-body {
  padding: 0 0 100px;
  background: var(--paper);
}

.letter-wrap {
  max-width: 780px;
}

.letter-chapter {
  padding-top: 78px;
  scroll-margin-top: 100px;
}

.letter-chapter + .letter-chapter {
  margin-top: 74px;
  border-top: 1px solid var(--line);
}

.chapter-kicker {
  margin-bottom: 14px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.letter-chapter h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.18;
}

.letter-chapter p {
  margin-top: 20px;
  color: #24352c;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.95;
}

.letter-chapter p.letter-lead {
  color: var(--green-800);
  font-size: 22px;
  line-height: 1.8;
}

.letter-chapter blockquote {
  margin: 34px 0;
  padding: 8px 0 8px 26px;
  border-left: 3px solid var(--ball);
}

.letter-chapter blockquote p {
  margin: 0;
  color: var(--green-800);
  font-size: 24px;
  line-height: 1.8;
}

.letter-figure {
  float: right;
  width: 280px;
  margin: 12px 0 22px 34px;
}

.letter-figure svg {
  width: 100%;
  color: var(--green-800);
}

.letter-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.letter-end {
  margin-top: 86px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.letter-end h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.letter-end > p {
  max-width: 720px;
  margin-top: 18px;
  color: #24352c;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.95;
}

.letter-end .btn {
  margin-top: 26px;
}

.letter-facts {
  max-width: 720px;
  margin-top: 34px !important;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  line-height: 1.8 !important;
}

.letter-end .story-links {
  margin-top: 22px;
}

@media (max-width: 760px) {
  .letter-hero {
    padding-top: 118px;
    padding-bottom: 30px;
  }
  .letter-hero h1 {
    font-size: clamp(32px, 10vw, 46px);
  }
  .letter-lede {
    margin-top: 18px;
    font-size: 16px;
  }
  .letter-body {
    padding-bottom: 70px;
  }
  .letter-chapter {
    padding-top: 54px;
  }
  .letter-chapter + .letter-chapter {
    margin-top: 52px;
  }
  .letter-chapter p {
    font-size: 17px;
    line-height: 1.9;
  }
  .letter-chapter p.letter-lead {
    font-size: 19px;
  }
  .letter-chapter blockquote p {
    font-size: 20px;
  }
  .letter-figure {
    float: none;
    width: min(100%, 300px);
    margin: 24px 0;
  }
  .letter-end {
    margin-top: 60px;
    padding-top: 36px;
  }
  .letter-end > p {
    font-size: 17px;
  }
}

@media (max-width: 430px) {
  .letter-hero h1 {
    font-size: 32px;
  }
  .letter-chapter h2 {
    font-size: 30px;
  }
}
/* Home: a quieter invitation to the long story */
.about-home {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 90px);
  padding-top: 38px;
  border-top: 1px solid var(--line);
  align-items: start;
}

.about-home-copy h2 {
  margin-top: 14px;
  font-size: clamp(36px, 4.4vw, 58px);
}

.about-home-lede {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.about-home-note {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.about-home-copy .btn {
  margin-top: 28px;
}

.about-home-aside {
  padding-left: clamp(24px, 4vw, 50px);
  border-left: 1px solid var(--line);
}

.about-home-quote {
  color: var(--green-800);
  font-family: var(--serif);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.about-home-chapters {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.9;
}

.about-home-facts {
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  line-height: 1.9;
}

@media (max-width: 760px) {
  .about-home {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .about-home-aside {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .about-home-quote {
    font-size: 34px;
  }
}
/* =========================================================
   Tennis product page — quick-start / mobile first
   ========================================================= */

.btn-ghost {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--green-800);
}

.btn-ghost:hover {
  border-color: var(--green-700);
  background: rgba(11, 59, 46, 0.04);
}

.section-kicker--light {
  color: rgba(244, 240, 228, 0.62);
}

.section-kicker--light::before {
  background: var(--ball);
}

.section-kicker--light span {
  color: var(--ball);
}

.tennis-hero {
  overflow: hidden;
  padding: 148px 0 0;
  background: var(--cream);
}

.tennis-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
  padding-top: 46px;
}

.tennis-hero h1 {
  margin-top: 18px;
  font-size: clamp(72px, 9vw, 128px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.tennis-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.tennis-status .status-dot {
  width: 6px;
  height: 6px;
}

.tennis-tagline {
  margin-top: 26px;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.tennis-lede {
  max-width: 640px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.tennis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tennis-hero-note {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.tennis-hero-note a {
  color: var(--green-700);
  border-bottom: 1px solid currentColor;
}

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

.tennis-phone {
  width: min(100%, 275px);
  padding: 7px;
  border-radius: 32px;
  background: var(--green-900);
  box-shadow: 0 26px 54px rgba(11, 59, 46, 0.2);
  transform: rotate(1.5deg);
}

.tennis-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 25px;
}

.tennis-phone-caption {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.tennis-sticker {
  position: absolute;
  right: -2px;
  bottom: 38px;
  padding: 8px 12px;
  background: var(--ball);
  color: var(--green-900);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: rotate(-4deg);
  box-shadow: 0 8px 18px rgba(11, 59, 46, 0.1);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-facts div {
  padding: 16px 24px;
  border-right: 1px solid var(--line);
}

.quick-facts div:first-child {
  padding-left: 0;
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts strong {
  display: block;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.quick-facts span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.p-jump {
  display: flex;
  gap: 26px;
  padding: 13px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.p-jump::-webkit-scrollbar {
  display: none;
}

.p-jump a {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.p-jump a:hover {
  color: var(--green-800);
}

.tennis-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.tennis-summary h2 {
  margin-top: 14px;
  font-size: clamp(40px, 4.6vw, 58px);
}

.tennis-summary-copy > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.tennis-bullets {
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.tennis-bullets li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.8;
}

.tennis-bullets strong {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.tennis-bullets span {
  color: var(--muted);
}

.tennis-quote {
  margin-top: 30px;
  color: var(--green-800);
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.6;
}

.start-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.flow-node {
  position: relative;
  padding: 24px 22px 28px 0;
  border-right: 1px solid var(--line);
}

.flow-node:last-child {
  padding-right: 0;
  border-right: 0;
}

.flow-node::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ball);
}

.flow-node-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 10px;
}

.flow-role {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.flow-role--owner {
  color: var(--green-700);
}

.flow-node h3 {
  margin-top: 16px;
  font-size: 23px;
  line-height: 1.3;
}

.flow-node p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.flow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.flow-chips span {
  padding: 4px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--green-700);
  font-size: 9px;
}

.flow-node--owner {
  background: rgba(216, 242, 75, 0.12);
}

.flow-note {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.flow-note div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.flow-note-label {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.flow-note strong {
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

.flow-note em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.p-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.p-feature {
  padding: clamp(24px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.p-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.p-feature-no {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.p-feature-tag {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.p-feature h3 {
  margin-top: 20px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.4;
}

.p-feature > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.p-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.p-tags li {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-700);
  font-size: 9px;
}

.p-solve {
  color: var(--green-700) !important;
  font-family: var(--mono);
  font-size: 9px !important;
  letter-spacing: 0.04em;
}

.p-extra {
  margin-top: 8px !important;
  font-size: 11px !important;
}

.p-principle {
  margin-top: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.p-points {
  background: var(--green-900);
  color: var(--cream);
}

.p-points-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.p-points h2 {
  margin-top: 14px;
  color: var(--cream);
  font-size: clamp(42px, 4.8vw, 60px);
}

.p-points p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(244, 240, 228, 0.68);
  font-size: 14px;
  line-height: 1.95;
}

.p-rule-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.p-rule-row span {
  padding: 5px 9px;
  border: 1px solid rgba(244, 240, 228, 0.24);
  border-radius: 999px;
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
}

.p-rank-card {
  padding: 24px;
  border: 1px solid rgba(244, 240, 228, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.p-rank-label {
  margin-top: 0 !important;
  color: var(--ball) !important;
  font-family: var(--mono);
  font-size: 9px !important;
  letter-spacing: 0.08em;
}

.rank-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.rank-row span {
  padding: 7px 9px;
  border: 1px solid rgba(244, 240, 228, 0.2);
  border-radius: 3px;
  color: rgba(244, 240, 228, 0.78);
  font-size: 11px;
}

.rank-row .rank-top {
  border-color: var(--ball);
  background: var(--ball);
  color: var(--green-900);
  font-weight: 700;
}

.p-rank-note {
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 240, 228, 0.14);
  color: rgba(244, 240, 228, 0.48) !important;
  font-size: 11px !important;
}

.screen-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.shot-card {
  margin: 0;
}

.shot-frame {
  overflow: hidden;
  padding: 6px;
  border-radius: 28px;
  background: var(--green-900);
  box-shadow: 0 18px 36px rgba(11, 59, 46, 0.12);
  aspect-ratio: 480 / 1039;
}

.shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  object-position: top;
}

.shot-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
}

.shot-card strong {
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 18px;
}

.shot-card span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.screen-hint {
  display: none;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.tennis-share {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: var(--green-900);
  color: var(--cream);
}

.tennis-share h2 {
  margin-top: 14px;
  color: var(--cream);
  font-size: clamp(42px, 4.8vw, 62px);
}

.tennis-share p {
  max-width: 680px;
  margin-top: 16px;
  color: rgba(244, 240, 228, 0.68);
  font-size: 14px;
  line-height: 1.95;
}

.tennis-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tennis-share-note {
  max-width: 640px;
  margin-top: 18px !important;
  color: rgba(244, 240, 228, 0.46) !important;
  font-size: 10px !important;
}

.tennis-share-watermark {
  position: absolute;
  right: -18px;
  bottom: -52px;
  margin: 0;
  color: rgba(244, 240, 228, 0.035);
  font-family: var(--serif);
  font-size: 220px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 1120px) {
  .flow-node {
    padding-right: 16px;
  }
  .flow-node h3 {
    font-size: 20px;
  }
  .flow-node p {
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .tennis-hero {
    padding-top: 130px;
  }
  .tennis-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .tennis-hero-visual {
    align-items: flex-start;
  }
  .tennis-phone {
    width: min(100%, 250px);
  }
  .start-flow {
    grid-template-columns: 1fr 1fr;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .flow-node {
    padding: 22px;
    border-top: 1px solid var(--line);
  }
  .flow-node::before {
    top: -4px;
    left: -4px;
  }
  .flow-node:nth-child(2n) {
    border-right: 0;
  }
  .flow-note {
    margin-top: 24px;
  }
  .p-points-grid {
    grid-template-columns: 1fr;
  }
  .screen-rail {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .tennis-hero {
    padding-top: 114px;
  }
  .tennis-hero-grid {
    padding-top: 32px;
  }
  .tennis-hero h1 {
    font-size: clamp(64px, 18vw, 92px);
  }
  .tennis-tagline {
    margin-top: 20px;
    font-size: 24px;
  }
  .tennis-lede {
    font-size: 15px;
  }
  .tennis-hero-note {
    font-size: 10px;
  }
  .tennis-phone {
    width: min(100%, 235px);
  }
  .tennis-sticker {
    right: 4px;
    bottom: 30px;
    font-size: 9px;
  }
  .quick-facts {
    margin-top: 38px;
  }
  .quick-facts div {
    padding: 13px 10px;
  }
  .quick-facts div:first-child {
    padding-left: 0;
  }
  .quick-facts strong {
    font-size: 23px;
  }
  .quick-facts span {
    font-size: 7px;
    line-height: 1.5;
  }
  .tennis-summary-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tennis-summary h2 {
    font-size: 36px;
  }
  .tennis-bullets li {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }
  .start-flow {
    grid-template-columns: 1fr;
    margin-top: 32px;
    border-left: 0;
  }
  .flow-node {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .flow-node:first-child {
    padding-top: 0;
    border-top: 0;
  }
  .flow-node::before {
    display: none;
  }
  .flow-node h3 {
    font-size: 24px;
  }
  .flow-node p {
    font-size: 13px;
  }
  .flow-note {
    display: grid;
    gap: 12px;
  }
  .p-features {
    grid-template-columns: 1fr;
  }
  .p-feature {
    padding: 24px 0;
    border-right: 0;
  }
  .p-points h2 {
    font-size: 40px;
  }
  .p-rank-card {
    padding: 18px;
  }
  .rank-row {
    gap: 4px;
  }
  .rank-row span {
    padding: 6px 7px;
    font-size: 10px;
  }
  .screen-rail {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .screen-rail::-webkit-scrollbar {
    display: none;
  }
  .shot-card {
    flex: 0 0 68%;
    max-width: 260px;
    scroll-snap-align: start;
  }
  .screen-hint {
    display: block;
  }
  .tennis-share {
    padding: 64px 0;
  }
  .tennis-share h2 {
    font-size: 38px;
  }
  .tennis-share-watermark {
    font-size: 120px;
    bottom: -20px;
  }
}

@media (max-width: 430px) {
  .tennis-hero h1 {
    font-size: 62px;
  }
  .tennis-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .quick-facts strong {
    font-size: 21px;
  }
  .quick-facts span {
    font-size: 6.5px;
  }
  .tennis-share-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
/* Keep the product tagline from leaving a single character on its own line. */
.tennis-tagline {
  text-wrap: balance;
}

@media (max-width: 760px) {
  .tennis-tagline {
    font-size: 22px;
  }
}

@media (max-width: 360px) {
  .tennis-tagline {
    font-size: 20px;
  }
}
/* Arrow connectors make the five-step walkthrough read as a flow, not a list. */
.flow-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 13px;
  right: 8px;
  color: var(--green-600);
  font-family: var(--mono);
  font-size: 11px;
}

@media (max-width: 760px) {
  .flow-node:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -12px;
    left: 9px;
    z-index: 1;
    padding: 0 3px;
    background: var(--cream);
    font-size: 12px;
  }
  .flow-node--owner::after {
    background: #f3f5d9;
  }
}
.tennis-share-url {
  margin-top: 12px !important;
  color: var(--ball) !important;
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: 0.04em;
  user-select: all;
  -webkit-user-select: all;
}
/* Contact: social QR cards */
.contact-social {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(7, 42, 32, 0.18);
}

.contact-social-head .section-kicker {
  margin-bottom: 10px;
}

.contact-social-head > p:last-child {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.72;
}

.social-qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.social-qr-card {
  width: auto;
  margin: 0;
  padding: 10px;
  background: var(--cream);
  border: 1px solid rgba(7, 42, 32, 0.14);
}

.social-qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 8px;
  background: #fff;
}

.social-qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-qr-card figcaption,
.social-qr-caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 10px;
}

.social-qr-card--link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.social-qr-card--link:hover {
  border-color: var(--green-800);
  background: #fff;
}

.social-link-frame {
  flex-direction: column;
  gap: 10px;
  color: var(--green-900);
}

.social-link-icon {
  width: 64px;
  height: 64px;
  color: var(--green-900);
}

.social-link-url {
  max-width: 100%;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: center;
  overflow-wrap: anywhere;
}

.social-qr-card strong {
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 18px;
}

.social-qr-card span {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.02em;
}

@media (max-width: 980px) {
  .contact-social {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .social-qr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .contact-social {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }
  .social-qr-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .social-qr-card {
    width: min(100%, 300px);
  }
}
/* Personal site mark (the tennis ball is the mini program logo, not the site logo). */
.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}

.brand--footer .brand-mark {
  width: 40px;
  height: 40px;
}

.brand:hover .brand-mark {
  transform: scale(1.04);
}
/* Product page: mini program QR in the share band */
.tennis-share-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.tennis-share-qr {
  width: 100%;
  margin: 0;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.tennis-share-qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.tennis-share-qr figcaption {
  margin-top: 10px;
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.tennis-share-qr figcaption span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

@media (max-width: 760px) {
  .tennis-share-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tennis-share-qr {
    width: min(100%, 240px);
  }
}
/* Two-role walkthrough: organizer vs participant */
.role-flows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  align-items: start;
}

.role-flow {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.role-flow--owner {
  border-top: 3px solid var(--green-800);
}

.role-flow--player {
  border-top: 3px solid var(--ball);
}

.role-kicker {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.role-flow-head h3 {
  margin-top: 12px;
  font-size: clamp(26px, 2.5vw, 32px);
  line-height: 1.35;
}

.role-flow-head > p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

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

.role-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.role-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.role-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
}

.role-step h4 {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}

.role-step p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.role-rules {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.role-rules div {
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}

.role-rules div:first-child {
  padding-left: 0;
}

.role-rules div:last-child {
  border-right: 0;
}

.role-rules span {
  display: block;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.role-rules strong {
  display: block;
  margin-top: 5px;
  color: var(--green-900);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .role-flows {
    grid-template-columns: 1fr;
  }
  .role-rules {
    grid-template-columns: 1fr 1fr;
  }
  .role-rules div:nth-child(2n) {
    border-right: 0;
  }
  .role-rules div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .role-flows {
    gap: 16px;
    margin-top: 28px;
  }
  .role-flow {
    padding: 22px 18px;
  }
  .role-flow-head h3 {
    font-size: 26px;
  }
  .role-step {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 0;
  }
  .role-num {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }
  .role-step h4 {
    font-size: 16px;
  }
  .role-step p {
    font-size: 12px;
    line-height: 1.8;
  }
}

@media (max-width: 430px) {
  .role-rules {
    grid-template-columns: 1fr;
  }
  .role-rules div,
  .role-rules div:first-child {
    padding: 12px 0;
    border-right: 0;
  }
  .role-rules div + div {
    border-top: 1px solid var(--line);
  }
}
/* Product shortcut in the main nav: ball logo + product name, left of 关于我. */
.nav-product {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 5px 10px !important;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--green-800);
  font-size: 12px !important;
  line-height: 1;
  opacity: 1 !important;
  white-space: nowrap;
}

.nav-product img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.nav-product::after {
  display: none !important;
}

.nav-product:hover {
  border-color: var(--green-700);
  background: rgba(11, 59, 46, 0.05);
}

.nav-product[aria-current="page"] {
  border-color: var(--green-800);
  background: var(--green-800);
  color: var(--cream);
}

@media (max-width: 980px) {
  .nav > a.nav-product {
    width: auto;
    margin: 0 0 8px;
    padding: 8px 13px;
    border: 1px solid rgba(244, 240, 228, 0.28);
    border-radius: 999px;
    color: var(--cream);
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
  }

  .nav > a.nav-product img {
    width: 24px;
    height: 24px;
  }

  .nav > a.nav-product[aria-current="page"] {
    border-color: var(--ball);
    background: var(--ball);
    color: var(--green-950);
  }

  .nav > a.nav-product::after {
    display: none;
  }
}
/* One-glance two-role flow: five stages, two rows per stage. */
.qflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 2px solid var(--green-800);
}

.qstage {
  position: relative;
  padding: 20px 22px 24px 0;
  border-right: 1px solid var(--line);
}

.qstage:last-child {
  padding-right: 0;
  border-right: 0;
}

.qstage::after {
  content: "→";
  position: absolute;
  top: 18px;
  right: -9px;
  z-index: 1;
  padding: 0 3px;
  background: var(--cream);
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 12px;
}

.qstage:last-child::after {
  display: none;
}

.qstage-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.qstage-head span {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.qstage-head h3 {
  font-size: 24px;
  line-height: 1.2;
}

.qrole {
  margin-top: 10px;
  padding: 8px 10px;
  border-left: 3px solid var(--line-strong);
  background: var(--paper);
}

.qrole span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.qrole strong {
  display: block;
  margin-top: 3px;
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.4;
}

.qrole--owner {
  border-left-color: var(--green-800);
  background: rgba(11, 59, 46, 0.055);
}

.qrole--player {
  border-left-color: var(--ball);
  background: rgba(216, 242, 75, 0.18);
}

.qresult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 17px 22px;
  background: var(--green-900);
  color: var(--cream);
}

.qresult div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.qresult span {
  color: var(--ball);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.qresult strong {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

.qrules {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.qrules span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-700);
  font-size: 10px;
}

@media (max-width: 980px) {
  .qflow {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .qstage {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 6px 12px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .qstage:last-child {
    padding-bottom: 0;
  }

  .qstage::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -9px;
    left: 24px;
    background: var(--cream);
  }

  .qstage-head {
    grid-row: 1 / span 2;
    display: block;
  }

  .qstage-head h3 {
    margin-top: 3px;
    font-size: 20px;
  }

  .qrole {
    grid-column: 2;
    margin-top: 0;
  }

  .qrole:nth-of-type(2) {
    grid-row: 1;
  }

  .qrole:nth-of-type(3) {
    grid-row: 2;
  }

  .qresult {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
    padding: 15px 16px;
  }

  .qresult div {
    gap: 10px;
  }
}
/* Product page: changelog teaser */
.changelog-teaser {
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(64px, 8vw, 100px);
}

.cl-teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.changelog-teaser h2 {
  margin-top: 14px;
  font-size: clamp(42px, 4.8vw, 60px);
}

.changelog-teaser p {
  max-width: 560px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.cl-latest {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.cl-latest > span {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.cl-latest > strong {
  display: block;
  margin-top: 10px;
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
}

.cl-latest .text-link {
  margin-top: 16px;
}

@media (max-width: 760px) {
  .cl-teaser-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* Product changelog page */
.cl-hero {
  padding: 150px 0 62px;
  background: var(--cream);
}

.cl-hero h1 {
  margin-top: 16px;
  font-size: clamp(58px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.cl-hero-lede {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.cl-hero-meta {
  margin-top: 16px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.cl-body {
  padding: 62px 0 100px;
  background: var(--paper);
}

.cl-wrap {
  max-width: 860px;
}

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

.cl-entry {
  position: relative;
  padding: 0 0 38px 34px;
}

.cl-entry::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.cl-entry--current::before {
  width: 9px;
  height: 9px;
  left: -5px;
  background: var(--ball);
  box-shadow: 0 0 0 3px rgba(216, 242, 75, 0.28);
}

.cl-entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}

.cl-entry h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cl-date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.cl-tag {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.cl-entry--current .cl-tag {
  border-color: var(--green-800);
  background: var(--green-800);
  color: var(--cream);
}

.cl-entry ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.cl-entry li {
  position: relative;
  padding-left: 14px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.cl-entry li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}

.cl-end {
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.cl-end > p {
  max-width: 640px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.cl-end .story-links {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .cl-hero {
    padding-top: 118px;
    padding-bottom: 40px;
  }
  .cl-hero h1 {
    font-size: clamp(48px, 13vw, 66px);
  }
  .cl-hero-lede {
    font-size: 15px;
  }
  .cl-body {
    padding-top: 38px;
    padding-bottom: 70px;
  }
  .cl-entry {
    padding-left: 24px;
    padding-bottom: 30px;
  }
  .cl-entry h2 {
    font-size: 28px;
  }
  .cl-entry li {
    font-size: 12.5px;
  }
}
/* Contact: GitHub link under the social cards */
.contact-github {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 14px 18px;
  border: 1px solid rgba(7, 42, 32, 0.16);
  background: var(--cream);
  color: var(--green-900);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.contact-github:hover {
  border-color: var(--green-800);
  background: #fff;
}

.contact-github-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--cream);
}

.contact-github-icon svg {
  width: 20px;
  height: 20px;
}

.contact-github-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.contact-github-copy span {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.contact-github-copy strong {
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-github > .icon {
  width: 16px;
  height: 16px;
  color: var(--green-700);
}

@media (max-width: 760px) {
  .contact-github {
    margin-top: 2px;
    padding: 13px 14px;
  }
}
/* Product page: release status (public vs beta) */
.release-section {
  padding: clamp(48px, 6vw, 76px) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.release-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}

.release-head h2 {
  margin-top: 12px;
  font-size: clamp(38px, 4vw, 50px);
  line-height: 1.18;
}

.release-intro {
  max-width: 380px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

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

.release-card {
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
}

.release-card--public {
  background: var(--green-900);
  color: var(--cream);
  border-color: var(--green-900);
}

.release-card--beta {
  background: var(--cream);
  color: var(--green-900);
}

.release-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.release-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  opacity: 0.65;
}

.release-version {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
}

.release-state {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  opacity: 0.72;
}

.release-card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.release-card li {
  position: relative;
  margin-top: 7px;
  padding-left: 13px;
  font-size: 13px;
  line-height: 1.75;
  opacity: 0.86;
}

.release-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--ball);
  font-weight: 700;
}

.release-card--beta li::before {
  color: var(--green-600);
}

.release-copy {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.release-card--public .release-copy {
  color: rgba(244, 240, 228, 0.7);
}

.release-note {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.7;
  opacity: 0.55;
}

.release-link {
  margin-top: 20px;
}

@media (max-width: 760px) {
  .release-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .release-grid {
    grid-template-columns: 1fr;
  }
  .release-card {
    padding: 20px 18px;
  }
}
/* Changelog: public / beta release summary */
.cl-release-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 38px;
}

.cl-release-card {
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
}

.cl-release-card--public {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--cream);
}

.cl-release-card--beta {
  background: var(--cream);
  color: var(--green-900);
}

.cl-release-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.cl-release-top span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  opacity: 0.62;
}

.cl-release-top strong {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.cl-release-state {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.7;
  opacity: 0.68;
}

.cl-release-card ul {
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.cl-release-card li {
  position: relative;
  margin-top: 5px;
  padding-left: 12px;
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.82;
}

.cl-release-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--ball);
  font-weight: 700;
}

.cl-release-card--beta li::before {
  color: var(--green-600);
}

.cl-entry--public::before {
  background: var(--green-800);
  width: 9px;
  height: 9px;
  left: -5px;
}

@media (max-width: 760px) {
  .cl-release-grid {
    grid-template-columns: 1fr;
  }
}
/* Product page: manifesto */
.manifesto {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--green-900);
  color: var(--cream);
}

.manifesto-head h2 {
  max-width: 980px;
  margin-top: 14px;
  color: var(--cream);
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 94px);
  align-items: start;
  margin-top: clamp(34px, 5vw, 56px);
}

.manifesto-lede {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.65;
}

.manifesto-copy {
  max-width: 520px;
  margin-top: 20px;
  color: rgba(244, 240, 228, 0.68);
  font-size: 14px;
  line-height: 1.95;
}

.manifesto-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(244, 240, 228, 0.18);
}

.manifesto-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244, 240, 228, 0.18);
}

.manifesto-list li > span {
  padding-top: 3px;
  color: var(--ball);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.manifesto-list strong {
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 600;
}

.manifesto-list p {
  margin-top: 6px;
  color: rgba(244, 240, 228, 0.66);
  font-size: 12.5px;
  line-height: 1.8;
}

.manifesto-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid rgba(244, 240, 228, 0.18);
}

.manifesto-close {
  max-width: 720px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.manifesto-sign {
  flex: none;
  color: rgba(244, 240, 228, 0.52);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .manifesto-head h2 {
    font-size: clamp(40px, 11vw, 54px);
  }
  .manifesto-foot {
    display: block;
  }
  .manifesto-sign {
    margin-top: 14px;
  }
}
.cl-release-card--wide {
  grid-column: 1 / -1;
}
/* Tool / article pages */
.tool-hero {
  padding: 150px 0 62px;
  background: var(--cream);
}

.tool-hero h1 {
  max-width: 960px;
  margin-top: 16px;
  font-size: clamp(56px, 7vw, 94px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.tool-lede {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tool-actions .btn {
  gap: 8px;
}

.tool-actions .btn span {
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0.62;
}

.tool-meta {
  margin-top: 16px;
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.tool-content {
  padding: 58px 0 100px;
}

.tool-body {
  max-width: 860px;
}

.tool-shot {
  margin: 0 0 36px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.tool-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.tool-shot--small {
  max-width: 620px;
  margin-top: 26px;
}

.tool-intro {
  color: var(--green-900);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.7;
}

.tool-body > p {
  max-width: 740px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.tool-body h2 {
  margin-top: 48px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.3;
}

.tool-body code {
  padding: 2px 5px;
  background: rgba(11, 59, 46, 0.07);
  color: var(--green-900);
  font-family: var(--mono);
  font-size: 0.86em;
  word-break: break-word;
}

.tool-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 26px;
  border-top: 1px solid var(--line-strong);
}

.tool-feature-grid > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.tool-feature-grid span {
  color: var(--green-600);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.tool-feature-grid h3 {
  margin-top: 8px;
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.tool-feature-grid p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.tool-notes {
  max-width: 740px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tool-notes li {
  position: relative;
  margin-top: 8px;
  padding-left: 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.tool-notes li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 700;
}

.tool-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: end;
  margin-top: 52px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background: var(--cream);
}

.tool-download h2 {
  margin-top: 10px;
  font-size: clamp(28px, 3vw, 38px);
}

.tool-download p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.tool-download-side .btn {
  width: 100%;
  justify-content: center;
}

.tool-sha {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.7;
  word-break: break-all;
}

.tool-sha code {
  background: transparent;
  color: var(--muted);
  font-size: 8px;
}

.tool-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.76;
}

.tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .tool-hero {
    padding-top: 116px;
    padding-bottom: 42px;
  }
  .tool-hero h1 {
    font-size: clamp(46px, 13vw, 66px);
  }
  .tool-lede {
    font-size: 15px;
  }
  .tool-content {
    padding-top: 36px;
    padding-bottom: 72px;
  }
  .tool-feature-grid {
    grid-template-columns: 1fr;
  }
  .tool-download {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .tool-body h2 {
    margin-top: 38px;
  }
}
/* Product page: preview version strip */
.preview-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 20px 34px;
  align-items: center;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  background: var(--cream);
}

.preview-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.preview-head span {
  color: var(--green-700);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.preview-head strong {
  color: var(--green-900);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
}

.preview-strip p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .preview-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.preview-strip--major {
  background: var(--green-900);
  border-color: var(--green-900);
}

.preview-strip--major .preview-head span {
  color: var(--ball);
}

.preview-strip--major .preview-head strong {
  color: var(--cream);
  font-size: clamp(24px, 2.6vw, 34px);
}

.preview-strip--major p {
  color: rgba(244, 240, 228, 0.72);
}