/* QuoteMaven marketing site — one stylesheet, brand-matched to the app:
   navy #2d3f50 primary · gold #c89f61 secondary · Tailwind-slate neutrals.
   System fonts, 8pt rhythm, mobile-first. No frameworks, no webfonts. */

:root {
  --navy: #2d3f50;
  --navy-dark: #1e2c3a;
  --navy-deep: #182430;
  --navy-tint: #eaeff4;
  --gold: #c89f61;
  --gold-dark: #a87f45;
  --gold-tint: #f7f1e5;
  --link: #3f6493;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --fill: #f1f5f9;
  --ground: #f8fafc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.07);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-2);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; min-width: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5.5vw, 48px); font-weight: 800; }
h2 { font-size: clamp(23px, 3.5vw, 30px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }

/* ---------- header ---------- */
.site-head {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.head-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-gold { color: var(--gold-dark); }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--navy); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
@media (max-width: 620px) {
  /* Stack brand over nav — a single row overflows narrow phones and clips "Support" */
  .head-row { flex-direction: column; height: auto; padding: 10px 0 12px; gap: 6px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 14px; }
  .brand { font-size: 19px; }
  /* The hero's manual line break is for wide screens; let narrow screens wrap naturally */
  .hero h1 br { display: none; }
}

/* ---------- header logo ---------- */
.brand-img { width: 150px; height: auto; display: block; }
.foot-logo { width: 118px; height: auto; display: inline-block; vertical-align: middle; }
.foot-tag { color: var(--ink-3); font-size: 14px; margin-left: 10px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--white) 0%, var(--ground) 100%); padding: 72px 0 56px; text-align: center; }

/* Dark navy hero (home) — the og-card treatment, live */
.hero-dark {
  background: linear-gradient(135deg, #182430 0%, #1e2c3a 55%, #2d3f50 100%);
  text-align: left; padding: 76px 0 72px;
}
.hero-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-cols { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero-dark { text-align: center; } .hero-dark .hero-cta-row { justify-content: center; } .hero-logo { margin: 0 auto; } }
.hero-logo { width: 210px; height: auto; margin-bottom: 26px; }
.hero-dark h1 { color: var(--white); }
.hero-dark .slogan { color: var(--gold); margin-left: 0; margin-right: 0; }
.hero-dark .lede { color: #b8c4cf; margin-left: 0; margin-right: 0; }
@media (max-width: 860px) { .hero-dark .slogan, .hero-dark .lede { margin-left: auto; margin-right: auto; } }
.hero-dark .hero-cta-row { justify-content: flex-start; }
.hero-dark .cta { background: var(--gold); color: var(--navy-deep); }
.hero-dark .cta:hover { background: var(--gold-dark); }
.hero-dark .cta-soon { background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.22); }
.hero-dark .cta-ghost { background: transparent; border-color: rgba(255,255,255,.28); color: var(--white); }
.hero-dark .cta-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- animated calc demo ---------- */
.demo-card {
  background: var(--white); border-radius: 18px; padding: 26px 24px;
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
}
.demo-title { font-weight: 800; color: var(--ink); font-size: 17px; margin-bottom: 18px; }
.demo-field { margin-top: 14px; }
.demo-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.demo-input {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-size: 17px; color: var(--ink); min-height: 48px; display: flex; align-items: center;
  background: var(--ground);
}
.demo-caret { display: inline-block; width: 2px; height: 20px; background: var(--navy); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-qty { position: relative; }
.demo-qty.pop #demo-qty { animation: pop .45s cubic-bezier(.2,1.6,.4,1); display: inline-block; font-weight: 800; }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.demo-chip {
  margin-left: auto; background: var(--gold-tint); color: var(--gold-dark);
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 10px;
}
.demo-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .demo-caret { animation: none; } .demo-qty.pop #demo-qty { animation: none; } }

/* ---------- phone frame ---------- */
.phone {
  margin-top: 16px; border-radius: 26px; padding: 9px; background: var(--navy-deep);
  box-shadow: 0 14px 40px rgba(15,23,42,.22);
}
.phone img { border-radius: 18px; margin-top: 0; border: 0; }
.phone-sm { max-width: 270px; }

/* ---------- reveal + hover polish ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.tile, .step, .plan { transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover, .plan:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(15,23,42,.10); }
.hero .slogan {
  margin: 20px auto 0; max-width: 680px;
  font-size: clamp(18px, 2.6vw, 22px); font-weight: 700; color: var(--gold-dark);
}
.hero .lede { font-size: clamp(16px, 2.2vw, 18px); color: var(--ink-3); max-width: 620px; margin: 12px auto 0; }
.hero-cta-row { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }

.cta {
  display: inline-block; padding: 14px 28px; border-radius: 12px;
  background: var(--navy); color: var(--white); font-weight: 700; font-size: 16px;
  box-shadow: var(--shadow);
}
.cta:hover { background: var(--navy-dark); text-decoration: none; }
.cta-soon { background: var(--navy-deep); cursor: default; }
.cta-soon::before { content: "▶ "; color: var(--gold); }
.cta-ghost {
  display: inline-block; padding: 13px 24px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--navy); font-weight: 700; font-size: 15.5px;
}
.cta-ghost:hover { border-color: var(--navy); text-decoration: none; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section .kicker {
  color: var(--gold-dark); font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
}
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { margin-top: 10px; color: var(--ink-3); }

/* 3-step story */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 800px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step .n {
  display: inline-flex; width: 34px; height: 34px; border-radius: 10px;
  background: var(--gold-tint); color: var(--gold-dark);
  align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px;
}
.step p { margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.step img { border-radius: 10px; border: 1px solid var(--line); margin-top: 16px; }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.tile p { margin-top: 6px; font-size: 14.5px; color: var(--ink-3); }

/* long-form feature sections */
.feature-block { border-top: 1px solid var(--line); padding: 40px 0; max-width: 720px; }
.feature-block:first-of-type { border-top: 0; }
.feature-block p { margin-top: 10px; }
.feature-block .example {
  margin-top: 14px; background: var(--navy-tint); border-radius: 10px; padding: 14px 16px;
  font-size: 15px; color: var(--navy-dark);
}
.feature-block .example code {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 1px 7px; font-size: 14px; color: var(--ink);
}

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 800px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.plan.gold { border: 2px solid var(--gold); position: relative; }
.plan .badge {
  position: absolute; top: -12px; left: 20px; background: var(--gold);
  color: var(--navy-deep); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 12px;
}
.plan .price { font-size: 26px; font-weight: 800; color: var(--ink); margin: 10px 0 2px; }
.plan .per { color: var(--ink-3); font-size: 14px; margin-bottom: 14px; }
.plan ul { padding-left: 0; list-style: none; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; border-top: 1px solid var(--fill); }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold-dark); font-weight: 800; }

/* comparison table */
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.compare { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--fill); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--white); font-weight: 700; }
.compare thead th:first-child { border-top-left-radius: var(--radius); }
.compare thead th:last-child { border-top-right-radius: var(--radius); }
.compare .yes { color: var(--gold-dark); font-weight: 700; }

/* misc */
.note { font-size: 13.5px; color: var(--ink-3); margin-top: 14px; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
@media (max-width: 800px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shots img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.center { text-align: center; }
.mt { margin-top: 28px; }

/* support / simple pages */
.prose { max-width: 680px; }
.prose h2 { margin-top: 36px; }
.prose p { margin-top: 12px; }
.big404 { font-size: 84px; font-weight: 800; color: var(--navy-tint); line-height: 1; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--white); padding: 32px 0; margin-top: 40px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-brand { font-weight: 700; color: var(--navy); }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-nav a { font-size: 14px; color: var(--ink-3); }
.foot-copy { font-size: 13px; color: var(--ink-3); }
