:root {
  color-scheme:light;
  --ink:#101a31;
  --muted:#566278;
  --blue:#0751ff;
  --line:#e4e9f2;
  --surface:#f6f8fc;
  --mono:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:30px;
}

body {
  margin:0;
  background:#fff;
  color:var(--ink);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
  text-decoration:none;
}

a:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}

a:focus-visible,button:focus-visible,[tabindex]:focus-visible {
  outline:3px solid var(--blue);
  outline-offset:5px;
  border-radius:4px;
}

.wrap {
  width:min(1160px,calc(100% - 64px));
  margin-inline:auto;
}

.skip-link {
  position:absolute;
  top:-60px;
  left:20px;
  z-index:3;
  padding:12px;
  background:var(--ink);
  color:white;
}

.skip-link:focus {
  top:12px;
}

.header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:110px;
  border-bottom:1px solid var(--line);
}

.brand {
  display:block;
  width:193px;
  height:65px;
}

.brand img {
  display:block;
  width:100%;
  height:auto;
}

.header nav {
  display:flex;
  align-items:center;
  gap:31px;
  font-size:14px;
  font-weight:600;
}

.nav-source {
  border:1px solid var(--line);
  padding:11px 17px;
  border-radius:7px;
}

.nav-source span {
  margin-left:8px;
}

.hero {
  display:grid;
  grid-template-columns:1.14fr 1fr;
  gap:50px;
  align-items:center;
  padding-block:88px 92px;
}

.release-label {
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  font-weight:650;
  color:#294270;
  padding:9px 12px;
  border:1px solid #dae4fb;
  background:#f5f8ff;
  border-radius:100px;
}

.release-label>span:last-child {
  margin-left:8px;
}

.status-dot {
  height:6px;
  width:6px;
  background:var(--blue);
  border-radius:50%;
}

h1 {
  font-size:clamp(38px,4.3vw,55px);
  font-weight:730;
  letter-spacing:-2.8px;
  line-height:1.12;
  margin:28px 0 22px;
}

h1 span {
  color:var(--blue);
}

.hero-description {
  font-size:18px;
  line-height:1.65;
  color:var(--muted);
  max-width:470px;
  margin:0;
}

.hero-actions {
  display:flex;
  gap:12px;
  margin-top:28px;
}

.button {
  display:inline-flex;
  align-items:center;
  gap:24px;
  padding:15px 18px;
  border-radius:7px;
  font-weight:600;
  font-size:14px;
  transition:background .16s,transform .16s;
}

.button:hover {
  text-decoration:none;
  transform:translateY(-2px);
}

.primary {
  background:var(--blue);
  color:white;
  box-shadow:0 5px 12px #0751ff1a;
}

.primary:hover {
  background:#0043df;
}

.secondary {
  background:white;
  border:1px solid #d7deec;
}

.secondary:hover {
  background:var(--surface);
}

.hero-footnote {
  font-size:12px;
  line-height:1.5;
  color:#69768b;
  margin:20px 0 0;
}

.workflow {
  margin:0;
  border:1px solid #dbe3f0;
  border-radius:14px;
  box-shadow:0 20px 55px #1c3f8310;
  background:white;
  position:relative;
}

.workflow:before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:-40px 0;
  background:radial-gradient(ellipse,#edf3ff 0%,transparent 70%);
}

.workflow-header {
  background:#f7f9fc;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:16px 20px;
  border-radius:14px 14px 0 0;
  color:var(--ink);
  font-size:13px;
  font-weight:600;
}

.speed-mark {
  display:inline-block;
  color:var(--blue);
  font-size:18px;
  font-weight:800;
  letter-spacing:-3px;
  margin-right:12px;
}

.replay {
  border:0;
  border-radius:5px;
  background:transparent;
  color:var(--blue);
  padding:8px;
  cursor:pointer;
  font-family:inherit;
  font-size:12px;
  font-weight:600;
}

.replay:hover {
  background:#eaf0ff;
}

.replay span {
  margin-right:4px;
}

.workflow-graphic {
  display:block;
  width:100%;
  height:auto;
  margin-top:13px;
}

.diagram-label {
  fill:#566278;
  font-size:11px;
  font-weight:600;
  letter-spacing:1px;
}

.diagram-node {
  fill:#fff;
  stroke:#dce3ef;
  stroke-width:1.5;
}

.accent-node {
  fill:#eef3ff;
  stroke:#91b0ff;
}

.diagram-code {
  fill:var(--ink);
  font-family:var(--mono);
  font-size:13px;
}

.diagram-small {
  fill:var(--muted);
  font-size:11px;
}

.accent-text {
  fill:var(--blue);
}

.muted-text {
  fill:var(--muted);
}

.diagram-branch {
  fill:none;
  stroke:#cbd5e5;
  stroke-width:2;
  stroke-linejoin:round;
}

.change-link {
  fill:none;
  stroke:var(--blue);
  stroke-width:2;
  stroke-linejoin:round;
  stroke-linecap:round;
}

.file-icon,.mini-check {
  fill:none;
  stroke:var(--blue);
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.test-dot {
  fill:var(--blue);
}

.muted-dot {
  fill:#94a3bb;
}

.workflow figcaption {
  color:var(--muted);
  padding:0 24px;
  font-size:13px;
  line-height:1.6;
}

.workflow-outcome {
  display:flex;
  align-items:center;
  gap:13px;
  background:#f2f6ff;
  border:1px solid #dce6ff;
  border-radius:7px;
  padding:15px;
  margin:18px 24px 22px;
}

.outcome-icon {
  display:grid;
  place-items:center;
  flex:none;
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
}

.workflow-outcome strong {
  display:block;
  font-size:13px;
  font-weight:620;
}

.workflow-outcome div>span {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:5px;
}

.workflow.animate .changed-file {
  animation:diagram-reveal .55s ease-out both;
}

.workflow.animate .change-link {
  stroke-dasharray:1;
  animation:draw-link .7s .5s ease-out both;
}

.workflow.animate .second-link {
  animation-delay:.9s;
}

.workflow.animate .affected-test {
  animation:diagram-reveal .5s 1.1s ease-out both;
}

.workflow.animate .second-test {
  animation-delay:1.5s;
}

.workflow.animate figcaption {
  animation:diagram-reveal .4s 2s ease-out both;
}

.workflow.animate .workflow-outcome {
  animation:diagram-reveal .55s 2.6s ease-out both;
}

@keyframes draw-link {
  from { stroke-dashoffset:1; }
  to { stroke-dashoffset:0; }
}

@keyframes diagram-reveal {
  from { opacity:0; transform:translateY(5px); }
  to { opacity:1; transform:translateY(0); }
}

.illustration-caption {
  border-top:1px solid var(--line);
  text-align:center;
  padding:12px;
  margin:0;
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
}

.current-support {
  display:flex;
  align-items:baseline;
  gap:30px;
  border-top:1px solid var(--line);
  padding-block:22px 30px;
  font-size:13px;
  line-height:1.7;
}

.current-support strong {
  white-space:nowrap;
}

.current-support p {
  margin:0;
  color:var(--muted);
}

.current-support a {
  color:var(--blue);
  white-space:nowrap;
}

.principle-bar {
  border-block:1px solid var(--line);
  background:#fafbfd;
}

.principle-bar .wrap {
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding-block:23px;
}

.principle-bar span {
  font-size:12px;
  font-weight:550;
  color:#5c6a82;
  display:flex;
  align-items:center;
  gap:10px;
}

.principle-bar span:before {
  content:"+";
  font-family:var(--mono);
  color:var(--blue);
  font-size:14px;
}

.section {
  padding-block:85px;
}

.section-heading {
  max-width:650px;
}

.eyebrow {
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.6px;
  color:var(--blue);
  margin:0 0 15px;
}

h2 {
  font-size:34px;
  letter-spacing:-1.2px;
  line-height:1.2;
  margin:0 0 17px;
  font-weight:660;
}

.section-heading>p:last-child {
  font-size:15px;
  line-height:1.7;
  color:var(--muted);
  margin:0;
}

.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px;
  margin-top:45px;
}

.feature {
  border-top:1px solid var(--line);
  padding-top:22px;
}

.feature-number {
  font:11px var(--mono);
  color:var(--blue);
  display:flex;
  justify-content:space-between;
}

.feature-number span {
  color:#94a6c8;
  font-size:17px;
}

h3 {
  font-size:18px;
  letter-spacing:-.3px;
  font-weight:630;
  margin:24px 0 12px;
}

.feature p {
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
  margin:0;
}

.explanation-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.explanation-card {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:13px;
  padding:32px;
}

.reuse-card {
  background:#f3f6ff;
  border-color:#dce6ff;
}

.explanation-card h2 {
  font-size:28px;
  margin-bottom:15px;
}

.explanation-card p:not(.eyebrow) {
  font-size:14px;
  color:var(--muted);
  line-height:1.8;
  margin:0;
}

.support-graphic {
  display:block;
  width:100%;
  height:auto;
  margin:26px 0 10px;
}

.unknown-node {
  fill:#fff;
  stroke:#8ba0c5;
  stroke-width:2;
  stroke-dasharray:4 4;
}

.unknown-mark {
  fill:var(--blue);
  font-size:29px;
  font-weight:600;
}

.test-envelope {
  fill:#eaf0ff;
  stroke:#9cb8ff;
}

.test-tiles rect {
  fill:var(--blue);
}

.diagram-body {
  fill:var(--ink);
  font-size:14px;
}

.diagram-body.accent-text {
  fill:var(--blue);
}

.explanation-card .explanation-note {
  font-size:12px;
  line-height:1.7;
}

.explanation-card .text-link {
  margin-top:auto;
  padding-top:20px;
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:14px;
  font-size:13px;
  font-weight:650;
  color:var(--blue);
  margin-top:21px;
}

.adapter-table {
  overflow-x:auto;
  margin-top:34px;
  border:1px solid var(--line);
  border-radius:10px;
}

table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:13px;
  min-width:560px;
}

th,td {
  padding:20px 23px;
  border-bottom:1px solid var(--line);
}

thead th {
  background:var(--surface);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:#67738a;
  font-weight:600;
}

tbody th {
  font-weight:600;
  width:22%;
}

tbody td {
  color:var(--muted);
  line-height:1.5;
}

tbody td:last-child {
  width:23%;
}

tbody tr:last-child>* {
  border-bottom:0;
}

.status-badge {
  font-size:10px;
  background:#f1f4f8;
  border:1px solid #e2e7ee;
  color:#647088;
  padding:5px 9px;
  border-radius:5px;
  white-space:nowrap;
}

.reuse-badge {
  color:#244da5;
  background:#edf3ff;
  border-color:#d5e2ff;
}

.table-note {
  font-size:12px;
  line-height:1.7;
  color:#727e91;
  margin:18px 0 0;
}

.table-note a {
  color:var(--blue);
}

.get-started {
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:85px;
  border-top:1px solid var(--line);
  padding-block:74px 88px;
}

.get-started h2 {
  font-size:38px;
}

.get-started>div>p:not(.eyebrow) {
  font-size:14px;
  line-height:1.8;
  color:var(--muted);
  max-width:405px;
  margin:0;
}

.quickstart {
  background:#101a31;
  color:#e2e9fa;
  border-radius:11px;
  overflow:hidden;
  box-shadow:0 15px 30px #101a310c;
}

.code-label {
  padding:16px 22px;
  border-bottom:1px solid #ffffff12;
  color:#8a9ab7;
  font:10px var(--mono);
}

pre {
  margin:0;
  padding:22px;
  font:12px/1.9 var(--mono);
  white-space:pre;
  overflow-x:auto;
}

.code-comment {
  color:#9aabc9;
}

.quickstart>p {
  border-top:1px solid #ffffff12;
  padding:16px 22px;
  font-size:11px;
  line-height:1.75;
  color:#a6b4ce;
  margin:0;
}

.quickstart>p code {
  font-family:var(--mono);
  color:#d8e4fb;
}

.footer {
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  padding-block:28px;
  color:#758298;
  font-size:11px;
}

.footer p {
  margin:0;
  line-height:1.6;
}

.footer p span {
  margin-inline:9px;
  color:#b9c4d5;
}

.footer>div {
  display:flex;
  gap:24px;
}

.footer a:hover {
  color:var(--blue);
}

@media(max-width:1000px) {
  .hero {
    gap:30px;
  }
  .hero h1 {
    font-size:43px;
    letter-spacing:-2px;
  }
  .hero-description {
    font-size:16px;
  }
  .explanation-card {
    padding:26px;
  }
  .get-started {
    gap:40px;
  }
  .hero-actions {
    gap:9px;
  }
  .button {
    gap:16px;
    padding:14px;
  }
}

@media(max-width:760px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .header {
    min-height:88px;
  }
  .brand {
    width:156px;
    height:52px;
  }
  .header nav {
    gap:18px;
    font-size:12px;
  }
  .header nav>a:first-child {
    display:none;
  }
  .nav-source {
    padding:8px 11px;
  }
  .hero {
    grid-template-columns:1fr;
    padding-block:49px 54px;
    gap:35px;
  }
  .hero h1 {
    font-size:clamp(36px,7vw,52px);
    letter-spacing:-1.8px;
  }
  .hero-description {
    max-width:540px;
  }
  .hero-footnote {
    font-size:11px;
  }
  .workflow {
    max-width:550px;
    width:100%;
  }
  .current-support {
    flex-direction:column;
    gap:8px;
  }
  .principle-bar .wrap {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:17px 15px;
    padding-block:23px;
  }
  .principle-bar span {
    font-size:11px;
  }
  .section {
    padding-block:57px;
  }
  h2 {
    font-size:30px;
  }
  .feature-grid {
    grid-template-columns:1fr;
    gap:27px;
    margin-top:31px;
  }
  .feature {
    padding-top:18px;
  }
  .feature h3 {
    margin-top:13px;
  }
  .feature p {
    max-width:580px;
  }
  .explanation-grid {
    grid-template-columns:1fr;
  }
  .explanation-card h2 {
    font-size:27px;
  }
  .get-started {
    grid-template-columns:1fr;
    gap:28px;
    padding-block:48px 53px;
  }
  .get-started h2 {
    font-size:34px;
  }
  .get-started>div>p:not(.eyebrow) {
    max-width:540px;
  }
  .footer {
    align-items:flex-start;
    flex-direction:column;
    gap:18px;
    padding-block:25px;
  }
  .footer>div {
    gap:22px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  .button {
    transition:none;
  }
  .button:hover {
    transform:none;
  }
  .workflow * {
    animation:none !important;
  }
  .replay {
    display:none;
  }
}
