/* Stallward — stallward.com
   Recreated from the Claude Design file "Stallward Website.dc.html".
   Every value below comes from that design; change them there first. */

:root {
  --page: #0C0E10;
  --bg: #14171A;            /* also the ink used on sage */
  --panel: #1B1F22;
  --panel-raised: #23282C;
  --panel-sunk: #171B1E;
  --footer: #101316;
  --line: #2C3236;
  --line-strong: #3C434A;

  --text: #E9E7E2;
  --text-bright: #F2F4F1;
  --text-soft: #CED2CB;
  --muted: #A0A39C;
  --faint: #8B8F88;
  --placeholder: #6E7269;

  --sage: #A8BE8E;
  --sage-hover: #C2D6A8;
  --sage-deep: #2E3826;

  --paper: #E7E4DB;
  --paper-card: #DBD8CE;
  --paper-chip: #CBC8BC;
  --paper-text: #171B14;
  --paper-muted: #3A3E36;

  --sans: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

[hidden] { display: none !important; }

body { margin: 0; background: var(--page); }
a { color: var(--sage); text-decoration: none; }
a:hover { color: var(--sage-hover); }
input, textarea { font-family: var(--sans); }
input:focus, textarea:focus { outline: 2px solid var(--sage); outline-offset: -1px; }
::placeholder { color: var(--placeholder); }

.page {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mono { font-family: var(--mono); }

/* Shared section furniture ------------------------------------------------ */

.wrap { max-width: 1200px; margin: 0 auto; padding: 72px 30px; }
.wrap--tall { padding: 76px 30px; }
.ruled { border-top: 1px solid var(--line); }

.h2 {
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 1.02;
  letter-spacing: -.042em;
  margin: 0;
  text-wrap: pretty;
}

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Heading on the left, a short paragraph on the right. */
.intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 56px;
  align-items: baseline;
  margin-bottom: 44px;
}
.intro__text {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 48ch;
  text-wrap: pretty;
}

/* Top band: masthead + hero share the gridded background ------------------- */

.top {
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 95% at 10% -12%, rgba(168, 190, 142, .11), transparent 62%),
    repeating-linear-gradient(0deg, rgba(233, 231, 226, .03) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(233, 231, 226, .016) 0 1px, transparent 1px 5px);
  border-bottom: 1px solid var(--line);
}

.masthead { background: var(--bg); border-bottom: 1px solid var(--line); }

.strip { background: var(--sage); }
.strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
  align-items: baseline;
}
.strip__text {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bg);
}
.strip__text--dim { color: var(--sage-deep); }

.masthead__bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
}
.wordmark {
  margin: 0;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: .075em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text-bright);
}
a.wordmark:hover { color: var(--text-bright); }

a.cta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--sage);
  border: 1px solid var(--sage);
  color: var(--bg);
  font-weight: 500;
  padding: 11px 20px;
  transition: background .18s ease, border-color .18s ease;
}
a.cta:hover { background: var(--sage-hover); border-color: var(--sage-hover); color: var(--bg); }

/* Hero -------------------------------------------------------------------- */

.hero { max-width: 1200px; margin: 0 auto; padding: 40px 30px 76px; }
.hero__eyebrow {
  margin: 0 0 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
}
.hero__title {
  position: relative;
  font-weight: 700;
  font-size: clamp(36px, 5.9vw, 76px);
  line-height: 1.02;
  letter-spacing: -.046em;
  margin: 0 0 40px;
  max-width: max(320px, 72%);
  min-height: 4.2em;
  text-wrap: pretty;
}
.hero__line { position: absolute; top: 0; left: 0; right: 0; }
.hero__line + .hero__line { opacity: 0; }

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px 60px;
  align-items: start;
}
.hero__copy { min-width: 0; }
.hero__lede {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -.02em;
  max-width: 26ch;
  text-wrap: pretty;
}
.hero__body { margin: 0; font-size: 17px; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.hero__body .hl { color: var(--sage); }

/* The single-item digest card beside the hero copy. */
.alert { min-width: 0; background: var(--panel); border: 1px solid var(--line); }
.alert__head {
  padding: 16px 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.alert__label,
.alert__badge {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
.alert__badge { background: var(--sage); color: var(--bg); padding: 3px 8px; }
.alert__body { padding: 16px 20px 18px; }
.alert__amount {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--sage);
}
.alert__who { margin: 0 0 4px; font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.alert__role { margin: 0 0 16px; font-size: 14.5px; color: var(--faint); }
.alert__clock { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.meter { height: 4px; background: var(--line); }
.meter__fill { width: 71%; height: 4px; background: var(--sage); }
.alert__foot { border-top: 1px solid var(--line); padding: 16px 20px; }
.alert__action { margin: 0; font-size: 15px; color: var(--text-soft); }

/* Three signals (light band) ---------------------------------------------- */

.signals { background: var(--paper); color: var(--paper-text); }
.signals .h2 { margin: 0 0 48px; max-width: 22ch; }
.signals__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 36px;
}
.signal { min-width: 0; background: var(--paper-card); padding: 28px 26px; }
.signal__clock {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--paper-muted);
  background: var(--paper-chip);
  display: inline-block;
  padding: 4px 8px;
}
.signal__title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.032em;
  line-height: 1.12;
  text-wrap: pretty;
}
.signal__text { margin: 0; font-size: 16px; color: var(--paper-muted); text-wrap: pretty; }

/* Credibility ------------------------------------------------------------- */

.credibility { max-width: 1200px; margin: 0 auto; padding: 76px 30px; }
.credibility .h2 { margin: 0 0 48px; max-width: 24ch; }
.credibility__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 44px 56px;
}
.point { min-width: 0; border-top: 2px solid var(--sage); padding-top: 20px; }
.point .eyebrow { margin: 0 0 12px; }
.point__title {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -.03em;
  line-height: 1.16;
  text-wrap: pretty;
}
.point__text { margin: 0; font-size: 16px; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.point__text .said { color: var(--text); }
.point__text .unsaid { color: var(--faint); }

/* Escalation ladder ------------------------------------------------------- */

.ladder .h2 { max-width: 18ch; }
.ladder__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ladder__table { min-width: 660px; border: 1px solid var(--line); background: var(--panel); }
.ladder__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--line);
}
.ladder__row:last-child { border-bottom: 0; }
.ladder__cols { display: grid; grid-template-columns: repeat(3, 1fr); }

.ladder__corner {
  padding: 12px 16px;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
.ladder__time { padding: 12px 16px; font-family: var(--mono); font-size: 11.5px; color: var(--text); }
.ladder__time + .ladder__time { border-left: 1px solid var(--line); }

.ladder__who { padding: 20px 16px; border-right: 1px solid var(--line); }
.ladder__role {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage);
}

.ladder__cell { padding: 16px; }
.ladder__cell--rule { border-right: 1px solid var(--line); }
.ladder__cell--live { background: var(--panel-raised); }
.ladder__cell--wide { grid-column: span 2; }
.ladder__title { margin: 0 0 5px; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.ladder__title--quiet { font-weight: 500; color: var(--text-soft); }
.ladder__note { margin: 0; font-size: 14px; color: var(--muted); }
.ladder__note--faint { color: var(--faint); }

/* Sample digest ----------------------------------------------------------- */

.sample .intro { margin-bottom: 40px; }
.sample .h2 { max-width: 14ch; }

.digest { background: var(--panel); border: 1px solid var(--line); }
.digest__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-strong);
}
.digest__brand {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
}
.digest__date { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }

.digest__tier {
  padding: 24px 24px 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  justify-content: space-between;
}
.digest__total { margin: 0; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }

.digest__rows { padding: 0 24px; }
.digest__row {
  border-top: 1px solid var(--line);
  padding: 18px 0 18px 18px;
  border-left: 3px solid var(--sage);
}
.digest__row:first-child { margin-top: 10px; }
.digest__line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: space-between;
  align-items: baseline;
}
.digest__account { margin: 0; font-weight: 600; font-size: 20px; letter-spacing: -.028em; }
.digest__rank { font-family: var(--mono); font-size: 13px; color: var(--sage); margin-right: 12px; }
.digest__value { margin: 0; font-weight: 700; font-size: 20px; letter-spacing: -.03em; color: var(--sage); }
.digest__why { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.digest__why .aside { color: var(--text-soft); }
.digest__do { margin: 6px 0 0; font-size: 15px; color: var(--text); }

.digest__group { margin: 0 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.digest__group--watch { margin: 18px 24px 0; border-top-color: var(--line-strong); }
.digest__group-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.digest__group .eyebrow { color: var(--faint); }
.digest__subtotal { margin: 0; font-weight: 600; font-size: 17px; letter-spacing: -.025em; color: var(--text-soft); }
.digest__list { margin: 0 0 6px; font-size: 15px; color: var(--muted); }
.digest__list:last-child { margin: 0; }
.digest__hint { margin: 0; font-size: 15px; color: var(--faint); }

.digest__actions {
  border-top: 1px solid var(--line);
  background: var(--panel-sunk);
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  border: 1px solid var(--line-strong);
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.chip--on { border: 0; padding: 8px 14px; background: var(--sage); color: var(--bg); }

.sample__caption {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--faint);
  max-width: 62ch;
  text-wrap: pretty;
}

/* Free scan --------------------------------------------------------------- */

.scan__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 48px;
  align-items: start;
}
.scan__pitch { min-width: 0; border-left: 3px solid var(--sage); padding-left: 28px; }
.scan__pitch .eyebrow { margin: 0 0 18px; font-size: 11.5px; }
.scan__title {
  font-weight: 700;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: .98;
  letter-spacing: -.046em;
  margin: 0 0 24px;
  max-width: 18ch;
  text-wrap: pretty;
}
.scan__text { margin: 0 0 16px; font-size: 17px; color: var(--text-soft); max-width: 50ch; text-wrap: pretty; }
.scan__fine { margin: 0; font-size: 15px; color: var(--faint); max-width: 52ch; text-wrap: pretty; }

.scan__card { min-width: 0; background: var(--panel); border: 1px solid var(--line); padding: 32px 30px; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 18px;
}
.field__pair .field { min-width: 0; }
.field__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}
.field__input {
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: 12px 13px;
  font-size: 16px;
  color: var(--text);
  border-radius: 0;
}
.field__input--fill { width: 100%; box-sizing: border-box; }
textarea.field__input { resize: vertical; }
.field__input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 40px var(--bg) inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
}

/* Off-screen trap field; people never see or reach it. */
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.button {
  background: var(--sage);
  color: var(--bg);
  border: none;
  padding: 15px 28px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.015em;
  cursor: pointer;
  justify-self: start;
}
.button:hover { background: var(--sage-hover); }
.button:disabled { cursor: progress; opacity: .72; }
.button:disabled:hover { background: var(--sage); }

.form__note { margin: 0; font-size: 14px; color: var(--faint); text-wrap: pretty; }
.form__error {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--sage);
  background: var(--bg);
  font-size: 15px;
  color: var(--text);
  text-wrap: pretty;
}

.sent { display: grid; gap: 14px; }
.sent .eyebrow { font-size: 10.5px; }
.sent__title {
  margin: 0;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.03em;
  line-height: 1.2;
  text-wrap: pretty;
}
.sent__title:focus { outline: none; }
.sent__text { margin: 0; font-size: 16px; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.sent__fine { margin: 0; font-size: 15px; color: var(--faint); }

/* Data handling ----------------------------------------------------------- */

.handling .eyebrow { margin: 0 0 16px; }
.handling .h2 { margin: 0 0 14px; max-width: 22ch; }
.handling__lede { margin: 0 0 40px; font-size: 16px; color: var(--muted); }

.facts { display: grid; margin: 0; }
.fact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 8px 48px;
  padding: 20px 14px;
  margin: 0 -14px;
  border-top: 1px solid var(--line);
  transition: background .18s ease, box-shadow .18s ease;
}
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact:hover { background: var(--panel); box-shadow: inset 3px 0 0 var(--sage); }
.fact__term { margin: 0; font-family: var(--mono); font-size: 12.5px; color: var(--faint); }
.fact__detail { margin: 0; font-size: 16px; color: var(--text-soft); max-width: 60ch; text-wrap: pretty; }
.fact__detail strong { color: var(--sage); font-weight: 600; }

/* Price ------------------------------------------------------------------- */

.price__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 52px;
  align-items: start;
}
.price__grid > div { min-width: 0; }
.price .h2 { margin: 0 0 26px; text-wrap: wrap; }
.price__figure { margin: 0 0 8px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price__amount { font-weight: 700; font-size: clamp(44px, 5.4vw, 64px); letter-spacing: -.05em; color: var(--sage); }
.price__unit { font-size: 16px; color: var(--muted); }
.price__terms {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sage);
}
.price__text { margin: 0 0 20px; font-size: 17px; color: var(--text-soft); max-width: 52ch; text-wrap: pretty; }
.price__fine {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--faint);
  max-width: 56ch;
  text-wrap: pretty;
}

/* Footer ------------------------------------------------------------------ */

.footer { background: var(--footer); border-top: 1px solid var(--line); }
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  align-items: baseline;
}
.footer__text { margin: 0; font-size: 15px; color: var(--muted); }
.footer__meta { margin: 0; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }

/* Utility pages (received, not sent, 404) --------------------------------- */

.page--short { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.page--short > main { flex: 1 0 auto; }
.notice { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 72px 30px 96px; }
.notice__card { max-width: 640px; background: var(--panel); border: 1px solid var(--line); padding: 32px 30px; }
.notice__back { margin: 0; font-size: 15px; color: var(--faint); }

/* Motion ------------------------------------------------------------------
   site.js adds .motion to <html> before the page paints, unless the visitor
   prefers reduced motion. Without JavaScript nothing here applies, so every
   element simply renders in place. */

.motion [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.motion [data-reveal].is-in,
.settled [data-reveal] { opacity: 1; transform: none; }

.motion .meter__fill { width: 0; transition: width 1.2s var(--ease) .2s; }
.settled .meter__fill { width: 71%; }

@media print {
  @page { margin: .5cm; }
  *, *::before, *::after {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    transition-duration: 0s !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
