:root {
  color-scheme: light;
  --background: 0 0% 100%;
  --foreground: 222 14% 12%;
  --card: 0 0% 100%;
  --card-foreground: 222 14% 12%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 8% 43%;
  --primary: 216 96% 52%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 14% 96%;
  --secondary-foreground: 222 14% 16%;
  --border: 220 12% 88%;
  --ring: 216 96% 52%;
  --radius: 0.625rem;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

svg {
  display: block;
  width: 1rem;
  height: 1rem;
  flex: none;
}

.container {
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid hsl(var(--border));
}

.site-header__inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.identity,
.nav {
  display: flex;
  align-items: center;
}

.identity {
  min-width: 0;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
}

.identity a,
.nav a {
  text-decoration: none;
}

.identity__publisher {
  color: hsl(var(--muted-foreground));
}

.identity__separator {
  color: hsl(var(--border));
}

.identity__product {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  gap: 20px;
}

.nav a {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  font-weight: 500;
}

.nav a[aria-current='page'],
.nav a:hover,
.identity a:hover {
  color: hsl(var(--foreground));
}

.button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.button:hover {
  background: hsl(216 92% 45%);
}

.button--outline {
  border-color: hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}

.button--outline:hover {
  background: hsl(var(--muted));
}

.button:focus-visible,
.nav a:focus-visible,
.identity a:focus-visible,
.text-link:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 3px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  border: 1px solid hsl(216 78% 87%);
  border-radius: 999px;
  background: hsl(216 100% 97%);
  color: hsl(216 85% 40%);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
}

.separator {
  width: 100%;
  height: 1px;
  border: 0;
  background: hsl(var(--border));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 72px;
  align-items: end;
  padding: 96px 0 88px;
}

.hero h1 {
  max-width: 650px;
  margin: 20px 0 22px;
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero__lead {
  max-width: 600px;
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.summary-card {
  padding: 8px 20px;
}

.summary-card__row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid hsl(var(--border));
}

.summary-card__row:last-child {
  border-bottom: 0;
}

.summary-card__row svg {
  color: hsl(var(--primary));
}

.summary-card__row span {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
}

.content-section {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 60px;
  padding: 70px 0;
}

.section-heading h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.section-heading p {
  margin: 8px 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 32px 170px minmax(0, 1fr);
  gap: 14px;
  padding: 19px 0;
  border-top: 1px solid hsl(var(--border));
}

.feature-list li:last-child {
  border-bottom: 1px solid hsl(var(--border));
}

.feature-list__icon {
  color: hsl(var(--primary));
}

.feature-list strong {
  font-size: 14px;
  font-weight: 600;
}

.feature-list p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

.privacy-note {
  padding: 24px;
}

.privacy-note h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.privacy-note p {
  margin: 0;
  color: hsl(var(--muted-foreground));
}

.privacy-note .button {
  margin-top: 20px;
}

.document-header {
  padding: 76px 0 52px;
}

.document-header h1 {
  max-width: 720px;
  margin: 17px 0 14px;
  font-size: clamp(38px, 6vw, 54px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.document-header p {
  max-width: 650px;
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 17px;
}

.document-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 64px;
  padding: 52px 0 80px;
}

.document-meta {
  align-self: start;
  position: sticky;
  top: 24px;
}

.document-meta strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.document-meta strong:not(:first-child) {
  margin-top: 16px;
}

.document-meta span,
.document-meta a {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
}

.document-meta a {
  margin-top: 18px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.document-section {
  padding: 0 0 34px;
}

.document-section + .document-section {
  padding-top: 34px;
  border-top: 1px solid hsl(var(--border));
}

.document-section h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.document-section h2 svg {
  color: hsl(var(--primary));
}

.document-section p,
.document-section li {
  color: hsl(var(--muted-foreground));
}

.document-section p {
  margin: 10px 0;
}

.document-section code {
  padding: 2px 5px;
  border-radius: 4px;
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
  font-size: 0.9em;
}

.document-callout {
  margin-top: 8px;
  padding: 20px;
  background: hsl(var(--muted));
}

.document-callout strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.document-callout p {
  margin: 0;
  font-size: 14px;
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-card {
  padding: 22px;
}

.support-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.support-card h2 svg {
  color: hsl(var(--primary));
}

.support-card p,
.support-card ol {
  margin: 0;
  color: hsl(var(--muted-foreground));
}

.support-card ol {
  padding-left: 20px;
}

.support-card code {
  padding: 2px 5px;
  border-radius: 4px;
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
  font-size: 0.9em;
}

.site-footer {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  font-size: 12px;
}

.text-link {
  color: hsl(var(--foreground));
  font-weight: 550;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 960px);
  }

  .nav {
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 72px 0 64px;
  }

  .content-section,
  .document-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .content-section {
    padding: 52px 0;
  }

  .document-header {
    padding: 58px 0 40px;
  }

  .document-layout {
    padding: 40px 0 64px;
  }

  .document-meta {
    position: static;
  }

  .feature-list li {
    grid-template-columns: 28px 1fr;
    gap: 10px;
  }

  .feature-list p {
    grid-column: 2;
  }
}

@media (max-width: 520px) {
  .identity__publisher,
  .identity__separator {
    display: none;
  }

  .nav a:not([aria-current='page']) {
    display: none;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .document-header h1 {
    overflow-wrap: anywhere;
    font-size: 34px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}
