:root {
  color-scheme: light dark;

  --bg: #f6f7f5;
  --surface: #ffffff;
  --text: #0e1613;
  --muted: #4b5752;
  --border: #dde3e0;
  --accent: #0a6e62;
  --accent-hover: #085c52;
  --accent-ink: #ffffff;
  --accent-soft: #e3f1ee;
  --accent-soft-ink: #08584e;
  --grid-line: rgba(14, 22, 19, 0.06);
  --glow: rgba(10, 110, 98, 0.16);
  --focus: #0a6e62;
  --shadow: 0 1px 2px rgba(14, 22, 19, 0.04), 0 8px 24px rgba(14, 22, 19, 0.05);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --radius: 16px;
  --gutter: 16px;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f0e;
    --surface: #111917;
    --text: #e7eeeb;
    --muted: #9fb0aa;
    --border: #22302c;
    --accent: #34c7b1;
    --accent-hover: #5fd6c4;
    --accent-ink: #032520;
    --accent-soft: #143a34;
    --accent-soft-ink: #7fe0d0;
    --grid-line: rgba(231, 238, 235, 0.05);
    --glow: rgba(52, 199, 177, 0.14);
    --focus: #5fd6c4;
    --shadow: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

main {
  flex: 1;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

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

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  padding-block: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  display: block;
  flex: none;
}

.mark-tile {
  fill: var(--accent);
}

.mark-glyph {
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero {
  position: relative;
  isolation: isolate;
  padding-block: 56px 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -96px 0 0;
  z-index: -1;
  background-image:
    radial-gradient(ellipse 60% 55% at 18% 30%, var(--glow), transparent 70%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 30% 35%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 80% at 30% 35%, #000 35%, transparent 100%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.375rem, 1.35rem + 4.6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  margin-top: 24px;
  max-width: var(--measure);
  color: var(--muted);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.button:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
}

.hero-mail {
  color: var(--muted);
  font-weight: 500;
}

.features,
.audience,
.closing {
  padding-block: 48px;
}

h2 {
  font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.25rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.cards {
  margin-top: 32px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card-icon {
  display: block;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 10px;
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent-soft-ink);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-top: 18px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 8px;
  color: var(--muted);
}

.audience-inner {
  display: grid;
  gap: 16px;
}

.audience p {
  max-width: var(--measure);
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  line-height: 1.5;
}

.closing {
  padding-bottom: 72px;
}

.closing-panel {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, var(--glow), transparent 70%),
    var(--surface);
}

.closing-panel p {
  max-width: 44rem;
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  font-weight: 500;
  line-height: 1.5;
}

.site-footer {
  padding-block: 24px 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.hero-notfound {
  padding-block: 72px 96px;
}

@media (min-width: 600px) {
  :root {
    --gutter: 24px;
  }

  .hero {
    padding-block: 80px 96px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .closing-panel {
    padding: 48px;
  }
}

@media (min-width: 960px) {
  :root {
    --gutter: 32px;
  }

  .hero {
    padding-block: 104px 120px;
  }

  .features,
  .audience,
  .closing {
    padding-block: 64px;
  }

  .closing {
    padding-bottom: 96px;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .audience-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: baseline;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
