:root {
  --primary: #265EBB;
  --primary-ink: #1d4a98;
  --accent: #F6813F;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --fg-1: #0f1115;
  --fg-2: #4b5260;
  --fg-3: #8a93a3;
  --border: #e7e9ef;
  --max-w: 880px;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d10;
    --bg-soft: #14171c;
    --fg-1: #f4f5f7;
    --fg-2: #b9c1cd;
    --fg-3: #7a8190;
    --border: #1f242c;
    --primary: #4a86e8;
    --primary-ink: #6da1f0;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg-1);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 24px 64px;
}

/* ── Brand bar ─────────────────────────────────────────── */

.brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-1);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo:hover { text-decoration: none; }

.logo span {
  font-size: 18px;
}

/* ── Hero ──────────────────────────────────────────────── */

.hero h1 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--fg-1);
}

.hero__top { display: block; color: var(--fg-2); }
.hero__bottom { display: block; color: var(--fg-1); }

.hero__sub {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--fg-2);
  max-width: 600px;
  margin: 0 0 40px;
}

/* ── CTA ───────────────────────────────────────────────── */

.cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 100px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 80ms ease, background-color 120ms ease;
}

.btn:hover { text-decoration: none; }

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

.btn--primary:hover {
  background: var(--primary-ink);
  transform: translateY(-1px);
}

.cta__hint {
  font-size: 14px;
  color: var(--fg-3);
}

/* ── Features ──────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.features article h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--fg-1);
}

.features article p {
  font-size: 15px;
  color: var(--fg-2);
  margin: 0;
}

/* ── Footer ────────────────────────────────────────────── */

.foot {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--fg-3);
  font-size: 13px;
}

.foot a { color: var(--fg-3); }
.foot a:hover { color: var(--fg-1); }
