@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #101624;
  --panel: #1c2335;
  --panel-2: #20283b;
  --line: #232c40;
  --line-strong: #2e3850;
  --fg: #f4f6fa;
  --text: #d3d8e2;
  --muted: #a1a9b8;
  --accent: #2fb8d6;
  --accent-hover: #4cc6e1;
  /* Labels on the accent fill are dark: white on this cyan is only 2.6:1. */
  --on-accent: #0b1220;
  --other-bar: #6b7385;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Glows reach past the viewport edge; clip them without creating a scroll container. */
.hero, .section, .footer { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--fg); margin: 0; }
p { margin: 0; }
code, pre { font-family: var(--mono); font-variant-ligatures: none; font-feature-settings: "calt" 0, "liga" 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(1184px + 48px); margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: calc(1062px + 48px); }
.container.narrow { max-width: calc(722px + 48px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 20px; border-radius: 8px;
  font-weight: 500; font-size: 17.5px; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { height: 44px; padding: 0 19.5px; font-size: 17.5px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { color: var(--fg); border: 1px solid #c9ced8; }
.btn-secondary:hover { background: rgba(255,255,255,.06); }
.btn-outline { color: var(--accent); border: 1px solid var(--accent); }
.btn-outline:hover { background: rgba(47,184,214,.1); }

/* Navigation */
.nav { position: relative; z-index: 2; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { color: var(--fg); font-weight: 600; font-size: 32px; letter-spacing: -0.01em; }
.nav nav { display: flex; align-items: center; gap: 37px; }
.nav nav a:not(.btn) { color: var(--text); font-size: 17px; transition: color .15s; }
.nav nav a:not(.btn):hover { color: var(--fg); }
.nav nav .btn { margin-left: -8px; }

/* Hero */
.hero { position: relative; padding-top: 93px; }
.hero-grid {
  position: absolute; inset: 0 0 auto auto; width: 50%; height: 640px; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 55% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 65% at 55% 45%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 569px; gap: 41px; align-items: start; }
.hero-eyebrow { color: var(--muted); font-size: 19px; line-height: 1.4; }
.hero h1 { font-size: 52px; line-height: 55px; font-weight: 700; letter-spacing: -0.03em; margin: 13px 0 22px; }
.hero-lede { color: var(--muted); font-size: 19px; line-height: 28.5px; max-width: 586px; }

.chip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 572px; max-width: 100%; height: 47px; margin-top: 24px; padding: 0 12px 0 18px;
  background: #1c2335; border: 1px solid var(--line-strong); border-radius: 8px;
}
.chip code { font-size: 15px; color: var(--fg); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.prompt { color: var(--accent); }
.copy {
  display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; flex: none;
  background: none; border: 0; border-radius: 6px; color: var(--muted); cursor: pointer;
}
.copy svg { width: 20px; height: 20px; }
.copy:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.copy.done { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 25px; }

/* Hero visual: the document and the services reading it */
.doc-visual { position: relative; width: 569px; height: 240px; margin-top: 52px; color: var(--accent); }
.doc-visual::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: -150px; bottom: -110px; z-index: -1;
  background: radial-gradient(closest-side, rgba(47,184,214,.26), rgba(47,184,214,.07) 60%, transparent);
}
.wires { position: absolute; inset: 0; width: 569px; height: 240px; overflow: visible; }
.doc {
  position: absolute; left: 123px; top: 15px; width: 322px; height: 205px;
  background: var(--panel-2); border: 1px solid #2e3b55; border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(47,184,214,.12);
}
.doc-title { height: 45px; padding: 0 18px; display: flex; align-items: center; font: 400 15px/1.5 var(--mono); color: var(--text); border-bottom: 1px solid #2b3550; }
.doc-body { margin: 0; padding: 12px 0 14px 18px; font-size: 14.4px; line-height: 25.3px; color: var(--text); white-space: pre; }
.doc-body .hl { display: inline-block; margin: 0 0 0 -10px; padding: 0 10px; width: 301px; border-radius: 6px; background: rgba(47,184,214,.22); }
.doc-body .k { color: #6fd3ea; }
.doc-body .s { color: #a5e8a0; }
.doc-body .n { color: #f0b46a; }
.pill {
  position: absolute; height: 31px; padding: 0 12px; display: flex; align-items: center;
  font-size: 16.5px; color: var(--text); background: #1c2233; border: 1px solid #384360; border-radius: 999px;
}
.pill.l { right: calc(569px - 68px); }
.pill.r { left: 500px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 60px 0 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px 0 26px;
}
.stats div { text-align: center; padding: 0 10px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: 42px; font-weight: 700; line-height: 1; color: #c9cedb; letter-spacing: -0.03em; }
.stats dt.accent { color: var(--accent); }
.stats dd { margin: 3px 0 0; color: var(--text); font-size: 17px; line-height: 26px; }

/* Sections */
.section { padding: 120px 0 0; }
.section-head { margin-bottom: 20px; }
.section-head.center { text-align: center; margin-bottom: 42px; }
#get-started .section-head.center { margin-bottom: 30px; }
#get-started .section-head.center h2 { font-size: 37px; line-height: 40px; letter-spacing: -0.025em; margin-top: 5px; }
.eyebrow { color: var(--accent); font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.section h2 { font-size: 41px; line-height: 42.3px; font-weight: 700; letter-spacing: -0.028em; margin-top: 5px; }
.section-head.center h2 { font-size: 50px; line-height: 51px; letter-spacing: -0.035em; margin-top: 16px; }
.sub { color: var(--muted); font-size: 15px; margin-top: 8.5px; }
.section-head.center .sub { font-size: 19.5px; margin-top: 10px; }

/* Feature cards */
.card { background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 20px 21px 24px; }
.features .card { border-color: #3a4864; box-shadow: 0 0 36px 2px rgba(47,184,214,.28); }
.card h3 { font-size: 21.5px; font-weight: 650; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 16.2px; line-height: 24.6px; margin-top: 3px; }
.card p code { font-size: 14px; color: var(--text); background: rgba(255,255,255,.06); border-radius: 4px; padding: 1px 4px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; position: relative; }
.features::before {
  content: ""; position: absolute; inset: -60px -90px; z-index: -1;
  background: radial-gradient(closest-side, rgba(47,184,214,.22), transparent);
}
.features .card { min-height: 230px; }
.features .icon { width: 48px; height: 48px; color: var(--accent); display: block; margin: 0 0 7.5px; }

/* Bar chart */
.chart { margin: 0; background: var(--panel); border: 1px solid rgba(47,184,214,.75); border-radius: var(--radius); padding: 19px 24px 19px 14px; box-shadow: 0 0 40px 2px rgba(47,184,214,.22); }
.bars { --max: 1080; width: 100%; border-collapse: collapse; }
.bars tbody + tbody tr:first-child > * { border-top: 1px solid var(--line-strong); padding-top: 9px; }
.bars tbody + tbody tr:first-child .track > span { margin-top: 4.5px; }
.bars tbody:first-child tr:last-child > * { padding-bottom: 9px; }
.bars th.group { width: 28px; padding: 0; color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.bars th.group span { display: inline-block; transform: rotate(-90deg); }
.bars th[scope=row] { width: 94px; text-align: right; font-weight: 400; font-size: 15px; color: var(--text); padding: 0 9px 0 0; white-space: nowrap; height: 23px; }
.bars td { padding: 0; }
.track { position: relative; }
.track > span { position: absolute; top: 50%; transform: translateY(-50%); }
.bar { left: 0; height: 17px; width: calc(var(--v) / var(--max) * 100%); background: var(--other-bar); border-radius: 3px; }
.bar.ours { background: var(--accent); }
.val { left: calc(var(--v) / var(--max) * 100% + 7px); font-size: 15px; line-height: 1; color: var(--text); }
.footnote { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 17px; }
.footnote code { font-size: 12.5px; }
.footnote a, .panel-note a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.footnote a:hover, .panel-note a:hover { text-decoration-color: var(--accent); }

/* Durability table */
#durability { padding-top: 68px; }
.fsync-wrap { background: var(--panel); border: 1px solid rgba(47,184,214,.75); border-radius: var(--radius); padding: 6px 12px 6px; box-shadow: 0 0 40px 2px rgba(47,184,214,.22); }
.fsync { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 15px; }
.fsync th, .fsync td { height: 34px; padding: 0 0 0 12px; text-align: left; font-weight: 400; color: var(--text); }
.fsync thead th { height: 34px; color: #b1b8c6; font-weight: 600; border-bottom: 1px solid var(--line-strong); }
.fsync thead th code { font-weight: 400; }
.fsync code { font-size: 14.5px; }
.fsync tbody tr:first-child > * { padding-top: 4px; }
.fsync tr.default > * { background: #252d41; }
.fsync tr.default > :first-child { border-radius: 6px 0 0 6px; }
.fsync tr.default > :last-child { border-radius: 0 6px 6px 0; }
.tick { width: 22px; height: 22px; color: var(--accent); vertical-align: middle; margin-left: -2px; }

/* Get started */
.code-panel { position: relative; background: var(--panel-2); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.tabs { display: flex; align-items: stretch; height: 41px; padding: 0 0 0 0; border-bottom: 1px solid var(--line-strong); background: #1f2739; }
.tabs [role=tab] { background: none; border: 0; padding: 0 16px; font-size: 14.5px; color: var(--text); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs [role=tab]:first-child { padding: 0 20px 0 16px; }
.tabs [role=tab]:hover { color: var(--fg); }
.tabs [role=tab][aria-selected=true] { color: var(--accent); border-bottom-color: var(--accent); }
.copy-solid { position: absolute; right: 9px; top: 50px; width: 29px; height: 29px; background: var(--accent); color: var(--on-accent); }
.copy-solid svg { width: 18px; height: 18px; }
.copy-solid:hover { background: var(--accent-hover); color: var(--on-accent); }
.copy-solid.done { color: var(--on-accent); background: #7fdcef; }
.pane { padding: 23px 50px 24px 16px; min-height: 86px; }
.pane pre { margin: 0; font-size: 13.5px; line-height: 21px; color: var(--fg); overflow-x: auto; }
.panel-note { color: var(--muted); font-size: 14px; margin-top: 9px; }
.panel-note code { font-size: 13.5px; }
.link { color: var(--accent); font-weight: 400; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; }
.card-flat { padding: 16px 15px 17px; }
.card-flat h3 { font-size: 19.5px; }
.card-flat p { color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 12px; }
.snippet { margin: 12px 0 0; padding: 10px 12px; background: #1a2030; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 13px; line-height: 19px; color: var(--fg); }
.card-flat .link { display: inline-block; margin-top: 10px; font-size: 14.5px; }
.dots { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 22.7px; list-style: "·  "; }
.dots li::marker { color: var(--muted); }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 41px; padding: 12px 24px 12px 25px;
  background: linear-gradient(180deg, #1d2436, #1a2132);
  border: 1px solid rgba(47,184,214,.45); border-radius: var(--radius);
  box-shadow: 0 0 50px 6px rgba(47,184,214,.34);
}
.section .cta h2 { font-size: 19.5px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; margin: 0; max-width: 330px; }
.cta .actions { margin: 0; gap: 11px; flex-wrap: nowrap; }
.cta .btn { height: 36px; font-size: 15px; font-weight: 600; padding: 0 22px; }

/* Footer */
.footer { margin-top: 41px; padding: 0 0 60px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line-strong); padding-top: 26px; }
.footer .container { padding-top: 0; }
.footer .brand { font-size: 25px; }
.footer-brand p { color: var(--muted); margin-top: 16px; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: 132px 143px max-content; }
.footer-cols div { display: flex; flex-direction: column; line-height: 22.7px; }
.footer-cols p { color: var(--text); font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.footer-cols a { color: var(--muted); font-size: 15px; }
.footer-cols a:hover { color: var(--fg); }

/* Narrow screens */
@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .doc-visual { margin: 24px auto 0; }
  .hero-grid { width: 100%; }
}
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr 1fr; }
  .pair { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .stats div:nth-child(3) { border-left: 0; }
  .cta { flex-direction: column; align-items: flex-start; }
  .section .cta h2 { max-width: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav nav a:not(.btn) { display: none; }
  .nav-inner { height: 68px; }
  .brand { font-size: 24px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 32px; line-height: 36px; }
  .hero-lede { font-size: 17.5px; line-height: 26px; }
  .chip { width: 100%; }
  .chip code { font-size: 13px; }
  .section h2 br { display: none; }
  /* The six-service drawing needs 569 px; on a phone show the document alone. */
  .doc-visual { width: 100%; height: auto; margin-top: 8px; }
  .wires, .pill { display: none; }
  .doc { position: relative; left: 0; top: 0; width: 100%; max-width: 340px; margin: 0 auto; }
  .stats dt { font-size: 34px; }
  .stats dd { font-size: 15px; line-height: 22px; }
  .stats div { padding: 0 10px; }
  .section { padding-top: 88px; }
  .section h2, .section-head.center h2 { font-size: 31px; line-height: 35px; }
  .section-head.center { margin-bottom: 40px; }
  .features { grid-template-columns: 1fr; }
  .features .card { min-height: 0; }
  .bars th[scope=row] { width: 92px; font-size: 13.5px; }
  .bars { --max: 1400; }
  .fsync { font-size: 13.5px; table-layout: auto; }
  .fsync code { font-size: 13px; }
  .fsync th, .fsync td { padding: 6px 6px 6px 8px; height: auto; }
  .pane pre { font-size: 12.5px; }
  .footer-inner { flex-direction: column; }
  .footer-cols { grid-template-columns: repeat(3, auto); gap: 24px; justify-content: start; }
}
