/* Fare 101 website — the owner's design, on the one token source.
 *
 * Nothing here is redesigned: every selector, every composition and every uppercase eyebrow is the
 * owner's. What changed (BC-WEB-08 / BC-WEB-09) is where the values come from. There is no second
 * colour or type system: every colour, size, radius, shadow, space and duration is a --fare-*
 * custom property generated into tokens.css from design/tokens.json.
 *
 *   - No hex literal, no px padding/margin/gap and no font-size outside the 11-step web scale.
 *   - The verdict hues (--fare-verdict-*) exist ONLY inside a [data-verdict] subtree, so no rule
 *     in this file can reach them (CLAUDE.md rule 8).
 *   - One breakpoint system: container queries on .canvas, at 1200 / 1199 / 1023 / 767.
 *     @media survives only for prefers-reduced-motion and forced-colors, plus nothing else.
 *   - Development surfaces (the build strip) live in the internal console's own stylesheet,
 *     outside the served folder. A customer never downloads them.
 */

/* ------------------------------------------------------------------ root and base elements */
:root {
  font-family: var(--fare-font-family);
  font-size: 100%;                 /* 16px; every size below is rem, so zoom and OS font scale work */
  line-height: var(--fare-web-type-body-line-height);
  font-variant-numeric: tabular-nums;   /* Rubik's default digits are proportional; money must align */
  color: var(--fare-brand-navy);
  background: var(--fare-background);
}
* { box-sizing: border-box }
body { margin: 0 }
button, input, select { font: inherit }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation }
button { cursor: pointer; color: inherit }
button:disabled { cursor: default }
a { color: inherit; text-decoration: none }
h1, h2, h3, p { margin: 0 }
h1, h2, h3, h4, h5, h6 { font-weight: var(--fare-web-type-headline2-weight) }
svg { display: block }
button svg, a svg { flex: none }

/* Two-tone focus ring: a light halo against the navy surfaces, a teal ring against the light ones,
   so one of the two always clears 3:1 against whatever the control sits on (SC 1.4.11, AXW-09). */
button, a, input, select, summary, [tabindex] { outline-offset: var(--fare-space-xs) }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: var(--fare-focus-ring) solid var(--fare-brand-teal-ink);
  outline-offset: var(--fare-space-xs);
  box-shadow: 0 0 0 var(--fare-space-sm) var(--fare-surface);
}

a.skip {
  position: absolute;
  left: var(--fare-space-lg);
  top: -100%;
  background: var(--fare-surface);
  color: var(--fare-brand-navy);
  padding: var(--fare-space-md);
  border-radius: var(--fare-radius-sm);
  z-index: 100;
}
a.skip:focus { top: var(--fare-space-lg) }

.canvas {
  --wrap-gutter: var(--fare-web-space-gutter-xl);
  --wrap-section: var(--fare-web-space-section);
  --fare-focus-ring: 3px;
  --fare-rule-on-navy: color-mix(in srgb, var(--fare-on-navy-primary) 22%, transparent);
  width: 100%;
  margin: 0 auto;
  container-type: inline-size;
  container-name: site;
  background: var(--fare-surface);
  min-height: 100vh;
  position: relative;
}
.wrap {
  width: calc(100% - 2 * var(--wrap-gutter));
  max-width: var(--fare-web-max-width-content);
  margin: 0 auto;
}
.loading-block {
  min-height: 45vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--fare-space-lg);
  color: var(--fare-text-secondary);
  padding: var(--fare-space-xxl);
  text-align: center;
}

/* ------------------------------------------------------------------ the type scale (11 steps)
 * font-size and line-height are set HERE and nowhere else. A component rule may change colour,
 * weight, tracking or spacing, never a size, so the site cannot grow a twelfth step by accident.
 */
.hero h1 {
  font-size: var(--fare-web-type-display1-size);
  line-height: var(--fare-web-type-display1-line-height);
  letter-spacing: var(--fare-web-type-display1-tracking);
  font-weight: var(--fare-web-type-display1-weight);
}
.auth-aside-title {
  font-size: var(--fare-web-type-display2-size);
  line-height: var(--fare-web-type-display2-line-height);
  letter-spacing: var(--fare-web-type-display2-tracking);
  font-weight: var(--fare-web-type-display2-weight);
}
.rate {
  font-size: var(--fare-web-type-display-size);
  line-height: var(--fare-web-type-display-line-height);
  letter-spacing: var(--fare-web-type-display-tracking);
  font-weight: var(--fare-web-type-display-weight);
}
.section-head h2, .target-story h2, .faq-intro h2, .page-intro h1, .page-intro h2,
.offer-price, .goal-value, .pace-number, .sub-amount, .auth-example-number, .target-result b {
  font-size: var(--fare-web-type-display3-size);
  line-height: var(--fare-web-type-display3-line-height);
  letter-spacing: var(--fare-web-type-display3-tracking);
  font-weight: var(--fare-web-type-display3-weight);
}
.account-heading h1, .auth-form h1, .plan-price, .stat .stat-value, .error-page h1 {
  font-size: var(--fare-web-type-headline1-size);
  line-height: var(--fare-web-type-headline1-line-height);
  letter-spacing: var(--fare-web-type-headline1-tracking);
  font-weight: var(--fare-web-type-headline1-weight);
}
h1, h2, h3, h4, h5, h6, dialog h2, .step h3, .plan-card h3, .empty-state h2, .empty-block h2,
.subscription-hero h2, .faq summary span, .dialog-close {
  font-size: var(--fare-web-type-headline2-size);
  line-height: var(--fare-web-type-headline2-line-height);
  letter-spacing: var(--fare-web-type-headline2-tracking);
}
.panel h2, .faq summary, .auth-mini strong, .notice-icon {
  font-size: var(--fare-web-type-title-size);
  line-height: var(--fare-web-type-title-line-height);
  letter-spacing: var(--fare-web-type-title-tracking);
  font-weight: var(--fare-web-type-title-weight);
}
.hero-copy > p, .section-head > p, .auth-aside > p, .page-intro p, .auth-example > span {
  font-size: var(--fare-web-type-lead-size);
  line-height: var(--fare-web-type-lead-line-height);
  font-weight: var(--fare-web-type-lead-weight);
}
.f-btn, .form-intro, .form-field input, .form-field select, .search-form input,
.faq details p, .step p, .empty-state p, .settings-panel > p, .target-example-row b,
.goal-total, .rate span, .assessment-numbers b, .offer-details b {
  font-size: var(--fare-web-type-body-size);
  line-height: var(--fare-web-type-body-line-height);
}
.f-btn { line-height: var(--fare-web-type-ui-line-height) }
.nav-links, .nav-actions, .sidebar-nav a, .sidebar-bottom, .account-topbar, .data-table,
.recent-table td, .details-list > div, .connection-detail, .connection-note, .notice, .toast,
.state-loading, .dialog-intro, .form-field > label, .badge, .f-btn.small, .plan-caption,
.plan-points, .plan-card .f-btn, .dialog-actions .f-btn, .form-alt, .form-forgot, .form-footer,
.trust-row > div, .target-example-row, .target-result div, .target-result b span, .offer-head,
.goal-chip-main b, .account-heading p, .pace-label, .pace-sub, .stat-label, .api-status,
.small-copy, .device-title strong, .device-panel > p, .empty-block p, .auth-mini p,
.auth-header > a:last-child, .auth-benefits > div, .settings-actions > span, .pager,
.account-topbar .account-identity, .subscription-hero p, .subscription-hero .sub-amount span,
.plan-price span, .panel-head .text-link, .platform-note, .table-toolbar {
  font-size: var(--fare-web-type-ui-size);
  line-height: var(--fare-web-type-ui-line-height);
}
.field-note, .pricing-note, .recent-table th, .data-table th, .data-table td .secondary,
.recent-table td > span.secondary, .sync-note, .terms, .site-footer, .auth-footer, .account-note,
.device-top, .offer-pickup, .offer-details, .offer-head > span:last-child, .assessment-head,
.rate-label, .assessment-numbers span, .basis-row, .basis-chip, .device-bottom,
.goal-chip-main > div, .example-foot, .progress-legend, .goal-panel-footer, .panel-kicker,
.avatar, .sidebar-note, .sidebar-foot > p, .device-title p, .stat-note, .price-history-note,
.preview-choice, .auth-example > div:first-child, .auth-example p, .password-wrap .text-link,
.account-topbar .small-copy, .rating, .rating-score, .privacy-note {
  font-size: var(--fare-web-type-meta-size);
  line-height: var(--fare-web-type-meta-line-height);
}
.eyebrow, .section-label, .form-step, .demo-caption, .step-num {
  font-size: var(--fare-web-type-eyebrow-size);
  line-height: var(--fare-web-type-eyebrow-line-height);
  letter-spacing: var(--fare-web-type-eyebrow-tracking);
  font-weight: var(--fare-web-type-eyebrow-weight);
  text-transform: uppercase;   /* the owner's eyebrow, produced by CSS and never by typing capitals */
}

/* ------------------------------------------------------------------ header and controls */
/* The drawn box is the owner's, to the pixel. The HIT area is the project's 48 px floor: the
   negative block margin gives the box back to the layout, so nothing moves and the logotype link
   is still a 48 px target (Design/Accessibility 1.3, AXW-16; Brand spec section 7). */
.brand {
  --brand-box-height: 2.6875rem;  /* 43px */
  width: 10.125rem;               /* 162px, the owner's box */
  max-width: 100%;
  height: auto;
  min-height: var(--fare-size-control-height);
  margin-block: calc((var(--brand-box-height) - var(--fare-size-control-height)) / 2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
/* One file at every placement; the box is the owner's, the ink is centred inside it. */
.brand img { display: block; width: 9.625rem; max-width: 100%; height: auto }   /* 154 wide */
.brand.small { width: 8.75rem; --brand-box-height: 2.375rem }         /* 140 x 38 */
.brand.small img { width: 8.375rem }                                  /* 134 wide */
.footer-brand img { width: 3.5625rem; height: auto }                  /* 57 wide */
.demo-route-line { stroke: var(--fare-border) }
.demo-route-dash { stroke: var(--fare-surface) }
.site-header {
  position: relative;
  min-height: 5.875rem;          /* 94px */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fare-space-xl);
  flex-wrap: wrap;
  border-bottom: var(--fare-border-width-hairline) solid var(--fare-border);
}
/* The DOM order is brand, toggle, navigation, actions; `order` puts the toggle where the owner
   drew it at the wide widths and beside the brand on a phone. */
.site-header > .brand { order: 0 }
.site-header .nav-links { order: 1 }
.site-header .nav-actions { order: 2 }
.site-header .menu-toggle { order: 3 }
.nav-links { display: flex; align-items: center; gap: var(--fare-space-xl) }
.nav-actions > a { display: inline-flex; align-items: center; justify-content: center; flex: none; white-space: nowrap; min-height: var(--fare-size-control-height); padding: 0 var(--fare-space-sm) }
.nav-links a, .site-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--fare-size-control-height);
}
.nav-links a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: var(--fare-space-xs) }
.nav-actions { display: flex; align-items: center; gap: var(--fare-space-lg); flex-wrap: wrap }
.f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--fare-space-md);
  min-height: var(--fare-size-control-height);
  max-width: 100%;               /* a label that grows with the text size wraps, it does not overflow */
  padding: var(--fare-space-md) var(--fare-space-xl);
  border: 0;
  border-radius: var(--fare-radius-sm);
  background: var(--fare-accent);
  color: var(--fare-on-accent);
  font-weight: var(--fare-web-type-eyebrow-weight);
  transition: background var(--fare-motion-duration-fast), transform var(--fare-motion-duration-fast);
}
.f-btn:hover { background: color-mix(in srgb, var(--fare-accent), var(--fare-surface) 12%); transform: translateY(-1px) }
/* Brand teal is a 2.37:1 boundary on white: it is allowed to fill a button only on a navy surface. */
.f-btn.teal { background: var(--fare-brand-teal); color: var(--fare-brand-navy-deep) }
.f-btn.teal:hover { background: color-mix(in srgb, var(--fare-brand-teal), var(--fare-brand-navy) 12%) }
.f-btn.outline {
  border: var(--fare-border-width-hairline) solid var(--fare-border-strong);
  background: transparent;
  color: var(--fare-accent);
}
.f-btn.outline:hover { background: var(--fare-accent-subtle) }
.f-btn.small { min-height: var(--fare-size-control-height-small); padding: var(--fare-space-sm) var(--fare-space-lg) }
.f-btn.full { width: 100% }
.f-btn svg { width: var(--fare-icon-sm); height: var(--fare-icon-sm) }
.text-link {
  font-weight: var(--fare-web-type-eyebrow-weight);
  color: var(--fare-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--fare-space-sm);
  min-height: var(--fare-size-control-height);
  border: 0;
  background: transparent;
  padding: 0;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--fare-size-icon-button);
  height: var(--fare-size-icon-button);
  border: var(--fare-border-width-hairline) solid var(--fare-border);
  background: var(--fare-surface);
  border-radius: var(--fare-radius-sm);
  padding: 0;
}

/* ------------------------------------------------------------------ hero */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: var(--fare-web-space-gutter-xl);
  padding: var(--fare-web-space-section-compact) 0;
  align-items: center;
}
.hero-copy .eyebrow { color: var(--fare-brand-teal-ink); margin-bottom: var(--fare-space-xl) }
.hero h1 { margin-bottom: var(--fare-space-xl) }
.hero h1 span { display: block }
.hero h1 .accent { color: var(--fare-brand-teal-ink) }
.hero-copy > p {
  color: var(--fare-text-secondary);
  max-width: 29rem;
  margin-bottom: var(--fare-space-xl);
}
.hero-ctas { display: flex; align-items: center; gap: var(--fare-space-xl); flex-wrap: wrap }
.platform-note {
  margin-top: var(--fare-space-xl);
  display: flex;
  align-items: center;
  gap: var(--fare-space-sm);
  color: var(--fare-text-secondary);
}
.platform-note svg { color: var(--fare-brand-teal-ink); width: var(--fare-icon-sm); height: var(--fare-icon-sm) }

/* The illustrative offer card. It is a stylised drawing, never a screenshot of the app. */
.hero-demo {
  position: relative;
  margin: 0;
  background: var(--fare-accent-subtle);
  border-radius: var(--fare-radius-lg);
  height: 35.125rem;             /* 562px */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.demo-route { position: absolute; width: 100%; height: 100%; inset: 0 }
.demo-caption {
  position: absolute;
  left: var(--fare-space-xl);
  top: var(--fare-space-xl);
  color: var(--fare-text-secondary);
}
.offer-window {
  position: relative;
  width: 18.375rem;              /* 294px */
  background: var(--fare-surface);
  border: var(--fare-space-xs) solid var(--fare-brand-navy);
  border-radius: var(--fare-radius-xl);
  box-shadow: var(--fare-web-shadow-raised);
  overflow: hidden;
  margin-top: var(--fare-space-lg);
}
.device-top {
  display: flex;
  justify-content: space-between;
  font-weight: var(--fare-web-type-eyebrow-weight);
  padding: var(--fare-space-md) var(--fare-space-lg);
  color: var(--fare-text-secondary);
}
.device-top > span:last-child { display: flex; gap: var(--fare-space-xs); align-items: center }
.device-top svg { height: var(--fare-icon-sm); width: var(--fare-icon-sm) }
.offer-app { padding: 0 var(--fare-space-lg) var(--fare-space-sm) }
.offer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--fare-space-md);
  font-weight: var(--fare-web-type-eyebrow-weight);
}
.offer-head > span:last-child { font-weight: var(--fare-web-type-body-weight); color: var(--fare-text-secondary) }
.offer-price { margin-bottom: var(--fare-space-sm) }
.offer-pickup { color: var(--fare-text-secondary) }
.offer-details {
  display: flex;
  gap: var(--fare-space-lg);
  padding-top: var(--fare-space-sm);
  margin-top: var(--fare-space-md);
  border-top: var(--fare-border-width-hairline) solid var(--fare-border);
}
.offer-details b { display: block; margin-bottom: var(--fare-space-xxs) }
.assessment {
  margin: 0 var(--fare-space-sm) var(--fare-space-md);
  background: var(--fare-brand-navy);
  color: var(--fare-on-navy-primary);
  border-radius: var(--fare-radius-md);
  padding: var(--fare-space-md) var(--fare-space-lg);
}
.assessment-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: var(--fare-space-sm);
}
/* The verdict chip. The ONLY element on the site inside a [data-verdict] subtree, so the only
   element that can resolve a verdict hue. Quality is carried by glyph + word + score; colour is
   decoration, and removing it loses no information (BC-WEB-09, BC-WEB-11 section 4). */
.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--fare-space-xs);
  min-height: var(--fare-size-tag-height);
  font-weight: var(--fare-web-type-eyebrow-weight);
  letter-spacing: 0.05em;
  border-radius: var(--fare-radius-xs);
  padding: var(--fare-space-xs) var(--fare-space-sm);
  background: var(--fare-verdict-unknown);
  color: var(--fare-verdict-unknown-on);
}
.rating svg { width: var(--fare-icon-sm); height: var(--fare-icon-sm) }
.rating-score { font-weight: var(--fare-web-type-eyebrow-weight); letter-spacing: 0 }
.rating.good { background: var(--fare-verdict-good); color: var(--fare-verdict-good-on) }
.rating.medium { background: var(--fare-verdict-medium); color: var(--fare-verdict-medium-on) }
.rating.poor { background: var(--fare-verdict-poor); color: var(--fare-verdict-poor-on) }
.rate span {
  font-weight: var(--fare-web-type-body-weight);
  letter-spacing: 0;
  color: var(--fare-on-navy-secondary);
  margin-left: var(--fare-space-xs);
}
.rate-label { color: var(--fare-on-navy-secondary); margin-top: var(--fare-space-xs) }
.assessment-numbers {
  display: flex;
  gap: var(--fare-space-xl);
  margin-top: var(--fare-space-md);
  padding-top: var(--fare-space-sm);
  border-top: var(--fare-border-width-hairline) solid var(--fare-rule-on-navy);
}
.assessment-numbers b { display: block; margin-bottom: var(--fare-space-xs) }
.assessment-numbers span { color: var(--fare-on-navy-secondary) }
.basis-row {
  display: flex;
  gap: var(--fare-space-sm);
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 var(--fare-space-sm);
  color: var(--fare-on-navy-secondary);
}
.basis-chip {
  flex: none;
  border: var(--fare-border-width-hairline) solid var(--fare-rule-on-navy);
  border-radius: var(--fare-radius-xs);
  padding: var(--fare-space-xxs) var(--fare-space-xs);
  font-weight: var(--fare-web-type-eyebrow-weight);
  color: var(--fare-on-navy-primary);
}
.device-bottom {
  padding: 0 var(--fare-space-xl) var(--fare-web-space-gutter-lg);
  text-align: center;
  color: var(--fare-text-secondary);
}
.goal-chip {
  position: absolute;
  bottom: var(--fare-space-sm);
  left: var(--fare-space-xl);
  right: var(--fare-space-xl);
  border: var(--fare-border-width-hairline) solid var(--fare-border);
  background: var(--fare-surface);
  box-shadow: var(--fare-web-shadow-raised);
  border-radius: var(--fare-radius-sm);
  padding: var(--fare-space-md) var(--fare-space-lg);
  display: flex;
  gap: var(--fare-space-lg);
  align-items: center;
}
.goal-chip-icon {
  background: var(--fare-accent-subtle);
  padding: var(--fare-space-sm);
  border-radius: var(--fare-radius-pill);
  color: var(--fare-brand-teal-ink);
}
.goal-chip-icon svg { height: var(--fare-icon-md); width: var(--fare-icon-md) }
.goal-chip-main { flex: 1 }
.goal-chip-main > div { display: flex; justify-content: space-between; gap: var(--fare-space-sm) }
.goal-chip-main b { white-space: nowrap }
.progress {
  height: var(--fare-space-xs);
  background: var(--fare-border);
  overflow: hidden;
  border-radius: var(--fare-radius-pill);
  margin-top: var(--fare-space-sm);
}
.progress > span {
  display: block;
  height: 100%;
  width: 65%;
  background: var(--fare-brand-teal-ink);
  border-radius: var(--fare-radius-pill);
}

/* ------------------------------------------------------------------ public sections */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--fare-web-space-gutter-md);
  padding: var(--fare-space-xl) 0;
  border-top: var(--fare-border-width-hairline) solid var(--fare-border);
  border-bottom: var(--fare-border-width-hairline) solid var(--fare-border);
}
.trust-row > div { display: flex; gap: var(--fare-space-md); align-items: center; color: var(--fare-text-secondary) }
.trust-row svg { color: var(--fare-brand-teal-ink); width: var(--fare-icon-md); height: var(--fare-icon-md); flex: none }
.section { padding: var(--wrap-section) 0 }
.section-head {
  display: flex;
  gap: var(--fare-web-space-gutter-xl);
  align-items: end;
  justify-content: space-between;
  margin-bottom: var(--fare-space-xxl);
}
.section-head h2, .target-story h2, .faq-intro h2 { max-width: 34.375rem }
.section-head .eyebrow { color: var(--fare-brand-teal-ink); margin-bottom: var(--fare-space-lg) }
.section-head > p { color: var(--fare-text-secondary); max-width: 22.8125rem }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--fare-web-space-gutter-md) }
.step-num {
  color: var(--fare-brand-teal-ink);
  padding-bottom: var(--fare-space-lg);
  border-bottom: var(--fare-border-width-strong) solid var(--fare-border);
  margin-bottom: var(--fare-space-xl);
}
.step h3 { margin-bottom: var(--fare-space-md) }
.step p { color: var(--fare-text-secondary) }
.target-section {
  background: var(--fare-brand-navy);
  color: var(--fare-on-navy-primary);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fare-web-space-gutter-xl);
  padding: var(--fare-web-space-gutter-lg);
  border-radius: var(--fare-radius-md);
  margin: 0 auto var(--fare-web-space-section-compact);
  align-items: center;
}
.target-story .eyebrow { color: var(--fare-brand-teal); margin-bottom: var(--fare-space-xl) }
.target-story h2 { margin-bottom: var(--fare-space-xl) }
.target-story p { color: var(--fare-on-navy-secondary); margin-bottom: var(--fare-space-xl) }
.target-example {
  background: var(--fare-surface);
  border-radius: var(--fare-radius-md);
  color: var(--fare-brand-navy);
  padding: var(--fare-space-xl);
}
.target-example .eyebrow { color: var(--fare-text-secondary); margin-bottom: var(--fare-space-lg) }
.target-example-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--fare-space-xl);
  padding: var(--fare-space-md) 0;
  border-bottom: var(--fare-border-width-hairline) solid var(--fare-border);
}
.target-result {
  background: var(--fare-accent-subtle);
  border-radius: var(--fare-radius-sm);
  padding: var(--fare-space-lg);
  margin-top: var(--fare-space-lg);
}
.target-result div { margin-bottom: var(--fare-space-sm) }
.target-result b span { font-weight: var(--fare-web-type-body-weight); letter-spacing: 0; color: var(--fare-text-secondary) }
.example-foot { color: var(--fare-text-secondary); margin-top: var(--fare-space-md) }
.faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--fare-web-space-gutter-xl);
  padding-bottom: var(--fare-web-space-section-compact);
}
.faq-intro .eyebrow { color: var(--fare-brand-teal-ink); margin-bottom: var(--fare-space-lg) }
.faq details { padding: var(--fare-space-xl) 0; border-top: var(--fare-border-width-hairline) solid var(--fare-border) }
.faq details:last-child { border-bottom: var(--fare-border-width-hairline) solid var(--fare-border) }
.faq summary {
  font-weight: var(--fare-web-type-eyebrow-weight);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fare-space-xl);
  min-height: var(--fare-size-control-height);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary span { font-weight: var(--fare-web-type-body-weight) }
.faq details[open] summary span { transform: rotate(45deg) }
.faq details p { color: var(--fare-text-secondary); padding-top: var(--fare-space-lg) }
.site-footer {
  border-top: var(--fare-border-width-hairline) solid var(--fare-border);
  padding: var(--fare-space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fare-space-xl);
  color: var(--fare-text-secondary);
  flex-wrap: wrap;
}
.site-footer-links { display: flex; gap: var(--fare-space-xl); align-items: center; flex-wrap: wrap }
/* A footer link must not be squeezed into a two-line 25 px target at 360 px (AXW-16). */
.site-footer-links a { white-space: nowrap; flex: none; justify-content: center; min-width: var(--fare-size-control-height) }
.footer-brand { display: inline-flex; align-items: center; min-height: var(--fare-size-control-height) }
.footer-brand img { display: block }
.colophon { color: var(--fare-text-secondary) }

/* ------------------------------------------------------------------ account entry (auth) */
.auth-header {
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fare-space-xl);
  border-bottom: var(--fare-border-width-hairline) solid var(--fare-border);
}
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 45.9375rem }
.auth-aside {
  padding: var(--fare-web-space-gutter-xl);
  background: var(--fare-accent-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-aside .eyebrow { color: var(--fare-brand-teal-ink); margin-bottom: var(--fare-space-xl) }
.auth-aside-title { max-width: 24.375rem; margin: 0 }
.auth-aside > p { color: var(--fare-text-secondary); margin-top: var(--fare-space-xl); max-width: 22.8125rem }
.auth-benefits { display: grid; gap: var(--fare-space-lg); margin-top: var(--fare-space-xxl) }
.auth-benefits > div { display: flex; gap: var(--fare-space-md); align-items: center; color: var(--fare-text-primary) }
.auth-benefits svg { height: var(--fare-icon-md); width: var(--fare-icon-md); color: var(--fare-brand-teal-ink) }
.auth-example {
  background: var(--fare-surface);
  border: var(--fare-border-width-hairline) solid var(--fare-border);
  border-radius: var(--fare-radius-md);
  padding: var(--fare-space-xl);
  margin-top: var(--fare-space-xxl);
  max-width: 23.125rem;
}
.auth-example > div:first-child { display: flex; justify-content: space-between; gap: var(--fare-space-sm); color: var(--fare-text-secondary) }
.auth-example-number { margin-top: var(--fare-space-lg) }
.auth-example > span { font-weight: var(--fare-web-type-body-weight); color: var(--fare-text-secondary); letter-spacing: 0 }
.auth-example p { color: var(--fare-text-secondary); margin-top: var(--fare-space-md) }
.auth-content { padding: var(--fare-web-space-gutter-lg); display: flex; align-items: center; justify-content: center }
.auth-form { width: 100%; max-width: var(--fare-web-max-width-form) }
.form-step { color: var(--fare-brand-teal-ink); margin-bottom: var(--fare-space-md) }
.auth-form h1 { margin-bottom: var(--fare-space-md) }
.form-intro { color: var(--fare-text-secondary); margin-bottom: var(--fare-space-xl) }
.form-field { margin-bottom: var(--fare-space-xl); min-width: 0 }
.form-field > label { font-weight: var(--fare-web-type-eyebrow-weight); display: block; margin-bottom: var(--fare-space-sm) }
.form-field input, .form-field select, .search-form input {
  display: block;
  width: 100%;
  min-width: 0;
  height: var(--fare-size-input-height);
  padding: var(--fare-space-md) var(--fare-space-lg);
  background: var(--fare-surface);
  border: var(--fare-border-width-hairline) solid var(--fare-border-strong);
  border-radius: var(--fare-radius-sm);
  color: var(--fare-text-primary);
}
.form-field input[readonly], .form-field input:disabled { background: var(--fare-accent-subtle); color: var(--fare-text-secondary) }
.form-field input[aria-invalid="true"] { border-color: var(--fare-feedback-error); border-width: var(--fare-border-width-strong) }
.field-note { color: var(--fare-text-secondary); margin-top: var(--fare-space-xs) }
.password-field, .password-wrap { position: relative }
.password-field input, .password-wrap input { padding-right: var(--fare-web-space-gutter-lg) }
.password-toggle, .password-wrap .text-link {
  position: absolute;
  right: var(--fare-space-xxs);
  top: var(--fare-space-xxs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--fare-size-control-height);
  min-height: var(--fare-size-control-height);
  padding: 0 var(--fare-space-md);
  border: 0;
  background: transparent;
  color: var(--fare-brand-teal-ink);
  font-weight: var(--fare-web-type-eyebrow-weight);
}
.terms { color: var(--fare-text-secondary); margin: var(--fare-space-lg) 0 }
.terms a { color: var(--fare-accent); text-decoration: underline }
.form-alt { text-align: center; color: var(--fare-text-secondary); margin-top: var(--fare-space-xl) }
.form-alt a, .form-footer a { font-weight: var(--fare-web-type-eyebrow-weight); color: var(--fare-accent) }
.form-forgot { display: flex; justify-content: flex-end; margin-bottom: var(--fare-space-xl) }
.form-footer { color: var(--fare-text-secondary); margin-top: var(--fare-space-xl) }
.notice {
  border-radius: var(--fare-radius-md);
  padding: var(--fare-space-lg);
  background: var(--fare-accent-subtle);
  border: var(--fare-border-width-hairline) solid var(--fare-border);
  color: var(--fare-text-primary);
  margin: 0 0 var(--fare-space-xl);
  display: flex;
  gap: var(--fare-space-md);
  align-items: flex-start;
}
.notice > svg { flex: none; width: var(--fare-icon-md); height: var(--fare-icon-md); margin-top: var(--fare-space-xxs) }
.notice > div { flex: 1 }
.notice a { text-decoration: underline; font-weight: var(--fare-web-type-eyebrow-weight) }
.notice.error {
  color: var(--fare-feedback-error);
  background: color-mix(in srgb, var(--fare-feedback-error) 8%, var(--fare-surface));
  border-color: var(--fare-feedback-error);
}
.notice.warning {
  color: var(--fare-feedback-warning);
  background: color-mix(in srgb, var(--fare-feedback-warning) 8%, var(--fare-surface));
  border-color: var(--fare-feedback-warning);
}
.notice-icon {
  width: var(--fare-web-space-gutter-lg);
  height: var(--fare-web-space-gutter-lg);
  border-radius: var(--fare-radius-md);
  background: var(--fare-accent-subtle);
  color: var(--fare-brand-teal-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--fare-space-xl);
}
.notice-icon svg { height: var(--fare-icon-xl); width: var(--fare-icon-xl) }
.preview-choice {
  border-top: var(--fare-border-width-hairline) solid var(--fare-border);
  padding-top: var(--fare-space-xl);
  margin-top: var(--fare-space-xl);
  color: var(--fare-text-secondary);
}
.preview-choice button { margin-top: var(--fare-space-sm); width: 100% }
.auth-footer {
  padding: var(--fare-space-xl) var(--fare-web-space-gutter-md);
  color: var(--fare-text-secondary);
  display: flex;
  justify-content: space-between;
  gap: var(--fare-space-lg);
  border-top: var(--fare-border-width-hairline) solid var(--fare-border);
}

/* ------------------------------------------------------------------ account workspace */
.account-shell {
  display: grid;
  grid-template-columns: 13.875rem minmax(0, 1fr);
  min-height: 100vh;
  background: var(--fare-background);
  min-width: 0;
}
.sidebar {
  background: var(--fare-surface);
  border-right: var(--fare-border-width-hairline) solid var(--fare-border);
  padding: var(--fare-space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--fare-space-xxl);
  min-width: 0;
}
.sidebar-nav { display: grid; gap: var(--fare-space-sm); min-width: 0; max-width: 100% }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: var(--fare-space-md);
  min-height: var(--fare-size-control-height);
  padding: var(--fare-space-md) var(--fare-space-lg);
  border-radius: var(--fare-radius-sm);
  color: var(--fare-text-secondary);
  white-space: nowrap;
}
.sidebar-nav a.active {
  background: var(--fare-accent-subtle);
  color: var(--fare-accent);
  font-weight: var(--fare-web-type-eyebrow-weight);
  border-left: var(--fare-space-xxs) solid var(--fare-accent);
}
.sidebar-nav svg { width: var(--fare-icon-md); height: var(--fare-icon-md); flex: none }
.sidebar-foot, .sidebar-bottom {
  margin-top: auto;
  border-top: var(--fare-border-width-hairline) solid var(--fare-border);
  padding-top: var(--fare-space-xl);
  display: grid;
  gap: var(--fare-space-md);
  justify-items: start;
}
.sidebar-foot .text-link { font-weight: var(--fare-web-type-body-weight); color: var(--fare-text-secondary) }
.sidebar-foot a, .sidebar-bottom a { display: inline-flex; align-items: center; min-height: var(--fare-size-control-height) }
.sidebar-foot > p, .sidebar-note { color: var(--fare-text-secondary) }
.account-main { min-width: 0 }
.account-topbar {
  min-height: 5rem;
  background: var(--fare-surface);
  border-bottom: var(--fare-border-width-hairline) solid var(--fare-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fare-space-xl);
  padding: var(--fare-space-lg) var(--fare-web-space-gutter-md);
}
.account-topbar > div { display: flex; gap: var(--fare-space-md); align-items: center }
.top-signout { min-width: var(--fare-size-control-height); justify-content: center }
.account-topbar .account-identity { max-width: 50%; overflow: hidden }
.account-identity strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.avatar {
  height: var(--fare-space-xxl);
  width: var(--fare-space-xxl);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fare-accent);
  color: var(--fare-on-accent);
  font-weight: var(--fare-web-type-eyebrow-weight);
  flex: none;
}
.account-content {
  padding: var(--fare-web-space-gutter-md);
  max-width: var(--fare-web-max-width-content);
  margin: 0 auto;
  min-width: 0;
}
.account-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fare-space-xl);
  margin-bottom: var(--fare-space-xxl);
}
.account-heading h1 { margin-bottom: var(--fare-space-sm) }
.account-heading p { color: var(--fare-text-secondary) }
.sync-note { color: var(--fare-text-secondary); display: flex; gap: var(--fare-space-sm); align-items: center }
.sync-note svg { width: var(--fare-icon-sm); height: var(--fare-icon-sm); color: var(--fare-brand-teal-ink) }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--fare-space-xl) }
.panel {
  border: var(--fare-border-width-hairline) solid var(--fare-border);
  border-radius: var(--fare-radius-md);
  background: var(--fare-surface);
  box-shadow: var(--fare-web-shadow-card);
  padding: var(--fare-space-xl);
  min-width: 0;
}
.panel h2 { margin-bottom: var(--fare-space-sm) }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: var(--fare-space-lg); margin-bottom: var(--fare-space-xl) }
.panel-head .text-link { color: var(--fare-brand-teal-ink) }
.panel-kicker { color: var(--fare-text-secondary); margin: var(--fare-space-xl) 0 var(--fare-space-sm) }
.goal-values { display: flex; justify-content: space-between; align-items: baseline; gap: var(--fare-space-lg) }
.goal-total { color: var(--fare-text-secondary) }
.goal-total strong { color: var(--fare-brand-navy) }
.goal-panel .progress { height: var(--fare-space-sm); margin: var(--fare-space-xl) 0 var(--fare-space-md) }
.progress-legend { display: flex; justify-content: space-between; gap: var(--fare-space-sm); color: var(--fare-text-secondary) }
.goal-panel-footer {
  margin-top: var(--fare-space-xl);
  border-top: var(--fare-border-width-hairline) solid var(--fare-border);
  padding-top: var(--fare-space-lg);
  display: flex;
  gap: var(--fare-space-sm);
  align-items: flex-start;
  color: var(--fare-text-secondary);
}
.goal-panel-footer svg { width: var(--fare-icon-sm); height: var(--fare-icon-sm); flex: none }
.pace-panel { background: var(--fare-brand-navy); border-color: var(--fare-brand-navy); color: var(--fare-on-navy-primary) }
.pace-panel .eyebrow { color: var(--fare-brand-teal) }
.pace-number { margin: var(--fare-space-xl) 0 var(--fare-space-sm) }
.pace-number > span { font-weight: var(--fare-web-type-body-weight); color: var(--fare-on-navy-secondary); letter-spacing: 0 }
.pace-label, .pace-sub { color: var(--fare-on-navy-secondary) }
.pace-sub {
  padding-top: var(--fare-space-lg);
  margin-top: var(--fare-space-xl);
  border-top: var(--fare-border-width-hairline) solid var(--fare-rule-on-navy);
}
.pace-sub strong { color: var(--fare-on-navy-primary) }
.pace-panel .text-link { color: var(--fare-brand-teal); margin-top: var(--fare-space-lg) }
.account-second-row { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--fare-space-xl); margin-top: var(--fare-space-xl) }
.recent-panel { padding-bottom: var(--fare-space-sm) }
.recent-panel .panel-head { margin-bottom: var(--fare-space-sm) }
.recent-table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed }
.recent-table th {
  color: var(--fare-text-secondary);
  font-weight: var(--fare-web-type-title-weight);
  padding: var(--fare-space-lg) 0 var(--fare-space-md);
  border-bottom: var(--fare-border-width-hairline) solid var(--fare-border);
}
.recent-table td { padding: var(--fare-space-lg) 0; border-bottom: var(--fare-border-width-hairline) solid var(--fare-border) }
.recent-table tr:last-child td { border-bottom: 0 }
.recent-table th:first-child { width: 31% }
.recent-table th:nth-child(2) { width: 22% }
.recent-table th:nth-child(3) { width: 22% }
.recent-table td > span.secondary { display: block; margin-top: var(--fare-space-xs); color: var(--fare-text-secondary) }
.recent-table td:last-child { text-align: right }
.device-title { display: flex; gap: var(--fare-space-md); align-items: center; margin: var(--fare-space-xl) 0 var(--fare-space-lg) }
.device-title > div:first-child {
  width: var(--fare-space-xxl);
  height: var(--fare-web-space-gutter-sm);
  display: grid;
  place-items: center;
  background: var(--fare-accent-subtle);
  color: var(--fare-brand-teal-ink);
  border-radius: var(--fare-radius-sm);
}
.device-title svg { width: var(--fare-icon-md); height: var(--fare-icon-md) }
.device-title strong { display: block; margin-bottom: var(--fare-space-xs) }
.device-title p { color: var(--fare-text-secondary) }
.device-panel > p { color: var(--fare-text-secondary); margin-bottom: var(--fare-space-xl) }
.device-panel .text-link { color: var(--fare-brand-teal-ink) }
.account-note { color: var(--fare-text-secondary); margin: var(--fare-space-lg) 0 }
.empty-state { padding: var(--fare-web-space-gutter-lg) var(--fare-space-xl); text-align: center }
.empty-state svg { height: var(--fare-icon-xl); width: var(--fare-icon-xl); margin: 0 auto var(--fare-space-lg); color: var(--fare-brand-teal-ink) }
.empty-state p { color: var(--fare-text-secondary); max-width: 25rem; margin: var(--fare-space-md) auto var(--fare-space-xl) }
.settings-panel { max-width: var(--fare-web-max-width-panel) }
.settings-panel .form-field { margin-top: var(--fare-space-xl) }
.settings-panel > p { color: var(--fare-text-secondary); margin-bottom: var(--fare-space-xl) }
.settings-actions {
  display: flex;
  align-items: center;
  gap: var(--fare-space-lg);
  flex-wrap: wrap;
  border-top: var(--fare-border-width-hairline) solid var(--fare-border);
  padding-top: var(--fare-space-xl);
  margin-top: var(--fare-space-xl);
}
.settings-actions > span { color: var(--fare-text-secondary) }
.connection-detail {
  display: flex;
  justify-content: space-between;
  gap: var(--fare-space-xl);
  padding: var(--fare-space-lg) 0;
  border-bottom: var(--fare-border-width-hairline) solid var(--fare-border);
}
.connection-detail > span { color: var(--fare-text-secondary) }
.connection-detail > strong { font-weight: var(--fare-web-type-body-weight); text-align: right }
.connection-note {
  margin-top: var(--fare-space-xl);
  padding: var(--fare-space-lg);
  border-radius: var(--fare-radius-sm);
  background: var(--fare-accent-subtle);
  color: var(--fare-text-secondary);
}

/* ------------------------------------------------------------------ dialog and toast
 * Both sit outside .canvas (a container query cannot reach them), so they are sized
 * intrinsically rather than by a breakpoint: one padding, one width formula, every width. */
dialog {
  border: var(--fare-border-width-hairline) solid var(--fare-border);
  border-radius: var(--fare-radius-lg);
  width: min(36.25rem, calc(100% - 2 * var(--fare-space-lg)));
  padding: var(--fare-space-xl);
  color: var(--fare-brand-navy);
  background: var(--fare-surface);
  max-height: calc(100vh - 2 * var(--fare-space-xl));
  overflow-y: auto;
}
dialog::backdrop { background: color-mix(in srgb, var(--fare-overlay-scrim) 55%, transparent) }
dialog h2 { margin: 0 0 var(--fare-space-md); padding-right: var(--fare-web-space-gutter-md) }
dialog p { color: var(--fare-text-secondary); margin-bottom: var(--fare-space-xl) }
dialog .dialog-top { display: flex; justify-content: space-between; gap: var(--fare-space-lg); align-items: start; margin-bottom: var(--fare-space-md) }
.dialog-close {
  position: absolute;
  right: var(--fare-space-md);
  top: var(--fare-space-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--fare-size-icon-button);
  height: var(--fare-size-icon-button);
  background: transparent;
  border: 0;
  border-radius: var(--fare-radius-sm);
  padding: 0;
}
.dialog-intro { color: var(--fare-text-secondary); margin-bottom: var(--fare-space-xl) }
.dialog-actions { display: flex; gap: var(--fare-space-md); justify-content: flex-end; margin-top: var(--fare-space-xl); flex-wrap: wrap }
.dialog-actions .f-btn { flex: 1 1 auto; justify-content: center }
.toast {
  position: fixed;
  bottom: var(--fare-space-xl);
  left: 50%;
  transform: translateX(-50%);
  background: var(--fare-brand-navy);
  color: var(--fare-on-navy-primary);
  padding: var(--fare-space-md) var(--fare-space-xl);
  border-radius: var(--fare-radius-sm);
  box-shadow: var(--fare-web-shadow-highest);
  z-index: 150;
  max-width: calc(100vw - 2 * var(--fare-space-lg));
  text-align: center;
}
.toast:empty { display: none }
.state-banner { margin-bottom: var(--fare-space-xl) }
.state-loading {
  min-height: 13.125rem;
  background: var(--fare-accent-subtle);
  border-radius: var(--fare-radius-sm);
  padding: var(--fare-space-xl);
  color: var(--fare-text-secondary);
}
.state-tabs { display: flex; gap: var(--fare-space-sm); flex-wrap: wrap; margin-top: var(--fare-space-lg) }

/* ------------------------------------------------------------------ breakpoints
 * One system, four bands, all container queries on .canvas. There is no @media below except
 * prefers-reduced-motion and forced-colors. The 768 px band no longer hides the account entry
 * point: .nav-links collapses into the menu and the account control only shrinks (AXW-03). */
@container site (min-width: 1200px) {
  .hero-demo { height: 36.875rem }
  .offer-window { width: 19.375rem }
  .assessment { padding: var(--fare-space-lg) }
  .hero { gap: var(--fare-web-space-gutter-xl) }
}
@container site (max-width: 1199px) {
  .canvas { --wrap-gutter: var(--fare-web-space-gutter-lg) }
  .hero h1 {
    font-size: var(--fare-web-type-display2-size);
    line-height: var(--fare-web-type-display2-line-height);
    letter-spacing: var(--fare-web-type-display2-tracking);
  }
  .auth-aside-title, .target-story h2 {
    font-size: var(--fare-web-type-display3-size);
    line-height: var(--fare-web-type-display3-line-height);
    letter-spacing: var(--fare-web-type-display3-tracking);
  }
  .hero { gap: var(--fare-web-space-gutter-md); padding-top: var(--fare-web-space-gutter-lg) }
  .hero-demo { height: 33.875rem }
  .hero-ctas { gap: var(--fare-space-lg) }
  .auth-aside, .auth-content { padding: var(--fare-web-space-gutter-md) }
  .sidebar { padding: var(--fare-space-lg) }
  .account-shell { grid-template-columns: 12.0625rem minmax(0, 1fr) }
  .account-content, .account-topbar { padding: var(--fare-space-xl) }
  .dashboard-columns, .account-second-row { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--fare-space-lg) }
  .panel { padding: var(--fare-space-lg) }
  .goal-values { flex-wrap: wrap; gap: var(--fare-space-md) }
  .recent-table th:first-child { width: 29% }
  .target-section { gap: var(--fare-web-space-gutter-md); padding: var(--fare-web-space-gutter-md) }
  .faq { gap: var(--fare-web-space-gutter-lg) }
}
@container site (max-width: 1023px) {
  .canvas { --wrap-gutter: var(--fare-web-space-gutter-md); --wrap-section: var(--fare-web-space-section-compact) }
  .hero h1, .section-head h2, .target-story h2, .faq-intro h2, .page-intro h1, .page-intro h2,
  .auth-aside-title {
    font-size: var(--fare-web-type-headline1-size);
    line-height: var(--fare-web-type-headline1-line-height);
    letter-spacing: var(--fare-web-type-headline1-tracking);
  }
  .hero-copy > p, .section-head > p, .auth-aside > p, .page-intro p {
    font-size: var(--fare-web-type-body-size);
    line-height: var(--fare-web-type-body-line-height);
  }
  .site-header { min-height: 4.875rem; gap: var(--fare-space-lg) }
  .site-header .nav-links { display: none }
  .site-header .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--fare-surface);
    z-index: 10;
    padding: var(--fare-space-lg);
    box-shadow: var(--fare-web-shadow-raised);
    flex-direction: column;
    align-items: flex-start;
    border-bottom: var(--fare-border-width-hairline) solid var(--fare-border);
  }
  .menu-toggle { display: inline-flex }
  .nav-actions { gap: var(--fare-space-md) }
  .brand { width: 9.125rem; --brand-box-height: 2.4375rem }
  .site-header .brand img { width: 8.6875rem }                        /* 139 wide */
  .hero { grid-template-columns: 1fr 1fr; gap: var(--fare-space-xl); padding: var(--fare-web-space-gutter-md) 0 }
  .hero-demo { height: 32.5rem }
  .offer-window { width: 16.4375rem }
  .goal-chip { left: var(--fare-space-md); right: var(--fare-space-md); padding: var(--fare-space-md) }
  .goal-chip-icon { display: none }
  .trust-row { gap: var(--fare-space-lg) }
  .trust-row > div { align-items: start }
  .section-head { display: block }
  .section-head > p { margin-top: var(--fare-space-lg); max-width: 31.25rem }
  .steps { gap: var(--fare-space-xl) }
  .target-section { padding: var(--fare-space-xxl); gap: var(--fare-space-xl) }
  .target-example { padding: var(--fare-space-xl) }
  .faq { gap: var(--fare-web-space-gutter-md) }
  .auth-page, .auth-grid { grid-template-columns: 1fr }
  .auth-aside { padding: var(--fare-web-space-gutter-sm) }
  .auth-example, .auth-benefits { display: none }
  .account-shell { display: block }
  .sidebar {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: var(--fare-border-width-hairline) solid var(--fare-border);
    padding: var(--fare-space-lg) var(--fare-space-xl);
    gap: var(--fare-space-md);
  }
  .sidebar .brand { width: 8.8125rem; --brand-box-height: 2.375rem; margin-inline: 0 }   /* 141 x 38: the 134 wordmark plus clear space */
  .sidebar-nav {
    display: flex;
    gap: var(--fare-space-xs);
    flex-basis: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding-top: var(--fare-space-sm);
  }
  .sidebar-foot, .sidebar-bottom { display: none }
  .account-topbar { min-height: 0; padding: var(--fare-space-md) var(--fare-space-xl) }
  .account-topbar .top-signout { display: inline-flex }
  .dashboard-columns, .account-second-row { grid-template-columns: minmax(0, 1fr) }
  .pace-panel { display: block }
  .account-second-row .device-panel { display: block }
}
@container site (max-width: 767px) {
  .canvas { --wrap-gutter: var(--fare-web-space-gutter-sm) }
  /* Two rows instead of a hidden control: brand and menu on the first, the account entry point
     on the second. Nothing leaves the header and nothing leaves the viewport. */
  .site-header { min-height: 0; padding: var(--fare-space-md) 0; gap: var(--fare-space-md) }
  .site-header .menu-toggle { order: 0 }
  .site-header .nav-actions { flex-basis: 100%; justify-content: flex-start }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: var(--fare-space-xxl) }
  .hero-demo { height: 33.875rem; border-radius: var(--fare-radius-md) }
  .offer-window { width: 17.25rem }
  .demo-caption { left: var(--fare-space-lg); top: var(--fare-space-lg) }
  .site-header .brand { width: 8.75rem; --brand-box-height: 2.375rem }
  .site-header .brand img { width: 8.375rem }                         /* 134 wide */
  .goal-chip { left: var(--fare-space-lg); right: var(--fare-space-lg) }
  .goal-chip-icon { display: block; padding: var(--fare-space-xs) }
  .trust-row { grid-template-columns: 1fr; padding: var(--fare-space-xl) 0; gap: var(--fare-space-lg) }
  .trust-row > div { align-items: center }
  .steps { grid-template-columns: 1fr }
  .target-section { display: block; width: calc(100% - 2 * var(--wrap-gutter)); padding: var(--fare-space-xl) }
  .target-example { margin-top: var(--fare-space-xl) }
  .faq { grid-template-columns: 1fr }
  .site-footer { align-items: flex-start }
  .site-footer > p { flex-basis: 100%; order: 3 }
  .auth-header { min-height: 4.75rem }
  .auth-content { padding: var(--fare-space-xl) var(--fare-web-space-gutter-sm) }
  .auth-form { max-width: 30rem }
  .form-grid.preferences { grid-template-columns: 1fr }
  .account-content { padding: var(--fare-space-xl) var(--fare-web-space-gutter-sm) }
  .account-topbar { padding: var(--fare-space-md) var(--fare-web-space-gutter-sm) }
  .account-topbar .small-copy { display: none }
  .account-topbar .account-identity { max-width: 70% }
  .account-heading { display: block }
  .account-heading > .f-btn, .account-heading > .inline-actions { margin-top: var(--fare-space-lg) }
  .sidebar { flex-direction: column; align-items: stretch; padding: var(--fare-space-lg) var(--fare-web-space-gutter-sm) }
  .sidebar-nav { flex-basis: auto }
  .recent-table th:first-child { width: 26% }
  .recent-table th:nth-child(2) { width: 21% }
  .recent-table th:nth-child(3) { width: 24% }
  .connection-detail > strong { max-width: 10.625rem }
}

/* The only @media rules on the site. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
  .f-btn:hover { transform: none }
}
@media (forced-colors: active) {
  .f-btn, .badge, .rating { forced-color-adjust: none }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
  summary:focus-visible, [tabindex]:focus-visible { outline-color: Highlight }
}
