/* East to West: Beyond Guanxi - site stylesheet
   Navy-first editorial scheme. Book palette (navy, mineral red, brass, ivory)
   appears in the cover art and accents; page chrome stays crisp white/navy. */

:root {
  --navy: #122b3b;
  --navy-deep: #0d2230;
  --navy-ink: #1a2833;
  --red: #c2472d;
  --red-dark: #a83c25;
  --brass: #b08a4a;
  --brass-light: #cfa96a;
  --ivory: #f4ebdd;
  --ivory-bright: #faf5ec;
  --slate: #4d5a63;
  --paper: #ffffff;
  --paper-alt: #f3f5f7;
  --hairline: #dfe3e8;
  --font-display: "Avenir Next", "Montserrat", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-serif: "Baskerville", "Libre Baskerville", "Palatino", "Georgia", "Songti SC", "SimSun", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--navy-ink);
  background: var(--paper);
}

:lang(zh-Hans) body,
body:lang(zh-Hans) {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", var(--font-serif);
  letter-spacing: 0.01em;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 1.2rem;
  max-width: 21em;
}

.lede {
  font-size: 1.2rem;
  color: var(--slate);
  max-width: 40em;
}

/* ---------- Header (navy) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(244, 235, 221, 0.14);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled { box-shadow: 0 2px 16px rgba(13, 34, 48, 0.45); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--ivory-bright);
  white-space: nowrap;
}

.brand:hover { color: var(--ivory-bright); }

.brand .brand-accent { color: var(--brass-light); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(244, 235, 221, 0.85);
  white-space: nowrap;
}

.site-nav a:hover { color: var(--brass-light); }

.site-nav .nav-buy {
  color: var(--brass-light);
  border: 1px solid var(--brass);
  padding: 6px 14px;
  border-radius: 2px;
}

.site-nav .nav-buy:hover { background: var(--brass); color: var(--navy-deep); }

.lang-switch {
  border: 1px solid rgba(244, 235, 221, 0.3);
  padding: 5px 12px;
  border-radius: 2px;
}

.lang-switch:hover { border-color: var(--brass-light); }

.nav-toggle { display: none; }

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

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--ivory-bright);
  border-color: rgba(244, 235, 221, 0.55);
}

.btn-outline:hover { background: var(--ivory-bright); color: var(--navy); border-color: var(--ivory-bright); }

.btn-brass {
  background: var(--brass);
  color: var(--navy-deep);
}

.btn-brass:hover { background: var(--brass-light); color: var(--navy-deep); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover { background: var(--navy); color: var(--ivory-bright); }

/* ---------- Buy band ---------- */

.buy-band {
  background: var(--navy);
  border-top: 3px solid var(--brass);
  padding: 56px 0;
}

.buy-band h2 { color: var(--ivory-bright); }

.buy-band .eyebrow { color: var(--brass-light); }

.buy-band .buy-note { color: rgba(244, 235, 221, 0.65); }

.buy-band .btn-outline-navy {
  color: var(--ivory-bright);
  border-color: rgba(244, 235, 221, 0.55);
}

.buy-band .btn-outline-navy:hover {
  background: var(--ivory-bright);
  color: var(--navy);
  border-color: var(--ivory-bright);
}

.buy-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.buy-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }

.buy-band .eyebrow { margin-bottom: 0.6rem; }

.buy-note {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.buy-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero (navy) ---------- */

.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}

/* Relationship network, lower left */
.hero::before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -70px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none'%3E%3Cg stroke='%23c2472d' stroke-opacity='0.25' stroke-width='1.5'%3E%3Cpath d='M-20 520 Q120 380 260 470 T560 420'/%3E%3Cpath d='M-20 420 Q140 300 300 380 T620 320'/%3E%3Cpath d='M40 600 Q180 470 340 540'/%3E%3Cpath d='M80 300 Q200 220 320 290 T580 240'/%3E%3Cpath d='M120 380 L300 380 M260 470 L320 290'/%3E%3C/g%3E%3Cg fill='%23c2472d' fill-opacity='0.3'%3E%3Ccircle cx='120' cy='380' r='7'/%3E%3Ccircle cx='260' cy='470' r='9'/%3E%3Ccircle cx='300' cy='380' r='6'/%3E%3Ccircle cx='180' cy='470' r='5'/%3E%3Ccircle cx='320' cy='290' r='7'/%3E%3Ccircle cx='440' cy='450' r='6'/%3E%3Ccircle cx='80' cy='300' r='5'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

/* Structural truss, upper right */
.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -40px;
  width: 520px;
  height: 620px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 600' fill='none'%3E%3Cg stroke='%23f4ebdd' stroke-opacity='0.09' stroke-width='1.5'%3E%3Cpath d='M60 0V600'/%3E%3Cpath d='M140 0V600'/%3E%3Cpath d='M220 0V600'/%3E%3Cpath d='M300 0V600'/%3E%3Cpath d='M380 0V600'/%3E%3Cpath d='M460 0V600'/%3E%3Cpath d='M0 120H500'/%3E%3Cpath d='M0 240H500'/%3E%3Cpath d='M0 360H500'/%3E%3Cpath d='M0 480H500'/%3E%3Cpath d='M60 120L140 240'/%3E%3Cpath d='M220 240L300 360'/%3E%3Cpath d='M380 0L460 120'/%3E%3Cpath d='M140 360L220 480'/%3E%3Cpath d='M300 480L380 600'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

.hero .eyebrow { color: var(--brass-light); }

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  margin-bottom: 1.3rem;
  color: var(--ivory-bright);
}

.hero h1 .accent {
  color: var(--brass-light);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

:lang(zh-Hans) .hero h1 .accent { font-style: normal; font-family: inherit; font-weight: inherit; }

.hero .lede {
  color: rgba(244, 235, 221, 0.82);
  margin-bottom: 2.2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 1.4rem;
}

.hero-note {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: rgba(244, 235, 221, 0.6);
}

.hero-cover {
  position: relative;
  justify-self: center;
  max-width: 360px;
}

.hero-cover img {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(244, 235, 221, 0.18);
}

/* ---------- Stat band (white) ---------- */

.stat-band {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  padding: 44px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-grid > div { position: relative; padding-top: 16px; }

.stat-grid > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--brass);
}

.stat-num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.7rem;
  color: var(--navy);
  line-height: 1.1;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 6px;
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }

.section-alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-head { margin-bottom: 3rem; }

/* Signature bridge divider under every section heading:
   red network arc, brass joint, navy truss line */
.section-head::after {
  content: "";
  display: block;
  width: 220px;
  height: 28px;
  margin-top: 2.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 28' fill='none'%3E%3Cpath d='M2 24 C40 6 78 8 98 15' stroke='%23c2472d' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='17' r='2.5' fill='%23c2472d'/%3E%3Ccircle cx='52' cy='9' r='2.5' fill='%23c2472d'/%3E%3Cpath d='M122 15 L146 7 L170 17 L194 9 L218 16' stroke='%23122b3b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='99' y='8' width='20' height='13' rx='1.5' fill='%23b08a4a'/%3E%3C/svg%3E") no-repeat left center / contain;
}

/* Mistake / two-directions section */

.direction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.direction-card {
  border-top: 3px solid var(--red);
  padding: 1.7rem 1.6rem 1.8rem;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'%3E%3Cg stroke='%23c2472d' stroke-opacity='0.12' stroke-width='1.5'%3E%3Cpath d='M0 160 Q60 100 120 140 T240 120'/%3E%3Cpath d='M20 210 Q80 150 160 185'/%3E%3Cpath d='M60 100 L120 140 M120 140 L160 185'/%3E%3C/g%3E%3Cg fill='%23c2472d' fill-opacity='0.14'%3E%3Ccircle cx='60' cy='100' r='6'/%3E%3Ccircle cx='120' cy='140' r='8'/%3E%3Ccircle cx='160' cy='185' r='5'/%3E%3C/g%3E%3C/svg%3E") no-repeat right bottom / 200px 200px,
    rgba(194, 71, 45, 0.05);
}

.direction-card.west {
  border-top-color: var(--navy);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'%3E%3Cg stroke='%23122b3b' stroke-opacity='0.11' stroke-width='1.5'%3E%3Cpath d='M40 40V200'/%3E%3Cpath d='M100 40V200'/%3E%3Cpath d='M160 40V200'/%3E%3Cpath d='M0 90H200'/%3E%3Cpath d='M0 150H200'/%3E%3Cpath d='M40 90L100 150'/%3E%3Cpath d='M100 150L160 90'/%3E%3C/g%3E%3C/svg%3E") no-repeat right bottom / 200px 200px,
    rgba(18, 43, 59, 0.05);
}

.direction-card .card-tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.direction-card.west .card-tag { color: var(--navy); }

.direction-card h3 { font-size: 1.35rem; margin-bottom: 0.8rem; }

.direction-card p { color: var(--slate); }

.direction-close {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
  font-size: 1.25rem;
  max-width: 34em;
}

/* ---------- Framework ---------- */

.framework-list { display: grid; gap: 0; }

.framework-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

.framework-item:first-child { border-top: 1px solid var(--hairline); }

.framework-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: rgba(194, 71, 45, 0.2);
}

@supports (-webkit-text-stroke: 1.5px red) {
  .framework-num {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--red);
  }
}

.framework-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

.framework-item p { color: var(--slate); font-size: 1.05rem; max-width: 46em; }

.framework-item .chapters-span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-top: 0.6rem;
}

/* ---------- Chapter list ---------- */

.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 56px;
}

.toc-item {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
}

.toc-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--red);
  min-width: 2em;
}

.toc-title { font-size: 1.05rem; }

.toc-part {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 1.6rem;
}

.toc-part:first-child { margin-top: 0; }

/* ---------- Inside the book ---------- */

.figures-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 2.6rem 0;
}

.figure-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 10px;
}

.figure-card figcaption {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: center;
  padding: 10px 4px 6px;
}

.learn-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 48px;
  margin-top: 2rem;
}

.learn-list li {
  padding-left: 30px;
  position: relative;
  color: var(--navy-ink);
  font-size: 1.08rem;
}

.learn-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 3px;
  background: var(--red);
}

/* ---------- Author ---------- */

.author-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 56px;
  align-items: start;
}

.author-photo {
  max-width: 260px;
  border: 1px solid var(--hairline);
  border-bottom: 3px solid var(--brass);
  box-shadow: 0 14px 34px rgba(18, 43, 59, 0.18);
}

.author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.author-bio p { color: var(--slate); margin-bottom: 1rem; }

/* ---------- Signup (navy) ---------- */

.signup {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
  padding: 88px 0;
}

.signup .eyebrow { color: var(--brass-light); }

.signup h2 {
  color: var(--ivory-bright);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin-bottom: 1rem;
}

.signup .lede {
  color: rgba(244, 235, 221, 0.8);
  margin-bottom: 2.4rem;
}

.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

.signup-form { display: grid; gap: 16px; }

.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }

.signup-form label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-light);
  display: block;
  margin-bottom: 6px;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form select {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy-ink);
  background: #fff;
  border: 1px solid rgba(244, 235, 221, 0.4);
  border-radius: 2px;
}

.signup-form input:focus,
.signup-form select:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}

.signup-form .btn { margin-top: 8px; justify-self: start; }

.form-note {
  font-size: 0.85rem;
  font-family: var(--font-display);
  color: rgba(244, 235, 221, 0.6);
  letter-spacing: 0.03em;
}

.form-feedback {
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 2px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(176, 138, 74, 0.18);
  border: 1px solid var(--brass);
  color: var(--ivory-bright);
}

.form-feedback.error {
  display: block;
  background: rgba(194, 71, 45, 0.25);
  border: 1px solid var(--red);
  color: var(--ivory-bright);
}

/* Honeypot: hide from humans, keep in DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.signup-side blockquote {
  border-left: 3px solid var(--brass);
  padding-left: 22px;
  font-size: 1.35rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--ivory-bright);
  position: relative;
}

.signup-side blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 4.2rem;
  line-height: 0.6;
  color: var(--brass-light);
  margin-bottom: 0.35em;
}

:lang(zh-Hans) .signup-side blockquote { font-style: normal; }

.signup-side cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 235, 221, 0.6);
}

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

.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(244, 235, 221, 0.12);
  color: rgba(244, 235, 221, 0.6);
  padding: 40px 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a { color: rgba(244, 235, 221, 0.85); }
.site-footer a:hover { color: var(--brass-light); }

.footer-brand { letter-spacing: 0.12em; font-weight: 600; color: var(--ivory); }

/* ---------- Reveal on scroll ---------- */

/* Only hide reveal elements when JS is running (html.js is set by main.js),
   so content is never invisible if scripts fail to load. */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Thanks page ---------- */

.thanks-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.thanks-hero .lede { margin-top: 1rem; margin-bottom: 2rem; }

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

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-cover { max-width: 300px; }
  .signup-grid { grid-template-columns: 1fr; gap: 40px; }
  .author-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .figures-row { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 920px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(244, 235, 221, 0.14);
    padding: 10px 24px 18px;
  }
  .site-nav.open a { padding: 10px 0; width: 100%; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid rgba(244, 235, 221, 0.35);
    border-radius: 2px;
    padding: 8px 12px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--ivory-bright);
    cursor: pointer;
  }
  .direction-grid { grid-template-columns: 1fr; }
  .toc-grid { grid-template-columns: 1fr; }
  .learn-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .framework-item { grid-template-columns: 56px 1fr; gap: 18px; }
  .framework-num { font-size: 2rem; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
}
