/* IBM Plex Sans (variable) and IBM Plex Mono. SIL OFL, see /fonts/OFL.txt.
   Self-hosted so the page policy can stay same-origin. Latin subset. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  font-family:
    "IBM Plex Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  /* Digidai palette. Quiet paper, forest, and lime. No third-party brand colors. */
  --ink: #0c1210;
  --muted: #5f6b66;
  --lime: #d5ef8b;
  --line: #e6e9e4;
  --forest: #102f26;
  --forest-2: #1a3d32;
  --paper: #ffffff;
  --card: #ffffff;
  --danger: #9b3228;
  --ok: #2f5c28;
  --ring: #6f8f3a;
  --radius: 8px;
  --radius-card: 14px;
  --shadow: 0 1px 2px rgba(12, 18, 16, 0.04);
  --shadow-card:
    0 0.25rem 0.5rem 0 rgba(41, 41, 41, 0.06),
    0 0.125rem 0.25rem 0 rgba(41, 41, 41, 0.04),
    0 0.0625rem 0.125rem 0 rgba(41, 41, 41, 0.04),
    0 0 0 0.0625rem rgba(41, 41, 41, 0.08),
    0 -0.03125rem 0.03125rem 0 rgba(41, 41, 41, 0.08) inset;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 150ms;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --content-max: 1100px;
  --header-nav-height: 4.5rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--lime);
  color: var(--forest);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.sidebar a:focus-visible,
.sidebar button:focus-visible,
.operator-sidebar a:focus-visible,
.operator-sidebar button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
h1,
h2,
h3,
p,
dl,
ul,
ol {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
p {
  color: var(--muted);
  line-height: 1.55;
}
h2 {
  font-size: 22px;
  line-height: 1.25;
}
h3 {
  font-size: 15px;
}
code,
pre {
  font-family: var(--font-mono);
  font-size: 12.5px;
}
code {
  overflow-wrap: anywhere;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
input,
textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 10px 12px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  transition:
    border-color 0.12s,
    box-shadow 0.12s;
}
input:hover,
textarea:hover {
  border-color: #9eaf9f;
}
input:focus,
textarea:focus {
  border-color: #4e6f56;
  box-shadow: 0 0 0 2px var(--ring);
  outline: none;
}
input:focus-visible,
textarea:focus-visible {
  outline: none;
}
input::placeholder {
  color: #7f8b82;
  font-weight: 400;
}
textarea {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  resize: vertical;
}
input[readonly] {
  background: #f3f5ef;
  color: #526158;
}
form label + label {
  margin-top: 16px;
}
.brand {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
  gap: 8px;
  white-space: nowrap;
  color: var(--ink);
}
.brand-icon {
  background: var(--forest);
  color: var(--lime);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.06em;
  flex-shrink: 0;
  padding-right: 2px;
  line-height: 1;
}
.brand-icon span {
  color: #fff;
}
.brand-caption {
  font-size: 11px;
  letter-spacing: 0.01em;
  font-weight: 500;
  margin-left: 8px;
  color: var(--muted);
  max-width: 120px;
  white-space: normal;
  line-height: 1.3;
}
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  min-height: 40px;
  box-shadow: none;
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}
.button:hover {
  background: var(--forest-2);
  border-color: var(--forest-2);
}
.button:active {
  background: #0c241d;
}
.small {
  padding: 7px 12px;
  font-size: 12px;
  min-height: 34px;
}
.secondary {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-weight: 500;
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}
.secondary:hover {
  background: #eef2e8;
}
a.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.text-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid #b7c4b3;
  padding: 2px 0;
}
.text-link:hover,
.back-link:hover {
  color: var(--forest);
  border-color: var(--forest);
}
.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fine {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
.live-dot {
  height: 6px;
  width: 6px;
  background: #6a9240;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.landing {
  max-width: none;
  overflow-x: clip;
}
.topbar {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 5;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
.topbar .nav-text {
  color: var(--muted);
}
.topbar .nav-text:hover {
  color: var(--ink);
}
.hero {
  padding: 64px 32px 8px;
  display: block;
  text-align: center;
}
.hero-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 auto 16px;
  font-weight: 600;
  max-width: 14em;
}
.hero-copy {
  font-size: 16px;
  max-width: 34rem;
  margin: 0 auto 22px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.hero .kicker {
  justify-content: center;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.hero .actions {
  justify-content: center;
}
.hero .actions .button,
.hero .actions a.secondary {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 14px;
}
.hero .actions .button {
  font-weight: 600;
}
.hero .fine {
  margin: 14px auto 0;
  max-width: 32rem;
}
.hero-copy code,
.feature-grid code,
.start-section code,
.auth-lede code {
  background: #e8eee2;
  border: 1px solid #d5ddd0;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 12px;
  color: var(--ink);
}
.hero-panel {
  background: var(--forest);
  color: #e7eee4;
  border: 1px solid #2a4a3d;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #2a4a3d;
  font-size: 12px;
  color: #b7c8ba;
}
.panel-code {
  margin: 0;
  padding: 16px 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--lime);
  background: #0c241d;
  overflow-x: auto;
  white-space: pre;
}
.panel-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid #2a4a3d;
}
.panel-facts > div {
  padding: 12px 14px;
  border-right: 1px solid #2a4a3d;
  border-bottom: 1px solid #2a4a3d;
  min-width: 0;
}
.panel-facts > div:nth-child(2n) {
  border-right: 0;
}
.panel-facts dt {
  font-size: 11px;
  color: #9bb0a0;
  margin-bottom: 4px;
}
.panel-facts dd {
  margin: 0;
  font-size: 12.5px;
  color: #eef4ea;
}
.panel-facts code {
  color: var(--lime);
  font-size: 12px;
}
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec-strip > div {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.spec-kicker {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-strip > div:last-child {
  border-right: 0;
}
.spec-strip code {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 3px;
}
.spec-strip span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.feature-section {
  padding: 36px 24px 32px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}
.section-heading h2 {
  margin: 0;
  font-size: 22px;
}
.section-heading p {
  margin: 0;
  max-width: 360px;
  font-size: 13px;
  text-align: right;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.feature-grid article {
  padding: 16px 16px 14px;
  border: 1px solid #cfd8c8;
  border-radius: 8px;
  background: var(--card);
}
.feature-grid h3 {
  margin-bottom: 8px;
  font-size: 15px;
}
.feature-grid p {
  font-size: 13px;
  margin-bottom: 0;
  line-height: 1.5;
}
.feature-grid a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.start-section {
  margin: 0 24px 32px;
  padding: 28px;
  background: #eef2e6;
  border: 1px solid #dbe3d1;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}
.start-section h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.start-section > div > p {
  font-size: 13px;
  margin-bottom: 18px;
}
.start-section ol {
  padding: 0;
  margin: 0;
  list-style: decimal;
  padding-left: 1.2em;
}
.start-section li {
  padding: 10px 0;
  border-bottom: 1px solid #d5decb;
}
.start-section li:last-child {
  border: 0;
  padding-bottom: 0;
}
.start-section h3 {
  font-size: 14px;
  margin-bottom: 4px;
}
.start-section p {
  font-size: 13px;
  margin: 0;
}
.start-section a:not(.button) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.preview-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  padding: 0 24px 28px;
  margin: 0;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  gap: 20px;
}
footer .brand {
  font-size: 16px;
}
footer .brand-icon {
  height: 24px;
  width: 24px;
  font-size: 16px;
  border-radius: 5px;
}
footer .brand-caption {
  display: none;
}
footer > span,
footer > a,
footer .footer-links a {
  font-size: 12px;
  color: var(--muted);
}
footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
footer .footer-links a:hover {
  color: var(--ink);
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(240px, 32%) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--paper);
}
.auth-aside {
  background: var(--forest);
  color: #e7eee4;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-aside .brand {
  color: #f4f7ef;
}
.auth-aside .brand-icon {
  background: #1c4236;
  border: 1px solid #2d5648;
}
.auth-aside .brand-caption {
  color: #b7c8ba;
}
.auth-lede {
  font-size: 14px;
  color: #c5d3c6;
  line-height: 1.5;
  margin: 8px 0 0;
  max-width: 280px;
}
.auth-lede code {
  background: #1c4236;
  border-color: #2d5648;
  color: var(--lime);
}
.auth-facts {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  font-size: 13px;
  color: #c5d3c6;
  border-top: 1px solid #2a4a3d;
}
.auth-facts li {
  padding: 10px 0;
  border-bottom: 1px solid #2a4a3d;
}
.auth-host {
  margin: 0;
  font-size: 12px;
  color: #9bb0a0;
}
.auth-main {
  padding: 28px 8% 32px;
  display: flex;
  flex-direction: column;
}
.back-link {
  font-size: 13px;
  color: var(--muted);
  width: fit-content;
}
.auth-card {
  margin: auto;
  padding: 24px 0;
  max-width: 400px;
  width: 100%;
}
.auth-card h1 {
  font-size: 24px;
  margin: 10px 0 8px;
  letter-spacing: -0.025em;
}
.auth-card > p {
  font-size: 13px;
  margin-bottom: 0;
}
.auth-card form {
  margin-top: 24px;
}
.full {
  width: 100%;
}
.error {
  font-size: 13px;
  color: var(--danger);
  min-height: 0;
  margin: 12px 0;
  white-space: pre-line;
}
.error:empty {
  display: none;
}
.error:not(:empty) {
  border: 1px solid #e8cfc8;
  background: #fff5f0;
  padding: 10px 12px;
  border-radius: 6px;
  line-height: 1.5;
}
.auth-card .button {
  margin-top: 8px;
}
.auth-switch {
  margin-top: 20px;
  font-size: 13px;
}
.auth-switch a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--ink);
  font-weight: 600;
}
.console-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  padding: 20px 14px 16px;
  background: var(--forest);
  color: #eef4e8;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid var(--forest);
}
.sidebar .brand {
  color: #f4f7ef;
  padding-left: 8px;
  font-size: 18px;
}
.sidebar .brand-icon {
  background: #1c4236;
  border: 1px solid #2d5648;
  width: 26px;
  height: 26px;
  font-size: 16px;
}
.sidebar .brand-caption {
  display: none;
}
.account-label {
  font-size: 11px;
  color: #9bb0a0;
  margin: 28px 10px 8px;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #b7c9bc;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
}
.side-nav a > span {
  display: flex;
  align-items: center;
  width: 18px;
}
.side-nav a:hover {
  background: #ffffff0c;
  color: #fff;
}
.side-nav a.active {
  background: #244e3f;
  color: #fff;
  box-shadow: inset 3px 0 0 var(--lime);
  border-radius: 6px;
  font-weight: 600;
}
.ui-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 16px 8px 0;
}
.starter-note {
  border: 1px solid #2a4a3d;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 14px;
  background: #16362c;
}
.starter-note strong {
  font-size: 12px;
  color: #f4f7ef;
}
.starter-note p {
  font-size: 11px;
  margin: 6px 0 0;
  color: #aec2b1;
}
.sidebar-bottom > a {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #aec2b1;
}
.sidebar-bottom > a:hover {
  color: #f4f7ef;
}
.account-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #2a4a3d;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #ffffff10;
  border: 1px solid #ffffff20;
  color: var(--lime);
  width: 28px;
  height: 28px;
  font-size: 12px;
  flex-shrink: 0;
}
.account-chip > div {
  min-width: 0;
}
.account-chip strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
  color: #f4f7ef;
}
.account-chip small {
  white-space: nowrap;
  display: block;
  font-size: 11px;
  color: #aec2b1;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.logout {
  border: 0;
  background: none;
  color: #aec2b1;
  font-size: 12px;
  padding: 12px 0 0;
  min-height: 40px;
}
.logout:hover {
  color: #f4f7ef;
}
.console-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.console-header {
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  background: var(--paper);
}
.header-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f3f6ee;
  padding: 2px 7px;
  font-size: 11px;
  color: #4e6148;
  white-space: nowrap;
}
.console-header .tag {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}
.console-main main {
  padding: 24px 24px 48px;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-intro {
  margin-bottom: 20px;
}
.page-intro h1 {
  font-size: 22px;
  margin-bottom: 6px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.page-intro p {
  font-size: 13px;
  margin-bottom: 0;
}
.page-intro code {
  background: #e8eee2;
  border: 1px solid #d5ddd0;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--card);
  min-width: 0;
}
.stat > span {
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.stat small {
  font-size: 11px;
  color: var(--muted);
}
.balance-stat {
  background: var(--forest);
  border-color: #2a4a3d;
  color: #f1f6e7;
}
.balance-stat > span,
.balance-stat small {
  color: #c2d3b6;
}
.balance-stat strong {
  color: var(--lime);
}
.onboarding {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.onboarding h2 {
  font-size: 14px;
  margin-bottom: 2px;
}
.onboarding p {
  font-size: 12px;
  margin: 0;
}
.onboarding .button {
  margin-left: auto;
}
.card {
  padding: 18px 18px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.card h2 {
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.card p {
  font-size: 13px;
}
.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.card-heading h2 {
  margin-bottom: 4px;
}
.card-heading p {
  margin-bottom: 0;
}
.setup textarea {
  margin-top: 6px;
  background: #f7f9f3;
  border-color: #d7dfd0;
  color: #3d4f42;
}
.setup .actions {
  margin-top: 12px;
  gap: 8px;
}
.setup pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--forest);
  color: #d9e5cb;
  border: 1px solid #2a4a3d;
  border-radius: 6px;
  padding: 14px;
  margin: 14px 0 10px;
  font-size: 12px;
  line-height: 1.6;
}
.setup > .fine {
  margin-bottom: 0;
}
.setup .fine a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.empty {
  text-align: left;
  padding: 16px;
  border: 1px dashed #c9d4c4;
  border-radius: 8px;
  background: #fbfcf8;
}
.empty-next {
  margin: 12px 0 0;
}
.empty > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 0 10px;
  background: #eef2e6;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #4e6148;
}
.empty h3 {
  font-size: 14px;
  margin-bottom: 4px;
}
.empty p {
  font-size: 13px;
  margin: 0;
}
.table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  background: #f4f7f0;
  white-space: nowrap;
}
td {
  padding: 6px 8px;
  border-bottom: 1px solid #edf0e7;
  color: #4f6058;
  vertical-align: middle;
  font-size: 12.5px;
}
td:first-child {
  color: var(--ink);
}
td strong {
  font-size: 13px;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #f7faf3;
}
.key-prefix {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}
.revoke {
  border: 1px solid #e4d0c8;
  border-radius: 5px;
  background: #fff;
  color: var(--danger);
  font-size: 12px;
  padding: 5px 10px;
  min-height: 32px;
}
.revoke:hover {
  background: #fff2ed;
  border-color: #cd998a;
}
.active-tag {
  background: #eef5e4;
  color: var(--ok);
  border-color: #dbe8ca;
}
.key-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 8px;
}
.key-form label {
  max-width: 360px;
}
.key-form .error {
  grid-column: 1 / -1;
  margin: 0;
}
.key-result {
  padding: 16px;
  border: 1px solid #c5d6a0;
  border-left: 3px solid #6a8c3c;
  border-radius: 6px;
  background: #f4f8ea;
  margin: 14px 0;
}
.key-result .kicker {
  margin-bottom: 4px;
  color: #4e6148;
}
.key-result h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.key-result p {
  font-size: 13px;
}
.key-result code {
  display: block;
  background: #fff;
  border: 1px solid #d7e3c6;
  border-radius: 5px;
  padding: 12px;
  overflow-wrap: anywhere;
  font-size: 13px;
  margin: 10px 0;
  user-select: all;
  color: #24422e;
  line-height: 1.5;
}
.key-result .actions {
  gap: 8px;
}
.key-result:focus {
  outline: 2px solid #6a8c3c;
  outline-offset: 3px;
}
.settings-card {
  max-width: 640px;
}
.settings-card > label {
  margin: 16px 0;
}
.settings-card form {
  margin-top: 16px;
  max-width: 420px;
}
.settings-card button[type="submit"] {
  margin-top: 16px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.detail-row span {
  color: var(--muted);
  flex-shrink: 0;
}
.detail-row code {
  font-size: 12px;
  text-align: right;
}
.settings-card .fine {
  font-size: 12px;
}
.info-note {
  border: 1px solid var(--line);
  border-left: 3px solid #6a8c3c;
  background: #f3f6ee;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #3f5344;
  margin-bottom: 16px;
}
.console-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
}
.console-footer span,
.console-footer a {
  font-size: 12px;
  color: var(--muted);
  margin-right: 12px;
}
.console-footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.linkish {
  border: 0;
  background: none;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0 2px;
  min-height: 32px;
  font-size: 12px;
}
.mono-id {
  font-size: 12px;
}
.curl-label {
  font-size: 12px;
  margin: 14px 0 6px;
  color: var(--ink);
}
.boot-error {
  max-width: 480px;
  margin: 12vh auto;
  padding: 8px 20px 32px;
}
.example-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.example-head h3 {
  margin: 0;
}
.loading {
  text-align: left;
  margin: 24px 0;
  font-size: 13px;
  color: var(--muted);
}
#root > .loading,
#admin-root > .loading {
  text-align: center;
  margin: 48px 20px;
}
#notice:not(:empty) {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  width: max-content;
  background: var(--forest);
  color: #eff6e5;
  border: 1px solid #4d6b3e;
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(16, 47, 38, 0.2);
  font-size: 13px;
  z-index: 10;
  line-height: 1.45;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 20;
  background: var(--lime);
  color: var(--forest);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

@media (max-width: 1100px) {
  .brand-caption {
    display: none;
  }
  .hero {
    gap: 28px;
  }
  .section-heading {
    flex-direction: column;
    align-items: start;
  }
  .section-heading p {
    text-align: left;
  }
  .console-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 4px;
  }
  .spec-strip {
    grid-template-columns: 1fr 1fr;
  }
  .spec-strip > div:nth-child(2n) {
    border-right: 0;
  }
  .spec-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .start-section {
    grid-template-columns: 1fr;
    margin: 0 20px 24px;
    padding: 20px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    padding: 18px 20px;
    gap: 0;
  }
  .auth-lede,
  .auth-host {
    display: none;
  }
  .auth-facts {
    display: block;
    margin: 8px 0 0;
  }
  .auth-main {
    min-height: calc(100vh - 72px);
    padding: 20px 20px 32px;
  }
  .auth-card .button {
    min-height: 44px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 56px;
    padding: 0 16px;
  }
  .topbar nav {
    gap: 12px;
  }
  .topbar .nav-text:first-child {
    display: none;
  }
  .hero h1 {
    font-size: clamp(34px, 9vw, 44px);
    max-width: none;
  }
  .feature-section,
  .preview-note {
    padding-left: 16px;
    padding-right: 16px;
  }
  .start-section {
    margin-left: 16px;
    margin-right: 16px;
  }
  footer {
    flex-wrap: wrap;
    padding: 16px;
  }
  footer > span {
    display: none;
  }
  .console-layout {
    display: flex;
    flex-direction: column;
  }
  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #294738;
    padding: 14px 16px 10px;
  }
  .sidebar .brand {
    padding: 0;
  }
  .account-label,
  .starter-note,
  .account-chip,
  .sidebar-bottom > a {
    display: none;
  }
  .side-nav {
    flex-direction: row;
    margin-top: 12px;
    gap: 4px;
    justify-content: space-between;
  }
  .side-nav a {
    padding: 8px 6px;
    font-size: 11px;
    gap: 5px;
    min-height: 44px;
    flex: 1;
    justify-content: center;
  }
  .side-nav a.active {
    box-shadow: inset 0 -3px 0 var(--lime);
  }
  .sidebar-bottom {
    padding: 0;
    position: absolute;
    right: 16px;
    top: 12px;
  }
  .logout {
    padding: 8px 0;
    min-height: 44px;
  }
  .console-header {
    height: auto;
    min-height: 48px;
    padding: 8px 16px;
  }
  .console-main main {
    padding: 18px 16px 36px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat:first-child {
    grid-column: 1 / -1;
  }
  .onboarding {
    flex-wrap: wrap;
  }
  .onboarding .button {
    margin-left: 0;
  }
  .key-form {
    grid-template-columns: 1fr;
  }
  .key-form label {
    max-width: none;
  }
  .key-form button {
    justify-self: start;
  }
  .console-footer span:last-child {
    display: none;
  }
  .table-wrap table {
    white-space: normal;
  }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .table-wrap tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .table-wrap td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 5px 0;
    border: 0;
    white-space: normal;
  }
  .table-wrap td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    flex-shrink: 0;
  }
  .table-wrap td:first-child {
    display: block;
  }
  .table-wrap td:first-child::before {
    display: none;
  }
  input,
  .auth-card input {
    font-size: 16px;
  }
  .key-result .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .key-result .actions button,
  .setup .actions button {
    min-height: 44px;
  }
}
@media (max-width: 520px) {
  .spec-strip {
    grid-template-columns: 1fr;
  }
  .spec-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .spec-strip > div:last-child {
    border-bottom: 0;
  }
  .panel-facts {
    grid-template-columns: 1fr;
  }
  .panel-facts > div {
    border-right: 0;
  }
}
@media (max-width: 380px) {
  .topbar nav {
    gap: 8px;
  }
  .topbar .brand {
    font-size: 17px;
  }
  .side-nav a {
    font-size: 12px;
    padding: 8px 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Public product page: keep console and admin layout rules isolated. */
.landing main {
  max-width: var(--content-max);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.landing .button,
.landing a.button,
.landing a.secondary,
.landing .button-on-dark {
  border-radius: var(--radius);
}
.landing .topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: block;
  height: auto;
  min-height: 0;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.2) blur(20px);
  -webkit-backdrop-filter: saturate(1.2) blur(20px);
  border-bottom: 1px solid rgba(230, 233, 228, 0.95);
}
.landing .bar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  min-height: var(--header-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  box-sizing: border-box;
}
.landing .topbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 18px;
  min-width: 0;
}
.landing .nav-primary,
.landing .nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.landing .nav-actions {
  gap: 12px;
}
.landing .topbar .nav-text:first-child {
  display: inline;
}
.landing .nav-menu {
  position: relative;
  display: none;
}
.landing .nav-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-sizing: border-box;
}
.landing .nav-menu summary::-webkit-details-marker {
  display: none;
}
.landing .nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 196px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  z-index: 40;
}
.landing .nav-menu-panel a {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink);
}
.landing .nav-menu-panel a:hover {
  background: #eef2e6;
}
.landing .topbar .nav-text.active,
.landing .topbar .nav-text[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}
.landing .nav-menu summary:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.landing .nav-menu-panel a.active,
.landing .nav-menu-panel a[aria-current="page"] {
  background: #eef2e6;
  color: var(--ink);
}
.landing .nav-menu-panel a[href="/sign-in"] {
  display: none;
}
@media (max-width: 420px) {
  .landing .nav-menu-panel a[href="/sign-in"] {
    display: block;
    border-top: 1px solid var(--line);
    margin-top: 4px;
    padding-top: 10px;
    border-radius: 0 0 6px 6px;
  }
}
.teaser-rows {
  margin: 0;
}
.teaser-rows > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 10px 14px;
  border-bottom: 1px solid #2a4a3d;
}
.teaser-rows dt {
  margin: 0;
  font-size: 11px;
  color: #9bb0a0;
}
.teaser-rows dd {
  margin: 0;
  font-size: 13px;
  color: #eef4ea;
}
.teaser-rows code {
  color: var(--lime);
  font-size: 12.5px;
}
.teaser-cols {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 0.7fr;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9bb0a0;
  border-bottom: 1px solid #2a4a3d;
}
.teaser-empty,
.panel-note {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #c5d3c6;
}
.panel-note {
  font-size: 11px;
  color: #9bb0a0;
}
.hero-panel .panel-code {
  margin-top: auto;
}
.button-on-dark {
  background: #fff;
  border-color: #fff;
  color: var(--forest);
  font-weight: 500;
  border-radius: var(--radius);
  min-height: 44px;
  padding: 11px 18px;
}
.button-on-dark:hover {
  background: #e7eee4;
  border-color: #e7eee4;
  color: var(--forest);
}
.closing-band {
  background: #0d0d0f;
  color: #e7eee4;
  padding: 8px 24px;
  border-top: 1px solid #1c1c1f;
}
.closing-inner {
  min-height: 0;
  padding: 40px 0;
  align-items: center;
  max-width: var(--content-max);
}
.closing-band h2 {
  color: #fafafa;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.closing-band p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 460px;
  font-size: 14px;
  line-height: 1.55;
}
.closing-band .kicker {
  color: #9bb0a0;
}
.landing section[id] {
  scroll-margin-top: 76px;
}
.landing .spec-strip > div {
  padding: 16px 32px;
}
.landing .feature-section {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  padding: 48px 32px 40px;
}
.landing .section-heading {
  display: block;
  margin-bottom: 0;
}
.landing .section-heading h2,
.landing .start-section h2,
.landing .feature-section > h2 {
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 10px;
}
.landing .section-heading p,
.landing .start-section > p,
.landing .feature-section > p {
  max-width: 42rem;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  text-align: left;
}
.landing .start-section {
  margin: 0;
  padding: 48px 32px 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  display: block;
}
.landing .start-section h3 {
  font-size: 15px;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 4px;
}
.landing .start-section ol {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  counter-reset: step;
}
.landing .start-section li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.landing .start-section li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 2;
  position: static;
  width: auto;
  height: auto;
  display: block;
  place-items: start;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.landing .start-section li h3,
.landing .start-section li p {
  grid-column: 2;
}
.landing .start-section li p {
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.landing .hero-copy code,
.landing .start-section code,
.landing .feature-section p code,
.landing .feature-section li code,
.landing .fact-list code {
  background: #e8eee2;
  border: 1px solid #d5ddd0;
  border-radius: 4px;
  padding: 0 5px;
  font-size: 12px;
  color: var(--ink);
}
.landing pre code {
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  color: inherit;
}
.console-fragment {
  margin: 40px auto 32px;
  max-width: 640px;
  text-align: left;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.fragment-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.fragment-top span:last-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fragment-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.fragment-stats > div {
  padding: 12px 14px 11px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.fragment-stats > div + div {
  border-left: 1px solid var(--line);
}
.fragment-stats span,
.fragment-stats small {
  display: block;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.fragment-stats span {
  font-size: 11px;
  margin-bottom: 4px;
}
.fragment-stats strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.fragment-stats code {
  font-weight: 500;
}
.fragment-stats small {
  margin-top: 2px;
  font-size: 12px;
}
.fragment-stats code {
  font-size: 15px;
  color: var(--ink);
}
.fragment-cols {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 0.7fr;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f4f7f0;
  border-bottom: 1px solid var(--line);
}
.fragment-empty {
  margin: 0;
  padding: 16px 14px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.fact-list {
  margin: 4px 0 8px;
}
.fact-list > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 8px 20px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.fact-list dt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.fact-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.landing .request-example {
  margin: 12px 0;
  min-width: 0;
}
.landing .request-example h3 {
  font-size: 14px;
}
.landing pre {
  max-width: 100%;
  overflow-x: auto;
}
.landing .request-example pre {
  background: #0d0d0f;
  color: #e7eee4;
  padding: 16px 18px;
  border-radius: var(--radius);
  line-height: 1.65;
  font-size: 13px;
}
.landing .table-wrap {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: var(--card);
  overflow: auto;
  max-height: min(70vh, 640px);
}
.landing caption {
  text-align: left;
  caption-side: top;
  padding: 16px 20px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.landing .tool-catalog caption {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.landing .tool-catalog thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 16px;
  background: #f7f8f6;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.landing .tool-catalog td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}
.landing .tool-catalog td:first-child {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.01em;
}
.landing .tool-catalog tr:last-child td {
  border-bottom: 0;
}
.landing .tool-catalog tbody tr:hover {
  background: #f7faf3;
}
.landing th,
.landing td {
  white-space: normal;
  vertical-align: top;
  line-height: 1.45;
}
.landing .faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.landing details.faq-card {
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
}
.landing details:not(.nav-menu):not(.faq-card) {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.landing details:not(.nav-menu) summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 16px 20px;
  box-sizing: border-box;
}
.landing details:not(.nav-menu):not(.faq-card) summary {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
}
.landing details.faq-card summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  width: 1.25rem;
  height: auto;
  border-radius: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.landing details:not(.nav-menu):not(.faq-card) summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 500;
}
.landing details:not(.nav-menu)[open] summary::after {
  content: "–";
}
.landing details.faq-card p {
  max-width: none;
  margin: 0;
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.6;
}
.landing details:not(.faq-card) p {
  max-width: 780px;
  margin: 10px 0 0;
}
.landing summary:focus-visible,
.landing pre:focus-visible,
.landing .table-wrap:focus-visible,
.landing .skill-copy:focus-visible,
.landing .nav-menu-panel a:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}
.landing .skill-command pre:focus-visible,
.landing .skill-copy:focus-visible {
  outline-color: var(--lime);
}
.landing footer.site-footer {
  display: block;
  padding: 48px 24px 28px;
  border-top: 0;
  background: #0d0d0f;
  color: rgba(255, 255, 255, 0.7);
}
.footer-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px 24px;
}
.footer-brand .brand {
  color: #fafafa;
}
.footer-brand .fine {
  margin: 10px 0 0;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.78);
}
.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-grid nav p {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.footer-grid nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-grid nav a:hover {
  color: #fff;
}
.footer-hosts {
  max-width: var(--content-max);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.3);
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.78);
}
.landing footer.site-footer a {
  color: inherit;
}
.landing footer.site-footer .fine a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.landing main :is(p, li, dd) a,
.landing footer p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 960px) {
  .landing .topbar {
    padding: 0 20px;
  }
  .landing .nav-primary {
    display: none;
  }
  .landing .nav-menu {
    display: block;
  }
  .landing .nav-menu summary {
    min-height: 44px;
    padding: 10px 16px;
  }
  .landing .nav-menu-panel a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
  }
  .landing .nav-actions .button.small {
    min-height: 44px;
    padding: 10px 16px;
  }
  .landing .surface-grid,
  .landing .connect-grid {
    grid-template-columns: 1fr;
  }
  .landing .start-section ol.step-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .landing .topbar {
    padding: 0 16px;
  }
  .landing .topbar nav {
    width: auto;
    font-size: 13px;
  }
  .landing .section-heading {
    display: block;
  }
  .landing .section-heading p {
    text-align: left;
    margin-top: 0;
  }
  .landing .hero,
  .landing .feature-section,
  .landing .start-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .landing .spec-strip > div {
    padding-left: 20px;
    padding-right: 20px;
  }
  .landing .hero h1 {
    line-height: 1.12;
  }
  .fact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .fragment-stats {
    grid-template-columns: 1fr;
  }
  .fragment-stats > div + div {
    border-left: 0;
  }
  .fragment-cols {
    font-size: 10px;
    gap: 6px;
  }
  .landing .closing-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .landing .closing-band .button {
    min-height: 44px;
  }
  .landing .closing-inner > a.button {
    width: 100%;
    max-width: 320px;
  }
  .landing .request-example .secondary.small,
  .landing .request-example button.small {
    min-height: 44px;
    padding: 10px 14px;
  }
  .landing .table-wrap {
    margin: 18px 0;
    max-height: none;
    overflow: hidden;
  }
  .landing .tool-catalog thead th {
    position: static;
  }
  .landing .tool-catalog {
    padding: 0;
  }
  .landing .tool-catalog caption {
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--line);
  }
  .landing .tool-catalog tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .landing .tool-catalog tr:last-child {
    border-bottom: 0;
  }
  .landing .tool-catalog td {
    padding: 6px 0;
    gap: 14px;
    align-items: baseline;
  }
  .landing .tool-catalog td:first-child {
    display: block;
    padding: 0 0 12px;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .landing .tool-catalog td::before {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--muted);
    max-width: 48%;
  }
  .landing .table-wrap td {
    padding: 8px 0;
  }
  .landing .tool-catalog td {
    padding: 6px 0;
  }
  .landing .topbar {
    padding: 0 18px;
  }
  .landing .bar-inner {
    padding: 10px 0;
    gap: 12px;
  }
  .landing .nav-actions {
    gap: 8px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-grid nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
@media (max-width: 420px) {
  .landing .nav-signin {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
}


/* Hero display size. Mobile overrides stay after this block so they win. */
.landing .hero {
  padding: 80px 32px 48px;
}
.landing .hero h1 {
  font-size: clamp(40px, 6.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 13em;
}
.landing .hero-copy {
  font-size: 17px;
  max-width: 36rem;
  color: var(--muted);
}
.landing .hero-copy code {
  font-family: var(--font-mono);
  color: var(--forest);
  background: #f3f5f1;
  border-color: var(--line);
  font-weight: 500;
}
.landing .hero .kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.landing .spec-strip {
  margin-top: 8px;
}
.landing .spec-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.landing .brand {
  font-weight: 600;
  letter-spacing: -0.03em;
}
.landing .brand-icon {
  border-radius: var(--radius);
}
.landing .topbar .nav-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.landing .topbar .nav-text:hover {
  color: var(--ink);
}
.landing .nav-actions .button.small {
  border-radius: var(--radius);
  font-weight: 500;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13px;
  box-sizing: border-box;
}

.landing .hero {
  position: relative;
  isolation: isolate;
  padding: 72px 32px 40px;
  background: #fff;
}
.landing .hero-accent {
  font-style: normal;
  color: var(--forest);
  font-weight: 600;
  background: none;
}
.landing .hero-lead {
  max-width: 48rem;
  margin: 0 auto;
}
.landing .hero .kicker {
  justify-content: center;
}
.landing .skill-setup {
  width: min(100%, 36rem);
  margin: 28px auto 0;
  text-align: left;
}
.landing .skill-label,
.landing .skill-follow {
  margin: 0;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.landing .skill-follow {
  margin-top: 10px;
}
.landing .skill-command {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 10px;
  padding: 0;
  background: #0d0d0f;
  color: #e7eee4;
  border: 1px solid #2a4a3d;
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
}
.landing .skill-command pre {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  overflow-x: auto;
  background: transparent;
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}
.landing .skill-command code {
  color: #e7eee4;
  font-weight: 500;
  white-space: nowrap;
}
.landing .skill-prompt {
  color: #8aa08c;
  margin-right: 8px;
}
.landing .skill-copy {
  flex-shrink: 0;
  min-height: 44px;
  min-width: 72px;
  padding: 10px 16px;
  border: 0;
  border-left: 1px solid #2a4a3d;
  border-radius: 0;
  background: #131816;
  color: #e7eee4;
  font-size: 13px;
  font-weight: 500;
}
.landing .skill-copy:hover {
  background: #1a221e;
  color: #fff;
}
.landing .skill-copy[data-copied] {
  color: var(--lime);
}
.landing .surface-grid,
.landing .connect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 24px;
}
.landing .surface-card,
.landing .connect-card {
  position: relative;
  min-width: 0;
  padding: 20px 20px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.landing .surface-kicker,
.landing .connect-head h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest);
}
.landing .surface-count {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}
.landing .surface-card > p,
.landing .connect-card > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
.landing .surface-meta,
.landing .connect-meta {
  margin-top: 12px !important;
  font-size: 12px !important;
  color: var(--muted);
}
.landing .surface-section .spec-strip {
  margin: 8px -32px -40px;
  border-bottom: 0;
}
.landing .wallet-section .ledger-panel {
  margin: 8px auto 0;
  max-width: 720px;
  background: #0d0d0f;
  color: #e7eee4;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.landing .ledger-top,
.landing .ledger-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  font-size: 12px;
  color: #9bb0a0;
}
.landing .ledger-note {
  display: block;
  margin: 0;
  border-top: 1px solid #2a4a3d;
  line-height: 1.5;
}
.landing .ledger-balance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #2a4a3d;
  border-bottom: 1px solid #2a4a3d;
}
.landing .ledger-balance > div {
  padding: 16px;
}
.landing .ledger-balance > div + div {
  border-left: 1px solid #2a4a3d;
}
.landing .ledger-balance span,
.landing .ledger-balance small {
  display: block;
  color: #9bb0a0;
}
.landing .ledger-balance span {
  font-size: 11px;
  margin-bottom: 4px;
}
.landing .ledger-balance strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fafafa;
}
.landing .ledger-balance code {
  font-size: 18px;
  font-weight: 500;
  color: var(--lime);
}
.landing .ledger-balance small {
  margin-top: 4px;
  font-size: 12px;
}
.landing .ledger-rows {
  width: 100%;
  border-collapse: collapse;
}
.landing .ledger-rows th,
.landing .ledger-rows td {
  padding: 10px 16px;
  text-align: left;
  font-size: 13px;
}
.landing .ledger-rows th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9bb0a0;
  background: #131816;
}
.landing .ledger-rows td {
  color: #e7eee4;
  border-top: 1px solid #2a4a3d;
  font-variant-numeric: tabular-nums;
}
.landing .ledger-rows td:first-child {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--lime);
}
.landing .ledger-rows td:nth-child(3) {
  color: #d5ef8b;
}
.landing .start-section ol.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.landing .start-section ol.step-grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
  grid-template-columns: none;
}
.landing .start-section ol.step-grid li::before {
  grid-row: auto;
  margin-bottom: 8px;
  color: var(--forest);
}
.landing .start-section ol.step-grid li h3,
.landing .start-section ol.step-grid li p {
  grid-column: auto;
}
.landing .pricing-notes,
.landing .honesty-more {
  margin: 12px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
}
.landing .pricing-notes p,
.landing .honesty-more .fact-list {
  margin: 0;
  padding: 0 20px 16px;
}
.landing .connect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.landing .connect-head h3 {
  margin: 0;
}
.landing .status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.landing .status-badge.is-live {
  background: #102f26;
  color: #d5ef8b;
}
.landing .status-badge.is-planned {
  background: #f3f5f1;
  color: #3d4a44;
  border: 1px solid var(--line);
}
.landing .honesty-strip {
  padding: 16px 0;
  margin: 0 0 18px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.landing .pricing-notes summary,
.landing .honesty-more summary {
  padding: 14px 20px;
  min-height: 44px;
}
.landing .surface-card,
.landing .connect-card,
.landing .start-section ol.step-grid li {
  transition: border-color var(--duration) var(--ease);
}
.landing .surface-card:hover,
.landing .connect-card:hover,
.landing .start-section ol.step-grid li:hover {
  border-color: #b7c4b3;
}

@media (max-width: 768px) {
  .landing .hero {
    padding: 48px 24px 32px;
  }
  .landing .skill-setup {
    width: 100%;
  }
  .landing .skill-command {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius);
  }
  .landing .skill-command pre {
    flex: 0 0 auto;
    padding: 12px 14px 8px;
  }
  .landing .skill-command code {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .landing .skill-copy {
    min-height: 44px;
    width: 100%;
    border-left: 0;
    border-top: 1px solid #2a4a3d;
  }
  .landing .surface-grid,
  .landing .connect-grid {
    grid-template-columns: 1fr;
  }
  .landing .start-section ol.step-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* No-JS and first-paint shell. Replaced when main.js draws the page. */
.static-shell {
  max-width: 40rem;
  margin: 0 auto;
  padding: 72px 24px 48px;
}
.static-shell h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.static-shell pre {
  padding: 14px 16px;
  background: #0d0d0f;
  color: var(--lime);
  border-radius: var(--radius);
  overflow-x: auto;
}
.static-shell .honesty-static {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.static-shell .button,
.static-shell .secondary {
  margin: 8px 12px 0 0;
}
.static-note {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 24px 48px;
  font-size: 14px;
}

/* Dark surfaces need a light focus ring. The shared green ring disappears here. */
.landing footer.site-footer a:focus-visible,
.closing-band a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .landing .hero h1 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.12;
  }
  .landing main {
    display: flex;
    flex-direction: column;
  }
  .landing .hero {
    padding: 40px 20px 28px;
  }
  .landing .hero-lead {
    order: 1;
    padding: 0;
    text-align: center;
  }
  .landing .skill-command {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius);
  }
  .landing .skill-command pre {
    flex: 0 0 auto;
    padding: 12px 14px 8px;
  }
  .landing .skill-command code {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .landing .skill-copy {
    min-height: 44px;
    width: 100%;
    border-left: 0;
    border-top: 1px solid #2a4a3d;
  }
  .landing .surface-grid,
  .landing .connect-grid,
  .landing .start-section ol.step-grid,
  .landing .ledger-balance {
    grid-template-columns: 1fr;
  }
  .landing .ledger-balance > div + div {
    border-left: 0;
    border-top: 1px solid #2a4a3d;
  }
  .landing .surface-section .spec-strip {
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -40px;
  }
  .landing .spec-strip {
    order: 2;
  }
  .landing .console-fragment {
    order: 3;
  }
  .landing .start-section,
  .landing .feature-section {
    order: 4;
  }
  .back-link,
  .auth-switch a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Keep the four-part contract in two columns on a phone. One column makes the strip taller than the hero claim. */
@media (max-width: 520px) {
  .landing .spec-strip {
    grid-template-columns: 1fr 1fr;
  }
  .landing .spec-strip > div {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .landing .spec-strip > div:nth-child(2n) {
    border-right: 0;
  }
  .landing .spec-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}
