/* Mezura landing. Layout and components follow the Flexfolio reference
   (Geist, warm near-black ink, white and soft-grey surfaces, pill labels, 24px cards,
   glowing pill buttons); the reference's orange is swapped for Mezura copper, and the
   mark and product mockup keep the CRM's forest green. Mobile first. */

:root {
  --nav-h: 68px;
  --ink: #1e0d01;
  --ink-2: #3b2f27;
  --muted: #6b6159;          /* 5.9:1 on white; the reference's #888 fails AA for body text */
  --line: rgba(30, 13, 1, 0.1);
  --line-2: rgba(30, 13, 1, 0.06);
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --soft: #f5f5f5;

  --copper: #be6e36;
  --copper-hi: #e9a160;
  --copper-deep: #a55a26;
  --copper-tint: rgba(190, 110, 54, 0.1);
  --green: #275c4a;
  --green-deep: #1e4a3b;
  --green-tint: #e7efeb;

  --radius-card: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(30, 13, 1, 0.04), 0 8px 24px rgba(30, 13, 1, 0.04);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* ScrollSmoother does the easing; native smooth scroll on top of it fights it. */
html.has-smoother { scroll-behavior: auto; }
@media (min-width: 960px) { :root { --nav-h: 88px; } }
/* The header is fixed (outside the smoothed content), so the content starts below it. */
#smooth-content { padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.25; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
section[id], [id="demo"] { scroll-margin-top: 80px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font: 500 15px/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-lg { min-height: 50px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* The reference's glowing pill: warm gradient, inner highlight, soft coloured drop shadow. */
.btn-primary {
  color: #fff;
  background: linear-gradient(161deg, var(--copper-hi) -10%, var(--copper) 60%, var(--copper-deep) 110%);
  box-shadow:
    inset 0 4px 4px rgba(255, 214, 160, 0.35),
    inset 0 -2px 3px rgba(120, 55, 15, 0.25),
    0 10px 24px rgba(165, 90, 38, 0.22);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 4px 4px rgba(255, 214, 160, 0.4), inset 0 -2px 3px rgba(120, 55, 15, 0.25), 0 14px 28px rgba(165, 90, 38, 0.3); }
.btn-ghost {
  color: var(--ink); background: #fff; border-color: var(--line);
  box-shadow: 0 1px 2px rgba(30, 13, 1, 0.05);
}
.btn-ghost:hover { border-color: rgba(30, 13, 1, 0.22); }
/* Secondary button on the dark CTA band. */
.btn-on-dark { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, transform 0.4s var(--ease);
  will-change: transform;
}
.site-header.scrolled { border-bottom-color: var(--line-2); }
/* Tucked away while reading down the page; keyboard focus inside brings it back. */
.site-header.tucked { transform: translateY(-100%); }
.site-header.tucked:focus-within { transform: none; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: border-color 0.2s; } }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-word { font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; display: grid; place-content: center; gap: 5px; padding: 0;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile: the nav is a drop-down panel under the header. */
.nav-links {
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 16px 20px; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(30, 13, 1, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.nav-links.open { opacity: 1; visibility: visible; transform: none; }
.nav-links a:not(.btn) {
  display: block; padding: 12px 8px; text-decoration: none; font-weight: 500; font-size: 16px;
  color: var(--ink-2); border-bottom: 1px solid var(--line-2);
}
.nav-links .nav-cta { margin-top: 12px; }

@media (min-width: 960px) {
  .nav-actions { display: none; }
  .nav-links {
    position: static; flex-direction: row; align-items: center; gap: 4px;
    padding: 0; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav-links a:not(.btn) {
    padding: 8px 12px; border: 0; border-radius: var(--radius-pill); font-size: 15px; color: var(--muted);
    transition: color 0.15s, background 0.15s;
  }
  .nav-links a:not(.btn):hover { color: var(--ink); background: var(--soft); }
  .nav-links .nav-signin { margin-left: 12px; color: var(--ink); }
  .nav-links .nav-cta { margin: 0 0 0 4px; }
}

/* ── Shared section chrome ───────────────────────────── */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
@media (min-width: 768px) { .section { padding: 112px 0; } }
/* Two white sections in a row share one gap instead of stacking both paddings.
   The hidden customers section sits between how-it-works and pricing until it is switched on. */
.hero + .section:not(.section-alt),
.section:not(.section-alt) + .section:not(.section-alt),
.section:not(.section-alt) + .section[hidden] + .section:not(.section-alt) { padding-top: 0; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(30, 13, 1, 0.04);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }

.section-head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(30px, 6vw, 48px); line-height: 1.1; letter-spacing: -0.04em; font-weight: 600;
}
.section-head p:not(.pill) {
  margin-top: 16px; font-size: 17px; color: var(--muted);
}
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }

/* ── Hero ────────────────────────────────────────────── */
.hero { position: relative; padding: 48px 0 64px; overflow: hidden; }
@media (min-width: 768px) { .hero { padding: 104px 0 96px; } }
.hero-glow {
  position: absolute; inset: 0 -10% auto; height: 900px; pointer-events: none;
  /* Both ellipses fade out before the top edge, so there is no seam under the header. */
  background:
    radial-gradient(42% 34% at 50% 42%, rgba(233, 161, 96, 0.2), transparent 70%),
    radial-gradient(26% 22% at 82% 30%, rgba(39, 92, 74, 0.07), transparent 70%);
}
.hero-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }

.hero-title {
  max-width: 1040px;
  font-size: clamp(40px, 10vw, 76px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 600;
}
.hero-title .word { display: inline-block; }
.hero-lede { margin-top: 20px; max-width: 58ch; text-wrap: pretty; font-size: 17px; color: var(--muted); }
@media (min-width: 768px) { .hero-lede { font-size: 19px; } }
.cta-row { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; }
@media (min-width: 560px) { .cta-row { flex-direction: row; justify-content: center; max-width: none; width: auto; } }
.cta-row-start { margin-top: 28px; }
@media (min-width: 560px) { .cta-row-start { justify-content: flex-start; } }

.trust-line { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.trust-line li { display: inline-flex; align-items: center; gap: 6px; }
.trust-line svg { width: 16px; height: 16px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Hero mockup ─────────────────────────────────────── */
.mockup-frame {
  position: relative; margin-top: 48px; padding: 8px;
  border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(134deg, var(--soft), #fff);
  box-shadow: 0 30px 80px rgba(30, 13, 1, 0.1);
}
@media (min-width: 768px) { .mockup-frame { margin-top: 72px; padding: 12px; border-radius: 32px; } }
/* The hero mockup links to the live demo. */
/* No hover lift: .reveal owns this element's transform and transition. */
.mockup-link { display: block; text-decoration: none; color: inherit; }
.mockup-link:hover { box-shadow: 0 36px 90px rgba(30, 13, 1, 0.16); }
.mockup-cta {
  position: absolute; z-index: 2; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(30, 13, 1, 0.25); transition: background 0.2s;
}
.mockup-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.mockup-link:hover .mockup-cta { background: var(--copper-deep); }
.mockup-link:hover .mockup-cta svg { transform: translateX(3px); }
@media (min-width: 768px) { .mockup-cta { bottom: 32px; padding: 12px 22px; font-size: 15px; } }
.mockup { border-radius: 20px; overflow: hidden; background: #f4f4f1; border: 1px solid var(--line-2); font-size: 12px; color: #1f2420; text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line-2); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e4ddd4; }
.mock-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 8px; background: var(--soft); color: var(--muted); font-size: 11px; }
.mock-body { display: flex; min-height: 0; }
.mock-rail { display: none; }
/* Bottom padding keeps the overlaid "Open the live demo" pill clear of the dashboard content. */
.mock-main { flex: 1; min-width: 0; padding: 14px 14px 64px; display: grid; gap: 12px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.mock-hello { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.mock-sub { color: #6b6f69; font-size: 11px; margin-top: 2px; }
.mock-chip { padding: 4px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); font-size: 11px; color: #6b6f69; white-space: nowrap; }
.mock-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mock-kpi { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; }
.mock-kpi p { color: #6b6f69; font-size: 10.5px; }
.mock-kpi strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; letter-spacing: -0.03em; }
.mock-kpi em { display: block; margin-top: 2px; font-style: normal; font-size: 10px; color: #6b6f69; }
.mock-kpi em.up { color: var(--green); }
.mock-kpi em.warn { color: #9a5b16; }
.mock-grid { display: grid; gap: 8px; }
.mock-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; }
.mock-card-title { font-weight: 600; font-size: 12px; display: flex; justify-content: space-between; }
.mock-card-title span { color: #8a8d86; font-weight: 400; }
.mock-chart, .mock-projects { display: none; }
.bars { height: 120px; margin-top: 10px; display: flex; align-items: flex-end; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.bars span { position: relative; flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: #cfe0d8; }
.bars span.hi { background: var(--green); }
.bars b { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-weight: 400; font-size: 10px; color: #8a8d86; }
.bars span:nth-child(1) { --h: 42%; } .bars span:nth-child(2) { --h: 55%; } .bars span:nth-child(3) { --h: 48%; }
.bars span:nth-child(4) { --h: 66%; } .bars span:nth-child(5) { --h: 72%; } .bars span:nth-child(6) { --h: 86%; }
.mock-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; margin-top: 10px; font-size: 11.5px; }
.mock-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row em { font-style: normal; color: #6b6f69; }
.mock-row i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: #ecebe6; position: relative; overflow: hidden; }
.mock-row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 3px; background: var(--green); }
.mock-row:nth-of-type(1) i { --p: 62%; } .mock-row:nth-of-type(2) i { --p: 81%; }
.mock-row:nth-of-type(3) i { --p: 38%; } .mock-row:nth-of-type(3) i::after { background: var(--copper); }
.mock-row:nth-of-type(4) i { --p: 54%; }

@media (min-width: 640px) {
  .mockup { font-size: 13px; }
  .mock-rail { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 56px; padding: 16px 0; background: #fafaf8; border-right: 1px solid var(--line-2); }
  .mock-rail span { width: 22px; height: 6px; border-radius: 3px; background: #e2e0da; }
  .mock-rail span.on { background: var(--green); }
  .mock-rail svg { margin-bottom: 8px; }
  .mock-main { padding: 20px 20px 72px; gap: 14px; }
  .mock-hello { font-size: 18px; }
  .mock-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mock-kpi strong { font-size: 18px; }
  .mock-grid { grid-template-columns: 1.3fr 1fr; }
  .mock-chart, .mock-projects { display: block; }
}
@media (min-width: 1024px) {
  .mock-main { padding: 28px 28px 84px; gap: 18px; }
  .mock-kpi { padding: 14px 16px; }
  .mock-kpi strong { font-size: 22px; }
  .bars { height: 150px; }
}

/* ── Before → after ──────────────────────────────────── */
/* Each card pairs a problem (top, muted, ✕) with the feature that fixes it (bottom, ✓). */
.fixes { display: grid; gap: 14px; }
@media (min-width: 900px) { .fixes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.fix {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-card); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
}
.fix-before, .fix-after h3 { display: flex; gap: 10px; align-items: flex-start; }
.fix-before::before, .fix-after h3::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: center / 14px no-repeat;
}
.fix-before { padding: 18px 20px; background: var(--bg-alt); font-size: 15px; color: var(--muted); }
.fix-before::before {
  background-color: rgba(30, 13, 1, 0.07);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%236b6159' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.fix-after { flex: 1; padding: 18px 20px 22px; border-top: 1px solid var(--line-2); }
.fix-after h3 { font-size: 18px; letter-spacing: -0.02em; }
.fix-after h3::before {
  margin-top: 2px; background-color: var(--green-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23275C4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fix-after p { margin-top: 6px; padding-left: 30px; font-size: 15px; color: var(--muted); }
@media (min-width: 768px) { .fix-before { padding: 20px 24px; } .fix-after { padding: 22px 24px 26px; } }

.also { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.also li { padding: 7px 14px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--ink-2); }
@media (min-width: 768px) { .also { margin-top: 32px; } }

/* ── Steps ───────────────────────────────────────────── */
.steps { display: grid; gap: 12px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.step {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 20px;
  background: linear-gradient(134deg, var(--soft), #fff); border: 1px solid var(--line-2);
}
@media (min-width: 768px) { .step { flex-direction: column; gap: 20px; padding: 28px 24px; border-radius: var(--radius-card); } }
.step-num {
  flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-weight: 600; font-size: 15px; color: #fff;
  background: linear-gradient(161deg, var(--copper-hi), var(--copper) 60%, var(--copper-deep));
  box-shadow: inset 0 3px 3px rgba(255, 214, 160, 0.35), 0 6px 14px rgba(165, 90, 38, 0.2);
}
.step h3 { font-size: 18px; letter-spacing: -0.02em; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ── Social proof ────────────────────────────────────── */
.testimonial { margin: 0 auto; max-width: 760px; padding: 32px; border-radius: var(--radius-card); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); text-align: center; }
.testimonial blockquote { margin: 0; font-size: clamp(18px, 3vw, 22px); line-height: 1.5; letter-spacing: -0.01em; }
.testimonial figcaption { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.testimonial figcaption span { color: var(--muted); }
.logo-row { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; }
.logo-row img { height: 32px; width: auto; filter: grayscale(1); opacity: 0.7; }

/* ── Pricing ─────────────────────────────────────────── */
.price-contact {
  max-width: 960px; margin: 0 auto; padding: 32px 24px; border-radius: 28px;
  background: linear-gradient(134deg, var(--soft), #fff); border: 1px solid var(--line-2);
  display: grid; gap: 28px; align-items: center;
}
@media (min-width: 768px) { .price-contact { grid-template-columns: 1fr auto; padding: 48px; gap: 48px; } }
.price-contact h3 { font-size: clamp(24px, 4vw, 32px); letter-spacing: -0.03em; }
.price-contact > div > p { margin-top: 12px; color: var(--muted); max-width: 52ch; }
.checks { margin-top: 20px; display: grid; gap: 10px; }
.price-actions { display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23275C4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* The pricing section runs a little wider than the rest so four plans have room side by side. */
.wrap-wide { max-width: 1280px; }

/* One Monthly / Yearly switch above the cards drives every card. */
.billing { display: flex; justify-content: center; margin: -8px 0 28px; }
@media (min-width: 768px) { .billing { margin: -20px 0 36px; } }
.billing-toggle {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--radius-pill);
  background: var(--soft); border: 1px solid var(--line-2);
}
.billing-toggle button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 20px;
  border: 0; border-radius: var(--radius-pill); background: none; cursor: pointer;
  font: 500 15px/1 var(--font); color: var(--muted);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.billing-toggle button:hover { color: var(--ink); }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(30, 13, 1, 0.06), 0 4px 12px rgba(30, 13, 1, 0.06); }
.billing-save { padding: 4px 8px; border-radius: var(--radius-pill); background: var(--green-tint); color: var(--green-deep); font-size: 12px; font-weight: 600; }
.billing-save:empty { display: none; }

/* Each card spans seven rows of a shared subgrid (name, blurb, price, note, button, limits,
   features), so the same parts line up across a row even when a blurb wraps.
   Cards are spaced with a bottom margin because a subgrid would inherit any row gap. */
.plans { display: grid; gap: 0 16px; margin-bottom: -16px; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; margin-bottom: -20px; } .plans .plan { margin-bottom: 20px; } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Phones: the plans sit in a swipeable row (each card still spans the seven subgrid rows, so
   they line up), with the next card peeking in. main.js scrolls the highlighted plan into view. */
@media (max-width: 639px) {
  .plans {
    grid-auto-flow: column; grid-template-rows: repeat(7, auto); grid-auto-columns: 84%; column-gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plans .plan { scroll-snap-align: start; margin-bottom: 0; }
  .plan.highlighted { box-shadow: 0 12px 28px rgba(30, 13, 1, 0.2); }
  .plans-hint { display: block; }
}
.plans-hint { display: none; margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.plan {
  display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; align-content: start;
  margin-bottom: 16px; padding: 24px; border-radius: var(--radius-card);
  background: linear-gradient(134deg, var(--soft), #fff); border: 1px solid var(--line-2);
}
.plan h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 19px; letter-spacing: -0.02em; }
.plan-tag {
  padding: 3px 9px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 600; letter-spacing: 0; color: #fff;
  background: linear-gradient(161deg, var(--copper-hi), var(--copper));
}
.plan .plan-blurb { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.plan .plan-price { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; }
.plan-amount { font-size: clamp(30px, 3vw, 36px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan-per { font-size: 14px; color: var(--muted); }

.plan .plan-note { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.plan .btn { margin-top: 16px; min-height: 42px; align-self: start; }
.plan-limits { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; font-weight: 500; color: var(--ink); align-self: start; }
.plan-features { margin-top: 14px; align-self: start; }
.plan-includes { font-size: 13px; font-weight: 600; color: var(--muted); }
.plan .checks { margin-top: 8px; gap: 6px; }
.plan .checks li { font-size: 14px; line-height: 1.45; }
.plan .checks li::before { width: 18px; height: 18px; margin-top: 1px; background-size: 14px; }
.plan.highlighted { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 24px 60px rgba(30, 13, 1, 0.25); }
.plan.highlighted h3, .plan.highlighted .checks li, .plan.highlighted .plan-limits { color: #fff; }
.plan.highlighted .plan-blurb, .plan.highlighted .plan-per, .plan.highlighted .plan-note, .plan.highlighted .plan-includes { color: rgba(255, 255, 255, 0.65); }
.plan.highlighted .plan-limits { border-color: rgba(255, 255, 255, 0.14); }
.plan.highlighted .checks li::before { background-color: rgba(255, 255, 255, 0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Enterprise: a slim strip under the plans instead of a fifth card. */
.enterprise {
  margin-top: 20px; padding: 22px 24px; border-radius: var(--radius-card);
  border: 1px dashed rgba(30, 13, 1, 0.18); background: var(--bg-alt);
  display: grid; gap: 16px; align-items: center;
}
@media (min-width: 768px) { .enterprise { grid-template-columns: 1fr auto; gap: 32px; padding: 24px 28px; } }
.enterprise h3 { font-size: 18px; letter-spacing: -0.02em; }
.enterprise p { margin-top: 4px; font-size: 15px; color: var(--muted); max-width: 70ch; }
.enterprise .btn { justify-self: start; }

/* ── FAQ: intro on the left, questions on the right ──── */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } .faq-intro { position: sticky; top: 112px; } .has-smoother .faq-intro { position: static; } }
.faq-intro h2 { margin-top: 16px; font-size: clamp(30px, 6vw, 48px); line-height: 1.1; letter-spacing: -0.04em; }
.faq-intro > p:not(.pill) { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 42ch; }
.faq-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.faq-link { color: var(--copper-deep); font-weight: 500; text-underline-offset: 3px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-weight: 500; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; border-radius: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='%231e0d01' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--copper-tint); }
.faq details p { padding: 0 22px 22px; color: var(--muted); max-width: 64ch; }
.faq details p a { color: var(--copper-deep); font-weight: 500; }

/* ── Closing band: start, or ask for a call ──────────── */
.cta-band-wrap { padding: 48px 0 64px; scroll-margin-top: 16px; }
@media (min-width: 768px) { .cta-band-wrap { padding: 96px 0 112px; } }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 28px; padding: 36px 16px 16px; border-radius: 28px;
  background: var(--ink); color: #fff;
}
@media (min-width: 560px) { .cta-band { padding: 48px 28px 28px; } }
@media (min-width: 960px) { .cta-band { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; padding: 64px; border-radius: 32px; } }
.cta-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 20% 120%, rgba(233, 161, 96, 0.45), transparent 70%), radial-gradient(35% 50% at 100% 0%, rgba(39, 92, 74, 0.45), transparent 70%); }
/* Underlay: a faint measuring grid that fades out, and the wordmark set huge and outlined. */
.cta-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(80% 90% at 25% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(80% 90% at 25% 40%, #000 20%, transparent 75%);
}
.cta-wordmark {
  position: absolute; z-index: -1; left: -0.04em; bottom: -0.26em; margin: 0;
  pointer-events: none; user-select: none; white-space: nowrap;
  font-size: clamp(96px, 19vw, 260px); font-weight: 600; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(233, 161, 96, 0.22);
  background: linear-gradient(180deg, rgba(233, 161, 96, 0.14), rgba(233, 161, 96, 0) 80%);
  -webkit-background-clip: text; background-clip: text;
}
.cta-copy { padding: 0 8px; }
@media (min-width: 560px) { .cta-copy { padding: 0; } }
.cta-copy h2 { color: #fff; max-width: 16ch; font-size: clamp(30px, 6vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.cta-copy p { margin-top: 14px; color: rgba(255, 255, 255, 0.7); font-size: 17px; max-width: 44ch; }
.cta-band .cta-row { margin-top: 24px; max-width: none; }

/* The short form: name, phone, company. */
.demo-card { padding: 22px 18px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25); }
@media (min-width: 768px) { .demo-card { padding: 28px; } }
.form { display: grid; gap: 14px; }
.form-title { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.field { display: grid; gap: 6px; align-content: start; }
.field > label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field input:not([type="checkbox"]) {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 16px/1.4 var(--font); color: var(--ink);   /* 16px stops iOS zooming on focus */
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  -webkit-appearance: none; appearance: none;
}
.field input:hover { border-color: rgba(30, 13, 1, 0.2); }
.field input:focus { outline: none; background: #fff; border-color: var(--copper); box-shadow: 0 0 0 4px var(--copper-tint); }
.field.invalid input { border-color: #b3261e; background: #fff; }
.field-error { font-size: 13px; color: #b3261e; }
.field-error:empty { display: none; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--copper); cursor: pointer; }
.consent a { color: var(--copper-deep); font-weight: 500; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }

.form-foot { display: grid; gap: 12px; margin-top: 2px; }
.form-status { font-size: 14px; color: #b3261e; }
.form-status:empty { display: none; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.7s linear infinite; }
.form.loading .spinner { display: inline-block; }
.form.loading button[type="submit"] { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; padding: 16px 4px; display: grid; justify-items: center; gap: 10px; }
.form-success:focus { outline: none; }
.success-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green-tint); }
.success-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 22px; letter-spacing: -0.03em; margin-top: 6px; }
.form-success p { color: var(--muted); max-width: 36ch; }
.form-success .btn { margin-top: 6px; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line-2); background: var(--bg-alt); padding-top: 64px; font-size: 15px; }
.footer-top { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.footer-tagline { margin-top: 16px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.footer-about { margin-top: 8px; color: var(--muted); max-width: 40ch; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-col h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.footer-col ul { margin-top: 16px; display: grid; gap: 10px; }
.footer-col a, .footer-legal a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; transition: color 0.15s; }
.footer-col a:hover, .footer-legal a:hover { color: var(--copper-deep); }
.socials { margin-top: 24px; display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.socials a:hover { color: var(--copper-deep); border-color: var(--copper); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-base {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  color: var(--muted); font-size: 14px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { color: var(--muted); }
/* The oversized wordmark sits under the base row and is cut off by the footer's bottom edge. */
.footer-wordmark {
  margin: 24px 0 -0.24em; text-align: center; pointer-events: none; user-select: none;
  white-space: nowrap;
  font-size: clamp(64px, 16vw, 228px); font-weight: 600; line-height: 1; letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(190, 110, 54, 0.22), rgba(190, 110, 54, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Floating WhatsApp ───────────────────────────────── */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(18, 140, 70, 0.35);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
@media (min-width: 768px) { .wa-float { right: 24px; bottom: 24px; } }

/* ── Motion: fade-up on scroll, word-by-word headline ── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-title .word { opacity: 0; transform: translateY(0.4em); filter: blur(6px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
.js .hero-title.in .word { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero-title .word { opacity: 1; transform: none; filter: none; transition: none; }
  .btn, .wa-float { transition: none; }
}

/* ── Legal redirect and 404 pages ────────────────────── */
.simple-page { min-height: 70vh; display: grid; place-items: center; padding: 72px 0; text-align: center; }
.simple-page .code { font-size: clamp(88px, 20vw, 160px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(161deg, var(--copper-hi), var(--copper-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.simple-page h1 { margin-top: 12px; font-size: clamp(26px, 5vw, 36px); letter-spacing: -0.03em; }
.simple-page p { margin: 12px auto 28px; color: var(--muted); max-width: 44ch; }
