:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #1c2230;
  --text-dim: #565f70;
  --accent: #1f3d5c;
  --accent-2: #c98a2b;
  --border: #e3ddd0;
  --tablet-frame: #1c2230;
  --tablet-screen: #ffffff;
  --pill: #eef1f5;
  --pill-taken: #f2e4cc;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12151d;
    --surface: #1a1f2b;
    --text: #ecebe6;
    --text-dim: #a7aec0;
    --accent: #7fa8d6;
    --accent-2: #e0ac52;
    --border: #2a2f3d;
    --tablet-frame: #0c0e14;
    --tablet-screen: #1a1f2b;
    --pill: #232a38;
    --pill-taken: #3a3226;
  }
}

:root[data-theme="dark"] {
  --bg: #12151d;
  --surface: #1a1f2b;
  --text: #ecebe6;
  --text-dim: #a7aec0;
  --accent: #7fa8d6;
  --accent-2: #e0ac52;
  --border: #2a2f3d;
  --tablet-frame: #0c0e14;
  --tablet-screen: #1a1f2b;
  --pill: #232a38;
  --pill-taken: #3a3226;
}

* { box-sizing: border-box; }

html { color-scheme: light dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; color: var(--text-dim); }

a { color: inherit; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

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

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.wordmark span { color: var(--accent-2); }

.hero {
  padding: 72px 0 48px;
}

.hero-row {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-copy { flex: 1 1 480px; min-width: 280px; }
.hero-art { flex: 1 1 320px; min-width: 260px; max-width: 360px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 0.75em;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text);
}

.lede {
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-email {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
}

.hero-art svg { width: 100%; height: auto; display: block; }

.tablet-frame { fill: var(--tablet-frame); }
.tablet-screen { fill: var(--tablet-screen); }
.ui-title { fill: var(--text); opacity: 0.85; }
.ui-dot { fill: var(--accent-2); }

.ui-row rect:first-child { fill: var(--pill); }
.ui-line { fill: var(--text); opacity: 0.75; }
.ui-line-dim { fill: var(--text-dim); opacity: 0.6; }
.ui-pill { fill: var(--accent); opacity: 0.85; }
.ui-pill-taken { fill: var(--accent-2); opacity: 0.9; }

.ui-banner { fill: var(--accent); opacity: 0.12; stroke: var(--accent); stroke-opacity: 0.4; }
.ui-banner-line { fill: var(--accent); }
.ui-banner-dim { fill: var(--text-dim); }
.ui-banner-cta { fill: var(--accent-2); }

.ui-tap { fill: var(--pill); }
.ui-tap-wave { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linecap: round; }

section h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 0.75em;
}

.features { padding: 56px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

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

.feature h3 {
  font-size: 1.05rem;
  color: var(--accent);
}

.feature p { margin: 0; font-size: 0.95rem; }

.why { padding: 24px 0 64px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.why-item h3 {
  color: var(--accent-2);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.why-item p { font-size: 0.95rem; margin: 0; }

.proof {
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof p {
  text-align: center;
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 auto;
}

.contact {
  padding: 72px 0;
  text-align: center;
}

.contact-inner p {
  max-width: 40ch;
  margin: 0 auto 1.5em;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 760px) {
  .hero-row { flex-direction: column-reverse; }
  .hero-copy, .hero-art { flex: 1 1 auto; max-width: none; }
  .hero { padding: 48px 0 32px; }
  .hero h1 { text-align: left; }
}
