/* Same Inter subset the web app vendors; self-hosted so no visitor data goes
   to a font CDN. */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

/* Dark only, matching the web app's dark shadcn tokens. */
:root {
  color-scheme: dark;
  --background: #0a0a0a;
  --foreground: #fafafa;
  --muted-foreground: #a3a3a3;
  --surface: #171717;
  --border: #262626;
  --radius: 0.75rem;
}

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

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

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    "Inter Variable",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

/* Header */

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.logo-link {
  display: inline-flex;
  color: var(--foreground);
}

.logo {
  display: block;
  height: 1.75rem;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--foreground);
}

@media (max-width: 560px) {
  .nav-optional {
    display: none;
  }
}

/* Hero */

.hero {
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(3.5rem, 10vw, 6.5rem);
}

.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 38rem;
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
}

/* Sections */

.section {
  padding: clamp(3.5rem, 9vw, 5.5rem) 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.section p + p {
  margin-top: 1rem;
}

.section p {
  max-width: 38rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.875rem;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 650;
}

.step p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.feature-list li {
  padding: 1rem 0 1rem 1.75rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--foreground);
}

.contact-email {
  margin-top: 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.footer-title {
  margin-bottom: 1.25rem;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
}

.legal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem 2rem;
  margin: 0;
}

.legal dt {
  margin-bottom: 0.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal dd {
  margin: 0;
  color: var(--foreground);
  overflow-wrap: anywhere;
}

.copyright {
  margin-top: 2.5rem;
  font-size: 0.875rem;
}

/* 404 */

.not-found {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 2rem 1rem;
  text-align: center;
}

.not-found .logo {
  height: 2rem;
  margin: 0 auto 2.5rem;
}

.not-found h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.not-found p {
  color: var(--muted-foreground);
}

.not-found p + p {
  margin-top: 1.5rem;
}
