:root {
  --ink: #191817;
  --ink-soft: #3f3b37;
  --muted: #6e6861;
  --cream: #fbf8ef;
  --sand: #f1eadc;
  --paper: #ffffff;
  --line: #d9d2c5;
  --purple: #5635f2;
  --purple-dark: #2c197f;
  --yellow: #ffcb45;
  --green: #6ca66f;
  --max: 1080px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

a {
  color: inherit;
}

.topbar {
  background: var(--purple-dark);
  color: var(--paper);
}

.topbar-inner,
.nav,
.wrap,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
}

.topbar a {
  padding: 8px 14px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--purple-dark);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 239, 0.95);
  border-bottom: 1px solid rgba(217, 210, 197, 0.8);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 7px;
  color: var(--purple);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--yellow);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  padding: 86px 0 74px;
  background:
    linear-gradient(90deg, transparent 0 31px, rgba(217, 210, 197, 0.5) 32px, transparent 33px),
    linear-gradient(0deg, transparent 0 31px, rgba(217, 210, 197, 0.36) 32px, transparent 33px),
    var(--cream);
  background-size: 64px 64px;
}

.eyebrow {
  color: var(--purple);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.22rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--purple);
  border-radius: var(--radius);
  background: var(--purple);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.section {
  padding: 82px 0;
  background: var(--paper);
}

.section.tint {
  background: var(--sand);
}

.section.dark {
  background: var(--ink);
  color: var(--paper);
}

.section.dark p,
.section.dark li {
  color: rgba(255, 255, 255, 0.74);
}

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.card p,
.section-copy {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
}

.list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.cta-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffcf5;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  padding: 32px 0;
  display: grid;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.footer-links a,
.site-footer .brand {
  color: var(--paper);
  text-decoration: none;
}

.legal {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .topbar-inner,
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .grid,
  .split {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }
}
