/* =====================
   TOKENS
===================== */
:root {
  --bg: #FAFAF7;
  --bg-alt: #F0EFE9;
  --fg: #0F0F0F;
  --fg-muted: #6B6B68;
  --accent: #FF4D00;
  --accent-dark: #CC3D00;
  --surface: #FFFFFF;
  --border: #E4E3DC;
  --shadow: 0 1px 3px rgba(15,15,15,0.08), 0 4px 16px rgba(15,15,15,0.04);
}

/* =====================
   RESET & BASE
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Figtree', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =====================
   NAV
===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,247,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  border-radius: 6px;
}
.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.3px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}
.nav-cta {
  margin-left: 16px;
  background: var(--accent);
  color: white;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent-dark); }

/* =====================
   HERO
===================== */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255,77,0,0.08) 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  font-family: 'Syne', sans-serif;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 32px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
  max-width: 140px;
  line-height: 1.4;
}

/* =====================
   HOW
===================== */
.how {
  background: var(--fg);
  color: white;
  padding: 100px 24px;
}
.how-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: 'Syne', sans-serif;
}
.section-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 64px;
  max-width: 600px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.how-step {
  background: #1A1A1A;
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.06);
}
.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.step-body {
  font-size: 15px;
  color: #9A9A97;
  line-height: 1.65;
}

/* =====================
   PACKAGED
===================== */
.packaged {
  padding: 100px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.packaged-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.packaged-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.pkg-item {
  background: var(--surface);
  padding: 28px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pkg-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--bg-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.pkg-text {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.5;
}
.pkg-text strong {
  font-weight: 600;
}

/* =====================
   PRICING
===================== */
.pricing {
  padding: 100px 24px;
  background: var(--bg);
}
.pricing-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: left;
}
.pricing-cta {
  margin-top: 48px;
  font-size: 15px;
  color: var(--fg-muted);
  text-align: center;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  padding: 40px 32px;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--fg);
  background: var(--fg);
  color: white;
}
.pricing-card--featured .card-label,
.pricing-card--featured .card-price,
.pricing-card--featured .card-features li {
  color: white;
}
.pricing-card--featured .card-features li::before {
  background: var(--accent);
}
.pricing-card--featured .card-note {
  color: #9A9A97;
}
.card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  font-family: 'Syne', sans-serif;
  white-space: nowrap;
}
.card-label {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.card-price {
  font-family: 'Syne', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 32px;
}
.card-period {
  font-size: 20px;
  font-weight: 600;
  opacity: 0.5;
}
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.card-features li {
  font-size: 15px;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.card-note {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.pricing-card--featured .card-note {
  border-top-color: rgba(255,255,255,0.1);
}

/* =====================
   TESTIMONIAL
===================== */
.testimonial {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 24px;
}
.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: 'Syne', sans-serif;
  font-size: 80px;
  color: var(--accent);
  line-height: 0.6;
  margin-bottom: 24px;
  display: block;
}
.quote-text {
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.55;
  color: var(--fg);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 32px;
}
.attribution-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.attribution-detail {
  font-size: 14px;
  color: var(--fg-muted);
}

/* =====================
   CLOSING
===================== */
.closing {
  padding: 100px 24px;
  background: var(--fg);
  color: white;
  text-align: center;
}
.closing-inner {
  max-width: 760px;
  margin: 0 auto;
}
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.05;
  color: white;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 18px;
  line-height: 1.65;
  color: #9A9A97;
  margin-bottom: 56px;
}
.closing-truth {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 48px;
}
.truth-item {
  padding: 0 32px;
  position: relative;
}
.truth-item + .truth-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.15);
}
.truth-label {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #9A9A97;
  letter-spacing: 0.04em;
}

/* =====================
   FOOTER
===================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}
.footer-desc {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 280px;
  line-height: 1.5;
}
.footer-meta { text-align: right; }
.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* =====================
   INTAKE FORM
===================== */
.form-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.form-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.form-header-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
}
.form-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  font-size: 14px;
  border-radius: 5px;
}
.form-back-link {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  margin-left: auto;
}
.form-back-link:hover { color: var(--fg); }

.form-body {
  flex: 1;
  padding: 48px 24px 80px;
}
.form-container {
  max-width: 600px;
  margin: 0 auto;
}
.form-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 40px;
}
.progress-step {
  height: 3px;
  flex: 1;
  background: var(--border);
  border-radius: 2px;
  transition: background 0.3s;
}
.progress-step.active { background: var(--accent); }
.progress-step.done { background: var(--fg); }

.form-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.form-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.form-card-subtitle {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-label span.required {
  color: var(--accent);
  margin-left: 2px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,77,0,0.1);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B68' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: var(--bg-alt);
  color: var(--fg-muted);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--fg-muted); color: var(--fg); }
.btn-large { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

.form-error-msg {
  background: #FFF1ED;
  border: 1.5px solid #FFD0C4;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: #CC3D00;
  margin-bottom: 20px;
}

/* =====================
   INTAKE PAGES
===================== */
/* Success page */
.success-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.success-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.success-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.success-card {
  max-width: 540px;
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: var(--fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 28px;
}
.success-title {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.success-body-text {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}
.dashboard-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
}
.dashboard-link:hover { background: var(--accent-dark); }

/* Dashboard page */
.dashboard-page {
  min-height: 100vh;
  background: var(--bg);
}
.dashboard-header {
  background: var(--fg);
  color: white;
  padding: 48px 24px;
  text-align: center;
}
.dashboard-logo {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.dashboard-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  font-size: 18px;
  border-radius: 7px;
}
.dashboard-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: white;
  margin-bottom: 8px;
}
.dashboard-subtext {
  font-size: 15px;
  color: #9A9A97;
}
.dashboard-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}
.dashboard-section {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}
.dashboard-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dashboard-field { display: flex; flex-direction: column; gap: 4px; }
.dashboard-field.full { grid-column: 1 / -1; }
.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.field-value {
  font-size: 15px;
  color: var(--fg);
  font-weight: 500;
}
.status-badge {
  display: inline-block;
  background: #E6F7EE;
  color: #1A7A4A;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Not found */
.not-found-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.not-found-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  max-width: 440px;
}
.not-found-code {
  font-family: 'Syne', sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.not-found-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.not-found-text { font-size: 15px; color: var(--fg-muted); }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
  .how-steps,
  .packaged-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  .hero-stats { gap: 20px; }
  .hero-stat { padding: 0; }
  .hero-stat-divider { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
@media (max-width: 600px) {
  .nav-tagline { display: none; }
  .hero { padding: 72px 20px 60px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-stat-divider { display: none; }
  .how, .packaged, .pricing, .closing { padding: 60px 20px; }
  .closing-truth { flex-direction: column; gap: 16px; }
  .truth-item + .truth-item::before { display: none; }
}