/* ==========================================================================
   Firstep — marketing site stylesheet
   Light theme only. Design tokens first, then components. Reuse these classes
   rather than inventing new ones; check here before adding.
   ========================================================================== */

/* --------------------------------------------------------------- fonts */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------- tokens */
:root {
  /* Brand ramp — sampled from the Firstep logo */
  --blue-900: #16223a;  /* deep navy — footer, dark sections */
  --blue-800: #213452;  /* brand navy — the "Firs" in the wordmark */
  --blue-700: #0e69d4;  /* pressed / hover blue */
  --blue-600: #1581f6;  /* brand blue — the "tep" in the wordmark */
  --blue-500: #1a8efa;  /* mark blue */
  --blue-200: #a9d0fd;
  --blue-100: #dcebfe;
  --blue-050: #f1f7ff;

  /* Interactive blues, kept separate from the logo blue on purpose. The logo
     blue (--blue-600) is only 3.82:1 against white, so it fails WCAG AA both as
     link text and as a fill carrying white button text. These are used wherever
     the blue is *text* or sits behind text; --blue-600 stays for icons, borders,
     tints and other decoration where contrast does not apply. */
  --action: #0e69d4;        /* 5.26:1 with white, either direction */
  --action-hover: #0b57b0;

  /* Cool neutrals, keyed to the brand navy */
  --ink-900: #213452;
  --ink-700: #3c4a63;
  --ink-500: #656d7d;   /* the logo's own strapline grey */
  --ink-400: #8a92a1;
  --ink-300: #a8aeba;
  --line: #e3e8ef;
  --line-strong: #c9d2de;

  --paper: #ffffff;
  --tint: #f4f8fd;

  /* Status */
  --ok-700: #14603e;
  --ok-600: #1d7a4f;
  --ok-100: #dff1e7;
  --warn-700: #8a4d09;
  --warn-100: #fdf0dc;
  --danger-700: #8c1d17;
  --danger-600: #b3261e;
  --danger-100: #fbe4e2;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* Radius + elevation */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(22, 34, 58, .06), 0 1px 3px rgba(22, 34, 58, .04);
  --shadow-md: 0 4px 12px rgba(22, 34, 58, .07), 0 2px 4px rgba(22, 34, 58, .04);
  --shadow-lg: 0 12px 32px rgba(22, 34, 58, .10), 0 4px 8px rgba(22, 34, 58, .04);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container: 1140px;
  --container-narrow: 760px;
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-700);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.2; margin: 0 0 var(--sp-4); font-weight: 600; }
h1 { font-family: var(--font-display); font-size: clamp(1.95rem, 4.1vw, 2.85rem); letter-spacing: -0.025em; font-weight: 600; }
h2 { font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 1.95rem); letter-spacing: -0.02em; font-weight: 600; }
h3 { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -0.015em; font-weight: 600; }
p { margin: 0 0 var(--sp-4); }
a { color: var(--action); text-decoration-color: var(--blue-200); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: var(--r-sm); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }
small { font-size: .875rem; }

/* --------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--sp-9); }
.section-sm { padding-block: var(--sp-8); }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-deep { background: var(--blue-900); color: var(--blue-100); }
.section-deep h2, .section-deep h3 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
/* Mobile-first and in ascending order — a wider breakpoint declared first would
   be overridden by a narrower one that also matches. */
@media (min-width: 620px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.stack > * + * { margin-top: var(--sp-4); }
.center { text-align: center; }
.measure { max-width: 65ch; }
.measure-center { max-width: 65ch; margin-inline: auto; }
.muted { color: var(--ink-500); }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--action); margin-bottom: var(--sp-3); display: block;
}
.lead { font-size: 1.16rem; line-height: 1.6; color: var(--ink-700); }

/* --------------------------------------------------------------- skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue-900); color: #fff; padding: var(--sp-3) var(--sp-4); border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: var(--sp-5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-lockup { width: auto; height: 34px; flex: 0 0 auto; }
@media (max-width: 400px) { .brand-lockup { height: 29px; } }

.nav { display: none; margin-left: auto; align-items: center; gap: var(--sp-5); }
.nav a:not(.btn) {
  color: var(--ink-700); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding-block: var(--sp-2); border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: var(--blue-700); }
.nav a:not(.btn)[aria-current="page"] { color: var(--blue-900); border-bottom-color: var(--blue-600); }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--paper); cursor: pointer; color: var(--ink-900);
}
/* Declared after .nav-toggle so it actually wins — same specificity, later rule. */
@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
}
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav.is-open { display: block; }
@media (min-width: 900px) { .mobile-nav { display: none !important; } }
.mobile-nav a:not(.btn) {
  display: block; padding: var(--sp-4) var(--sp-5); color: var(--ink-900);
  text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500;
}
.mobile-nav a:not(.btn):hover { background: var(--tint); }
.mobile-nav .btn { margin: var(--sp-4) var(--sp-5); display: flex; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 12px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: inherit; font-size: .97rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--action); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--action-hover); color: #fff; }
.btn-outline { background: var(--paper); color: var(--blue-700); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--blue-050); border-color: var(--blue-200); color: var(--blue-800); }
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { background: var(--tint); color: var(--ink-900); }
.btn-light { background: #fff; color: var(--blue-800); }
.btn-light:hover { background: var(--blue-050); color: var(--blue-900); }
.btn-danger { background: var(--danger-600); color: #fff; }
.btn-danger:hover { background: var(--danger-700); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 1.03rem; }
.btn-sm { padding: 8px 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-row-center { justify-content: center; }

/* --------------------------------------------------------------- pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 600; letter-spacing: .01em;
  background: var(--blue-100); color: var(--blue-800);
}
.pill-ok { background: var(--ok-100); color: var(--ok-700); }
.pill-warn { background: var(--warn-100); color: var(--warn-700); }
.pill-danger { background: var(--danger-100); color: var(--danger-700); }
.pill-quiet { background: var(--tint); color: var(--ink-500); border: 1px solid var(--line); }
.pill-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* --------------------------------------------------------------- hero */
.hero {
  background:
    radial-gradient(900px 420px at 82% -12%, var(--blue-100) 0%, rgba(220, 234, 248, 0) 62%),
    linear-gradient(180deg, var(--blue-050) 0%, var(--paper) 78%);
  border-bottom: 1px solid var(--line);
  padding-block: var(--sp-9) var(--sp-8);
}
.hero h1 { max-width: 19ch; }
.hero .lead { max-width: 54ch; font-size: 1.22rem; }
.hero-split { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 980px) { .hero-split { grid-template-columns: 1.05fr .95fr; gap: var(--sp-8); } }
.hero-note { font-size: .9rem; color: var(--ink-500); margin-top: var(--sp-4); }

/* --------------------------------------------------------------- cards */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.card-flat { box-shadow: none; }
.card-tint { background: var(--tint); box-shadow: none; }
.card h3 { margin-bottom: var(--sp-2); }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--blue-100); color: var(--blue-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.card-icon svg { width: 21px; height: 21px; }

/* --------------------------------------------------------------- check list */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: var(--sp-3); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .46em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d7a4f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checks-tight li { margin-bottom: var(--sp-2); }

/* --------------------------------------------------------------- stats */
.stat-row { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { border-left: 3px solid var(--blue-200); padding-left: var(--sp-4); }
.stat-value { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--blue-900); line-height: 1.1; }
.stat-label { font-size: .92rem; color: var(--ink-500); }

/* --------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th {
  background: var(--tint); color: var(--ink-900); font-weight: 600; font-size: .82rem;
  letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--blue-050); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-note { font-size: .88rem; color: var(--ink-500); margin-top: var(--sp-3); }

/* --------------------------------------------------------------- pricing */
.price-hero { text-align: center; }
.price-figure { font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; color: var(--blue-900); line-height: 1; }
.price-figure span { font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: var(--ink-500); }
.price-card { border: 2px solid var(--blue-600); box-shadow: var(--shadow-md); }
.bracket-highlight { background: var(--blue-050) !important; font-weight: 600; }

/* --------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: var(--sp-5) 40px var(--sp-5) 0; position: relative;
  font-weight: 600; color: var(--ink-900); font-size: 1.04rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--ink-400); border-bottom: 2px solid var(--ink-400);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--blue-700); }
.faq .faq-body { padding-bottom: var(--sp-5); max-width: 68ch; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- forms */
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink-900); margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; font-size: .85rem; color: var(--ink-500); margin-top: 4px; }
.input, .select, .textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 1rem; color: var(--ink-900);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235c6e85' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 17px; padding-right: 38px;
}
.field-error .input, .field-error .select, .field-error .textarea { border-color: var(--danger-600); }
.error-text { color: var(--danger-700); font-size: .87rem; margin-top: 5px; }
.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.checkbox input { margin-top: 4px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--blue-600); }
/* Honeypot — visually gone, still reachable by bots that fill every input. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------- flash */
.flash {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md);
  border: 1px solid; margin-bottom: var(--sp-5); font-size: .95rem;
}
.flash-success { background: var(--ok-100); border-color: #b9e0cb; color: var(--ok-700); }
.flash-error   { background: var(--danger-100); border-color: #f3c6c2; color: var(--danger-700); }
.flash-notice  { background: var(--blue-050); border-color: var(--blue-200); color: var(--blue-800); }
.flash-warn    { background: var(--warn-100); border-color: #f0d5a8; color: var(--warn-700); }
.flash p:last-child { margin-bottom: 0; }
.flash strong { display: block; }

/* --------------------------------------------------------------- callout */
.callout {
  border-left: 3px solid var(--blue-600); background: var(--blue-050);
  padding: var(--sp-5); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- CTA band */
.cta-band { background: var(--blue-900); color: var(--blue-100); padding-block: var(--sp-8); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--blue-200); }
.cta-band a:not(.btn) { color: #fff; }

/* --------------------------------------------------------------- blog */
.post-list { display: grid; gap: var(--sp-5); }
.post-card { display: block; text-decoration: none; color: inherit; }
.post-card:hover { text-decoration: none; }
.post-card:hover h3 { color: var(--blue-700); }
.post-card .card { height: 100%; transition: box-shadow .18s, border-color .18s, transform .18s; }
.post-card:hover .card { box-shadow: var(--shadow-md); border-color: var(--blue-200); transform: translateY(-2px); }
.post-meta { font-size: .85rem; color: var(--ink-500); margin-bottom: var(--sp-2); }

.article { max-width: 68ch; margin-inline: auto; }
.article h2 { font-size: 1.55rem; margin-top: var(--sp-7); }
.article h3 { font-size: 1.2rem; margin-top: var(--sp-6); }
.article p, .article li { font-size: 1.07rem; line-height: 1.75; }
.article ul, .article ol { padding-left: 1.3em; margin-bottom: var(--sp-4); }
.article li { margin-bottom: var(--sp-2); }
.article blockquote {
  margin: var(--sp-6) 0; padding-left: var(--sp-5);
  border-left: 3px solid var(--blue-200); color: var(--ink-700); font-style: italic;
}

/* --------------------------------------------------------------- legal pages */
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.4rem; margin-top: var(--sp-7); }
.legal h3 { font-size: 1.06rem; margin-top: var(--sp-5); }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: var(--sp-2); }
.legal-meta { font-size: .9rem; color: var(--ink-500); border-bottom: 1px solid var(--line); padding-bottom: var(--sp-4); margin-bottom: var(--sp-5); }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--blue-900); color: var(--blue-200); padding-block: var(--sp-8) var(--sp-6); font-size: .93rem; }
.site-footer a:not(.btn) { color: var(--blue-100); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: var(--sp-2); }
.footer-brand .brand-lockup { height: 38px; margin-bottom: var(--sp-2); }
.footer-brand p { color: var(--blue-200); max-width: 34ch; margin-top: var(--sp-3); }
.footer-bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; align-items: center;
  font-size: .87rem; color: var(--blue-200);
}
.store-badges { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-sm);
  font-size: .85rem; color: var(--blue-100); opacity: .8;
}
.store-badge svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------- utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); } .mb-7 { margin-bottom: var(--sp-7); }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Utilities and small components
   These exist because the Content-Security-Policy sets style-src 'self', which
   blocks inline style="…" attributes as well as <style> blocks. Anything that
   would have been a one-off inline style lives here instead.
   ========================================================================== */

.mx-auto { margin-inline: auto; }
.ml-auto { margin-left: auto; }
.d-inline { display: inline; }
.text-left { text-align: left; }
.text-strong { color: var(--ink-900); }
.text-brand { color: var(--blue-800); }
.text-danger { color: var(--danger-600); }

.fs-xl { font-size: 1.2rem; }
.fs-lg { font-size: 1.15rem; }
.fs-md { font-size: .95rem; }
.fs-sm { font-size: .92rem; }
.fs-xs { font-size: .83rem; }
.fs-xxs { font-size: .78rem; }

.card-narrow { max-width: 640px; }
.card-narrower { max-width: 620px; }

/* A centred hero headline should run the full measure, unlike the split hero. */
.hero h1.w-unbounded, h1.w-unbounded { max-width: none; }

.row-split { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }
.row-split-top {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-start; gap: var(--sp-3);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* Example check-in/check-out records in the hero */
.record { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-4); }
.record + .record { margin-top: 14px; }
.record-head { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.record-head strong { color: var(--blue-800); }
.record p { margin: 0 0 10px; font-size: .95rem; }

/* "Parents see / staff see" comparison */
.tier { border-left: 3px solid var(--blue-200); padding-left: var(--sp-4); }
.tier + .tier { margin-top: var(--sp-5); }
.tier-strong { border-left-color: var(--blue-600); }
.tier strong { display: block; color: var(--ink-900); font-size: .95rem; }
.tier p { font-size: .93rem; }

/* Outline button sitting on a dark band */
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-on-dark:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .6); }

.textarea-sm { min-height: 90px; }
.textarea-code {
  min-height: 420px; font-size: .9rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
