/* ============================================================
   WHITE PIZZA — Design System
   Serif display (Spectral) + clean sans (Hanken Grotesk)
   Warm artisan palette: tomato / dough cream / basil
   ============================================================ */

:root {
  /* Palette */
  --bg: #FBF6EC;          /* page warm cream */
  --bg-alt: #F6EEDF;      /* alternating section */
  --surface: #FFFDF8;     /* cards */
  --cream: #F4E6CE;       /* dough */
  --cream-deep: #ECD9B7;

  --tomato: #C8372D;
  --tomato-deep: #A8281F;
  --tomato-ink: #7E1C16;

  --basil: #3E7C4A;
  --basil-deep: #2F6138;

  --ink: #271E18;         /* warm near-black */
  --ink-soft: #6E6055;    /* muted brown-grey */
  --ink-faint: #9A8C7E;
  --line: #E7DAC4;        /* warm hairline */
  --line-soft: #EFE6D4;

  /* Type */
  --serif: "Spectral", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Radii / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(39,30,24,.06), 0 2px 8px rgba(39,30,24,.05);
  --shadow-md: 0 6px 24px rgba(39,30,24,.08), 0 2px 6px rgba(39,30,24,.05);
  --shadow-lg: 0 24px 60px rgba(39,30,24,.16), 0 8px 20px rgba(39,30,24,.08);
  --shadow-tomato: 0 12px 30px rgba(168,40,31,.30);

  --container: 1200px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--alt { background: var(--bg-alt); }
.section--cream { background: var(--cream); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tomato);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--tomato);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.section-head { max-width: 680px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 50px);
  margin-top: 18px;
}
.section-head .lead {
  margin-top: 18px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  padding: 15px 26px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--tomato);
  color: #fff;
  box-shadow: var(--shadow-tomato);
}
.btn--primary:hover {
  background: var(--tomato-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(168,40,31,.36);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(39,30,24,.03);
  transform: translateY(-2px);
}
.btn--light {
  background: #fff;
  color: var(--tomato-deep);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--lg { padding: 18px 32px; font-size: 17px; }

.link-arrow {
  font-weight: 600;
  color: var(--tomato-deep);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: gap .18s ease;
}
.link-arrow:hover { gap: 12px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,246,236,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(39,30,24,.05);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--tomato);
  display: grid; place-items: center;
  position: relative;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.28);
}
.brand__mark::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: -7px -4px 0 var(--cream), 7px -3px 0 var(--cream), -3px 6px 0 var(--cream), 6px 6px 0 var(--cream);
}
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand__name b { color: var(--tomato); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--tomato);
  transition: width .2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ============================================================
   HERO (shared + variants)
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero[hidden] { display: none; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--cream);
  border: 1px solid var(--cream-deep);
  color: var(--tomato-ink);
  font-weight: 600; font-size: 14px;
  padding: 8px 15px; border-radius: 999px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--basil); box-shadow: 0 0 0 4px rgba(62,124,74,.18); }

.hero h1 { font-size: clamp(40px, 6vw, 76px); }
.hero h1 .accent { color: var(--tomato); font-style: italic; }
.hero__sub {
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 30ch;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { display: flex; align-items: center; gap: 8px; color: var(--ink-faint); font-size: 14px; }
.hero__note svg { width: 16px; height: 16px; color: var(--basil); }

/* Variant A — split */
.hero--a .hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero--a .hero__copy > * + * { margin-top: 26px; }

.hero__bg-word {
  position: absolute;
  right: -3%; top: -8%;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26vw;
  color: rgba(168,40,31,.04);
  pointer-events: none;
  line-height: 1;
  font-style: italic;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }

/* hero stage (mockup composition) */
.stage { display: flex; }
.stage--a { position: relative; align-items: flex-end; }
.stage--a .stage__phone { position: relative; z-index: 2; }
.stage--a .stage__dash { position: absolute; left: 168px; bottom: 30px; width: 440px; max-width: 46vw; z-index: 1; }

/* ============================================================
   PHONE MOCKUP (branded ordering app)
   ============================================================ */
.phone {
  width: min(290px, 84vw);
  aspect-ratio: 290 / 600;
  background: #1c1611;
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
  flex: 0 0 auto;
}
.phone__notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #1c1611; border-radius: 999px; z-index: 5;
}
.phone__screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 33px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.appbar {
  background: var(--tomato);
  color: #fff;
  padding: 40px 18px 16px;
  flex: 0 0 auto;
}
.appbar__top { display: flex; justify-content: space-between; align-items: center; }
.appbar__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.appbar__logo { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--tomato); font-family: var(--serif); font-weight: 700; font-size: 13px; }
.appbar__pill { background: rgba(255,255,255,.18); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 600; display:flex; align-items:center; gap:5px; }
.appbar__title { font-family: var(--serif); font-size: 21px; font-weight: 700; margin-top: 14px; line-height:1.1; }
.appbar__sub { font-size: 11.5px; opacity: .9; margin-top: 3px; }

.appscreen { flex: 1; overflow: hidden; padding: 14px; display: flex; flex-direction: column; gap: 11px; background: var(--bg); }
.appcat { display: flex; gap: 7px; }
.appcat span { font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: #fff; color: var(--ink-soft); border: 1px solid var(--line); white-space: nowrap; }
.appcat span.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.menucard {
  background: #fff; border-radius: 14px; padding: 10px;
  display: flex; gap: 11px; align-items: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
}
.menucard__img {
  width: 58px; height: 58px; border-radius: 10px; flex: 0 0 auto;
  background:
    repeating-linear-gradient(45deg, #EAD9BE 0 6px, #E2CDAB 6px 12px);
  position: relative; overflow: hidden;
}
.menucard__info { flex: 1; min-width: 0; }
.menucard__name { font-weight: 700; font-size: 13px; }
.menucard__desc { font-size: 10.5px; color: var(--ink-faint); line-height: 1.3; margin-top: 2px; }
.menucard__row { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; }
.menucard__price { font-weight: 700; font-size: 13px; color: var(--tomato-deep); }
.menucard__add { width: 24px; height: 24px; border-radius: 8px; background: var(--basil); color:#fff; display: grid; place-items: center; font-size: 16px; font-weight: 600; }

.appfoot {
  flex: 0 0 auto; background: #fff; border-top: 1px solid var(--line);
  padding: 11px 14px 14px;
}
.appfoot__pickup { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-soft); margin-bottom: 9px; }
.appfoot__pickup b { color: var(--ink); }
.appfoot__pickup svg { width: 14px; height: 14px; color: var(--tomato); }
.appcheckout {
  background: var(--tomato); color: #fff; border-radius: 12px;
  padding: 12px 14px; display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 13.5px;
}

/* Loyalty mini in phone */
.bollini-strip {
  background: linear-gradient(120deg, var(--basil) 0%, var(--basil-deep) 100%);
  color: #fff; border-radius: 14px; padding: 11px 13px;
}
.bollini-strip__top { display:flex; justify-content: space-between; align-items:center; font-size: 11px; font-weight: 600; opacity:.95; }
.bollini-dots { display: flex; gap: 5px; margin-top: 9px; }
.bollini-dots i {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.55);
  display: grid; place-items: center; font-style: normal; font-size: 10px;
}
.bollini-dots i.is-full { background: #fff; color: var(--basil-deep); border-color: #fff; }

/* ============================================================
   DASHBOARD MOCKUP (real-time orders)
   ============================================================ */
.dash {
  width: 100%;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.dash__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.dash__dot { width: 11px; height: 11px; border-radius: 50%; }
.dash__title { margin-left: 10px; font-weight: 700; font-size: 13px; color: var(--ink-soft); display:flex; align-items:center; gap: 8px; }
.dash__live { display:inline-flex; align-items:center; gap:6px; font-size: 11px; font-weight: 700; color: var(--basil-deep); background: rgba(62,124,74,.12); padding: 3px 9px; border-radius: 999px; }
.dash__live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--basil); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(62,124,74,.5)} 70%{box-shadow:0 0 0 7px rgba(62,124,74,0)} 100%{box-shadow:0 0 0 0 rgba(62,124,74,0)} }

.dash__body { display: grid; grid-template-columns: 168px 1fr; min-height: 380px; }
.dash__side { background: var(--ink); color: rgba(255,255,255,.7); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.dash__side .s-brand { display:flex; align-items:center; gap:8px; color:#fff; font-family: var(--serif); font-weight: 700; font-size: 15px; margin-bottom: 14px; padding: 0 6px; }
.dash__side .s-brand i { width: 22px; height: 22px; background: var(--tomato); border-radius: 50%; display: inline-block; }
.dash__side a { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; font-size: 13px; font-weight: 500; }
.dash__side a svg { width: 16px; height: 16px; opacity: .8; }
.dash__side a.is-on { background: rgba(255,255,255,.1); color: #fff; }
.dash__side a .badge { margin-left: auto; background: var(--tomato); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }

.dash__main { padding: 18px; background: var(--bg); }
.dash__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dcol__head { display:flex; align-items:center; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.dcol__head .count { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--ink); }

.order {
  background: #fff; border-radius: 12px; padding: 12px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}
.order--new { border-left: 3px solid var(--tomato); animation: slidein .5s ease; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } to { opacity:1; transform: none; } }
.order__top { display: flex; justify-content: space-between; align-items: baseline; }
.order__id { font-weight: 700; font-size: 13px; }
.order__time { font-size: 11px; color: var(--ink-faint); }
.order__items { font-size: 11.5px; color: var(--ink-soft); margin-top: 5px; line-height: 1.4; }
.order__meta { display: flex; align-items: center; gap: 7px; margin-top: 9px; flex-wrap: wrap; }
.chip { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; display:inline-flex; align-items:center; gap:4px; }
.chip--pay { background: rgba(62,124,74,.14); color: var(--basil-deep); }
.chip--pickup { background: var(--cream); color: var(--tomato-ink); }
.chip--bollini { background: rgba(168,40,31,.1); color: var(--tomato-deep); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust { padding-block: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trust__label { text-align: center; color: var(--ink-faint); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 26px; }
.trust__logo { display: flex; align-items: center; gap: 10px; opacity: .5; transition: opacity .2s; filter: grayscale(1); }
.trust__logo:hover { opacity: .85; }
.trust__logo .glyph { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); display:grid; place-items:center; color:#fff; font-family: var(--serif); font-weight: 700; }
.trust__logo .glyph--round { border-radius: 50%; }
.trust__logo .tname { font-family: var(--serif); font-weight: 700; font-size: 18px; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.fcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cream-deep); }
.fcard__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--cream); color: var(--tomato-deep);
  display: grid; place-items: center; margin-bottom: 20px;
}
.fcard__icon svg { width: 26px; height: 26px; }
.fcard--star .fcard__icon { background: var(--tomato); color: #fff; }
.fcard h3 { font-size: 22px; }
.fcard p { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.fcard__tag {
  position: absolute; top: 22px; right: 22px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--basil-deep); background: rgba(62,124,74,.12);
  padding: 4px 10px; border-radius: 999px;
}

/* ============================================================
   HOW IT WORKS — steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; position: relative; }
.step { position: relative; }
.step__num {
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--tomato); color: #fff;
  display: grid; place-items: center; margin-bottom: 22px;
  box-shadow: var(--shadow-tomato);
}
.step h3 { font-size: 23px; }
.step p { margin-top: 11px; color: var(--ink-soft); font-size: 15.5px; }
.step__line { position: absolute; top: 28px; left: 56px; right: -30px; height: 2px; background: repeating-linear-gradient(90deg, var(--cream-deep) 0 8px, transparent 8px 16px); }
.step:last-child .step__line { display: none; }

/* ============================================================
   LOYALTY SECTION
   ============================================================ */
.loyalty__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.loyalty__list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.loyalty__item { display: flex; gap: 14px; align-items: flex-start; }
.loyalty__item .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--basil); color: #fff; display: grid; place-items: center; flex: 0 0 auto; margin-top: 2px; }
.loyalty__item .tick svg { width: 14px; height: 14px; }
.loyalty__item b { font-size: 16.5px; }
.loyalty__item p { color: var(--ink-soft); font-size: 15px; margin-top: 2px; }

/* Loyalty visual card */
.loyalcard {
  background: #fff; border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  position: relative;
}
.loyalcard__head { display: flex; justify-content: space-between; align-items: flex-start; }
.loyalcard__brand { display:flex; align-items:center; gap: 10px; }
.loyalcard__brand i { width: 34px; height: 34px; border-radius: 50%; background: var(--tomato); display:inline-block; }
.loyalcard__brand b { font-family: var(--serif); font-size: 18px; }
.loyalcard__chip { font-size: 12px; font-weight: 700; color: var(--basil-deep); background: rgba(62,124,74,.12); padding: 5px 12px; border-radius: 999px; }
.loyalcard__title { font-family: var(--serif); font-size: 26px; margin-top: 24px; }
.loyalcard__sub { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
/* Pizza-shaped loyalty (each bollino = a slice) */
.pizza-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 24px; }
.pizza { width: 248px; max-width: 78%; height: auto; display: block; filter: drop-shadow(0 10px 22px rgba(168,40,31,.20)); }
.pizza .cut { stroke: #FBF6EC; stroke-width: 2.4; stroke-linecap: round; }
.pizza .crust-edge { fill: none; stroke: #D49A4E; stroke-width: 2; opacity: .6; }
.pz-full { opacity: 1; }
/* slices "bake" in sequence when the card scrolls into view */
.reveal-on .reveal .pz-full { opacity: 0; transform: scale(.35); transform-box: fill-box; transform-origin: center; }
.reveal-on .reveal.is-in .pz-full { animation: pzpop .55s cubic-bezier(.2,.85,.3,1.25) both; }
@keyframes pzpop { to { opacity: 1; transform: scale(1); } }
.pizza-legend { display: flex; gap: 18px; font-size: 12.5px; color: var(--ink-soft); }
.pizza-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pizza-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.pizza-legend i.full { background: #CE4636; }
.pizza-legend i.empty { background: #F4E6CE; box-shadow: inset 0 0 0 1.5px var(--cream-deep); }

/* mini pizza inside the phone bollini strip */
.bollini-mini { display: flex; align-items: center; gap: 11px; margin-top: 9px; }
.bollini-mini .pizza { width: 50px; max-width: none; filter: drop-shadow(0 3px 6px rgba(0,0,0,.25)); }
.bollini-mini span { font-size: 11px; line-height: 1.3; font-weight: 600; }
.loyalcard__foot { margin-top: 22px; display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.loyalcard__progress { flex: 1; }
.loyalcard__progress .bar { height: 8px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.loyalcard__progress .bar i { display: block; height: 100%; width: 75%; background: var(--tomato); border-radius: 999px; }
.loyalcard__progress span { font-size: 12.5px; color: var(--ink-soft); margin-top: 7px; display: block; }

/* ============================================================
   DASHBOARD SECTION
   ============================================================ */
.dashsec__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.statrow { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; flex: 1; min-width: 130px; }
.stat .n { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--tomato-deep); }
.stat .l { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--featured { background: var(--ink); color: var(--bg); border-color: var(--ink); position: relative; }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan__badge { position: absolute; top: 20px; right: 24px; background: var(--tomato); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.plan__name { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tomato); }
.plan--featured .plan__name { color: var(--cream); }
.plan__price { font-family: var(--serif); font-size: 40px; font-weight: 700; margin-top: 14px; line-height: 1; }
.plan__price small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink-faint); }
.plan--featured .plan__price small { color: rgba(255,255,255,.6); }
.plan__desc { color: var(--ink-soft); font-size: 14.5px; margin-top: 12px; }
.plan--featured .plan__desc { color: rgba(255,255,255,.7); }
.plan__list { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.plan__list li svg { width: 17px; height: 17px; color: var(--basil); flex: 0 0 auto; margin-top: 3px; }
.plan--featured .plan__list li svg { color: #8FD49C; }
.pricing__note { text-align: center; margin-top: 22px; color: var(--ink-faint); font-size: 14px; }

/* founding-customer offer callout */
.founding {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px 22px;
  background: var(--cream);
  border: 1.5px dashed var(--cream-deep);
  border-radius: var(--r-lg);
  padding: 22px clamp(20px, 3vw, 34px);
  text-align: center;
}
.founding__tag {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--tomato);
  padding: 6px 13px; border-radius: 999px; white-space: nowrap;
  flex: 0 0 auto;
}
.founding__text { color: var(--ink-soft); font-size: 15.5px; max-width: 52ch; }
.founding__text b { color: var(--ink); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta {
  background: var(--tomato);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.finalcta__inner { text-align: center; padding-block: clamp(64px, 8vw, 110px); position: relative; z-index: 1; }
.finalcta h2 { color: #fff; font-size: clamp(34px, 5vw, 60px); }
.finalcta p { color: rgba(255,255,255,.88); font-size: clamp(17px, 1.7vw, 20px); margin: 20px auto 0; max-width: 52ch; }
.finalcta__cta { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.finalcta__bg { position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle at 20% 30%, #fff 2px, transparent 2px), radial-gradient(circle at 70% 60%, #fff 2px, transparent 2px), radial-gradient(circle at 45% 85%, #fff 2px, transparent 2px); background-size: 120px 120px, 90px 90px, 150px 150px; }

/* ============================================================
   CONTACT / DEMO
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px;
  padding: 13px 15px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--bg);
  color: var(--ink); transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--tomato); box-shadow: 0 0 0 4px rgba(200,55,45,.12); background: #fff; }
.field textarea { resize: vertical; min-height: 90px; }
.contact__aside .ci { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact__aside .ci .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--cream); color: var(--tomato-deep); display: grid; place-items: center; flex: 0 0 auto; }
.contact__aside .ci .ic svg { width: 21px; height: 21px; }
.contact__aside .ci b { font-size: 16px; }
.contact__aside .ci p { color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,.66); padding-block: 64px 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand__name { color: #fff; }
.footer__about { color: rgba(255,255,255,.6); font-size: 14.5px; margin-top: 16px; max-width: 32ch; line-height: 1.6; }
.footer__col h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 14.5px; color: rgba(255,255,255,.72); transition: color .18s; }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .18s; }
.footer__social a:hover { background: var(--tomato); }
.footer__social svg { width: 18px; height: 18px; color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13.5px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-on .reveal { opacity: 0; transform: translateY(24px); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links, .nav .btn { display: none; }
  .nav__toggle { display: block; }
  .hero--a .hero__inner { grid-template-columns: 1fr; }
  .hero--a .hero__stage { display: flex; justify-content: center; }
  /* drop the absolute/overlap composition; show phone centered (dashboard has its own section) */
  .stage--a { position: static; justify-content: center; align-items: flex-end; }
  .stage--a .stage__dash { display: none; }
  .stage--a .stage__phone { position: static; margin-left: 0; }
  .features__grid, .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step__line { display: none; }
  .loyalty__grid, .dashsec__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .features__grid, .pricing__grid { grid-template-columns: 1fr; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { flex-direction: row; overflow-x: auto; }
  .dash__side .s-brand { display: none; }
  .dash__cols { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
}
