:root {
  color-scheme: light;
  --page: #f5f7fb;
  --surface: rgba(255, 255, 255, 0.84);
  --ink: #111827;
  --muted: #5b6473;
  --line: #dfe4ec;
  --blue: #155eef;
  --blue-dark: #0c3ca5;
  --shadow: 0 24px 70px rgba(32, 45, 72, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 6%, rgba(21, 94, 239, 0.12), transparent 28rem),
    var(--page);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-header {
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 850;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

.home {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0 120px;
}

.hero {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

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

.hero h1,
.document-title h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.55;
}

.product {
  max-width: 760px;
  margin-top: 100px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.product-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  background: #e9f0ff;
  border-radius: 20px;
  font-size: 31px;
}

.product h2 {
  margin-bottom: 8px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.product p:last-child,
.document p {
  color: var(--muted);
  line-height: 1.7;
}

.document {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 110px;
}

.document-title {
  margin-bottom: 68px;
}

.document-title h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5rem);
}

.document-title > p:last-child {
  font-size: 14px;
}

.document section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.document section h2 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.document section p {
  margin-bottom: 0;
  font-size: 16px;
}

footer {
  min-height: 94px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

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

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

  nav {
    gap: 14px;
  }

  .home {
    width: min(100% - 28px, 1120px);
    padding: 70px 0 88px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.6rem);
  }

  .product {
    margin-top: 70px;
    grid-template-columns: 1fr;
  }

  .document {
    width: min(100% - 28px, 760px);
    padding: 58px 0 80px;
  }

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

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