/* ============================================================
   BEC 高级 180 突围营 · Design System
   Aesthetic: Fortune-500 annual report × Apple keynote
   Palette: deep navy / champagne gold / warm paper
   ============================================================ */

:root {
  --ink: #0a1a2f;
  --ink-2: #10243f;
  --ink-3: #16324f;
  --paper: #faf9f6;
  --card: #ffffff;
  --text: #1b2634;
  --muted: #5c6b7d;
  --faint: #8d9aa9;
  --hairline: rgba(16, 36, 63, 0.10);
  --hairline-dark: rgba(255, 255, 255, 0.14);

  --gold: #b8912f;
  --gold-soft: #d7b96a;
  --gold-pale: #f4ecd7;
  --navy: #14375e;
  --blue: #2a6bb5;
  --good: #1f7a4d;
  --warn: #b3541e;
  --bad: #b3261e;

  --grad-ink: linear-gradient(160deg, #0a1a2f 0%, #10243f 55%, #173457 100%);
  --grad-gold: linear-gradient(180deg, #f2e3b8 0%, #d9b866 60%, #b8912f 100%);
  --grad-hero-glow: radial-gradient(1100px 520px at 78% -8%, rgba(216, 185, 106, 0.22), transparent 62%),
                    radial-gradient(900px 480px at 8% 112%, rgba(42, 107, 181, 0.28), transparent 60%);

  --shadow-1: 0 1px 2px rgba(10, 26, 47, 0.05), 0 6px 18px rgba(10, 26, 47, 0.06);
  --shadow-2: 0 2px 6px rgba(10, 26, 47, 0.07), 0 18px 44px rgba(10, 26, 47, 0.12);
  --shadow-gold: 0 10px 34px rgba(184, 145, 47, 0.35);

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --font-serif: "New York", "Songti SC", "STSong", Georgia, "Times New Roman", serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --nav-h: 64px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

::selection { background: rgba(184, 145, 47, 0.25); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.018em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: clamp(1.15rem, 2vw, 1.42rem); font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); line-height: 1.75; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--tint { background: #f3f1ea; }
.section--ink { background: var(--grad-ink); color: #e9eef5; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .muted, .section--ink .lead { color: rgba(233, 238, 245, 0.72); }
.section--ink a { color: var(--gold-soft); }
.section--ink a:hover { color: #fff; }

.center { text-align: center; }
.center .eyebrow::before { display: none; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.serif { font-family: var(--font-serif); }

.grad-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--nav-h);
  background: rgba(10, 26, 47, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 28px;
}
.nav__brand {
  color: #fff; font-weight: 800; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.nav__brand .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--grad-gold);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); font-size: 0.72rem; font-weight: 900; letter-spacing: 0;
}
.nav__links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav__links a {
  color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; font-weight: 550;
  padding: 8px 13px; border-radius: 999px; transition: all 0.25s ease;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav__links a.active { color: var(--ink); background: var(--grad-gold); font-weight: 650; }
.nav__cta {
  margin-left: 6px; padding: 8px 16px !important;
  border: 1px solid rgba(216, 185, 106, 0.55); border-radius: 999px;
  color: var(--gold-soft) !important;
}
.nav__cta:hover { background: rgba(216, 185, 106, 0.15) !important; }
.nav__burger { display: none; }

@media (max-width: 860px) {
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(10, 26, 47, 0.97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 14px 20px 20px; border-bottom: 1px solid var(--hairline-dark);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 13px 16px; font-size: 1rem; }
  .nav__burger {
    display: inline-flex; margin-left: auto; cursor: pointer;
    background: none; border: 0; padding: 8px;
  }
  .nav__burger span {
    display: block; width: 20px; height: 1.6px; background: #fff;
    margin: 4.5px 0; border-radius: 2px; transition: 0.3s;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 0.98rem; font-weight: 650; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.btn:active { transform: scale(0.97); }
.btn--gold {
  background: var(--grad-gold); color: var(--ink); box-shadow: var(--shadow-gold);
}
.btn--gold:hover { transform: translateY(-1.5px); box-shadow: 0 14px 40px rgba(184, 145, 47, 0.45); color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); transform: translateY(-1.5px); color: #fff; }
.btn--ghost { border-color: var(--hairline-dark); color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; transform: translateY(-1.5px); }
.btn--line { border-color: rgba(16, 36, 63, 0.22); color: var(--text); background: transparent; }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 8px 16px; font-size: 0.86rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-ink);
  color: #fff;
  padding: calc(var(--nav-h) + clamp(72px, 11vw, 128px)) 0 clamp(72px, 10vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-hero-glow);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(75% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 30%, #000 30%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(216, 185, 106, 0.4); border-radius: 999px;
  padding: 7px 16px; font-size: 0.85rem; letter-spacing: 0.06em;
  color: var(--gold-soft); background: rgba(216, 185, 106, 0.08);
  margin-bottom: 26px;
}
.hero__kicker .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #46d389;
  box-shadow: 0 0 0 4px rgba(70, 211, 137, 0.18);
}
.hero h1 { max-width: 17em; margin-bottom: 0.35em; }
.hero .lead { max-width: 36em; color: rgba(233, 238, 245, 0.75); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__panel {
  margin-top: clamp(48px, 7vw, 76px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline-dark); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow: hidden;
}
.hero__panel > div {
  padding: 26px 28px; border-left: 1px solid var(--hairline-dark);
}
.hero__panel > div:first-child { border-left: 0; }
.hero__panel .num {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.hero__panel .lab {
  font-size: 0.83rem; color: rgba(233, 238, 245, 0.62); margin-top: 4px; letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .hero__panel { grid-template-columns: repeat(2, 1fr); }
  .hero__panel > div:nth-child(3) { border-left: 0; }
  .hero__panel > div:nth-child(n+3) { border-top: 1px solid var(--hairline-dark); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 30px 30px 28px;
  box-shadow: var(--shadow-1);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(184, 145, 47, 0.28); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

.card__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-pale); color: var(--gold); margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }
.card--ink { background: var(--grad-ink); color: #e9eef5; border-color: var(--hairline-dark); }
.card--ink h3 { color: #fff; }
.card--ink p { color: rgba(233, 238, 245, 0.7); }
.card--ink .card__icon { background: rgba(216, 185, 106, 0.14); color: var(--gold-soft); }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Stat / KPI ---------- */
.stat { padding: 6px 0; }
.stat .v {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 800;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.stat .v small { font-size: 0.45em; font-weight: 650; color: var(--muted); margin-left: 4px; }
.stat .k { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }

/* ---------- Score bars (diagnosis) ---------- */
.sbar { margin: 20px 0; }
.sbar__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.92rem; margin-bottom: 8px;
}
.sbar__head b { font-weight: 700; }
.sbar__head .sc { font-variant-numeric: tabular-nums; font-weight: 750; }
.sbar__track {
  height: 10px; border-radius: 999px; background: #e9e5da;
  overflow: hidden; position: relative;
}
.sbar__fill {
  height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, var(--ink-3), var(--blue));
  transition: width 1.1s cubic-bezier(0.22, 0.8, 0.28, 1);
}
.sbar--weak .sbar__fill { background: linear-gradient(90deg, #8f2019, var(--bad)); }
.sbar--gold .sbar__fill { background: var(--grad-gold); }
.sbar__note { font-size: 0.8rem; color: var(--faint); margin-top: 6px; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 620; letter-spacing: 0.02em;
  background: #efece3; color: var(--ink-3); border: 1px solid var(--hairline);
}
.chip--gold { background: var(--gold-pale); border-color: rgba(184, 145, 47, 0.3); color: #8a6a1d; }
.chip--red { background: #f9e7e5; border-color: rgba(179, 38, 30, 0.25); color: var(--bad); }
.chip--green { background: #e4f2ea; border-color: rgba(31, 122, 77, 0.25); color: var(--good); }
.chip--ink { background: var(--ink-2); border-color: var(--hairline-dark); color: var(--gold-soft); }

/* ---------- Tables ---------- */
.table-wrap {
  border: 1px solid var(--hairline); border-radius: var(--r-md);
  background: var(--card); overflow-x: auto; box-shadow: var(--shadow-1);
}
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--hairline); }
th {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; background: #f6f4ee;
  white-space: nowrap;
}
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.15s ease; }
tbody tr:hover { background: #faf7ee; }
td.num { font-variant-numeric: tabular-nums; font-weight: 650; }
tr.hl { background: var(--gold-pale); }
tr.hl:hover { background: #efe6c9; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--gold), rgba(184, 145, 47, 0.12));
}
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -31px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 145, 47, 0.15);
}
.tl-item .tl-date {
  font-size: 0.8rem; font-weight: 750; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.tl-item h4 { font-size: 1.06rem; font-weight: 700; margin-bottom: 4px; }
.tl-item p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.section--ink .timeline::before { background: linear-gradient(180deg, var(--gold-soft), rgba(216, 185, 106, 0.12)); }
.section--ink .tl-item::before { background: var(--ink-2); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  counter-increment: step; position: relative;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 24px 26px 22px 76px;
  box-shadow: var(--shadow-1);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 24px; top: 24px;
  font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Check-in ---------- */
.checkin {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-1);
}
.checkin__row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.checkin__streak { text-align: center; min-width: 86px; }
.checkin__streak .v {
  font-size: 2.5rem; font-weight: 800; font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em; color: var(--gold); line-height: 1.05;
}
.checkin__streak .k { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; }
.checkin__days { display: flex; gap: 7px; flex-wrap: wrap; flex: 1; }
.cday {
  width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 650;
  background: #f0ede4; color: var(--faint); border: 1px solid var(--hairline);
}
.cday.on { background: var(--grad-ink); color: var(--gold-soft); border-color: transparent; }
.cday.today { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Countdown ---------- */
.cdown { display: flex; gap: 14px; flex-wrap: wrap; }
.cd-cell {
  min-width: 84px; padding: 16px 10px 13px; text-align: center;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--hairline-dark);
}
.cd-cell .n {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cd-cell .t { font-size: 0.74rem; letter-spacing: 0.16em; color: rgba(233, 238, 245, 0.6); text-transform: uppercase; }

/* ---------- Converter (tool) ---------- */
.tool {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-1);
}
.tool__row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.tool label { font-size: 0.85rem; font-weight: 650; color: var(--muted); display: block; margin-bottom: 8px; }
.tool input[type="number"], .tool select {
  font: inherit; padding: 11px 14px; border-radius: var(--r-sm);
  border: 1px solid rgba(16, 36, 63, 0.22); background: #fff;
  min-width: 130px; color: var(--text);
}
.tool input:focus, .tool select:focus {
  outline: 2px solid rgba(184, 145, 47, 0.45); border-color: var(--gold);
}
.tool__result { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Player / workbench ---------- */
.player {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-1);
}
.player__title { font-weight: 700; font-size: 0.97rem; margin-bottom: 4px; }
.player__meta { font-size: 0.8rem; color: var(--faint); margin-bottom: 14px; }
.player audio { width: 100%; height: 40px; margin-bottom: 12px; }
.player__ctrl { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pbtn {
  border: 1px solid rgba(16, 36, 63, 0.18); background: #fff;
  border-radius: 999px; padding: 7px 14px; font-size: 0.82rem; font-weight: 620;
  cursor: pointer; color: var(--text); transition: all 0.2s ease;
  font-family: inherit;
}
.pbtn:hover { border-color: var(--gold); color: var(--gold); }
.pbtn.on { background: var(--ink); color: var(--gold-soft); border-color: var(--ink); }
.player select {
  font: inherit; font-size: 0.85rem; padding: 7px 10px;
  border-radius: 999px; border: 1px solid rgba(16, 36, 63, 0.18); background: #fff;
}

textarea.note {
  width: 100%; min-height: 110px; resize: vertical;
  font: 0.9rem/1.7 var(--font-sans); padding: 14px;
  border: 1px solid rgba(16, 36, 63, 0.18); border-radius: var(--r-sm);
  background: #fffdf7; color: var(--text);
}
textarea.note:focus { outline: 2px solid rgba(184, 145, 47, 0.45); border-color: var(--gold); }

/* ---------- Feed cards ---------- */
.feed {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
}
.feed__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px;
}
.feed__head h3 { margin: 0; font-size: 1.08rem; }
.feed__list { list-style: none; margin: 0; padding: 0; flex: 1; }
.feed__list li {
  padding: 11px 0; border-bottom: 1px dashed var(--hairline);
  display: flex; gap: 10px; align-items: baseline; justify-content: space-between;
}
.feed__list li:last-child { border-bottom: 0; }
.feed__list a { font-size: 0.9rem; font-weight: 550; line-height: 1.5; }
.feed__list .dt { font-size: 0.72rem; color: var(--faint); white-space: nowrap; }
.feed__audio { margin-top: 14px; }
.feed__audio audio { width: 100%; height: 36px; }

/* ---------- Callout ---------- */
.callout {
  border-left: 3px solid var(--gold);
  background: var(--gold-pale);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px; margin: 26px 0;
  font-size: 0.95rem;
}
.callout b { color: #8a6a1d; }
.callout--red { border-color: var(--bad); background: #f9e7e5; }
.callout--red b { color: var(--bad); }

/* ---------- Accordion ---------- */
.acc { border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--card); overflow: hidden; box-shadow: var(--shadow-1); }
.acc details { border-bottom: 1px solid var(--hairline); }
.acc details:last-child { border-bottom: 0; }
.acc summary {
  cursor: pointer; padding: 19px 24px; font-weight: 680; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s ease;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; font-size: 1.3rem; color: var(--gold); font-weight: 400;
  transition: transform 0.25s ease;
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc summary:hover { background: #faf8f1; }
.acc .acc__body { padding: 0 24px 20px; color: var(--muted); font-size: 0.94rem; }

/* ---------- Resource list ---------- */
.res {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--hairline);
}
.res:last-child { border-bottom: 0; }
.res__tag {
  flex-shrink: 0; margin-top: 2px;
  min-width: 64px; text-align: center;
  font-size: 0.72rem; font-weight: 750; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--ink-2); color: var(--gold-soft);
}
.res__tag.gold { background: var(--gold-pale); color: #8a6a1d; border: 1px solid rgba(184, 145, 47, 0.3); }
.res h4 { font-size: 1rem; font-weight: 700; margin: 0 0 3px; }
.res p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.res p a { font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background: #071322; color: rgba(233, 238, 245, 0.65);
  padding: 58px 0 40px; font-size: 0.9rem;
}
.footer a { color: rgba(233, 238, 245, 0.85); }
.footer a:hover { color: var(--gold-soft); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer__base {
  border-top: 1px solid var(--hairline-dark); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.82rem; color: rgba(233, 238, 245, 0.42);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Page header (subpages) ---------- */
.pagehead {
  position: relative; overflow: hidden;
  background: var(--grad-ink); color: #fff;
  padding: calc(var(--nav-h) + clamp(52px, 7vw, 84px)) 0 clamp(44px, 6vw, 64px);
}
.pagehead::before { content: ""; position: absolute; inset: 0; background: var(--grad-hero-glow); }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 0.3em; }
.pagehead .lead { color: rgba(233, 238, 245, 0.72); max-width: 38em; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 34px; } .mt-4 { margin-top: 52px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; }
.flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.hidden { display: none !important; }
