*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f6f2ec;
  --bg2: #efeae0;
  --bg3: #ffffff;
  --ink: #1a1510;
  --ink2: #52493e;
  --ink3: #9c9184;
  --orange: #c94a0a;
  --orange2: #e05c1a;
  --o-bg: #fdf0ea;
  --o-line: rgba(201, 74, 10, 0.15);
  --line: rgba(26, 21, 16, 0.08);
  --line2: rgba(26, 21, 16, 0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* subtle paper texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 900;
}

/* ────────────────────────────────
   NAV
──────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 22px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 242, 236, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: "Instrument Serif", serif;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.logo em {
  font-style: italic;
  color: var(--orange);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink3);
}

.nav-btn {
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
}

.nav-btn:hover {
  background: var(--orange);
}
.nav-btn:active {
  transform: scale(0.97);
}

/* ────────────────────────────────
   HERO
──────────────────────────────── */
.hero {
  padding: 168px 56px 96px;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}

.hero-left {
  opacity: 0;
  animation: up 0.65s 0.1s forwards;
}

.pre-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}

.pre-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background: var(--orange);
}

h1 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

h1 em {
  font-style: italic;
  color: var(--orange);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink2);
  max-width: 460px;
  margin-bottom: 40px;
}

/* trust pills */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink2);
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 14px;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* hero form card */
.hero-card {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow:
    0 4px 40px rgba(26, 21, 16, 0.06),
    0 1px 2px rgba(26, 21, 16, 0.04);
  opacity: 0;
  animation: up 0.65s 0.25s forwards;
}

.card-h {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.card-sub {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink3);
  margin-bottom: 28px;
  line-height: 1.6;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 7px;
}

.field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.field input::placeholder {
  color: var(--ink3);
  opacity: 0.6;
}

.field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--o-bg);
}

.cta-btn {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-family: "Instrument Serif", serif;
  font-size: 17px;
  font-style: italic;
  letter-spacing: -0.01em;
  cursor: pointer;
  margin-top: 4px;
  transition:
    background 0.2s,
    transform 0.1s;
}

.cta-btn:hover {
  background: var(--orange2);
}
.cta-btn:active {
  transform: scale(0.98);
}

.card-note {
  font-size: 11.5px;
  font-weight: 300;
  color: var(--ink3);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* ────────────────────────────────
   DIVIDER
──────────────────────────────── */
.h-rule {
  width: 100%;
  height: 1px;
  background: var(--line);
}

/* ────────────────────────────────
   SECTION WRAPPER
──────────────────────────────── */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 56px;
}

.s-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.s-head {
  font-family: "Instrument Serif", serif;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.s-head em {
  font-style: italic;
  color: var(--orange);
}

.s-sub {
  font-size: 15.5px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.75;
  max-width: 480px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

/* ────────────────────────────────
   PROBLEMS
──────────────────────────────── */
.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.prob {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px;
  transition:
    box-shadow 0.3s,
    transform 0.3s,
    border-color 0.3s;
}

.prob:hover {
  box-shadow: 0 8px 32px rgba(26, 21, 16, 0.07);
  transform: translateY(-3px);
  border-color: var(--o-line);
}

.prob-n {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 0.7;
  margin-bottom: 20px;
}

.prob-h {
  font-family: "Instrument Serif", serif;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.prob-p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.8;
}

/* ────────────────────────────────
   HOW IT WORKS
──────────────────────────────── */
.bg-alt {
  background: var(--bg2);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}

.step:hover {
  border-color: var(--o-line);
  box-shadow: 0 4px 20px rgba(201, 74, 10, 0.05);
}

.step-n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--o-bg);
  border: 1px solid var(--o-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Instrument Serif", serif;
  font-size: 16px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.step-body h3 {
  font-family: "Instrument Serif", serif;
  font-size: 19px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.step-body p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.8;
  max-width: 580px;
}

/* ────────────────────────────────
   NUMBERS
──────────────────────────────── */
.nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.num-card {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 28px;
}

.num-val {
  font-family: "Instrument Serif", serif;
  font-size: 44px;
  font-style: italic;
  letter-spacing: -0.04em;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}

.num-label {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.65;
}

/* ────────────────────────────────
   FINAL CTA
──────────────────────────────── */
.cta-band {
  background: var(--ink);
  padding: 96px 56px;
  text-align: center;
}

.cta-band .s-head {
  color: #f6f2ec;
  margin-bottom: 40px;
}
.cta-band .s-head em {
  color: var(--orange2);
}

.cta-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(246, 242, 236, 0.1);
}

.cta-form input {
  flex: 1;
  background: rgba(246, 242, 236, 0.06);
  border: none;
  padding: 16px 20px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: #f6f2ec;
  outline: none;
}

.cta-form input::placeholder {
  color: rgba(246, 242, 236, 0.3);
}

.cta-form button {
  background: var(--orange);
  border: none;
  padding: 16px 24px;
  font-family: "Instrument Serif", serif;
  font-size: 15px;
  font-style: italic;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cta-form button:hover {
  background: var(--orange2);
}

.cta-note {
  font-size: 12px;
  font-weight: 300;
  color: rgba(246, 242, 236, 0.3);
  margin-top: 14px;
}

/* ────────────────────────────────
   FOOTER
──────────────────────────────── */
footer {
  padding: 28px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.footer-logo {
  font-family: "Instrument Serif", serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.footer-logo em {
  font-style: italic;
  color: var(--orange);
}

footer p {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink3);
}

/* ────────────────────────────────
   MODAL
──────────────────────────────── */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 16, 0.6);
  backdrop-filter: blur(10px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.overlay.open {
  display: flex;
}

.modal {
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 44px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(26, 21, 16, 0.15);
  animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-step {
  display: none;
}
.modal-step.active {
  display: block;
}

.modal-icon {
  font-size: 36px;
  margin-bottom: 18px;
  display: block;
}

.modal-h {
  font-family: "Instrument Serif", serif;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 28px;
}

.q-label {
  font-family: "Instrument Serif", serif;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.opt {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.18s;
}

.opt:hover {
  background: var(--o-bg);
  border-color: var(--o-line);
}

.opt.chosen {
  background: var(--o-bg);
  border-color: var(--orange);
  color: var(--orange);
}

.skip-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--ink3);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 14px;
}

.close-btn {
  width: 100%;
  margin-top: 24px;
  background: var(--orange);
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-family: "Instrument Serif", serif;
  font-size: 16px;
  font-style: italic;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.close-btn:hover {
  background: var(--orange2);
}

/* ────────────────────────────────
   TOAST
──────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--ink);
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--bg);
  z-index: 600;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ────────────────────────────────
   ANIMATIONS
──────────────────────────────── */
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */
@media (max-width: 900px) {
  nav {
    padding: 18px 24px;
  }
  .nav-label {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 130px 24px 72px;
  }
  .hero-card {
    max-width: 100%;
  }
  .wrap {
    padding: 72px 24px;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .problems {
    grid-template-columns: 1fr;
  }
  .steps .step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }
  .nums {
    grid-template-columns: 1fr 1fr;
  }
  .cta-band {
    padding: 72px 24px;
  }
  .cta-form {
    flex-direction: column;
    border-radius: 12px;
    overflow: visible;
    gap: 8px;
    background: none;
    border: none;
  }
  .cta-form input {
    border-radius: 10px;
    border: 1px solid rgba(246, 242, 236, 0.1);
  }
  .cta-form button {
    border-radius: 10px;
    width: 100%;
  }
  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px;
  }
  .modal {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .nums {
    grid-template-columns: 1fr;
  }
}
