:root {
  color-scheme: dark;
  --page: #0e1115;
  --surface: #171b21;
  --surface-raised: #1c2229;
  --surface-blue: #142734;
  --text: #f5f3ef;
  --muted: #a9afb6;
  --quiet: #7f8993;
  --blue: #3d9ddd;
  --blue-bright: #86c9f0;
  --code: #0a0d11;
  --radius: 16px;
  --font-sans: "Instrument Sans";
  --font-mono: "JetBrains Mono";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #111820 0, var(--page) 560px, var(--page) 100%);
  font-family: var(--font-sans), "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 4px; }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(1140px, calc(100% - 32px));
  min-height: 68px;
  margin: 10px auto 0;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 650;
  letter-spacing: -0.018em;
}
.brand img { width: 32px; height: 32px; border-radius: 7px; }
nav { display: flex; gap: 23px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 550; }
nav a { transition: color 160ms ease, background 160ms ease, transform 160ms ease; }
nav a:hover, .text-link:hover { color: white; }
.nav-download { padding: 8px 15px; border-radius: 9px; color: white; background: #267fba; }
.nav-download:hover { background: #318fcf; }

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}
.hero {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  min-height: 570px;
  padding-top: 42px;
  padding-bottom: 88px;
}
.section-label { margin: 0 0 14px; color: var(--blue-bright); font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-sans), sans-serif; }
h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(35px, 3.5vw, 45px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.07;
}
h2 {
  margin: 0;
  font-size: clamp(27px, 2.7vw, 35px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.16;
}
h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.hero-intro { max-width: 580px; margin: 21px 0 0; color: var(--muted); font-size: 17px; }
.protocol-list { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.protocol-list span {
  padding: 6px 11px;
  border-radius: 999px;
  color: #c4e7fb;
  background: #193448;
  font-size: 12px;
  font-weight: 700;
}
.protocol-list span:nth-child(2) { color: #ded1f5; background: #302840; }
.protocol-list span:nth-child(3) { color: #f1d5ae; background: #392d21; }
.hero-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  min-height: 47px;
  padding: 0 20px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}
.button-primary { color: white; background: linear-gradient(135deg, #237fbd, #2e96d7); }
.button-primary:hover { background: linear-gradient(135deg, #2a88c7, #39a0df); }
.button-secondary { color: #dfe4e8; background: #1c232b; }
.button-secondary:hover { background: #242c35; }
.small-print { margin: 14px 0 0; color: var(--quiet); font-size: 12px; }
.product-shot {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 26px 62px rgb(0 0 0 / 0.3);
}
.screenshot-crop {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 26px 62px rgb(0 0 0 / 0.3);
}
.wide-shot { aspect-ratio: 986 / 693; }
.hero-shot { width: calc(100% + 34px); justify-self: end; }
.wide-shot .product-shot {
  position: absolute;
  top: -6.93%;
  left: -4.87%;
  width: 109.74%;
  max-width: none;
  box-shadow: none;
}
.setup-shot { aspect-ratio: 646 / 681; }
.setup-shot .product-shot {
  position: absolute;
  top: -7.93%;
  left: -33.75%;
  width: 167.49%;
  max-width: none;
  box-shadow: none;
}

.section-heading { max-width: 690px; }
.wide-heading { max-width: 790px; }
.section-heading > p:last-child, .split-copy > p:not(.section-label) {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 38px;
}
.feature-grid article {
  min-height: 176px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #191e25, #15191f);
}
.feature-grid article:first-child { background: linear-gradient(145deg, #183041, #13242f); }
.feature-grid p, .rollout-grid p, .trust-section p { margin: 10px 0 0; color: var(--muted); }

.split-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: clamp(48px, 7vw, 84px);
  align-items: center;
}
.sync-section { margin-top: 120px; align-items: start; }
.split-copy ul { display: grid; margin: 24px 0 0; padding-left: 20px; gap: 7px; color: #c6ced6; }
.split-copy li::marker { color: var(--blue); }

#teams { padding-top: 116px; padding-bottom: 38px; }
.rollout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 40px 0 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}
.rollout-grid li {
  display: block;
  min-height: 244px;
  padding: 25px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #191e25, #15191f);
}
.rollout-grid span {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 26px;
  border-radius: 9px;
  place-items: center;
  color: #b9e2ff;
  background: #173d58;
  font-size: 13px;
  font-weight: 800;
}
code {
  padding: 2px 6px;
  border-radius: 6px;
  color: #bde4ff;
  background: #12334a;
  font-family: var(--font-mono), Consolas, monospace;
  font-size: 0.84em;
}
.plain-note { margin: 15px 0 0; padding: 17px 19px; border-radius: 12px; color: #b7c6d0; background: linear-gradient(110deg, #142936, #12222d); font-size: 14px; }

.profiles-section { margin-top: 112px; }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 38px;
}
.profile-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #0d1116, var(--code));
}
.profile-card header { padding: 24px; background: linear-gradient(145deg, #1e252d, #191f26); }
.profile-card header p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.profile-kind {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 5px 9px;
  border-radius: 7px;
  color: #c4e7fb;
  background: #193448;
  font-size: 11px;
  font-weight: 650;
}
.profile-card:nth-child(2) .profile-kind { color: #ded1f5; background: #302840; }
.profile-card:nth-child(3) .profile-kind { color: #f1d5ae; background: #392d21; }
pre {
  overflow: auto;
  margin: 0;
  padding: 21px;
  max-height: 300px;
  color: #cddaea;
  font-family: var(--font-mono), Consolas, monospace;
  font-size: 11px;
  line-height: 1.65;
  tab-size: 2;
}
pre code { padding: 0; color: inherit; background: transparent; font-size: inherit; }
.profile-caption { margin: 18px 0 0; color: var(--quiet); font-size: 13px; }

.clarity-section { padding-top: 38px; }
.setup-section { grid-template-columns: 1.16fr 0.84fr; align-items: start; }
.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue-bright);
  font-weight: 740;
  text-decoration: underline;
  text-decoration-color: #315e7b;
  text-underline-offset: 4px;
}
.trust-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 76px;
}
.trust-section > div { padding: 26px; border-radius: var(--radius); background: linear-gradient(145deg, #191e25, #15191f); }

.download-section {
  display: grid;
  grid-template-columns: auto 1fr auto;
  width: min(1120px, calc(100% - 40px));
  margin: 18px auto 72px;
  padding: 32px 36px;
  gap: 22px;
  align-items: center;
  border-radius: 17px;
  background: linear-gradient(110deg, #17364a, #11283a);
}
.download-section > img { width: 48px; height: 48px; border-radius: 9px; }
.download-section h2 { font-size: 25px; }
.download-section p { margin: 2px 0 0; color: #b8c9d6; }

footer {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 4px 42px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand img { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero, .split-section, .setup-section { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 72px; }
  .hero-copy { max-width: 720px; }
  .product-shot { max-width: 760px; }
  .hero-shot { width: 100%; }
  .rollout-grid { grid-template-columns: 1fr; }
  .rollout-grid li { min-height: 0; }
  .rollout-grid span { margin-bottom: 18px; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-kind { margin-bottom: 16px; }
  .profile-card pre { max-height: 330px; }
  .setup-section .setup-shot { order: 2; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 28px); margin-top: 6px; }
  .site-header nav a:not(.nav-download) { display: none; }
  .section { width: calc(100% - 28px); padding: 76px 0; }
  .hero { padding-top: 58px; padding-bottom: 82px; }
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .hero-intro { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .feature-grid, .trust-section { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; }
  .sync-section, .profiles-section { margin-top: 82px; }
  .download-section { grid-template-columns: auto 1fr; width: calc(100% - 28px); margin-bottom: 54px; padding: 25px; }
  .download-section .button { grid-column: 1 / -1; }
  footer { align-items: flex-start; }
  footer nav { flex-direction: column; gap: 8px; align-items: flex-end; }
}

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