:root {
  --ink: #18212b;
  --muted: #5c6773;
  --line: #dbe2ea;
  --surface: #fffdf8;
  --surface-alt: #f4f7fb;
  --brand: #1463e2;
  --brand-deep: #0f4cb1;
  --shadow: 0 20px 60px rgba(24, 33, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--surface);
}

body {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 40px;
}

.topbar,
.footer,
.nav,
.cta-row,
.grid3 {
  display: flex;
}

.topbar,
.footer {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 800;
}

.nav,
.cta-row {
  gap: 12px;
  flex-wrap: wrap;
}

.nav a,
.footer a {
  text-decoration: none;
  color: #31404f;
  font-weight: 600;
}

.hero {
  padding: 72px 0 20px;
  max-width: 720px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.84rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.94;
  font-weight: 400;
}

h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-ghost {
  background: #ffffff;
  border-color: var(--line);
}

.grid3 {
  margin-top: 30px;
  gap: 16px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-alt);
  box-shadow: var(--shadow);
  padding: 22px;
}

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

.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1080px);
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }
}
