:root {
  color-scheme: light;
  --navy: #071a38;
  --navy-soft: #13294a;
  --gold: #d9b35c;
  --ink: #101d30;
  --muted: #637084;
  --line: #dce2ea;
  --paper: #f6f7f9;
  --white: #fff;
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.inline-link {
  color: var(--navy);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--navy);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.brand img {
  display: block;
  border-radius: 50%;
}

.brand-divider {
  padding: 0 4px;
  color: #58677a;
  font-weight: 400;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.site-footer nav a {
  color: #4a586d;
  font-size: 13px;
  font-weight: 580;
}

.site-nav a:hover,
.site-footer nav a:hover {
  color: var(--navy);
}

.site-nav .language-link {
  padding-left: 26px;
  border-left: 1px solid var(--line);
  color: var(--navy);
  font-weight: 720;
}

.site-nav .nav-cta {
  padding: 11px 15px;
  border-radius: 3px;
  background: var(--navy);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  align-items: center;
  gap: 56px;
  width: min(1160px, calc(100% - 64px));
  min-height: 570px;
  margin: 0 auto;
  padding: 64px 0 84px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow,
.section-kicker,
.platform-label,
.feature-index,
.flow-card-head,
.hero-meta,
.footer-brand {
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.13em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: #7b6740;
}

.eyebrow-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(40px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 570px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 140ms ease, color 140ms ease;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-primary:hover {
  border-color: var(--navy-soft);
  background: var(--navy-soft);
}

.button-secondary {
  background: transparent;
  color: var(--navy);
}

.button-secondary:hover {
  background: #e8ebf0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
  color: #58677a;
  font-size: 9px;
}

.flow-card {
  overflow: hidden;
  padding: 26px 28px 20px;
  border: 1px solid #243858;
  border-radius: 5px;
  background: var(--navy);
  box-shadow: 0 24px 60px rgb(7 26 56 / 13%);
  color: var(--white);
}

.flow-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 23px;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  color: #d9e1eb;
  font-size: 9px;
}

.flow-badge {
  padding: 6px 8px;
  border: 1px solid rgb(217 179 92 / 55%);
  border-radius: 2px;
  color: var(--gold);
}

.flow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 4px 0 8px;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 22px 0;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.flow-number {
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.flow-list strong {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-size: 15px;
}

.flow-list p {
  margin: 0;
  color: #b8c2d0;
  font-size: 12px;
  line-height: 1.6;
}

.flow-card-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 17px;
  color: #b8c2d0;
  font-size: 10px;
}

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

.content-section,
.install-section,
.scope-section {
  padding: 88px max(32px, calc((100% - 1160px) / 2));
}

.content-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 46px;
  color: #755d2e;
}

.section-kicker span {
  color: #58677a;
}

.section-content {
  max-width: 1160px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 44px;
}

.section-heading h2,
.install-heading h2,
.scope-content h2,
.release-banner h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.section-heading p,
.install-heading p,
.scope-content p {
  max-width: 490px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.feature-card {
  min-height: 198px;
  padding: 24px;
}

.feature-card + .feature-card {
  border-left: 1px solid var(--line);
}

.feature-index {
  color: #755d2e;
  font-size: 9px;
}

.feature-card h3 {
  margin: 27px 0 10px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

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

.install-section {
  background: var(--paper);
}

.install-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin: -15px 0 36px;
}

.install-heading p {
  max-width: 340px;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.install-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.install-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.platform-label {
  color: #755d2e;
  font-size: 9px;
}

.platform-name {
  color: var(--navy);
  font-size: 21px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.install-card > p:not(.install-note) {
  min-height: 42px;
  margin: 20px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 17px;
  border-radius: 3px;
  background: var(--navy);
  color: #f4f6f9;
  font-size: 11px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

pre code,
.cursor-steps code,
.install-note code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.cursor-steps {
  display: grid;
  gap: 16px;
  min-height: 139px;
  margin: 20px 0 20px;
  padding-left: 19px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.cursor-steps li::marker {
  color: #755d2e;
  font-weight: 750;
}

.cursor-steps strong {
  color: var(--ink);
}

.cursor-steps code,
.install-note code {
  padding: 2px 4px;
  border-radius: 2px;
  background: #eef1f5;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.install-note {
  margin: 16px 0 0;
  color: #68768a;
  font-size: 11px;
  line-height: 1.7;
}

.scope-section {
  border-top: 1px solid var(--line);
  background: #fff;
}

.scope-content {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: start;
}

.scope-content p {
  margin-top: 18px;
}

.scope-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.scope-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: #425066;
  font-size: 12px;
  line-height: 1.7;
}

.scope-list li span {
  color: #755d2e;
  font-weight: 800;
}

.release-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto 80px;
  padding: 35px 38px;
  border-radius: 4px;
  background: #e9edf2;
}

.release-banner .eyebrow {
  margin-bottom: 11px;
  font-size: 9px;
}

.release-banner h2 {
  max-width: 660px;
  font-size: clamp(23px, 3vw, 34px);
}

.site-footer {
  flex-wrap: wrap;
  gap: 20px;
  min-height: 104px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--navy);
  font-size: 10px;
}

.footer-brand span {
  margin-left: 6px;
  color: #58677a;
  font-size: 8px;
}

.site-footer nav {
  gap: 20px;
}

.site-footer nav a {
  font-size: 11px;
}

.site-footer p {
  margin: 0;
  color: #58677a;
  font-size: 10px;
}

@media (max-width: 800px) {
  .site-header,
  .site-footer {
    width: min(100% - 40px, 620px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 18px 0;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 15px 20px;
  }

  .site-nav .language-link {
    margin-left: auto;
    padding-left: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    width: min(100% - 40px, 620px);
    min-height: auto;
    padding: 58px 0 68px;
  }

  .flow-card {
    max-width: 560px;
  }

  .content-section,
  .install-section,
  .scope-section {
    padding: 68px max(20px, calc((100% - 620px) / 2));
  }

  .section-heading,
  .scope-content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card + .feature-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-card h3 {
    margin-top: 20px;
  }

  .install-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-top: -15px;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }

  .release-banner {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 40px, 620px);
    margin-bottom: 52px;
    padding: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .site-nav {
    gap: 12px 16px;
  }

  .site-nav a {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(28px, 8.5vw, 36px);
  }

  .hero-meta {
    gap: 10px;
    font-size: 8px;
  }

  .install-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
