:root {
  --ink: #271e33;
  --muted: #65596e;
  --plum: #74558f;
  --deep: #4b2d68;
  --burgundy: #8e2942;
  --line: #e5ddea;
  --paper: #fdfcfb;
  --wash: #f6f1fa;
  --width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: calc(100% - 48px);
  max-width: var(--width);
  margin-inline: auto;
}

header {
  position: sticky;
  top: 14px;
  z-index: 40;
  width: calc(100% - 48px);
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 14px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 251, 0.94);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.wordmark i {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--burgundy);
}

.wordmark span.sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

nav a:hover { color: var(--plum); }

.nav-cta {
  padding: 9px 15px;
  border: 1px solid #ddcee9;
  border-radius: 8px;
  background: #f3edf9;
  font-weight: 600;
}

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 0%, #f6f1fa 0%, #fdfcfb 70%);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 780px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.lead {
  font-size: 18px;
  max-width: 680px;
  color: #4b4054;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--deep);
  background: var(--deep);
  color: #fff;
}

.btn:hover { background: #603c80; border-color: #603c80; }

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover { border-color: var(--plum); color: var(--plum); }

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.card li { margin-bottom: 6px; }

.meta-box {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--wash);
  border: 1px solid var(--line);
}

footer {
  padding: 36px 0 48px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .grid, .grid-2 { grid-template-columns: 1fr; }
  header nav a:not(.nav-cta) { display: none; }
}
