/* CurbCommand marketing + auth surface */
:root {
  --charcoal: #1C1917; --smoke: #292524; --ash: #57534E; --ember: #EA580C;
  --flame: #F97316; --cream: #FAF6F0; --sage: #84CC16; --sky: #38BDF8;
  --muted: #A8A29E; --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--charcoal); color: var(--cream);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", system-ui, sans-serif; line-height: 1.15; }
a { color: var(--flame); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: var(--smoke); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5vw; position: sticky; top: 0; z-index: 10;
  background: rgba(28,25,23,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--smoke);
}
.nav-brand { display: inline-flex; align-items: center; gap: .55rem; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 1.25rem; color: var(--cream); }
.nav-brand em { color: var(--ember); font-style: normal; }
.nav-brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { color: var(--cream); font-weight: 500; }

.btn {
  display: inline-block; padding: .6rem 1.2rem; border-radius: 10px; border: 1px solid var(--ash);
  background: transparent; color: var(--cream); font-weight: 600; cursor: pointer; font-size: 1rem;
}
.btn:hover { text-decoration: none; border-color: var(--flame); }
.btn-primary { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--flame); }
.btn-ghost { background: transparent; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 4vw; align-items: center;
  padding: 6rem 5vw 5rem; max-width: 1300px; margin: 0 auto;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: .6rem 0 1rem; }
.hero h1 em { color: var(--ember); font-style: normal; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.hero-cta { display: flex; gap: 1rem; margin: 1.6rem 0 .8rem; flex-wrap: wrap; }
.pill {
  display: inline-block; padding: .3rem .9rem; border-radius: 999px; font-size: .82rem;
  background: var(--smoke); color: var(--flame); border: 1px solid #3b332e;
}
.pill-ember { background: var(--ember); color: #fff; }

.mock-window { background: var(--smoke); border: 1px solid #3b332e; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #211d1a; font-size: .8rem; color: var(--muted); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--ash); display: inline-block; }
.mock-bar b { margin-left: .5rem; font-weight: 500; }
.mock-body { padding: 1rem; display: grid; gap: .7rem; }
.mock-stat { background: #211d1a; border-radius: 10px; padding: .7rem .9rem; display: grid; }
.mock-stat small { color: var(--muted); } .mock-stat strong { font-size: 1.3rem; }
.mock-stat .up { color: var(--sage); font-size: .85rem; }
.mock-stat .ok { color: var(--sage); } .mock-stat .ember { color: var(--flame); font-size: .85rem; }
.mock-row { background: #211d1a; border-radius: 10px; padding: .7rem .9rem; font-size: .9rem; color: var(--muted); }

section { padding: 4rem 5vw; max-width: 1300px; margin: 0 auto; }
section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 2rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; }
.card { background: var(--smoke); border: 1px solid #3b332e; border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin-top: 0; }
.feat-ic { font-size: 1.7rem; }
.feat p { color: var(--muted); }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; align-items: start; }
.tier { position: relative; background: var(--smoke); border: 1px solid #3b332e; border-radius: var(--radius); padding: 1.8rem; }
.tier-hot { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember), 0 20px 60px rgba(234,88,12,.15); }
.tier-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--ember); color: #fff; font-size: .75rem; font-weight: 700; padding: .2rem .8rem; border-radius: 999px; }
.tier h3 { margin: 0; font-size: 1.4rem; }
.tier-strap { color: var(--flame); margin: .2rem 0 1rem; font-weight: 600; }
.tier-price { font-size: 2.4rem; font-weight: 800; font-family: "Bricolage Grotesque"; }
.tier-price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.tier ul { padding-left: 1.1rem; color: var(--muted); }
.tier li { margin: .45rem 0; }

.demo-card { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; background: linear-gradient(120deg, #2a1c12, var(--smoke)); border: 1px solid #4a3527; border-radius: var(--radius); padding: 2.5rem; }
.demo-art { font-size: 4rem; }
.cta-final { text-align: center; padding-bottom: 6rem; }
.faq { margin-top: 3rem; }
.faq h4 { color: var(--flame); margin-bottom: .3rem; }
.faq p { color: var(--muted); margin-top: 0; }

.footer { border-top: 1px solid var(--smoke); padding: 3rem 5vw; }
.footer-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; }
.footer a { display: block; color: var(--muted); margin: .3rem 0; }
.footer h4 { color: var(--cream); }

.page { padding: 4rem 5vw; max-width: 1200px; margin: 0 auto; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; }
.tier-grid-full { margin-top: 3rem; }

.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; padding: 2rem; }
.auth-brand { font-size: 1.5rem; }
.auth-card { width: min(430px, 100%); }
.auth-card.wide { width: min(560px, 100%); }
.auth-card h1 { margin-top: 0; }
.stack { display: grid; gap: .7rem; margin-top: 1rem; }
.stack label { font-size: .9rem; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: .65rem .8rem; border-radius: 10px; border: 1px solid var(--ash);
  background: #211d1a; color: var(--cream); font-size: 1rem; font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--ember); border-color: var(--ember); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.divider { display: flex; align-items: center; gap: .8rem; color: var(--muted); margin: 1.2rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--ash); }
.flash { border-radius: 10px; padding: .8rem 1rem; margin: .8rem 0; font-size: .92rem; }
.flash-error { background: #3b1512; border: 1px solid #7f1d1d; color: #fecaca; }
.flash-info { background: #132530; border: 1px solid #155e75; color: #bae6fd; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: .8rem; font-size: .9rem; }
  .demo-card { grid-template-columns: 1fr; }
}
