/* =========================================================
   ThunderBox · 内部产品官网
   Brand register · Committed color · Editorial layout
   ========================================================= */

:root {
  /* OKLCH palette ─ tinted neutrals + 一抹 ember */
  --paper:        oklch(97.4% 0.008 80);      /* 暖纸白：底层背景 */
  --paper-warm:   oklch(94.5% 0.018 75);      /* 微妃暖灰：分段铺色 */
  --paper-deep:   oklch(89% 0.022 70);        /* 较暖纸：卡片底 */
  --ink:          oklch(20% 0.022 50);        /* 主文字：深棕墨，非纯黑 */
  --ink-soft:     oklch(38% 0.018 50);        /* 次级文字 */
  --ink-mute:     oklch(55% 0.012 55);        /* 三级文字 / caption */
  --rule:         oklch(82% 0.012 60);        /* 分割线 */
  --rule-soft:    oklch(90% 0.01 70);
  --ember:        oklch(67% 0.19 45);         /* 主色：熔融橙 */
  --ember-deep:   oklch(52% 0.21 38);         /* 深熔橙：hover / 强调 */
  --ember-tint:   oklch(94% 0.04 60);         /* 极淡橙：高亮底 */
  --ink-paper:    oklch(15% 0.025 45);        /* 反相段背景：深焦糖墨 */

  /* Spacing scale (clamp 自适应) */
  --pad-section: clamp(72px, 9vw, 144px);
  --pad-gutter:  clamp(20px, 4vw, 48px);
  --max-w:       1280px;
  --col-w:       min(100% - var(--pad-gutter) * 2, var(--max-w));

  /* Type scale ≥1.25 ratio */
  --t-mega:   clamp(56px, 11vw, 168px);
  --t-hero:   clamp(36px, 7vw, 92px);
  --t-h2:     clamp(30px, 4.6vw, 60px);
  --t-h3:     clamp(22px, 2.2vw, 28px);
  --t-body:   clamp(16px, 1.05vw, 18px);
  --t-lead:   clamp(18px, 1.4vw, 23px);
  --t-cap:    13px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ───────────── Base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', 'Noto Sans SC', system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }

::selection { background: var(--ember); color: var(--paper); }

/* Display family */
.display {
  font-family: 'Bricolage Grotesque', 'Noto Sans SC', system-ui, sans-serif;
  font-weight: 700;
  font-variation-settings: "wdth" 90, "opsz" 96;
  letter-spacing: -0.025em;
  line-height: 0.96;
  color: var(--ink);
}
.hero-title { line-height: 1.18; }

.mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-feature-settings: "ss02", "ss03", "calt";
  letter-spacing: -0.01em;
}

/* ───────────── Layout containers ───────────── */
.shell { width: var(--col-w); margin-inline: auto; }
section { padding-block: var(--pad-section); }
.section-rule { border-top: 1px solid var(--rule); }

/* eyebrow + numbered marker */
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: var(--t-cap);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
/* ───────────── Top bar ───────────── */
.topbar {
  position: sticky;
  top: 0; z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule-soft);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-variation-settings: "wdth" 80;
  letter-spacing: -0.02em;
  font-size: 19px;
}
.brand-mark {
  width: 22px; height: 22px;
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--ink-soft); }
.nav a { transition: color .2s var(--ease-out); }
.nav a:hover { color: var(--ember-deep); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out);
}
.nav-cta:hover { background: var(--ember-deep); transform: translateY(-1px); }
@media (max-width: 760px) {
  .nav .nav-link { display: none; }
}

/* ───────────── Hero ───────────── */
.hero {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(80px, 10vw, 160px);
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 80px);
}
.hero-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.tag-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 13px; color: var(--ink-soft);
  background: color-mix(in oklab, var(--paper-warm) 60%, transparent);
}
.tag-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.hero-title {
  font-size: var(--t-hero);
  margin: 0;
}
.hero-title .accent {
  color: var(--ember);
  font-style: italic;
  font-variation-settings: "wdth" 95, "opsz" 96;
  white-space: nowrap;
  margin-inline-end: 0.2em;
}
.hero-title .nb { white-space: nowrap; }
.hero-lede {
  margin-top: clamp(28px, 3vw, 40px);
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}
.hero-pull {
  margin-top: clamp(28px, 3vw, 40px);
  margin-bottom: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 36ch;
}
.hero-pull em {
  font-style: normal;
  color: var(--ink);
  font-weight: 700;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: clamp(36px, 4vw, 56px);
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  line-height: 1.2;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out), border-color .25s var(--ease-out);
}
.btn-primary {
  background: var(--ember);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ember-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* hero aside — 聊天框在 mobile/tablet 紧贴 hero 下方,desktop 跑到右栏 */
.hero-aside {
  margin-top: clamp(48px, 6vw, 80px);
  max-width: 560px;
}
@media (min-width: 1100px) {
  :root { --t-hero: clamp(48px, 5vw, 68px); }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
    gap: clamp(48px, 5vw, 80px);
    align-items: center;
  }
  .hero-title { white-space: nowrap; }
  .hero-aside {
    margin-top: 8px;
    max-width: none;
    position: sticky;
    top: 88px;
  }
  .lark { font-size: 13.5px; }
  .lark-bubble { font-size: 13px; padding: 9px 13px; }
  .lark-body { padding: 14px 14px 12px; min-height: 0; }
}

/* ───────── 飞书聊天 UI ───────── */
.lark {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow:
    0 1px 0 oklch(100% 0 0 / 0.5) inset,
    0 24px 48px -32px oklch(20% 0.05 50 / 0.14),
    0 4px 14px -8px oklch(20% 0.05 50 / 0.08);
  font-size: 14px;
  color: var(--ink);
}
.lark-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: oklch(99% 0.005 80);
  border-bottom: 1px solid var(--rule-soft);
}
.lark-head-l { display: flex; align-items: center; gap: 12px; }
.lark-name {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; line-height: 1.2;
  color: var(--ink);
}
.lark-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 500;
  padding: 2px 6px; border-radius: 4px;
  background: var(--paper-deep);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.lark-meta {
  font-size: 12px; color: var(--ink-mute);
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.lark-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(72% 0.16 145);
  box-shadow: 0 0 0 3px oklch(72% 0.16 145 / 0.16);
}
.lark-head-r { color: var(--ink-mute); display: flex; align-items: center; }

/* avatars */
.lark-avatar {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', 'Noto Sans SC', sans-serif;
  font-weight: 700; font-variation-settings: "wdth" 88;
  font-size: 14px;
  color: var(--paper);
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.lark-avatar-anya {
  background: var(--ink-paper);
}
.lark-avatar-me {
  background: var(--ember);
  font-size: 12.5px;
}

/* body */
.lark-body {
  padding: 18px 16px 14px;
  background: oklch(96.5% 0.008 80);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 320px;
}
.lark-day {
  align-self: center;
  font-size: 11.5px; color: var(--ink-mute);
  background: oklch(100% 0 0);
  padding: 3px 10px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

.lark-row {
  display: flex; gap: 10px;
  align-items: flex-start;
}
.lark-row-me { justify-content: flex-end; }
.lark-col {
  display: flex; flex-direction: column; gap: 6px;
  max-width: 78%;
  min-width: 0;
}
.lark-row-me .lark-col { align-items: flex-end; }

.lark-bubble {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 4px 12px 12px 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
  word-wrap: break-word;
  max-width: 100%;
}
.lark-bubble-me {
  background: var(--ember);
  color: var(--paper);
  border-color: transparent;
  border-radius: 12px 4px 12px 12px;
}
.lark-bubble-me strong { color: var(--paper); font-weight: 700; }

.lark-bubble-card {
  padding: 12px 14px 10px;
  background: var(--paper);
  border-color: var(--rule);
}
.lark-card-title {
  font-size: 12px; font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.lark-steps {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; line-height: 1.45;
}
.lark-steps li { display: flex; gap: 8px; align-items: baseline; color: var(--ink-soft); }
.lark-tick {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--ember); font-weight: 600;
  min-width: 14px;
}
.lark-tick-active {
  animation: lark-pulse 1.4s var(--ease-out) 4;
}
@keyframes lark-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.85); }
}

.lark-bubble-success {
  background: oklch(96% 0.06 145);
  border-color: oklch(85% 0.12 145);
  color: oklch(28% 0.08 145);
}
.lark-ok {
  font-weight: 600;
  color: oklch(40% 0.16 145);
}
.lark-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--ember-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lark-time {
  font-size: 10.5px;
  color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace;
  padding-inline: 2px;
}

.lark-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: oklch(99% 0.005 80);
  border-top: 1px solid var(--rule-soft);
}
.lark-input {
  flex: 1;
  font-size: 13px; color: var(--ink-mute);
  padding: 7px 10px;
  background: oklch(96% 0.008 80);
  border-radius: 8px;
}
.lark-send {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ember);
  color: var(--paper);
  border-radius: 8px;
}

/* hero side specs */
.hero-side {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 22px;
}
.spec {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.spec dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.spec dd {
  margin: 0;
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

/* ───────────── Pain section ───────────── */
.pain {
  background: var(--paper-warm);
  position: relative;
}
.pain-grid {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .pain-grid { grid-template-columns: 0.42fr 0.58fr; align-items: start; }
}
.pain-h {
  font-size: var(--t-h2);
  margin: 18px 0 0;
}
.pain-h em {
  font-style: italic;
  color: var(--ember);
  font-variation-settings: "wdth" 92, "opsz" 96;
}
.pain-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.pain-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.pain-list li:first-child { padding-top: 6px; }
.pain-list .what { font-size: 18px; color: var(--ink); font-weight: 500; line-height: 1.4; }
.pain-list .what small { display:block; margin-top: 6px; font-weight: 400; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

/* ───────────── Two paths ───────────── */
.paths {
  background: var(--paper);
}
.paths-head {
  margin-bottom: clamp(28px, 3vw, 48px);
}
.paths-head h2 {
  font-size: var(--t-h2); margin: 14px 0 0;
}
.paths-head p {
  margin: 0; color: var(--ink-soft); max-width: 52ch; font-size: var(--t-lead);
}
.paths-grid {
  display: grid; gap: 1px;
  grid-template-columns: 1fr;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 24px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .paths-grid { grid-template-columns: 1fr 1fr; }
}
.path {
  background: var(--paper);
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column;
  min-height: 460px;
  position: relative;
}
.path:hover { background: oklch(98% 0.008 75); }
.path .who {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ember-deep);
  margin-bottom: 14px;
}
.path h3 {
  font-family: 'Bricolage Grotesque', 'Noto Sans SC', sans-serif;
  font-weight: 700; font-variation-settings: "wdth" 90;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--ink);
}
.path p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 38ch;
}
.path-sample {
  margin-top: auto;
  border-top: 1px dashed var(--rule);
  padding-top: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.path-sample .dim { color: var(--ink-mute); }
.path-sample .key { color: var(--ember-deep); }
.path-sample .you::before { content: '你 › '; color: var(--ember-deep); font-weight: 600; }

/* ───────────── How it works ───────────── */
.how {
  background: var(--ink-paper);
  color: var(--paper);
}
.how .eyebrow { color: oklch(75% 0.025 60); }
.how h2 {
  font-family: 'Bricolage Grotesque', 'Noto Sans SC', sans-serif;
  font-weight: 700; font-variation-settings: "wdth" 88;
  font-size: var(--t-h2);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 16px 0 clamp(48px, 5vw, 80px);
  color: var(--paper);
  max-width: 24ch;
}
.how h2 em { font-style: italic; color: var(--ember); font-variation-settings: "wdth" 92, "opsz" 96; }
.steps {
  display: grid; gap: clamp(40px, 4vw, 72px);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  padding-top: 16px;
}
.step::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0;
  height: 1px; background: oklch(100% 0 0 / 0.16);
}
.step .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: "wdth" 78, "opsz" 96;
  font-weight: 700;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1; color: var(--ember);
  letter-spacing: -0.04em;
}
.step h3 {
  margin: 8px 0 4px;
  font-family: 'Bricolage Grotesque', 'Noto Sans SC', sans-serif;
  font-weight: 600; font-variation-settings: "wdth" 92;
  font-size: 21px;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  color: oklch(80% 0.015 70);
  font-size: 15px;
  line-height: 1.6;
}
.step code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: oklch(82% 0.12 60);
  background: oklch(100% 0 0 / 0.04);
  padding: 1px 6px; border-radius: 4px;
}

/* ───────────── MCP tools ───────────── */
.tools {
  background: var(--paper);
}
.tools-head {
  margin-bottom: clamp(40px, 4vw, 64px);
}
.tools-head h2 {
  font-size: var(--t-h2); margin: 14px 0 0;
}
.tool-list {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--ink);
}
.tool-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .25s var(--ease-out);
}
.tool-list li:hover {
  background: var(--ember-tint);
}
.tool-list .name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 600; color: var(--ink);
}
.tool-list .desc {
  color: var(--ink-soft);
  font-size: 16px; line-height: 1.5;
}
.tool-list .scope {
  font-size: 13px; color: var(--ink-mute);
  text-align: right;
}
@media (max-width: 760px) {
  .tool-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .tool-list .scope { text-align: left; }
}

/* ───────────── Permission table ───────────── */
.perms {
  background: var(--paper-warm);
}
.perms-grid {
  display: grid; gap: clamp(40px, 4vw, 64px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .perms-grid { grid-template-columns: 0.42fr 0.58fr; }
}
.perms h2 { font-size: var(--t-h2); margin: 16px 0 0; }
.perms-text { color: var(--ink-soft); margin-top: 18px; max-width: 38ch; font-size: 16px; }
.perms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--rule);
}
.perms-table th, .perms-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.perms-table thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  background: var(--paper-warm);
}
.perms-table tbody th {
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
  width: 32%;
}
.perms-table .yes { color: var(--ember-deep); font-weight: 600; }
.perms-table .no  { color: var(--ink-mute); }
.perms-table tr:last-child td, .perms-table tr:last-child th { border-bottom: 0; }

/* ───────────── CTA ───────────── */
.cta {
  background: var(--paper);
  position: relative; overflow: hidden;
}
.cta-inner {
  display: grid; gap: clamp(36px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: end;
  border-top: 1px solid var(--ink);
  padding-top: clamp(48px, 5vw, 72px);
}
@media (min-width: 900px) {
  .cta-inner { grid-template-columns: 1.3fr 0.7fr; }
}
.cta-title {
  font-family: 'Bricolage Grotesque', 'Noto Sans SC', sans-serif;
  font-weight: 700; font-variation-settings: "wdth" 82, "opsz" 96;
  font-size: var(--t-mega);
  line-height: 0.88; letter-spacing: -0.04em;
  margin: 0; color: var(--ink);
}
.cta-title em {
  font-style: italic; color: var(--ember);
  font-variation-settings: "wdth" 92, "opsz" 96;
}
.cta-side {
  display: flex; flex-direction: column; gap: 24px;
}
.cta-side p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }
.cta-side .btn-primary { align-self: start; }

/* ───────────── Footer ───────────── */
footer.foot {
  background: var(--ink-paper);
  color: oklch(82% 0.018 70);
  padding-block: clamp(48px, 5vw, 80px);
}
.foot-inner {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .foot-inner { grid-template-columns: 1fr 1fr 1fr; }
}
.foot h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(70% 0.025 60);
  margin: 0 0 14px;
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.foot a:hover { color: var(--ember); }
.foot .brand { color: var(--paper); font-size: 18px; }
.foot .brand-mark path { fill: var(--ember); }
.foot-blurb {
  margin: 18px 0 0;
  color: oklch(70% 0.018 70);
  font-size: 14px; line-height: 1.65;
  max-width: 32ch;
}
.foot-bottom {
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: 22px;
  border-top: 1px solid oklch(100% 0 0 / 0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: oklch(65% 0.015 60);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}

/* ───────────── Reveal motion ───────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
