:root {
  color-scheme: light;
  --background: 40 20% 98%;
  --foreground: 220 12% 12%;
  --card: 0 0% 100%;
  --card-foreground: 220 12% 12%;
  --muted: 36 12% 94%;
  --muted-foreground: 220 7% 42%;
  --primary: 220 12% 12%;
  --primary-foreground: 0 0% 100%;
  --accent: 216 96% 52%;
  --accent-foreground: 0 0% 100%;
  --border: 220 9% 87%;
  --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.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.container {
  width: min(1040px, 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;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: hsl(var(--foreground));
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.wordmark__mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 6px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__link {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.nav__link:hover {
  color: hsl(var(--foreground));
}

.button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  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,
    color 140ms ease,
    border-color 140ms ease;
}

.button:hover {
  background: hsl(220 12% 20%);
}

.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__link:focus-visible,
.wordmark: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(var(--border));
  border-radius: 999px;
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hero {
  padding: 104px 0 96px;
}

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

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

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

.section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  padding: 72px 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;
}

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

.product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
}

.product__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid hsl(216 90% 88%);
  border-radius: calc(var(--radius) - 1px);
  background: hsl(216 100% 97%);
  color: hsl(var(--accent));
}

.product__icon svg {
  width: 22px;
  height: 22px;
}

.product h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

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

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

.principles li {
  display: grid;
  grid-template-columns: 32px 145px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 19px 0;
  border-top: 1px solid hsl(var(--border));
}

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

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

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

.principles span {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

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

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

  .nav__link {
    display: none;
  }

  .hero {
    padding: 76px 0 68px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 52px 0;
  }

  .product {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 18px;
  }

  .product .button {
    grid-column: 1 / -1;
  }

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

  .principles span {
    grid-column: 2;
  }

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