/* Same tokens as app/constants/theme.ts so the web and the app look like one product */
:root {
  --background: #F5F6F4;
  --surface: #FFFFFF;
  --border: #DFE3DE;
  --text: #0F1712;
  --muted: #5C6861;
  --accent: #0E8A47;
  --accent-soft: rgba(14, 138, 71, 0.10);
  --on-accent: #FFFFFF;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0A0E0C;
    --surface: #131916;
    --border: #24302A;
    --text: #E9EEEA;
    --muted: #8A978F;
    --accent: #34D27D;
    --accent-soft: rgba(52, 210, 125, 0.12);
    --on-accent: #04140B;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 24px; }
main { flex: 1; }
.narrow { max-width: 720px; }

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.2px;
}

.brand img { width: 36px; height: 36px; border-radius: 8px; }

nav a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 24px; }
nav a:hover { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0 80px;
}

.hero img {
  width: 100%;
  max-width: 320px;
  justify-self: center;
  border-radius: 24px;
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -1.6px; margin: 16px 0; }
h2 { font-size: 24px; letter-spacing: -0.4px; margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 0 0 8px; }

.lead { font-size: 20px; color: var(--muted); margin: 0 0 32px; }

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.button:hover { opacity: 0.9; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 80px;
}

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

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

.doc { padding: 32px 0 80px; }
.doc h1 { font-size: 40px; letter-spacing: -1px; }
.doc li { margin-bottom: 8px; }
.doc .card { margin: 24px 0; }

footer { border-top: 1px solid var(--border); padding: 32px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer nav a { margin: 0 24px 0 0; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; text-align: center; }
  .hero img { max-width: 200px; grid-row: 1; }
  .features { grid-template-columns: 1fr; }
  header nav { display: none; }
}
