/* ui_kits/site/site.css — page-specific layout on top of colors_and_type.css */

/* Layout container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Page structure */
.site {
  background: var(--paper);
  color: var(--ink);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  height: 64px;
  display: flex;
  align-items: center;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-header__logo { display: flex; align-items: center; height: 28px; }
.site-header__logo img { height: 28px; display: block; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header__nav a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: 0;
}
.site-header__nav a:hover { color: var(--ink); }
.site-header__cta {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 8px 16px;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-std);
}
.site-header__cta:hover { background: var(--ink-2); border-color: var(--ink-2); }

/* Hamburger toggle + in-menu CTA: hidden on desktop, surfaced at <=900px.
   See the responsive block at the bottom of this file for the open behavior. */
.site-header__nav-cta { display: none; }
.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  background: none;
  border: 1px solid var(--rule-strong);
  cursor: pointer;
}
.site-header__toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease-std), opacity var(--dur-fast) var(--ease-std);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-gap) 0;
  border-bottom: 1px solid var(--rule);
}
.section--hero { padding: 80px 0 72px; }
.section--ink { background: var(--ink); color: var(--paper-on-ink); border-bottom: none; }
.section--ink .eyebrow { color: var(--ink-3-on-ink); }
.section--ink a { color: var(--paper-on-ink); text-decoration-color: rgba(247,244,236,0.3); }
.section--ink a:hover { text-decoration-color: var(--paper-on-ink); }

.section__header {
  margin-bottom: 40px;
}
.section__eyebrow {
  margin-bottom: 12px;
}

/* ===== HERO ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
.hero__h1 {
  font-size: 88px;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-weight: 500;
}
.hero__subhead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.35;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: 20px;
  font-weight: 400;
}
.hero__subsub {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 720px;
  margin-bottom: 36px;
}
.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--signal-amber-tint);
  border: 1px solid var(--signal-amber);
  color: var(--signal-amber);
  padding: 5px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

/* Buttons */
.btn {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  transition: background var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std), transform 60ms var(--ease-std);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--primary:active { transform: translateY(1px); background: var(--ink); border-color: var(--ink); }
.btn--secondary { background: var(--paper); color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--paper); }
.btn--lg { padding: 16px 28px; font-size: 16px; }

.hero__inline-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-2);
}
.hero__inline-links a { color: var(--ink); }
.hero__inline-links .sep { color: var(--ink-3); }

/* Hero excel mock */
.hero__visual {
  /* margin: top only — zero the UA <figure> left/right margin (1em 40px) so the
     mock aligns to the container edge like every other block. */
  margin: 56px 0 0;
  border: 1px solid var(--rule-strong);
  background: var(--paper-2);
  overflow: hidden;
}
.hero__visual-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  padding: 10px 16px;
  border-top: 1px solid var(--rule);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== TWO-COL BLOCK (eyebrow+heading | body) ===== */
.two-col {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.two-col__heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.two-col__body p {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 18px;
  color: var(--ink);
  max-width: 720px;
}
.two-col__body p:last-child { margin-bottom: 0; }
.two-col__body .signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-2);
  margin-top: 6px;
}

/* ===== TECHNICAL FEATURE LIST ===== */
.tech-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
.tech-list__item {
  padding: 24px 32px 24px 0;
  border-bottom: 1px solid var(--rule);
}
.tech-list__item:nth-child(odd) { padding-right: 48px; border-right: 1px solid var(--rule); }
.tech-list__item:nth-child(even) { padding-left: 48px; }
.tech-list__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 8px;
}
.tech-list__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--ink);
}
.tech-list__body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.tech-list__body code {
  font-size: 13px;
  background: var(--paper-2);
  padding: 1px 5px;
}

/* ===== BUYERS ===== */
.buyers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
.buyers__col {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--rule);
}
.buyers__col:last-child { border-right: none; padding-right: 0; }
.buyers__col:not(:first-child) { padding-left: 32px; }
.buyers__eyebrow { margin-bottom: 14px; }
.buyers__body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pricing-card {
  border: 1px solid var(--rule-strong);
  padding: 36px 32px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border: 1px solid var(--ink);
  background: var(--paper);
}
.pricing-card__use {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.pricing-card__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.pricing-card__usedesc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 24px;
  min-height: 42px;
}
.pricing-card__usedesc a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.pricing-card__amount {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pricing-card__period {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-3);
}
.pricing-card__monthly {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--rule);
}
.pricing-card__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.pricing-card__list li span:last-child {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 13px;
}
.pricing-card__cta {
  margin-top: auto;
}
.pricing-note {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 24px;
  max-width: 800px;
}
.pricing-examples {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-top: 32px;
  padding-left: 24px;
  border-left: 1px solid var(--rule-strong);
  max-width: 700px;
}
.pricing-examples div { margin-bottom: 4px; }
.pricing-examples strong { font-style: normal; font-family: var(--font-mono); font-weight: 500; color: var(--ink); font-size: 14px; }
.pricing-small {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 16px;
  line-height: 1.5;
}
.pricing-vendor-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.pricing-vendor-note a { color: var(--ink); }

/* ===== TRUST SIGNALS ===== */
.trust__intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 48px;
  max-width: 720px;
}
.trust-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.trust-signal {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--rule);
}
.trust-signal:last-child { border-right: none; padding-right: 0; }
.trust-signal:not(:first-child) { padding-left: 32px; }
.trust-signal__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.trust-signal__lead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.trust-signal__body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.sloc-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.sloc-bullet__num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sloc-bullet__label {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 8px;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.contact__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 16px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.form input,
.form textarea,
.form select {
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  padding: 11px 14px;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-std);
}
.form input:focus,
.form textarea:focus { border-color: var(--ink); }
.form textarea { resize: vertical; min-height: 120px; font-family: var(--font-sans); }
.radio-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.radio-card {
  flex: 1;
  border: 1px solid var(--rule-strong);
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color var(--dur-fast) var(--ease-std), background var(--dur-fast) var(--ease-std);
}
.radio-card:hover { background: var(--paper-2); }
.radio-card--selected { border-color: var(--ink); background: var(--paper); }
.radio-card__title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.radio-card__desc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-3);
}
.form__below {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 8px;
}
.form__below a { color: var(--ink); }

/* ===== DISCLAIMER FOOTER ===== */
.disclaimer {
  padding: 64px 0;
  background: var(--ink);
  color: var(--paper-on-ink);
}
.disclaimer__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3-on-ink);
  max-width: 880px;
  margin-bottom: 48px;
}
.disclaimer__text strong { color: var(--paper-on-ink); font-style: normal; font-weight: 500; font-family: var(--font-sans); }
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 32px;
  border-top: 1px solid rgba(247,244,236,0.15);
}
.footer-row__logo img { height: 32px; display: block; opacity: 0.95; }
.footer-row__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3-on-ink);
  line-height: 1.6;
}
.footer-row__meta a { color: var(--ink-3-on-ink); }
.footer-row__meta a:hover { color: var(--paper-on-ink); }
.footer-row__links {
  display: flex;
  gap: 24px;
  font-family: var(--font-sans);
  font-size: 13px;
}

/* ===== EXCEL MOCK (MockExcel.jsx) ===== */
.xl {
  background: #fafaf7;
  font-family: 'Segoe UI', 'Calibri', system-ui, sans-serif;
  font-size: 11px;
  color: #1f1f1f;
  user-select: none;
}
.xl__ribbon {
  background: #f3f2f1;
  border-bottom: 1px solid #d2d0ce;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
}
.xl__ribbon-title {
  font-family: 'Segoe UI Semibold', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  color: #1f1f1f;
}
.xl__ribbon-tab {
  color: #444;
  padding: 2px 6px;
  cursor: default;
}
.xl__ribbon-tab--active {
  background: #fff;
  border-bottom: 2px solid #217346;
  color: #217346;
  font-weight: 600;
}
.xl__formula-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #d2d0ce;
  padding: 4px 8px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12px;
}
.xl__formula-bar-cell {
  width: 64px;
  border: 1px solid #c8c6c4;
  padding: 3px 6px;
  background: #fff;
  margin-right: 8px;
  font-size: 11px;
  color: #1f1f1f;
}
.xl__formula-bar-fx {
  color: #6a6a6a;
  font-style: italic;
  margin-right: 8px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.xl__formula-bar-formula { color: #1f1f1f; }
.xl__grid {
  display: grid;
  grid-template-columns: 32px repeat(7, 1fr);
  background: #fff;
}
.xl__corner, .xl__col-head, .xl__row-head {
  background: #f3f2f1;
  color: #444;
  font-size: 10px;
  text-align: center;
  border-right: 1px solid #e1dfdd;
  border-bottom: 1px solid #e1dfdd;
  padding: 2px 4px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.xl__row-head { font-weight: 500; }
.xl__cell {
  padding: 3px 8px;
  border-right: 1px solid #e1dfdd;
  border-bottom: 1px solid #e1dfdd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}
.xl__cell--header {
  background: #f3f2f1;
  font-weight: 600;
  color: #1f1f1f;
  text-align: right;
}
.xl__cell--formula {
  font-family: 'Consolas', monospace;
  color: #424242;
  font-size: 10.5px;
}
.xl__cell--num { text-align: right; font-feature-settings: 'tnum' 1; font-family: 'Consolas', monospace; }
.xl__cell--up { color: #217346; }
.xl__cell--down { color: #c4262e; }
/* Excel-style Accounting format: negatives wear parens, positives reserve a
   trailing 1ch slot so digits align across the column. */
.xl__cell--accounting:not(.xl__cell--down) { padding-right: calc(8px + 1ch); }
.xl__cell--selected { outline: 2px solid #217346; outline-offset: -2px; background: #f0f9f0; }
.xl__sheet-tabs {
  display: flex;
  border-top: 1px solid #d2d0ce;
  background: #f3f2f1;
  padding: 0 12px;
  font-size: 11px;
}
.xl__sheet-tab {
  padding: 4px 14px;
  border-right: 1px solid #d2d0ce;
  color: #444;
  cursor: default;
}
.xl__sheet-tab--active {
  background: #fff;
  border-top: 2px solid #217346;
  color: #217346;
  font-weight: 600;
  margin-top: -1px;
}
.xl__status {
  display: flex;
  justify-content: space-between;
  background: #217346;
  color: #fff;
  padding: 3px 12px;
  font-size: 10.5px;
}

/* =============================================================
   Section 3 feature cards + topic-schema formula table + helpers
   ============================================================= */

/* ----- Section 3 feature cards (replaces the old 8-item tech-list) ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule);
}
.feature-card {
  padding: 28px 28px 28px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  /* min-width:0 keeps the three 1fr tracks equal. Without it, the nowrap code line's
     min-content width inflates whichever columns hold the longest strings (cols 1-2),
     squeezing col 3 narrow AND leaving the container's full-width top border overhanging
     the cards — the broken top-right corner. With it, columns are equal and the code line
     ellipsis-truncates within its track. */
  min-width: 0;
}
.feature-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 14px;
}
.feature-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}
.feature-card__body {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.feature-card__code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  background: var(--paper-2);
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.feature-card__code .tok-str { color: var(--ticker-green); }
.feature-card__code .tok-fn  { font-weight: 600; color: var(--ink-2); }

/* ----- Pre-launch note near pricing + CTA posture ----- */
.prelaunch-note {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 24px;
  padding: 12px 16px;
  background: var(--signal-amber-tint);
  border: 1px solid var(--signal-amber);
  border-radius: 2px;
  max-width: 800px;
}
.prelaunch-note strong { color: var(--signal-amber); font-weight: 600; }

/* ----- Safety strip ----- */
.safety-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule);
  margin-bottom: var(--block-gap);
}
.safety-item {
  padding: 24px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.safety-item__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}
.safety-item__body {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.safety-item__body code { font-size: 13px; background: var(--paper-2); padding: 1px 5px; }
@media (max-width: 900px) {
  .safety-strip { grid-template-columns: 1fr; border-left: none; }
}

/* ----- Schema-page link (used in Section 3 and topic-schema page) ----- */
.schema-link-row {
  margin-top: 32px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-2);
}
.schema-link-row a { color: var(--ink); }

/* --nav modifier: a row of standalone essay/nav links (no leading prose).
   Lays them out as discrete items separated by a hairline rule, so two links
   read as two destinations rather than one run-on sentence. Do NOT use on
   rows that begin with prose text (e.g. "Still deciding? …") — those stay
   inline under the base .schema-link-row. */
.schema-link-row--nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.schema-link-row--nav a {
  text-decoration: underline;
  text-decoration-color: var(--ticker-green);
  text-underline-offset: 3px;
  white-space: nowrap;
}
.schema-link-row--nav .sep {
  width: 1px;
  height: 1.05em;
  background: var(--rule-strong);
  display: inline-block;
}

/* ----- Topic-schema table (FormulaSamples adaptation) ----- */
.formula-table {
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  overflow: hidden;
}
.formula-row {
  display: grid;
  grid-template-columns: 220px 1fr 200px;
  border-bottom: 1px solid var(--rule);
}
.formula-row:last-child { border-bottom: none; }
.formula-row__family {
  padding: 20px 24px;
  border-right: 1px solid var(--rule);
  background: var(--paper-2);
}
.formula-row__family-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}
.formula-row__grammar {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.4;
}
.formula-row__formula {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  overflow-x: auto;
  white-space: nowrap;
}
.formula-row__formula .tok-str { color: var(--ticker-green); }
.formula-row__formula .tok-fn  { font-weight: 600; }
.formula-row__formula .tok-punct { color: var(--ink-3); }
.formula-row__result {
  padding: 20px 24px;
  border-left: 1px solid var(--rule);
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.formula-row__arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.formula-row__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  font-feature-settings: 'tnum' 1;
  color: var(--ink);
}
.formula-row__value--green { color: var(--ticker-green); }

/* ----- Page intro block for the standalone schema page ----- */
.page-intro { margin-bottom: var(--block-gap); max-width: 760px; }
.page-intro p {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 16px;
}
.page-intro code {
  font-size: 13px;
  background: var(--paper-2);
  padding: 1px 6px;
  border: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; border-left: none; }
  .formula-row { grid-template-columns: 1fr; }
  .formula-row__family { border-right: none; border-bottom: 1px solid var(--rule); }
  .formula-row__result { border-left: none; border-top: 1px solid var(--rule); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .hero__h1 { font-size: 56px; }
  .hero__subhead { font-size: 22px; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .tech-list, .buyers, .trust-signals { grid-template-columns: 1fr; }
  .tech-list__item:nth-child(odd) { border-right: none; padding-right: 0; }
  .tech-list__item:nth-child(even) { padding-left: 0; }
  .buyers__col, .trust-signal { border-right: none !important; padding: 24px 0 !important; border-bottom: 1px solid var(--rule); }
  .pricing-grid { grid-template-columns: 1fr; }
  .sloc-bullets { grid-template-columns: 1fr; gap: 24px; }
  .form__row { grid-template-columns: 1fr; }

  /* Mobile header: logo + hamburger only. The bar CTA collapses into the
     dropdown panel so the bar never overflows on narrow phones. */
  .site-header__toggle { display: flex; }
  .site-header__cta { display: none; }
  .site-header__nav {
    display: none;
    position: absolute;
    top: 64px;               /* directly below the 64px sticky header */
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;     /* override the desktop center-align so links sit left */
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-overlay);
    padding: 8px 0;
  }
  .site-header.nav-open .site-header__nav { display: flex; }
  .site-header__nav a {
    padding: 12px 24px;
    font-size: 16px;
    color: var(--ink);
  }
  /* Selector carries the parent class so it out-specifies `.site-header__nav a`
     (which would otherwise paint the button text ink-on-ink). */
  .site-header__nav .site-header__nav-cta {
    display: block;
    margin: 8px 24px 4px;
    padding: 12px 16px;
    text-align: center;
    background: var(--ink);
    color: var(--paper);
    font-weight: 500;
  }
  .site-header__nav .site-header__nav-cta:hover { background: var(--ink-2); }
}

/* =============================================================
   ADDITIVE BLOCK 2 — contact single-column wrap, optional-field
   marker, and article/long-form styles (why-excel.html essay).
   2026-06-08.
   ============================================================= */

/* Contact form sits full-width under the section header (no 2-col grid),
   bounded so it doesn't sprawl on wide screens. */
.contact-form-wrap { max-width: 640px; }
.form__optional { color: var(--ink-3); font-weight: 400; }

/* Inline play glyph for the demo-video link — a trimmed play-circle (no icon
   library) that inherits the link color via currentColor. */
.icon-play {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 6px;
  flex-shrink: 0;
}

/* Demo video: replaces the Excel mock inside .hero__visual on click. 16:9 box,
   iframe fills it. The .hero__visual border/overflow framing is reused. */
.hero__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.hero__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ----- Article / long-form essay (why-excel.html) ----- */
.article { max-width: 720px; margin: 0 auto; }
.article__eyebrow { margin-bottom: 16px; }
.article__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 14px;
}
.article__dek {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.35;
  color: var(--ink-2);
  margin: 0 0 28px;
}
.article__byline {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink-3);
  padding-bottom: 28px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--rule-strong);
}
.article__byline a { color: var(--ink-2); }
.article p {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 22px;
}
.article h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 48px 0 16px;
}
.article strong { font-weight: 600; }
.article em { font-style: italic; }
.article ul {
  margin: 0 0 22px;
  padding-left: 24px;
}
.article li {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 8px;
}
.article li code,
.article p code {
  font-family: var(--font-mono);
  font-size: 15px;
  background: var(--paper-2);
  padding: 1px 5px;
  border: 1px solid var(--rule);
}
.article a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ticker-green);
  text-underline-offset: 2px;
}
.article__footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-2);
}
.article__footer a { color: var(--ink); }

@media (max-width: 900px) {
  .article__title { font-size: 40px; }
  .article__dek { font-size: 20px; }
}

/* ----- Writing hub (index of essays + the article series) ----- */
.writing-list {
  max-width: 760px;
  border-top: 1px solid var(--rule-strong);
}
.writing-entry {
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}
.writing-entry__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.writing-entry__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.writing-entry__title a { color: var(--ink); text-decoration: none; }
.writing-entry__title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--ticker-green);
  text-underline-offset: 2px;
}
.writing-entry__dek {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 680px;
}

/* ----- FAQ (faq.html + homepage teaser) — native <details> accordion, no JS ----- */
.faq { max-width: 820px; border-top: 1px solid var(--rule-strong); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item__q {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 22px 40px 22px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1;
}
.faq-item[open] .faq-item__q::after { content: "\2212"; }
.faq-item__q:hover { color: var(--ink-2); }
.faq-item__a { padding: 0 40px 24px 0; max-width: 720px; }
.faq-item__a p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.faq-item__a p:last-child { margin-bottom: 0; }
.faq-item__a code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--paper-2);
  padding: 1px 5px;
  border: 1px solid var(--rule);
}
.faq-item__a a { color: var(--ink); }

/* Introductory-pricing tag on a pricing card */
.pricing-card__intro {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--signal-amber);
  margin-bottom: 20px;
}
