/* ============================================================
   FORGED — design system
   ------------------------------------------------------------
   One stylesheet behind every page: forged-studio.ca, /sports/
   and /auto/. Light is the only appearance. The two product
   pages re-tone one token (--signal) and inherit everything
   else, so they read as the same family.
   ============================================================ */

:root {
  color-scheme: light;

  /* Apple light mode on a soft, faintly cool ground rather than stark white.
     --paper is the page; white tiles sit on it; controls inset back to --paper.
     Change --paper alone to warm or cool the whole page. */
  --paper:      #F2F4F7;
  --panel:      #FFFFFF;
  --panel-sunk: #F2F4F7;
  --ink:        #1D1D1F;
  --ink-soft:   #6B6F76;
  --ink-faint:  #868B93;
  --rule:       #DCE0E7;
  --rule-soft:  #E3E7EE;
  --signal:     #006CDB;  /* a shade under Apple blue, so 11px labels clear 4.5:1 on --paper */
  --signal-ink: #FFFFFF;
  --signal-wash:#E8F2FD;
  --live:       #1D7F3A;
  --live-wash:  #E3F6E9;

  --shadow-lift: 0 1px 2px rgba(0,0,0,.04), 0 10px 28px -16px rgba(0,0,0,.13);
  --shadow-lift-lg: 0 2px 4px rgba(0,0,0,.05), 0 24px 54px -28px rgba(0,0,0,.22);

  /* SF Pro where it exists, graceful system fallbacks elsewhere */
  --f-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --r-lg:   18px;
  --r-md:   12px;
  --r-sm:   8px;
  --r-pill: 980px;

  --logo: url("/assets/forged-wordmark.png");

  --page: 1180px;
  --gut: clamp(20px, 4.5vw, 56px);
}

/* The verticals: one token moves, the rest of the system holds. */
body[data-vertical="sports"] {
  --signal:      #0F7A52;
  --signal-wash: #E3F3EC;
}
body[data-vertical="auto"] {
  --signal:      #B4322A;
  --signal-wash: #FAEAE8;
}

/* This page deliberately commits to a single light appearance: no
   prefers-color-scheme block and no dark stamp, so a viewer with a dark OS
   still gets the light design rather than a black ground. `color-scheme:
   light` above keeps native controls light to match. Every colour is painted
   explicitly from the tokens, so the page never borrows the host's ground. */

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }

/* A class with a display of its own outranks the UA's [hidden] rule, and the
   founding-offer panel ships hidden — so say it once, for everything. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Skip link — the masthead is sticky, so it lands below it. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--panel);
  border: 1px solid var(--signal);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  text-decoration: none;
}
.skip:focus { left: 16px; top: 10px; }

/* Anchors sit under the sticky masthead unless offset. */
[id] { scroll-margin-top: 78px; }

/* Mono utility label — the page's connective tissue */
.tag {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.shell {
  max-width: var(--page);
  margin: 0 auto;
  padding-inline: var(--gut);
}

/* The ruled field: six hairline columns behind the whole page */
.field {
  position: relative;
  isolation: isolate;
}
.field::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  max-width: var(--page);
  margin: 0 auto;
  background-image: repeating-linear-gradient(
    to right,
    var(--rule-soft) 0 1px,
    transparent 1px calc(100% / 6)
  );
  opacity: .9;
  pointer-events: none;
}
@media (max-width: 720px) {
  .field::before { display: none; }
}

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.masthead-in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand-logo {
  display: block;
  background-image: var(--logo);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  flex: none;
}
.wordmark-logo { width: 122px; height: 31px; }
.foot-logo { width: 110px; height: 28px; margin-bottom: 2px; }

/* Product lockup: the studio mark, a hairline, then the division. */
.lockup-div {
  width: 1px;
  height: 22px;
  background: var(--rule);
  flex: none;
}
.lockup-name {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
  white-space: nowrap;
}

.mast-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.mast-nav a:not(.btn) {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.mast-nav a:not(.btn):hover { color: var(--ink); border-bottom-color: var(--signal); }
.mast-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--signal); }

/* Mobile disclosure */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  padding: 9px 15px;
  cursor: pointer;
}
.nav-toggle-bars {
  display: grid;
  gap: 3px;
  width: 14px;
  flex: none;
}
.nav-toggle-bars i {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-panel { display: contents; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-lift);
    padding: 10px var(--gut) 20px;
  }
  .nav-panel[data-open="true"] { display: block; }
  .mast-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: var(--page);
    margin: 0 auto;
  }
  .mast-nav a:not(.btn) {
    font-size: 13px;
    letter-spacing: .08em;
    padding: 15px 2px;
    border-bottom: 1px solid var(--rule-soft);
  }
  .mast-nav a:not(.btn):hover { border-bottom-color: var(--rule-soft); }
  .mast-nav a[aria-current="page"] { border-bottom-color: var(--rule-soft); color: var(--signal); }
  .mast-nav .btn { margin-top: 16px; width: 100%; }
  .mast-nav .nav-second { display: inline-flex; margin-top: 8px; width: 100%; }
}

/* On a narrow phone the lockup and the menu pill are competing for one row. */
@media (max-width: 480px) {
  .masthead-in { gap: 12px; }
  .wordmark { gap: 9px; }
  .wordmark-logo { width: 100px; height: 25px; }
  .lockup-name { font-size: 10.5px; letter-spacing: .1em; }
  .lockup-div { height: 19px; }
  .nav-toggle { padding: 9px 13px; gap: 8px; }
}
@media (max-width: 360px) {
  .wordmark-logo { width: 84px; height: 21px; }
  .nav-toggle-bars { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 19px;
  border: 1px solid var(--signal);
  border-radius: var(--r-pill);
  background: var(--signal);
  color: var(--signal-ink);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: filter .15s, transform .1s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover { border-color: var(--ink); filter: none; }
/* `.mast-nav a` would otherwise steal the pill's text colour and bottom border. */
.masthead .btn {
  padding: 9px 16px;
  color: var(--signal-ink);
  border: 1px solid var(--signal);
}
.masthead .btn-ghost { color: var(--ink); border-color: var(--rule); }
.masthead .btn:hover { border-color: var(--signal); }
.masthead .btn-ghost:hover { border-color: var(--ink); }
/* The second pill exists for the mobile sheet; inline, one CTA is enough.
   Bound to min-width so it cannot outrank the sheet rule further up. */
@media (min-width: 1061px) {
  .mast-nav .nav-second { display: none; }
}

/* Quiet text link with an arrow */
.link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--signal);
}
.link::after { content: "\2192"; transition: transform .15s; }
.link:hover::after { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(46px, 7vw, 84px) clamp(40px, 6vw, 68px); }
.hero-eyebrow { display: block; margin-bottom: 26px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(30px, 5vw, 62px);
  align-items: start;
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  font-weight: 600;
  letter-spacing: -0.038em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--signal);
}
.hero-lede {
  font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 14px;
}
.hero-sub {
  font-size: 15.5px;
  color: var(--ink-faint);
  max-width: 44ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-actions .btn { padding: 13px 22px; }

/* The ticker strip of plain facts */
.ticker {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.ticker span::before {
  content: "\2022";
  color: var(--signal);
  margin-right: 8px;
  font-size: 9px;
  vertical-align: 1px;
}

/* ============================================================
   THE STACK — hero panel. Layers of a Forged system, with the
   plan that introduces each one.
   ============================================================ */
.stack {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.stack-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  background: var(--panel-sunk);
}
.stack-bar-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stack-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px var(--live-wash);
  flex: none;
}
.stack-tabs {
  display: flex;
  border-bottom: 1px solid var(--rule);
  background: var(--panel-sunk);
}
.stack-tab {
  flex: 1;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 11px 4px 9px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ink-faint);
  cursor: pointer;
  min-width: 0;
  transition: color .13s, border-color .13s, background .13s;
}
.stack-tab:hover { color: var(--ink); }
.stack-tab[aria-checked="true"] {
  color: var(--signal);
  border-bottom-color: var(--signal);
  background: var(--panel);
  font-weight: 600;
}
.stack-body { padding: 16px; }
.layers { display: flex; flex-direction: column; gap: 5px; }
.layer {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: background .18s, border-color .18s, opacity .18s;
}
.layer-n {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.layer-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  min-width: 0;
}
.layer-plan {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.layer[data-on="true"] {
  background: var(--signal-wash);
  border-color: color-mix(in srgb, var(--signal) 26%, transparent);
}
.layer[data-on="true"] .layer-n,
.layer[data-on="true"] .layer-plan { color: var(--signal); }
.layer[data-on="false"] { opacity: .5; }
.stack-note {
  margin-top: 14px;
  padding: 12px 13px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--signal);
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: var(--ink-soft);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.stack-note strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   SECTION SCAFFOLD — timetable rows
   ============================================================ */
.band { border-top: 1px solid var(--rule); padding-block: clamp(48px, 6.5vw, 82px); }
.band-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 44px);
  margin-bottom: clamp(30px, 4vw, 46px);
}
@media (max-width: 800px) {
  .band-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
.band-label { padding-top: 8px; }
.band-label .tag { color: var(--signal); }
.band h2 {
  font-size: clamp(27px, 3.5vw, 42px);
  max-width: 20ch;
}
.band-sub {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 58ch;
  font-size: 16.5px;
}
.band-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 44px);
}
@media (max-width: 800px) {
  .band-body { grid-template-columns: minmax(0, 1fr); }
}
/* Some grids read better across the full measure than inside the gutter. */
.band-body--full { grid-template-columns: minmax(0, 1fr); }

/* ============================================================
   PROGRESSION RAIL — Website → Customers → … → Automation
   ============================================================ */
.rail {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 34px;
}
.rail-step {
  flex: 1 1 128px;
  background: var(--panel);
  padding: 15px 16px 17px;
  min-width: 0;
}
.rail-step .tag { display: block; color: var(--signal); margin-bottom: 8px; }
.rail-step h3 { font-size: 15.5px; margin-bottom: 5px; }
.rail-step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ============================================================
   CAPABILITY ROWS
   ============================================================ */
.caps { display: flex; flex-direction: column; }
.cap {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  padding-block: 22px;
  border-top: 1px solid var(--rule-soft);
}
.cap:first-child { border-top: none; padding-top: 0; }
.cap-n {
  font-family: var(--f-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--signal);
  padding-top: 4px;
}
.cap h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 7px;
}
.cap p { color: var(--ink-soft); max-width: 62ch; font-size: 15.5px; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.pill {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--ink-faint);
}

/* ============================================================
   MEMBERSHIPS
   ============================================================ */
.ladder {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 30px;
}
.rung {
  flex: 1 1 190px;
  background: var(--panel);
  padding: 16px 17px 18px;
  min-width: 0;
}
.rung-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.rung-top .tag { color: var(--signal); }
.rung-price {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rung {
  display: flex;
  flex-direction: column;
}
.rung h3 { font-size: 15.5px; margin-bottom: 6px; }
.rung p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
/* The second progression the pricing section has to carry:
   Website -> Booking -> Platform -> Custom software. */
.rung .rung-kind {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.rung:not(:last-child) .rung-kind::after {
  content: " \2192";
  color: var(--signal);
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  /* Equal-height cards so the four CTAs land on one line. */
  align-items: stretch;
}
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .plans { grid-template-columns: minmax(0, 1fr); } }

.plan {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 22px 21px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow-lift);
}
.plan--featured {
  border-color: var(--signal);
  box-shadow: var(--shadow-lift-lg);
  position: relative;
}
.plan-flag {
  position: absolute;
  top: -11px;
  left: 21px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: var(--signal);
  color: var(--signal-ink);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.plan-name {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
  display: block;
  margin-bottom: 12px;
}
.plan-line {
  font-size: 17px;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  min-height: 2.4em;
}
/* Four-up is the narrowest the cards get, and the longest positioning line
   runs to three rows there — reserve it so every price sits on one line. */
@media (min-width: 1081px) {
  .plan-line { min-height: 3.6em; }
}
.plan-price {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 16px;
}
.plan-from {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.plan-fig {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  display: inline-block;
}
.plan-per {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin-left: 3px;
}
.plan-feats {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.plan-feats li {
  position: relative;
  padding-left: 17px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.plan-feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  background: var(--signal);
}
.plan-feats li.plan-carry {
  padding-left: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.plan-feats li.plan-carry::before { display: none; }
.plan-setup {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-faint);
  margin-bottom: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--rule-soft);
}
.plan .btn { width: 100%; padding: 13px 16px; }
.plan-foot {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 14px;
  line-height: 1.45;
}

/* Compare-all disclosure */
.compare {
  margin-top: 26px;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
}
.compare > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.compare > summary::-webkit-details-marker { display: none; }
.compare > summary:hover { color: var(--signal); }
.compare > summary .sign {
  font-family: var(--f-mono);
  font-size: 15px;
  color: var(--signal);
  flex: none;
  line-height: 1;
}
.compare[open] > summary { border-bottom: 1px solid var(--rule); }
.compare[open] > summary .sign::before { content: "\2212"; }
.compare:not([open]) > summary .sign::before { content: "+"; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
  font-size: 14px;
}
.cmp th, .cmp td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
.cmp thead th {
  position: sticky;
  top: 0;
  background: var(--panel-sunk);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
  z-index: 1;
}
.cmp thead th.is-featured { color: var(--signal); }
.cmp tbody th {
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  background: var(--panel);
  position: sticky;
  left: 0;
  min-width: 232px;
  border-right: 1px solid var(--rule-soft);
}
.cmp tbody tr.cmp-group th {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--signal);
  background: var(--panel-sunk);
}
.cmp tbody tr.cmp-group td { background: var(--panel-sunk); }
.cmp td { color: var(--ink-soft); font-size: 13.5px; }
.cmp td.yes { color: var(--signal); font-weight: 600; }
.cmp td.no { color: var(--ink-faint); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }

/* On a phone the frozen feature column has to leave room for two plans. */
.table-hint {
  display: none;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-faint);
  padding: 12px 20px 0;
}
@media (max-width: 720px) {
  .table-hint { display: block; }
  .cmp { min-width: 620px; font-size: 13px; }
  .cmp th, .cmp td { padding: 10px 11px; }
  .cmp tbody th { min-width: 168px; font-size: 13px; }
  .cmp td { font-size: 12.5px; }
}

/* ============================================================
   NOTE PANELS — membership scope, ownership, founding offer
   ============================================================ */
.panel {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.2vw, 32px);
}
.panel h3 { font-size: clamp(21px, 2.3vw, 27px); margin-bottom: 11px; }
.panel p { color: var(--ink-soft); font-size: 15.5px; max-width: 64ch; }
.panel p + p { margin-top: 12px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.checks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px 22px;
}
.checks li {
  position: relative;
  padding-left: 17px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  background: var(--signal);
}

.notice {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--signal);
  background: var(--panel-sunk);
  border-radius: var(--r-md);
  padding: 15px 17px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 20px;
}
.notice strong { color: var(--ink); font-weight: 600; }

/* Founding-client promo — shipped switched off; see FOUNDING_OFFER in forged.js */
.promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  background: var(--signal-wash);
  border: 1px solid color-mix(in srgb, var(--signal) 30%, transparent);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-bottom: 28px;
}
.promo-main { flex: 1 1 380px; min-width: 0; }
.promo .tag { color: var(--signal); display: block; margin-bottom: 7px; }
.promo h3 { font-size: 20px; margin-bottom: 6px; }
.promo p { font-size: 14.5px; color: var(--ink-soft); max-width: 62ch; }
.promo-terms { font-family: var(--f-mono); font-size: 11px; color: var(--ink-faint); margin-top: 8px; }

/* ============================================================
   INDUSTRY PANELS — Forged Sports / Forged Auto
   ============================================================ */
.verts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 860px) { .verts { grid-template-columns: minmax(0, 1fr); } }

.vert {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow-lift);
}
.vert[data-vert="sports"] { --signal: #0F7A52; --signal-wash: #E3F3EC; }
.vert[data-vert="auto"]   { --signal: #B4322A; --signal-wash: #FAEAE8; }
.vert-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.vert-dot {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--signal);
  flex: none;
}
.vert-top .tag { color: var(--signal); }
.vert h3 { font-size: clamp(23px, 2.4vw, 28px); margin-bottom: 9px; }
.vert > p { color: var(--ink-soft); font-size: 15.5px; max-width: 46ch; }
.vert-caps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 20px 0 22px;
}
.vert-cap {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 9px 11px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  background: var(--paper);
  min-width: 0;
}
.vert .btn { align-self: flex-start; margin-top: auto; }

/* ============================================================
   TILES — hairline-divided card grid
   ============================================================ */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(202px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tile { background: var(--panel); padding: 18px 18px 21px; min-width: 0; }
.tile .tag { display: block; margin-bottom: 9px; color: var(--signal); }
.tile h3 { font-size: 17px; margin-bottom: 7px; }
.tile p { font-size: 14px; color: var(--ink-soft); line-height: 1.52; }

/* A labelled divider above a grid */
.fam {
  display: flex;
  align-items: baseline;
  gap: 8px 16px;
  flex-wrap: wrap;
  margin: 34px 0 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--rule);
}
.fam:first-child { margin-top: 0; }
.fam .tag { color: var(--signal); }
.fam p { font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   PROCESS — a real sequence, so it is numbered
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-left: 1px solid var(--rule);
}
/* Once the row wraps, the cells need air between rows that the column rules
   were doing on one line. */
@media (max-width: 1060px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; } }
@media (max-width: 760px)  { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; } }
.step {
  padding: 0 20px 4px;
  border-right: 1px solid var(--rule);
  position: relative;
  min-width: 0;
}
.step::before {
  content: "";
  position: absolute;
  left: -1px; top: 0;
  width: 3px; height: 26px;
  background: var(--signal);
}
.step-n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--signal);
  display: block;
  margin-bottom: 14px;
  padding-top: 2px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 620px) {
  .steps { border-left: none; }
  .step { padding: 18px 0 0; border-right: none; border-top: 1px solid var(--rule); }
  .step:first-child { padding-top: 0; border-top: none; }
  .step::before { display: none; }
}

/* ============================================================
   LIFECYCLE FLOW — Discover → Register → Book → …
   ============================================================ */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 30px;
}
.flow-node {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid var(--rule);
  background: var(--panel);
  border-radius: var(--r-pill);
  color: var(--ink);
}
.flow-arrow { color: var(--signal); font-size: 13px; line-height: 1; }

/* Connected-systems grid */
.wires {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.wire { background: var(--panel); padding: 15px 16px 17px; min-width: 0; }
.wire .tag { display: block; color: var(--signal); margin-bottom: 7px; }
.wire p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
}
.qa { border-top: 1px solid var(--rule-soft); }
.qa:first-child { border-top: none; }
.qa > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary:hover { color: var(--signal); }
.qa > summary .sign {
  font-family: var(--f-mono);
  font-size: 15px;
  color: var(--signal);
  flex: none;
  line-height: 1.3;
}
.qa[open] > summary .sign::before { content: "\2212"; }
.qa:not([open]) > summary .sign::before { content: "+"; }
.qa-body { padding: 0 22px 20px; }
.qa-body p { color: var(--ink-soft); font-size: 15px; max-width: 68ch; }
.qa-body p + p { margin-top: 10px; }

/* ============================================================
   HERO DEMO — the working slot picker (product pages)
   ============================================================ */
.demo {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  background: var(--panel-sunk);
}
.demo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px var(--live-wash);
  flex: none;
}
.demo-bar-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.demo-body { padding: 20px 16px 16px; }
.demo-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.demo-date {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.demo-trade {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
/* The grid — rows are resources, columns are slots */
.court-wrap { overflow-x: auto; padding-bottom: 2px; }
.court-grid {
  display: grid;
  grid-template-columns: 62px repeat(5, minmax(50px, 1fr));
  gap: 4px;
  min-width: 332px;
}
.court-h {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--ink-faint);
  text-align: center;
  padding-bottom: 3px;
  font-variant-numeric: tabular-nums;
}
.court-r {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .05em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.cell {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 2px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.cell:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.cell:disabled {
  cursor: not-allowed;
  background: var(--rule-soft);
  border-color: var(--rule-soft);
  color: var(--ink-faint);
}
.cell.is-blocked {
  background: var(--signal-wash);
  border-color: var(--signal-wash);
  color: var(--signal);
  cursor: not-allowed;
}
.cell.is-held {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--signal-ink);
  font-weight: 600;
}
.demo-status {
  margin-top: 14px;
  padding: 12px 13px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--signal);
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: var(--ink-soft);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.demo-status strong { color: var(--ink); font-weight: 600; }
.demo-note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-faint);
  font-family: var(--f-mono);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.4vw, 36px);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 660px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.f-wide { grid-column: 1 / -1; }

.f-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.f-label .opt { color: var(--ink-faint); letter-spacing: .06em; text-transform: none; }

.f-input,
.f-select,
.f-area {
  width: 100%;
  font-family: var(--f-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 12px 13px;
  transition: border-color .15s;
  border-radius: var(--r-md);
}
.f-input:hover, .f-select:hover, .f-area:hover { border-color: var(--ink-faint); }
.f-input:focus, .f-select:focus, .f-area:focus {
  border-color: var(--signal);
  outline: none;
  box-shadow: inset 0 -2px 0 var(--signal);
}
.f-area { resize: vertical; min-height: 108px; line-height: 1.55; }
.f-input::placeholder, .f-area::placeholder { color: var(--ink-faint); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  transition: background .13s, border-color .13s, color .13s;
  user-select: none;
}
.chip span:hover { border-color: var(--ink-faint); color: var(--ink); }
.chip input:checked + span {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--signal-ink);
}
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }

.form-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.form-foot .btn { padding: 13px 22px; }
.form-hint { font-size: 13px; color: var(--ink-faint); max-width: 42ch; }
.f-error {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--signal);
  margin-top: 6px;
  min-height: 0;
}

.sent {
  border: 1px solid var(--live);
  background: var(--live-wash);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.sent h3 { font-size: 22px; margin-bottom: 9px; }
.sent p { color: var(--ink-soft); max-width: 54ch; font-size: 15.5px; margin-bottom: 18px; }
.sent-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--rule);
  padding-block: 40px 44px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

.foot-col h4 {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 13px;
}
.foot-links { display: flex; flex-direction: column; gap: 9px; }
.foot-links a { font-size: 14.5px; color: var(--ink-soft); text-decoration: none; }
.foot-links a:hover { color: var(--signal); }

.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 22px;
}
.foot-note { font-size: 13px; color: var(--ink-faint); max-width: 44ch; }
.foot a { color: var(--ink-soft); text-underline-offset: 3px; }
.foot-col a:hover { color: var(--signal); }

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

/* Visible to screen readers only — carries the meaning of a glyph cell. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
