/* 如悟 · evidence-first research portal */
:root {
  color-scheme: light;
  --ink-950: #102523;
  --ink-900: #153330;
  --ink-800: #234844;
  --ink-700: #38605b;
  --ink-600: #55736f;
  --ink-500: #718985;
  --ink-400: #97aaa6;
  --ink-300: #bdcbc7;
  --ink-200: #d7e0dd;
  --ink-150: #e3e9e6;
  --ink-100: #edf1ef;
  --ink-50: #f5f7f5;
  --paper: #fbfcfa;
  --white: #ffffff;
  --teal-700: #176859;
  --teal-600: #1f7a68;
  --teal-500: #32917c;
  --teal-300: #8fcbbc;
  --teal-200: #bce0d6;
  --teal-100: #dff0eb;
  --teal-50: #eff8f5;
  --amber-700: #8c5a12;
  --amber-500: #c58a32;
  --amber-300: #e8bf79;
  --amber-100: #f8ebd3;
  --red-600: #ad493e;
  --red-100: #f8e7e4;
  --blue-600: #356a9b;
  --shadow-xs: 0 1px 2px rgb(15 40 36 / 5%);
  --shadow-sm: 0 8px 24px rgb(14 42 37 / 7%);
  --shadow-md: 0 18px 56px rgb(14 42 37 / 12%);
  --shadow-lg: 0 28px 90px rgb(10 34 30 / 18%);
  --radius-sm: 8px;
  --radius-md: 13px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --page-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink-950);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open { overflow: hidden; }

button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.03em; }
::selection { color: var(--ink-950); background: var(--teal-200); }

:focus-visible {
  outline: 3px solid rgb(50 145 124 / 34%);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.page-width { width: min(calc(100% - 48px), var(--page-width)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: #fff;
  background: var(--ink-950);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 730; }
.brand__mark { flex: 0 0 auto; border-radius: 12px; box-shadow: 0 5px 14px rgb(21 71 65 / 16%); }
.brand__wordmark { font-family: var(--font-serif); font-size: 22px; letter-spacing: .06em; }
.brand__domain { padding-left: 10px; color: var(--ink-500); border-left: 1px solid var(--ink-200); font-size: 12px; font-weight: 560; letter-spacing: .04em; }

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: wait; opacity: .66; transform: none; }
.button--primary { color: #fff; background: var(--ink-900); border-color: var(--ink-900); box-shadow: 0 8px 20px rgb(15 52 47 / 14%); }
.button--primary:hover { background: var(--teal-700); border-color: var(--teal-700); box-shadow: 0 10px 26px rgb(23 104 89 / 20%); }
.button--secondary { color: var(--ink-900); background: var(--white); border-color: var(--ink-200); box-shadow: var(--shadow-xs); }
.button--secondary:hover { border-color: var(--ink-400); }
.button--quiet { color: var(--ink-800); }
.button--quiet:hover { background: var(--ink-100); }
.button--text { padding-inline: 4px; color: var(--ink-700); }
.button--text:hover { color: var(--teal-700); }
.button--small { min-height: 38px; padding: 7px 15px; }
.button--large { min-height: 50px; padding: 12px 22px; border-radius: 11px; }
.button--full { width: 100%; min-height: 48px; }
.button-spinner { display: none; width: 15px; height: 15px; border: 2px solid rgb(255 255 255 / 35%); border-top-color: #fff; border-radius: 50%; animation: spin .75s linear infinite; }
.button.is-loading .button-spinner { display: block; }

.icon-button { display: inline-grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 0; border-radius: 9px; background: transparent; }
.icon-button:hover { background: var(--ink-100); }
.link-button { padding: 0; color: var(--teal-700); border: 0; background: transparent; font-size: 13px; font-weight: 650; }
.link-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-button--danger { color: var(--red-600); }

.eyebrow, .console-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--teal-700);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--teal-300); }
.signal-dot { width: 7px; height: 7px; background: var(--teal-500); border-radius: 50%; box-shadow: 0 0 0 5px var(--teal-100); }

/* Public navigation */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgb(251 252 250 / 86%);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled { border-color: var(--ink-150); box-shadow: 0 5px 20px rgb(26 54 50 / 4%); }
.site-header__inner { display: flex; min-height: 72px; align-items: center; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 36px; }
.site-nav a { position: relative; color: var(--ink-600); font-size: 13px; font-weight: 570; }
.site-nav a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--teal-600); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 150ms ease; }
.site-nav a:hover { color: var(--ink-900); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-header__actions { display: flex; gap: 4px; }
.menu-button { display: none; margin-left: auto; }
.menu-button span, .console-menu span { display: block; width: 18px; height: 1.5px; margin: 2px 0; background: currentColor; border-radius: 2px; }

/* Hero */
.landing-page { background: linear-gradient(180deg, #f9fbf8 0, var(--paper) 680px); }
.hero {
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, .91fr) minmax(480px, 1.09fr);
  align-items: center;
  gap: clamp(48px, 6vw, 86px);
  padding-block: 72px 84px;
}
.hero__copy h1 { max-width: 650px; margin-bottom: 27px; font-family: var(--font-serif); font-size: clamp(46px, 5.2vw, 72px); font-weight: 580; letter-spacing: -.055em; }
.hero__copy h1 em { color: var(--teal-700); font-style: normal; }
.hero__lead { max-width: 590px; margin-bottom: 30px; color: var(--ink-600); font-size: 17px; line-height: 1.85; }
.hero__actions { display: flex; align-items: center; gap: 22px; margin-bottom: 44px; }
.hero__facts { display: flex; gap: 0; margin: 0; }
.hero__facts div { min-width: 126px; padding-right: 24px; }
.hero__facts div + div { padding-left: 24px; border-left: 1px solid var(--ink-200); }
.hero__facts dt { margin-bottom: 4px; color: var(--ink-500); font-size: 10px; font-weight: 650; letter-spacing: .1em; }
.hero__facts dd { margin: 0; color: var(--ink-800); font-size: 13px; font-weight: 650; }

.scope-board { position: relative; overflow: hidden; border: 1px solid var(--ink-200); border-radius: 21px; background: var(--white); box-shadow: var(--shadow-lg); }
.scope-board::before { position: absolute; top: -140px; right: -100px; width: 280px; height: 280px; border: 1px solid var(--teal-200); border-radius: 50%; content: ""; box-shadow: 0 0 0 40px rgb(223 240 235 / 45%), 0 0 0 80px rgb(223 240 235 / 20%); }
.scope-board__topbar, .scope-board__footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.scope-board__topbar { padding: 18px 21px; border-bottom: 1px solid var(--ink-150); background: rgb(251 252 250 / 82%); }
.scope-board__topbar strong { display: block; margin-top: 2px; font-size: 13px; }
.scope-board__kicker { color: var(--ink-500); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; color: var(--ink-600); border: 1px solid var(--ink-200); border-radius: 99px; background: var(--white); font-size: 10px; font-weight: 650; }
.status-pill i { width: 6px; height: 6px; background: var(--ink-400); border-radius: 50%; }
.status-pill--active { color: var(--teal-700); border-color: var(--teal-200); background: var(--teal-50); }
.status-pill--active i { background: var(--teal-500); box-shadow: 0 0 0 3px rgb(50 145 124 / 13%); animation: breathe 2s ease-in-out infinite; }
.scope-board__body { position: relative; z-index: 1; padding: 21px 23px 13px; }
.illustration-label { margin-bottom: 20px; color: var(--ink-400); font-size: 9px; font-weight: 650; letter-spacing: .06em; }
.convergence-path { position: relative; margin: 0; padding: 0; list-style: none; }
.convergence-path::before { position: absolute; top: 28px; bottom: 39px; left: 16px; width: 1px; background: linear-gradient(var(--ink-200), var(--teal-500)); content: ""; }
.convergence-path li { position: relative; display: grid; grid-template-columns: 33px minmax(0, 1fr) auto; gap: 13px; align-items: start; padding-bottom: 25px; }
.convergence-path__node { position: relative; z-index: 1; display: grid; width: 33px; height: 33px; place-items: center; color: var(--ink-500); border: 1px solid var(--ink-200); border-radius: 50%; background: #fff; font-size: 8px; font-weight: 760; }
.convergence-path__node--final { color: #fff; border-color: var(--teal-700); background: var(--teal-700); box-shadow: 0 0 0 5px var(--teal-100); }
.convergence-path__label { display: block; margin-bottom: 1px; color: var(--ink-400); font-size: 9px; font-weight: 650; }
.convergence-path strong { display: block; overflow: hidden; color: var(--ink-800); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.convergence-path output { padding-top: 12px; color: var(--ink-900); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 700; }
.convergence-path output small { color: var(--ink-400); font-family: var(--font-sans); font-size: 9px; }
.keyword-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.keyword-row span { padding: 2px 7px; color: var(--ink-600); border: 1px solid var(--ink-150); border-radius: 4px; background: var(--ink-50); font-size: 8px; }
.keyword-row--muted span { color: var(--teal-700); border-color: var(--teal-100); background: var(--teal-50); }
.keyword-row--final span { color: var(--amber-700); border-color: var(--amber-100); background: #fffaf0; }
.scope-board__footer { padding: 15px 22px; border-top: 1px solid var(--ink-150); background: var(--ink-50); }
.evidence-mini { display: flex; align-items: center; gap: 11px; }
.evidence-mini__icon { display: grid; width: 32px; height: 32px; place-items: center; color: var(--teal-700); border: 1px solid var(--teal-200); border-radius: 7px; background: var(--teal-50); font-family: var(--font-serif); font-size: 17px; }
.evidence-mini strong, .evidence-mini small { display: block; }
.evidence-mini strong { font-size: 10px; }
.evidence-mini small { color: var(--ink-500); font-size: 8px; }
.scope-board__format { color: var(--ink-500); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }

.method-ribbon { overflow: hidden; color: var(--ink-300); border-block: 1px solid rgb(255 255 255 / 8%); background: var(--ink-950); }
.method-ribbon__inner { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; font-weight: 650; letter-spacing: .06em; white-space: nowrap; }
.method-ribbon__inner i { color: var(--teal-500); font-style: normal; }

/* Public sections */
.section { padding-block: 118px; }
.section--tinted { background: #eef3f0; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading--split { display: grid; max-width: none; grid-template-columns: 1.2fr .65fr; gap: 100px; align-items: end; }
.section-heading h2, .principles h2, .download-panel h2, .closing-cta h2 { margin-bottom: 0; font-family: var(--font-serif); font-size: clamp(34px, 4.1vw, 54px); font-weight: 560; }
.section-heading--split > p { margin: 0; color: var(--ink-600); font-size: 15px; line-height: 1.9; }

.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; border-block: 1px solid var(--ink-200); list-style: none; }
.workflow-card { position: relative; min-height: 350px; padding: 30px 26px 24px; border-right: 1px solid var(--ink-200); transition: background 180ms ease, transform 180ms ease; }
.workflow-card:first-child { border-left: 1px solid var(--ink-200); }
.workflow-card:hover { z-index: 1; background: #f4f8f5; transform: translateY(-5px); }
.workflow-card__number { color: var(--ink-400); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.workflow-card h3 { margin: 26px 0 14px; font-size: 19px; }
.workflow-card p { margin-bottom: 23px; color: var(--ink-600); font-size: 13px; line-height: 1.8; }
.workflow-card__meta { position: absolute; bottom: 23px; left: 26px; color: var(--teal-700); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.workflow-card__glyph { position: relative; width: 100%; height: 95px; margin-top: 22px; }
.glyph-map i { position: absolute; width: 10px; height: 10px; border: 2px solid var(--teal-500); border-radius: 50%; background: var(--white); }
.glyph-map i:nth-child(1) { top: 8px; left: 14%; }
.glyph-map i:nth-child(2) { top: 37px; left: 48%; }
.glyph-map i:nth-child(3) { top: 5px; right: 12%; }
.glyph-map i:nth-child(4) { bottom: 5px; left: 22%; }
.glyph-map::before, .glyph-map::after { position: absolute; height: 1px; background: var(--ink-300); content: ""; transform-origin: left; }
.glyph-map::before { top: 20px; left: 18%; width: 66%; transform: rotate(9deg); }
.glyph-map::after { top: 48px; left: 25%; width: 39%; transform: rotate(-15deg); }
.glyph-funnel i { position: absolute; left: 50%; height: 1px; background: var(--teal-500); transform: translateX(-50%); }
.glyph-funnel i:nth-child(1) { top: 16px; width: 84%; }
.glyph-funnel i:nth-child(2) { top: 43px; width: 55%; }
.glyph-funnel i:nth-child(3) { top: 70px; width: 22%; }
.glyph-funnel::after { position: absolute; top: 12px; bottom: 18px; left: 50%; width: 52%; border-inline: 1px solid var(--ink-300); content: ""; transform: translateX(-50%) perspective(60px) rotateX(-18deg); }
.glyph-evidence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: center; }
.glyph-evidence i { height: 65px; border: 1px solid var(--ink-200); border-radius: 4px; background: repeating-linear-gradient(to bottom, transparent 0 12px, var(--ink-150) 12px 13px); }
.glyph-evidence i:nth-child(2) { border-color: var(--teal-300); background-color: var(--teal-50); transform: translateY(-5px); }
.glyph-document { width: 72%; margin-inline: auto; border: 1px solid var(--ink-200); border-radius: 3px; background: #fff; box-shadow: 7px 7px 0 var(--teal-100); }
.glyph-document i { display: block; width: 72%; height: 1px; margin: 20px auto 0; background: var(--ink-300); }
.glyph-document i:nth-child(2) { width: 54%; margin-top: 12px; }
.glyph-document i:nth-child(3) { width: 64%; margin-top: 12px; background: var(--teal-400, #78b8a8); }

.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.capability-card { min-height: 380px; padding: 33px; overflow: hidden; border: 1px solid var(--ink-200); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-xs); }
.capability-card--wide { display: grid; min-height: 330px; grid-column: 1 / -1; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.capability-card--dark { color: #edf5f1; border-color: var(--ink-900); background: var(--ink-950); }
.capability-card h3 { max-width: 480px; margin: 16px 0; font-family: var(--font-serif); font-size: 28px; font-weight: 560; }
.capability-card p { max-width: 540px; color: var(--ink-600); line-height: 1.85; }
.capability-card--dark p { color: var(--ink-300); }
.card-index { color: var(--teal-600); font-size: 9px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.capability-card--dark .card-index { color: var(--teal-300); }
.skill-stack { display: grid; gap: 9px; }
.skill-stack > div { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 16px 17px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 9px; background: rgb(255 255 255 / 4%); }
.skill-stack span { color: var(--ink-400); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.skill-stack strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 550; }
.run-state { padding: 3px 7px; color: var(--ink-400); border: 1px solid rgb(255 255 255 / 10%); border-radius: 99px; font-size: 8px; font-style: normal; }
.run-state--done { color: var(--teal-300); border-color: rgb(143 203 188 / 24%); background: rgb(143 203 188 / 8%); }
.run-state--active { color: var(--amber-300); border-color: rgb(232 191 121 / 24%); background: rgb(232 191 121 / 8%); }
.citation-demo { margin-top: 44px; }
.citation-demo > p { padding: 18px; color: var(--ink-800); border: 1px solid var(--ink-150); border-radius: 7px; background: #fff; font-family: var(--font-serif); }
.citation-demo mark { padding: 2px 4px; color: var(--teal-700); border-radius: 3px; background: var(--teal-100); font-family: var(--font-sans); font-size: 10px; }
.citation-demo > span { display: block; width: 1px; height: 25px; margin-left: 29px; background: var(--teal-300); }
.citation-demo blockquote { margin: 0; padding: 16px 18px; color: var(--ink-700); border-left: 3px solid var(--teal-500); background: var(--teal-50); font-family: var(--font-serif); font-size: 13px; }
.citation-demo cite { display: block; margin-top: 9px; color: var(--ink-500); font-family: var(--font-sans); font-size: 9px; font-style: normal; }
.journal-list { margin: 33px 0 0; padding: 0; list-style: none; }
.journal-list li { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--ink-150); }
.journal-list span { font-family: var(--font-serif); font-size: 16px; }
.journal-list i { color: var(--ink-500); font-size: 9px; font-style: normal; }
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.deliverables > span { padding: 20px 16px; border: 1px solid var(--ink-150); border-radius: 10px; background: #fff; }
.deliverables strong, .deliverables small { display: block; }
.deliverables strong { margin-top: 19px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.deliverables small { margin-top: 4px; color: var(--ink-500); font-size: 9px; }
.file-icon { display: grid; width: 36px; height: 43px; place-items: center; color: var(--teal-700); border: 1px solid var(--teal-200); border-radius: 4px 4px 8px 4px; background: var(--teal-50); font-size: 8px; font-style: normal; font-weight: 760; }
.file-icon--bib { color: var(--amber-700); border-color: var(--amber-300); background: #fff9ed; }
.file-icon--csv { color: var(--blue-600); border-color: #bad1e6; background: #f1f7fc; }

.principles { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; align-items: start; }
.principles__statement { position: sticky; top: 130px; }
.principles__list article { display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid var(--ink-200); }
.principles__list article:last-child { border-bottom: 1px solid var(--ink-200); }
.principles__list > article > span { padding-top: 3px; color: var(--teal-600); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.principles__list h3 { margin-bottom: 8px; font-size: 18px; }
.principles__list p { margin: 0; color: var(--ink-600); font-size: 13px; }

.download-section { padding-inline: 24px; }
.download-panel { position: relative; display: grid; width: min(100%, 1330px); min-height: 520px; grid-template-columns: 1fr .85fr; gap: 80px; align-items: center; padding: 70px max(48px, calc((100% - var(--page-width)) / 2)); overflow: hidden; color: #eef6f3; border-radius: 26px; background: var(--ink-950); }
.download-panel::before { position: absolute; top: -260px; right: -150px; width: 620px; height: 620px; border: 1px solid rgb(143 203 188 / 14%); border-radius: 50%; box-shadow: 0 0 0 70px rgb(143 203 188 / 4%), 0 0 0 140px rgb(143 203 188 / 3%); content: ""; }
.download-panel__copy, .release-list { position: relative; z-index: 1; }
.download-panel__copy p:not(.eyebrow) { max-width: 590px; margin: 26px 0; color: var(--ink-300); }
.download-security { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--teal-300); font-size: 10px; font-weight: 650; }
.release-list { min-height: 285px; padding: 22px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 16px; background: rgb(255 255 255 / 5%); backdrop-filter: blur(12px); }
.release-list > p { margin: 15px 0 0; color: var(--ink-300); font-size: 11px; text-align: center; }
.public-release { display: grid; grid-template-columns: 43px 1fr auto; gap: 13px; align-items: center; padding: 14px; border: 1px solid rgb(255 255 255 / 9%); border-radius: 10px; background: rgb(255 255 255 / 4%); }
.public-release + .public-release { margin-top: 9px; }
.platform-icon { display: grid; width: 43px; height: 43px; place-items: center; color: var(--ink-950); border-radius: 9px; background: var(--teal-200); font-size: 11px; font-weight: 760; }
.public-release strong, .public-release small { display: block; }
.public-release strong { font-size: 12px; }
.public-release small { margin-top: 2px; color: var(--ink-300); font-size: 9px; }
.public-release > div { min-width: 0; }
.public-release__checksum { display: flex; min-width: 0; gap: 7px; align-items: flex-start; margin-top: 7px; }
.public-release__checksum code { min-width: 0; color: var(--ink-300); font-size: 7px; line-height: 1.45; overflow-wrap: anywhere; user-select: all; }
.public-release__checksum button { flex: 0 0 auto; padding: 1px 4px; color: var(--teal-200); border: 0; background: transparent; font-size: 7px; white-space: nowrap; }
.public-release .button { min-height: 35px; padding: 7px 12px; color: var(--ink-950); background: var(--teal-200); font-size: 10px; }
.release-skeleton { display: grid; gap: 10px; }
.release-skeleton i { display: block; height: 66px; border-radius: 10px; background: linear-gradient(90deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 8%), rgb(255 255 255 / 4%)); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.release-empty { display: grid; min-height: 235px; place-items: center; text-align: center; }
.release-empty > div { max-width: 280px; }
.release-empty strong { display: block; margin-bottom: 7px; font-family: var(--font-serif); font-size: 20px; }
.release-empty p { color: var(--ink-300); }

.closing-cta { padding-block: 110px 125px; text-align: center; }
.closing-cta .eyebrow { justify-content: center; }
.closing-cta h2 { margin-bottom: 33px; }
.closing-cta small { display: block; max-width: 480px; margin: 18px auto 0; color: var(--ink-500); font-size: 10px; }

.site-footer { color: var(--ink-300); border-top: 1px solid rgb(255 255 255 / 7%); background: var(--ink-950); }
.site-footer__inner { display: grid; min-height: 210px; grid-template-columns: 1fr auto; gap: 25px 80px; align-content: center; }
.brand--footer { color: #fff; }
.brand--footer span { font-family: var(--font-serif); font-size: 19px; }
.site-footer__inner > div p { margin: 10px 0 0; color: var(--ink-400); font-size: 11px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 11px; }
.site-footer nav a:hover { color: #fff; }
.site-footer__copyright { grid-column: 1 / -1; margin: 0; padding-top: 19px; color: var(--ink-500); border-top: 1px solid rgb(255 255 255 / 7%); font-size: 9px; }

/* Authentication dialog */
.auth-dialog { width: min(850px, calc(100% - 32px)); max-height: min(760px, calc(100vh - 32px)); padding: 0; overflow: auto; color: var(--ink-950); border: 0; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-lg); }
.auth-dialog::backdrop { background: rgb(6 25 22 / 62%); backdrop-filter: blur(7px); }
.auth-dialog__layout { display: grid; min-height: 590px; grid-template-columns: 310px 1fr; }
.auth-dialog__aside { position: relative; overflow: hidden; padding: 42px 34px; color: #edf5f1; background: var(--ink-950); }
.auth-dialog__aside::after { position: absolute; right: -120px; bottom: -130px; width: 320px; height: 320px; border: 1px solid rgb(143 203 188 / 15%); border-radius: 50%; box-shadow: 0 0 0 45px rgb(143 203 188 / 5%), 0 0 0 90px rgb(143 203 188 / 3%); content: ""; }
.auth-dialog__aside > p { margin: 80px 0 38px; font-family: var(--font-serif); font-size: 23px; line-height: 1.6; }
.auth-dialog__aside ol { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.auth-dialog__aside li { display: flex; gap: 11px; align-items: center; padding: 10px 0; color: var(--ink-300); font-size: 11px; }
.auth-dialog__aside li span { display: grid; width: 21px; height: 21px; place-items: center; color: var(--teal-300); border: 1px solid rgb(143 203 188 / 24%); border-radius: 50%; font-size: 8px; }
.auth-dialog__main { position: relative; padding: 34px 52px 42px; }
.dialog-close { position: absolute; top: 18px; right: 18px; display: grid; width: 33px; height: 33px; place-items: center; padding: 0; color: var(--ink-500); border: 0; border-radius: 8px; background: transparent; font-size: 22px; font-weight: 300; }
.dialog-close:hover { color: var(--ink-900); background: var(--ink-100); }
.auth-tabs { display: inline-flex; gap: 4px; margin-bottom: 38px; padding: 3px; border-radius: 8px; background: var(--ink-100); }
.auth-tabs button { min-width: 70px; padding: 6px 12px; color: var(--ink-500); border: 0; border-radius: 6px; background: transparent; font-size: 11px; font-weight: 650; }
.auth-tabs button[aria-selected="true"] { color: var(--ink-900); background: #fff; box-shadow: var(--shadow-xs); }
.auth-dialog__eyebrow { margin-bottom: 5px; color: var(--teal-700); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.auth-dialog h2 { margin-bottom: 25px; font-family: var(--font-serif); font-size: 31px; font-weight: 560; }
.field { display: block; margin-bottom: 15px; }
.field > span:first-child { display: block; margin-bottom: 6px; color: var(--ink-700); font-size: 10px; font-weight: 650; }
.field input { width: 100%; height: 45px; padding: 10px 12px; border: 1px solid var(--ink-200); border-radius: 8px; background: #fff; outline: 0; transition: border 150ms ease, box-shadow 150ms ease; }
.field input:hover { border-color: var(--ink-400); }
.field input:focus { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgb(50 145 124 / 12%); }
.field input:user-invalid { border-color: var(--red-600); }
.field > small { display: block; margin-top: 5px; color: var(--ink-500); font-size: 9px; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 56px; }
.password-field button { position: absolute; top: 50%; right: 7px; padding: 4px 7px; color: var(--ink-500); border: 0; background: transparent; font-size: 9px; transform: translateY(-50%); }
.auth-dialog__form-row { display: flex; align-items: center; justify-content: space-between; margin: 18px 0; }
.session-duration-note { max-width: 230px; color: var(--ink-500); font-size: 9px; line-height: 1.45; }
.checkbox { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-600); font-size: 10px; }
.checkbox input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--teal-700); }
.checkbox--terms { margin: 16px 0; line-height: 1.6; }
.checkbox a { color: var(--teal-700); }
.form-message { min-height: 20px; margin: 0 0 5px; color: var(--red-600); font-size: 10px; }
.form-message.is-success { color: var(--teal-700); }

/* Shared states */
.toast-region { position: fixed; z-index: 1000; right: 20px; bottom: 20px; display: grid; gap: 9px; pointer-events: none; }
.toast { min-width: 260px; max-width: 390px; padding: 13px 15px; color: #fff; border: 1px solid rgb(255 255 255 / 10%); border-radius: 10px; background: var(--ink-950); box-shadow: var(--shadow-md); font-size: 11px; animation: toast-in 180ms ease both; }
.toast--error { background: #6e302b; }
.toast--success { background: var(--teal-700); }
.inline-loading { display: flex; min-height: 90px; align-items: center; justify-content: center; gap: 10px; color: var(--ink-500); font-size: 11px; }
.inline-loading i { width: 15px; height: 15px; border: 2px solid var(--ink-200); border-top-color: var(--teal-600); border-radius: 50%; animation: spin .8s linear infinite; }
.empty-state { display: grid; min-height: 185px; place-items: center; padding: 35px; text-align: center; }
.empty-state__mark { display: grid; width: 42px; height: 42px; margin: 0 auto 13px; place-items: center; color: var(--teal-700); border: 1px solid var(--teal-200); border-radius: 50%; background: var(--teal-50); font-family: var(--font-serif); font-size: 18px; }
.empty-state strong { display: block; margin-bottom: 5px; font-size: 13px; }
.empty-state p { max-width: 390px; margin: 0 auto 13px; color: var(--ink-500); font-size: 10px; }
.error-state .empty-state__mark { color: var(--red-600); border-color: #e7bcb7; background: var(--red-100); }

/* Console shell */
.console-page { min-height: 100vh; background: #edf1ee; }
.console-loading { display: grid; min-height: 100vh; place-content: center; justify-items: center; gap: 13px; color: var(--ink-600); }
.console-loading img { animation: loading-mark 1.3s ease-in-out infinite; }
.console-loading p { font-size: 11px; }
.console-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 120; inset: 0 auto 0 0; display: flex; width: 246px; flex-direction: column; padding: 20px 14px 14px; color: var(--ink-300); border-right: 1px solid rgb(255 255 255 / 7%); background: var(--ink-950); }
.sidebar__head { display: flex; align-items: center; justify-content: space-between; padding: 0 7px 21px; }
.brand--console { color: #fff; gap: 10px; }
.brand--console > span { font-family: var(--font-serif); font-size: 18px; line-height: 1.1; }
.brand--console small { display: block; margin-top: 4px; color: var(--ink-500); font-family: var(--font-sans); font-size: 7px; font-weight: 600; letter-spacing: .1em; }
.sidebar-close { display: none; color: var(--ink-300); font-size: 21px; }
.new-research-button { display: flex; min-height: 43px; align-items: center; gap: 10px; margin: 3px 6px 21px; padding: 9px 13px; color: #fff; border: 1px solid rgb(143 203 188 / 22%); border-radius: 9px; background: rgb(143 203 188 / 10%); font-size: 11px; font-weight: 650; transition: background 150ms ease, border 150ms ease; }
.new-research-button:hover { border-color: rgb(143 203 188 / 38%); background: rgb(143 203 188 / 16%); }
.new-research-button span { color: var(--teal-300); font-size: 18px; font-weight: 300; }
.console-nav { display: grid; gap: 3px; }
.console-nav button, .console-nav a { display: grid; min-height: 39px; grid-template-columns: 19px 1fr auto; gap: 10px; align-items: center; padding: 8px 11px; color: var(--ink-400); border: 0; border-radius: 8px; background: transparent; font-size: 11px; text-align: left; }
.console-nav button:hover, .console-nav a:hover { color: var(--ink-200); background: rgb(255 255 255 / 5%); }
.console-nav button[aria-current="page"] { color: #fff; background: rgb(255 255 255 / 8%); box-shadow: inset 2px 0 var(--teal-300); }
.console-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.console-nav button:first-child svg path { fill: currentColor; stroke: none; }
.nav-count { min-width: 22px; padding: 1px 6px; color: var(--ink-400); border-radius: 99px; background: rgb(255 255 255 / 7%); font-size: 8px; text-align: center; }
.sidebar__section-label { margin: 22px 11px 8px; color: var(--ink-600); font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.sidebar__user { display: grid; grid-template-columns: 34px 1fr 30px; gap: 9px; align-items: center; margin-top: auto; padding: 13px 7px 0; border-top: 1px solid rgb(255 255 255 / 7%); }
.sidebar__user strong, .sidebar__user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar__user strong { color: var(--ink-200); font-size: 10px; }
.sidebar__user small { max-width: 115px; color: var(--ink-500); font-size: 8px; }
.sidebar__user .icon-button { width: 30px; height: 30px; color: var(--ink-500); }
.sidebar__user .icon-button:hover { color: #fff; background: rgb(255 255 255 / 7%); }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; color: var(--ink-950); border-radius: 9px; background: var(--teal-200); font-family: var(--font-serif); font-size: 14px; font-weight: 700; }
.sidebar-scrim { display: none; }

.console-workspace { min-height: 100vh; margin-left: 246px; }
.console-header { position: sticky; z-index: 90; top: 0; display: flex; height: 66px; align-items: center; padding: 0 31px; border-bottom: 1px solid var(--ink-200); background: rgb(246 248 246 / 88%); backdrop-filter: blur(16px); }
.console-menu { display: none; margin-right: 10px; }
.console-header__title span, .console-header__title strong { display: block; }
.console-header__title span { color: var(--ink-500); font-size: 8px; }
.console-header__title strong { font-size: 12px; }
.console-header__right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.sync-state { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-500); font-size: 9px; }
.sync-state i { width: 6px; height: 6px; background: var(--teal-500); border-radius: 50%; }
.sync-state.is-syncing i { background: var(--amber-500); animation: breathe 1s ease infinite; }
.sync-state.is-error { color: var(--red-600); }
.sync-state.is-error i { background: var(--red-600); }
.credit-chip { display: grid; min-width: 145px; grid-template-columns: 1fr auto auto; gap: 6px; align-items: baseline; padding: 7px 11px; color: var(--ink-600); border: 1px solid var(--ink-200); border-radius: 8px; background: #fff; font-size: 8px; }
.credit-chip strong { color: var(--ink-900); font-size: 13px; }
.credit-chip small { color: var(--ink-400); font-size: 7px; }
.header-avatar { display: none; }

.console-main { width: min(calc(100% - 60px), 1210px); margin-inline: auto; padding-block: 43px 75px; }
.console-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 31px; }
.console-kicker { margin-bottom: 8px; font-size: 8px; }
.console-title-row h1 { margin-bottom: 6px; font-family: var(--font-serif); font-size: 31px; font-weight: 600; }
.console-title-row p:not(.console-kicker) { margin: 0; color: var(--ink-500); font-size: 11px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 18px; }
.metric-card { position: relative; min-height: 142px; padding: 20px; overflow: hidden; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-xs); }
.metric-card > span { display: block; margin-bottom: 16px; color: var(--ink-500); font-size: 9px; }
.metric-card > strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 27px; letter-spacing: -.05em; }
.metric-card > small { margin-left: 5px; color: var(--ink-400); font-size: 8px; }
.metric-card > button { position: absolute; bottom: 17px; left: 20px; padding: 0; color: var(--teal-700); border: 0; background: none; font-size: 8px; }
.metric-card--accent { color: #fff; border-color: var(--ink-900); background: var(--ink-900); }
.metric-card--accent > span, .metric-card--accent > small { color: var(--ink-300); }
.metric-card--accent > button { color: var(--teal-300); }
.metric-spark { position: absolute; right: -8px; bottom: -10px; width: 92px; height: 60px; opacity: .7; }
.metric-spark::before, .metric-spark::after { position: absolute; content: ""; }
.metric-spark::before { inset: 13px 5px; border-top: 2px solid var(--teal-300); transform: skewY(-18deg); }
.metric-spark::after { right: 21px; top: 8px; width: 6px; height: 6px; background: var(--teal-500); border-radius: 50%; }
.metric-spark--decision::before { transform: skewY(10deg); }
.metric-spark--decision::after { right: 50px; top: 26px; background: var(--amber-500); }
.metric-spark--usage::before { border-top-color: var(--blue-600); transform: skewY(-5deg); }

.console-grid { display: grid; gap: 18px; }
.console-grid--main { grid-template-columns: minmax(0, 1.55fr) minmax(250px, .7fr); }
.panel { border: 1px solid var(--ink-200); border-radius: 13px; background: #fff; box-shadow: var(--shadow-xs); }
.panel__head { display: flex; min-height: 77px; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 20px; border-bottom: 1px solid var(--ink-150); }
.panel__head h2 { margin: 2px 0 0; font-size: 14px; }
.panel__kicker { color: var(--ink-400); font-size: 7px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.panel__footer { padding: 13px 20px; color: var(--ink-500); border-top: 1px solid var(--ink-150); }
.panel__footer small { font-size: 8px; }
.panel--projects { min-height: 335px; }
.project-list { padding: 4px 20px 12px; }
.project-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) 110px 75px 20px; gap: 12px; align-items: center; min-height: 73px; border-bottom: 1px solid var(--ink-150); }
.project-row:last-child { border-bottom: 0; }
.project-row__mark { display: grid; width: 34px; height: 34px; place-items: center; color: var(--teal-700); border: 1px solid var(--teal-200); border-radius: 8px; background: var(--teal-50); font-family: var(--font-serif); }
.project-row__name strong, .project-row__name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-row__name strong { font-size: 10px; }
.project-row__name small { margin-top: 3px; color: var(--ink-500); font-size: 8px; }
.project-stage { display: grid; gap: 3px; }
.project-stage small { color: var(--ink-500); font-size: 7px; }
.project-stage strong { overflow: hidden; color: var(--ink-800); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.project-status { justify-self: start; padding: 4px 8px; color: var(--ink-600); border: 1px solid var(--ink-150); border-radius: 99px; background: var(--ink-50); font-size: 7px; white-space: nowrap; }
.project-status--active { color: var(--teal-700); border-color: var(--teal-200); background: var(--teal-50); }
.project-status--attention { color: var(--amber-700); border-color: var(--amber-300); background: #fff9ef; }
.project-row__arrow { color: var(--ink-400); }
.focus-panel { min-height: 335px; padding: 22px; }
.focus-panel > h2 { margin: 4px 0 20px; font-size: 16px; }
.next-action-card { padding: 16px; border: 1px solid var(--amber-300); border-radius: 10px; background: #fffaf1; }
.next-action-card > span { display: inline-block; margin-bottom: 10px; color: var(--amber-700); font-size: 8px; font-weight: 700; }
.next-action-card strong { display: block; margin-bottom: 7px; font-size: 11px; }
.next-action-card p { margin-bottom: 14px; color: var(--ink-600); font-size: 9px; }
.next-action-card .button { min-height: 34px; width: 100%; padding: 6px 10px; font-size: 9px; }
.focus-list { margin: 18px 0 0; padding: 0; list-style: none; }
.focus-list li { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; color: var(--ink-600); border-bottom: 1px solid var(--ink-150); font-size: 8px; }
.focus-list strong { color: var(--ink-900); font-size: 10px; }
.research-method-note { display: grid; grid-template-columns: 42px 1fr auto; gap: 17px; align-items: center; margin-top: 18px; padding: 19px 22px; color: var(--ink-300); border-radius: 12px; background: var(--ink-950); }
.research-method-note__mark { display: grid; width: 40px; height: 40px; place-items: center; color: var(--teal-300); border: 1px solid rgb(143 203 188 / 20%); border-radius: 9px; font-family: var(--font-serif); font-size: 19px; }
.research-method-note span { color: var(--teal-300); font-size: 7px; font-weight: 700; text-transform: uppercase; }
.research-method-note strong { display: block; color: #fff; font-family: var(--font-serif); font-size: 14px; }
.research-method-note p { margin: 2px 0 0; color: var(--ink-400); font-size: 8px; }
.research-method-note > a { color: var(--teal-200); font-size: 9px; font-weight: 650; }

/* Console projects */
.project-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.segmented-control { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--ink-200); border-radius: 8px; background: var(--white); }
.segmented-control button { padding: 6px 13px; color: var(--ink-500); border: 0; border-radius: 5px; background: transparent; font-size: 9px; }
.segmented-control button[aria-pressed="true"] { color: #fff; background: var(--ink-900); }
.search-field { display: flex; width: 220px; height: 37px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--ink-200); border-radius: 8px; background: #fff; }
.search-field svg { width: 14px; fill: none; stroke: var(--ink-400); stroke-width: 1.6; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 9px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.project-card { position: relative; display: flex; min-height: 235px; flex-direction: column; padding: 21px; overflow: hidden; border: 1px solid var(--ink-200); border-radius: 13px; background: #fff; box-shadow: var(--shadow-xs); transition: border 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.project-card:hover { border-color: var(--teal-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.project-card__top { display: flex; align-items: center; justify-content: space-between; }
.project-card h2 { margin: 19px 0 8px; font-family: var(--font-serif); font-size: 17px; }
.project-card > p { display: -webkit-box; overflow: hidden; margin-bottom: 19px; color: var(--ink-500); font-size: 9px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.project-card__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.project-card__meta span { padding: 3px 7px; color: var(--ink-500); border-radius: 4px; background: var(--ink-50); font-size: 7px; }
.project-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--ink-150); }
.project-card__footer small { color: var(--ink-400); font-size: 7px; }
.project-card__footer a { color: var(--teal-700); font-size: 9px; font-weight: 650; }

/* Credits and usage */
.credit-overview-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 17px; margin-bottom: 18px; }
.balance-card { position: relative; min-height: 250px; padding: 28px; overflow: hidden; color: #fff; border-radius: 14px; background: var(--ink-950); box-shadow: var(--shadow-sm); }
.balance-card::after { position: absolute; right: -100px; bottom: -150px; width: 320px; height: 320px; border: 1px solid rgb(143 203 188 / 15%); border-radius: 50%; box-shadow: 0 0 0 40px rgb(143 203 188 / 5%); content: ""; }
.balance-card > span { color: var(--ink-300); font-size: 9px; }
.balance-card > div:not(.balance-meter) { position: relative; z-index: 1; margin: 28px 0 20px; }
.balance-card strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 40px; letter-spacing: -.06em; }
.balance-card small { margin-left: 7px; color: var(--teal-300); font-size: 9px; }
.balance-card p { color: var(--ink-400); font-size: 8px; }
.balance-meter { position: relative; z-index: 1; height: 4px; overflow: hidden; border-radius: 4px; background: rgb(255 255 255 / 10%); }
.balance-meter i { display: block; width: 0; height: 100%; background: var(--teal-300); transition: width 500ms ease; }
.demo-topup-card { padding: 25px 28px; border: 1px dashed var(--amber-300); border-radius: 14px; background: #fffaf1; }
.demo-topup-card__head { display: flex; align-items: center; justify-content: space-between; color: var(--amber-700); font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.demo-topup-card__head i { padding: 2px 6px; border: 1px solid var(--amber-300); border-radius: 4px; font-style: normal; }
.demo-topup-card h2 { margin: 23px 0 8px; font-family: var(--font-serif); font-size: 22px; }
.demo-topup-card > p { max-width: 620px; margin-bottom: 17px; color: var(--ink-600); font-size: 9px; }
.demo-topup-card > p strong { color: var(--amber-700); }
.topup-options { display: flex; flex-wrap: wrap; gap: 8px; }
.topup-options button { padding: 8px 14px; color: var(--amber-700); border: 1px solid var(--amber-300); border-radius: 7px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 700; }
.topup-options button:hover { color: #fff; background: var(--amber-700); }
.topup-options button:disabled { cursor: wait; opacity: .55; }
.demo-topup-message { min-height: 17px; margin: 9px 0 0 !important; color: var(--teal-700) !important; }
.table-panel { overflow: hidden; }
.ledger-seal { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-500); font-size: 8px; }
.ledger-seal i { display: grid; width: 18px; height: 18px; place-items: center; color: var(--teal-700); border-radius: 50%; background: var(--teal-100); font-style: normal; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { padding: 11px 18px; color: var(--ink-400); border-bottom: 1px solid var(--ink-150); background: var(--ink-50); font-size: 7px; font-weight: 700; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
td { padding: 13px 18px; color: var(--ink-600); border-bottom: 1px solid var(--ink-100); font-size: 9px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafcfa; }
.numeric { text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ledger-type { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-800); font-weight: 650; }
.ledger-type i { width: 6px; height: 6px; background: var(--ink-400); border-radius: 50%; }
.ledger-type--credit i { background: var(--teal-500); }
.ledger-type--debit i { background: var(--amber-500); }
.ledger-id { color: var(--ink-400); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; }
.amount-positive { color: var(--teal-700); font-weight: 700; }
.amount-negative { color: var(--ink-900); font-weight: 700; }
.usage-summary-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.usage-summary-row article { padding: 20px; border: 1px solid var(--ink-200); border-radius: 12px; background: #fff; }
.usage-summary-row span { display: block; margin-bottom: 9px; color: var(--ink-500); font-size: 8px; }
.usage-summary-row strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 23px; }
.usage-summary-row small { margin-left: 5px; color: var(--ink-400); font-size: 7px; }
.job-name { color: var(--ink-900); font-weight: 650; }
.usage-state { padding: 3px 7px; color: var(--ink-600); border-radius: 99px; background: var(--ink-100); font-size: 7px; }
.usage-state--complete { color: var(--teal-700); background: var(--teal-100); }
.usage-state--failed { color: var(--red-600); background: var(--red-100); }
.usage-state--running { color: var(--amber-700); background: var(--amber-100); }

/* Releases and account */
.release-console-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.release-card { display: grid; min-height: 185px; grid-template-columns: 52px 1fr; gap: 18px; padding: 23px; border: 1px solid var(--ink-200); border-radius: 13px; background: #fff; }
.release-card__platform { display: grid; width: 52px; height: 52px; place-items: center; color: var(--ink-900); border-radius: 12px; background: var(--teal-100); font-size: 11px; font-weight: 760; }
.release-card__top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.release-card h2 { margin: 0; font-size: 15px; }
.release-card__version { color: var(--teal-700); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; }
.release-card p { margin: 8px 0 14px; color: var(--ink-500); font-size: 9px; }
.release-card__meta { display: flex; flex-wrap: wrap; gap: 6px 13px; margin-bottom: 14px; color: var(--ink-400); font-size: 7px; }
.release-card > div { min-width: 0; }
.release-card__checksum { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: start; margin: -2px 0 14px; padding: 8px; border-radius: 6px; background: var(--ink-50); }
.release-card__checksum span { color: var(--ink-500); font-size: 7px; font-weight: 700; }
.release-card__checksum code { min-width: 0; color: var(--ink-700); font-size: 7px; line-height: 1.45; overflow-wrap: anywhere; user-select: all; }
.release-card__checksum button { padding: 0; color: var(--teal-700); border: 0; background: transparent; font-size: 7px; font-weight: 700; }
.release-card .button { min-height: 34px; padding: 7px 13px; font-size: 9px; }
.release-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 18px; padding: 22px; }
.release-principles > div { display: grid; grid-template-columns: 28px 1fr; gap: 5px 11px; padding: 3px 22px; border-right: 1px solid var(--ink-150); }
.release-principles > div:last-child { border-right: 0; }
.release-principles span { grid-row: 1 / 3; color: var(--teal-700); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; }
.release-principles strong { font-size: 10px; }
.release-principles p { margin: 0; color: var(--ink-500); font-size: 8px; }
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.account-card { overflow: hidden; }
.account-card--wide { grid-column: 1 / -1; }
.account-details { margin: 0; padding: 5px 20px 14px; }
.account-details > div { display: grid; grid-template-columns: 110px 1fr; align-items: center; min-height: 48px; border-bottom: 1px solid var(--ink-100); }
.account-details > div:last-child { border-bottom: 0; }
.account-details dt { color: var(--ink-500); font-size: 8px; }
.account-details dd { margin: 0; font-size: 9px; }
.account-details code { color: var(--ink-500); font-size: 8px; }
.verified-badge { margin-left: 7px; padding: 2px 5px; color: var(--amber-700); border-radius: 3px; background: var(--amber-100); font-size: 7px; font-style: normal; }
.verified-badge.is-verified { color: var(--teal-700); background: var(--teal-100); }
.security-item { display: grid; grid-template-columns: 24px 1fr auto; gap: 11px; align-items: center; margin: 0 20px; padding: 15px 0; border-bottom: 1px solid var(--ink-100); }
.security-item:last-child { border-bottom: 0; }
.security-item__icon { display: grid; width: 23px; height: 23px; place-items: center; color: var(--teal-700); border-radius: 50%; background: var(--teal-100); font-size: 7px; }
.security-item__icon--muted { color: var(--ink-500); background: var(--ink-100); }
.security-item strong { display: block; font-size: 9px; }
.security-item p { margin: 2px 0 0; color: var(--ink-500); font-size: 7px; }
.security-item__state { color: var(--teal-700); font-size: 7px; }
.security-item__state--muted { color: var(--ink-400); }
.session-list { padding: 4px 20px 12px; }
.session-row { display: grid; min-height: 64px; grid-template-columns: 33px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--ink-100); }
.session-row:last-child { border-bottom: 0; }
.session-row__icon { display: grid; width: 32px; height: 32px; place-items: center; color: var(--teal-700); border-radius: 8px; background: var(--teal-50); font-size: 11px; }
.session-row strong, .session-row small { display: block; }
.session-row strong { font-size: 9px; }
.session-row small { margin-top: 2px; color: var(--ink-500); font-size: 7px; }
.session-current { padding: 3px 6px; color: var(--teal-700); border-radius: 3px; background: var(--teal-100); font-size: 7px; }
.session-revoke { padding: 4px 6px; color: var(--red-600); border: 0; background: transparent; font-size: 7px; }
.privacy-card { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 24px; }
.privacy-card h2 { margin: 4px 0 7px; font-size: 14px; }
.privacy-card p { max-width: 600px; margin: 0; color: var(--ink-500); font-size: 8px; }
.privacy-card > div:last-child { display: flex; gap: 8px; flex: 0 0 auto; }
.privacy-card .button { min-height: 35px; padding: 7px 12px; font-size: 8px; }

/* Legal development drafts */
.legal-page { min-height: 100vh; background: #f4f7f3; }
.legal-header { position: sticky; z-index: 80; top: 0; border-bottom: 1px solid var(--ink-200); background: rgb(251 252 250 / 91%); backdrop-filter: blur(16px); }
.legal-header__inner { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 28px; }
.legal-header nav { display: flex; align-items: center; gap: 24px; color: var(--ink-500); font-size: 10px; }
.legal-header nav a:hover, .legal-header nav a[aria-current="page"] { color: var(--teal-700); }
.legal-layout { display: grid; grid-template-columns: 235px minmax(0, 760px); gap: clamp(60px, 9vw, 125px); justify-content: center; padding-block: 75px 115px; }
.legal-aside { position: sticky; top: 115px; align-self: start; }
.legal-aside .eyebrow { margin-bottom: 13px; font-size: 8px; }
.legal-aside h1 { margin-bottom: 13px; font-family: var(--font-serif); font-size: 32px; font-weight: 580; line-height: 1.32; }
.legal-aside > p:not(.eyebrow) { color: var(--ink-500); font-size: 9px; }
.legal-aside nav { display: grid; gap: 4px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ink-200); }
.legal-aside nav a { padding: 5px 0; color: var(--ink-500); font-size: 9px; }
.legal-aside nav a:hover { color: var(--teal-700); }
.legal-document { min-width: 0; }
.draft-notice { margin-bottom: 42px; padding: 21px 23px; color: var(--amber-700); border: 1px solid var(--amber-300); border-radius: 11px; background: #fffaf0; }
.draft-notice strong { display: block; margin-bottom: 5px; font-size: 11px; }
.draft-notice p { margin: 0; font-size: 10px; line-height: 1.8; }
.legal-document section { position: relative; padding: 0 0 43px 52px; border-left: 1px solid var(--ink-200); scroll-margin-top: 100px; }
.legal-document section::after { position: absolute; bottom: 19px; left: 52px; width: 46px; height: 1px; background: var(--teal-200); content: ""; }
.legal-section-number { position: absolute; top: 3px; left: -16px; display: grid; width: 31px; height: 31px; place-items: center; color: var(--teal-700); border: 1px solid var(--teal-200); border-radius: 50%; background: var(--teal-50); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; font-weight: 700; }
.legal-document h2 { margin-bottom: 17px; font-family: var(--font-serif); font-size: 23px; font-weight: 580; }
.legal-document p, .legal-document li, .legal-data-list dd { color: var(--ink-600); font-size: 12px; line-height: 1.95; }
.legal-document p { margin-bottom: 13px; }
.legal-document strong { color: var(--ink-900); }
.legal-document a { color: var(--teal-700); text-decoration: underline; text-decoration-color: var(--teal-200); text-underline-offset: 3px; }
.legal-document ul { margin: 13px 0 0; padding-left: 20px; }
.legal-document li { margin-bottom: 7px; padding-left: 5px; }
.legal-data-list { margin: 0 0 18px; }
.legal-data-list > div { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--ink-150); }
.legal-data-list dt { color: var(--ink-900); font-size: 10px; font-weight: 700; }
.legal-data-list dd { margin: 0; font-size: 10px; }
.legal-document__footer { margin-top: 9px; padding: 25px; border: 1px solid var(--ink-200); border-radius: 12px; background: #fff; }
.legal-document__footer p { margin-bottom: 12px; font-size: 10px; }
.legal-document__footer a { font-size: 10px; font-weight: 700; }

/* Responsive */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 38px; }
  .hero__copy h1 { font-size: 50px; }
  .site-nav { gap: 20px; margin-right: 20px; }
  .workflow-card { padding-inline: 19px; }
  .principles { gap: 70px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-header__inner { min-height: 64px; }
  .menu-button { display: inline-grid; }
  .site-nav { position: absolute; top: 63px; right: 16px; left: 16px; display: none; margin: 0; padding: 14px; border: 1px solid var(--ink-200); border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 9px; }
  .site-header__actions { margin-left: 8px; }
  .site-header__actions .button--quiet { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero__copy { max-width: 720px; }
  .scope-board { width: min(100%, 680px); margin-inline: auto; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-card:nth-child(2) { border-right: 1px solid var(--ink-200); }
  .workflow-card:nth-child(n+3) { border-top: 1px solid var(--ink-200); }
  .capability-card--wide { grid-template-columns: 1fr; }
  .download-panel { grid-template-columns: 1fr; gap: 45px; }
  .sidebar { transform: translateX(-100%); transition: transform 180ms ease; }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar-close { display: inline-grid; }
  .sidebar-scrim { position: fixed; z-index: 110; inset: 0; display: block; visibility: hidden; background: rgb(7 27 24 / 45%); opacity: 0; transition: opacity 180ms ease, visibility 180ms ease; }
  .sidebar-scrim.is-visible { visibility: visible; opacity: 1; }
  .console-workspace { margin-left: 0; }
  .console-menu { display: inline-grid; }
  .console-grid--main { grid-template-columns: 1fr; }
  .focus-panel { min-height: auto; }
  .credit-overview-grid { grid-template-columns: 1fr; }
  .release-console-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 50px; }
}

@media (max-width: 720px) {
  .page-width { width: min(calc(100% - 32px), var(--page-width)); }
  .brand__domain { display: none; }
  .hero { min-height: auto; padding-block: 47px 65px; }
  .hero__copy h1 { font-size: clamp(39px, 12vw, 52px); }
  .hero__lead { font-size: 15px; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 5px; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero__facts div { min-width: 0; padding-right: 10px; }
  .hero__facts div + div { padding-left: 10px; }
  .hero__facts dd { font-size: 10px; }
  .scope-board__topbar { align-items: flex-start; }
  .convergence-path li { grid-template-columns: 33px minmax(0, 1fr); }
  .convergence-path output { grid-column: 2; padding-top: 2px; }
  .method-ribbon__inner { justify-content: flex-start; overflow-x: auto; }
  .section { padding-block: 82px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 23px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card, .workflow-card:first-child, .workflow-card:nth-child(2) { border-right: 1px solid var(--ink-200); border-left: 1px solid var(--ink-200); }
  .workflow-card + .workflow-card { border-top: 1px solid var(--ink-200); }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card, .capability-card--wide { grid-column: 1; padding: 24px; }
  .deliverables { grid-template-columns: 1fr; }
  .deliverables > span { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; }
  .deliverables .file-icon { grid-row: 1 / 3; }
  .deliverables strong { margin-top: 3px; }
  .principles { grid-template-columns: 1fr; gap: 40px; }
  .principles__statement { position: static; }
  .download-section { padding-inline: 8px; }
  .download-panel { width: 100%; padding: 50px 24px; border-radius: 20px; }
  .site-footer__inner { grid-template-columns: 1fr; padding-block: 50px; }
  .site-footer__copyright { grid-column: 1; }
  .auth-dialog__layout { grid-template-columns: 1fr; }
  .auth-dialog__aside { display: none; }
  .auth-dialog__main { padding: 31px 24px 35px; }
  .console-header { padding-inline: 13px; }
  .console-header__title { display: none; }
  .sync-state { display: none; }
  .credit-chip { min-width: 122px; }
  .header-avatar { display: grid; }
  .console-main { width: calc(100% - 28px); padding-block: 30px 55px; }
  .console-title-row { align-items: flex-start; flex-direction: column; }
  .console-title-row .button { width: 100%; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 130px; padding: 16px; }
  .metric-card > strong { font-size: 23px; }
  .project-row { grid-template-columns: 35px minmax(0, 1fr) 20px; }
  .project-row .project-stage, .project-row .project-status { display: none; }
  .research-method-note { grid-template-columns: 38px 1fr; }
  .research-method-note > a { grid-column: 2; }
  .project-filter-row { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; }
  .project-grid { grid-template-columns: 1fr; }
  .usage-summary-row { grid-template-columns: 1fr; }
  .release-principles { grid-template-columns: 1fr; }
  .release-principles > div { padding-block: 15px; border-right: 0; border-bottom: 1px solid var(--ink-150); }
  .release-principles > div:last-child { border-bottom: 0; }
  .account-grid { grid-template-columns: 1fr; }
  .account-card--wide { grid-column: 1; }
  .privacy-card { align-items: stretch; flex-direction: column; }
  .privacy-card > div:last-child { flex-wrap: wrap; }
  .legal-header__inner { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 12px; }
  .legal-header nav { width: 100%; gap: 15px; overflow-x: auto; white-space: nowrap; }
  .legal-layout { display: block; padding-block: 42px 75px; }
  .legal-aside { position: static; margin-bottom: 38px; }
  .legal-aside nav { display: none; }
  .legal-document section { padding-left: 35px; }
  .legal-document section::after { left: 35px; }
  .legal-data-list > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 460px) {
  .site-header__actions .button { min-height: 35px; padding: 6px 10px; font-size: 11px; }
  .brand__wordmark { font-size: 19px; }
  .hero__facts { grid-template-columns: 1fr; gap: 12px; }
  .hero__facts div, .hero__facts div + div { padding: 0; border: 0; }
  .scope-board__topbar { gap: 12px; }
  .scope-board__topbar strong { max-width: 190px; }
  .method-ribbon__inner { min-height: 58px; }
  .metric-grid { grid-template-columns: 1fr; }
  .topup-options button { flex: 1; }
  .credit-chip > span, .credit-chip > small { display: none; }
  .credit-chip { min-width: auto; }
  .account-details > div { grid-template-columns: 85px 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .reveal--delay { transition-delay: 100ms; }
}

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

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { opacity: .45; transform: scale(.8); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes loading-mark { 50% { opacity: .68; transform: translateY(-3px); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
