/* TableTap — landing page */
:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --ink: #17150f;
  --ink-soft: #5b564c;
  --line: #e8e1d6;
  --brand: #e85d04;
  --brand-dark: #c44d03;
  --brand-soft: #fff1e6;
  --teal: #2a9d8f;
  --teal-soft: #e6f6f4;
  --blue: #457b9d;
  --blue-soft: #e8f1f7;
  --amber: #f4a261;
  --amber-soft: #fff4e8;
  --danger: #c1121f;
  --danger-soft: #fde8ea;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(23, 21, 15, 0.05);
  --shadow: 0 18px 40px -18px rgba(23, 21, 15, 0.22);
  --shadow-lg: 0 40px 80px -32px rgba(23, 21, 15, 0.32);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body.lp {
  margin: 0;
  max-width: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 244, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lp-nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.lp-logo img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.lp-logo span i { color: var(--brand); font-style: normal; }

.lp-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lp-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease;
}

.lp-links a:hover { background: var(--brand-soft); color: var(--brand-dark); }

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-toggle button {
  min-width: 42px;
  height: 32px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.lang-toggle button.active { background: var(--ink); color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(232, 93, 4, 0.9); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border: 1px solid var(--line); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.88rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-white { background: #fff; color: var(--ink); }

.lp-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}

.lp-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.lp-burger span::before,
.lp-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.lp-burger span::before { top: -6px; }
.lp-burger span::after { top: 6px; }

.lp-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.lp-mobile-menu.open { display: flex; }

.lp-mobile-menu a {
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.lp-mobile-menu a:hover { background: var(--brand-soft); }

.lp-mobile-menu .lp-mobile-cta {
  margin-top: 8px;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
}

.lp-mobile-menu .lp-mobile-cta:hover { background: var(--brand-dark); }

/* ---------- Sections ---------- */
section { position: relative; }

.sec {
  padding: clamp(64px, 9vw, 116px) 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sec-head { max-width: 660px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.1; margin: 0; }

.sec-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  margin: 16px 0 12px;
}

.sec-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.blob-1 { width: 460px; height: 460px; background: #ffd7b5; top: -160px; left: -120px; animation: float1 18s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: #cfeee9; top: 40px; right: -140px; animation: float2 22s ease-in-out infinite; }
.blob-3 { width: 320px; height: 320px; background: #ffe9d1; bottom: -140px; left: 38%; animation: float1 26s ease-in-out infinite reverse; }

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 34px) scale(1.08); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-36px, 26px) scale(1.1); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  margin: 20px 0 18px;
}

/* Highlight is painted as a background so it survives line wrapping
   on narrow phones instead of forcing the heading to overflow. */
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  background-image: linear-gradient(transparent 64%, rgba(232, 93, 4, 0.18) 64%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 26px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 10px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
}

.tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-note {
  margin: 16px 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* Phone mockup */
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.phone {
  width: min(300px, 78vw);
  border-radius: 40px;
  background: #1b1a17;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-9deg) rotateX(3deg);
  animation: phoneIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes phoneIn {
  from { opacity: 0; transform: rotateY(-18deg) translateY(28px); }
  to { opacity: 1; transform: rotateY(-9deg) rotateX(3deg); }
}

.phone-screen {
  background: var(--bg);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 18px;
  border-radius: 999px;
  background: #1b1a17;
  z-index: 3;
}

.ps-head {
  padding: 30px 16px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.ps-brand { font-weight: 800; color: var(--brand); font-size: 1.05rem; line-height: 1.1; }
.ps-table { font-size: 0.75rem; color: var(--ink-soft); font-weight: 600; }
.ps-lang { font-size: 0.68rem; font-weight: 800; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; background: #fff; }

.ps-tabs { display: flex; gap: 6px; padding: 12px 16px 4px; }
.ps-tab { flex: 1; text-align: center; font-size: 0.75rem; font-weight: 700; padding: 8px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.ps-tab.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.ps-list { padding: 10px 16px 74px; display: grid; gap: 8px; }

.ps-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
  opacity: 0;
  animation: itemIn 0.5s ease forwards;
}

.ps-item:nth-child(1) { animation-delay: 0.45s; }
.ps-item:nth-child(2) { animation-delay: 0.6s; }
.ps-item:nth-child(3) { animation-delay: 0.75s; }
.ps-item:nth-child(4) { animation-delay: 0.9s; }

@keyframes itemIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.ps-thumb {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.ps-item > span:not([class]) { min-width: 0; }
.ps-name { display: block; font-size: 0.82rem; font-weight: 700; line-height: 1.2; }
.ps-price { display: block; font-size: 0.74rem; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.ps-add { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: grid; place-items: center; }

.ps-cart {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  animation: itemIn 0.5s ease 1.05s forwards;
}

.ps-cart b { background: var(--brand); border-radius: 999px; padding: 2px 8px; margin-right: 8px; }

/* Floating chips around phone */
.chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: bob 4.5s ease-in-out infinite;
}

.chip small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 0.72rem; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.chip-1 { top: 12%; left: -6%; animation-delay: 0.2s; }
.chip-1 .dot { background: var(--amber); }
.chip-2 { bottom: 18%; right: -8%; animation-delay: 1.4s; }
.chip-2 .dot { background: var(--teal); }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 6vw, 72px);
  position: relative;
  z-index: 1;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}

.stat b { display: block; font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; }
.stat span { font-size: 0.84rem; color: var(--ink-soft); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: slide 26s linear infinite;
}

.marquee span {
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
}

.marquee span::after { content: "•"; color: var(--brand); }

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Features bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #d9d0c1;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--brand-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::after { opacity: 0.7; }
.card > * { position: relative; z-index: 1; }

.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: var(--brand-soft);
}

.card:nth-child(2) .ico { background: var(--amber-soft); }
.card:nth-child(3) .ico { background: var(--blue-soft); }
.card:nth-child(4) .ico { background: var(--teal-soft); }
.card:nth-child(5) .ico { background: var(--brand-soft); }
.card:nth-child(6) .ico { background: var(--blue-soft); }

.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  padding-top: 26px;
  border-top: 2px solid var(--line);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -16px;
  left: 0;
  background: var(--bg);
  padding-right: 12px;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--brand);
}

.step.in-view { border-top-color: var(--brand); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Demo tabs ---------- */
.demo-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Tabs scroll sideways on phones rather than stacking into a tall column. */
.demo-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.demo-tabs::-webkit-scrollbar { display: none; }

.demo-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
  white-space: nowrap;
  scroll-snap-align: center;
}

@media (min-width: 721px) {
  .demo-tabs { overflow-x: visible; }
  .demo-tab { flex: 1 1 auto; }
}

.demo-tab.on { background: var(--ink); color: #fff; }

.demo-pane { display: none; }
.demo-pane.on { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); animation: paneIn 0.35s ease; }

@keyframes paneIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.o-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: #fff;
}

.o-card.warn { border-color: #f4c99b; background: #fffaf3; }
.o-card.info { border-color: #a9c8dc; background: #f4f9fc; }
.o-card.unpaid { box-shadow: inset 3px 0 0 var(--danger); }

.o-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.o-table { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.o-meta { font-size: 0.78rem; color: var(--ink-soft); }

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge.amber { background: var(--amber-soft); color: #9a5b00; }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.badge.green { background: var(--teal-soft); color: var(--teal); }
.badge.red { background: var(--danger-soft); color: var(--danger); }

.o-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.o-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.o-lines li:last-child { border-bottom: none; }
.o-lines li > span:last-child { flex: 0 0 auto; white-space: nowrap; }
.o-lines .q { font-weight: 900; color: var(--brand); }
.o-note { display: block; font-size: 0.76rem; color: var(--ink-soft); font-style: italic; }
.o-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.o-total { font-weight: 900; font-size: 1.05rem; }
.demo-hint { margin: 16px 0 0; font-size: 0.84rem; color: var(--ink-soft); text-align: center; }

.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 6px;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(42, 157, 143, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(42, 157, 143, 0); }
}

/* ---------- Pricing ---------- */
.billing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 12px;
}

.billing button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.billing button.on { background: var(--ink); color: #fff; }

.save-pill {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 34px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.plan.featured {
  border-color: var(--brand);
  box-shadow: 0 24px 50px -26px rgba(232, 93, 4, 0.55);
  position: relative;
}

.plan-tag {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.74rem;
  font-weight: 800;
}

.plan h3 { font-size: 1.25rem; }
.plan .desc { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.92rem; }

.price { display: flex; align-items: baseline; gap: 6px; }
.price .amt { font-size: clamp(2.1rem, 4vw, 2.7rem); font-weight: 900; letter-spacing: -0.04em; }
.price .cur { font-size: 1.05rem; font-weight: 800; color: var(--ink-soft); }
.price .per { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }

.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.plan li .tick { margin-top: 1px; }
.plan .btn { width: 100%; margin-top: auto; }
.pricing-note { text-align: center; color: var(--ink-soft); font-size: 0.86rem; margin: 28px 0 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }

.qa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qa-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.qa-q i {
  font-style: normal;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 900;
  transition: transform 0.25s ease;
}

.qa.open .qa-q i { transform: rotate(45deg); }

.qa-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.qa-a p { margin: 0; padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, #17150f 0%, #3a2a17 60%, #7a3b06 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.cta-band::before { width: 300px; height: 300px; background: #e85d04; top: -110px; left: -60px; }
.cta-band::after { width: 260px; height: 260px; background: #2a9d8f; bottom: -120px; right: -50px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 520px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.lp-footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(56px, 8vw, 96px);
  padding: 48px 0 32px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
}

.foot-grid h4 { margin: 0 0 12px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink-soft); font-size: 0.92rem; }
.foot-grid a:hover { color: var(--brand); }
.foot-about p { color: var(--ink-soft); font-size: 0.92rem; max-width: 320px; margin: 12px 0 0; }

.foot-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-stage { order: -1; }
  .chip-1 { top: 6%; left: 0; }
  .chip-2 { bottom: 14%; right: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan.featured { order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* Collapse the inline links early: the full link row plus both buttons
   stops fitting well before the tablet breakpoint. */
@media (max-width: 900px) {
  .lp-links { display: none; }
  .lp-burger { display: flex; }
  .lp-nav-actions .btn-outline { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .demo-shell { padding: 14px; }
  /* No room beside the phone at this size — the chips only collide with it. */
  .chip { display: none; }
}

/* Very narrow phones: keep the header on a single row. */
@media (max-width: 480px) {
  .lp-nav-actions .btn-primary { display: none; }
  .lp-logo { font-size: 1.05rem; }
  .lp-logo img { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
