/* ── Reset & Variables ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:    #F6F1E9;
  --white:    #FFFFFF;
  --ink:      #181818;
  --ink-2:    #3A3A3A;
  --ink-3:    #7A7A7A;
  --copper:   #B87333;
  --copper-l: #D4924A;
  --copper-bg:#FDF4E7;
  --border:   #E2D9CE;
  --radius:   4px;
  --font-d:   'Cormorant Garamond', Georgia, serif;
  --font-b:   'DM Sans', system-ui, sans-serif;
  --max-w:    1160px;
  --section-gap: 7rem;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section-inner.narrow { max-width: 640px; }
.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; }
.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); margin-bottom: 1rem; }
.section-header h2 { font-family: var(--font-d); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1.15; color: var(--ink); }
.section-header h2 em { font-style: italic; color: var(--copper); }
.section-sub { margin-top: 1rem; font-size: 1.05rem; color: var(--ink-3); line-height: 1.7; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white); font-family: var(--font-b); font-size: 0.9rem; font-weight: 500; padding: 0.85rem 2rem; border-radius: var(--radius); text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: #2e2e2e; transform: translateY(-1px); }
.btn-primary.full { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; color: var(--ink-2); font-size: 0.9rem; text-decoration: none; padding: 0.85rem 0; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { color: var(--ink); border-color: var(--copper); }
.btn-nav { display: inline-flex; align-items: center; background: var(--copper); color: var(--white); font-size: 0.85rem; font-weight: 500; padding: 0.6rem 1.4rem; border-radius: var(--radius); text-decoration: none; transition: background 0.2s; }
.btn-nav:hover { background: var(--copper-l); }
.btn-plan { display: block; text-align: center; border: 1.5px solid var(--ink); color: var(--ink); font-size: 0.9rem; font-weight: 500; padding: 0.8rem; border-radius: var(--radius); text-decoration: none; margin-top: 1.5rem; transition: background 0.2s, color 0.2s; }
.btn-plan:hover { background: var(--ink); color: var(--white); }
.btn-plan.featured { background: var(--ink); color: var(--white); }
.btn-plan.featured:hover { background: #2e2e2e; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; transition: background 0.3s, box-shadow 0.3s; }
.nav.scrolled { background: rgba(246,241,233,0.95); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--border); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-d); font-size: 1.45rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.logo span { color: var(--copper); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a { color: var(--ink-2); font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Hero */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; max-width: var(--max-w); margin: 0 auto; padding: 7rem 2rem 4rem; position: relative; }
.hero-grid-bg { position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; opacity: 0.4; }
.hero-tag { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); margin-bottom: 1.2rem; }
.hero-title { font-family: var(--font-d); font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 500; line-height: 1.05; color: var(--ink); margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; color: var(--copper); }
.hero-sub { font-size: 1.1rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 2.5rem; max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stat-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num { font-family: var(--font-d); font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.stat-label { font-size: 0.75rem; color: var(--ink-3); }
.stat-divider { width: 1px; height: 2.5rem; background: var(--border); }

/* Blueprint card */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.blueprint-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,0.08); width: 100%; max-width: 440px; overflow: hidden; font-size: 0.85rem; }
.bp-header { display: flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1rem; background: #F8F5F0; border-bottom: 1px solid var(--border); }
.bp-dot { width: 10px; height: 10px; border-radius: 50%; }
.bp-dot.red { background: #FF5F57; }
.bp-dot.amber { background: #FEBC2E; }
.bp-dot.green { background: #28C840; }
.bp-title { margin-left: 0.5rem; font-size: 0.78rem; color: var(--ink-3); font-weight: 500; }
.bp-body { padding: 0.75rem 1rem; }
.bp-row { display: grid; grid-template-columns: 2fr 1.2fr 0.8fr 1.2fr; padding: 0.5rem 0; gap: 0.5rem; border-bottom: 1px solid #F2EDE5; color: var(--ink-2); }
.bp-row:last-child { border-bottom: none; }
.bp-row.header-row { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.bp-row > span:not(:first-child) { text-align: right; }
.bp-divider { border-top: 1.5px solid var(--border); margin: 0.5rem 0; }
.bp-row.total-row { font-weight: 600; color: var(--ink); font-size: 0.9rem; }
.bp-footer { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 1rem; background: #F8F5F0; border-top: 1px solid var(--border); }
.bp-badge { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 20px; }
.bp-badge.active { background: #D4EDDA; color: #1A6B35; }
.bp-date { font-size: 0.75rem; color: var(--ink-3); }

/* Fade-in */
.fade-in { opacity: 0; transform: translateY(18px); animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.feature-card, .step, .plan-card { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.feature-card.visible, .step.visible, .plan-card.visible { opacity: 1; transform: none; }

/* Features */
.features { padding: var(--section-gap) 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.feature-card { padding: 2rem 1.8rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: opacity 0.55s ease, transform 0.55s ease, background 0.2s; }
.feature-card:hover { background: var(--copper-bg); }
.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-child(n+4) { border-bottom: none; }
.feature-icon { width: 36px; height: 36px; color: var(--copper); margin-bottom: 1.1rem; }
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-family: var(--font-d); font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.88rem; line-height: 1.7; color: var(--ink-3); }

/* How it works */
.how { padding: var(--section-gap) 0; background: var(--cream); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: start; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; padding: 0 1rem; }
.step-num { font-family: var(--font-d); font-size: 3rem; font-weight: 500; color: var(--copper); line-height: 1; }
.step-content h4 { font-family: var(--font-d); font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }
.step-content p { font-size: 0.85rem; line-height: 1.7; color: var(--ink-3); }
.step-connector { width: 60px; height: 1px; background: var(--border); margin-top: 1.8rem; position: relative; }
.step-connector::after { content: ''; position: absolute; right: -4px; top: -3px; width: 7px; height: 7px; border-right: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); }

/* Plans */
.plans { padding: var(--section-gap) 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 760px; margin: 0 auto; }
.plan-card { border: 1.5px solid var(--border); border-radius: 6px; padding: 2.2rem 2rem; position: relative; background: var(--white); transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.2s; }
.plan-card.featured { border-color: var(--ink); box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.plan-card:hover { box-shadow: 0 6px 32px rgba(0,0,0,0.1); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--white); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 20px; white-space: nowrap; }
.plan-name { font-family: var(--font-d); font-size: 1.7rem; font-weight: 500; color: var(--ink); margin-bottom: 0.6rem; }
.plan-desc { font-size: 0.85rem; line-height: 1.65; color: var(--ink-3); margin-bottom: 1.5rem; min-height: 3rem; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.plan-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--ink-2); }
.plan-features svg { width: 14px; height: 14px; stroke: var(--copper); flex-shrink: 0; }
.plans-note { text-align: center; margin-top: 2.5rem; font-size: 0.82rem; color: var(--ink-3); }

/* Contact */
.contact { padding: var(--section-gap) 0; background: var(--cream); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, textarea { width: 100%; font-family: var(--font-b); font-size: 0.9rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 0.8rem 1rem; outline: none; transition: border-color 0.2s; resize: none; }
input:focus, textarea:focus { border-color: var(--copper); }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
.form-note { text-align: center; font-size: 0.78rem; color: var(--ink-3); }
.form-success { display: none; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem 0; text-align: center; }
.form-success svg { width: 48px; height: 48px; stroke: var(--copper); }
.form-success p { font-family: var(--font-d); font-size: 1.4rem; font-weight: 500; color: var(--ink); }

/* Footer */
.footer { background: var(--ink); padding: 3rem 0; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr auto auto; align-items: start; gap: 3rem; }
.footer .logo { color: var(--white); }
.footer .logo span { color: var(--copper-l); }
.footer-brand p { margin-top: 0.6rem; font-size: 0.82rem; line-height: 1.65; color: #888; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-end; }
.footer-links a { font-size: 0.85rem; color: #888; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.78rem; color: #555; align-self: end; }

/* Responsive */
.br-lg { display: none; }
@media (min-width: 1024px) { .br-lg { display: block; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; gap: 3rem; min-height: auto; padding-bottom: 4rem; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .feature-card:nth-child(2n) { border-right: none; }
  .feature-card:nth-child(n+5) { border-bottom: none; }
  .steps { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .step-connector { display: none; }
  .step { flex-direction: row; text-align: left; align-items: flex-start; }
  .step-num { font-size: 2.2rem; min-width: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; background: rgba(246,241,233,0.97); backdrop-filter: blur(8px); flex-direction: column; align-items: stretch; padding: 1rem 1.5rem 2rem; border-bottom: 1px solid var(--border); gap: 0; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; padding-top: 1.2rem; }
  .nav-links a { font-size: 1rem; }
  .btn-nav { text-align: center; padding: 0.75rem 0; }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; border: none; gap: 1px; }
  .feature-card { border: 1px solid var(--border) !important; border-radius: 4px; }
  .plans-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stat-row { gap: 1rem; }
  .stat-divider { display: none; }
}
