/* ============================================================
   Buildlogg — marketing landing page
   Cal.com-flavoured design system (from uploaded DESIGN.md)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* ink / text */
  --ink:        #0f0f0f;
  --ink-soft:   #1d2939;
  --body:       #2d2d2d;
  --muted:      #6b7280;
  --muted-soft: #898989;

  /* action */
  --primary:        #111111;
  --primary-active: #242424;

  /* surfaces */
  --canvas:        #ffffff;
  --surface-soft:  #f8f9fa;
  --surface-card:  #f5f5f5;
  --surface-strong:#e5e7eb;
  --surface-dark:  #0d0d0f;
  --surface-dark-2:#16171a;
  --field:         #f2f4f7;

  /* hairlines */
  --line:      #e5e7eb;
  --line-soft: #f1f2f4;
  --line-cool: #d7dae0;

  /* on dark */
  --on-dark:      #ffffff;
  --on-dark-soft: #a1a1aa;
  --on-dark-mute: #71717a;

  /* accents (rare) — deep blue, not bright SaaS blue */
  --accent:        #1e3a5f;
  --accent-soft:   #eef2f7;
  --accent-hover:  #2c4a6e;

  /* motion */
  --t-fast:  150ms;
  --t-med:   200ms;
  --t-enter: 560ms;

  /* product status palette (used inside app UI) */
  --blue:#1d4ed8;   --blue-bg:#eff6ff;   --blue-dot:#1e3a5f;
  --amber:#b45309;  --amber-bg:#fffbeb;  --amber-dot:#ea580c;
  --red:#dc2626;    --red-bg:#fef2f2;
  --grey:#475467;   --grey-bg:#f2f4f7;
  --green:#15803d;  --green-bg:#ecfdf3;  --green-dot:#16a34a;
  --purple:#7c3aed; --purple-bg:#f5f3ff; --purple-dot:#9333ea;

  /* badge pastels (avatars only) */
  --p-orange:#fb923c; --p-pink:#ec4899; --p-violet:#8b5cf6; --p-emerald:#34d399; --p-sky:#38bdf8;

  /* radius */
  --r-xs:4px; --r-sm:6px; --r-btn:8px; --r-card:12px; --r-xl:16px; --r-2xl:20px; --r-pill:999px;

  /* shadow */
  --sh-card:  0 1px 3px rgba(16,24,40,.05), 0 1px 2px rgba(16,24,40,.03);
  --sh-soft:  0 2px 8px -2px rgba(16,24,40,.06), 0 1px 3px -1px rgba(16,24,40,.04);
  --sh-float: 0 12px 40px -8px rgba(16,24,40,.12), 0 4px 12px -4px rgba(16,24,40,.06);
  --sh-phone: 0 50px 100px -30px rgba(16,24,40,.28), 0 16px 36px -16px rgba(16,24,40,.14), 0 0 0 1px rgba(16,24,40,.02);
  --sh-pill:  0 1px 2px rgba(0,0,0,.05);
  --sh-hover: 0 4px 12px rgba(0,0,0,.08);

  /* type */
  --display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ui:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2,0,0,1);
  --container: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ui);
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.lucide { width: 1em; height: 1em; stroke-width: 2; vertical-align: middle; flex: none; }

/* ---------- Type roles ---------- */
.display {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.d-hero { font-size: clamp(40px, 6vw, 66px); }
.hero--v33 .d-hero { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; }
.d-lg   { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; }
.d-md   { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.12; letter-spacing: -0.025em; }
.d-sm   { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.18; letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--ui);
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Layout ---------- */
/* Sections are closed containers — constrained to 1120px with a border on all 4 sides.
   Padding: 48px top / 40px bottom / 28px sides. */
.section {
  max-width: var(--container);
  margin: 0 auto 24px;
  padding: 48px 28px 40px;
  position: relative;
  border: 1px solid #f0f0f0;
}
.section.tight { padding: 48px 28px 40px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Grid border template (closed container style) ---------- */
/* Each section is a closed box. Inside a section, sub-grids keep their internal
   vertical dividers. The + marks sit at the corners of the section box. */

main { position: relative; }
main > * { position: relative; z-index: 1; }

/* Hero keeps dashed side lines inside its own container */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-left: 1px dashed #f0f0f0;
  border-right: 1px dashed #f0f0f0;
  pointer-events: none;
}

/* Hero section is also a closed container, but needs a real element for bottom + marks */
.hero.section .corner-bottom-left,
.hero.section .corner-bottom-right {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  bottom: -4px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 0H5.5V10H4.5V0Z' fill='%23d8d8d8'/%3E%3Cpath d='M0 5.5V4.5H10V5.5H0Z' fill='%23d8d8d8'/%3E%3C/svg%3E");
  background-size: 7px 7px;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
}
.hero.section .corner-bottom-left { left: -3.5px; transform: rotate(180deg); }
.hero.section .corner-bottom-right { right: -3.5px; transform: rotate(180deg); }

/* + marks at the four corners of each section container */
.section:not(.hero)::before,
.section:not(.hero)::after,
.section:not(.hero) .corner-bottom-left,
.section:not(.hero) .corner-bottom-right {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 0H5.5V10H4.5V0Z' fill='%23d8d8d8'/%3E%3Cpath d='M0 5.5V4.5H10V5.5H0Z' fill='%23d8d8d8'/%3E%3C/svg%3E");
  background-size: 7px 7px;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
}
.section:not(.hero)::before { top: -4px; left: -3.5px; }
.section:not(.hero)::after { top: -4px; right: -3.5px; }
.section:not(.hero) .corner-bottom-left { bottom: -4px; left: -3.5px; transform: rotate(180deg); }
.section:not(.hero) .corner-bottom-right { bottom: -4px; right: -3.5px; transform: rotate(180deg); }

/* Internal column dividers — vertical lines between grid columns */
/* Two-column grids: left column gets a right border, consistent 48px cell padding */
.hero-grid > *:first-child,
.problem-grid > *:first-child,
.feat > *:first-child,
.compare-grid > *:first-child,
.persona-grid > *:first-child {
  border-right: 1px solid #f0f0f0;
  padding-right: 48px;
}
.hero-grid > *:last-child,
.problem-grid > *:last-child,
.feat > *:last-child,
.compare-grid > *:last-child,
.persona-grid > *:last-child {
  padding-left: 48px;
}

/* Three-column grids: first and second cards get right border */
.steps > .step:nth-child(1),
.steps > .step:nth-child(2),
.fgrid > .fcard:nth-child(1),
.fgrid > .fcard:nth-child(2),
.fgrid > .fcard:nth-child(4),
.fgrid > .fcard:nth-child(5) {
  border-right: 1px solid #f0f0f0;
}

/* On mobile, hide all grid lines and box borders */
@media (max-width: 720px) {
  .hero::after { display: none; }
  .hero.section .corner-bottom-left,
  .hero.section .corner-bottom-right { display: none; }
  .hero { border: none; margin-bottom: 0; }
  .section { border: none; max-width: 100%; padding: 56px 20px 48px; margin-bottom: 0; }
  .section:not(.hero)::before,
  .section:not(.hero)::after,
  .section:not(.hero) .corner-bottom-left,
  .section:not(.hero) .corner-bottom-right { display: none; }
  .hero-grid > *:first-child,
  .problem-grid > *:first-child,
  .feat > *:first-child,
  .compare-grid > *:first-child,
  .persona-grid > *:first-child {
    border-right: none;
    padding-right: 0;
  }
  .hero-grid > *:last-child,
  .problem-grid > *:last-child,
  .feat > *:last-child,
  .compare-grid > *:last-child,
  .persona-grid > *:last-child {
    padding-left: 0;
  }
  .steps > .step:nth-child(1),
  .steps > .step:nth-child(2),
  .fgrid > .fcard:nth-child(1),
  .fgrid > .fcard:nth-child(2),
  .fgrid > .fcard:nth-child(4),
  .fgrid > .fcard:nth-child(5) {
    border-right: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ui); font-size: 15px; font-weight: 600; line-height: 1;
  height: 46px; padding: 0 20px; border-radius: var(--r-btn);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--ease) .15s, color var(--ease) .15s,
              border-color var(--ease) .15s, transform var(--ease) .15s, box-shadow var(--ease) .15s;
}
.btn:active { transform: translateY(1px); }
.btn .lucide { font-size: 17px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-active); transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgba(16,24,40,.4); }
.btn-secondary { background: var(--canvas); color: var(--ink); border-color: var(--line-cool); }
.btn-secondary:hover { background: var(--surface-soft); border-color: var(--muted-soft); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface-card); }
.btn-lg { height: 52px; font-size: 16px; padding: 0 24px; }
.btn-sm { height: 38px; font-size: 14px; padding: 0 14px; }
.btn-on-dark { background: #fff; color: var(--ink); }
.btn-on-dark:hover { background: #e9e9ec; transform: translateY(-1px); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease) .2s, box-shadow var(--ease) .2s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(16,24,40,.02); }
.nav-inner { height: 66px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: -0.03em; }
.brand .mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff;
  display: grid; place-items: center; flex: none;
}
.brand .mark .lucide { font-size: 16px; }
.brand-icon { width: 34px !important; height: 34px !important; display: block; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--body); padding: 8px 12px; border-radius: var(--r-btn); transition: background var(--ease) .15s, color var(--ease) .15s; }
.nav-link:hover { background: var(--surface-card); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-signin { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0 12px; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff; place-items: center; color: var(--ink); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 66px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 8px 28px 20px;
  flex-direction: column;
  gap: 0;
  z-index: 59;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--body);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 84px) 28px clamp(56px, 7vw, 88px); position: relative; overflow: hidden; max-width: var(--container); margin: 0 auto 24px; border: 1px solid #f0f0f0; }
.hero-grid { display: grid; grid-template-columns: 520px 520px; gap: 0; align-items: center; justify-content: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: var(--r-pill); background: var(--surface-card); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 22px; white-space: nowrap; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-dot); flex: none; }
.hero-eyebrow .tag { background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill); }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-sub { max-width: 420px; margin-bottom: 28px !important; font-size: clamp(17px, 2.2vw, 20px); }
.hero-trust-list { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-trust-list li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust-list .lucide { font-size: 15px; color: var(--green); flex: none; }
.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14.5px; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .lucide { font-size: 16px; }
.hero-trust .stars { color: var(--p-orange); display: inline-flex; gap: 2px; font-size: 15px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-sep { width: 1px; height: 18px; background: var(--line); }

.hero-visual { display: flex; justify-content: center; align-items: center; padding: 8px 0; }
.phone-frame {
  width: min(300px, 100%);
  padding: 10px;
  border-radius: 40px;
  border: 1px solid var(--line);
  background: var(--canvas);
  box-shadow: var(--sh-phone);
}
.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  border: 1px solid var(--line-soft);
}
.hero-cap-strip { margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.hero-cap-scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hero-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 14px 16px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--canvas);
}
.hero-cap-item .lucide { font-size: 18px; color: var(--muted); flex: none; margin-top: 2px; }
.hero-cap-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-cap-label { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.hero-cap-def { font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.35; }

/* Hero v33 — minimal, no grid decorations */
.hero--v33 {
  border: none;
  max-width: 100%;
  padding: clamp(48px, 7vw, 88px) 28px clamp(40px, 5vw, 56px);
  margin-bottom: 0;
}
.hero--v33::after { display: none; }
.hero--v33 .hero-grid > *:first-child { border-right: none; padding-right: 0; }
.hero--v33 .hero-grid > *:last-child { padding-left: 0; }
.hero--v33 .hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
  justify-content: stretch;
}
.hero--v33 .hero-eyebrow {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-soft);
  border-color: var(--line-soft);
  box-shadow: none;
  white-space: normal;
}
@media (min-width: 981px) {
  .hero--v33 .phone-frame { width: 320px; }
}

/* ---------- Phone frame ---------- */
.phone {
  width: 320px; background: #fff; border-radius: 44px; padding: 9px;
  border: 1px solid var(--line-cool); box-shadow: 0 50px 100px -30px rgba(16,24,40,.35), 0 16px 36px -16px rgba(16,24,40,.18), 0 0 0 1px rgba(16,24,40,.02); flex: none;
}
.phone .screen {
  position: relative; border-radius: 36px; overflow: hidden; background: #fff;
  height: 660px; display: flex; flex-direction: column;
}
.phone.sm { width: 280px; }
.phone.sm .screen { height: 580px; }
.statusbar { height: 40px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 13px; font-weight: 600; color: var(--ink); }
.statusbar .right { display: flex; align-items: center; gap: 6px; }
.statusbar .right .lucide { font-size: 15px; }
.app { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.app-scroll { flex: 1; overflow: hidden; }

/* app: greeting + money owed */
.greet-row { display: flex; align-items: flex-start; justify-content: space-between; padding: 6px 18px 12px; }
.greet .hi { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.greet .day { font-size: 13px; color: var(--muted); margin-top: 2px; }
.owed { text-align: right; }
.owed .amt { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.owed .lbl { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 1px; }

.app-tabs { display: flex; border-bottom: 1px solid var(--line); padding: 0 18px; gap: 24px; }
.app-tab { padding: 10px 2px 12px; font-size: 14px; font-weight: 600; color: var(--muted); position: relative; display: flex; align-items: center; gap: 7px; }
.app-tab.active { color: var(--ink); }
.app-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }
.app-tab .ct { min-width: 17px; height: 17px; padding: 0 5px; border-radius: var(--r-pill); background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: inline-grid; place-items: center; }

.pad { padding: 4px 18px 0; }
.sec-label { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 9px; }
.sec-label .see { font-size: 12px; font-weight: 600; color: var(--body); letter-spacing: 0; text-transform: none; }

/* status pills */
.spill { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--r-pill); }
.spill .dot { width: 6px; height: 6px; border-radius: 50%; }
.spill.green { background: var(--green-bg); color: var(--green); } .spill.green .dot { background: var(--green-dot); }
.spill.blue { background: var(--blue-bg); color: var(--blue); } .spill.blue .dot { background: var(--blue-dot); }
.spill.amber { background: var(--amber-bg); color: var(--amber); } .spill.amber .dot { background: var(--amber-dot); }
.spill.purple { background: var(--purple-bg); color: var(--purple); } .spill.purple .dot { background: var(--purple-dot); }
.spill.grey { background: var(--grey-bg); color: var(--grey); } .spill.grey .dot { background: var(--grey); }

/* app buttons */
.abtn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-family: var(--ui); font-size: 14px; font-weight: 600; border-radius: var(--r-btn); border: 1px solid transparent; height: 42px; padding: 0 14px; }
.abtn .lucide { font-size: 16px; }
.abtn.primary { background: var(--primary); color: #fff; }
.abtn.secondary { background: #fff; color: var(--ink); border-color: var(--line-cool); }
.abtn.full { width: 100%; }
.abtn.lg { height: 48px; font-size: 15px; }
.abtn.sm { height: 38px; font-size: 13px; padding: 0 12px; }

/* live job card */
.jobcard { border: 1px solid var(--line-cool); border-radius: var(--r-card); background: #fff; padding: 16px; box-shadow: var(--sh-card); }
.jc-top { display: flex; align-items: center; justify-content: space-between; }
.jc-time { font-size: 12px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.jc-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-top: 12px; color: var(--ink); }
.jc-job { font-size: 14px; color: var(--body); margin-top: 2px; }
.jc-loc { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.jc-divider { height: 1px; background: var(--line); margin: 14px 0; }
.jc-actions { display: flex; gap: 8px; }
.jc-actions .abtn { flex: 1; }
.quiet { text-align: center; font-size: 12.5px; color: var(--muted-soft); margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* task card */
.task { border: 1px solid var(--line-cool); border-radius: var(--r-card); background: #fff; padding: 12px 13px; box-shadow: var(--sh-card); margin-bottom: 8px; }
.task.urgent { border-color: #fecdca; background: #fffcfc; }
.task .row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.task .ttl { font-size: 14px; font-weight: 700; margin-top: 6px; letter-spacing: -0.01em; color: var(--ink); }
.task .meta { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.task .actions { display: flex; gap: 7px; margin-top: 9px; }
.task .actions .abtn { flex: 1; }
.task .amt { font-size: 14px; font-weight: 700; color: var(--ink); }

/* jobs list */
.grouphead { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 7px; }
.grouphead .lhs { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--body); white-space: nowrap; }
.grouphead .gdot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.grouphead .cnt { font-size: 11.5px; color: var(--muted-soft); font-weight: 600; white-space: nowrap; }
.jobrow { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-top: 1px solid var(--line); }
.jobrow .body { flex: 1; min-width: 0; }
.jr-title { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.jr-sub { font-size: 12px; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 7px; }
.jr-right { display: flex; align-items: center; gap: 7px; flex: none; }
.jr-amt { font-size: 14px; font-weight: 700; color: var(--ink); }
.chev { color: var(--muted-soft); }
.miniflag { font-size: 10px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; }
.miniflag.grey { background: var(--grey-bg); color: var(--grey); }
.miniflag.amber { background: var(--amber-bg); color: var(--amber); }

/* job-detail cards */
.dh { padding: 6px 18px 0; }
.dh-top { display: flex; align-items: center; justify-content: space-between; height: 32px; }
.dh-back { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500; color: var(--muted); }
.dh-title { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.dh-title .nm { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.dh-sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.dh-divider { height: 1px; background: var(--line); margin: 13px 0 0; }
.dcard-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.dcard { border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card); overflow: hidden; }
.kv { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; gap: 14px; }
.kv + .kv { border-top: 1px solid var(--line); }
.kv .k { font-size: 13.5px; color: var(--muted); }
.kv .v { font-size: 14px; font-weight: 600; color: var(--ink); text-align: right; }
.kv.total .k { font-weight: 700; color: var(--ink); }
.kv.total .v { font-size: 16px; font-weight: 800; }
.confirmed { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--green); }
.loc { padding: 15px; }
.loc .row { display: flex; align-items: flex-start; gap: 11px; }
.loc .pin { width: 38px; height: 38px; border-radius: var(--r-btn); background: var(--purple-bg); color: var(--purple); display: grid; place-items: center; flex: none; }
.loc .addr { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.loc .addr .second { font-weight: 400; color: var(--muted); }
.loc .map {
  height: 92px; border-radius: var(--r-btn); margin-top: 13px; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, #ececf2 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, #ececf2 0 1px, transparent 1px 24px),
    #f6f6fb;
  border: 1px solid var(--line);
}
.loc .map .route { position: absolute; left: 14%; top: 68%; width: 62%; height: 3px; background: var(--purple); transform: rotate(-18deg); border-radius: 2px; }
.loc .map .mk { position: absolute; right: 17%; top: 24%; width: 13px; height: 13px; border-radius: 50%; background: var(--purple); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--purple); }
.loc .navbtn { margin-top: 13px; width: 100%; }

/* app footer + tabbar */
.app-foot { flex: none; padding: 11px 18px 9px; display: flex; gap: 9px; border-top: 1px solid var(--line); background: #fff; }
.app-foot .abtn { flex: 1; }
.app-foot.single { flex-direction: column; }
/* In the column ("single") variant, `flex: 1` from .app-foot .abtn would grow
   the button vertically with flex-basis 0%, overriding its explicit height and
   squashing it. Use width:100% + flex:none so the button keeps its real height
   (e.g. 48px from .abtn.lg) and stretches to full width instead. */
.app-foot.single .abtn { flex: none; width: 100%; }
.app-foot .exception { display: block; text-align: center; margin-top: 9px; font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.tabbar { flex: none; height: 58px; border-top: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: space-around; }
.tabitem { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: var(--muted-soft); }
.tabitem .lucide { font-size: 20px; }
.tabitem.on { color: var(--ink); }

/* ---------- Logo strip ---------- */
.logos { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.logos .container { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.logo-wm { display: flex; align-items: center; gap: 8px; color: var(--muted-soft); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; opacity: .72; transition: opacity var(--ease) .2s; }
.logo-wm:hover { opacity: 1; }
.logo-wm .lucide { font-size: 19px; }
.logos-cap { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 22px; }

/* ---------- Problem band ---------- */
.problem { background: transparent; }
.problem-grid { display: grid; grid-template-columns: 520px 520px; gap: 0; align-items: center; justify-content: center; }
.pain-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.pain { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; background: transparent; border: none; border-radius: 0; box-shadow: none; transition: transform var(--ease) .2s; }
.pain:hover { transform: translateX(2px); }
.pain .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-soft); border: 1px solid var(--line-soft); color: var(--ink); display: grid; place-items: center; flex: none; }
.pain .ic .lucide { font-size: 21px; }
.pain h4 { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.pain p { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* Problem v33 — continues hero story */
.problem--v33 {
  border: none;
  max-width: 100%;
  padding: clamp(56px, 7vw, 88px) 28px;
  margin-bottom: 0;
  background: var(--surface-soft);
}
.problem--v33 .problem-intro {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
}
.problem--v33 .problem-intro .eyebrow { display: block; margin-bottom: 12px; }
.problem--v33 .problem-intro .d-lg { margin: 0; }
.problem-bridge {
  margin: 16px auto 0;
  max-width: 440px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--muted);
}
.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--container);
  margin: 0 auto;
}
.pain-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 20px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--canvas);
}
.pain-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.pain-card-icon .lucide { font-size: 20px; }
.pain-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
@media (max-width: 720px) {
  .pain-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pain-cards::-webkit-scrollbar { display: none; }
  .pain-card { flex: 0 0 min(200px, 72vw); scroll-snap-align: start; }
}

/* Shift v33 — pain → fix, mirrors problem cards */
.shift--v33 {
  border: none;
  max-width: 100%;
  padding: clamp(56px, 7vw, 88px) 28px;
  margin-bottom: 0;
  background: var(--canvas);
}
.shift--v33 .shift-intro {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
}
.shift--v33 .shift-intro .eyebrow { display: block; margin-bottom: 12px; }
.shift--v33 .shift-intro .d-lg { margin: 0; }
.shift-bridge {
  margin: 16px auto 0;
  max-width: 440px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--muted);
}
.shift-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--container);
  margin: 0 auto;
}
.shift-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 28px 18px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}
.shift-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--canvas);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.shift-card-icon .lucide { font-size: 20px; }
.shift-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.shift-from {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}
.shift-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--canvas);
  border: 1px solid var(--line);
  color: var(--muted);
}
.shift-arrow .lucide { font-size: 14px; }
.shift-to {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
@media (max-width: 720px) {
  .shift-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .shift-cards::-webkit-scrollbar { display: none; }
  .shift-card { flex: 0 0 min(220px, 78vw); scroll-snap-align: start; }
}

/* How v33 — visual proof with persona tabs */
.how--v33 {
  border: none;
  max-width: 100%;
  padding: clamp(56px, 7vw, 88px) 28px;
  margin-bottom: 0;
  background: var(--surface-soft);
}
.how--v33 .how-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}
.how--v33 .how-intro .eyebrow { display: block; margin-bottom: 12px; }
.how--v33 .how-intro .d-lg { margin: 0; }
.how-bridge {
  margin: 16px auto 0;
  max-width: 480px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--muted);
}
.how-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--canvas);
}
.how--v33 .how-tabs {
  display: flex;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.how-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ease) .2s, color var(--ease) .2s, box-shadow var(--ease) .2s;
}
.how-tab:hover { color: var(--ink); }
.how-tab.is-active {
  background: var(--ink);
  color: var(--canvas);
  box-shadow: var(--sh-soft);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.how-step-frame {
  width: min(220px, 100%);
  margin-bottom: 20px;
}
.how-step-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted-soft);
  margin-bottom: 8px;
}
.how-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.how-step-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 240px;
}
@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 280px;
  }
}
@media (max-width: 720px) {
  .how-tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .how-tabs::-webkit-scrollbar { display: none; }
  .how-tab { flex: 1; min-width: 0; padding: 10px 14px; font-size: 13px; white-space: normal; }
  .how-steps {
    display: flex;
    gap: 16px;
    max-width: none;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .how-steps::-webkit-scrollbar { display: none; }
  .how-step {
    flex: 0 0 min(240px, 78vw);
    scroll-snap-align: center;
  }
}

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 52px auto 0; max-width: 1080px; }
.step {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 32px;
  box-shadow: none;
  transition: none;
}
.step:hover { transform: none; box-shadow: none; border-color: transparent; }
.step .n { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--muted-soft); margin-bottom: 16px; display: block; letter-spacing: 0.05em; }
.step h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Feature bands ---------- */
.feat { display: grid; grid-template-columns: 520px 520px; gap: 0; align-items: center; justify-content: center; }
.feat.flip .feat-media { order: -1; }
.feat-copy .eyebrow { margin-bottom: 16px; display: block; }
.feat-copy h2 { margin-bottom: 18px; }
.feat-copy p { font-size: 16.5px; line-height: 1.6; color: var(--muted); max-width: 460px; }
.feat-points { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 13px; }
.feat-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--body); }
.feat-points .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.feat-points .ck .lucide { font-size: 13px; }
.feat-points li b { color: var(--ink); font-weight: 600; }
.feat-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-size: 15px; font-weight: 600; color: var(--ink); }
.feat-link .lucide { font-size: 16px; transition: transform var(--ease) .2s; }
.feat-link:hover .lucide { transform: translateX(3px); }
.feat-media { display: flex; justify-content: center; position: relative; }

/* media panel framing for product shots */
.panel {
  position: relative; background: transparent; border-radius: 0;
  padding: 0; width: 100%; display: flex; justify-content: center;
  overflow: hidden;
}
.panel.dark { background: var(--surface-dark); }
.panel-callout {
  position: absolute; z-index: 5; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--sh-soft); padding: 11px 14px;
  display: flex; align-items: center; gap: 10px; max-width: 235px;
  transition: transform var(--ease) .3s;
}
.panel-callout::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 20px;
  width: 1px;
  height: 12px;
  background: var(--line-cool);
}
.panel-callout .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.panel-callout .ic .lucide { font-size: 17px; }
.panel-callout .ct .t { display: block; font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.panel-callout .ct .s { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }

/* ---------- Feature grid (secondary) ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 52px auto 0; max-width: 1080px; }
.fcard { background: transparent; border: none; border-radius: 0; padding: 36px 32px; box-shadow: none; transition: background var(--ease) .2s; }
.fcard:hover { background: var(--surface-soft); }
.fcard .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--surface-soft); border: 1px solid var(--line-soft); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.fcard .ic .lucide { font-size: 22px; }
.fcard h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 7px; }
.fcard p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 12px; }
.stat:nth-child(1), .stat:nth-child(2), .stat:nth-child(3) { border-right: 1px solid #f0f0f0; }
.stat .num { font-family: var(--display); font-size: clamp(36px, 4.5vw, 52px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.stat .lbl { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; align-items: start; }
.tcard { background: var(--surface-card); border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.tcard.feature { background: var(--surface-dark); color: #fff; grid-row: span 2; }
.tcard .stars { color: var(--p-orange); display: flex; gap: 2px; font-size: 15px; }
.tcard .quote { font-size: 16px; line-height: 1.6; color: var(--ink); letter-spacing: -0.01em; }
.tcard.feature .quote { color: #fff; font-size: 19px; font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.45; }
.tcard .who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.tcard .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; flex: none; }
.tcard .who .nm { font-size: 14px; font-weight: 700; color: var(--ink); }
.tcard.feature .who .nm { color: #fff; }
.tcard .who .rl { font-size: 13px; color: var(--muted); margin-top: 1px; }
.tcard.feature .who .rl { color: var(--on-dark-soft); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 52px auto 0; align-items: stretch; max-width: 1080px; }
.tier { background: transparent; border: none; border-radius: 0; padding: 48px; display: flex; flex-direction: column; box-shadow: none; border-right: 1px solid #f0f0f0; }
.tier.featured { background: var(--surface-dark); border-color: var(--surface-dark); color: #fff; box-shadow: 0 20px 50px -20px rgba(16,24,40,.25); border-right: none; }
.tier .tname { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.tier.featured .tname { color: #fff; }
.tier .badge-rec { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--ink); padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.tier .price { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin: 16px 0 2px; display: flex; align-items: baseline; gap: 4px; }
.tier.featured .price { color: #fff; }
.tier .price .per { font-family: var(--ui); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier.featured .price .per { color: var(--on-dark-soft); }
.tier .tdesc { font-size: 14px; color: var(--muted); line-height: 1.5; min-height: 42px; }
.tier.featured .tdesc { color: var(--on-dark-soft); }
.tier .tlist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 22px 0 26px; flex: 1; }
.tier .tlist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--body); }
.tier.featured .tlist li { color: #e4e4e7; }
.tier .tlist .lucide { font-size: 17px; color: var(--green); margin-top: 1px; flex: none; }
.tier.featured .tlist .lucide { color: var(--p-emerald); }
.tier .tname-row { display: flex; align-items: center; justify-content: space-between; }

/* ---------- CTA band ---------- */
.cta-band { }
.cta-card {
  background: linear-gradient(135deg, var(--surface-dark) 0%, #1a1b1f 100%); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px);
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-card h2 { color: #fff; margin-bottom: 16px; }
.cta-card p { font-size: 17px; color: var(--on-dark-soft); max-width: 480px; margin: 0 auto 30px; line-height: 1.6; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-size: 13.5px; color: var(--on-dark-mute); display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--surface-dark); color: var(--on-dark-soft); padding: 60px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid #26272b; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand .mark { background: #fff; color: var(--ink); }
.footer-blurb { font-size: 14px; color: var(--on-dark-soft); max-width: 260px; line-height: 1.6; }
.footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--on-dark-soft); padding: 6px 0; transition: color var(--ease) .15s; }
.footer-col a:hover { color: #fff; }
.footer-bot { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 13px; color: var(--on-dark-mute); flex-wrap: wrap; gap: 14px; }
.footer-bot .socials { display: flex; gap: 8px; }
.footer-bot .socials a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid #2c2d31; display: grid; place-items: center; color: var(--on-dark-soft); transition: border-color var(--ease) .15s, color var(--ease) .15s; }
.footer-bot .socials a:hover { color: #fff; border-color: #44454a; }

.hero-screen {
  width: 320px;
  background: #fff;
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: none;
}
.hero-screen > * { border-radius: 20px 20px 0 0; }
.hero-screen > *:last-child { border-radius: 0 0 20px 20px; }
.hero-screen > *:only-child { border-radius: 20px; }
.hero-screen .app { flex: 1; overflow: hidden; display: flex; flex-direction: column; }

/* ============================================================
   iPhone 15 Pro hero mockup
   ============================================================ */
.iphone-mock {
  width: 322px;
  position: relative;
  flex: none;
}
/* Side buttons — volume (left) */
.iphone-vol-mute,
.iphone-vol-up,
.iphone-vol-dn {
  position: absolute;
  left: -3px;
  width: 3px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, #191919, #2c2c2e);
}
.iphone-vol-mute { top:  88px; height: 28px; }
.iphone-vol-up   { top: 138px; height: 54px; }
.iphone-vol-dn   { top: 206px; height: 54px; }
/* Power button — right */
.iphone-pwr {
  position: absolute;
  right: -3px;
  top: 148px;
  width: 3px;
  height: 72px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(270deg, #191919, #2c2c2e);
}
/* Body */
.iphone-body {
  border-radius: 52px;
  padding: 14px;
  background: #1c1c1e;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 -1px 0 rgba(0,0,0,.5);
}
/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 32px;
  background: #0a0a0a;
  border-radius: 22px;
  z-index: 20;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
/* Screen */
.iphone-screen {
  border-radius: 40px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 648px;
}
/* Status bar — padded for island */
.iphone-sb {
  height: 56px !important;
  padding: 16px 22px 0 !important;
  display: flex !important;
  align-items: flex-start !important;
}
/* Home indicator */
.iphone-home-bar {
  flex: none;
  height: 26px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iphone-home-bar::after {
  content: '';
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0,0,0,.13);
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Before vs After comparison ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 520px 520px;
  gap: 0;
  justify-content: center;
}
.compare-col {
  border-radius: var(--r-card);
  padding: 32px;
  border: none;
  box-shadow: none;
}
.compare-before { background: #fafafa; }
.compare-after { background: #f0fdf4; }
.compare-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.compare-before .compare-head { color: var(--muted); }
.compare-before .compare-head .lucide { color: var(--muted); font-size: 18px; }
.compare-after .compare-head { color: var(--ink); }
.compare-after .compare-head .lucide { color: var(--green); font-size: 18px; }
.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.compare-list li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--body);
  padding-left: 28px;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.compare-before .compare-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.compare-after .compare-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* ---------- Persona grid (Who is this for?) ---------- */
.persona-grid {
  display: grid;
  grid-template-columns: 520px 520px;
  gap: 0;
  justify-content: center;
}
.persona-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 48px;
  text-align: center;
  box-shadow: none;
  transition: none;
}
.persona-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}
.persona-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--surface-card);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.persona-icon .lucide { font-size: 26px; }
.persona-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.persona-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Booking page preview ---------- */
/* (now shares the .feat pattern for consistency) */

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; justify-content: normal; }
  .hero--v33 .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-cap-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-cap-scroll::-webkit-scrollbar { display: none; }
  .hero-cap-item { flex: 0 0 min(220px, 78vw); scroll-snap-align: start; }
  .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .problem-grid { grid-template-columns: 1fr; gap: 40px; justify-content: normal; }
  .feat { grid-template-columns: 1fr; gap: 40px; justify-content: normal; }
  .feat.flip .feat-media { order: 0; }
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .fgrid { grid-template-columns: 1fr 1fr; gap: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; gap: 0; }
  .early-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; gap: 0; justify-content: normal; }
  .persona-grid { grid-template-columns: 1fr; gap: 0; justify-content: normal; }
  /* Remove column dividers when stacked */
  .problem-grid > *:first-child,
  .feat > *:first-child,
  .compare-grid > *:first-child,
  .persona-grid > *:first-child {
    border-right: none;
    padding-right: 0;
  }
  .problem-grid > *:last-child,
  .feat > *:last-child,
  .compare-grid > *:last-child,
  .persona-grid > *:last-child {
    padding-left: 0;
  }
  .tier { border-right: none; }
}
@media (max-width: 720px) {
  .nav-links, .nav-signin { display: none; }
  .nav-burger { display: grid; }
  .fgrid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { flex: 1; }
  .hero--v33 .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cap-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-cap-scroll::-webkit-scrollbar { display: none; }
  .hero-cap-item { flex: 0 0 min(220px, 78vw); scroll-snap-align: start; }
  .panel { padding: 0; }
  .panel-callout { right: 8px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .hero::after { display: none; }
  .section { border: none; max-width: 100%; padding: 56px 20px 48px; margin-bottom: 0; }
  .section:not(.hero)::before,
  .section:not(.hero)::after,
  .section:not(.hero) .corner-bottom-left,
  .section:not(.hero) .corner-bottom-right { display: none; }
  .problem-grid > *:first-child,
  .feat > *:first-child,
  .compare-grid > *:first-child,
  .persona-grid > *:first-child {
    border-right: none;
    padding-right: 0;
  }
  .problem-grid > *:last-child,
  .feat > *:last-child,
  .compare-grid > *:last-child,
  .persona-grid > *:last-child {
    padding-left: 0;
  }
  .steps > .step:nth-child(1),
  .steps > .step:nth-child(2),
  .fgrid > .fcard:nth-child(1),
  .fgrid > .fcard:nth-child(2),
  .fgrid > .fcard:nth-child(4),
  .fgrid > .fcard:nth-child(5) {
    border-right: none;
  }
}
/* ---------- Beta pricing display ---------- */
.price-beta { margin: 16px 0 6px; display: flex; flex-direction: column; gap: 3px; }
.price-beta .worth { font-size: 14px; font-weight: 500; color: var(--on-dark-soft); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.4); }
.price-beta .free-now { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.tier-subnote { font-size: 12.5px; color: var(--on-dark-mute); text-align: center; margin-top: 14px; line-height: 1.55; padding: 0 8px; }
.badge-soon { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--surface-card); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }

/* ---------- Trust badge row (hero) ---------- */
.trust-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--body); }
.trust-badge .lucide { font-size: 15px; color: var(--muted-soft); }

/* ---------- Early-access cards ---------- */
.early-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.ecard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.ecard .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--surface-card); color: var(--ink); display: grid; place-items: center; margin-bottom: 16px; }
.ecard .ic .lucide { font-size: 21px; }
.ecard h3 { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 7px; }
.ecard p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Footer trust badges ---------- */
.footer-badges { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid #26272b; margin-bottom: 8px; font-size: 13px; color: var(--on-dark-mute); }
.footer-badges span { display: inline-flex; align-items: center; gap: 7px; }
.footer-badges .lucide { font-size: 14px; }


/* ---------- Add-to-home-screen modal ---------- */
.footer-col .install-trigger {
  display: block; width: 100%; font-size: 14px; color: var(--on-dark-soft);
  padding: 6px 0; transition: color var(--ease) .15s; background: transparent;
  border: 0; cursor: pointer; text-align: left; font-family: inherit; line-height: 1.5;
}
.footer-col .install-trigger:hover { color: #fff; }

.install-modal { opacity: 0; visibility: hidden; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 24px; transition: opacity 250ms ease-out, visibility 250ms; }
.install-modal.open { opacity: 1; visibility: visible; }
.install-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); }
.install-modal-card { position: relative; width: 100%; max-width: 380px; background: var(--canvas); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--sh-float); text-align: center; transform: translateY(20px) scale(0.96); transition: transform 300ms cubic-bezier(0.2,0,0,1); }
.install-modal.open .install-modal-card { transform: translateY(0) scale(1); }
.install-modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.install-modal-close:hover { background: var(--surface-card); color: var(--ink); }
.install-modal-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-card); color: var(--ink); display: grid; place-items: center; margin: 0 auto 14px; }
.install-modal-icon .lucide { font-size: 26px; }
.install-modal-card h3 { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 6px; }
.install-modal-subtitle { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.install-steps { text-align: left; list-style: none; margin: 0 0 20px; padding: 0; }
.install-step { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--body); line-height: 1.5; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.install-step:last-child { border-bottom: 0; }
.install-step .num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.install-modal-note { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 18px; }
.install-modal-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; font-family: inherit; font-size: 15px; font-weight: 600; color: #fff; background: var(--primary); border: 0; border-radius: var(--r-btn); padding: 12px 18px; cursor: pointer; transition: background .15s; }
.install-modal-action:hover { background: var(--primary-active); }
.install-modal-action[hidden] { display: none; }
.install-modal-installed { background: var(--green-bg); color: var(--green); border-radius: var(--r-card); padding: 12px; font-size: 14px; font-weight: 500; margin-bottom: 18px; }

/* ─── Micro-commitment strip ─── */
.micro-strip {
  padding: 0;
  background: var(--body);
  border-top: 1px solid var(--surface-strong);
}

.micro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.micro-strip-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.micro-strip-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--p-orange);
  white-space: nowrap;
}

.micro-strip-time .lucide {
  width: 16px;
  height: 16px;
}

.micro-strip-text {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

.micro-strip-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 700px) {
  .micro-strip-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 24px 0;
  }
  .micro-strip-copy {
    flex-direction: column;
    gap: 8px;
  }
  .micro-strip-text {
    font-size: 15px;
  }
  .micro-strip-cta {
    width: 100%;
  }
}

/* ─── Hero demo animation — 3 frame cycle ─── */
/* Total cycle: 15s (5s per frame with smooth fade transitions) */

/* Give the phone a fixed height so absolute children have a container */
.demo-phone {
  position: relative;
  height: 640px;
  display: flex;
  flex-direction: column;
  --demo-rev: 3; /* build marker: forces a new content-hashed asset URL so the
                    landing CSS isn't served from a stale Cloudflare edge cache */
}

/* Push tabbar to the bottom of the phone */
.demo-phone > .tabbar {
  margin-top: auto;
  flex-shrink: 0;
}

/* Status bar stays at top */
.demo-phone > .statusbar {
  flex-shrink: 0;
}

.demo-frame {
  position: absolute;
  top: 40px;           /* below status bar */
  left: 10px;          /* account for phone padding */
  right: 10px;
  bottom: 68px;        /* above tabbar (58px + 10px padding) */
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  background: #fff;
  overflow: hidden;
}

/* Make the statusbar and tabbar sit above the frames */
.demo-phone > .statusbar,
.demo-phone > .tabbar {
  position: relative;
  z-index: 2;
}

/* ─── Frame animations (16s cycle, seamless crossfades) ─── */
/* Frame 1: visible 0s–4s, crossfade out 3.5s–4.5s */
.demo-frame-1 {
  animation: demoFade1 16s infinite ease-in-out;
}

/* Frame 2: crossfade in 3.5s–4.5s, visible 4.5s–10.5s, crossfade out 10.5s–11.5s */
.demo-frame-2 {
  animation: demoFade2 16s infinite ease-in-out;
}

/* Frame 3: crossfade in 10.5s–11.5s, visible 11.5s–15.5s, crossfade out 15.5s–16s */
.demo-frame-3 {
  animation: demoFade3 16s infinite ease-in-out;
}

@keyframes demoFade1 {
  0%, 3%       { opacity: 0; }
  6%, 22%      { opacity: 1; }
  28%          { opacity: 0; }
  100%         { opacity: 0; }
}

@keyframes demoFade2 {
  0%, 22%      { opacity: 0; }
  28%, 66%     { opacity: 1; }
  72%          { opacity: 0; }
  100%         { opacity: 0; }
}

@keyframes demoFade3 {
  0%, 66%      { opacity: 0; }
  72%, 97%     { opacity: 1; }
  100%         { opacity: 0; }
}

/* ─── #1a: "New quote" button gentle tap (Frame 1) ─── */
.demo-frame-1 .app-foot .abtn.primary {
  animation: btnTapFrame1 16s infinite ease-in-out;
}

@keyframes btnTapFrame1 {
  0%, 12%      { transform: scale(1); }
  15%          { transform: scale(0.96); }
  18%          { transform: scale(1); }
  22%          { transform: scale(1); }
  100%         { transform: scale(1); }
}

/* ─── #1b: "Send quote" button gentle pulse (Frame 2) ─── */
.demo-frame-2 .app-foot .abtn.primary {
  animation: btnPulseFrame2 16s infinite ease-in-out;
}

@keyframes btnPulseFrame2 {
  0%, 52%      { transform: scale(1); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
  55%          { transform: scale(1.02); box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.08); }
  58%          { transform: scale(1); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
  62%          { transform: scale(1.02); box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.08); }
  65%          { transform: scale(1); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
  100%         { transform: scale(1); box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
}

/* ─── #4: Progress dots ─── */
.demo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}

.demo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  transition: transform 0.3s ease;
}

.demo-dot-1 { animation: dotActive1 16s infinite ease-in-out; }
.demo-dot-2 { animation: dotActive2 16s infinite ease-in-out; }
.demo-dot-3 { animation: dotActive3 16s infinite ease-in-out; }

@keyframes dotActive1 {
  0%, 6%, 22%, 100%   { background: #374151; transform: scale(1.3); }
  28%, 97%            { background: #d1d5db; transform: scale(1); }
}

@keyframes dotActive2 {
  0%, 22%             { background: #d1d5db; transform: scale(1); }
  28%, 66%            { background: #374151; transform: scale(1.3); }
  72%, 100%           { background: #d1d5db; transform: scale(1); }
}

@keyframes dotActive3 {
  0%, 66%             { background: #d1d5db; transform: scale(1); }
  72%, 97%            { background: #374151; transform: scale(1.3); }
  100%                { background: #d1d5db; transform: scale(1); }
}

/* ─── #2: Subtle fade-in for quote fields (Frame 2) ─── */
/* Instead of typewriter, fields fade in sequentially — smoother and more subtle */
.demo-type-customer {
  opacity: 0;
  animation: fieldFadeIn 16s infinite ease-out;
  animation-delay: 0s;
}

.demo-type-item1 {
  opacity: 0;
  animation: fieldFadeIn1 16s infinite ease-out;
}

.demo-type-item2 {
  opacity: 0;
  animation: fieldFadeIn2 16s infinite ease-out;
}

@keyframes fieldFadeIn {
  0%, 28%    { opacity: 0; transform: translateY(4px); }
  32%        { opacity: 1; transform: translateY(0); }
  66%        { opacity: 1; transform: translateY(0); }
  72%, 100%  { opacity: 0; transform: translateY(4px); }
}

@keyframes fieldFadeIn1 {
  0%, 34%    { opacity: 0; transform: translateY(4px); }
  38%        { opacity: 1; transform: translateY(0); }
  66%        { opacity: 1; transform: translateY(0); }
  72%, 100%  { opacity: 0; transform: translateY(4px); }
}

@keyframes fieldFadeIn2 {
  0%, 40%    { opacity: 0; transform: translateY(4px); }
  44%        { opacity: 1; transform: translateY(0); }
  66%        { opacity: 1; transform: translateY(0); }
  72%, 100%  { opacity: 0; transform: translateY(4px); }
}

/* ─── #3: WhatsApp badge subtle slide-in (Frame 3) ─── */
.demo-wa-badge {
  opacity: 0;
  transform: translateY(6px);
  animation: waBadgeIn 16s infinite ease-out;
}

@keyframes waBadgeIn {
  0%, 75%    { opacity: 0; transform: translateY(6px); }
  79%        { opacity: 1; transform: translateY(0); }
  97%        { opacity: 1; transform: translateY(0); }
  100%       { opacity: 0; transform: translateY(6px); }
}

/* On mobile, reduce the demo phone size slightly */
@media (max-width: 700px) {
  .demo-phone {
    width: 280px;
    transform: scale(0.9);
    transform-origin: top center;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .demo-frame-2,
  .demo-frame-3 {
    display: none;
    animation: none;
  }
  .demo-frame-1 {
    position: relative;
    opacity: 1;
    animation: none;
  }
  .demo-frame-1 .app-foot .abtn.primary,
  .demo-frame-2 .app-foot .abtn.primary,
  .demo-dot-1,
  .demo-dot-2,
  .demo-dot-3,
  .demo-type-customer,
  .demo-type-item1,
  .demo-type-item2,
  .demo-wa-badge {
    animation: none;
    opacity: 1;
  }
  .demo-dots {
    display: flex;
  }
  .demo-dot {
    background: #d1d5db;
    transform: scale(1);
  }
}

/* ---------- Landing v35 — minimal + feature tabs ---------- */
.hero--v34 {
  border: none;
  max-width: 100%;
  padding: clamp(48px, 7vw, 88px) 28px clamp(40px, 5vw, 56px);
  margin-bottom: 0;
}
.hero--v34::after { display: none; }
.hero--v34 .hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
}
.hero--v34 .d-hero { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.06; }

.hero-journey { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
.hero-journey-phone { position: relative; overflow: hidden; }
.hero-journey-carousel { position: relative; width: 100%; aspect-ratio: 390 / 844; }
.hero-journey-carousel img,
.hero-journey-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid var(--line-soft);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.hero-journey-carousel img.active,
.hero-journey-video:not([hidden]) { opacity: 1; }
.hero-journey-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 360px;
}
.hero-journey-step {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--muted);
  font: 600 13px/1 var(--ui);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.hero-journey-step:hover { border-color: var(--line-cool); color: var(--ink); }
.hero-journey-step.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.hook-section {
  text-align: center;
  padding-top: 32px;
  padding-bottom: 32px;
  border: none;
  margin-bottom: 0;
}
.hook-inner { max-width: 640px; margin: 0 auto; }
.hook-inner h2 { margin-bottom: 14px; }
.hook-inner .lead { margin: 0 auto; }

.feature-showcase {
  background: var(--surface-soft);
  border: none;
  margin-top: 24px;
}
.feature-showcase-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}
.feature-showcase-head h2 { margin-top: 12px; }

.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: var(--canvas);
  border: 1px solid var(--line);
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.feature-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 14px/1 var(--ui);
  padding: 11px 18px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.feature-tab:hover { color: var(--ink); }
.feature-tab.active {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-soft);
}

.feature-panels { position: relative; min-height: 420px; }
.feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.feature-panel[hidden] { display: none !important; }
.feature-panel-copy h3 { margin-bottom: 12px; }
.feature-panel-copy p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 20px;
}
.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
}
.feature-bullets .lucide {
  font-size: 16px;
  color: var(--green);
  flex: none;
}
.feature-panel-visual { display: flex; justify-content: center; }
.feature-panel-visual .phone-frame { width: min(280px, 100%); }

.pricing-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 12px;
}
.pricing-head h2 { margin-top: 12px; }
.pricing-grid .tdesc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0 24px;
  min-height: 48px;
}
.pricing-grid .tlist { display: none; }

@media (max-width: 980px) {
  .hero--v34 .hero-grid { grid-template-columns: 1fr; }
  .feature-panel { grid-template-columns: 1fr; text-align: center; }
  .feature-panel-copy p { margin-left: auto; margin-right: auto; }
  .feature-bullets { align-items: center; }
  .feature-panel-visual { order: -1; }
}
@media (max-width: 720px) {
  .feature-tabs {
    width: 100%;
    border-radius: var(--r-card);
    justify-content: stretch;
  }
  .feature-tab { flex: 1 1 calc(50% - 4px); text-align: center; padding: 10px 12px; }
  .hero-journey-steps { gap: 6px; }
  .hero-journey-step { font-size: 12px; padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-journey-carousel img { transition: none; }
}
