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

:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #1a1814;
  --ink2: #5a564e;
  --ink3: #9e9a91;
  --accent: #e03d1e;
  --accent-bg: #fdf1ee;
  --rule: rgba(26,24,20,0.12);
  --max: 760px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Nav ── */
nav {
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  transition: background 0.15s, color 0.15s;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

/* ── Centering ── */
.hero .wrap,
section .wrap { text-align: center; }

.hero-sub,
.section-intro { margin-left: auto; margin-right: auto; }

.hero-actions,
.hero-pills { justify-content: center; }

.steps, .faq-list, .contact-grid { text-align: left; }

/* ── Hero ── */
.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--rule);

  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .eyebrow { padding-left: 2.5rem; }
}

.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}

h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

h1 em {
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  background: var(--accent-bg);
  border: 1.5px solid rgba(224,61,30,0.2);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  font-size: 0.9rem;
  color: var(--ink2);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}

.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

/* ── Sections ── */
section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--rule);
}

h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h2 em { font-style: italic; font-weight: 300; }

.section-intro {
  color: var(--ink2);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

/* ── How it works ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: var(--rule);
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  align-items: start;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink3);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-num.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.step-title {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  margin-top: 0.5rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--ink2);
  line-height: 1.6;
}

/* ── Honesty box ── */
.honesty-box {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  margin-top: 1rem;
}

.honesty-box p + p { margin-top: 0.85rem; }

.honesty-box strong {
  font-weight: 500;
  color: var(--ink);
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

details {
  border-bottom: 1px solid var(--rule);
}

details:first-child { border-top: 1px solid var(--rule); }

summary {
  font-weight: 500;
  font-size: 0.97rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--ink3);
  flex-shrink: 0;
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--ink2);
  line-height: 1.7;
  padding-bottom: 1.1rem;
}

.faq-answer p + p { margin-top: 0.6rem; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

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

.contact-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.5rem;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  word-break: break-all;
}

.contact-value:hover { color: var(--accent); }

.contact-note {
  font-size: 0.8rem;
  color: var(--ink3);
  margin-top: 0.35rem;
}

/* ── Footer ── */
footer {
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink3);
}

footer a {
  color: var(--ink3);
  text-decoration: none;
}

footer a:hover { color: var(--accent); }

/* ── Utilities ── */
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }

a { color: var(--accent); }

/* ── Back pill ── */
.back-pill {
  position: fixed;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink2);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.15s;
}

@media (min-width: 768px) {
  .back-pill {
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
  }
}

.back-pill:hover { color: var(--ink); }

.back-pill.hidden {
  opacity: 0;
  transform: scale(0.85) translateY(-4px);
  pointer-events: none;
}

/* ── Stagger animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
