@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #031d44;
  --red: #ff013e;
  --red-dark: #d60034;
  --text: #212529;
  --muted: #576882;
  --line: #dee2e6;
  --paper: #f3f4f6;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.55 "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 30; padding: .6rem 1rem; background: var(--white); }
.skip:focus { top: 1rem; }
.topbar { position: sticky; top: 0; z-index: 10; background: var(--paper); }
.topbar-inner, .primary-nav-inner { max-width: 1320px; margin: auto; padding-right: 24px; padding-left: 24px; }
.topbar-inner { min-height: 84px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem; }
.brand { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand img { display: block; width: 200px; height: auto; }
.brand-section { color: var(--navy); font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.top-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 1.25rem; }
.top-link { color: var(--navy); font-size: .875rem; text-decoration: none; }
.top-link:hover { color: var(--red); }
.demo-link { display: inline-block; padding: .6rem 1.15rem; border: 1px solid var(--red); border-radius: 999px; background: var(--red); color: var(--white); font-size: .875rem; font-weight: 650; text-decoration: none; transition: opacity .2s ease; }
.demo-link:hover { color: var(--white); opacity: .75; }
.primary-nav { border-bottom: 1px solid var(--line); }
.primary-nav-inner { display: flex; gap: 1.8rem; overflow-x: auto; scrollbar-width: thin; }
.primary-nav a { display: block; flex: none; padding: .85rem .1rem .75rem; border-bottom: 2px solid transparent; color: var(--navy); font-size: .9rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="location"] { border-bottom-color: var(--red); color: var(--red); }
.layout { max-width: 1320px; margin: auto; display: grid; grid-template-columns: 200px minmax(0, 1fr) 150px; gap: clamp(1.5rem, 3vw, 3rem); padding: 0 24px 5rem; }
.sidebar, .toc { position: sticky; top: 150px; align-self: start; max-height: calc(100vh - 170px); overflow: auto; padding-top: 2rem; }
.sidebar h2, .toc h2 { margin: 0 0 .65rem; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.sidebar a, .toc a { display: block; padding: .42rem .55rem; border-left: 2px solid transparent; color: var(--navy); font-size: .86rem; line-height: 1.35; text-decoration: none; }
.sidebar a:hover, .toc a:hover, .sidebar a:focus-visible, .toc a:focus-visible { border-left-color: var(--red); color: var(--red); }
.sidebar .side-rule { margin: 1.2rem .55rem 1.2rem 0; border-top: 1px solid var(--line); }
.toc a { color: var(--muted); }
.content { min-width: 0; }
.hero { margin: 2.8rem 0 0; padding: 0 0 1.2rem; }
.eyebrow { color: var(--red); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.hero h1 { max-width: 760px; margin: .65rem 0 .8rem; color: var(--navy); font-size: clamp(2.1rem, 3.5vw, 3.15rem); font-weight: 700; line-height: 1.15; letter-spacing: -.04em; }
.hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.hero-pills span { padding: .28rem .72rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font-size: .78rem; }
.notice { margin: 1.3rem 0 2.5rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 8px; background: var(--white); font-size: .9rem; }
.section { margin: 3.6rem 0 0; scroll-margin-top: 156px; }
.section-header { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.section-number { color: var(--red); font-size: .8rem; font-weight: 700; }
h2 { margin: 0 0 .65rem; color: var(--navy); font-size: clamp(1.75rem, 2.8vw, 2.25rem); font-weight: 700; line-height: 1.22; letter-spacing: -.025em; }
h3 { margin: 2rem 0 .5rem; color: var(--navy); font-size: 1.22rem; line-height: 1.35; }
h4 { margin: 1.5rem 0 .35rem; color: var(--navy); font-size: 1rem; }
p { margin: .65rem 0 1.1rem; }
.lead { color: var(--muted); font-size: 1.06rem; }
.small { color: var(--muted); font-size: .87rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.card h3 { margin: .15rem 0 .4rem; font-size: 1.04rem; }
.card p { margin: 0; color: var(--muted); font-size: .88rem; }
.kicker { display: block; color: var(--red); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.steps { counter-reset: step; display: grid; gap: .7rem; padding: 0; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: .9rem 1rem .9rem 3.4rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.steps li:before { content: counter(step); position: absolute; top: .85rem; left: .9rem; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--white); font-size: .8rem; font-weight: 700; }
.steps strong { display: block; color: var(--navy); }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; margin: 1.4rem 0; }
.flow div { padding: .85rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--navy); font-size: .8rem; font-weight: 650; text-align: center; }
.flow div:last-child { border-color: var(--red); }
.codebox { margin: 1rem 0 1.5rem; overflow: hidden; border-radius: 8px; background: #000; }
.codehead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem .9rem; border-bottom: 1px solid #343434; color: #d2d2d2; font-size: .75rem; }
.copy { padding: .18rem .6rem; border: 1px solid #868686; border-radius: 5px; background: transparent; color: var(--white); cursor: pointer; font-size: .75rem; }
.copy:hover { border-color: var(--white); }
pre { margin: 0; padding: 1.25rem; overflow: auto; color: var(--white); font: .84rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 4; }
code { padding: .1rem .25rem; border-radius: 4px; background: #e9ecef; color: var(--navy); font: .86em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
pre code { padding: 0; background: transparent; color: inherit; font-size: inherit; overflow-wrap: normal; }
.table-wrap { margin: 1rem 0 1.6rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .87rem; }
th, td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f8f9fa; color: var(--navy); font-size: .78rem; font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td:first-child { white-space: nowrap; }
td code { font-size: .82em; }
.callout { padding: 1rem 1.2rem; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 8px; background: var(--white); }
.callout p:last-child { margin-bottom: 0; }
.compact-list { padding-left: 1.25rem; }
.compact-list li { margin: .35rem 0; }
footer { margin-top: 4rem; padding: 1.4rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
[hidden] { display: none !important; }
@media (max-width: 1120px) {
  .layout { grid-template-columns: 185px minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 760px) {
  .topbar { position: static; }
  .topbar-inner { min-height: 70px; padding: .8rem 1rem; }
  .brand img { width: 145px; }
  .brand-section { font-size: 22px; }
  .top-actions { gap: .5rem; }
  .top-link { display: none; }
  .demo-link { padding: .5rem .7rem; font-size: .78rem; }
  .primary-nav-inner { gap: 1.2rem; padding: 0 1rem; }
  .layout { display: block; padding: 0 1rem 3rem; }
  .sidebar { position: static; max-height: none; overflow-x: auto; padding-top: .5rem; border-bottom: 1px solid var(--line); }
  .sidebar nav { display: flex; gap: .2rem; }
  .sidebar h2, .sidebar .side-rule, .sidebar .external { display: none; }
  .sidebar a { flex: none; white-space: nowrap; }
  .hero { margin-top: 1.8rem; }
  .section { scroll-margin-top: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  td:first-child { white-space: normal; }
}
@media (max-width: 410px) {
  .brand img { width: 120px; }
  .brand-section { font-size: 18px; }
  .demo-link { padding: .45rem .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-link { transition: none; }
}

/* Shared website navigation and source records. */
.platform-nav { grid-column: 2; grid-row: 1; justify-self: center; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: 204px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.platform-nav a { display: block; padding: .55rem .8rem; border-radius: 999px; color: var(--navy); font-size: .875rem; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; }
.platform-nav a:hover { background: var(--paper); }
.platform-nav a[aria-current="page"] { background: var(--red); color: var(--white); }
.source-record { margin-top: 2rem; font-size: .8rem; color: var(--muted); }
.home-content { max-width: 1050px; margin: auto; padding: 0 24px 5rem; }
.platform-card { display: block; color: var(--navy); text-decoration: none; }
.platform-card:hover { border-color: var(--red); }
@media (max-width: 1000px) {
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; padding-top: .85rem; padding-bottom: .85rem; gap: .7rem 1rem; }
  .top-actions { grid-column: 2; }
  .platform-nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .home-content { padding: 0 1rem 3rem; }
}
@media (max-width: 410px) {
  .brand-section { display: none; }
}
