/* ==========================================================================
   AdmitMe — marketing design system
   Part of the CrowdSense Ecosystem · engineered by Artefact Group
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, variable)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/bricolage-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/bricolage-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --am-orange:       #ff6431;
  --am-orange-deep:  #e04413;
  --am-orange-soft:  #fff1eb;
  /* Hover fill for orange buttons. Lighter, not darker: button labels are ink, and ink on
     --am-orange-deep is only 4.29:1. Ink on this is 6.98:1 (ink on --am-orange: 6.10:1). */
  --am-orange-hover: #ff7a4d;
  /* Orange for TEXT under 18px on light grounds. --am-orange is 2.95:1 on --paper and
     --am-orange-deep only 4.20:1 — both under the 4.5:1 AA floor. This clears it:
     5.35:1 on --paper, 4.95:1 on --bg-sunken. Same value as the app's --primary-700. */
  --am-orange-text:  #c7340e;
  --am-blue:         #2e6bff;   /* CrowdSense sibling accent */
  --am-blue-soft:    #eef3ff;

  /* Ink scale — warm, sits in Artefact's #171710 family. ink-950 = Artefact brand dark. */
  --ink-1000: #0f0f0b;
  --ink-950:  #171710;
  --ink-900:  #201f18;
  --ink-800:  #2b2a22;
  --ink-700:  #3b3a31;
  --ink-600:  #55534a;
  --ink-500:  #6e6c63;
  --ink-400:  #92908a;   /* rules and icons only: 3.19:1 on --paper fails AA for text */
  --ink-450:  #706e66;   /* smallest text tier: 5.11:1 on --paper, 4.73:1 on --bg-sunken */
  --ink-300:  #b8b6b0;
  --ink-200:  #d8d7d2;
  --ink-150:  #e6e5e0;
  --ink-100:  #efeeea;
  --ink-50:   #f7f6f3;
  --paper:    #ffffff;
  --paper-warm: #eae8e3; /* Artefact "paper" — sunken bands, sub-nav strips */

  /* Semantic — light surface (default) */
  --bg:            var(--paper);
  --bg-sunken:     var(--ink-50);
  --fg:            var(--ink-950);
  --fg-muted:      var(--ink-500);
  --fg-subtle:     var(--ink-450);
  --rule:          var(--ink-150);
  --rule-strong:   var(--ink-200);
  --accent:        var(--am-orange);
  /* Use for orange TEXT; --accent stays full orange for fills, rules and display accents. */
  --accent-text:   var(--am-orange-text);
  /* Label colour on orange fills. White on --am-orange is 2.95:1 and fails AA at button
     sizes; ink is 6.10:1. See docs/brand/admitme-design-system.md, Contrast. */
  --accent-fg:     var(--ink-950);
  --card:          var(--paper);
  --card-rule:     var(--ink-150);

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas,
    'Liberation Mono', monospace;

  /* Space (8pt) */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 40px;  --s-8: 56px;
  --s-9: 72px;  --s-10: 96px; --s-11: 128px;

  /* Shape */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --radius-brand: 14px; /* structural radius — cards, modules, panels, CTA bands */

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(23, 23, 16, .06);
  --shadow-md: 0 4px 16px -4px rgba(23, 23, 16, .12), 0 1px 3px rgba(23, 23, 16, .06);
  --shadow-lg: 0 24px 60px -18px rgba(23, 23, 16, .26), 0 2px 8px rgba(23, 23, 16, .07);

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --container-prose: 720px;
  --gutter: 24px;
  --header-h: 72px;

  /* Motion */
  --motion-quick: .18s;
  --motion-standard: .32s;
  --motion-slow: .48s;
  --ease-brand: cubic-bezier(.4, 0, .2, 1);
  --ease-entrance: cubic-bezier(.16, 1, .3, 1);
  --reveal-distance: 24px;
  --reveal-stagger: 80ms;
  --ease: var(--ease-brand);
}

/* Dark surface — applied per section, not per document */
.on-dark {
  --bg:          var(--ink-950);
  --bg-sunken:   var(--ink-900);
  --fg:          #f4f6f8;
  --fg-muted:    #a5adb9;
  --fg-subtle:   #79818d;
  --rule:        rgba(255, 255, 255, .10);
  --rule-strong: rgba(255, 255, 255, .18);
  --card:        rgba(255, 255, 255, .035);
  --card-rule:   rgba(255, 255, 255, .10);
  --accent-text: var(--am-orange);
  background: var(--bg);
  color: var(--fg);
}

@media (min-width: 900px) {
  :root { --gutter: 40px; --header-h: 80px; }
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-950);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -.011em;
  font-feature-settings: 'cv05' 1, 'ss03' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s-8) 0; }

a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--am-orange);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--am-orange); color: var(--accent-fg); }

.u-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Components set display (flex, inline-flex), which beats the UA's [hidden] rule. */
[hidden] { display: none !important; }

.skip-link {
  position: absolute; top: -100%; left: var(--s-4); z-index: 200;
  background: var(--am-orange); color: var(--accent-fg); padding: 10px 16px;
  border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  overflow-wrap: break-word;
  font-family: var(--font-display);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0 0 var(--s-4);
  color: var(--fg);
  text-wrap: balance;
}

.t-display {
  font-size: clamp(2.05rem, 8.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.042em;
}
.t-h1 { font-size: clamp(1.85rem, 5.6vw, 3.4rem); }
.t-h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
.t-h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.028em; }
.t-h4 { font-size: 1.125rem; letter-spacing: -.02em; font-weight: 600; }

p { margin: 0 0 var(--s-4); color: var(--fg-muted); }
p:last-child { margin-bottom: 0; }

.t-lead {
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 62ch;
}
.t-sm    { font-size: .9375rem; line-height: 1.6; }
.t-xs    { font-size: .8125rem; line-height: 1.5; }
.t-fg    { color: var(--fg); }
.t-muted { color: var(--fg-muted); }
.t-center { text-align: center; }
/* A hard break that only applies once there is room for it. */
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }
.t-center .t-lead, .t-center .measure { margin-left: auto; margin-right: auto; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }

strong, b { font-weight: 620; color: var(--fg); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: .75rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 var(--s-4);
  font-family: var(--font-mono);
}
.eyebrow::before {
  content: ''; width: 20px; height: 1px; background: currentColor; opacity: .55;
}
.eyebrow--plain::before { display: none; }
.eyebrow--muted { color: var(--fg-subtle); }
.eyebrow--accent { color: var(--am-orange-text); }
.on-dark .eyebrow--accent { color: var(--am-orange); }
/* Bracketed SNAKE_CASE system tag — hero kickers, error/empty states. One per view region. */
.eyebrow--bracket { letter-spacing: .12em; }

/* Headline signature — one trailing period colored --am-orange. Max one per screen. */
.accent-dot { color: var(--am-orange); }

.mono {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 560; color: var(--accent-text);
  border-bottom: 1px solid transparent;
  transition: gap .22s var(--ease), border-color .22s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; flex: none; }
.link-arrow:hover { gap: 11px; border-bottom-color: currentColor; }

.t-underline { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--rule-strong); }
.t-underline:hover { text-decoration-color: var(--accent); }

/* --------------------------------------------------------------------------
   5. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide  { max-width: var(--container-wide); }
.wrap--prose { max-width: var(--container-prose); }

.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--flush-top { padding-top: 0; }
.section--sunken { background: var(--bg-sunken); }
.section--ruled { border-top: 1px solid var(--rule); }

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.split--lead { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.split--aside { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.split--top { align-items: start; }
@media (max-width: 900px) {
  .split, .split--lead, .split--aside { grid-template-columns: minmax(0, 1fr); }
}

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.cluster--center { justify-content: center; }

.section-head { max-width: 46ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--wide { max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  display: grid; gap: var(--s-5) clamp(32px, 6vw, 80px); max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end;
}
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink-950);
  --btn-fg: #fff;
  --btn-bd: var(--ink-950);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: .9375rem; font-weight: 580; letter-spacing: -.006em;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary { --btn-bg: var(--am-orange); --btn-bd: var(--am-orange); --btn-fg: var(--accent-fg); }
.btn--primary:hover { --btn-bg: var(--am-orange-hover); --btn-bd: var(--am-orange-hover); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--rule-strong);
}
.btn--ghost:hover { --btn-bd: var(--fg); box-shadow: none; }

.btn--quiet {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: transparent;
  padding-inline: 12px;
}
.btn--quiet:hover { --btn-bg: var(--bg-sunken); box-shadow: none; }

.btn--sm { padding: 10px 16px; font-size: .875rem; }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .28s var(--ease), border-color .28s var(--ease),
              backdrop-filter .28s var(--ease);
}
.site-header.is-stuck,
.site-header.is-open {
  background: rgba(23, 23, 16, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, .10);
}
.site-header__inner {
  width: 100%; max-width: var(--container-wide); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: var(--s-6);
}
.site-header__logo { flex: none; display: flex; align-items: center; }
.site-header__logo img { width: 132px; }

.nav { display: none; margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: var(--r-pill);
  font-family: inherit; font-size: .9375rem; font-weight: 500; line-height: 1.4;
  color: rgba(255, 255, 255, .74);
  background: transparent; border: 0; cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__link:hover,
.nav__item.is-open > .nav__link { color: #fff; background: rgba(255, 255, 255, .09); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--am-orange); margin-left: 2px;
}
.nav__chev { width: 13px; height: 13px; opacity: .6; transition: transform .2s var(--ease); }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

.nav__item { position: relative; }
.nav__panel {
  --accent-text: var(--am-orange);  /* dark ground: full orange, 6.10:1 */
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0;
  width: min(620px, calc(100vw - 32px));
  background: var(--ink-900);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-brand);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7);
  padding: var(--s-4);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  opacity: 0; visibility: hidden; translate: -50% 6px;
  transition: opacity .2s var(--ease), translate .2s var(--ease), visibility .2s;
}
.nav__item.is-open .nav__panel { opacity: 1; visibility: visible; translate: -50% 0; }
.nav__panel-link {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: var(--s-3);
  padding: 12px; border-radius: var(--r-md);
  transition: background .16s var(--ease);
}
.nav__panel-link:hover { background: rgba(255, 255, 255, .06); }
.nav__panel-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(255, 100, 49, .14); color: var(--am-orange);
}
.nav__panel-icon svg { width: 17px; height: 17px; }
.nav__panel-link--alt .nav__panel-icon { background: rgba(46, 107, 255, .16); color: #7ea3ff; }
.nav__panel-title { display: block; color: #fff; font-weight: 560; font-size: .9375rem; line-height: 1.3; }
.nav__panel-desc  { display: block; color: rgba(255, 255, 255, .55); font-size: .8125rem; line-height: 1.45; margin-top: 3px; }

.site-header__cta { display: none; flex: none; gap: var(--s-2); align-items: center; }
.site-header__cta .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .28); }
.site-header__cta .btn--ghost:hover { --btn-bd: #fff; }

.nav-toggle {
  margin-left: auto; flex: none;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-md);
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.5px; background: #fff; border-radius: 2px;
  position: relative; transition: background .18s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 17px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: transform .24s var(--ease), top .18s var(--ease);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top: 5.5px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (min-width: 1060px) {
  .nav { display: block; }
  .site-header__cta { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  --accent-text: var(--am-orange);  /* dark ground: full orange, 6.10:1 */
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--ink-950);
  padding: var(--s-5) var(--gutter) calc(var(--s-8) + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  opacity: 0; visibility: hidden; translate: 0 -8px;
  transition: opacity .24s var(--ease), translate .24s var(--ease), visibility .24s;
}
.site-header.is-open ~ .mobile-nav { opacity: 1; visibility: visible; translate: 0; }
.mobile-nav__group + .mobile-nav__group { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav__label {
  font-size: .7rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); margin-bottom: var(--s-3);
}
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; color: #fff; font-size: 1.0625rem; font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mobile-nav__link { gap: var(--s-4); }
.mobile-nav__link span { color: rgba(255, 255, 255, .55); font-size: .8125rem; font-weight: 400; }
/* On a phone the name and its description do not fit side by side: stack them. */
@media (max-width: 560px) {
  .mobile-nav__link { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; }
}
.mobile-nav__actions { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.mobile-nav__actions .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .28); }
@media (min-width: 1060px) { .mobile-nav { display: none; } }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  --accent-text: var(--am-orange);  /* dark ground: full orange, 6.10:1 */
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 104px));
  padding-bottom: clamp(56px, 8vw, 104px);
  background: var(--ink-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(110% 78% at 8% 0%, rgba(255, 100, 49, .20) 0%, transparent 58%),
    radial-gradient(90% 70% at 96% 8%, rgba(46, 107, 255, .17) 0%, transparent 60%),
    linear-gradient(180deg, #201f18 0%, #171710 68%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 12%, transparent 74%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 12%, transparent 74%);
}
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero p { color: rgba(255, 255, 255, .68); }
.hero .eyebrow { color: var(--am-orange); }
.hero .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .26); }
.hero .btn--ghost:hover { --btn-bd: #fff; }

.hero--page { padding-bottom: clamp(48px, 6vw, 80px); }
.hero--tall  { padding-bottom: clamp(72px, 10vw, 128px); }

.hero__grid {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__note {
  margin-top: var(--s-5); font-size: .8125rem; color: rgba(255, 255, 255, .55);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4);
}
.hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note svg { width: 14px; height: 14px; color: var(--am-orange); flex: none; }

/* Ecosystem pill above H1 */
.eco-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 8px 6px 6px; margin-bottom: var(--s-5);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  border-radius: var(--r-pill);
  font-size: .8125rem; color: rgba(255, 255, 255, .78);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.eco-pill:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); }
.eco-pill__tag {
  padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--am-orange); color: var(--accent-fg);
  font-size: .6875rem; font-weight: 680; letter-spacing: .05em; text-transform: uppercase;
}
.eco-pill svg { width: 13px; height: 13px; opacity: .6; }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-rule);
  border-radius: var(--radius-brand);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}
.card > :last-child { margin-bottom: 0; }
.card--link:hover {
  transform: translateY(-3px);
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-md);
}
.on-dark .card--link:hover { box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .75); }
.card--pad { padding: clamp(24px, 3vw, 36px); }
.card--flush { background: transparent; border: 0; padding: 0; }

.card__icon {
  width: 42px; height: 42px; border-radius: var(--r-md);
  display: grid; place-items: center; flex: none;
  background: var(--am-orange-soft); color: var(--am-orange-deep);
}
.on-dark .card__icon { background: rgba(255, 100, 49, .14); color: var(--am-orange); }
.card__icon svg { width: 20px; height: 20px; }
.card__icon--alt { background: var(--am-blue-soft); color: var(--am-blue); }
.on-dark .card__icon--alt { background: rgba(46, 107, 255, .16); color: #7ea3ff; }
.card__icon--neutral { background: var(--ink-100); color: var(--ink-700); }
.on-dark .card__icon--neutral { background: rgba(255, 255, 255, .07); color: #fff; }

.card__title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.02em;
  font-family: var(--font-display); color: var(--fg); margin: 0; }
.card__body { font-size: .9375rem; line-height: 1.6; color: var(--fg-muted); margin: 0; }
.card__foot { margin-top: auto; padding-top: var(--s-3); }

/* Module card — the big three */
.module-card {
  position: relative; overflow: hidden;
  display: grid; gap: var(--s-4);
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--card-rule);
  border-radius: var(--radius-brand);
  background: var(--card);
  transition: border-color .24s var(--ease), transform .24s var(--ease), box-shadow .24s var(--ease);
}
.module-card::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--am-orange), rgba(255, 100, 49, 0));
  opacity: 0; transition: opacity .24s var(--ease);
}
.module-card:hover { transform: translateY(-4px); border-color: var(--rule-strong); box-shadow: var(--shadow-lg); }
.module-card:hover::after { opacity: 1; }
.module-card__head { display: flex; align-items: center; gap: var(--s-3); }
.module-card__num {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  color: var(--fg-subtle); margin-left: auto;
}
.module-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.module-card ul li {
  position: relative; padding-left: 22px;
  font-size: .9rem; line-height: 1.5; color: var(--fg-muted);
}
.module-card ul li::before {
  content: ''; position: absolute; left: 4px; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--am-orange);
}

/* Status chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink-100); color: var(--ink-600);
  border: 1px solid var(--rule);
}
.on-dark .chip { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .12); }
.chip--live { background: rgba(29, 155, 88, .10); color: #15794a; border-color: rgba(29, 155, 88, .22); }
.on-dark .chip--live { background: rgba(52, 199, 116, .14); color: #6ee7a8; border-color: rgba(52, 199, 116, .26); }
.chip--live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px rgba(29, 155, 88, .18);
}
.chip--accent { background: var(--am-orange-soft); color: #b02d0b;  /* 5.90:1 on the soft fill */ border-color: rgba(255, 100, 49, .25); }
.on-dark .chip--accent { background: rgba(255, 100, 49, .14); color: #ffab8c; border-color: rgba(255, 100, 49, .28); }
.chip--blue { background: var(--am-blue-soft); color: var(--am-blue); border-color: rgba(46, 107, 255, .22); }
.on-dark .chip--blue { background: rgba(46, 107, 255, .16); color: #9dbaff; border-color: rgba(46, 107, 255, .3); }

/* --------------------------------------------------------------------------
   10. Stat band / logos / marquee
   -------------------------------------------------------------------------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--radius-brand); overflow: hidden;
}
@media (max-width: 780px) { .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat {
  background: var(--bg); padding: clamp(20px, 3vw, 32px);
}
.stat__value {
  font-family: var(--font-display); font-weight: 640;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.04em;
  line-height: 1; color: var(--fg); margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat__value em { font-style: normal; color: var(--am-orange); }
.stat__label { font-size: .8125rem; color: var(--fg-muted); line-height: 1.45; }

/* --------------------------------------------------------------------------
   11. Process / steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-4);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step__num {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em;
  color: var(--accent-text); padding-top: 5px;
}
.step__num::before { content: '0' counter(step); }
.step h3 { font-size: 1.125rem; margin-bottom: 6px; }
.step p { font-size: .9375rem; margin: 0; }

/* --------------------------------------------------------------------------
   12. Feature list / spec table
   -------------------------------------------------------------------------- */
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.spec-list li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s-3);
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  font-size: .9375rem; color: var(--fg-muted); line-height: 1.55;
}
.spec-list li:first-child { border-top: 1px solid var(--rule); }
.spec-list li strong { display: block; color: var(--fg); font-weight: 580; margin-bottom: 2px; }
.spec-list__tick { width: 20px; height: 20px; color: var(--am-orange); margin-top: 1px; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tick-list li {
  position: relative; padding-left: 28px;
  font-size: .9375rem; line-height: 1.55; color: var(--fg-muted);
}
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: .18em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--am-orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23e04413'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.on-dark .tick-list li::before {
  background-color: rgba(255, 100, 49, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ff8a5f'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}
.tick-list strong { color: var(--fg); font-weight: 580; }

/* Form-template catalogue chips */
.tag-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--rule); background: var(--bg);
  font-size: .8125rem; color: var(--fg-muted); line-height: 1;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.tag:hover { border-color: var(--am-orange); color: var(--fg); }
.tag__cat {
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--fg-subtle);
  padding-left: 7px; border-left: 1px solid var(--rule-strong);
}

/* --------------------------------------------------------------------------
   13. Ecosystem diagram
   -------------------------------------------------------------------------- */
.eco {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 900px) { .eco { grid-template-columns: minmax(0, 1fr); } }
.eco__node {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--card-rule); border-radius: var(--radius-brand);
  background: var(--card);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.eco__node:hover { transform: translateY(-3px); border-color: var(--rule-strong); }
.eco__node--self {
  border-color: rgba(255, 100, 49, .45);
  background: linear-gradient(180deg, rgba(255, 100, 49, .07), transparent 60%), var(--card);
}
.eco__brand {
  font-family: var(--font-display); font-weight: 660; letter-spacing: -.03em;
  font-size: 1.15rem; color: var(--fg);
}
.eco__brand em { font-style: normal; color: var(--am-orange); }
.eco__role {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-subtle);
}
.eco__node p { font-size: .9rem; margin: 0; }
.eco__node .link-arrow { font-size: .875rem; margin-top: auto; padding-top: var(--s-2); }

/* --------------------------------------------------------------------------
   14. Pricing
   -------------------------------------------------------------------------- */
.plans { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
@media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }
.plan {
  border: 1px solid var(--card-rule); border-radius: var(--radius-brand);
  background: var(--card); padding: clamp(26px, 3vw, 34px);
  display: flex; flex-direction: column; gap: var(--s-4);
  position: relative;
}
.plan--featured {
  border-color: var(--ink-950);
  box-shadow: var(--shadow-lg);
}
.on-dark .plan--featured { border-color: var(--am-orange); }
.plan__flag {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  background: var(--ink-950); color: #fff;
  padding: 5px 13px; border-radius: var(--r-pill);
  font-size: .68rem; font-weight: 680; letter-spacing: .09em; text-transform: uppercase;
}
.on-dark .plan__flag { background: var(--am-orange); }
.plan__name { font-family: var(--font-display); font-weight: 620; font-size: 1.25rem; letter-spacing: -.03em; color: var(--fg); }
.plan__price {
  font-family: var(--font-display); font-weight: 640;
  font-size: clamp(2.4rem, 4.4vw, 3.1rem); letter-spacing: -.045em; line-height: 1;
  color: var(--fg); display: flex; align-items: baseline; gap: 4px;
}
.plan__price sup { font-size: .42em; font-weight: 600; top: -.7em; position: relative; }
.plan__price small { font-size: .28em; font-weight: 500; letter-spacing: -.01em; color: var(--fg-subtle); }
.plan__price--quote { font-size: clamp(1.6rem, 2.8vw, 2rem); }
.plan__meta { font-size: .8125rem; color: var(--fg-subtle); margin-top: -8px; }
.plan__desc { font-size: .9375rem; color: var(--fg-muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan ul li {
  position: relative; padding-left: 26px; font-size: .9rem; line-height: 1.5; color: var(--fg-muted);
}
.plan ul li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 17px; height: 17px;
  border-radius: 50%; background: var(--ink-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%233b3a31'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan--featured ul li::before { background-color: var(--am-orange-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23e04413'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; }

/* Three catalogue plans + Enterprise */
.plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; } }
@media (max-width: 680px)  { .plans--4 { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

/* Currency switch: role="radiogroup" of buttons, driven by /js/site.js */
.plans-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-3) var(--s-5); margin-bottom: var(--s-7);
}
.plans-bar__hint { margin: 0; font-size: .9375rem; color: var(--fg-muted); max-width: 56ch; }
.no-js .plans-bar { display: none; }
.currency-switch, .interval-switch {
  display: inline-flex; gap: 2px; padding: 4px;
  border: 1px solid var(--rule-strong); border-radius: var(--r-pill); background: var(--bg);
}
.currency-switch button, .interval-switch button {
  font: inherit; font-size: .8125rem; font-weight: 640; letter-spacing: .06em;
  padding: 8px 16px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--fg-muted); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.currency-switch button:hover, .interval-switch button:hover { color: var(--fg); }
.currency-switch button[aria-checked="true"], .interval-switch button[aria-checked="true"] { background: var(--ink-950); color: #fff; }
.on-dark .currency-switch button[aria-checked="true"], .on-dark .interval-switch button[aria-checked="true"] { background: #fff; color: var(--ink-950); }
.interval-switch__badge {
  margin-left: 4px; padding: 2px 8px; border-radius: var(--r-pill);
  font-size: .68rem; font-weight: 680; letter-spacing: .04em; text-transform: uppercase;
  background: var(--am-orange-soft); color: var(--ink-950);
}

/* Billing interval. Both prices are in the markup; with JavaScript, data-interval on
   .plans hides the one that is not chosen. Without JavaScript the page shows both. */
.plans-bar__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.plan__intervals { display: grid; gap: var(--s-4); }
.plan__interval + .plan__interval { padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.plan__interval-label {
  margin: 0 0 var(--s-2); font-size: .72rem; font-weight: 680; letter-spacing: .08em;
  text-transform: uppercase; color: var(--fg-muted);
}
.plan__badge {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--am-orange-soft); color: var(--ink-950); letter-spacing: .04em;
}
.plan__alt { text-decoration: underline; text-underline-offset: 2px; }
.js .plans[data-interval="year"] [data-interval-block="month"],
.js .plans[data-interval="month"] [data-interval-block="year"] { display: none; }
.js .plan__alt { display: none; }
.js .plan__interval + .plan__interval { padding-top: 0; border-top: 0; }

/* The two commitments the page leads with: unlimited tickets, and how the trial runs. */
.callout-unlimited {
  display: grid; gap: var(--s-1); margin-bottom: var(--s-4); padding: var(--s-5);
  border: 1px solid var(--ink-950); border-radius: var(--radius-brand); background: var(--card);
}
.callout-unlimited__title {
  margin: 0; font-family: var(--font-display); font-weight: 640; letter-spacing: -.03em;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--fg);
}
.callout-unlimited__body { margin: 0; font-size: .9375rem; color: var(--fg-muted); max-width: 70ch; }
.trial-line { margin: 0 0 var(--s-6); font-size: .9375rem; color: var(--fg-muted); }
.trial-line strong { color: var(--fg); }

.price-note {
  margin-top: var(--s-6); padding: var(--s-5);
  border: 1px dashed var(--rule-strong); border-radius: var(--radius-brand);
  font-size: .9375rem; color: var(--fg-muted);
}

/* Comparison table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: var(--radius-brand); }
table.matrix { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9rem; }
table.matrix th, table.matrix td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.matrix thead th {
  background: var(--bg-sunken); font-family: var(--font-body);
  font-size: .72rem; font-weight: 680; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-muted); white-space: nowrap;
}
table.matrix tbody th { font-weight: 560; color: var(--fg); }
table.matrix td { color: var(--fg-muted); }
table.matrix tbody tr:last-child th, table.matrix tbody tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   15. Accordion / FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: var(--s-5) 44px var(--s-5) 0; position: relative;
  font-family: var(--font-display); font-weight: 580; font-size: 1.0625rem;
  letter-spacing: -.022em; color: var(--fg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236e6c63'%3E%3Cpath d='M9 4h2v12H9z'/%3E%3Cpath d='M4 9h12v2H4z'/%3E%3C/svg%3E") center / 11px no-repeat;
  transition: transform .24s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding-bottom: var(--s-5); max-width: 68ch; }
.faq details > div p { font-size: .9375rem; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  --accent-text: var(--am-orange);  /* dark ground: full orange, 6.10:1 */
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink-950); color: #fff;
  border-radius: var(--radius-brand);
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 64px);
  text-align: center;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 120% at 12% 0%, rgba(255, 100, 49, .26), transparent 60%),
    radial-gradient(70% 110% at 90% 100%, rgba(46, 107, 255, .22), transparent 62%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .68); margin-inline: auto; }
.cta-band .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .3); }
.cta-band .btn--ghost:hover { --btn-bd: #fff; }
.cta-band .cluster { margin-top: var(--s-6); }

/* --------------------------------------------------------------------------
   17. Insights / article
   -------------------------------------------------------------------------- */
.post-card {
  display: grid; gap: var(--s-3);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--rule);
  transition: none;
}
.post-card:first-of-type { border-top: 1px solid var(--rule); }
.post-card__meta {
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--fg-subtle);
}
.post-card__meta .chip { font-family: var(--font-body); }
.post-card h2, .post-card h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 0; transition: color .18s var(--ease); }
.post-card:hover h2, .post-card:hover h3 { color: var(--accent-text); }
.post-card p { font-size: .9375rem; margin: 0; max-width: 72ch; }

.post-card--feature {
  border: 1px solid var(--card-rule); border-radius: var(--radius-brand);
  padding: clamp(28px, 4vw, 44px); background: var(--card);
}
.post-card--feature:first-of-type { border-top: 1px solid var(--card-rule); }
.post-card--feature h2, .post-card--feature h3 { font-size: clamp(1.5rem, 3vw, 2.15rem); }

.article-head { border-bottom: 1px solid var(--rule); padding-bottom: var(--s-6); margin-bottom: var(--s-7); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--fg-subtle);
}

.prose { font-size: 1.0625rem; line-height: 1.72; color: var(--ink-700); }
/* Own the vertical rhythm at the flow level: direct children carry no intrinsic
   margin, and spacing comes only from the sibling rule below. */
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: var(--s-5); }
.prose h2 {
  font-size: clamp(1.5rem, 2.8vw, 1.95rem); margin-top: var(--s-9); margin-bottom: 0;
  padding-top: var(--s-6); border-top: 1px solid var(--rule);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: var(--s-7); margin-bottom: 0; letter-spacing: -.025em; }
.prose p { color: var(--ink-700); }
.prose .callout > * + * { margin-top: var(--s-4); }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; text-decoration-color: rgba(199, 52, 14, .4); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { margin: 0; padding-left: 1.35em; display: grid; gap: 10px; color: var(--ink-700); }
.prose li::marker { color: var(--am-orange); }
.prose li > ul, .prose li > ol { margin-top: 10px; }
.prose blockquote {
  margin: var(--s-7) 0; padding: var(--s-5) 0 var(--s-5) var(--s-5);
  border-left: 3px solid var(--am-orange);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.4; letter-spacing: -.028em;
  color: var(--ink-950);
}
.prose blockquote p { color: inherit; font: inherit; }
.prose blockquote cite {
  display: block; margin-top: var(--s-3); font-family: var(--font-body);
  font-size: .8125rem; font-style: normal; font-weight: 500; letter-spacing: .02em;
  color: var(--fg-subtle);
}
.prose figure { margin: var(--s-7) 0; }
.prose figcaption { margin-top: var(--s-3); font-size: .8125rem; color: var(--fg-subtle); text-align: center; }
.prose code {
  font-family: var(--font-mono); font-size: .84em;
  background: var(--ink-100); padding: 2px 6px; border-radius: 4px; color: var(--ink-800);
}
.prose hr { margin: var(--s-8) 0; }
.prose .callout {
  margin: var(--s-7) 0; padding: var(--s-5);
  background: var(--bg-sunken); border: 1px solid var(--rule);
  border-radius: var(--radius-brand); font-size: .9375rem; line-height: 1.65;
}
.prose .callout > :first-child { margin-top: 0; }
.prose .callout p { font-size: inherit; }
.prose .callout strong { color: var(--ink-950); }
.prose .callout--accent { background: var(--am-orange-soft); border-color: rgba(255, 100, 49, .25); }

.toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-left: 1px solid var(--rule); padding-left: var(--s-4);
}
.toc__label {
  font-size: .7rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-muted); margin-bottom: var(--s-3);
}
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: toc; }
.toc a {
  font-size: .875rem; line-height: 1.4; color: var(--fg-muted);
  display: block; transition: color .16s var(--ease);
}
.toc a:hover, .toc a.is-active { color: var(--accent-text); }
@media (max-width: 900px) { .toc { position: static; border-left: 0; border-top: 1px solid var(--rule); padding: var(--s-5) 0 0; margin-bottom: var(--s-6); } }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer { --accent-text: var(--am-orange); background: var(--ink-950); color: #fff; padding-top: clamp(56px, 8vw, 96px); }
.site-footer a { color: rgba(255, 255, 255, .62); transition: color .16s var(--ease); }
.site-footer a:hover { color: #fff; }

.footer__grid {
  display: grid; gap: clamp(32px, 5vw, 56px);
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  padding-bottom: var(--s-8);
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
.footer__brand img { width: 138px; margin-bottom: var(--s-4); }
.footer__brand p { color: rgba(255, 255, 255, .55); font-size: .9375rem; max-width: 38ch; }
.footer__label {
  font-size: .7rem; font-weight: 680; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); margin-bottom: var(--s-4);  /* 3.1:1 at .34, 6.6:1 here */
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .9375rem; }

.footer__eco {
  display: grid; gap: var(--s-3); grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: var(--s-5) 0; border-top: 1px solid rgba(255, 255, 255, .08);
}
@media (max-width: 720px) { .footer__eco { grid-template-columns: minmax(0, 1fr); } }
.footer__eco-item {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-md); background: rgba(255, 255, 255, .025);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.footer__eco-item:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }
.footer__eco-item strong { display: block; color: #fff; font-size: .9375rem; font-weight: 580; }
.footer__eco-item span { font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.footer__eco-item svg { width: 16px; height: 16px; margin-left: auto; opacity: .45; flex: none; }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center;
  padding: var(--s-5) 0 calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .8125rem; color: rgba(255, 255, 255, .55);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-left: auto; }
.footer__social { display: flex; gap: var(--s-2); }
.footer__social a {
  position: relative;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
/* 34px disc, 44px target (design system §7) — expanded without disturbing the layout. */
.footer__social a::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}
.footer__social a:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.footer__social svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   19. Motion
   -------------------------------------------------------------------------- */
/* Scroll reveal — data-reveal defaults to the "rise" variant; data-reveal="fade"
   drops the translate. Staggered groups set --reveal-delay via data-reveal-stagger. */
[data-reveal] {
  opacity: 0; transform: translateY(var(--reveal-distance));
  transition: opacity var(--motion-slow) var(--ease-entrance),
              transform var(--motion-slow) var(--ease-entrance);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="fade"] { transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
.no-js [data-reveal] { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   19b. Signup + first-run tour
   -------------------------------------------------------------------------- */
.signup {
  max-width: 36rem;
  display: grid;
  gap: var(--s-5);
  padding: var(--s-7);
  border: 1px solid var(--rule);
  border-radius: var(--radius-brand);
  background: var(--bg-elevated, #fff);
}
.signup label {
  display: grid;
  gap: 8px;
  font-size: .875rem;
  font-weight: 620;
  color: var(--fg);
}
.signup input[type="text"],
.signup input[type="email"],
.signup input[type="tel"],
.signup input[type="number"],
.signup textarea {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
}
.signup textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
/* Contact and support forms (marketing/build.py contact_form). The honeypot is
   off-screen rather than display:none, which some bots skip. */
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Inline validation for the contact and support forms (CONTACT_SCRIPT in marketing/build.py).
   #b42318 is the signup error red: 6.55:1 on --paper. The invalid border is doubled with an
   inset shadow so the state does not rest on colour alone, and every error has text. */
.form-errors {
  margin: 0; padding: 12px 14px; border-radius: 10px;
  background: #fef3f2; color: #b42318; border: 1px solid #fecdca;
  font-size: .875rem; font-weight: 560; line-height: 1.45;
}
.form-errors:focus-visible { outline: 2px solid var(--am-orange); outline-offset: 2px; }
.field-error { margin: 0; font-size: .8125rem; font-weight: 560; line-height: 1.45; color: #b42318; }
.field-error::before { content: "! "; font-weight: 700; }
.signup [aria-invalid="true"] { border-color: #b42318; box-shadow: inset 0 0 0 1px #b42318; }
.signup button[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }
.hero__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.signup__plans {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.signup__plans legend {
  font-size: .875rem;
  font-weight: 620;
  margin-bottom: 8px;
}
.signup__plan {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.signup__error {
  color: #b42318;
  background: #fef3f2;
  padding: 12px 14px;
  border-radius: 10px;
}
.signup__note {
  color: var(--fg-muted);
}
/* Tier radio cards (rendered from shared/plans.json) */
.signup .signup__plan {
  display: flex; gap: 12px; align-items: flex-start;
  cursor: pointer;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.signup .signup__plan:has(input:checked) { border-color: var(--ink-950); box-shadow: var(--shadow-md); }
.signup .signup__plan:has(input:focus-visible) { outline: 2px solid var(--am-orange); outline-offset: 2px; }
.signup__plan input,
.signup__currency-options input { accent-color: var(--am-orange-deep); margin: 4px 0 0; flex: none; }
.signup__plan-body { display: grid; gap: 2px; }
.signup__plan-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.signup__plan-head strong { font-weight: 680; font-size: .9375rem; }
.signup__plan-price { font-size: .875rem; font-weight: 560; color: var(--fg); }
.signup__plan-limits { font-size: .8125rem; font-weight: 500; color: var(--fg-muted); }
.signup__currency { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.signup__currency legend { font-size: .875rem; font-weight: 620; margin-bottom: 8px; padding: 0; color: var(--fg); }
.signup__currency-options { display: flex; flex-wrap: wrap; gap: 8px; }
.signup .signup__currency-options label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--rule); border-radius: var(--r-pill);
  font-weight: 620; cursor: pointer;
}
.signup .signup__currency-options label:has(input:checked) { border-color: var(--ink-950); }
.signup__currency-options input { margin: 0; }
.signup__hint,
.signup__legal { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--fg-muted); }
.signup__legal { margin-top: var(--s-3); }
/* Direct signup (public/js/signup.js): grouped fields, security check, progress, recoverable error. */
.signup__fields { display: grid; gap: var(--s-5); }
.signup__fields[hidden], .signup__progress[hidden], .signup__error[hidden], .signup__interval[hidden] { display: none; }
.signup__interval { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.signup__interval legend { font-size: .875rem; font-weight: 620; margin-bottom: 8px; padding: 0; color: var(--fg); }
.signup__check { display: grid; gap: 8px; }
.signup__check-label { margin: 0; font-size: .875rem; font-weight: 620; }
.signup__check #turnstile-widget { min-height: 65px; }
/* Narrow phones: the card's columns may shrink below the 300px security check (signup.js asks
   Turnstile for its compact layout when its box is narrower than that), and the card pads less. */
.signup, .signup__fields, .signup__check { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 420px) {
  .signup { padding: var(--s-5); }
}
.signup__error p { margin: 0; }
.signup__error { display: grid; gap: 10px; }
.signup__error:focus-visible { outline: 2px solid var(--am-orange); outline-offset: 2px; }
.signup__error a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.signup__error-ref { font-size: .8125rem; font-family: var(--font-mono, ui-monospace, monospace); }
.signup__error-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.signup__progress { display: grid; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--rule); border-radius: 10px; }
.signup__progress:focus-visible { outline: 2px solid var(--am-orange); outline-offset: 2px; }
.signup__progress-title { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 620; }
.signup__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: step; }
.signup__steps li { counter-increment: step; display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--fg-muted); }
.signup__steps li::before {
  content: counter(step);
  flex: none; width: 22px; height: 22px; display: inline-grid; place-items: center;
  border: 1px solid var(--rule-strong); border-radius: 50%; font-size: .75rem; font-weight: 620;
}
.signup__steps li[data-state="active"] { color: var(--fg); font-weight: 620; }
.signup__steps li[data-state="active"]::before { border-color: var(--ink-950); }
.signup__steps li[data-state="done"] { color: var(--fg); }
.signup__steps li[data-state="done"]::before { content: "\2713"; background: var(--ink-950); border-color: var(--ink-950); color: #fff; }
.spinner {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 2px solid var(--rule-strong); border-top-color: var(--am-orange-deep, var(--am-orange));
  animation: spinner-turn .8s linear infinite;
}
@keyframes spinner-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
.signup__terms { max-width: 36rem; margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.signup__terms h2 { margin: 0; }
.signup__terms ul { margin: 0; padding-left: 1.25rem; display: grid; gap: 8px; font-size: .9375rem; line-height: 1.55; }
.signup__terms a { text-decoration: underline; text-underline-offset: 3px; }
.tour-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
  .tour-grid { grid-template-columns: 1fr; }
}
.tour-card {
  padding: var(--s-6);
  border: 1px solid var(--rule);
  border-radius: var(--radius-brand);
  display: grid;
  gap: 10px;
  align-content: start;
}
.tour-card__num {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--accent-text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--s-4); }
.mb-6 { margin-bottom: var(--s-6); }
.full { grid-column: 1 / -1; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .sticky-aside { position: static; } }

/* ==========================================================================
   Producer story, persona pages and guides
   Used by: the "Talk it through with a person" band and guide close
   (marketing/build.py talk_block / guide_end), the /guides pages, /producers
   and /event-managers. Orange text uses --accent-text, never --am-orange-deep.
   ========================================================================== */

/* The enquiry form's call-planning helpers (topic, event date, call times) only
   work through the submit script, so they stay hidden without JavaScript. */
.no-js .contact-extra { display: none; }
.contact-extra { display: grid; gap: var(--s-5); }
.contact-extra .signup__hint { margin: 0; }
.signup input[type="date"],
.signup select {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  min-width: 0;
  max-width: 100%;
}

/* Talk it through with a person */
.talk {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
  background: var(--bg-sunken);
  border: 1px solid var(--rule);
  border-radius: var(--radius-brand);
}
.talk__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); align-content: start; }
.talk__actions .btn { justify-content: center; text-align: center; white-space: normal; line-height: 1.25; }
.talk__note { margin: var(--s-2) 0 0; font-size: .8125rem; line-height: 1.5; color: var(--fg-muted); }
.talk--guide {
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
  margin-top: var(--s-8);
}
.talk--guide h2 { margin: 0; }
.talk--guide p { margin: 0; color: var(--ink-700); }
.talk--guide .talk__note { color: var(--fg-muted); }
@media (max-width: 820px) { .talk { grid-template-columns: minmax(0, 1fr); } }

/* Guides: hub cards, sidebar list, article furniture */
.guide-card { position: relative; }
.guide-card h3 a { color: inherit; text-decoration: none; }
.guide-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.guide-card h3 a:focus-visible { outline: none; }
.guide-card:has(h3 a:focus-visible) { outline: 2px solid var(--am-orange); outline-offset: 3px; }
.guide-card__for { margin: auto 0 0; font-size: .8125rem; color: var(--fg-muted); }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9375rem; }
.guide-list a { color: var(--fg); text-decoration: none; border-bottom: 1px solid transparent; }
.guide-list a:hover { color: var(--accent-text); border-bottom-color: currentColor; }
.guide-list a[aria-current="page"] { color: var(--accent-text); font-weight: 620; }

.guide a:not(.btn) { color: var(--accent-text); text-decoration-color: currentColor; }
.guide ol.guide-steps { counter-reset: gs; list-style: none; padding-left: 0; gap: 14px; }
.guide ol.guide-steps > li { counter-increment: gs; position: relative; padding-left: 40px; }
.guide ol.guide-steps > li::before {
  content: counter(gs);
  position: absolute; left: 0; top: .1em;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  color: var(--accent-text); background: var(--am-orange-soft);
}
.guide-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: var(--s-6); font-size: .875rem; color: rgba(255, 255, 255, .72); }

/* Persona pages: pressure points as a quiet list */
.pressure { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pressure li { padding: var(--s-4) 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; font-size: .9375rem; color: var(--fg-muted); line-height: 1.55; }
.pressure li:first-child { border-top: 1px solid var(--rule); }
.pressure li strong { color: var(--fg); font-weight: 580; font-size: 1rem; }

/* First 30 minutes: a clock down the side of each step instead of a counter */
.minutes .step { grid-template-columns: 112px minmax(0, 1fr); }
.minutes .step__num::before { content: none; }
.minutes .step__num { font-size: .8125rem; }
@media (max-width: 480px) { .minutes .step { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Very narrow phones (under 360px): long bracket eyebrows and button labels wrap instead of
   running past the gutter. Nothing changes at 360px and up. */
@media (max-width: 359.98px) {
  .eyebrow { flex-wrap: wrap; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .btn { white-space: normal; line-height: 1.25; text-align: center; max-width: 100%; }
}
