:root {
  color-scheme: light;
  --bg: #fafafa;
  --bg-elev: #ffffff;
  --ink: #18181b;
  --muted: #71717a;
  --line: color-mix(in srgb, #a1a1aa 45%, transparent);
  --focus: #18181b;
  --btn: #18181b;
  --btn-ink: #fafafa;
  --btn-hover: #27272a;
  --link: #18181b;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #09090b;
  --bg-elev: #0c0c0e;
  --ink: #fafafa;
  --muted: #a1a1aa;
  --line: color-mix(in srgb, #3f3f46 70%, transparent);
  --focus: #fafafa;
  --btn: #fafafa;
  --btn-ink: #09090b;
  --btn-hover: #e4e4e7;
  --link: #fafafa;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #09090b;
    --bg-elev: #0c0c0e;
    --ink: #fafafa;
    --muted: #a1a1aa;
    --line: color-mix(in srgb, #3f3f46 70%, transparent);
    --focus: #fafafa;
    --btn: #fafafa;
    --btn-ink: #09090b;
    --btn-hover: #e4e4e7;
    --link: #fafafa;
  }
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--btn);
  color: var(--btn-ink);
  padding: 0.5rem 0.75rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.mark {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a,
.theme-toggle {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}

.nav a:hover,
.theme-toggle:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}

.theme-toggle {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  padding: 0;
}

.theme-toggle svg {
  width: 1rem;
  height: 1rem;
}

.hero {
  padding: 4.5rem 0 3.5rem;
  max-width: 40rem;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.lede {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}

.btn-primary {
  background: var(--btn);
  color: var(--btn-ink);
}

.btn-primary:hover {
  background: var(--btn-hover);
  text-decoration: none;
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: transparent;
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  text-decoration: none;
}

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

.section h2 {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  margin: 0;
}

.steps strong {
  display: block;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.steps p,
.prose p {
  margin: 0;
  color: var(--muted);
}

.product {
  max-width: 40rem;
}

.product h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.product p + p {
  margin-top: 0.9rem;
}

.note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.contact p {
  margin: 0 0 0.75rem;
  max-width: 36rem;
  color: var(--muted);
}

.contact a[href^="mailto"] {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.95rem;
}

.legal {
  max-width: 40rem;
  padding: 2.5rem 0 4rem;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.legal .meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.legal h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--ink);
}

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

.legal ul {
  padding-left: 1.15rem;
}

.legal li {
  margin: 0.35rem 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.8125rem;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

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

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 800px) {
  .wrap {
    width: min(1120px, calc(100% - 2rem));
  }

  .hero {
    padding-top: 2.75rem;
  }

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

  .nav-product {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
