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

:root {
  --ink: #1a1a18;
  --ink2: #4a4a45;
  --ink3: #8a8a82;
  --paper: #f5f3ee;
  --paper2: #ede9e1;
  --paper3: #e2ddd4;
  --accent: #2d5a27;
  --accent2: #4a8c42;
  --accent-light: #e8f2e6;
  --warn: #c8401a;
  --warn-light: #fdf0eb;
  --blue-light: #e8f0fb;
  --blue: #2255aa;
  --radius: 10px;
  --radius-lg: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--paper3);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink2);
  text-decoration: none;
  font-weight: 400;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.btn-nav {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: background .2s, transform .15s !important;
}
.btn-nav:hover { background: var(--accent) !important; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  padding: 80px 5vw 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp .6s .1s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent);
}
h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .6s .2s forwards;
}
h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--ink2);
  line-height: 1.65;
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 440px;
  opacity: 0;
  animation: fadeUp .6s .3s forwards;
}
.hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .6s .4s forwards;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .15s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-ghost {
  color: var(--ink2);
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--ink); }
.hero-note {
  font-size: 12px;
  color: var(--ink3);
  margin-top: 14px;
  opacity: 0;
  animation: fadeUp .6s .5s forwards;
}

/* ── DASHBOARD PREVIEW ── */
.hero-visual {
  opacity: 0;
  animation: fadeRight .7s .35s forwards;
}
.app-frame {
  background: #fff;
  border: 1px solid var(--paper3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 0 var(--paper3), 0 20px 60px rgba(0,0,0,.08);
}
.app-topbar {
  background: var(--paper2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--paper3);
}
.dot-r { width:10px;height:10px;border-radius:50%;background:#e8614a; }
.dot-y { width:10px;height:10px;border-radius:50%;background:#f5b731; }
.dot-g { width:10px;height:10px;border-radius:50%;background:#5ac05a; }
.app-url {
  flex: 1;
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--ink3);
  background: var(--paper);
  border-radius: 6px;
  padding: 3px 10px;
}
.app-body { padding: 16px; }
.app-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.app-stat {
  background: var(--paper);
  border-radius: 8px;
  padding: 10px 12px;
}
.app-stat-label { font-size: 10px; color: var(--ink3); margin-bottom: 3px; }
.app-stat-val { font-size: 20px; font-weight: 500; color: var(--ink); }
.app-stat-val.r { color: #c8401a; }
.app-stat-val.g { color: #2d6b27; }
.req-list { display: flex; flex-direction: column; gap: 1px; }
.req-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--paper);
  margin-bottom: 4px;
  transition: background .15s;
}
.req-item:hover { background: var(--paper2); }
.rdot { width:7px;height:7px;border-radius:50%;flex-shrink:0; }
.rdot.open { background:#c8401a; }
.rdot.prog { background:#d4861a; }
.rdot.wait { background:#2255aa; }
.rdot.done { background:#2d6b27; }
.req-info { flex:1; min-width:0; }
.req-t { font-size:12px;font-weight:500;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.req-s { font-size:10px;color:var(--ink3); }
.rbadge { font-size:10px;padding:2px 7px;border-radius:8px;white-space:nowrap; }
.rbadge.open { background:var(--warn-light);color:var(--warn); }
.rbadge.prog { background:#fef3e2;color:#9a5f10; }
.rbadge.wait { background:var(--blue-light);color:var(--blue); }
.rbadge.done { background:var(--accent-light);color:var(--accent); }

/* ── SECTION LAYOUT ── */
section { padding: 80px 5vw; }
.container { max-width: 1160px; margin: 0 auto; }
.section-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-tag::before { content:'';display:block;width:20px;height:1px;background:var(--accent); }
h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}
h2 em { font-style:italic;color:var(--accent); }
.section-sub {
  font-size: 17px;
  color: var(--ink2);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 52px;
}

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}
.step {
  position: relative;
}
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 52px;
  color: var(--paper3);
  line-height: 1;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink);
}
.step p {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.65;
  font-weight: 300;
}
.step-connector {
  position: absolute;
  top: 30px;
  right: -16px;
  color: var(--paper3);
  font-size: 22px;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border: 1px solid var(--paper3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: #fff;
  padding: 32px 36px;
  transition: background .2s;
}
.feature-card:hover { background: var(--accent-light); }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--paper3);
}
.feature-icon svg { width:18px;height:18px;stroke:var(--accent);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.feature-card h3 { font-size:17px;font-weight:500;margin-bottom:8px;color:var(--ink); }
.feature-card p { font-size:14px;color:var(--ink2);line-height:1.6;font-weight:300; }

/* ── PRICING ── */
#pricing { background: var(--paper2); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--paper3);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.btn-price { margin-top: auto; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.price-card.featured {
  border: 2px solid var(--accent);
  position: relative;
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-tier { font-size: 13px; font-weight: 500; color: var(--ink2); margin-bottom: 8px; }
.price-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 44px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount span { font-family:'DM Sans',sans-serif;font-size:16px;font-weight:300;color:var(--ink3); }
.price-desc { font-size: 13px; color: var(--ink3); margin-bottom: 20px; }
.price-divider { border: none; border-top: 1px solid var(--paper3); margin-bottom: 20px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-features li {
  font-size: 14px;
  color: var(--ink2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-features li::before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232d5a27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
}
.btn-price {
  display: block;
  text-align: center;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid var(--paper3);
  background: var(--paper);
  color: var(--ink);
  transition: background .2s, transform .15s;
  width: 100%;
}
.btn-price:hover { background: var(--paper2); transform: translateY(-1px); }
.btn-price.featured-btn {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-price.featured-btn:hover { background: var(--accent); border-color: var(--accent); }

/* ── TESTIMONIAL ── */
.testimonial-band {
  background: var(--ink);
  padding: 60px 5vw;
}
.testimonial-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 72px;
  color: var(--accent2);
  line-height: .6;
  display: block;
  margin-bottom: 20px;
}
blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--paper);
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 24px;
}
.quote-attr {
  font-size: 13px;
  color: var(--ink3);
  font-weight: 400;
}
.quote-attr strong { color: var(--paper2); font-weight: 500; }

/* ── CTA BAND ── */
.cta-band {
  padding: 100px 5vw;
  text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { font-size: 17px; color: var(--ink2); font-weight: 300; margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--paper2);
  border-top: 1px solid var(--paper3);
  padding: 40px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--ink3); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 12px; color: var(--ink3); width: 100%; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s, transform .5s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── INTERIOR PAGES ── */
.page-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 5vw 96px;
}
.page-wrap--narrow { max-width: 600px; }

.page-wrap h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 12px;
  /* cancel landing-page hero animation applied to all h1 */
  opacity: 1;
  animation: none;
}
.page-meta {
  font-size: 13px;
  color: var(--ink3);
  margin-bottom: 48px;
}
.page-wrap h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  margin: 40px 0 12px;
}
.page-wrap p {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 16px;
}
.page-wrap ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.page-wrap ul li {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 6px;
}
/* prose links — scoped to avoid overriding .btn-primary inside .page-wrap */
.page-wrap p a,
.page-wrap li a,
.support-intro a,
.contact-intro a { color: var(--accent); text-decoration: none; }
.page-wrap p a:hover,
.page-wrap li a:hover,
.support-intro a:hover,
.contact-intro a:hover { text-decoration: underline; }

/* Support — intro */
.support-intro {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 56px;
}

/* Support — FAQ */
.faq-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper3);
}
.faq-item { margin-bottom: 28px; }
.faq-item h3 { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.faq-item p { font-size: 15px; color: var(--ink2); line-height: 1.7; margin: 0; }
.faq-item strong { font-weight: 500; color: var(--ink); }
.faq-item a { color: var(--accent); text-decoration: none; }
.faq-item a:hover { text-decoration: underline; }

/* Support — still stuck CTA box */
.still-stuck {
  margin-top: 56px;
  background: var(--paper2);
  border: 1px solid var(--paper3);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.still-stuck h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}
.still-stuck p { font-size: 15px; color: var(--ink2); line-height: 1.7; margin-bottom: 20px; }
.still-stuck a.btn-primary { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }

/* Contact — intro */
.contact-intro { font-size: 16px; color: var(--ink2); line-height: 1.7; margin-bottom: 48px; }

/* Contact — form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label { font-size: 13px; font-weight: 500; color: var(--ink2); letter-spacing: 0.02em; }
.field-group input,
.field-group select,
.field-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--paper3);
  border-radius: var(--radius);
  padding: 11px 14px;
  width: 100%;
  transition: border-color .15s;
  outline: none;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.field-group textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; cursor: pointer; border: none; }
.form-note { font-size: 13px; color: var(--ink3); margin-top: 4px; }
.success-msg {
  display: none;
  background: var(--accent-light);
  border: 1px solid var(--accent2);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 15px;
  color: var(--accent);
  margin-top: 8px;
}
.direct-contact { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--paper3); }
.direct-contact h2 { font-family: 'DM Serif Display', serif; font-size: 20px; font-weight: 400; margin-bottom: 12px; }
.direct-contact p { font-size: 15px; color: var(--ink2); line-height: 1.7; }

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 48px 5vw 40px; }
  .hero-visual { animation: fadeUp .6s .45s forwards; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
  .nav-links { display: none; }
  .field-row { grid-template-columns: 1fr; }
}
