/* ==========================================================================
   GreenVets Trace, site.css

   The brand, applied: a magnetite ground, bone ink, and one red signal that
   is reserved for the thing a human has to deal with. Depth is a hairline,
   never a shadow; corners are square. Oswald sets display, Inter the
   body, IBM Plex Mono anything a machine produced, which is how the reader
   knows the difference.

   Replaces the navy and brass skin, which predated the brand. Every page
   carries body.v2, so nothing here is scoped.
   ========================================================================== */

/* Typefaces. Self-hosted, SIL OFL, no CDN at runtime. ---------------------- */
@font-face {
  font-family: "Oswald"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("/fonts/oswald-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --bg:       #0A0C0B;   /* magnetite, the ground */
  --bg-2:     #0E1210;   /* alternate band */
  --panel:    #0f1412;
  --panel-2:  #161D19;
  --rule:     #222A25;
  --rule-2:   #343D37;

  --ink:      #B9C1BC;   /* body */
  --ink-hi:   #F4F6F5;   /* bone, for headings */
  --mut:      #8F9893;   /* 5.6:1 on --bg */

  /* Ordinary emphasis is ink, so a primary button reads as the default
     action and not as an alarm. The old brass was a second accent competing
     with the signal; there is only one accent now. */
  --brass:    #00A859;   /* GreenVets green: the primary action */
  --brass-lt: #1ED47E;
  --brass-dk: #00663A;
  --on-brass: #04120A;
  --teal:     #1ED47E;   /* links */
  --teal-lt:  #7BE8B3;

  /* The one signal. Needle means a human is needed now, so a blocked search
     must not borrow it, and must not look like a server error either. */
  --needle:   #E2452F;
  --ok:       #1ED47E;
  --blocked:  #E8B04B;

  --serif: "Oswald", "Arial Narrow", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono:  "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-hero: clamp(2.6rem, 1.6rem + 4.2vw, 4.6rem);
  --t-h1:   clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --t-h2:   clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
  --t-h3:   1.15rem;
  --t-body: 1.0625rem;
  --t-small: .875rem;

  --wide:    70rem;
  --mid:     46rem;
  --measure: 40rem;
  --gutter:  clamp(1rem, 4vw, 2rem);
  --r: 6px;              /* the GreenVets radius */
}

/* Base ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: var(--t-body); line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif); font-weight: 600; color: var(--ink-hi);
  line-height: 1.08; letter-spacing: 0; margin: 0 0 .5em; text-wrap: balance;
}
h1 { font-size: var(--t-h1); max-width: 20ch; }
h2 { font-size: var(--t-h2); max-width: 26ch; }
h3 { font-size: var(--t-h3); line-height: 1.3; letter-spacing: 0; font-weight: 500; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 1.1em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink-hi); }
em { font-style: italic; }
code, kbd, .mono { font-family: var(--mono); font-size: .88em; font-variant-numeric: tabular-nums; }
code { color: var(--ink-hi); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 1.5rem 0; }
::selection { background: var(--ink-hi); color: var(--bg); }

a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px;
    text-underline-offset: 3px; }
a:hover { color: var(--teal-lt); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink-hi); outline-offset: 3px; border-radius: 0; }

ul, ol { max-width: var(--measure); margin: 0 0 1.1em; padding-left: 0; list-style: none; }
li { margin: .45em 0; }
ul > li { position: relative; padding-left: 1.3em; }
ul > li::before {
  content: ""; position: absolute; left: 0; top: .78em;
  width: .5em; height: 1px; background: var(--brass);
}
ol { counter-reset: n; }
ol > li { counter-increment: n; position: relative; padding-left: 2em; }
ol > li::before {
  content: counter(n) "."; position: absolute; left: 0; top: 0;
  font-family: var(--serif); color: var(--brass);
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brass); color: var(--on-brass); padding: .7rem 1.1rem; font-weight: 600; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Type helpers -------------------------------------------------------------- */
.lede { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.27rem); line-height: 1.5;
        color: var(--mut); max-width: 38rem; }
h1 + .lede, h2 + .lede { margin-top: .9rem; }
.muted { color: var(--mut); }
.small { font-size: var(--t-small); }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.25rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.todo { background: #4A3A1A; border-bottom: 1px dashed var(--brass); color: var(--brass-lt); padding: 0 .15em; }

/* Layout -------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
/* A narrower column keeps the page's left edge rather than centring, so the
   text does not jump sideways between a page head and the section under it. */
:where(.container--mid) > * { max-width: var(--mid); }
.container--narrow { max-width: calc(36rem + 2 * var(--gutter)); }

.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.section--alt { background: var(--bg-2); }
.section + .section { border-top: 1px solid var(--rule); }
/* A band that once inverted to black. On a dark site it becomes a panel. */
.section--dark { background: var(--panel); }
.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section-head h2 { margin-bottom: 0; }

/* Prose pages are a container of h2s. A section break needs to be seen:
   real space, and a short brass rule the heading sits under. */
.container > h2:not(:first-child),
.stack > h2:not(:first-child),
.prose > h2:not(:first-child),
h2.mt-3 { margin-top: clamp(2.75rem, 5vw, 3.75rem); }
.container > h2:not(:first-child)::before,
.stack > h2:not(:first-child)::before,
.prose > h2:not(:first-child)::before,
h2.mt-3::before {
  content: ""; display: block; width: 2.5rem; height: 1px;
  background: var(--brass); margin-bottom: 1.25rem;
}
.stack > * + * { margin-top: 1.1em; }
.stack > h2 + *, .stack > h3 + * { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }

.prose-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .prose-grid { grid-template-columns: minmax(0, 1fr) 19rem; } }
.prose-grid > *, .grid > *, .hero__grid > * { min-width: 0; }

/* Ruled grids draw each cell's edge with a 1px spread shadow that fills the
   gap, so a short last row leaves the page ground, not a grey slab. */
.grid, .caps { display: grid; gap: 1px; padding: 1px; }
.grid > *, .caps > * { box-shadow: 0 0 0 1px var(--rule); }
@media (min-width: 680px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Cards: flat panels in a ruled grid. No lift, no shadow. ------------------- */
.card { background: var(--panel); padding: clamp(1.35rem, 2.4vw, 1.75rem); }
.grid > .card { border: 0; }
aside.card { border: 1px solid var(--rule); border-top: 2px solid var(--brass); }
.card h2, .card h3 { font-size: 1.2rem; max-width: none; margin-bottom: .5rem; }
.card p { font-size: .97rem; color: var(--mut); }
.card--flag, .grid > .card--flag { box-shadow: 0 0 0 1px var(--rule), inset 0 2px 0 var(--brass); }
.card__kicker { display: block; font-size: var(--t-small); color: var(--brass); margin-bottom: .4rem; }
.post-meta { font-size: var(--t-small); color: var(--mut); }
.arrow-link { display: inline-block; margin-top: auto; padding-top: 1rem; }

/* Spec list: label over value, as in a record. */
.spec { margin: 1.1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--rule-2); font-size: .9rem; }
.spec li { padding: .3rem 0; margin: 0; }
.spec li::before { display: none; }
.spec li, ul.spec > li { padding-left: 0; }
.spec__k { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-hi); }
.spec__k + span { color: var(--mut); }

/* Checklist ----------------------------------------------------------------- */
.checklist { margin-top: 1rem; border-top: 1px solid var(--rule); }
.checklist > li { padding: .6rem 0 .6rem 1.7rem; margin: 0; border-bottom: 1px solid var(--rule); }
.checklist > li::before {
  top: 1.05em; left: .1em; width: .55em; height: .3em; background: none;
  border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass);
  transform: rotate(-45deg);
}
@media (min-width: 700px) {
  .checklist--2 { columns: 2; column-gap: 2.5rem; border-top: 0; }
  .checklist--2 > li { break-inside: avoid; }
}

/* Steps --------------------------------------------------------------------- */
.steps { margin: 0; display: grid; gap: 1.25rem 2rem; max-width: none; }
.steps > li { margin: 0; padding: 1rem 0 0 2em; border-top: 1px solid var(--rule-2); }
.steps > li::before { top: 1rem; }
.steps--4 > li { padding-left: 0; }
.steps--4 > li::before { position: static; display: block; margin-bottom: .4rem;
  font-size: 1.35rem; line-height: 1; }
@media (min-width: 700px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps h3, .steps h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.steps p { font-size: .95rem; color: var(--mut); }
.callout .steps > li { border-top: 0; padding-top: 0; }
.callout .steps > li::before, .steps > li[style*="padding-top:0"]::before { top: 0; }

/* Callout: the one block that still earns a background. */
.callout { background: var(--panel); border-left: 2px solid var(--brass);
  padding: clamp(1.15rem, 2.2vw, 1.5rem) clamp(1.15rem, 2.4vw, 1.6rem); }
.callout h2, .callout h3 { font-size: 1.2rem; max-width: none; margin: 0 0 .45rem; }
.callout h2::before, .callout h3::before { display: none !important; }
.callout p { max-width: none; }
.callout--blocked { border-left-color: var(--blocked); }

/* Tables -------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; margin-top: 1.25rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 540px;
        font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: .82rem; font-weight: 600; color: var(--ink-hi); border-bottom: 1px solid var(--brass-dk);
     white-space: nowrap; }
td.num, th.num { font-family: var(--mono); font-size: .88rem; white-space: nowrap; }
tfoot td { border-top: 1px solid var(--rule-2); border-bottom: 0; color: var(--ink-hi); }
.rate-table td:first-child { color: var(--ink); }

/* Status: inline text, coloured, no badge. */
.pill { font-size: var(--t-small); font-weight: 600; color: var(--mut); white-space: nowrap; }
.pill--ok { color: var(--ok); }
.pill--blocked { color: var(--blocked); }

/* FAQ ----------------------------------------------------------------------- */
.faq { border-bottom: 1px solid var(--rule); }
.faq > summary { cursor: pointer; padding: .95rem 0; font-weight: 600; color: var(--ink-hi);
  list-style: none; display: flex; align-items: baseline; gap: .7rem; }
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::before { content: "+"; color: var(--brass); width: .8em; flex: none; }
.faq[open] > summary::before { content: "\2212"; }
.faq > summary:hover { color: var(--brass-lt); }
.faq > p { margin: 0 0 1.1rem 1.5rem; color: var(--mut); }

/* Buttons ------------------------------------------------------------------- */
.btn, .btn-c, .btn-ghost-c {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2;
  padding: .8em 1.4em; min-height: 2.9em; border: 1px solid transparent; border-radius: var(--r);
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--sm { padding: .55em 1em; min-height: 0; font-size: .9rem; }
a.btn, a.btn-c, a.btn-ghost-c { text-decoration: none; }
.btn, .btn--primary, .btn-c, a.btn, a.btn--primary, a.btn-c {
  background: var(--brass); color: var(--on-brass); border-color: var(--brass);
}
.btn:hover, a.btn:hover, a.btn-c:hover, .btn-c:hover {
  background: var(--brass-lt); border-color: var(--brass-lt); color: var(--on-brass);
}
.btn--ghost, .btn--onDark, .btn-ghost-c, .btn--signin,
a.btn--ghost, a.btn--onDark, a.btn-ghost-c, a.btn--signin {
  background: transparent; color: var(--ink-hi); border-color: var(--rule-2);
}
.btn--ghost:hover, .btn--onDark:hover, .btn-ghost-c:hover, .btn--signin:hover,
a.btn--ghost:hover, a.btn--onDark:hover, a.btn-ghost-c:hover, a.btn--signin:hover {
  background: transparent; color: var(--brass-lt); border-color: var(--brass);
}
.btn--signin { white-space: nowrap; }
.btn--signin svg { width: 15px; height: 15px; flex: none; stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-row, .btnrow { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
@media (max-width: 479px) {
  .btn-row, .btnrow { display: grid; grid-template-columns: 1fr; }
  .btn-row .btn, .btnrow > * { width: 100%; }
}

/* Beta bar ------------------------------------------------------------------ */
.betabar { background: var(--bg); color: var(--mut); border-bottom: 1px solid var(--rule); font-size: .85rem; }
.betabar__inner { display: flex; align-items: center; gap: .7rem; padding-block: .5rem; }
.betabar__tag { flex: none; line-height: 1; padding: .3em .55em; border: 1px solid var(--brass-dk);
  border-radius: 0; color: var(--ink-hi); font-size: .78rem; font-weight: 500; }
.betabar p { margin: 0; line-height: 1.45; max-width: none; }
.betabar a { color: var(--teal); }
@media (max-width: 640px) { .betabar__inner { align-items: flex-start; } .betabar__tag { margin-top: .1rem; } }

/* Header -------------------------------------------------------------------- */
/* The last of the navy was here, as an rgba the hex sweep did not catch. */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 11, .92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 72px; }
.brand, .brand:hover { display: flex; align-items: center; gap: .65rem; text-decoration: none;
  flex-shrink: 0; color: var(--ink-hi); }
.brand__mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: 0;
  color: var(--ink-hi); white-space: nowrap; }
.brand__name em { font-style: normal; font-weight: 400; color: var(--brass); margin-left: .2em; }
.brand__beta { font-family: var(--sans); font-size: .55em; font-weight: 600; color: var(--mut);
  vertical-align: .35em; margin-left: .15em; }
.brand__sub { display: none; }
/* The GreenVets family lockup: the company logo, then the product word in a box. */
.brand__logo { display: block; flex-shrink: 0; height: auto; }
.brand__word { font-family: var(--serif); font-weight: 600; font-size: .95rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brass-lt); border: 1px solid var(--brass-dk); border-radius: 3px;
  padding: .28em .5em .28em .72em; line-height: 1; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; align-items: center; gap: 1.4rem; margin: 0; padding: 0; max-width: none; }
.nav__list li { margin: 0; padding: 0; }
.nav__list li::before { display: none; }
.nav__link { font-size: .92rem; color: var(--ink); text-decoration: none; padding-block: .35rem;
  border-bottom: 1px solid transparent; white-space: nowrap; }
.nav__link:hover { color: var(--ink-hi); border-bottom-color: var(--rule-2); text-decoration: none; }
.nav__link.is-active { color: var(--ink-hi); border-bottom-color: var(--brass); }

.nav-toggle { display: none; background: none; border: 1px solid var(--rule-2); border-radius: var(--r);
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink-hi); position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: .5rem var(--gutter) 1.4rem; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--rule); }
  .nav__link.is-active { border-bottom-color: var(--rule); box-shadow: inset 2px 0 0 var(--brass);
    padding-left: .75rem; }
  .btn--signin { margin-top: .9rem; }
  .nav__cta { margin-top: .75rem; }
}

/* Page head ----------------------------------------------------------------- */
.page-head { padding-block: clamp(3rem, 6vw, 4.75rem) clamp(1rem, 2vw, 1.5rem); }
.page-head + .section { border-top: 0; padding-top: clamp(2rem, 4vw, 3rem); }
.page-head .lede { max-width: 42rem; }
.breadcrumb { font-size: var(--t-small); color: var(--mut); margin-bottom: 1.1rem; }
.breadcrumb a { color: var(--mut); }
.breadcrumb a:hover { color: var(--ink-hi); }
.breadcrumb span { margin-inline: .45rem; color: var(--brass-dk); }

/* Home hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem); }
/* The one ornament on the site: a compass graticule, line-drawn, faint. */
.hero::before {
  content: ""; position: absolute; pointer-events: none;
  width: 58rem; height: 58rem; right: -18rem; top: -14rem;
  background: url("/img/graticule.svg") center / contain no-repeat;
  opacity: .55;
}
.hero > .container { position: relative; }
.hero h1 { font-size: var(--t-hero); line-height: 1.04; max-width: 15ch; letter-spacing: 0; }
.hero__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }
.hero__who { margin-top: 1.5rem; font-size: var(--t-small); color: var(--mut); max-width: 44ch; }
@media (max-width: 700px) { .hero::before { width: 34rem; height: 34rem; right: -16rem; top: -8rem; opacity: .4; } }

/* Console: the hero demo, which parses what you type the way the platform
   does. A product, not a picture of one, so it is styled as a panel. */
/* Depth is the hairline. The console used to float on a 60px shadow. */
.console { background: var(--panel); border: 1px solid var(--rule-2); border-radius: var(--r); }
.console__bar { display: flex; align-items: center; gap: .75rem; padding: .65rem 1rem;
  border-bottom: 1px solid var(--rule); font-size: .8rem; color: var(--mut); }
.console__bar img { width: 18px; height: 18px; }
.console__live { margin-left: auto; }
.console__body { padding: 1.2rem 1.1rem 1.25rem; }
.console__lbl { font-family: var(--serif); font-size: 1.05rem; color: var(--ink-hi); margin: 0; }
.console__in { display: flex; align-items: center; gap: .6rem; margin-top: .65rem;
  border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--bg); padding: .1rem .75rem;
  transition: border-color .15s; }
.console__in:focus-within { border-color: var(--teal); }
.console__in s { text-decoration: none; color: var(--brass); font-family: var(--mono); }
.console__in input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink-hi);
  font: inherit; font-size: 1rem; padding: .7rem 0; }
.console__read { margin-top: 1rem; border-top: 1px solid var(--rule); padding-top: .9rem; }
.console__read dl { display: grid; grid-template-columns: 5.5rem 1fr; gap: .45rem .9rem; margin: 0; font-size: .92rem; }
.console__read dt { color: var(--mut); font-size: .85rem; }
.console__read dd { margin: 0; color: var(--ink-hi); min-width: 0; overflow-wrap: anywhere; }
.console__read dd[data-demo-product] { font-family: var(--mono); font-size: .85rem; }
.console__read .tag { color: var(--brass); font-weight: 600; }
.console__cost { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem;
  margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--mut); }
.console__cost b { font-family: var(--mono); font-weight: 400; color: var(--ink-hi); }

/* Sample result: a real screen layout, set in HTML. */
.sample { background: var(--panel); border: 1px solid var(--rule-2); border-radius: var(--r); }
.sample__hd { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem;
  padding: .8rem 1rem; border-bottom: 1px solid var(--rule); }
.sample__hd span:first-child { font-family: var(--serif); font-weight: 600; color: var(--ink-hi); }
.sample__hd span:last-child { font-family: var(--mono); font-size: .8rem; color: var(--mut); }
.sample__row { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem;
  padding: .8rem 1rem; border-bottom: 1px solid var(--rule); }
.sample__row:last-child { border-bottom: 0; }
.sample__row b { font-weight: 600; font-size: .95rem; color: var(--ink-hi); }
.sample__row small { display: block; color: var(--mut); font-size: .82rem; margin-top: .1rem; }
.sample .console__cost { margin: 0; padding: .85rem 1rem 1rem; }
.chip-c { font-size: .8rem; color: var(--mut); white-space: nowrap; align-self: start; }
.chip-c--ok { color: var(--ok); }
.chip-c--one { color: var(--brass); }

/* Capability panels: a ruled grid, label in the serif, no icons. */
.caps { margin-top: 2.25rem; }
@media (min-width: 680px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .caps--3 { grid-template-columns: repeat(3, 1fr); } }
.caps > article { background: var(--panel); padding: 1.6rem 1.5rem; }
.caps h3 { font-size: 1.2rem; margin: 0 0 .5em; }
.caps p { margin: 0 0 .7em; font-size: .97rem; color: var(--mut); max-width: none; }
.caps p:last-child { margin-bottom: 0; }

/* Split: two columns of prose and a panel. */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split > * { min-width: 0; }

/* Watson on the home page: the emblem, and what it does with a file. */
.watson { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .watson { grid-template-columns: 13rem 1fr; gap: 3.5rem; } }
.watson__mark { width: 13rem; height: 13rem; border-radius: 50%; background: var(--bg); justify-self: center; }
@media (max-width: 799px) { .watson__mark { width: 9rem; height: 9rem; justify-self: start; } }
.watson h2 { margin-bottom: .4rem; }
.watson__by { font-size: var(--t-small); color: var(--brass); margin-bottom: 1.25rem; }

/* Closing band ------------------------------------------------------------- */
.cta-band__inner { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 800px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: .35rem; }
.cta-band p { color: var(--mut); }
.closing { text-align: center; }
.closing > *, .closing h2, .closing p { margin-inline: auto; }
.closing .btnrow { justify-content: center; margin-top: 1.75rem; }

/* Code samples -------------------------------------------------------------- */
.term { background: var(--bg); border: 1px solid var(--rule-2); border-radius: var(--r);
  font-family: var(--mono); font-size: .82rem; line-height: 1.75; overflow: hidden; margin-top: 1rem; }
.term__bar { padding: .5rem 1rem; border-bottom: 1px solid var(--rule); }
.term__dot { display: none; }
.term__title { color: var(--mut); font-size: .78rem; }
.term__body { padding: 1rem 1.1rem; color: var(--ink); overflow-x: auto; }
.term__body pre { margin: 0; font: inherit; }
.term__body .k { color: var(--brass-lt); }
.term__body .s { color: var(--teal); }
.term__body .c { color: #8592A6; }
.term__body .ok { color: var(--ok); }
.term__body .no { color: var(--blocked); }

/* Forms --------------------------------------------------------------------- */
.applyform label { display: block; margin-bottom: 1rem; font-size: .92rem; font-weight: 600; color: var(--ink-hi); }
.applyform input, .applyform select, .applyform textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .65rem .75rem;
  font: inherit; font-weight: 400; color: var(--ink-hi); background: var(--bg);
  border: 1px solid var(--rule-2); border-radius: var(--r); }
.applyform input:focus, .applyform select:focus, .applyform textarea:focus {
  outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.applyform textarea { resize: vertical; }
.applyform .req { color: var(--brass); }
.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 620px) { .fieldrow { grid-template-columns: 1fr; } }
/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#vol { accent-color: var(--brass); }
.bio__placeholder { width: 6rem; height: 6rem; border-radius: 50%; background: var(--panel-2);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; color: var(--brass); }

/* Footer -------------------------------------------------------------------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--rule); color: var(--mut);
  padding-block: clamp(3rem, 6vw, 4.25rem) 2rem; font-size: .9rem; }
.footer-grid { display: grid; gap: 2rem 2.5rem; grid-template-columns: 1fr;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule); }
@media (min-width: 560px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1.15fr .9fr; } }
.footer-brand .brand__mark { width: 48px; height: 48px; }
.footer-brand__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink-hi);
  margin: .8rem 0 .4rem; }
.footer-brand__meta { font-size: .85rem; line-height: 1.7; margin: 0; }
.footer-col__title { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--ink-hi);
  margin: 0 0 .8rem; max-width: none; }
.footer-col ul { margin: 0; padding: 0; }
.footer-col li { margin: 0 0 .45rem; padding: 0; }
.footer-col li::before { display: none; }
.site-footer a { color: var(--mut); text-decoration: none; }
.site-footer a:hover { color: var(--ink-hi); text-decoration: underline; }
.footer-signin p { margin: 0 0 .75rem; }
.footer-signin .btn, .footer-signin a.btn { width: 100%; color: var(--on-brass); }
.footer-signin a.btn:hover { color: var(--on-brass); text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.5rem; font-size: .82rem; }
.footer-legal p { margin: 0; max-width: none; }
.footer-legal__links { display: flex; gap: 1.4rem; }
.footer-disclaimer { margin-top: 1.25rem; font-size: .8rem; line-height: 1.65; max-width: 92ch; }
.footer-disclaimer strong { color: var(--ink); }

/* Touch targets. Standalone links and controls get 44px on a phone; links
   inside running prose keep their natural size, as WCAG allows. */
@media (max-width: 760px) {
  .brand { min-height: 44px; }
  .btn, .btn--sm { min-height: 44px; }
  h1 > a:only-child, h2 > a:only-child, h3 > a:only-child, h4 > a:only-child,
  td > a:only-child, th > a:only-child, dd > a:only-child, p > a:only-child,
  li > a:only-child, li > span > a:only-child, .caps a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .footer-col li a, .footer-legal a { display: inline-block; padding-block: .55rem; }
  .betabar p > a:only-child { display: inline; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .betabar, .nav-toggle, .hero::before { display: none; }
  body { background: #fff; color: #111; }
  h1, h2, h3, strong { color: #111; }
}
