/* ==========================================================================
   4Banana — Design System
   Palette: Banana Yellow / Ink Black / Paper White
   ========================================================================== */

:root {
  --y: #ffd21f;
  --y-soft: #ffe98a;
  --y-deep: #f0b400;
  --ink: #0b0b0b;
  --ink-2: #16161a;
  --ink-3: #24242a;
  --paper: #ffffff;
  --paper-2: #f6f5f1;
  --muted: #6f6f6a;
  --muted-2: #9a9a94;
  --line: rgba(11, 11, 11, 0.13);
  --line-2: rgba(11, 11, 11, 0.07);
  --line-w: rgba(255, 255, 255, 0.16);

  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "HarmonyOS Sans SC",
    "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;

  --nav-h: 76px;
  --pad: clamp(20px, 4.4vw, 64px);
  --maxw: 1320px;
  --r: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* 图标兜底：任何未被具体规则约束的 .ico 都不会撑破布局 */
svg.ico {
  width: 1em;
  height: 1em;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}

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

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--y);
  color: var(--ink);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Layout primitives ---------- */

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

.sec {
  padding-block: clamp(64px, 7.4vw, 118px);
  position: relative;
}

.sec--tight {
  padding-block: clamp(44px, 5vw, 76px);
}

.sec--paper2 {
  background: var(--paper-2);
}

.sec--ink {
  background: var(--ink);
  color: var(--paper);
}

.sec--yellow {
  background: var(--y);
  color: var(--ink);
}

.sec--ink h1,
.sec--ink h2,
.sec--ink h3,
.sec--ink h4 {
  color: var(--paper);
}

.sec--ink .lead,
.sec--ink p {
  color: rgba(255, 255, 255, 0.74);
}

.grid {
  display: grid;
  gap: clamp(22px, 3vw, 46px);
}

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

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

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

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.h-hero {
  font-size: clamp(32px, 5.2vw, 72px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.h-xl {
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.026em;
}

.h-lg {
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.h-md {
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.35;
}

.h-sm {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.45;
}

.lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.85;
  color: #43433f;
  margin: 0;
}

p {
  margin: 0 0 1.05em;
}

.body-copy p {
  font-size: 16px;
  line-height: 1.9;
  color: #3d3d39;
  text-wrap: pretty;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--y);
  flex: none;
}

.sec--ink .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.sec--yellow .eyebrow {
  color: rgba(11, 11, 11, 0.62);
}

.sec--yellow .eyebrow::before {
  background: var(--ink);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 60px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.sec-head__aside {
  padding-bottom: 6px;
}

.sec-head--stack {
  grid-template-columns: minmax(0, 1fr);
}

.mark {
  background: linear-gradient(transparent 62%, var(--y) 62%, var(--y) 96%, transparent 96%);
  padding-inline: 0.08em;
}

.y-text {
  color: var(--y-deep);
}

.sec--ink .y-text {
  color: var(--y);
}

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 26px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
  cursor: pointer;
  line-height: 1.2;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  --bg: var(--y);
  --fg: var(--ink);
  border-color: var(--y);
  transform: translateY(-1px);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--y {
  --bg: var(--y);
  --fg: var(--ink);
  border-color: var(--y);
}

.btn--y:hover {
  --bg: var(--ink);
  --fg: var(--paper);
  border-color: var(--ink);
}

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: rgba(11, 11, 11, 0.24);
}

.btn--ghost:hover {
  --bg: var(--ink);
  --fg: var(--paper);
  border-color: var(--ink);
}

.sec--ink .btn--ghost {
  --fg: var(--paper);
  border-color: rgba(255, 255, 255, 0.3);
}

.sec--ink .btn--ghost:hover {
  --bg: var(--paper);
  --fg: var(--ink);
  border-color: var(--paper);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tlink svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.tlink:hover {
  border-color: var(--y-deep);
}

.tlink:hover svg {
  transform: translateX(4px);
}

.sec--ink .tlink {
  color: var(--paper);
  border-color: var(--line-w);
}

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

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.hdr__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
}

.hdr a,
.hdr button {
  color: var(--paper);
}

.hdr.is-solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
  height: 68px;
}

.hdr.is-solid a,
.hdr.is-solid button {
  color: var(--ink);
}

.hdr.is-solid .logo__name {
  color: var(--ink);
}

.hdr.is-solid .logo__sub {
  color: var(--muted);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex: none;
}

.logo__mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

.logo:hover .logo__mark {
  transform: rotate(-8deg) scale(1.06);
}

.logo__txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.logo__sub {
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 30px);
  font-size: 14px;
  font-weight: 500;
}

.nav__item {
  position: relative;
  padding-block: 6px;
}

.nav__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--y);
  transition: width 0.35s var(--ease);
}

.nav__item:hover::after,
.nav__item.is-active::after {
  width: 100%;
}

.nav__item.is-active {
  font-weight: 600;
}

.nav__eco {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 20px;
  border-left: 1px solid var(--line-w);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.hdr.is-solid .nav__eco {
  border-left-color: var(--line);
  color: var(--muted);
}

.hdr__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: transparent;
  color: var(--paper) !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.hdr.is-solid .hdr__cta {
  background: var(--y);
  border-color: var(--y);
  color: var(--ink) !important;
}

.hdr__cta svg {
  width: 14px;
  height: 14px;
}

.hdr__cta:hover {
  background: var(--y);
  border-color: var(--y);
  color: var(--ink) !important;
  transform: translateY(-1px);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

body.nav-open .burger span {
  background: transparent;
}

body.nav-open .burger span::before {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .burger span::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 24px) var(--pad) 40px;
  transform: translateY(-102%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}

body.nav-open .drawer {
  transform: translateY(0);
}

.drawer a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-w);
  font-size: 22px;
  font-weight: 600;
}

.drawer a small {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--y);
  font-weight: 600;
}

.drawer__foot {
  margin-top: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

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

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(38px, 6vw, 74px));
  padding-bottom: clamp(34px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  min-height: min(92vh, 900px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg img,
.hero__bg svg {
  position: absolute;
  height: 100%;
  width: auto;
  right: -6%;
  top: 0;
  opacity: 0.95;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(11, 11, 11, 0.97) 0%, rgba(11, 11, 11, 0.9) 38%, rgba(11, 11, 11, 0.42) 62%, rgba(11, 11, 11, 0.06) 84%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
  margin-bottom: 26px;
}

.hero__kicker i {
  width: 7px;
  height: 7px;
  background: var(--y);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}

.hero h1 {
  color: var(--paper);
  max-width: 16em;
  margin: 0;
}

.hero h1 .u {
  position: relative;
  display: inline-block;
  color: var(--y);
}

.hero__sub {
  margin: 28px 0 0;
  max-width: 33em;
  text-wrap: pretty;
  font-size: clamp(14.5px, 1.15vw, 17px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.hero__meta {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-w);
  padding-top: 22px;
  gap: 18px;
}

.hero__meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__meta b {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.hero__meta b em {
  font-style: normal;
  color: var(--y);
}

.hero__meta span {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.74);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 30px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.74);
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__proof span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--y);
  border-radius: 50%;
  opacity: 0.85;
}

/* page hero (sub pages) */
.phero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(46px, 6vw, 78px));
  padding-bottom: clamp(40px, 5vw, 70px);
}

.phero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}

.phero__bg img,
.phero__bg svg {
  position: absolute;
  right: -4%;
  top: -30%;
  height: 170%;
  width: auto;
}

.phero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 26px;
}

.crumbs span {
  color: var(--paper);
  font-weight: 500;
}

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

.crumbs i {
  font-style: normal;
  opacity: 0.5;
}

.phero h1 {
  color: var(--paper);
  max-width: 20em;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.phero h1 + .phero__sub {
  margin-top: 24px;
}

.phero__sub {
  max-width: 46em;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

.phero__en {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--y);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- Rows (NTT-style index list) ---------- */

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

.sec--ink .rows,
.rows--ink {
  border-top-color: var(--line-w);
}

.row {
  display: grid;
  grid-template-columns: 62px minmax(0, 0.9fr) minmax(0, 1.35fr) 46px;
  gap: clamp(12px, 2.4vw, 40px);
  align-items: start;
  padding: clamp(22px, 2.4vw, 32px) clamp(8px, 1.6vw, 24px);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
    padding 0.45s var(--ease);
}

.sec--ink .row,
.row--ink {
  border-bottom-color: var(--line-w);
  color: var(--paper);
}

.row__idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  padding-top: 7px;
}

.row__title {
  font-size: clamp(19px, 1.75vw, 24px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.012em;
  margin: 0;
}

.row__title em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 500;
}

.row__desc {
  font-size: 14.5px;
  line-height: 1.85;
  color: #55554f;
  margin: 0;
  max-width: 46em;
}

.sec--ink .row__desc,
.row--ink .row__desc {
  color: rgba(255, 255, 255, 0.62);
}

.row__arrow {
  align-self: center;
  justify-self: end;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.row__arrow svg {
  width: 15px;
  height: 15px;
}

.row:hover {
  background: var(--y);
  padding-left: clamp(16px, 2.6vw, 36px);
}

.row:hover .row__title,
.row:hover .row__desc,
.row:hover .row__idx,
.row:hover .row__title em {
  color: var(--ink);
}

.row:hover .row__arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--y);
  transform: translateX(4px);
}

/* ---------- Cards ---------- */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: var(--y);
  transition: height 0.45s var(--ease);
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px rgba(11, 11, 11, 0.42);
  border-color: rgba(11, 11, 11, 0.24);
}

.card__ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--y);
  color: var(--ink);
  margin-bottom: 22px;
  border-radius: var(--r);
  flex: none;
}

.card__ico svg {
  width: 23px;
  height: 23px;
}

.card h3 {
  font-size: 18.5px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.card p {
  font-size: 13.8px;
  line-height: 1.8;
  color: #5c5c56;
  margin: 0;
}

.card__foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.card__foot span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card__foot svg {
  flex: none;
}

.card__foot svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.card:hover .card__foot svg {
  transform: translateX(4px);
}

.card--ink {
  background: var(--ink-2);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--paper);
}

.card--ink h3 {
  color: var(--paper);
}

.card--ink p {
  color: rgba(255, 255, 255, 0.62);
}

.card--ink .card__foot {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--paper);
}

.card--ink .card__ico {
  background: var(--y);
  color: var(--ink);
}

/* ---------- Feature / split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.split--wide-left {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.split--top {
  align-items: start;
}

.split__art {
  position: relative;
}

.split__art img,
.split__art svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Stats ---------- */

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

.stats > div {
  background: var(--paper);
  padding: clamp(22px, 2.4vw, 34px);
}

.stats b {
  display: block;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.stats b i {
  font-style: normal;
  color: var(--y-deep);
  font-size: 0.55em;
  margin-left: 2px;
}

.stats span {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  display: block;
  letter-spacing: 0.02em;
}

.sec--ink .stats {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

.sec--ink .stats > div {
  background: var(--ink);
}

.sec--ink .stats b {
  color: var(--paper);
}

.sec--ink .stats b i {
  color: var(--y);
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--y);
  color: var(--ink);
  border-block: 1px solid rgba(11, 11, 11, 0.14);
  overflow: hidden;
  padding-block: 14px;
  display: flex;
  gap: 0;
  white-space: nowrap;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 42px;
  padding-right: 42px;
  animation: slide 38s linear infinite;
  flex: none;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee span {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 42px;
}

.marquee span::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ink);
  border-radius: 50%;
  opacity: 0.45;
}

@keyframes slide {
  to {
    transform: translateX(-100%);
  }
}

/* ---------- Comparison table ---------- */

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare th,
.compare td {
  text-align: left;
  padding: 20px clamp(12px, 1.6vw, 22px);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.75;
}

.compare thead th {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
}

.compare thead th:nth-child(3) {
  background: var(--y);
  color: var(--ink);
}

.compare td:first-child {
  font-weight: 600;
  width: 21%;
}

.compare td:nth-child(2) {
  color: var(--muted);
}

.compare td:nth-child(3) {
  background: rgba(255, 210, 31, 0.14);
  font-weight: 500;
}

.compare__label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Metric list ---------- */

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

.mlist > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
}

.mlist b {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.mlist b em {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--y-deep);
  font-weight: 600;
  margin-left: 5px;
}

.mlist span {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  text-align: right;
  max-width: 15em;
  text-wrap: balance;
}

.sec--ink .mlist,
.mlist--ink {
  border-top-color: var(--line-w);
}

.mlist--ink b {
  color: var(--paper);
}

.mlist--ink > div {
  border-bottom-color: var(--line-w);
}

/* ---------- Steps / process ---------- */

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

.step {
  padding: 30px clamp(10px, 1.4vw, 22px) 34px 0;
  border-right: 1px solid var(--line-w);
  position: relative;
}

.step:last-child {
  border-right: 0;
}

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

.step__no {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--y);
  display: block;
  margin-bottom: 18px;
}

.step h4 {
  font-size: 15.5px;
  color: var(--paper);
  margin-bottom: 10px;
  line-height: 1.4;
}

.step p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
}

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

/* ---------- Layer diagram ---------- */

.layers {
  display: grid;
  gap: 12px;
}

.layer {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px clamp(18px, 2vw, 28px);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 26px);
  align-items: center;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.layer:hover {
  border-color: var(--ink);
  transform: translateX(4px);
}

.layer__tag {
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--y);
  padding: 5px 8px;
  text-align: center;
  font-weight: 600;
}

.layer h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.layer p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.layer__val {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-align: right;
  white-space: nowrap;
}

/* ---------- Case cards ---------- */

.case {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  background: var(--paper);
}

.case:hover {
  border-color: rgba(11, 11, 11, 0.3);
  box-shadow: 0 30px 60px -40px rgba(11, 11, 11, 0.5);
}

.case__art {
  position: relative;
  min-height: 240px;
  background: var(--ink);
  overflow: hidden;
}

.case__art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.case__body {
  padding: clamp(24px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.case__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.case__tag i {
  font-style: normal;
  color: var(--ink);
  background: var(--y);
  padding: 3px 7px;
  font-weight: 600;
}

.case h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.42;
  margin-bottom: 12px;
}

.case p {
  font-size: 14px;
  line-height: 1.85;
  color: #55554f;
  margin-bottom: 20px;
}

.case__metrics {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  flex-wrap: wrap;
}

.case__metrics div {
  display: flex;
  flex-direction: column;
}

.case__metrics b {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.case__metrics span {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

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

.cta {
  background: var(--y);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 100px);
}

.cta__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.028em;
}

.cta p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(11, 11, 11, 0.7);
  margin-top: 18px;
  max-width: 34em;
}

.cta__mark {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: min(38vw, 420px);
  opacity: 0.14;
  z-index: 0;
  pointer-events: none;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
}

.cta__actions .btn {
  width: 100%;
  justify-content: space-between;
}

.cta__actions .btn--ghost {
  border-color: rgba(11, 11, 11, 0.38);
}

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

.ftr {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  padding-top: clamp(48px, 6vw, 80px);
  font-size: 13.5px;
}

.ftr__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.72fr));
  gap: clamp(24px, 3vw, 50px);
  padding-bottom: clamp(38px, 4vw, 56px);
}

.ftr__brand .logo__name {
  font-size: 26px;
}

.ftr__brand .logo__mark {
  width: 46px;
  height: 46px;
}

.ftr__brand p {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.5);
  max-width: 26em;
}

.ftr h5 {
  margin: 0 0 18px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 600;
}

.ftr ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.ftr ul a {
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.ftr ul a:hover {
  color: var(--y);
  padding-left: 4px;
}

.ftr__word {
  font-size: clamp(56px, 13.5vw, 186px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.3;
  color: #fff;
  opacity: 0.1;
  padding-block: 0;
  margin-bottom: -0.34em;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.ftr__bot {
  border-top: 1px solid var(--line-w);
  padding-block: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}

.ftr__bot nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ftr__bot a:hover {
  color: var(--y);
}

/* ---------- Accordion ---------- */

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

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

.acc__q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 24px 44px 24px 0;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  line-height: 1.5;
}

.acc__q::after,
.acc__q::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.acc__q::before {
  transform: rotate(90deg);
}

.acc__item.is-open .acc__q::before {
  transform: rotate(0deg);
  background: var(--y-deep);
}

.acc__item.is-open .acc__q::after {
  background: var(--y-deep);
}

.acc__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.acc__a > div {
  padding: 0 clamp(0px, 3vw, 40px) 26px 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: #4c4c47;
}

/* ---------- Mindset grid ---------- */

.mind {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-w);
  border: 1px solid var(--line-w);
}

.mind__item {
  background: var(--ink);
  padding: clamp(24px, 2.4vw, 34px);
  transition: background 0.4s var(--ease);
}

.mind__item:hover {
  background: var(--ink-2);
}

.mind__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mind__name {
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.mind__en {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.42);
}

.mind__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mind__row b {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--y);
  font-weight: 600;
  padding-top: 3px;
  white-space: nowrap;
}

.mind__row:last-child b {
  color: var(--paper);
}

.mind__row p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

.mind__row:last-child p {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 900px) {
  .mind {
    grid-template-columns: minmax(0, 1fr);
  }

  .mind__row {
    grid-template-columns: 52px minmax(0, 1fr);
  }
}

/* ---------- Doc page: TOC ---------- */

.toc {
  position: sticky;
  top: 60px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.toc__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 11px var(--pad);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.toc__inner::-webkit-scrollbar {
  display: none;
}

.toc a {
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 7px 13px;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.toc a:hover,
.toc a.is-active {
  background: var(--y);
  border-color: var(--y);
  color: var(--ink);
}

/* ---------- Callout ---------- */

.callout {
  border-left: 3px solid var(--y);
  background: #fffdf3;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.9;
  color: #3d3d39;
}

.callout__t {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--y-deep);
  margin-bottom: 9px;
}

.callout p {
  margin: 0;
}

.callout strong,
.callout b {
  color: var(--ink);
}

.callout em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--y-soft) 62%, var(--y-soft) 96%, transparent 96%);
}

.callout--ink {
  background: var(--ink);
  border-left-color: var(--y);
  color: rgba(255, 255, 255, 0.78);
}

.callout--ink .callout__t {
  color: var(--y);
}

.callout--ink strong,
.callout--ink b {
  color: #fff;
}

.callout--ink em {
  background: none;
  color: var(--y);
}

/* ---------- Generic table ---------- */

.tbl-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 620px;
}

.tbl th,
.tbl td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
  line-height: 1.75;
  color: #3d3d39;
}

.tbl thead th {
  background: var(--paper-2);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.tbl tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.tbl tbody tr:hover {
  background: #fffdf5;
}

.tbl tbody tr:last-child td {
  border-bottom: 0;
}

.tbl .num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12.5px;
}

/* ---------- Course day ---------- */

.day {
  border: 1px solid var(--line);
  background: var(--paper);
  margin-bottom: 16px;
}

.day__h {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  flex-wrap: wrap;
}

.day__no {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--ink);
  color: var(--y);
  padding: 5px 11px;
  letter-spacing: 0.06em;
  flex: none;
}

.day__t {
  font-size: 17px;
  font-weight: 600;
  flex: 1;
  min-width: 190px;
  letter-spacing: -0.01em;
}

.day__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.tag--y {
  background: var(--y);
  border-color: var(--y);
  color: var(--ink);
}

.day__b {
  padding: 20px 22px 22px;
}

.day__goal {
  background: #fffdf3;
  border-left: 3px solid var(--y);
  padding: 12px 16px;
  font-size: 13.8px;
  line-height: 1.85;
  margin-bottom: 18px;
  color: #3d3d39;
}

.day__goal b {
  color: var(--ink);
}

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

.blk {
  border: 1px solid var(--line-2);
  padding: 14px 16px 8px;
  background: #fcfcfa;
}

.blk__t {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  background: var(--y);
  color: var(--ink);
  margin-bottom: 11px;
}

.blk ul {
  margin: 0 0 8px 1.1em;
  padding: 0;
  font-size: 13.2px;
  line-height: 1.8;
  color: #3d3d39;
}

.blk li {
  margin-bottom: 7px;
}

.blk em,
.day__goal em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--y-soft) 62%, var(--y-soft) 96%, transparent 96%);
}

.day__out {
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #3d3d39;
}

.day__out .k {
  font-weight: 700;
  color: var(--ink);
  background: var(--y);
  padding: 1px 7px;
  margin-right: 6px;
}

/* ---------- Checklist (红线) ---------- */

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

.checks li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.85;
  color: #3d3d39;
}

.checks li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  background: #fdecea;
  color: #b42318;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.checks li strong,
.checks li b {
  color: var(--ink);
}

/* ---------- Daily rhythm ---------- */

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

.rhythm > div {
  background: var(--paper);
  padding: 16px 16px 18px;
}

.rhythm h5 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.rhythm .s {
  font-size: 12.5px;
  line-height: 1.6;
  padding: 8px 0;
  border-top: 1px solid var(--line-2);
  color: #3d3d39;
}

.rhythm .s .tm {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.rhythm .s b {
  color: var(--ink);
}

@media (max-width: 1024px) {
  .blocks,
  .rhythm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blocks,
  .rhythm {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    top: 60px;
  }
}

/* ---------- Pricing plans ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.plan {
  background: var(--paper);
  padding: clamp(24px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan--hot {
  background: #fff;
  box-shadow: 0 0 0 2px var(--ink) inset;
}

.plan--hot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--y);
}

.plan__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--y);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 9px;
}

.plan__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.plan__name {
  font-size: 21px;
  margin: 12px 0 14px;
  letter-spacing: -0.01em;
}

.plan__price {
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  white-space: nowrap;
}

.plan__price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.plan__note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}

.plan ul {
  list-style: none;
  margin: 22px 0 26px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-2);
  display: grid;
  gap: 11px;
  flex: 1;
  align-content: start;
}

.plan li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #3d3d39;
}

.plan li svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--y-deep);
  margin-top: 2px;
}

.plan .btn {
  width: 100%;
  justify-content: space-between;
}

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

.extras > div {
  background: var(--paper);
  padding: 18px clamp(16px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.extras b {
  font-size: 13.5px;
  font-weight: 600;
}

.extras span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .plans,
  .extras {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan--hot {
    box-shadow: none;
    border-top: 3px solid var(--y);
  }

  .plan--hot::before {
    display: none;
  }
}

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

.nf {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(52px, 8vw, 110px));
  padding-bottom: clamp(56px, 7vw, 100px);
  min-height: min(88vh, 880px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nf__bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.nf__bg img {
  position: absolute;
  right: -6%;
  top: -22%;
  height: 150%;
  max-width: none;
}

.nf__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
  width: 100%;
}

.nf__num {
  font-size: clamp(88px, 19vw, 250px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.055em;
  color: var(--y);
  margin: 0 0 clamp(18px, 2.6vw, 34px);
}

.nf h1 {
  color: var(--paper);
  font-size: clamp(24px, 3.2vw, 42px);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.nf p {
  max-width: 38em;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(14.5px, 1.1vw, 16px);
  line-height: 1.9;
  margin: 0;
}

.nf__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: clamp(34px, 4.4vw, 60px);
}

.nf__links a {
  background: var(--ink);
  padding: 20px clamp(16px, 1.6vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.nf__links a small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  margin-top: 5px;
}

.nf__links a svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.nf__links a:hover {
  background: var(--y);
  color: var(--ink);
}

.nf__links a:hover small {
  color: rgba(11, 11, 11, 0.55);
}

@media (max-width: 1024px) {
  .nf__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nf__links {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Four F grid ---------- */

.f4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(28px, 3.4vw, 46px);
}

.f4 > div {
  background: var(--paper);
  padding: clamp(18px, 1.8vw, 24px);
  transition: background 0.4s var(--ease);
}

.f4 > div:hover {
  background: var(--y);
}

.f4 b {
  display: block;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.f4 span {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.f4 > div:hover span {
  color: rgba(11, 11, 11, 0.72);
}

/* ---------- Misc ---------- */

.note {
  font-size: 12.5px;
  color: #7d7d76;
  line-height: 1.75;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.sec--ink .tagline {
  border-color: var(--line-w);
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.kv {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px 24px;
  font-size: 14px;
  margin: 0;
}

.kv dt {
  color: var(--muted);
  font-weight: 500;
}

.kv dd {
  margin: 0;
  color: var(--ink);
}

/* ---------- Reveal animation ---------- */

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

.rv.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee__track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

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

@media (max-width: 1180px) {
  .nav__eco {
    display: none;
  }

  .hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  :root {
    --nav-h: 66px;
  }

  .nav,
  .hdr__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .sec-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .sec-head__aside {
    margin-top: -12px;
  }

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

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

  .split,
  .split--wide-left,
  .case,
  .cta__inner {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .step {
    border-bottom: 1px solid var(--line-w);
    padding-bottom: 26px;
    margin-bottom: 6px;
  }

  .step:nth-child(2n) {
    border-right: 0;
  }

  .row {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    row-gap: 10px;
  }

  .row__desc {
    grid-column: 2 / 4;
  }

  .row__arrow {
    grid-row: 1;
    grid-column: 3;
    width: 34px;
    height: 34px;
  }

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

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

@media (max-width: 720px) {
  .hero {
    min-height: 0;
  }

  .hero__bg img,
  .hero__bg svg {
    height: 78%;
    top: 8%;
    right: -34%;
    opacity: 0.5;
  }

  .hero__sub {
    font-size: 15px;
  }

  .g-2,
  .g-3,
  .g-4 {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .step {
    border-right: 0;
  }

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

  .layer__val {
    text-align: left;
  }

  .layer__tag {
    justify-self: start;
  }

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

  .kv {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px 0;
  }

  .kv dd {
    margin-bottom: 12px;
  }

  .compare {
    font-size: 13px;
  }

  .compare th,
  .compare td {
    padding: 14px 10px;
  }

  .compare td:first-child {
    width: 30%;
  }

  .btn-row {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    padding: 15px 20px;
    font-size: 13.5px;
    justify-content: space-between;
    width: 100%;
  }

  .tlink {
    align-self: flex-start;
  }

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