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

:root {
  --deep: #1A3C34;
  --forest: #2D6A4F;
  --nous: #52B788;
  --mint: #E8F5E9;
  --ink: #111827;
  --slate: #6B7280;
  --cloud: #F3F4F6;
  --border: #E5E7EB;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}

.wordmark { text-decoration: none; display: flex; align-items: center; }
.wordmark-img { height: 80px; width: auto; display: block; }

.nav-links { display: flex; gap: 0; align-items: center; }
.nav-link {
  padding: 6px 16px;
  font-size: 13px;
  font-family: inherit;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--deep); border-bottom-color: var(--nous); }
.nav-cta {
  margin-left: 1rem;
  padding: 8px 20px;
  background: var(--deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--forest); }

/* PAGES */
.page { display: none; }
.page.active { display: block; }

/* WRAPPER */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 2rem; }

/* HERO */
.hero { padding: 5rem 0 4rem; border-bottom: 1px solid var(--border); }
.kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nous);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--deep);
  margin-bottom: 1.5rem;
  max-width: 640px;
}
.hero-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.stat-val {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  color: var(--deep);
  line-height: 1;
}
.stat-lbl { font-size: 12px; color: var(--slate); margin-top: 4px; }
.ctas { display: flex; gap: 12px; align-items: center; }
.btn-p {
  padding: 12px 28px;
  background: var(--deep);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  display: inline-block;
}
.btn-p:hover { background: var(--forest); }
.btn-s {
  padding: 12px 28px;
  background: transparent;
  color: var(--deep);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0.03em;
  border: 1px solid var(--deep);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
}
.btn-s:hover { background: var(--mint); }

/* VIDEO / DEMO */
.video-block {
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 4rem 0;
  overflow: hidden;
  position: relative;
}
.video-block iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* preview overlay */
.demo-preview { cursor: pointer; }
.demo-preview iframe { pointer-events: none; }
.demo-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 30, 24, 0.45);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  border-radius: 12px;
}
.demo-preview:hover .demo-overlay { background: rgba(10, 30, 24, 0.35); }
.demo-overlay-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.demo-play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
  padding-left: 3px;
}
.demo-preview:hover .demo-play-btn { background: rgba(255,255,255,0.25); transform: scale(1.07); }
.demo-overlay-lbl { color: #fff; font-size: 15px; font-weight: 500; letter-spacing: 0.01em; }

/* modal */
.demo-modal-bg {
  display: none; position: fixed; inset: 0;
  background: rgba(10, 20, 18, 0.7);
  z-index: 1000; align-items: center; justify-content: center;
}
.demo-modal-bg.on { display: flex; }
.demo-modal {
  position: relative;
  width: 90vw; height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  animation: demo-pop 0.2s ease;
}
@keyframes demo-pop { from { opacity:0; transform: scale(0.97); } to { opacity:1; transform: scale(1); } }
.demo-modal iframe { width: 100%; height: 100%; border: none; display: block; }
.demo-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: none;
  color: #fff; font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.demo-modal-close:hover { background: rgba(255,255,255,0.3); }
.video-play {
  width: 56px;
  height: 56px;
  border: 1px solid var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-play svg { width: 20px; height: 20px; fill: var(--deep); margin-left: 3px; }
.video-lbl { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }

/* TWO COL */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  margin: 4rem 0;
}
.col { padding: 2.5rem 0; }
.col:first-child { padding-right: 3rem; border-right: 1px solid var(--border); }
.col:last-child { padding-left: 3rem; }
.col-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.5rem;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
}
.pain-item:last-child { margin-bottom: 0; }
.pain-item .icon { color: var(--nous); flex-shrink: 0; margin-top: 2px; font-size: 15px; }

/* HOW */
.how-section { border-top: 1px solid var(--border); padding: 4rem 0; }
.section-hd {
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 2.5rem;
}
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-n {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--nous);
  line-height: 1;
  padding-top: 2px;
}
.step-title { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 5px; }
.step-body { font-size: 14px; color: var(--slate); line-height: 1.65; }

/* PILLARS */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin: 4rem 0;
}
.pillar {
  padding: 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillar-lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nous);
  margin-bottom: 0.75rem;
}
.pillar-title { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }
.pillar-body { font-size: 13px; line-height: 1.6; color: var(--slate); }

/* PRECISELY */
.precisely {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.pr-lbl { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); padding-top: 3px; }
.pr-body { font-size: 14px; color: var(--slate); line-height: 1.75; }

/* BOTTOM CTA */
.bottom-cta { border-top: 1px solid var(--border); padding: 4rem 0; text-align: center; }
.bottom-cta p { font-size: 13px; color: var(--slate); margin-top: 1rem; }

/* PRICING */
.pricing-hero { padding: 5rem 0 2.5rem; border-bottom: 1px solid var(--border); }
.pricing-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 0.75rem;
}
.pricing-note { font-size: 14px; color: var(--slate); line-height: 1.7; max-width: 540px; margin-top: 0.75rem; }

.ga-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.875rem 1.25rem;
  background: var(--mint);
  border: 1px solid var(--nous);
  margin: 2.5rem 0 100px;
  font-size: 13px;
  color: var(--deep);
}
.ga-banner svg { width: 16px; height: 16px; fill: none; stroke: var(--nous); stroke-width: 2; flex-shrink: 0; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin: 0;
}
.tier {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border);
}
.tier:last-child { border-right: none; }
.tier-name {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--deep);
  margin-bottom: 0.5rem;
}
.tier-price { font-size: 28px; font-weight: 500; color: var(--deep); line-height: 1; }
.tier-price span { font-size: 14px; font-weight: 400; color: var(--slate); }
.tier-period { font-size: 11px; color: var(--slate); margin-top: 3px; margin-bottom: 1.25rem; }
.tier-desc {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.55;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
  min-height: 56px;
}
.features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.features li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--slate); line-height: 1.4; }
.features li svg { width: 13px; height: 13px; fill: none; stroke: var(--nous); stroke-width: 2.5; flex-shrink: 0; margin-top: 1px; }
.tier-btn {
  width: 100%;
  padding: 10px;
  margin-top: 1.5rem;
  background: var(--deep);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.tier-btn:hover { background: var(--forest); }
.tier-btn.out { background: transparent; color: var(--deep); border: 1px solid var(--deep); }
.tier-btn.out:hover { background: var(--mint); }

.pricing-foot { font-size: 12px; color: var(--slate); padding: 1rem 0 5rem; border-top: 1px solid var(--border); }

/* SIGNUP */
.signup-hero { padding: 5rem 0 3rem; border-bottom: 1px solid var(--border); }
.signup-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 0.75rem;
  max-width: none;
}
.signup-hero p { font-size: 15px; color: var(--slate); line-height: 1.7; max-width: 520px; }

.form-wrap { padding: 3rem 0; max-width: 560px; }
.field { margin-bottom: 1.5rem; }
.lbl {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}
.inp {
  width: 100%;
  padding: 10px 0;
  font-size: 15px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  border-radius: 0;
}
.inp:focus { border-bottom-color: var(--deep); }
.inp::placeholder { color: #D1D5DB; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.5rem; }
.form-row .field { margin-bottom: 0; }

.demo-opt {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1.25rem;
  background: var(--cloud);
  border: 1px solid var(--border);
  cursor: pointer;
  margin: 2rem 0;
  transition: border-color 0.15s, background 0.15s;
}
.demo-opt.active { border-color: var(--deep); background: var(--mint); }
.sq {
  width: 18px;
  height: 18px;
  border: 1px solid #D1D5DB;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: all 0.15s;
}
.demo-opt.active .sq { background: var(--deep); border-color: var(--deep); }
.sq svg { width: 10px; height: 10px; stroke: white; fill: none; stroke-width: 3; display: none; }
.demo-opt.active .sq svg { display: block; }
.opt-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.opt-sub { font-size: 13px; color: var(--slate); }

.submit-btn {
  padding: 13px 36px;
  background: var(--deep);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.submit-btn:hover { background: var(--forest); }
.form-note { font-size: 12px; color: var(--slate); margin-top: 1rem; }
.form-note a { color: var(--slate); text-decoration: underline; }
.form-note a:hover { color: var(--forest); }

.success { display: none; padding: 5rem 0; }
.success h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 0.75rem;
}
.success p { font-size: 15px; color: var(--slate); line-height: 1.7; max-width: 480px; margin-bottom: 2rem; }
.cal-btn {
  padding: 12px 28px;
  background: var(--nous);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}
.cal-btn:hover { background: #3d9a6e; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 12px;
  color: var(--slate);
}
.footer-privacy {
  text-align: center;
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .hero h1 { font-size: 36px; }
  .two-col { grid-template-columns: 1fr; }
  .col:first-child { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
  .col:last-child { padding-left: 0; padding-top: 2rem; }
  .pillars { grid-template-columns: 1fr; }
  .precisely { grid-template-columns: 1fr; gap: 1rem; }
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .tier { border-bottom: 1px solid var(--border); }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .nav-link { padding: 6px 10px; font-size: 12px; }
}

@media (max-width: 480px) {
  .tier-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .wrap { padding: 0 1.25rem; }
  .nav { padding: 1rem 1.25rem; }
  .footer-inner { padding: 0 1.25rem; }
}
