/* Smart Sales Ledger — Marketing site styles
   Imports the foundations, then layers landing/legal-page styles. */
@import url('colors_and_type.css');

* { box-sizing: border-box; }
html, body, #root { margin: 0; }
body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Layout primitives ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}
.section {
  padding-block: clamp(64px, 9vw, 120px);
}
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.center-text { text-align: center; }
.measure { max-width: 62ch; }
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--brick-50);
  color: var(--brick-700);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0;
}
.eyebrow-pill .dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--brick-600);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--brick-600);
  color: #fff;
  box-shadow: 0 2px 6px rgba(95, 28, 22, 0.22);
}
.btn--primary:hover { background: var(--brick-700); box-shadow: 0 6px 16px rgba(95,28,22,.26); }

.btn--secondary {
  background: #fff;
  color: var(--brick-700);
  border-color: var(--brick-600);
}
.btn--secondary:hover { background: var(--brick-50); }

.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  padding-inline: 14px;
}
.btn--ghost:hover { color: var(--brick-700); }

.btn--gold {
  background: var(--gold-500);
  color: var(--brick-900);
  box-shadow: 0 2px 6px rgba(201, 151, 7, 0.30);
}
.btn--gold:hover { background: var(--gold-400); }

.btn--lg { padding: 17px 30px; font-size: 16px; border-radius: 12px; }
.btn--sm { padding: 9px 14px; font-size: 13px; }

/* ── Cards ─────────────────────────────────────────────────── */
.card-surface {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

/* ── Header / Nav ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 243, 222, 0.85);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(95, 28, 22, 0.06);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 14px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-900);
}
.brand-link img { width: 36px; height: 36px; }
.brand-link .wm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.005em;
  line-height: 1;
}
.brand-link .wm span { color: var(--brick-600); }

.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.nav a:hover { color: var(--brick-700); background: rgba(192,57,43,.05); }
.nav a.is-active { color: var(--brick-700); background: var(--brick-50); }
.nav-spacer { margin-left: auto; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: clamp(64px, 10vw, 120px) clamp(48px, 7vw, 88px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px; right: -160px;
  width: 540px; height: 540px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(248,199,46,.32), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -220px; left: -200px;
  width: 540px; height: 540px;
  border-radius: 999px;
  background: radial-gradient(circle at 40% 40%, rgba(192,57,43,.10), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 16px 0 18px;
  text-wrap: balance;
}
.hero__title em { color: var(--brick-600); font-style: normal; }
.hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-600);
  max-width: 54ch;
  margin-bottom: 28px;
  text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-500);
  font-size: 13px;
}
.hero__trust .avatars {
  display: inline-flex;
}
.hero__trust .avatars span {
  width: 30px; height: 30px;
  border-radius: 999px;
  border: 2px solid var(--cream-100);
  margin-left: -8px;
  background: #ECA194;
  display: inline-block;
}
.hero__trust .avatars span:nth-child(1){background:#C0392B}
.hero__trust .avatars span:nth-child(2){background:#F2BD1D}
.hero__trust .avatars span:nth-child(3){background:#E2776A}
.hero__trust .avatars span:nth-child(4){background:#8A2520}

/* ── Phone mockup (in hero) ─────────────────────────────────── */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone {
  width: 320px;
  height: 640px;
  border-radius: 44px;
  background: #1F1612;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(95, 28, 22, 0.22), 0 12px 28px rgba(95,28,22,.12);
  position: relative;
  transform: rotate(-3deg);
}
.phone__notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #1F1612;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  background: var(--cream-100);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone__statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 22px 8px;
  font-size: 11px; font-weight: 700; color: var(--ink-800);
}
.phone__appbar {
  background: var(--brick-600);
  color: #fff;
  padding: 18px 20px 22px;
  display: flex; align-items: center; gap: 12px;
}
.phone__appbar img { width: 28px; height: 28px; }
.phone__appbar .wm { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.phone__body { padding: 18px 18px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.phone__statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone__stat {
  background: #fff; border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 1px 2px rgba(95,28,22,.05);
}
.phone__stat .lbl { font-size: 10px; font-weight: 600; color: var(--ink-500); letter-spacing: 0.06em; text-transform: uppercase;}
.phone__stat .val { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--brick-600); letter-spacing: -0.005em; line-height: 1.1;}
.phone__stat .delta { font-size: 11px; color: var(--color-success); font-weight: 600; }
.phone__txn {
  background: #fff; border-radius: 14px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 1px 2px rgba(95,28,22,.04);
}
.phone__txn .avatar {
  width: 34px; height: 34px; border-radius: 999px; background: var(--cream-200);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--brick-700); font-size: 13px;
}
.phone__txn .meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1;}
.phone__txn .name { font-size: 13px; font-weight: 600; color: var(--ink-900);}
.phone__txn .when { font-size: 11px; color: var(--ink-500);}
.phone__txn .amt { font-family: var(--font-mono); font-weight: 600; font-size: 13px; }
.phone__txn .amt.in { color: var(--color-success);}
.phone__txn .amt.out { color: var(--brick-600);}

.phone--float {
  position: absolute;
  width: 200px; height: 110px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  right: -10px; bottom: 30px;
  transform: rotate(5deg);
  display: flex; flex-direction: column; gap: 8px;
}
.phone--float .l { font-size: 11px; font-weight: 600; color: var(--ink-500); letter-spacing: 0.04em; text-transform: uppercase;}
.phone--float .v { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--brick-600); letter-spacing: -0.005em; line-height: 1;}
.phone--float .delta { font-size: 12px; color: var(--color-success); font-weight: 600; }

/* ── Logo strip ───────────────────────────────────────────── */
.logo-strip {
  padding-block: 36px;
  border-block: 1px solid rgba(95,28,22,.07);
}
.logo-strip__inner {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
  opacity: 0.7;
}
.logo-strip__inner span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-600);
  letter-spacing: -0.005em;
}

/* ── Feature grid ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brick-50);
  color: var(--brick-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature--alt .feature__icon { background: #FFF1C4; color: var(--gold-600); }
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.feature p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-600); }

/* ── Showcase (alternating image/text rows) ───────────────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.showcase--reverse { direction: rtl; }
.showcase--reverse > * { direction: ltr; }
@media (max-width: 880px) {
  .showcase, .showcase--reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
}
.showcase + .showcase { margin-top: clamp(72px, 8vw, 120px); }
.showcase__copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.005em;
  margin: 12px 0 16px;
  line-height: 1.1;
  color: var(--ink-900);
}
.showcase__copy p { font-size: 17px; line-height: 1.65; color: var(--ink-600); margin: 0 0 16px; max-width: 52ch; }
.showcase__list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.showcase__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-800); font-size: 15px; line-height: 1.5; }
.showcase__list li svg { color: var(--brick-600); flex-shrink: 0; margin-top: 2px; }

.showcase__art {
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #FFF3DE 0%, #FBE6C5 100%);
  padding: 36px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.86;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase__art--brick {
  background: linear-gradient(135deg, #C0392B 0%, #8A2520 100%);
  color: #fff;
}

/* Faux app windows used inside showcases */
.fake-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  width: 100%;
  max-width: 380px;
}
.fake-card h4 { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--ink-900);}
.fake-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--ink-200); font-size: 13px; }
.fake-row:last-child { border-bottom: 0; }
.fake-row .name { color: var(--ink-800); font-weight: 500; }
.fake-row .amt { font-family: var(--font-mono); font-weight: 600; }
.fake-row .amt.in  { color: var(--color-success); }
.fake-row .amt.out { color: var(--brick-600); }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
  border: 1.5px solid transparent;
}
.plan--featured {
  border-color: var(--brick-600);
  box-shadow: var(--shadow-md);
  position: relative;
  transform: translateY(-8px);
}
.plan__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold-500); color: var(--brick-900);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.plan__name {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em; color: var(--ink-900);
}
.plan__tag { font-size: 14px; color: var(--ink-500); margin: -10px 0 0; }
.plan__price {
  display: flex; align-items: baseline; gap: 6px; margin: 6px 0;
}
.plan__price .amt {
  font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1;
  color: var(--brick-600); letter-spacing: -0.01em;
}
.plan__price .per { font-size: 14px; color: var(--ink-500); }
.plan__features { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-800); line-height: 1.45;}
.plan__features li svg { color: var(--brick-600); flex-shrink: 0; margin-top: 2px; }
.plan__cta { margin-top: auto; padding-top: 18px; }

/* ── FAQ accordion ────────────────────────────────────────── */
.faq-list { margin: 40px auto 0; max-width: 800px; display: flex; flex-direction: column; gap: 10px; }
.faq {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 4px 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur-med);
}
.faq[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 600; color: var(--ink-900);
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0392B' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") center/contain no-repeat;
  transition: transform var(--dur-med) var(--ease-out);
}
.faq[open] summary::after { transform: rotate(180deg); }
.faq__body { padding: 0 0 22px; color: var(--ink-600); font-size: 15px; line-height: 1.65; max-width: 70ch; }

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--brick-600), var(--brick-800));
  border-radius: var(--radius-2xl);
  padding: clamp(48px, 7vw, 80px);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(248,199,46,.25), transparent 50%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 16px; letter-spacing: -0.005em; line-height: 1.1;
  position: relative;
}
.cta-band p { font-size: 18px; opacity: 0.85; margin: 0 0 28px; position: relative; }
.cta-band__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative;}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--cream-200);
  padding-block: 56px 24px;
  margin-top: 80px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
.site-footer h5 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-500); margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--ink-700); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-footer a:hover { color: var(--brick-700); }
.site-footer__legal {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(95,28,22,.08);
  font-size: 13px; color: var(--ink-500);
  flex-wrap: wrap; gap: 12px;
}
.site-footer__brand-blurb { font-size: 14px; color: var(--ink-600); margin: 14px 0 0; line-height: 1.55; max-width: 36ch; }

/* ── Legal pages ──────────────────────────────────────────── */
.legal {
  padding-block: clamp(48px, 7vw, 80px);
}
.legal__header {
  text-align: center;
  margin-bottom: 56px;
}
.legal__header .eyebrow-pill { margin-bottom: 16px; }
.legal__header h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 12px;
  color: var(--ink-900);
}
.legal__header .meta { color: var(--ink-500); font-size: 14px; }
.legal__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: flex-start;
}
@media (max-width: 880px) {
  .legal__layout { grid-template-columns: 1fr; gap: 24px; }
  .legal__toc { position: static !important; }
}
.legal__toc {
  position: sticky;
  top: 92px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-xs);
}
.legal__toc h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-500);
  margin: 0 0 10px;
}
.legal__toc ol { list-style: none; padding: 0; margin: 0; counter-reset: t; display: flex; flex-direction: column; gap: 2px;}
.legal__toc li { counter-increment: t; }
.legal__toc a {
  display: flex; gap: 10px;
  padding: 7px 10px; border-radius: 8px;
  font-size: 13px; color: var(--ink-700);
  text-decoration: none;
}
.legal__toc a::before {
  content: counter(t, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); font-weight: 600;
}
.legal__toc a:hover { background: var(--brick-50); color: var(--brick-700); }
.legal__body {
  font-size: 16px; line-height: 1.7; color: var(--ink-700);
}
.legal__body h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; color: var(--ink-900); margin: 40px 0 12px; letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 17px; color: var(--ink-900); margin: 22px 0 6px; font-weight: 700; }
.legal__body p { margin: 0 0 14px; }
.legal__body ul,
.legal__body ol { margin: 0 0 14px; padding-left: 22px; }
.legal__body li { margin-bottom: 6px; }
.legal__body strong { color: var(--ink-900); font-weight: 600; }
.legal__body a { color: var(--brick-700); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }

.legal__callout {
  background: var(--brick-50);
  border-left: 3px solid var(--brick-600);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 20px 0;
  color: var(--ink-800);
  font-size: 15px;
}

/* ── FAQ page extras ─────────────────────────────────────── */
.faq-page-cats {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 32px;
}
.faq-page-cat {
  padding: 9px 18px;
  border: 1.5px solid var(--brick-600);
  background: #fff;
  color: var(--ink-900);
  border-radius: 10px;
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  transition: all var(--dur-fast);
}
.faq-page-cat.is-active { background: var(--brick-600); color: #fff; }

.faq-search {
  max-width: 520px; margin: 0 auto 36px;
  position: relative;
}
.faq-search input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border-radius: 12px;
  border: 1.5px solid var(--ink-200);
  background: #fff;
  font-family: var(--font-sans); font-size: 15px;
  outline: none;
  box-shadow: var(--shadow-xs);
}
.faq-search input:focus { border-color: var(--brick-600); box-shadow: var(--ring-focus); }
.faq-search svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--ink-400);
}

/* ── Helpers ──────────────────────────────────────────────── */
.hide-mobile { }
@media (max-width: 700px) {
  .hide-mobile { display: none !important; }
}

/* ── Mobile hamburger button ──────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--ink-200);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle:hover { background: var(--brick-50); border-color: var(--brick-300); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.22s var(--ease-out), opacity 0.15s;
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 243, 222, 0.97);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  z-index: 48;
  padding: 16px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-med);
  border-top: 1px solid rgba(95, 28, 22, 0.08);
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav__link {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  padding: 13px 16px;
  border-radius: 12px;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.mobile-nav__link:hover { color: var(--brick-700); background: var(--brick-50); }
.mobile-nav__link.is-active { color: var(--brick-700); background: var(--brick-50); }
.mobile-nav__divider {
  height: 1px;
  background: var(--ink-200);
  margin: 12px 0;
  flex-shrink: 0;
}
.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.mobile-nav__actions .btn { justify-content: center; width: 100%; }

/* ── Responsive overrides ─────────────────────────────────── */
@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-spacer { display: none; }
  .site-header__inner { gap: 10px; }

  /* Smaller CTA in header on mobile */
  .site-header .btn--primary { padding: 10px 16px; font-size: 14px; }

  /* Hero stacks fully on small screens */
  .hero { padding-block: 48px 40px; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero__sub { font-size: 16px; }

  /* Phone mockup scales down */
  .phone-stage { justify-content: flex-start; overflow: hidden; }
  .phone { width: 260px; height: 520px; }
  .phone--float { right: 0; bottom: 16px; width: 160px; height: auto; }

  /* Feature & pricing single column already handled at 880px */
  .logo-strip__inner { gap: 20px; }
  .logo-strip__inner span { font-size: 15px; }

  /* Footer 2-col → 1-col on very small screens */
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Legal page TOC full width */
  .legal__header h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }

  /* Pricing featured card reset (no negative translate on mobile) */
  .plan--featured { transform: none; }
  .plan__ribbon { top: -12px; }

  /* Showcase art reasonable height */
  .showcase__art { aspect-ratio: auto; min-height: 200px; padding: 24px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
  .cta-band { padding: 36px 24px; }
  .cta-band__ctas { flex-direction: column; }
  .cta-band__ctas .btn { justify-content: center; }
  .faq-page-cats { gap: 6px; }
  .faq-page-cat { padding: 8px 14px; font-size: 13px; }
}
