:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #526070;
  --line: #d7dee8;
  --paper: #f7fafc;
  --panel: #ffffff;
  --navy: #111827;
  --blue: #1d4ed8;
  --cyan: #22d3ee;
  --green: #a7f3d0;
  --amber: #fde68a;
  --orange: #f97316;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: #ffffff;
  background: rgba(17, 24, 39, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--cyan);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: clamp(72px, 12vw, 132px) clamp(20px, 6vw, 88px);
  overflow: hidden;
  color: #ffffff;
  background: var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 10px;
  background: var(--cyan);
}

.hero-art {
  position: absolute;
  inset: 0;
  background-image: url("assets/app-icon.png");
  background-repeat: no-repeat;
  background-position: right clamp(-110px, -8vw, -36px) center;
  background-size: min(62vw, 560px);
  opacity: 0.34;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 16vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.section {
  padding: clamp(58px, 9vw, 104px) clamp(20px, 6vw, 88px);
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.overview {
  background: #ffffff;
}

.overview h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.feature {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

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

.feature:nth-child(1) {
  border-top: 6px solid var(--cyan);
}

.feature:nth-child(2) {
  border-top: 6px solid var(--amber);
}

.feature:nth-child(3) {
  border-top: 6px solid var(--green);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px 20px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.site-footer span {
  color: #ffffff;
  font-weight: 900;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cyan);
}

.doc-page {
  padding: clamp(42px, 8vw, 88px) clamp(20px, 6vw, 88px);
  background: #ffffff;
}

.doc-content {
  max-width: 860px;
  margin: 0 auto;
}

.doc-content h1 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(2.4rem, 7vw, 4.75rem);
  line-height: 1;
}

.doc-content h2 {
  margin: 42px 0 12px;
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.doc-content h3 {
  margin: 28px 0 8px;
  color: var(--navy);
}

.doc-content p,
.doc-content li {
  color: var(--muted);
}

.doc-content a {
  color: var(--blue);
  font-weight: 700;
}

.doc-content code {
  padding: 0.12em 0.32em;
  border-radius: 6px;
  color: var(--navy);
  background: #eef4fb;
}

.doc-content pre {
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f172a;
}

.doc-content pre code {
  padding: 0;
  color: #e5eefb;
  background: transparent;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-art {
    background-position: right -130px center;
    background-size: 440px;
    opacity: 0.2;
  }

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

}
