:root {
  --ink: #10233f;
  --ink-soft: #31445f;
  --paper: #f8f7f2;
  --white: #ffffff;
  --blue: #2a6f93;
  --blue-deep: #17445f;
  --green: #4c6d59;
  --gold: #b8874b;
  --line: #d6d3ca;
  --mist: #edf3f2;
  --clay: #efe5d8;
  --shadow: 0 18px 60px rgba(16, 35, 63, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  background: rgba(248, 247, 242, 0.92);
  border-bottom: 1px solid rgba(214, 211, 202, 0.78);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 7px;
  color: var(--paper);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--ink-soft);
  font-size: 12px;
  margin-top: 1px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  align-items: center;
  background-image: url("assets/family-vault-hero.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: flex;
  min-height: 86svh;
  padding: 122px clamp(20px, 5vw, 72px) 72px;
  position: relative;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(8, 20, 34, 0.86), rgba(8, 20, 34, 0.66) 38%, rgba(8, 20, 34, 0.13) 76%);
  inset: 0;
  position: absolute;
}

.hero-inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c985;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
  margin: 0;
  max-width: 820px;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  margin: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.hero-copy {
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.32;
  margin: 24px 0 0;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #1d1308;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.section {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.two-column {
  align-items: start;
  display: grid;
  gap: clamp(26px, 5vw, 80px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.intro {
  padding-top: clamp(42px, 7vw, 80px);
}

.plain-copy {
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.plain-copy p {
  margin: 0 0 18px;
}

.section-heading {
  margin-bottom: 34px;
  max-width: 820px;
}

.steps,
.vault-list,
.roadmap-list {
  display: grid;
  gap: 16px;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps article,
.vault-list article,
.roadmap-list article {
  background: var(--white);
  border: 1px solid rgba(214, 211, 202, 0.9);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(16, 35, 63, 0.05);
  min-width: 0;
  padding: 22px;
}

.step-number {
  align-items: center;
  background: var(--mist);
  border: 1px solid rgba(42, 111, 147, 0.22);
  border-radius: 50%;
  color: var(--blue-deep);
  display: inline-flex;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  margin-bottom: 18px;
  width: 36px;
}

.steps p,
.vault-list p,
.roadmap-list p,
.comparison li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}

.contrast {
  background: #ebe6dc;
}

.comparison {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-col {
  background: var(--white);
  border: 1px solid rgba(214, 211, 202, 0.95);
  border-radius: 8px;
  padding: 28px;
}

.compare-col.featured {
  background: var(--mist);
  border-color: rgba(42, 111, 147, 0.28);
}

.compare-col ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 19px;
}

.vault-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roadmap {
  background: var(--ink);
  color: var(--white);
}

.roadmap .eyebrow {
  color: #f1c985;
}

.roadmap .section-heading {
  max-width: 900px;
}

.roadmap-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roadmap-list article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.roadmap-list p {
  color: rgba(255, 255, 255, 0.78);
}

.test {
  background: var(--clay);
}

.interest-form {
  background: var(--white);
  border: 1px solid rgba(214, 211, 202, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

label,
legend {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  background: #fbfaf7;
  border: 1px solid #cbc6ba;
  border-radius: 7px;
  color: var(--ink);
  display: block;
  font: inherit;
  margin-top: 8px;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

fieldset {
  border: 1px solid #cbc6ba;
  border-radius: 8px;
  margin: 0;
  padding: 16px;
}

.choice {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-size: 15px;
  font-weight: 650;
  gap: 10px;
  margin-top: 12px;
}

.choice input {
  margin: 0;
  min-height: auto;
  width: auto;
}

.form-note,
.success-message {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.success-message {
  background: var(--mist);
  border: 1px solid rgba(76, 109, 89, 0.25);
  border-radius: 7px;
  color: #234632;
  padding: 12px;
}

.footer {
  background: #0b1728;
  color: rgba(255, 255, 255, 0.78);
  padding: 28px clamp(20px, 5vw, 72px);
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    position: absolute;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 84svh;
    padding-top: 158px;
  }

  .hero-shade {
    background: rgba(8, 20, 34, 0.72);
  }

  .two-column,
  .steps,
  .comparison,
  .vault-list,
  .roadmap-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 12px 16px;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(38px, 14vw, 56px);
  }

  h2 {
    font-size: clamp(29px, 10vw, 40px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    text-align: center;
  }
}
