@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:400 800;font-display:swap;src:url("/fonts/plus-jakarta-sans-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}
/* ShyPay marketing site styles */

:root {
  --accent: #2447D9;
  --accent-ring: #C7D2FE;
  --accent-tint: #E8EDFF;
  --accent-dark-text: #1E2A78;
  --ink: #0B0C10;
  --body-text: #4B5563;
  --muted: #5A6170;
  --border: #E5E7EB;
  --border-dark: #2A2C34;
  --panel: #F7F8FA;
  --bad: #B42318;
  --dark-bg: #0B0C10;
  --dark-body: #C3C6CF;
  --dark-eyebrow: #A5B4FC;
  --white: #FFFFFF;
  --max-width: 1280px;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--ink);
}

h1, h2, h3 {
  font-family: var(--font-sans);
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Scroll margin for anchor targets under sticky header */
section[id],
main[id] {
  scroll-margin-top: 88px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.primary-nav a {
  text-decoration: none;
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-header {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  border-radius: 8px;
}

.nav-toggle:hover {
  background: var(--panel);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 10px 4px;
  font-size: 16px;
  font-weight: 500;
}

.mobile-nav .btn {
  margin-top: 8px;
  justify-content: center;
}

.mobile-nav[hidden] {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: none;
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  }
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: #1c39ad;
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.btn-dark:hover {
  background: #24262e;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: #D1D5DB;
}

.btn-outline:hover {
  background: var(--panel);
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-1px);
  }
}

/* Layout sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px;
}

.section-border {
  border-top: 1px solid var(--border);
}

.section-inset {
  margin: 0 20px 0;
  border-radius: 20px;
  padding: 40px 24px;
}

@media (min-width: 1024px) {
  .section-inset {
    margin: 0 auto;
    max-width: calc(var(--max-width) + 160px);
    padding: 80px 72px;
  }
}

.section-dark {
  background: var(--dark-bg);
  color: var(--white);
}

.section-card {
  background: var(--white);
  border: 1px solid var(--border);
}

.eyebrow-pill {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--accent-ring);
  border-radius: 999px;
  background: var(--accent-tint);
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow-on-dark {
  color: var(--dark-eyebrow);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero h1 {
  font-size: 34px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 17px;
  line-height: 1.5;
  color: var(--body-text);
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-ctas .btn {
  justify-content: center;
}

.fine-print {
  font-size: 13px;
  color: var(--muted);
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: 300px;
  max-width: 100%;
  aspect-ratio: 300 / 560;
  box-sizing: border-box;
  border-radius: 40px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 24px 48px rgba(11, 12, 16, 0.2);
}

.phone-screen {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 32px;
  background: var(--white);
  padding: 22px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  color: var(--ink);
}

.phone-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-brand {
  font-size: 18px;
  font-weight: 700;
}

.phone-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--body-text);
}

.phone-balance {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-balance-label {
  font-size: 13px;
  color: var(--muted);
}

.phone-balance-amount {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.phone-balance-unit {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}

.phone-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.phone-action,
.phone-action-primary {
  height: 58px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.phone-action-primary {
  border: 0;
  background: var(--accent);
  color: var(--white);
}

.phone-actions-row {
  display: flex;
  gap: 6px;
}

.phone-action-secondary {
  flex-grow: 1;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: default;
}

.phone-activity {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.phone-activity-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 6px;
}

.phone-activity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.phone-activity-desc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-activity-title {
  font-weight: 600;
}

.phone-activity-sub {
  font-size: 11px;
  color: var(--muted);
}

.phone-activity-amount {
  font-weight: 600;
}

.phone-activity-amount-accent {
  color: var(--accent);
}

/* Section heads */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-head-note {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body-text);
  max-width: 560px;
}

.section-head-single {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head-single h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-head-single p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body-text);
}

/* Grids and cards */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  box-sizing: border-box;
  padding: 24px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--body-text);
}

.card-step {
  gap: 8px;
}

.step-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.card-dark {
  background: transparent;
  border: 1px solid var(--border-dark);
  gap: 8px;
}

.card-dark h3 {
  color: var(--white);
  font-size: 16px;
}

.card-dark p {
  color: var(--dark-body);
  font-size: 14px;
}

.checks-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.checks-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checks-intro h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--white);
}

.on-dark-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--dark-body);
}

.card-compare {
  padding: 24px;
  border-radius: 16px;
  gap: 16px;
}

.card-compare-bad {
  background: var(--panel);
  border: 1px solid var(--border);
}

.card-compare-good {
  background: var(--accent-tint);
  border: 1px solid var(--accent-ring);
}

.card-compare h3 {
  font-size: 18px;
  font-weight: 700;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.check-list li {
  display: flex;
  gap: 10px;
}

.check-list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.card-compare-bad .check-list span {
  color: var(--body-text);
}

.card-compare-good .check-list span {
  color: var(--accent-dark-text);
}

.hr-light {
  height: 1px;
  background: var(--accent-ring);
}

.card-compare-note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--accent-dark-text);
}

.section-footnote {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 760px;
}

/* Self-custody */
.keys-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.keys-visual {
  box-sizing: border-box;
  border-radius: 20px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.wallet-card {
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 20px 40px rgba(11, 12, 16, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.wallet-balance {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wallet-balance-caption {
  font-size: 13px;
  color: var(--muted);
}

.wallet-balance-amount {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.wallet-balance-unit {
  font-size: 16px;
  color: var(--muted);
}

.wallet-buttons {
  display: flex;
  gap: 10px;
}

.wallet-btn-primary,
.wallet-btn-secondary {
  flex-grow: 1;
  height: 44px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: default;
}

.wallet-btn-primary {
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.wallet-btn-secondary {
  border: 1px solid #D1D5DB;
  background: transparent;
  color: var(--ink);
}

.wallet-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.wallet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.wallet-row-last {
  border-bottom: 0;
}

.wallet-row span:first-child {
  color: var(--muted);
}

.wallet-row-value {
  font-weight: 600;
}

.wallet-row-link {
  font-weight: 600;
  text-decoration: none;
}

.keys-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.keys-copy h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.keys-copy > p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body-text);
}

.dot-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body-text);
}

.dot-list li {
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
  display: inline-block;
}

.dot-list strong {
  color: var(--ink);
  font-weight: 700;
}

/* Support */
.support-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.support-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-intro h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.support-intro p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body-text);
}

.support-intro .btn {
  align-self: flex-start;
}

.support-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.support-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.support-row-last {
  border-bottom: 0;
}

.support-row-q {
  font-size: 15px;
  font-weight: 700;
}

.support-row-a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-text);
}

/* Get the app */
.get-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.get-section h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 700px;
}

.get-section .lead {
  max-width: 520px;
  margin: 0 auto;
}

.store-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
}

.store-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 999px;
  background: var(--border);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: not-allowed;
  user-select: none;
}

/* Footer */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-size: 14px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-heading {
  font-weight: 700;
  color: var(--ink);
}

.footer-nav-col a {
  text-decoration: none;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Tablet breakpoint ===== */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }

  .section-head h2,
  .section-head-single h2,
  .checks-intro h2,
  .keys-copy h2 {
    font-size: 34px;
  }

  .get-section h2 {
    font-size: 40px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-badges {
    flex-direction: row;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-nav {
    gap: 48px;
  }
}

/* ===== Desktop breakpoint (matches Main.dc.html) ===== */
@media (min-width: 1024px) {
  .header-inner {
    height: 88px;
    padding: 0 40px;
  }

  .primary-nav {
    display: flex;
  }

  .btn-header {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .section {
    padding: 64px 40px;
  }

  .section-inset {
    padding: 80px 72px;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    gap: 64px;
    padding: 72px 40px 64px;
  }

  .hero-copy {
    flex: 1;
    gap: 28px;
  }

  .hero h1 {
    font-size: 58px;
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  .lead {
    font-size: 19px;
    max-width: 540px;
  }

  .hero-ctas {
    flex-direction: row;
    align-items: center;
  }

  .hero-ctas .btn {
    height: 52px;
    justify-content: flex-start;
  }

  .phone-wrap {
    flex: 1;
  }

  .section-head,
  .checks-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
  }

  .checks-grid {
    align-items: flex-start;
  }

  .checks-grid > .grid-2 {
    flex: 1;
  }

  .checks-intro {
    max-width: 420px;
    flex-shrink: 0;
  }

  .section-head h2 {
    font-size: 40px;
    max-width: 600px;
  }

  .section-head-single h2,
  .keys-copy h2 {
    font-size: 40px;
  }

  .checks-intro h2 {
    font-size: 40px;
  }

  .get-section h2 {
    font-size: 48px;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .keys-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
  }

  .support-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }

  .support-intro {
    flex: 5;
  }

  .support-table {
    flex: 7;
  }

  .card {
    padding: 32px;
    min-height: 280px;
  }

  .card-compare {
    padding: 36px;
  }
}

/* ==========================================================================
   Multi-page site: shared components
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Static mockup elements (formerly buttons, now inert spans) */
.phone-action,
.phone-action-primary,
.phone-action-secondary,
.wallet-btn-primary,
.wallet-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.phone-action,
.phone-action-primary {
  flex-direction: column;
  gap: 4px;
}

.mockup-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  max-width: 300px;
}

.phone-wrap {
  flex-direction: column;
  align-items: center;
}

/* Active nav state */
.primary-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.primary-nav a[aria-current="page"] {
  position: relative;
}

.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 2px;
  background: var(--accent);
}

/* Breadcrumbs */
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 20px 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #6B7280;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* Page hero (interior pages) */
.page-hero {
  padding-top: 32px;
  padding-bottom: 8px;
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.page-hero h1 {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-hero .lead {
  max-width: 680px;
}

/* Buttons: additions */
.btn-ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: var(--border-dark);
}

.btn-ghost-dark:hover {
  background: #16181f;
  color: var(--white);
}

.btn-block {
  width: 100%;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.link-arrow::after {
  content: " \2192";
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow-dark {
  color: #AFC0FF;
}

.link-arrow-dark:hover {
  color: var(--white);
}

.section-cta-line {
  margin-top: 24px;
}

.card .section-cta-line {
  margin-top: auto;
  padding-top: 8px;
}

/* CTA band */
.cta-band {
  margin-top: 8px;
  margin-bottom: 8px;
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cta-band-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
}

.cta-band-copy h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--white);
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-band-actions .btn {
  justify-content: center;
}

/* Split teaser */
.split-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.split-teaser-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 620px;
}

.split-teaser-copy h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.split-teaser-copy p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-text);
}

.stat-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.stat-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.stat-list-k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-list-v {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 600;
}

/* Notes and alerts */
.card-note {
  margin-top: 24px;
  background: var(--white);
}

.card-note h3 {
  font-size: 17px;
}

.card-alert {
  background: #FEF3F2;
  border-color: #FBD5D0;
  gap: 10px;
}

.card-alert h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-alert p {
  font-size: 15px;
  line-height: 1.55;
  color: #7A271A;
}

.card-alert a {
  color: #7A271A;
}

.contact-card {
  gap: 10px;
}

.contact-link {
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
  padding-top: 8px;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Numbered list */
.numbered-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.numbered-list li {
  counter-increment: step;
  position: relative;
  padding: 24px 24px 24px 68px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.numbered-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.numbered-list h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.numbered-list p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body-text);
}

/* Definition list */
.def-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.def-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.def-row dt {
  font-size: 16px;
  font-weight: 700;
}

.def-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-text);
  max-width: 760px;
}

/* Flow diagrams */
.flow-figure {
  margin: 0 0 28px;
  padding: 24px 0 0;
}

.flow-scroll,
.flow-figure {
  overflow-x: auto;
}

.flow-svg {
  color: var(--accent);
  min-width: 100%;
  height: auto;
}

.flow-box {
  fill: var(--panel);
  stroke: var(--border);
  stroke-width: 1;
}

.flow-step {
  fill: #2447D9;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
}

.flow-label {
  fill: #3A414F;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-sans);
}

.flow-arrow {
  stroke: #9AA1AE;
  stroke-width: 1.6;
  fill: none;
  color: #6B7280;
}

.flow-figure figcaption {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 760px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--white);
}

.compare-table caption {
  text-align: left;
  padding: 18px 20px 12px;
  font-size: 14px;
  color: var(--muted);
}

.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

.compare-table thead th {
  background: var(--panel);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}

.compare-table tbody th {
  font-weight: 700;
  color: var(--ink);
  width: 24%;
}

.compare-table td {
  color: var(--body-text);
}

.cell-good {
  background: var(--accent-tint);
  color: var(--accent-dark-text);
}

.cell-warn {
  background: #FFF8E6;
  color: #7A4F01;
}

/* FAQ accordions */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  margin-right: 6px;
  margin-bottom: 4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-bottom: 0;
  margin-top: 4px;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 4px 20px;
  max-width: 820px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body-text);
}

/* Table of contents (FAQ) */
.toc-nav {
  padding-top: 8px;
  padding-bottom: 8px;
}

.toc-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toc-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.toc-list a:hover {
  border-color: var(--accent-ring);
  background: var(--accent-tint);
  color: var(--accent-dark-text);
}

.toc-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

/* Waitlist form */
.waitlist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.waitlist-form-wrap h2,
.waitlist-side h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.waitlist-intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-text);
  margin-bottom: 24px;
  max-width: 560px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 15px;
  font-weight: 600;
}

.field-optional {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #D1D5DB;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  box-sizing: border-box;
}

.field textarea {
  resize: vertical;
  line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6B7280;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field-help {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.form-status {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  min-height: 1.5em;
  margin: -4px 0 0;
}

.form-status-success {
  color: #15803D;
}

.form-status-error {
  color: #B91C1C;
}

.waitlist-form .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.waitlist-side {
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.waitlist-side .fine-print {
  margin-top: 18px;
}

/* Press assets */
.asset-tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
}

.asset-tile img {
  max-width: 100%;
  height: auto;
}

.asset-tile figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  font-size: 14px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.asset-name {
  font-weight: 700;
}

.asset-tile figcaption a {
  font-weight: 600;
  text-decoration: none;
}

.asset-tile figcaption a:hover {
  text-decoration: underline;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.swatch {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.swatch-chip {
  display: block;
  height: 88px;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.swatch-accent { background: #2447D9; }
.swatch-ink { background: #0B0C10; }
.swatch-tint { background: #E8EDFF; }
.swatch-paper { background: #FFFFFF; }

.swatch-name {
  font-size: 15px;
  font-weight: 700;
}

.swatch-hex {
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.boilerplate {
  margin: 0;
  padding: 28px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: var(--accent-tint);
}

.boilerplate p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--accent-dark-text);
  max-width: 760px;
}

/* Error page */
.error-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding-top: 56px;
  padding-bottom: 64px;
}

.error-page h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.error-links {
  margin-top: 20px;
  width: 100%;
}

.error-links h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.error-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.error-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.error-link-list a:hover {
  border-color: var(--accent-ring);
  background: var(--accent-tint);
  color: var(--accent-dark-text);
}

/* ==========================================================================
   Long-form legal / policy pages
   ========================================================================== */

.prose-wrap {
  max-width: 820px;
  padding-top: 24px;
}

.prose-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prose-head h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.prose-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 10px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
}

.prose-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 320px;
}

.prose-meta dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
}

.draft-banner {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #FFF8E6;
  border: 1px solid #F3DCA4;
  color: #6B4A05;
  font-size: 15px;
  line-height: 1.6;
}

.prose-toc {
  margin: 28px 0 8px;
  padding: 24px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.prose-toc h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.prose-toc ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
}

.prose-toc li::marker {
  color: var(--muted);
}

.prose-toc a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
  font-weight: 600;
}

.prose-toc a:hover {
  text-decoration: underline;
}

.prose-section {
  padding-top: 36px;
  scroll-margin-top: 96px;
}

.prose-section h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.prose-num {
  color: var(--accent);
}

.prose-section h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 8px;
}

.prose-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 14px;
}

.prose-section p:last-child {
  margin-bottom: 0;
}

.prose-section strong {
  color: var(--ink);
}

.prose-list {
  list-style: disc;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-text);
  margin-bottom: 14px;
}

.prose-list li::marker {
  color: var(--accent);
}

/* Footer additions */
.footer-chain-note {
  font-size: 12px !important;
  color: var(--muted) !important;
}

.footer-status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.footer-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-nav-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive additions
   ========================================================================== */

@media (min-width: 768px) {
  .page-hero h1,
  .prose-head h1,
  .error-page h1 {
    font-size: 44px;
  }

  .split-teaser {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
  }

  .split-teaser-copy h2,
  .cta-band-copy h2 {
    font-size: 34px;
  }

  .numbered-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .waitlist-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .swatch-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .cta-band-actions {
    flex-direction: row;
  }

  .prose-section h2 {
    font-size: 24px;
  }
}

@media (min-width: 1024px) {
  .page-hero {
    padding-top: 48px;
    padding-bottom: 8px;
  }

  .page-hero h1,
  .prose-head h1,
  .error-page h1 {
    font-size: 52px;
  }

  .breadcrumbs {
    padding: 22px 40px 0;
  }

  .prose-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }

  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }

  .cta-band-actions {
    flex-shrink: 0;
  }

  .compare-table tbody th {
    width: 20%;
  }

  .faq-item summary {
    font-size: 18px;
    padding: 22px 4px;
  }
}

/* Reduced motion: nothing animates */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:hover {
    transition: none;
    transform: none;
  }
}

/* ==========================================================================
   Print — tuned for the legal pages
   ========================================================================== */

@media print {
  .site-header,
  .mobile-nav,
  .breadcrumbs,
  .site-footer,
  .skip-link,
  .prose-toc,
  .cta-band,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .prose-wrap {
    max-width: none;
    padding: 0;
  }

  .prose-section {
    padding-top: 18pt;
    page-break-inside: avoid;
  }

  .prose-section h2,
  .prose-section h3 {
    page-break-after: avoid;
  }

  .prose-section p,
  .prose-list {
    color: #000;
  }

  .draft-banner {
    border: 1pt solid #000;
    background: none;
    color: #000;
  }

  a[href^="http"]::after,
  a[href^="/"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #333;
  }

  a[href^="mailto:"]::after {
    content: "";
  }
}

/* Closing note on policy pages */
.prose-closing {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Footer company / contact block */
.footer-company {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.footer-company > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.footer-company dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-company dd {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer-company a {
  text-decoration: none;
}

.footer-company a:hover {
  text-decoration: underline;
}

/* Reviewer strip on the home page */
.reviewer-strip {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.reviewer-strip h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.reviewer-strip p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-text);
  max-width: 720px;
}

.reviewer-strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 768px) {
  .footer-company {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reviewer-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 36px;
  }

  .reviewer-strip-links {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .primary-nav {
    gap: 22px;
    font-size: 14.5px;
  }

  .footer-company {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .primary-nav {
    gap: 28px;
    font-size: 15px;
  }
}

/* The header CTA is desktop-only. `.btn` sets display:inline-flex later in the
   cascade than the original `.btn-header{display:none}`, so it has to be
   re-asserted here or the button overflows the 320px viewport. */
.btn.btn-header {
  display: none;
}

@media (min-width: 1024px) {
  .btn.btn-header {
    display: inline-flex;
  }
}

/* Footer: four nav columns need the full width, so the brand block and the
   nav only sit side by side from 1024px up. */
@media (min-width: 768px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
  }

  .footer-brand {
    max-width: 380px;
    flex-shrink: 0;
  }

  .footer-nav {
    flex: 1;
    gap: 24px;
  }

  .footer-company {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .footer-brand {
    max-width: 440px;
  }

  .footer-nav {
    gap: 32px;
  }

  .footer-company {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* The registered address needs its own line breaks in the footer grid. */
.footer-company-address dd {
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer-company-address {
    grid-column: span 2;
  }
}

/* Headings read better without a single orphaned word on the last line. */
h1, h2, h3, .faq-item summary {
  text-wrap: balance;
}

.lead, .section-head-note, .prose-section p {
  text-wrap: pretty;
}

/* Flow diagrams scale down to fit their column, never past legibility. */
.flow-svg {
  max-width: 100%;
  min-width: 0;
  height: auto;
}

.flow-figure {
  margin: 0 0 28px;
  padding: 24px 0 0;
}

/* Below the diagram's natural width the figure scrolls rather than shrinking
   the labels past legibility. The figure is focusable so it can be scrolled
   from the keyboard, and the <desc> carries the same information in text. */
@media (max-width: 800px) {
  .flow-svg {
    max-width: none;
  }

  .flow-figure {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .flow-figure figcaption {
    position: sticky;
    left: 0;
  }
}

/* Frame the flow diagrams so they read as deliberate figures rather than
   drawings floating in white space. */
.flow-figure {
  padding: 24px 20px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
}

.flow-figure figcaption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* Mailboxes must never break mid-address, so the footer contact block sizes
   each entry to its content instead of forcing equal columns. */
.footer-company {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
}

.footer-company > div {
  max-width: 100%;
}

.footer-company dd {
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .footer-company-address {
    width: 100%;
  }
}

/* The company details sit on their own full-width row under the footer nav. */
.footer-company {
  margin: 8px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 16px 28px;
}

@media (min-width: 1024px) {
  .footer-company-address {
    width: auto;
    min-width: 260px;
  }
}
