/* Opcelerate Neural — Product landing template
   Techniques: CSS custom properties, clamp fluid type, aspect-ratio media stages,
   sticky mobile dock, reveal-on-scroll, reduced-motion, object-fit heroes
   (patterns common to static SaaS landings; no framework required)
*/
:root {
  --bg: #f4efe6;
  --bg-deep: #ebe4d8;
  --ink: #14110d;
  --muted: #5c554c;
  --line: rgba(20, 17, 13, 0.1);
  --card: #fffcf7;
  --green: #1f5c48;
  --green-2: #2f6f56;
  --gold: #d97706;
  --shadow: 0 28px 70px rgba(20, 17, 13, 0.1);
  --radius: 22px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(47, 111, 86, 0.14), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(217, 119, 6, 0.1), transparent 50%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(5.5rem + var(--safe-b));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

/* Nav */
.topnav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px) saturate(1.15);
  background: rgba(244, 239, 230, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.topnav.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(20, 17, 13, 0.06);
}
.topnav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0;
}
.brand {
  font-family: var(--display); font-weight: 700; font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex; flex-wrap: wrap; gap: .35rem 1rem;
  font-size: .88rem; font-weight: 600; color: var(--muted);
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.05rem;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-size: .82rem; font-weight: 700;
}

/* Hero */
.hero { padding: 1.75rem 0 1rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-links { display: none; }
}

.crumb { font-size: .78rem; color: var(--muted); margin-bottom: .85rem; }
.crumb a { color: var(--green-2); font-weight: 600; }
.badge {
  display: inline-flex; align-items: center;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem .75rem; border-radius: 999px;
  background: rgba(47, 111, 86, 0.12); color: var(--green);
  border: 1px solid rgba(47, 111, 86, 0.18);
  margin-bottom: .85rem;
}
h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: .65rem;
  max-width: 14ch;
}
.price {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  color: var(--green);
  margin-bottom: .85rem;
}
.lede {
  font-size: 1.06rem; color: var(--muted);
  max-width: 34rem; margin-bottom: 1.25rem;
}

.actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 50px; padding: 0 1.25rem; border-radius: 999px;
  font-weight: 700; font-size: .92rem; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: 0 14px 32px rgba(31, 92, 72, 0.28);
}
.btn-gold {
  background: var(--gold); color: #fff;
  box-shadow: 0 14px 32px rgba(217, 119, 6, 0.25);
}
.btn-ghost {
  background: var(--card); border-color: var(--line); color: var(--ink);
}

.cities {
  font-size: .9rem; color: var(--muted); margin-bottom: 1.1rem;
}
.cities strong { color: var(--ink); }

.answer {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-2);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  color: var(--muted);
  box-shadow: 0 8px 24px rgba(20, 17, 13, 0.03);
}
.answer strong { color: var(--ink); }

/* Media stage — GitHub/static landing pattern: fixed aspect + object-fit */
.media {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a2922;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s var(--ease);
}
.media:hover img { transform: scale(1.06); }
.media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 25, 20, 0.45) 100%);
  pointer-events: none;
}
.float-chip {
  position: absolute; z-index: 2;
  background: rgba(255, 252, 247, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  padding: .7rem .85rem;
  font-size: .78rem; font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}
.float-chip small {
  display: block; font-weight: 500; color: var(--muted); margin-top: .12rem;
}
.float-chip.a { left: 1rem; bottom: 1rem; }
.float-chip.b { right: 1rem; top: 1rem; }

/* Sections */
.section { padding: 2rem 0; }
.section.tint { background: rgba(235, 228, 216, 0.45); }
.section-head { margin-bottom: 1.15rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.kicker {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: .35rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.15rem;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 111, 86, 0.3);
  box-shadow: 0 16px 40px rgba(20, 17, 13, 0.07);
}
.card h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.card p, .card li { color: var(--muted); font-size: .92rem; }
.card ul { margin: 0 0 0 1.05rem; }
.card li { margin: .3rem 0; }

.city-row {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.city-pill {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 .95rem;
  border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); font-size: .85rem; font-weight: 700;
  color: var(--ink);
}
.city-pill:hover { border-color: rgba(47, 111, 86, 0.35); color: var(--green); }

.cta-panel {
  background: linear-gradient(135deg, #14110d, #1f5c48);
  color: #f8f3e9;
  border-radius: calc(var(--radius) + 2px);
  padding: 1.75rem 1.5rem;
  margin-top: 1.5rem;
}
.cta-panel h2 {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin-bottom: .45rem;
}
.cta-panel p { color: rgba(248, 243, 233, 0.88); margin-bottom: 1rem; }
.cta-panel .btn-primary {
  background: #e8c97a; color: #14110d; box-shadow: none;
}
.cta-panel .btn-ghost {
  background: transparent; border-color: rgba(248, 243, 233, 0.3); color: #f8f3e9;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2rem;
  font-size: .82rem; color: var(--muted);
}
.foot-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
}
.foot-row a { color: var(--green); font-weight: 600; }

/* Sticky mobile dock */
.dock {
  position: fixed; left: 50%; bottom: calc(.75rem + var(--safe-b));
  transform: translateX(-50%);
  z-index: 50;
  display: none;
  gap: .4rem;
  background: rgba(20, 17, 13, 0.94);
  backdrop-filter: blur(12px);
  padding: .45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.dock a {
  color: #f8f3e9; font-size: .75rem; font-weight: 700;
  padding: .7rem .95rem; border-radius: 999px; white-space: nowrap;
}
.dock a.hi { background: var(--gold); color: #fff; }
@media (max-width: 860px) { .dock { display: flex; } }

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  .media img { transition: none; }
  html { scroll-behavior: auto; }
}
