:root {
  --ink: #131C31;
  --ink-deep: #0F1829;
  --paper: #FFFFFF;
  --tint: #F4F7FB;
  --line: #E4E8ED;
  --border-field: #D5DDE6;
  --muted: #55657A;
  --faint: #8A97A8;
  --placeholder: #9AA7B8;
  --dark-body: #B7C2D1;
  --signal: #3E6FF4;
  --signal-hover: #2C55C4;
  --gold: #E8A23C;
  --gold-deep: #C9821F;
  --gold-mid: #D8932E;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  font-family: 'Gantari', sans-serif;
  color: var(--ink);
}

a { color: var(--signal); text-decoration: none; }
a:hover { color: var(--ink); }

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

.serif-italic { font-family: 'Newsreader', serif; font-style: italic; font-weight: 400; }
.serif { font-family: 'Newsreader', serif; }
.muted { color: var(--muted); }

.kicker {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--signal);
}
.kicker-dark { color: var(--faint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--signal);
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Gantari', sans-serif;
}
.btn:hover { background: var(--signal-hover); color: #FFFFFF; }
.btn-lg { font-size: 16px; font-weight: 700; padding: 14px 26px; border-radius: 9px; }

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 10px; }

.wordmark { font-size: 17px; display: flex; align-items: baseline; color: var(--ink); }
.wm-aged { font-family: 'Newsreader', serif; font-style: italic; }
.wm-intel { font-weight: 700; margin-left: 0.06em; }
.wm-tld { color: var(--gold-deep); font-weight: 700; }
.wm-tld-f { color: var(--gold); font-weight: 700; }
.wm-i { position: relative; }
.wm-tittle {
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-bottom: 6px solid var(--gold);
}
.wm-tittle-sm { border-left-width: 3px; border-right-width: 3px; border-bottom-width: 5.5px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-links > a:hover { color: var(--ink); }
.nav-links > .btn-nav { color: #FFFFFF; }
.nav-links > .btn-nav:hover { color: #FFFFFF; }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 88px 72px 96px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-copy { flex: 1.4; min-width: 400px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.hero-sub { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.hero-ctas { display: flex; gap: 16px; align-items: center; }
.link-cta { font-size: 16px; font-weight: 600; }
.hero-art { flex: 1; min-width: 300px; display: flex; justify-content: center; }

/* ---------- Sections ---------- */
.section { padding: 88px 72px; }
.section-tint { background: var(--tint); padding: 80px 72px; }
.section-dark { background: var(--ink-deep); padding: 96px 72px; }

.container { max-width: 1096px; margin: 0 auto; }
.col-gap-36 { display: flex; flex-direction: column; gap: 36px; }

.section-head { display: flex; flex-direction: column; gap: 10px; }
.section-head-center { text-align: center; align-items: center; }
.section-head h2 { font-size: 38px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.12; text-wrap: pretty; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 620px; line-height: 1.55; }

/* ---------- Who it's for ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.card { background: var(--paper); border-radius: 10px; padding: 24px 26px; }
.card h3 { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.5; }

.card-clickable {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card-clickable:hover, .card-clickable:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 24, 41, 0.1);
  outline: none;
}
.card-clickable:focus-visible { box-shadow: 0 0 0 2px var(--signal), 0 10px 24px rgba(15, 24, 41, 0.1); }
.card-more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0.75;
  transition: opacity 0.18s ease, gap 0.18s ease;
}
.card-clickable:hover .card-more, .card-clickable:focus-visible .card-more { opacity: 1; gap: 11px; }
.wedge-right {
  width: 0;
  height: 0;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  border-left: 8px solid var(--gold);
  display: inline-block;
}

/* ---------- Modals ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 24, 41, 0.55);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.modal-backdrop.is-open { opacity: 1; }
.modal {
  background: var(--paper);
  border-radius: 18px;
  max-width: 800px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(15, 24, 41, 0.35);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  font-family: 'Gantari', sans-serif;
}
.modal-close:hover { color: var(--ink); border-color: var(--muted); }
.modal-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 34px 40px 20px;
}
.modal-head h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; margin: 4px 0 6px; }
.modal-sub { font-size: 16px; color: var(--muted); line-height: 1.5; }
.modal-wheel { flex-shrink: 0; margin-top: 4px; }

.carousel { position: relative; padding: 0 40px; }
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 14px;
  outline: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: var(--tint);
  border-radius: 14px;
  padding: 28px 32px 26px;
  box-sizing: border-box;
}
.slide-aged {
  background: #FBF4E4;
  position: relative;
  overflow: hidden;
}
.slide-aged::after {
  content: '';
  position: absolute;
  right: -34px;
  bottom: -30px;
  width: 150px;
  height: 116px;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 54"%3E%3Cpath d="M4 46 L74 46 L74 12 Z" fill="%23E8A23C"/%3E%3C/svg%3E') no-repeat center / contain;
  opacity: 0.18;
  pointer-events: none;
}
.slide-aged .chip { border-color: #EBD8AE; }
.slide-when {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.slide h4 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.slide p { font-size: 15.5px; color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  background: var(--paper);
  border: 1px solid var(--border-field);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.chip-you { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.flow-arrow { flex-shrink: 0; }
.slide-tag { font-family: 'Newsreader', serif; font-style: italic; font-size: 17px; }

/* Chip stagger-in on the active slide */
@media (prefers-reduced-motion: no-preference) {
  .slide .chip, .slide .flow-arrow { opacity: 0; transform: translateY(6px); }
  .slide.is-active .chip, .slide.is-active .flow-arrow {
    animation: chip-in 0.4s ease forwards;
    animation-delay: var(--d, 0ms);
  }
  .slide.is-active .flow-arrow { animation-delay: 45ms; }
  @keyframes chip-in {
    to { opacity: 1; transform: translateY(0); }
  }
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 0 4px;
}
.car-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  font-family: 'Gantari', sans-serif;
}
.car-btn:hover:not(:disabled) { border-color: var(--signal); color: var(--signal); }
.car-btn:disabled { opacity: 0.3; cursor: default; }
.carousel-dots { display: flex; gap: 10px; }
.dot { background: none; border: none; padding: 5px; cursor: pointer; }
.dot-wedge {
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--border-field);
  transition: border-bottom-color 0.15s ease, transform 0.15s ease;
}
.dot:hover .dot-wedge { border-bottom-color: var(--faint); }
.dot.is-active .dot-wedge { border-bottom-color: var(--gold); transform: scale(1.25); }

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 40px 30px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .modal-head { padding: 26px 22px 16px; }
  .modal-head h3 { font-size: 24px; }
  .modal-wheel { display: none; }
  .carousel { padding: 0 22px; }
  .slide { padding: 22px 20px; }
  .chip { white-space: normal; }
  .modal-foot { padding: 16px 22px 24px; }
}

/* ---------- Your moat ---------- */
.moat { display: flex; gap: 56px; align-items: flex-start; flex-wrap: wrap; }
.moat-copy { flex: 1; min-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.moat-copy p { font-size: 17px; color: var(--muted); line-height: 1.6; }
.moat-panel {
  flex: 1;
  min-width: 340px;
  background: var(--tint);
  border-radius: 12px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.panel-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.moat-item { display: flex; align-items: baseline; gap: 12px; }
.moat-item > div { font-size: 16px; line-height: 1.45; }
.wedge-bullet {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--gold);
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

/* ---------- Cheese whiz ---------- */
.whiz-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  align-items: center;
}
.whiz-quote {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 46px;
  line-height: 1.15;
  color: var(--tint);
  text-wrap: pretty;
}
.whiz-body { font-size: 19px; line-height: 1.6; color: var(--dark-body); max-width: 640px; text-wrap: pretty; }
.whiz-punch { font-size: 24px; font-weight: 700; color: var(--gold); text-wrap: pretty; }

/* ---------- How we work ---------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.step { border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.step-num { font-size: 14px; font-weight: 700; color: var(--gold-deep); margin-bottom: 10px; }
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- Lead capture ---------- */
.lead-wrap { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.lead-card {
  background: var(--paper);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 2px 8px rgba(15, 24, 41, 0.06);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: 'Gantari', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border-field);
  border-radius: 8px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--signal); }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
.lead-card .btn { align-self: flex-start; }
.lead-card .btn[disabled] { opacity: 0.6; cursor: default; }
.fine-print { font-size: 13px; color: var(--faint); }
.form-error { font-size: 14px; color: #B4232C; }
/* Honeypot: visually removed, still in the form for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-thanks { padding: 48px 36px; gap: 12px; align-items: center; text-align: center; }
.thanks-title { font-size: 26px; font-weight: 700; }
.lead-thanks p { font-size: 16px; color: var(--muted); max-width: 400px; line-height: 1.55; }

/* ---------- Home base ---------- */
.home-inner { display: flex; gap: 64px; align-items: center; flex-wrap: wrap; }
.home-art { flex: 0 0 auto; display: flex; justify-content: center; margin: 0 auto; }
.home-copy { flex: 1; min-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.home-copy p { font-size: 17px; color: var(--muted); line-height: 1.6; max-width: 560px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-deep);
  padding: 48px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.wordmark-footer { font-size: 15px; color: var(--tint); }
.footer-mail { font-size: 13px; }
.footer-mail a { color: var(--faint); }
.footer-mail a:hover { color: var(--tint); }
.footer-est { font-family: 'Newsreader', serif; font-style: italic; font-size: 14px; color: var(--faint); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 16px; }
  .nav-links > a:not(.btn-nav) { display: none; }
  .hero { padding: 56px 20px 64px; gap: 32px; }
  .hero-copy { min-width: 0; }
  .hero h1 { font-size: 40px; }
  .hero-art svg { width: 220px; height: auto; }
  .section, .section-tint, .section-dark { padding: 56px 20px; }
  .section-head h2 { font-size: 30px; }
  .whiz-quote { font-size: 34px; }
  .moat-copy, .moat-panel { min-width: 0; }
  .home-copy { min-width: 0; }
  .home-art svg { width: 130px; height: auto; }
  .field-row { grid-template-columns: 1fr; }
  .lead-card { padding: 24px 20px; }
  .footer { padding: 40px 20px; }
}
