/* ══════════════════════════════════════════════════════════
   Cartside v2 — landing / app-shell skeleton
   Standalone: does NOT share styles with the classic app.
═══════════════════════════════════════════════════════════ */

:root {
  --bg:            #f7f5f0;   /* warm cream page background   */
  --surface:       #ffffff;
  --ink:           #101828;
  --ink-2:         #475467;
  --muted:         #667085;
  --border:        #e7e4dc;

  --green:         #16a34a;   /* primary action green         */
  --green-hover:   #128a3f;
  --green-deep:    #0d3b2e;   /* dark demo-panel green        */
  --green-tint:    #d3ecd0;

  --orange:        #ea8a1f;
  --orange-tint:   #fbe5c2;
  --blue:          #4f7df9;
  --blue-tint:     #d9e4fb;

  --walmart: #0071ce; --kroger: #005eb8; --aldi: #cc0000; --publix: #3a7d44;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 3px rgba(16,24,40,.06), 0 6px 24px rgba(16,24,40,.05);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  font: inherit; font-weight: 600; font-size: 14.5px;
  padding: 10px 20px; border-radius: 10px;
  cursor: pointer; border: none;
  transition: background .13s, border-color .13s, color .13s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); }
.btn-outline {
  background: var(--surface); color: var(--ink);
  border: 1px solid #d5d2c8;
}
.btn-outline:hover { border-color: #b9b5a8; }
.btn-outline-green, .btn-outline-orange, .btn-outline-blue {
  background: transparent; border: 1.5px solid;
  padding: 9px 18px; border-radius: 10px; font-weight: 700;
}
.btn-outline-green  { color: var(--green);  border-color: var(--green); }
.btn-outline-orange { color: var(--orange); border-color: var(--orange); }
.btn-outline-blue   { color: var(--blue);   border-color: var(--blue); }
.btn-outline-green:hover  { background: rgba(22,163,74,.07); }
.btn-outline-orange:hover { background: rgba(234,138,31,.08); }
.btn-outline-blue:hover   { background: rgba(79,125,249,.07); }
.btn .arrow { margin-left: 4px; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  display: flex; align-items: center; gap: 32px;
  padding: 14px 40px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.brand {
  display: flex; align-items: flex-end; gap: 4px;
  text-decoration: none; color: var(--ink);
}
.brand-word {
  font-size: 30px; font-weight: 800; letter-spacing: -1.4px; line-height: 1;
}
.brand-cart { color: var(--green); margin-bottom: 2px; }
.main-nav {
  display: flex; gap: 28px; margin: 0 auto;
}
.main-nav a {
  text-decoration: none; color: var(--ink-2);
  font-size: 14.5px; font-weight: 600;
  transition: color .12s;
}
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 10px; }

/* ── Page container ──────────────────────────────────────── */
.page {
  max-width: 1420px;
  margin: 0 auto;
  padding: 36px 40px 0;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr);
  gap: 56px;
  align-items: center;
}

/* Demo panel — empty container awaiting the real demo video.
   hook: place a <video> inside .hero-demo and remove the play glyph */
.hero-demo {
  background: var(--green-deep);
  border-radius: var(--radius-lg);
  min-height: 420px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.demo-placeholder-play {
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,.9);
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  padding-left: 6px;   /* optically center the triangle */
}

/* Hero copy */
.eyebrow {
  color: var(--green); font-size: 13px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.06;
}
.hero-title-accent { color: var(--green); }
.hero-sub {
  margin-top: 18px;
  font-size: 17px; line-height: 1.55; color: var(--ink-2);
  max-width: 460px;
}
.hero-ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-stores { margin-top: 30px; }
.hero-stores-label { font-size: 13.5px; color: var(--muted); }
.store-logos {
  display: flex; align-items: center; gap: 20px;
  margin-top: 10px; flex-wrap: wrap;
}
.store-logo { font-weight: 800; font-size: 16.5px; letter-spacing: -.2px; }
.store-logo.walmart { color: var(--walmart); }
.store-logo.walmart i { color: #ffc220; font-style: normal; margin-left: 1px; }
.store-logo.kroger  { color: var(--kroger); font-style: italic; }
.store-logo.aldi    { color: var(--aldi); }
.store-logo.publix  { color: var(--publix); }
.store-logo-more { font-size: 13px; color: var(--muted); }

/* ── Feature cards ───────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.feature-card {
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex; gap: 18px;
  min-height: 330px;
  overflow: hidden;
}
.feature-green  { background: var(--green-tint); }
.feature-orange { background: var(--orange-tint); }
.feature-blue   { background: var(--blue-tint); }

.feature-info {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px; flex: 1; min-width: 0;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.feature-green  .feature-icon { background: var(--green); }
.feature-orange .feature-icon { background: var(--orange); }
.feature-blue   .feature-icon { background: var(--blue); }
.feature-card h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -.4px; line-height: 1.15;
}
.feature-card p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.feature-info .btn { margin-top: auto; }

.feature-mock {
  width: 46%; flex-shrink: 0;
  display: flex; align-items: center;
}
.mock-card {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 12px;
  width: 100%;
  display: flex; flex-direction: column; gap: 8px;
}
.mock-card-title { font-size: 12.5px; font-weight: 800; padding: 0 2px 2px; }
.mock-row {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid #f1f0ec; border-radius: 10px;
  padding: 8px 9px;
  font-size: 11.5px; line-height: 1.25;
}
.mock-row small { color: var(--muted); font-size: 10.5px; }
.mock-row i { margin-left: auto; color: #c6c3ba; font-style: normal; }
.mock-thumb { font-size: 20px; flex-shrink: 0; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 6px 34px;
  margin-top: 16px;
  color: var(--muted); font-size: 13px;
}
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-mock { width: 40%; }
}
@media (max-width: 760px) {
  .site-header { padding: 12px 18px; gap: 14px; }
  .main-nav { display: none; }             /* hook: mobile menu */
  .page { padding: 22px 18px 0; }
  .hero-demo { min-height: 260px; }
  .feature-card { flex-direction: column; }
  .feature-mock { width: 100%; }
}
