/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-tint: #FAF9F6;
  --bg-card: #F1EFE8;
  --ink: #0a0a0a;
  --ink-soft: #5f5e5a;
  --ink-mute: #888780;
  --line: #e5e3da;
  --line-strong: #d3d1c7;
  --accent: #BA7517;
  --accent-ink: #ffffff;
  --accent-tint-bg: #FAEEDA;
  --accent-tint-border: #F0997B;
  --accent-tint-ink: #854F0B;
  --ok: #97C459;
  --dark: #0a0a0a;
  --dark-ink: #fafafa;
  --dark-ink-soft: #a1a1a1;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1120px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
h1, h2, h3, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #a3690f; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { opacity: 0.85; }

.btn--ghost { background: transparent; color: var(--ink); border: 0.5px solid var(--line-strong); }
.btn--ghost:hover { background: var(--bg-card); }

.btn--outline { background: transparent; color: var(--ink); border: 0.5px solid var(--line-strong); }
.btn--outline:hover { background: var(--bg-card); }

.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.nav__logo { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 32px; font-size: 14px; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px;
}
.nav__burger span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 0.5px solid var(--line);
}
.mobile-menu a { padding: 12px 0; font-size: 15px; }
.mobile-menu.is-open { display: flex; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: block;
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 20px;
}
.eyebrow--pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-tint-bg);
  border: 0.5px solid var(--accent-tint-border);
  color: var(--accent-tint-ink);
  padding: 7px 16px;
  border-radius: 20px;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 28px;
}

/* ---------- Hero ---------- */
.hero { padding-top: 64px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 40px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__note { font-size: 13px; color: var(--ink-mute); }

.hero__media { position: relative; }
.hero__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.hero__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.hero__badge-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #E1F5EE;
  color: #085041;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero__badge strong { display: block; font-size: 14px; font-weight: 500; }
.hero__badge small { font-size: 12px; color: var(--ink-mute); }

.trusted { padding: 120px 24px 90px; }
.trusted__label {
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.trusted__logos {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trusted__logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 500; color: #2c2c2a;
}
.trusted__logo svg { color: var(--line-strong); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--tint { background: var(--bg-tint); }
.section--narrow .container { max-width: 760px; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section__lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: 20px;
}

/* Problem cards */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem__card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.problem__card svg { color: #712B13; }
.problem__card h3 { font-size: 17px; font-weight: 500; margin: 18px 0 10px; }
.problem__card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps__line {
  position: absolute;
  top: 28px;
  left: calc(24px + 16.66% - 10%);
  right: calc(24px + 16.66% - 10%);
  height: 1px;
  background: var(--line);
}
.steps__item { text-align: center; position: relative; }
.steps__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 0.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 18px; font-weight: 500; color: var(--accent);
  position: relative;
}
.steps__item h3 { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.steps__item p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: #fff;
}
.price-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.price-card__tag { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 24px; }
.price-card__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price-card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.price-card__list li.is-yes { color: #2c2c2a; }
.price-card__list li.is-yes::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.price-card__list li.is-no { color: var(--ink-mute); }
.price-card__list li.is-no::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  background: var(--ink-mute);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

.price-card--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(186,117,23,0.14);
  position: relative;
}
.price-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px; font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
}

/* Why */
.why {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.why__item { text-align: center; }
.why__item svg { color: var(--accent); }
.why__item p { font-size: 14px; font-weight: 500; margin-top: 14px; }

/* Journey */
.journey {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.journey__line {
  position: absolute;
  top: 20px;
  left: calc(24px + 11%);
  right: calc(24px + 11%);
  height: 1px;
  background: var(--line);
}
.journey__item { text-align: center; width: 22%; position: relative; background: var(--bg); }
.journey__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-tint-bg);
  color: var(--accent-tint-ink);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.journey__title { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.journey__sub { font-size: 13px; color: var(--ink-mute); }

/* FAQ */
.faq__item { border-bottom: 0.5px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
}
.faq__q svg { color: var(--ink-mute); transition: transform 0.2s ease; flex-shrink: 0; margin-left: 16px; }
.faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.faq__a p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; padding-bottom: 0; max-width: 640px; }
.faq__item.is-open .faq__a { max-height: 240px; padding-bottom: 22px; }

/* CTA */
.cta { background: var(--dark); padding: 90px 0; text-align: center; }
.cta__inner h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 500; letter-spacing: -0.02em; color: var(--dark-ink); margin-bottom: 20px; }
.cta__inner p { font-size: 17px; color: var(--dark-ink-soft); margin-bottom: 36px; }

/* Footer */
.footer { background: var(--bg-card); padding: 64px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__logo { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.footer__brand p:last-child { font-size: 14px; color: var(--ink-soft); line-height: 1.6; max-width: 240px; }
.footer__label { font-size: 13px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; color: #2c2c2a; margin-bottom: 10px; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 0.5px solid var(--line-strong);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-mute);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .btn, .faq__a, .faq__q svg { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__image { height: 300px; }
  .problem__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps__line { display: none; }
  .pricing { grid-template-columns: 1fr; }
  .why { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .journey { flex-wrap: wrap; }
  .journey__item { width: 45%; margin-bottom: 24px; }
  .journey__line { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .hero { padding-top: 32px; }
  .trusted { padding: 80px 24px 60px; }
  .trusted__logos { gap: 28px; }
  .section { padding: 72px 0; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .journey__item { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
