/* MyOdds — site styles
   Brand: white / blue #024DA1 / red #ED1C24, typeface TT Norms.
   TT Norms is a licensed font: add your licensed web files to assets/fonts
   and uncomment the @font-face block below. Until then Figtree is used. */

/*
@font-face { font-family: "TT Norms"; src: url("../fonts/TTNorms-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "TT Norms"; src: url("../fonts/TTNorms-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TT Norms"; src: url("../fonts/TTNorms-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "TT Norms"; src: url("../fonts/TTNorms-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "TT Norms"; src: url("../fonts/TTNorms-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
*/

:root {
  --blue: #024DA1;
  --red: #ED1C24;
  --ink: #0A1A33;
  --navy: #0A1A33;
  --muted: #46556B;
  --bg: #F2F5FA;
  --line: #E1E7F0;
  --line-strong: #C9D3E1;
  --on-blue: #E3ECF8;
  --on-navy: #C9D6E8;
  --pale: #9DB9E0;
  --radius: 20px;
  --font: "TT Norms", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--blue); padding: 12px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tight { padding: 56px 0; }
.bg-light { background: var(--bg); }
.bg-blue { background: var(--blue); color: #fff; }
.bg-navy { background: var(--navy); color: #fff; }
.stack { display: flex; flex-direction: column; gap: 40px; }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.split { display: grid; gap: 40px; }
.grid { display: grid; gap: 32px 24px; }

/* ---------- type ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.bg-blue .eyebrow { color: #fff; }
.bg-navy .eyebrow { color: var(--pale); }
.h1 { font-size: clamp(38px, 9.4vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 6.6vw, 44px); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.h2--cta { color: var(--blue); }
.bg-blue .h2--cta { color: #fff; }
.h3 { font-size: 20px; line-height: 1.25; font-weight: 700; }
.h3--lg { font-size: clamp(26px, 5vw, 32px); line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
.lead { font-size: 18px; line-height: 1.45; font-weight: 300; color: var(--muted); }
.bg-blue .lead { color: var(--on-blue); }
.bg-navy .lead { color: var(--on-navy); }
.muted { color: var(--muted); }
.bg-blue .muted { color: var(--on-blue); }
.small { font-size: 15px; }
.strong { font-weight: 600; }
.period { color: var(--red); }

/* ---------- dot + buttons ---------- */
.dot { flex: none; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.dot--lg { width: 12px; height: 12px; }
.dot--sm { width: 8px; height: 8px; }
.dot--white { background: #fff; }
.dot--blue { background: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #013D82; }
.btn--white { background: #fff; color: var(--blue); }
.btn--outline { border-color: var(--blue); color: var(--blue); min-height: 48px; }
.btn--outline-white { border-color: #fff; color: #fff; min-height: 48px; }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.link--blue { color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.header__logo { display: flex; align-items: center; min-height: 44px; }
.header__logo img { height: 24px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -10px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--blue); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(10, 26, 51, 0.12); padding: 8px 20px 24px; max-height: calc(100vh - 68px); overflow-y: auto; }
.nav.is-open { display: block; }
.nav__list { display: flex; flex-direction: column; }
.nav__list a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.nav__list a[aria-current="page"] { color: var(--blue); }
.nav__cta { margin-top: 20px; width: 100%; }

/* ---------- hero ---------- */
.hero { overflow: hidden; }
.hero__grid { display: grid; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; padding: 48px 0 36px; }
.hero__copy .lead { max-width: 600px; }
.hero__checks { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.28); font-size: 15px; font-weight: 500; }
.hero__checks li { display: flex; align-items: center; gap: 10px; }
.hero__media { height: 230px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; }
.hero__media img { width: 250px; max-width: 70%; height: auto; }
.hero--light .hero__copy { padding-bottom: 28px; }
.hero--light .h1 { color: var(--blue); }
.hero__panel { height: 240px; margin-bottom: 48px; background: var(--blue); border-radius: var(--radius); overflow: hidden; }
.hero__panel img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero--code .hero__grid { gap: 32px; padding-top: 48px; padding-bottom: 56px; }
.hero--code .hero__copy { padding: 0; }

/* ---------- features ---------- */
.feature { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--blue); }
.feature--ink { border-top-color: var(--ink); }
.feature__num { font-size: 36px; line-height: 1; font-weight: 300; color: var(--blue); }

/* ---------- steps (vertical on phone and tablet, horizontal on desktop) ---------- */
.steps { display: flex; flex-direction: column; }
.steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; padding-bottom: 28px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: #B9C8DE; }
.steps li:last-child::before { display: none; }
.steps__num { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.steps li:last-child .steps__num { background: var(--red); font-weight: 800; }
.steps .h3 { align-self: center; min-height: 44px; display: flex; align-items: center; font-size: 19px; }
.steps p { grid-column: 2; font-size: 15px; color: var(--muted); }

/* ---------- panels and cards ---------- */
.panel { background: #fff; border-radius: var(--radius); padding: 24px 20px; }
.card { display: flex; flex-direction: column; gap: 18px; background: var(--bg); border-radius: var(--radius); padding: 28px 24px; }
.card--white { background: #fff; }
.card--blue { background: var(--blue); color: #fff; }
.card--blue .muted { color: var(--on-blue); }
.card .btn { align-self: flex-start; margin-top: auto; }
.card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.card--blue .card__foot { border-top-color: rgba(255, 255, 255, 0.3); }
.tag { font-size: 14px; font-weight: 700; color: var(--blue); }
.card--blue .tag { color: #fff; }
.ticks { display: flex; flex-direction: column; gap: 12px; font-weight: 500; }
.ticks li { display: flex; gap: 12px; }
.ticks .dot { margin-top: 9px; }
.ticks--muted { font-weight: 400; color: var(--muted); }
.card--blue .ticks--muted { color: var(--on-blue); }

/* ---------- routing matrix ---------- */
.route { display: grid; gap: 28px; }
.route__copy { display: flex; flex-direction: column; gap: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.m-dot { flex: none; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--pale); }
.m-dot--active { width: 20px; height: 20px; background: var(--red); }
.m-dot--none { background: transparent; border: 2px solid #B4C0D2; }
.matrix { width: 100%; border-collapse: collapse; font-size: 14px; }
.matrix caption { text-align: left; padding-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
/* phone: every match becomes a row of provider chips */
.matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.matrix tbody, .matrix tr, .matrix th { display: block; }
.matrix tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.matrix tbody th { flex: 0 0 100%; text-align: left; font-size: 16px; font-weight: 700; }
.matrix td { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--bg); font-weight: 500; color: var(--muted); }
.matrix td.is-active { background: #fff; box-shadow: inset 0 0 0 2px var(--red); color: var(--ink); font-weight: 700; }
.matrix td.is-none { display: none; }

/* ---------- stats ---------- */
.stat { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 16px; }
.stat__num { font-size: clamp(36px, 8vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.stat__label { font-weight: 600; }
.stat p { font-size: 15px; color: var(--on-blue); }
.years { display: flex; align-items: center; gap: 20px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.years__num { font-size: 60px; line-height: 1; font-weight: 300; }
.years__text { max-width: 240px; font-size: 16px; font-weight: 500; }

/* ---------- code ---------- */
.code { min-width: 0; background: #06122A; border: 1px solid #24375A; border-radius: 16px; overflow: hidden; }
.code__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #24375A; font-size: 13px; font-weight: 600; color: var(--on-navy); }
.code pre { margin: 0; padding: 18px 16px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--on-blue); -webkit-overflow-scrolling: touch; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; font-weight: 500; }
.chips li { display: flex; align-items: center; gap: 10px; }

/* ---------- rows ---------- */
.rows { display: flex; flex-direction: column; border-bottom: 1px solid var(--line-strong); }
.row { display: grid; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line-strong); }
.row:first-child { border-top: 2px solid var(--ink); }
.row__msg { font-size: 18px; font-weight: 500; }
.row .h3--row { font-size: 22px; font-weight: 800; }

.scorecard { display: grid; font-size: 17px; font-weight: 500; }
.scorecard li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.28); }

/* ---------- architecture diagram ---------- */
.arch { display: grid; gap: 14px; }
.arch__col { display: flex; flex-direction: column; gap: 10px; }
.arch__label { font-size: 14px; font-weight: 700; color: var(--muted); }
.arch__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.arch__item { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 10px; border: 2px solid var(--line-strong); border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.arch__item .m-dot, .arch__item .dot { width: 10px; height: 10px; }
.arch__item--tenant { border-color: transparent; background: var(--bg); }
.arch__arrow { display: flex; justify-content: center; color: var(--blue); }
.arch__arrow svg { width: 36px; height: 22px; transform: rotate(90deg); }
.arch__core { display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; background: var(--blue); color: #fff; border-radius: var(--radius); }
.arch__core img { height: 22px; width: auto; align-self: flex-start; }
.arch__core-title { font-size: 22px; line-height: 1.15; font-weight: 800; }
.arch__parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 14px; font-weight: 600; }
.arch__parts li { display: flex; align-items: center; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 10px; line-height: 1.25; }

.boxes { display: grid; gap: 12px; font-weight: 600; }
.boxes li { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid #34486C; border-radius: 14px; }

.tile { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #fff; border-radius: 16px; }
.tile:hover { text-decoration: none; box-shadow: inset 0 0 0 2px var(--blue); }
.tile__title { font-size: 19px; font-weight: 700; color: var(--blue); }
.tile__text { font-size: 15px; color: var(--muted); }

/* ---------- form ---------- */
.form { display: flex; flex-direction: column; gap: 18px; padding: 24px 20px; background: var(--bg); border-radius: var(--radius); }
.form__grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #8A99AE; border-radius: 10px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.field input:focus, .field select:focus { outline: 3px solid rgba(2, 77, 161, 0.35); border-color: var(--blue); }
.form .btn { width: 100%; }
.aside { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- cta band + footer ---------- */
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.cta__copy { display: flex; flex-direction: column; gap: 14px; }
.cta .lead { max-width: 620px; }
.footer { padding: 56px 0 32px; background: var(--blue); color: #fff; }
.footer--navy { background: var(--navy); }
.footer__top { display: grid; gap: 36px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { height: 28px; width: auto; align-self: flex-start; }
.footer__brand p { max-width: 340px; font-size: 15px; color: var(--on-blue); }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; font-size: 15px; }
.footer__nav ul { display: flex; flex-direction: column; gap: 4px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 36px; }
.footer__title { margin-bottom: 6px; font-weight: 700; }
.footer__legal { display: flex; flex-direction: column; gap: 6px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.28); font-size: 14px; color: var(--on-blue); }

/* =====================================================================
   >= 600px  large phones / small tablets
   ===================================================================== */
@media (min-width: 600px) {
  .container { padding: 0 28px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__checks { flex-direction: row; flex-wrap: wrap; gap: 10px 28px; }
  .form { padding: 32px; }
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form .btn { width: auto; align-self: flex-start; }
  .scorecard { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
  .boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { padding: 32px; }
  .card { padding: 32px; }
  .arch__parts li { padding: 12px 14px; }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__legal { flex-direction: row; justify-content: space-between; gap: 24px; }

  /* matrix becomes a real grid of dots */
  .matrix thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .matrix tbody { display: table-row-group; }
  .matrix tr { display: table-row; padding: 0; }
  .matrix th, .matrix td { display: table-cell; }
  .matrix thead th { padding: 0 6px 12px; font-size: 14px; font-weight: 700; color: var(--muted); text-align: center; }
  .matrix thead th:first-child { text-align: left; padding-left: 0; }
  .matrix tbody th { padding: 0 12px 0 0; height: 56px; border-top: 1px solid var(--line); text-align: left; font-size: 16px; font-weight: 600; white-space: nowrap; }
  .matrix td, .matrix td.is-active, .matrix td.is-none { display: table-cell; height: 56px; padding: 0 6px; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; text-align: center; }
  .matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  .matrix td .m-dot { margin: 0 auto; }
  .matrix td .m-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* =====================================================================
   >= 768px  tablets
   ===================================================================== */
@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .section { padding: 88px 0; }
  .section--tight { padding: 72px 0; }
  .stack { gap: 48px; }
  .head { gap: 20px; }
  .h1 { font-size: clamp(46px, 6vw, 84px); line-height: 1; }
  .h2 { font-size: clamp(36px, 4.4vw, 52px); }
  .h2--cta { font-size: clamp(38px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -0.025em; }
  .lead { font-size: 20px; }
  .header__logo img { height: 26px; }

  /* hero: text and halftone side by side from tablet up */
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: end; column-gap: 32px; }
  .hero__copy { gap: 26px; padding: 72px 0 64px; }
  .hero__media { height: auto; align-self: end; }
  .hero__media img { width: 100%; max-width: 440px; margin-bottom: -36px; }
  .hero--light .hero__grid { align-items: stretch; padding-top: 56px; padding-bottom: 72px; }
  .hero--light .hero__copy { padding: 0; justify-content: center; }
  .hero__panel { height: auto; min-height: 380px; max-height: 560px; margin-bottom: 0; }
  .hero--code .hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: 72px; padding-bottom: 72px; }

  .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 32px; }
  .row .muted { grid-column: 2; }
  .row--pair .muted { grid-column: auto; }
  .cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  .cta .btn { flex: none; }
  .arch__items { gap: 12px; }
  .arch__item { min-height: 60px; padding: 8px 16px; font-size: 16px; gap: 12px; }
  .arch__item .m-dot, .arch__item .dot { width: 14px; height: 14px; }
  .arch__core { padding: 32px; }
  .arch__parts { font-size: 15px; }
  .footer { padding: 72px 0 40px; }
  .steps .h3 { font-size: 20px; }
  .steps p { font-size: 16px; max-width: 560px; }
}

/* =====================================================================
   >= 1024px  desktop
   ===================================================================== */
@media (min-width: 1024px) {
  body { font-size: 17px; }
  .section { padding: 112px 0; }
  .section--tight { padding: 104px 0; }
  .stack { gap: 56px; }
  .lead { font-size: 21px; }
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
  .split--center { align-items: center; }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { gap: 40px 32px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--cards { gap: 24px; }

  /* desktop navigation */
  .nav-toggle { display: none; }
  .header__bar { min-height: 80px; gap: 32px; }
  .nav { display: flex; position: static; flex: 1; align-items: center; justify-content: space-between; gap: 24px; padding: 0; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .nav__list { flex-direction: row; gap: 28px; margin: 0 auto; }
  .nav__list a { min-height: 44px; border: 0; font-size: 15px; font-weight: 500; }
  .nav__list a[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -2px 0 var(--red); }
  .nav__cta { width: auto; margin: 0; }

  .hero__grid { column-gap: 48px; }
  .hero__copy { gap: 28px; padding: 96px 0 88px; }
  .hero--light .hero__grid { column-gap: 64px; padding-top: 72px; padding-bottom: 96px; }
  .hero--code .hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; column-gap: 64px; padding-top: 96px; padding-bottom: 96px; }
  .code pre { font-size: 14px; padding: 24px 20px; }

  /* horizontal steps */
  .steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .steps li { display: flex; flex-direction: column; gap: 10px; padding: 0; }
  .steps li::before { left: 56px; right: -12px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .steps .h3 { min-height: 0; margin-top: 6px; font-size: 19px; }
  .steps p { font-size: 15px; }

  .panel { padding: 56px; }
  .route { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
  .card { padding: 44px; gap: 20px; }
  .card--plan { padding: 36px; }
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1.5fr); column-gap: 40px; padding: 28px 0; }
  .row .muted { grid-column: auto; }
  .row--pair { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }

  /* architecture diagram runs left to right */
  .arch { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.7fr) 40px minmax(0, 1fr); align-items: center; gap: 20px; }
  .arch__items { grid-template-columns: minmax(0, 1fr); }
  .arch__arrow svg { transform: none; width: 40px; height: 24px; }
  .arch__core-title { font-size: 24px; }

  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; }
  .years__num { font-size: 64px; }
  .form { padding: 44px; }
}

@media (min-width: 1280px) {
  .nav__list { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* two-up feature cards and pricing plans */
@media (min-width: 900px) {
  .grid--wide2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1024px) {
  .grid--plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.card--blue .eyebrow { color: #fff; }
@media (min-width: 1024px) {
  .steps .h3 { align-self: flex-start; }
}
