:root {
  color-scheme: light;
  --ink: #20241f;
  --muted: #565d52;
  --paper: #f8f7f2;
  --line: #dedfd5;
  --accent: #fc956e;
  --accent-text: #8a3a24;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}

* { box-sizing: border-box; }
body, figure, dl, dd { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #3159c7; outline-offset: 4px; }
.frame { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: .5rem; left: .5rem; padding: .7rem 1rem; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header, .site-footer { border-block-end: 1px solid var(--line); }
.site-footer { border-block-start: 1px solid var(--line); border-block-end: 0; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-block-size: 4.65rem; }
.header-inner nav, .footer-inner nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2rem); font-size: .9rem; font-weight: 650; }
.header-inner nav a, .footer-inner nav a { text-decoration: none; }
.header-inner nav a:hover, .footer-inner nav a:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.35rem; font-weight: 790; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand .byline { color: var(--muted); font-size: .76rem; font-weight: 550; letter-spacing: 0; }
.prism { inline-size: 1.35rem; block-size: 1.2rem; background: conic-gradient(from 30deg at 50% 69%, #e77953 0 33%, #a9452f 33% 66%, #f3a482 66%); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.nav-cta { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: .55rem; padding: .45rem .75rem; }

.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3rem, 7vw, 6.3rem); }
.overline { color: var(--accent-text); font-family: "IBM Plex Mono", ui-monospace, monospace; text-transform: uppercase; font-size: .73rem; font-weight: 700; letter-spacing: .07em; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: clamp(2.55rem, 5.1vw, 4.6rem); font-weight: 760; }
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
h3 { font-size: 1.22rem; }
.hero h1 { margin-block: 1rem 1.4rem; max-inline-size: 12ch; }
.description { max-inline-size: 49ch; font-size: clamp(1rem, 1.5vw, 1.16rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-block: 1.65rem .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-block-size: 2.85rem; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .55rem; font-size: .92rem; font-weight: 720; text-decoration: none; }
.button-primary { background: var(--accent); color: #231e17; }
.button-primary:hover { background: #f88760; }
.button-secondary { border-color: #cfd1c6; background: #fffdf8; }
.button-secondary:hover, .nav-cta:hover { background: #eeeee6; }
.availability { color: var(--muted); font-size: .86rem; }

.fleet-preview { min-inline-size: 0; color: #f3f6fb; background: #171e27; border: 1px solid #293645; border-radius: 1rem; overflow: hidden; box-shadow: 0 18px 55px -24px #18242c7f; }
.fleet-header { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: 1.3rem 1.4rem 1rem; }
.fleet-header strong { display: block; margin-block-start: .2rem; font-size: 1.35rem; letter-spacing: -.035em; }
.preview-eyebrow, .plot-axis, .sample-tag { color: #aebaca; font: .72rem "IBM Plex Mono", ui-monospace, monospace; }
.sample-tag { color: #f5d8a3; background: #352d21; border: 1px solid #5b4c35; padding: .35rem .55rem; border-radius: .35rem; white-space: nowrap; }
.fleet-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #333d4b; border-block: 1px solid #333d4b; }
.fleet-stats div { background: #1d2733; padding: .75rem 1.25rem; }
.fleet-stats dt { color: #bdc8d6; font-size: .79rem; line-height: 1.4; }
.fleet-stats dd { margin-block-start: .14rem; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 690; font-variant-numeric: tabular-nums; }
.fleet-stats .warn { color: #ffb18f; }
.fleet-chart { padding: 1.2rem 1.4rem .85rem; }
.plot { height: clamp(6rem, 12vw, 8.75rem); display: grid; grid-template-columns: repeat(24, 1fr); align-items: end; gap: clamp(2px, .4vw, 6px); margin-block: .7rem .45rem; background: repeating-linear-gradient(to top, #354456 0 1px, transparent 1px 25%); }
.plot i { height: 40%; background: #6f95d6; border-radius: 3px 3px 0 0; opacity: .85; }
.plot i:nth-child(3n) { height: 55%; }
.plot i:nth-child(4n) { height: 60%; }
.plot i:nth-child(5n) { height: 48%; }
.plot i:nth-child(9), .plot i:nth-child(14), .plot i:nth-child(22) { height: 70%; }
.plot i:nth-child(15), .plot i:nth-child(18) { height: 79%; background: #db886d; }
.plot i:nth-child(16) { height: 95%; background: #fc956e; }
.plot i:nth-child(17) { height: 86%; background: #fc956e; }
.plot-axis { display: flex; justify-content: space-between; }
.fleet-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.4rem; border-block-start: 1px solid #333d4b; color: #ffe0d3; text-decoration: none; }
.fleet-link:hover { background: #202b39; }
.fleet-link small, .fleet-link strong { display: block; }
.fleet-link small { color: #aebaca; font-size: .78rem; }
.fleet-link strong { font-size: .96rem; }
.fleet-link:focus-visible { outline-color: #ffd4c2; outline-offset: -4px; }

.overview-strip { padding-block: 2.8rem 3.2rem; border-block: 1px solid var(--line); background: #efefe7; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.3rem, 3vw, 3rem); margin-block-start: 1.7rem; }
.workflow article { border-block-start: 1px solid #cccfc3; padding-block-start: .9rem; }
.workflow h3 { margin-block: .45rem .6rem; }
.workflow p, .sdk-callout p:not(.overline) { color: var(--muted); }
.workflow a { display: inline-block; margin-block-start: .7rem; color: var(--accent-text); font-size: .9rem; font-weight: 700; }
.step-mark { color: var(--accent-text); font: .75rem ui-monospace, monospace; }
.sdk-callout { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 3.1rem; }
.sdk-callout h2 { margin-block: .35rem .65rem; }
.sdk-callout .button { flex-shrink: 0; }

.doc-layout { display: grid; grid-template-columns: 11.5rem minmax(0, 45rem); gap: clamp(1.3rem, 5vw, 4rem); padding-block: clamp(2rem, 6vw, 4.5rem); }
.doc-nav { align-self: start; display: grid; gap: .2rem; }
.doc-nav a { text-decoration: none; border-radius: .4rem; padding: .4rem .6rem; font-size: .92rem; }
.doc-nav a:hover, .doc-nav a[aria-current] { background: #eeebe1; }
.doc-nav a[aria-current] { color: var(--accent-text); font-weight: 750; }
.doc { min-inline-size: 0; }
.doc h1 { margin-block: .5rem 1rem; font-size: clamp(2.35rem, 5vw, 3.6rem); }
.doc h2 { margin-block: 2rem .65rem; font-size: 1.65rem; }
.doc h3 { margin-block: 1.3rem .5rem; }
.doc p, .doc ul, .doc ol { margin-block: .55rem .85rem; }
.doc li + li { margin-block-start: .4rem; }
.doc a { color: var(--accent-text); }
.doc code { overflow-wrap: anywhere; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .9em; }
.doc :not(pre) > code { border-radius: .25rem; background: #ece9de; padding: .12rem .25rem; }
.doc pre { overflow: auto; padding: 1rem; background: #171e27; color: #f3f6fb; border-radius: .6rem; }
.doc pre code { overflow-wrap: normal; }
.doc .notice { margin-block: 1.3rem; padding: .75rem 1rem; border-inline-start: 3px solid #d87855; background: #f3ebe1; }
.doc .notice p { margin: 0; }
.doc-links { display: grid; gap: .75rem; }
.doc-link { display: block; padding: .85rem 1rem; background: #fffdf8; border: 1px solid var(--line); border-radius: .5rem; text-decoration: none; }
.doc-link:hover strong { text-decoration: underline; }
.doc-link span { display: block; color: var(--muted); }
.doc-table { inline-size: 100%; border-collapse: collapse; font-size: .94rem; }
.doc-table th, .doc-table td { text-align: start; padding: .6rem .7rem; border-block-end: 1px solid var(--line); vertical-align: top; }
.doc-table thead th { background: #eeebe1; }
.error-page { padding-block: 3rem; }
.error-page .overline { margin-block: 4rem .5rem; }
.error-page .description { margin-block-start: 1rem; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { max-inline-size: 16ch; }
  .fleet-preview { max-inline-size: 40rem; }
  .doc-layout { grid-template-columns: 1fr; gap: 1.1rem; }
  .doc-nav { display: flex; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .frame { width: calc(100% - 2rem); }
  .header-inner, .footer-inner { min-block-size: 3.85rem; }
  .brand { font-size: 1.15rem; }
  .header-inner .byline { display: none; }
  .workflow { grid-template-columns: 1fr; }
  .sdk-callout { align-items: flex-start; flex-direction: column; }
  .fleet-header, .fleet-chart, .fleet-link { padding-inline: .8rem; }
  .fleet-stats div { padding-inline: .7rem; }
  .doc-table th, .doc-table td { padding-inline: .45rem; }
}
