/* 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. */

/* Geist, served from here rather than Google Fonts: no third-party connections before text
   shows. One variable file per character set covers every weight; latin-ext carries ₹. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

: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; }
/* No visible page scrollbar; the page still scrolls by wheel, touch and keyboard. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
@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;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
  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; max-height: none; overflow: visible; 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: 24px 0 64px; overflow: hidden; }
@media (min-width: 768px) { .hero { padding: 40px 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: 1160px;
  font-size: clamp(40px, 10vw, 68px); line-height: 1.04; letter-spacing: -0.05em; font-weight: 600;
}
.hero-title .word { display: inline-block; }
.hero-title .clause-br { display: none; }
@media (min-width: 768px) { .hero-title .clause-br { display: inline; } }
.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; } }

/* Audience: html[data-aud] is set in <head> before paint; builder copy shows when it's missing. */
html[data-aud="contractor"] [data-for="builder"],
html:not([data-aud="contractor"]) [data-for="contractor"] { display: none !important; }
.aud-switch { margin-bottom: 24px; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
@media (min-width: 768px) { .aud-switch { margin-bottom: 32px; } }
.aud-toggle { background: #fff; }

.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; } }
.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; } }

/* ── 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 ─────────────────────────────────────────── */
.checks { margin-top: 20px; display: grid; gap: 10px; }
.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; }
/* The deal in three steps, between the switch and the cards. Quiet: a line, not a banner. */
.billing:not([hidden]) + .trial-steps { margin-top: -12px; }
.trial-steps {
  display: grid; gap: 10px; max-width: 980px; margin: 0 auto 36px; padding: 0; list-style: none;
  font-size: 14px; color: var(--muted);
}
@media (min-width: 900px) { .trial-steps { grid-template-columns: repeat(3, auto); justify-content: center; gap: 12px 28px; } }
.trial-steps li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.trial-steps strong { color: var(--ink); font-weight: 600; }
.step-n {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: -1px; border-radius: 50%;
  font-size: 12px; font-weight: 600; color: var(--green-deep); background: var(--green-tint);
}
@media (min-width: 900px) {
  .trial-steps li + li { position: relative; }
  .trial-steps li + li::before { content: ""; position: absolute; left: -20px; top: 10px; width: 12px; height: 1px; background: var(--line); }
}
@media (min-width: 768px) { .billing { margin: -20px 0 36px; } }
.billing-toggle, .aud-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, .aud-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, .aud-toggle button:hover { color: var(--ink); }
.billing-toggle button[aria-pressed="true"], .aud-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; }
/* Three paid plans: one row of three from tablet width up. */
@media (min-width: 640px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; margin-bottom: -20px; } .plans .plan { margin-bottom: 20px; } }
@media (min-width: 640px) and (max-width: 899px) { .plans { column-gap: 12px; } }
/* What the per-card sticker cannot say: the founding places are shared by every plan. */
.founding-line { margin: 0 auto 28px; max-width: 62ch; text-align: center; font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--copper-deep); }
/* Phones: the plans stack one under another, each folded to name, price, button and limits.
   "See what's included" (main.js) unfolds the feature list. */
.plan-more { display: none; }
@media (max-width: 639px) {
  .trial-steps { gap: 8px; margin-bottom: 20px; font-size: 13px; }
  .founding-line { margin-bottom: 24px; font-size: 13px; }
  .plans .plan { margin-bottom: 16px; padding: 20px; }
  .plans .plan:first-child { margin-top: 8px; }
  .plan.highlighted { box-shadow: 0 12px 28px rgba(30, 13, 1, 0.2); }
  .plan .plan-price { margin-top: 12px; }
  /* The three steps above the cards already say this once. */
  .plan-cta-note { display: none; }
  .plan:not(.open) .plan-includes, .plan:not(.open) .checks { display: none; }
  .plan-features { margin-top: 10px; }
  .plan-more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 0; border: 0; background: none; cursor: pointer;
    font: 600 14px/1.2 var(--font); color: var(--copper-deep); text-decoration: underline; text-underline-offset: 3px;
  }
  .plan.highlighted .plan-more { color: var(--copper-hi); }
  .plan .founding-sticker { width: 76px; height: 76px; top: -22px; right: -6px; }
}
.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);
  position: relative; isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.35s var(--ease);
}
/* The dark "selected" fill is a layer that fades in, since a gradient can't transition to a colour.
   main.js moves .highlighted to whichever card is hovered or focused. */
.plan::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--ink); opacity: 0; transition: opacity 0.4s var(--ease);
}
.plan.highlighted::before { opacity: 1; }
.plan h3, .plan .plan-blurb, .plan-per, .plan .plan-note, .plan-includes, .plan .checks li, .plan-limits,
.plan-was, .plan-was-note, .plan .checks li::before { transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease); }
@media (hover: hover) { .plan.highlighted { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .plan, .plan::before, .founding-sticker { transition: none; } .plan.highlighted { transform: none; } }
.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-was-line { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-bottom: 2px; line-height: 1.3; }
/* The later price, labelled rather than struck through: nobody has paid it yet (main.js). */
.plan-was { font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.plan-was-note { font-size: 12px; font-weight: 500; font-style: italic; color: var(--copper-deep); }
.plan.highlighted .plan-was { color: rgba(255, 255, 255, 0.5); }
.plan.highlighted .plan-was-note { color: var(--copper-hi); }

/* Founding member sticker: a scalloped vinyl seal slapped on the card's corner, slightly askew. */
.plan.has-sticker { position: relative; }
.plan.has-sticker h3 { justify-content: flex-start; }
.founding-sticker {
  position: absolute; top: -34px; right: -14px; width: 108px; height: 108px; pointer-events: none;
  transform: rotate(12deg); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 6px 10px rgba(30, 13, 1, 0.22)) drop-shadow(0 1px 1px rgba(30, 13, 1, 0.2));
}
.founding-sticker svg { width: 100%; height: 100%; overflow: visible; }
.sticker-ring { font: 700 8.6px var(--font); fill: #fff; letter-spacing: 0.06em; }
.sticker-small { font: 700 8px var(--font); fill: #fff; letter-spacing: 0.14em; text-anchor: middle; }
.sticker-big { font: 700 28px var(--font); fill: #fff; letter-spacing: -0.04em; text-anchor: middle; }
/* The selected card's sticker swings the other way (with a little overshoot when it moves). */
.plan.highlighted .founding-sticker { transform: rotate(-10deg); }

.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-cta { display: grid; align-content: start; }
.plan-cta .btn { width: 100%; }
.plan-cta-note { margin-top: 8px; font-size: 12.5px; line-height: 1.4; color: var(--muted); text-align: center; }
.plan.highlighted .plan-cta-note { color: rgba(255, 255, 255, 0.6); }
.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 { 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; top: auto; } }
.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); }
/* While an answer slides shut, the + turns back straight away rather than at the end. */
.faq details.closing summary::after { transform: none; background-color: var(--soft); }
.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;
  /* minmax(0, 1fr): without it the column grows to the calendar's width and runs off a phone. */
  display: grid; grid-template-columns: minmax(0, 1fr); 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; } }
/* "Book a slot" / "Call me back": the calendar embed and the form share the card. */
.demo-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); }
.demo-switch[hidden] { display: none; }
.demo-switch button { min-height: 40px; border: 0; border-radius: 10px; background: transparent; font: 500 15px/1 var(--font); color: var(--ink-2); cursor: pointer; transition: background 0.15s, color 0.15s; }
.demo-switch button:hover { color: var(--ink); }
.demo-switch button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(30, 13, 1, 0.12); }
.demo-switch button:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
/* embed.js sizes the calendar to its content; the min-height holds the space while it loads. */
.demo-book #booking-inline { min-height: 480px; width: 100%; }
.demo-book #booking-inline iframe { width: 100% !important; max-width: 100%; }
/* A fixed frame: the calendar scrolls inside it, the page does not grow with it. */
.booking-frame {
  height: min(520px, 68vh); overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth;
  border: 1px solid var(--line); border-radius: 16px; background: #fff;
  box-shadow: inset 0 -18px 18px -18px rgba(30, 13, 1, 0.18);
}
.book-steps { display: flex; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; counter-reset: none; }
.book-steps li {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 6px; border-radius: 10px;
  font-size: 12.5px; font-weight: 500; color: var(--muted); background: var(--bg-alt); border: 1px solid var(--line-2); white-space: nowrap;
}
.book-steps li span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 600; background: #fff; border: 1px solid var(--line); }
.book-steps li.on { color: var(--ink); border-color: var(--green); background: var(--green-tint); }
.book-steps li.on span { background: var(--green); border-color: var(--green); color: #fff; }
.book-steps li.done span { background: var(--green-tint); border-color: var(--green); color: var(--green); }
.book-steps li { min-width: 0; }
/* Narrow phones: the labels alone, so the three steps fit across the card. */
@media (max-width: 420px) { .book-steps { gap: 4px; } .book-steps li { font-size: 12px; padding: 7px 4px; } .book-steps li span { display: none; } }
.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"]), .field select {
  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 select { cursor: pointer; padding-right: 40px; background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b6159' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); }
.field input:hover, .field select:hover { border-color: rgba(30, 13, 1, 0.2); }
.field select:focus,
.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: 1fr 1.5fr; 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 24px; }
/* Phones: Product and Resources side by side, Get started full width below. */
.footer-cols > .footer-col:last-child { grid-column: 1 / -1; }
@media (min-width: 560px) {
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-cols > .footer-col:last-child { grid-column: auto; }
}
.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; }
.ph-badge:not([hidden]) { display: inline-block; margin-top: 20px; }
.ph-badge img { display: block; max-width: 100%; height: auto; }
.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; }

/* ── Small pages: help, security, status, partners ───── */
.doc-body { background: var(--bg); }
.doc-header { position: sticky; }
.doc-page { padding: 48px 0 72px; }
@media (min-width: 768px) { .doc-page { padding: 72px 0 96px; } }
.doc-wrap { max-width: 860px; }
.doc-page h1 { margin-top: 16px; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.035em; }
.doc-lede { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 64ch; }
.doc-page a:not(.btn) { color: var(--copper-deep); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.toc a { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 14px; text-decoration: none; color: var(--ink-2) !important; background: #fff; }
.toc a:hover { border-color: var(--copper); }
.guide { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.guide h2, .doc-contact h2, .partner-form-wrap h2 { font-size: 22px; letter-spacing: -0.02em; }
.guide ol { margin-top: 14px; padding-left: 22px; list-style: decimal; display: grid; gap: 8px; color: var(--ink-2); }
.guide ol li::marker { color: var(--copper); font-weight: 600; }
.guide-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.doc-contact { margin-top: 48px; padding: 24px; border-radius: var(--radius-card); background: var(--bg-alt); border: 1px solid var(--line-2); }
.doc-contact p { margin-top: 8px; color: var(--ink-2); }
.doc-contact .btn { margin-top: 8px; }
.sec-grid { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sec-item { padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--line-2); background: linear-gradient(134deg, var(--soft), #fff); }
.sec-item h3 { font-size: 16px; letter-spacing: -0.01em; }
.sec-item p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.doc-footer { padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.doc-footer p + p { margin-top: 6px; }
.doc-footer a { color: var(--ink-2); }
/* Partner form */
.partner-form-wrap { margin-top: 40px; padding: 24px; border-radius: var(--radius-card); border: 1px solid var(--line); background: #fff; }
.partner-form-wrap .form { margin-top: 16px; }
.partner-form-wrap select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.form-done { font-weight: 600; color: var(--green-deep); }

/* ── Thank-you page ──────────────────────────────────── */
.thanks { text-align: center; }
.thanks .doc-lede { margin-left: auto; margin-right: auto; }
.thanks-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint); }
.thanks-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.thanks-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.thanks .doc-contact { text-align: left; }

/* ── Footer address ──────────────────────────────────── */
.footer-address { margin-top: 12px; font-style: normal; font-size: 14px; color: var(--muted); }

/* ── Cookie banner (only when Google Analytics is switched on) ── */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px;
  border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(30, 13, 1, 0.14);
  font-size: 14px; color: var(--ink-2);
}
.cookie-bar p { flex: 1 1 280px; }
.cookie-bar a { color: var(--copper-deep); }
.cookie-actions { display: flex; gap: 8px; }

/* ── Phones: sticky trial bar ────────────────────────── */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.3s var(--ease);
  }
  .mobile-cta.on { transform: none; }
  .mobile-cta .btn-primary { flex: 1; }
  .mobile-cta .btn { min-height: 46px; }
  /* The WhatsApp button rides above the bar while it shows. */
  .mobile-cta-on .wa-float { bottom: 84px; }
  .wa-float { transition: bottom 0.3s var(--ease), transform 0.2s var(--ease); }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }


/* ── 02 · Product preview: the real dashboard in the browser frame ── */
.shot-frame img { display: block; width: 100%; height: auto; }
.sample-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
.sample-note a { color: var(--copper-deep); }

/* ── 02b · The film: same frame as the hero mockup, dark inside to match the film ── */
.film-frame {
  position: relative; 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) { .film-frame { padding: 12px; border-radius: 32px; } }
.film { display: block; cursor: pointer; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; background: #12281f; }
/* ── The film, home page: a small card beside the section's call to action; the film opens in .fdialog ── */
.film-cta { padding: 72px 0 80px; }
@media (min-width: 768px) { .film-cta { padding: 104px 0 112px; } }
.film-cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.film-card {
  position: relative; display: block; width: min(420px, 100%); aspect-ratio: 16 / 9; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); border-radius: 22px; background: #ece7de;
  box-shadow: 0 1px 0 #fff inset, 0 24px 60px rgba(30, 13, 1, 0.12), 0 4px 14px rgba(30, 13, 1, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.film-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 #fff inset, 0 32px 70px rgba(30, 13, 1, 0.16), 0 6px 16px rgba(30, 13, 1, 0.08); }
.film-card:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.film-card-poster, .film-card-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film-card-loop { opacity: 0; transition: opacity 0.4s var(--ease); }
.film-card.is-looping .film-card-loop { opacity: 1; }
.film-card-play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center;
  border-radius: 18px; background: var(--ink); box-shadow: 0 12px 30px rgba(30, 13, 1, 0.35); transition: transform 0.3s var(--ease), background 0.2s;
}
.film-card:hover .film-card-play { transform: scale(1.07); background: var(--copper-deep); }
.film-card-play svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.film-card-time {
  position: absolute; left: 14px; bottom: 14px; padding: 3px 9px; border-radius: 8px; background: rgba(30, 13, 1, 0.72); color: #fff;
  font: 500 13px var(--font); font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.film-cta-title { margin-top: 40px; font-size: clamp(36px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 600; }
.film-cta-title span { display: block; }
.film-cta-muted { color: #8a8079; }
.film-cta-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 560px) { .film-cta-actions { flex-direction: row; gap: 28px; } }
.film-cta-link { color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none; }
.film-cta-link span { display: inline-block; margin-left: 2px; transition: transform 0.2s var(--ease); }
.film-cta-link:hover { color: var(--copper-deep); }
.film-cta-link:hover span { transform: translateX(3px); }
.btn-arrow { width: 16px; height: 16px; margin-left: 8px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* The film's lightbox */
.fdialog { width: min(1280px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.fdialog::backdrop { background: rgba(18, 14, 11, 0.82); backdrop-filter: blur(6px); }
.fd-stage { border-radius: 20px; overflow: hidden; background: #ece7de; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5); }
.fd-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: calc(100dvh - 150px); background: #ece7de; }
.fd-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px 0; }
.fd-title { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.fd-sub { margin: 2px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.62); }
.fd-close {
  position: fixed; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #fff;
}
.fd-close:hover { background: rgba(255, 255, 255, 0.16); }
.fd-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 559px) { .fd-foot { flex-direction: column; align-items: stretch; text-align: left; } .fd-foot .btn { justify-content: center; } }

/* ── 05 · Feature deep dive: tabs, then copy beside a real screen ── */
.feat { max-width: 1160px; margin: 0 auto; }
.feat-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.feat-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .feat-tabs { justify-content: center; flex-wrap: wrap; } }
.feat-tabs button {
  flex: none; padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.feat-tabs button:hover { border-color: var(--copper); }
.feat-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.feat-panel { display: grid; gap: 24px; margin-top: 18px; padding: 22px; border-radius: var(--radius-card); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
@media (min-width: 960px) { .feat-panel { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); align-items: center; gap: 36px; padding: 32px; } }
.feat-kicker { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper-deep); }
.feat-copy h3 { margin-top: 6px; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.025em; }
.feat-copy .checks { margin-top: 16px; }
.feat-benefit { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 14.5px; color: var(--ink-2); }
/* The RA billing tab's worked example: one item from BOQ to margin, closed until tapped so it
   costs a single line of scroll on a phone. */
.trace { grid-column: 1 / -1; padding: 14px 16px; border-radius: 16px; background: #fffaf3; border: 1px dashed rgba(190, 110, 54, 0.45); }
.trace summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; color: var(--copper-deep); }
.trace summary::-webkit-details-marker { display: none; }
.trace summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--copper-tint); font-size: 18px; line-height: 1; }
.trace[open] summary::after { content: "−"; }
.trace summary:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; border-radius: 6px; }
.trace-steps { display: grid; gap: 10px; margin-top: 16px; padding: 0; list-style: none; }
@media (min-width: 640px) { .trace-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .trace-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trace-steps li { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); }
.trace-k { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.trace-v { margin-top: 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.trace-d { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--muted); font-variant-numeric: tabular-nums; }
.trace-steps .trace-end { background: var(--green-tint); border-color: rgba(39, 92, 74, 0.25); }
.trace-end .trace-v { color: var(--green-deep); }
.trace-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ── 08 · Trust ── */
.trust-list { max-width: 640px; margin: 0 auto; }
.pricing-start { max-width: 70ch; margin: 24px auto 0; text-align: center; font-size: 15px; color: var(--muted); scroll-margin-top: 96px; }
.pricing-start strong { color: var(--ink-2); }
.trust-more { margin-top: 22px; text-align: center; color: var(--muted); }
.trust-more a { color: var(--copper-deep); font-weight: 500; }

/* ── Cursor: a CAD selection (main.js). Mouse and trackpad only. ── */
.cur-dot, .cur-sel { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none; }
  /* Typing keeps the real caret; iframes (Turnstile) draw their own. */
  html.has-cursor input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  html.has-cursor textarea, html.has-cursor [contenteditable="true"] { cursor: text; }
  /* An open <dialog> sits in the top layer, above the drawn cursor at any z-index, so the
     real pointer comes back while one is open. */
  html.has-cursor:has(dialog[open]) * { cursor: auto; }
  html.has-cursor:has(dialog[open]) :is(a, button, select, label, summary, [role="button"]) { cursor: pointer; }
  html.has-cursor:has(dialog[open]) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea) { cursor: text; }
  html:has(dialog[open]) :is(.cur-dot, .cur-sel) { display: none; }
  .cur-dot, .cur-sel { display: block; position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
  .cur-on .cur-dot { opacity: 1; }
  .cur-typing .cur-dot { opacity: 0; }
  .cur-dot {
    width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--copper);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 1px 4px rgba(30, 13, 1, 0.25);
    transition: opacity 0.2s, transform 0s, width 0.2s, height 0.2s, margin 0.2s;
  }
  .cur-hover .cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
  .cur-down .cur-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
  /* The selection frame: only its four corners are drawn. */
  .cur-sel { width: 0; height: 0; }
  .cur-on.cur-hover .cur-sel { opacity: 1; }
  .cur-sel i { position: absolute; width: 11px; height: 11px; border: 0 solid var(--copper); transition: border-color 0.2s; }
  .cur-sel .tl { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; border-top-left-radius: 3px; }
  .cur-sel .tr { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; border-top-right-radius: 3px; }
  .cur-sel .bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; border-bottom-left-radius: 3px; }
  .cur-sel .br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; border-bottom-right-radius: 3px; }
  .cur-down .cur-sel i { border-color: var(--copper-deep); }
  /* On the dark panels the brackets and the dot turn white. */
  .cur-light .cur-sel i { border-color: #fff; }
  .cur-light .cur-dot { background: #fff; box-shadow: 0 0 0 2px rgba(30, 13, 1, 0.35); }
}


.phone {
  margin: 0; padding: 7px; border-radius: 34px; background: var(--ink);
  box-shadow: 0 18px 40px rgba(30, 13, 1, 0.14);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 27px; }

/* ── A day with Mezura OS (features page): one phone, a role toggle and four time steps that swap
   the screen. The phone shows the top of each screen, where the content is, not the full length. ── */
.dt { margin-top: 8px; }
.dt-roles { display: flex; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 4px; gap: 4px; border: 1px solid var(--line-2); border-radius: var(--radius-pill); background: #fff; }
.dt-role-btn { padding: 9px 18px; border: 0; border-radius: var(--radius-pill); background: none; cursor: pointer; font: 500 15px/1.2 var(--font); color: var(--muted); transition: color 0.2s, background 0.25s var(--ease); }
.dt-role-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.dt-body { display: grid; gap: 24px; justify-items: center; }
.dt-phone {
  position: relative; width: min(76vw, 300px); aspect-ratio: 780 / 1180; overflow: hidden;
  padding: 7px 7px 0; border-radius: 34px 34px 0 0; background: var(--ink);
  touch-action: pan-y;
  /* The cut-off bottom fades out, frame and all, so the crop reads as deliberate. */
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent);
  mask-image: linear-gradient(to bottom, #000 74%, transparent);
}
.dt-shot { position: absolute; inset: 7px 7px 0; margin: 0; opacity: 0; transform: scale(0.985); transition: opacity 0.38s var(--ease), transform 0.5s var(--ease); }
.dt-shot.is-on { opacity: 1; transform: none; }
.dt-shot img { display: block; width: 100%; height: auto; border-radius: 27px 27px 0 0; }
.dt-panels { width: 100%; max-width: 520px; }
.dt-intro { margin-bottom: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.dt-panel:not([hidden]) { animation: mm-in 0.35s var(--ease) both; }
.dt-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.dt-steps li { border-bottom: 1px solid var(--line-2); }
.dt-step {
  position: relative; display: grid; width: 100%; padding: 14px 4px 14px 18px; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
}
.dt-step::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--copper); transform: scaleY(0); transition: transform 0.3s var(--ease); }
.dt-step[aria-pressed="true"]::before { transform: none; }
.dt-time { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.dt-title { margin-top: 2px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); transition: color 0.2s; }
.dt-step[aria-pressed="true"] .dt-time { color: var(--copper-deep); }
.dt-step[aria-pressed="true"] .dt-title { color: var(--ink); }
/* Only the chosen step shows its sentence; it opens with a short slide. */
.dt-text { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 15px; line-height: 1.5; color: var(--muted); transition: max-height 0.4s var(--ease), margin 0.4s var(--ease), opacity 0.3s; }
.dt-step[aria-pressed="true"] .dt-text { max-height: 9em; margin-top: 6px; opacity: 1; }
.dt-step:hover .dt-title { color: var(--ink); }
@media (min-width: 900px) {
  .dt-body { grid-template-columns: auto minmax(0, 480px); justify-content: center; align-items: center; gap: 72px; }
  .dt-phone { width: 300px; }
}
@media (prefers-reduced-motion: reduce) { .dt-shot, .dt-text, .dt-step::before, .dt-role-btn { transition: none; } .dt-panel:not([hidden]) { animation: none; } }
.day-note { max-width: 62ch; margin: 32px auto 0; text-align: center; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.day-note strong { color: var(--ink); font-weight: 600; }

/* Final CTA: WhatsApp for people who would rather type, and who built it. */
.cta-copy .cta-contact { font-size: 15px; }
.cta-copy .cta-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-copy .cta-founder { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.62); }

/* ── Devices: real screens in a laptop, a tablet and a phone ──────────────────────────────
   Static objects, drawn in CSS so they stay sharp at every size: a dark bezel, a warm
   aluminium base with a thumb notch, and a soft shadow on the "desk". Sizes are in % of the
   composition, so the arrangement holds from a phone to a wide screen. */
.laptop { position: relative; }
.laptop-lid {
  position: relative; padding: 1.7% 1.7% 2.4%;
  border-radius: clamp(10px, 1.6vw, 20px) clamp(10px, 1.6vw, 20px) 4px 4px;
  background: linear-gradient(180deg, #2a2019, #17110c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 2px 0 rgba(255, 255, 255, 0.04);
}
/* The camera. */
.laptop-lid::before {
  content: ""; position: absolute; top: 0.7%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: #3d3128; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.laptop-screen { overflow: hidden; border-radius: 3px; background: #f4f4f1; }
.laptop-screen img { display: block; width: 100%; height: auto; }
.laptop-base {
  position: relative; height: clamp(8px, 1.5vw, 18px); margin: 0 -6.5%;
  border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #f1ece6 0%, #ddd5cb 55%, #b9afa3 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 22px 40px -12px rgba(30, 13, 1, 0.28);
}
/* The thumb notch for opening the lid. */
.laptop-base::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 42%; transform: translateX(-50%);
  border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #cfc6bb, #e4ddd4);
}
.tablet {
  /* Padding in % is taken from the composition's width, not the tablet's: so the bezel is a
     share of --w, the tablet's own width, set where it is placed. */
  --w: 100%;
  margin: 0; padding: calc(var(--w) * 0.024); border-radius: clamp(12px, 2vw, 24px);
  background: linear-gradient(160deg, #2a2019, #17110c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 24px 50px -10px rgba(30, 13, 1, 0.32);
}
.tablet img { display: block; width: 100%; height: auto; border-radius: clamp(4px, 0.8vw, 10px); }
/* A phone set beside a bigger screen: thinner bezel, rounder in proportion. */
.phone-sm { --w: 100%; padding: calc(var(--w) * 0.04); border-radius: clamp(14px, 2.4vw, 30px); box-shadow: 0 24px 46px -10px rgba(30, 13, 1, 0.34); }
.phone-sm img { border-radius: clamp(10px, 2vw, 24px); }

/* Hero: the laptop in the middle, a tablet over its right corner, a phone over its left. */
.devices { position: relative; display: block; margin-top: 48px; padding: 0 0 13%; text-decoration: none; color: inherit; }
.devices .laptop { width: 84%; margin: 0 auto; }
.devices .tablet { --w: 42%; position: absolute; right: 0; bottom: 0; width: var(--w); }
.devices .phone { --w: 21%; position: absolute; left: 0; bottom: 0; width: var(--w); }
@media (min-width: 768px) {
  .devices { margin-top: 72px; padding-bottom: 7%; }
  .devices .laptop { width: 74%; }
  .devices .tablet { --w: 33%; right: 1%; }
  .devices .phone { --w: 15%; left: 3%; }
}

/* Features: each screen on a laptop, with a phone over its right corner where one helps. */
.feat-devices { position: relative; padding: 4px 0 0; }
.feat-devices .laptop { width: 92%; margin: 0 auto; }
.feat-devices.has-phone { padding-bottom: 9%; }
.feat-devices.has-phone .laptop { width: 86%; margin: 0 auto 0 2%; }
.feat-devices .phone { --w: 22%; position: absolute; right: 0; bottom: 0; width: var(--w); }

/* Also in Mezura OS: what has no tab of its own. Order follows the audience, without script. */
.section-head .built-for { margin-top: 10px; font-size: 14px; color: var(--copper-deep); font-weight: 500; }
.more { margin-top: 56px; }
.more-title { font-size: 22px; letter-spacing: -0.02em; text-align: center; }
.more-grid { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.more-card {
  position: relative; padding: 18px 18px 18px 20px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
}
/* A copper rule on the edge, like a tab in a file. */
.more-card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--copper); }
.more-card h4 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.more-card p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
html[data-aud="contractor"] .more-card { order: var(--o-c); }
html:not([data-aud="contractor"]) .more-card { order: var(--o-b); }

/* ── The walkthrough card: the booking itself ── */
.demo-card { position: relative; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.demo-alt { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }
/* The hero's way into the walkthrough video: quieter than the two buttons above it. */
.hero-watch { display: flex; width: max-content; align-items: center; gap: 10px; margin: 16px auto 0; padding: 4px 14px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 14px/1 var(--font); color: var(--ink); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.hero-watch:hover { border-color: var(--copper); box-shadow: 0 6px 18px rgba(190, 110, 54, 0.14); }
.hero-watch-play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--copper); }
.hero-watch-play svg { width: 14px; height: 14px; fill: #fff; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: var(--copper-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ── The walkthrough dialog ──
   Two halves on a computer: a dark stage that shows what is behind the form (a real screen, the
   three beats of the film), and the form beside it. On a phone the stage shrinks to the screen
   and its play button, above the form. The video step uses the full width. */
.vdialog { width: min(960px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 120px rgba(30, 13, 1, 0.35); overflow: auto; }
.vdialog[open] { animation: vd-in .35s var(--ease); }
@keyframes vd-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .vdialog[open] { animation: none; } }
.vdialog::backdrop { background: rgba(30, 13, 1, 0.55); backdrop-filter: blur(3px); }
.vd-step { padding: 26px 20px 22px; }
@media (min-width: 640px) { .vd-step { padding: 34px 34px 28px; } }
.vd-step:focus { outline: none; }
.vd-step h2 { margin-top: 12px; font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.03em; }
.vd-lede { margin: 8px 0 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.vd-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: background .15s, transform .15s; }
.vd-close svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.vd-close:hover { background: var(--soft); transform: rotate(90deg); }
.vd-close:focus { outline: none; }
.vd-close:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

.vd-split { display: grid; padding: 0; }
@media (min-width: 860px) { .vd-split { grid-template-columns: 360px minmax(0, 1fr); } }

/* The stage: the film's own dark brand ground, a faint grid, a copper glow behind the screen. */
.vd-stage {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 22px 20px 20px; overflow: hidden;
  color: rgba(236, 244, 239, 0.86);
  background:
    radial-gradient(120% 60% at 50% 34%, rgba(233, 161, 96, 0.22), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(160deg, #18352a, #0c1d15 78%);
}
@media (min-width: 860px) { .vd-stage { padding: 30px 26px 26px; gap: 22px; } }
.vd-eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--copper-hi); }
.vd-live { width: 7px; height: 7px; border-radius: 50%; background: var(--copper-hi); box-shadow: 0 0 0 0 rgba(233, 161, 96, .6); animation: vd-pulse 2s infinite; }
@keyframes vd-pulse { 70% { box-shadow: 0 0 0 8px rgba(233, 161, 96, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 161, 96, 0); } }
@media (prefers-reduced-motion: reduce) { .vd-live { animation: none; } }

.vd-teaser { position: relative; display: block; cursor: pointer; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); transform: rotate(-1.2deg); transition: transform .4s var(--ease); }
.vd-teaser:hover { transform: rotate(0deg) scale(1.015); }
.vd-teaser img { display: block; width: 100%; height: auto; }
.vd-teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 29, 21, 0.05), rgba(12, 29, 21, 0.45)); }
.vd-play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(161deg, var(--copper-hi) -10%, var(--copper) 60%, var(--copper-deep) 110%);
  box-shadow: inset 0 3px 3px rgba(255, 214, 160, 0.45), 0 0 0 8px rgba(233, 161, 96, 0.22), 0 14px 30px rgba(0, 0, 0, 0.4); transition: transform .3s var(--ease); }
.vd-teaser:hover .vd-play { transform: scale(1.08); }
.vd-play svg { width: 22px; height: 22px; margin-left: 3px; fill: #fff; }
.vd-dur { position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(12, 29, 21, 0.78); font: 600 12px/1 var(--font); color: #fff; font-variant-numeric: tabular-nums; }

.vd-beats { display: none; counter-reset: beat; }
@media (min-width: 860px) { .vd-beats { display: grid; gap: 14px; } }
.vd-beats li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.45; color: rgba(236, 244, 239, 0.7); }
.vd-beats li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 1px solid rgba(233, 161, 96, 0.35); background: rgba(233, 161, 96, 0.1); font: 600 11.5px/1 var(--font); color: var(--copper-hi); font-variant-numeric: tabular-nums; }
.vd-beats strong { display: block; margin-bottom: 1px; font-size: 14.5px; font-weight: 600; color: #f1f6f3; }
.vd-stage-foot { display: none; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12.5px; color: rgba(236, 244, 239, 0.55); }
@media (min-width: 860px) { .vd-stage-foot { display: block; } }

.vd-form-side { padding: 24px 20px 22px; }
@media (min-width: 640px) { .vd-form-side { padding: 34px 34px 28px; } }
@media (min-width: 860px) { .vd-form-side { padding: 38px 38px 30px; } }
.vd-form-side h2 { margin: 0; padding-right: 44px; font-size: clamp(23px, 2.6vw, 29px); letter-spacing: -0.03em; line-height: 1.15; }
.vd-form-side h2 em { font-style: normal; color: var(--copper-deep); background: linear-gradient(transparent 62%, var(--copper-tint) 62%); }
.vd-form-side .form { display: grid; gap: 14px; }
.vd-form-side .field-row { gap: 12px; }

.vd-optional { margin: 0; padding: 0; border: 0; min-width: 0; }
.vd-optional legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.vd-optional legend span { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 500; color: var(--muted); }
.vd-optional .field-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vd-optional select { font-size: 15px; padding-left: 12px; padding-right: 32px; background-position: right 10px center; }
.vd-optional select:invalid, .vd-optional select:has(option[value=""]:checked) { color: var(--muted); }

.vd-cta { gap: 10px; }
.vd-cta-ico { width: 18px; height: 18px; fill: #fff; flex: none; }
.vd-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.vd-assure li { display: inline-flex; align-items: center; gap: 5px; }
.vd-assure svg { width: 14px; height: 14px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The walkthrough is shot on the dark brand stage, so its frame is dark too: a white mat around it read as washed out. */
.vd-film { margin-top: 20px; border-color: #1d3a2d; background: linear-gradient(134deg, #16301f, #0c1d15); box-shadow: 0 30px 80px rgba(9, 23, 17, 0.35); }
.vd-sent { margin: 14px 0 16px; font-size: 14px; color: var(--muted); }
#video-form.loading .btn-label { opacity: 0.6; }

/* ── /walkthrough ── */
.walk-wrap h1 { margin-top: 14px; }
.walk-film { margin-top: 28px; }
.walk-next { display: grid; gap: 18px; margin-top: 32px; padding: 24px; border-radius: 20px; background: var(--bg-alt); border: 1px solid var(--line-2); }
@media (min-width: 860px) { .walk-next { grid-template-columns: 1fr auto; align-items: center; } }
.walk-next h2 { font-size: 22px; letter-spacing: -0.02em; }
.walk-next p { margin-top: 6px; color: var(--muted); }

/* ── Hero outcomes: four numbers under the buttons ── */
.outcomes { margin-top: 32px; width: 100%; max-width: 920px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 860px) { .outcomes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.outcomes li { display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line-2); box-shadow: var(--shadow-card); text-align: left; }
.outcomes strong { font-size: clamp(20px, 3.2vw, 26px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; color: var(--green-deep); }
.outcomes span { font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* ── Works with: the integrations strip under the hero ── */
.works-with { padding-bottom: 56px; }
.works-title { text-align: center; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.works-row { margin-top: 20px; display: grid; gap: 10px; }
@media (min-width: 640px) { .works-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .works-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.works-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line-2); }
.works-logo { flex: none; display: grid; place-items: center; width: 64px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); }
.works-logo img { max-width: 56px; max-height: 42px; }
.works-logo svg { width: 24px; height: 24px; }
.works-api { background: var(--copper); border-color: var(--copper); }
.works-copy { display: flex; flex-direction: column; min-width: 0; }
.works-copy strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.works-copy span { font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* ── Resources: tools, templates and comparison pages ── */
.res-grid { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 640px) { .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.res-card { display: block; padding: 22px; border-radius: var(--radius-card); border: 1px solid var(--line-2); background: linear-gradient(134deg, var(--soft), #fff); text-decoration: none; color: inherit !important; transition: border-color 0.2s, box-shadow 0.2s; }
.res-card:hover { border-color: var(--copper); box-shadow: 0 10px 28px rgba(190, 110, 54, 0.12); }
.res-kind { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--copper-deep); }
.res-card h2, .res-card h3 { margin-top: 8px; font-size: 19px; letter-spacing: -0.02em; }
.res-card p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.doc-section { margin-top: 40px; }
.doc-section h2 { font-size: 24px; letter-spacing: -0.02em; }
.doc-section h3 { margin-top: 20px; font-size: 17px; }
.doc-section p, .doc-section li { color: var(--ink-2); }
.doc-section p { margin-top: 10px; }
.doc-section ul.dots { margin-top: 10px; padding-left: 20px; list-style: disc; display: grid; gap: 6px; }
.doc-section ol.steps { margin-top: 10px; padding-left: 22px; list-style: decimal; display: grid; gap: 6px; }
.doc-section ol.steps li::marker, .doc-section ul.dots li::marker { color: var(--copper); }
.doc-cta { margin-top: 48px; padding: 24px; border-radius: var(--radius-card); background: var(--green-deep); color: #fff; }
.doc-cta h2 { color: #fff; font-size: 22px; letter-spacing: -0.02em; }
.doc-cta p { margin-top: 8px; color: rgba(255, 255, 255, 0.82); }
.doc-cta .cta-row { margin-top: 18px; justify-content: flex-start; }
.doc-page .doc-cta a.btn-on-dark { color: #fff; }
.doc-updated { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* ── Calculators ── */
.calc { margin-top: 32px; display: grid; gap: 18px; }
@media (min-width: 860px) { .calc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } }
.calc-form, .calc-result { padding: 22px; border-radius: var(--radius-card); border: 1px solid var(--line); background: #fff; min-width: 0; }
.calc-result { background: var(--bg-alt); }
@media (min-width: 860px) { .calc-result { position: sticky; top: 100px; } }
.calc-stack { grid-template-columns: minmax(0, 1fr) !important; }
.calc-stack .calc-result { position: static; }
.calc-form h2, .calc-result h2 { font-size: 18px; letter-spacing: -0.01em; }
.calc-grid { margin-top: 14px; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc-grid .wide { grid-column: 1 / -1; }
.calc label { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.calc input, .calc select { margin-top: 6px; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.calc input:focus, .calc select:focus { outline: 2px solid var(--copper); outline-offset: 1px; }
.calc-hint { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.calc-lines { margin-top: 14px; display: grid; gap: 8px; }
.calc-lines div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.calc-lines div span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-lines .minus span:last-child { color: var(--copper-deep); }
.calc-lines .total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--ink); }
.calc-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.calc-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.calc-table-wrap { margin-top: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.calc-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.calc-table th { text-align: left; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--muted); padding: 0 4px 6px; }
.calc-table td { padding: 3px 4px; vertical-align: middle; }
.calc-table input { margin-top: 0; min-width: 56px; min-height: 40px; padding: 8px; -moz-appearance: textfield; appearance: textfield; }
.calc-table input::-webkit-inner-spin-button, .calc-table input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.calc-table input[name="trade"] { min-width: 112px; }
.calc-table td.out { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.calc-del { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; line-height: 1; color: var(--muted); }
.calc-del:hover { border-color: var(--copper); color: var(--copper-deep); }

/* ── Comparison tables ── */
.cmp-wrap { margin-top: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-md); }
.cmp { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.cmp thead th { background: var(--bg-alt); font-size: 13.5px; }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.cmp td { color: var(--ink-2); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .us { background: rgba(39, 92, 74, 0.05); }

/* ── DPR template ── */
.dpr-sheet { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.dpr-sheet h2 { font-size: 20px; text-align: center; letter-spacing: -0.01em; }
.dpr-meta { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 14px; }
.dpr-meta div { border-bottom: 1px solid var(--line); padding: 6px 0; color: var(--muted); }
.dpr-block { margin-top: 18px; }
.dpr-block h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); }
.dpr-table-wrap { overflow-x: auto; }
.dpr-table { margin-top: 8px; width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13.5px; }
.dpr-table th, .dpr-table td { border: 1px solid var(--line); padding: 8px; text-align: left; height: 34px; }
.dpr-table th { background: var(--bg-alt); font-weight: 600; }
.dpr-sign { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; font-size: 13.5px; color: var(--muted); }
.dpr-sign div { border-top: 1px solid var(--ink-2); padding-top: 6px; }
@media print {
  .doc-header, .doc-footer, .no-print, .skip-link, .wa-float, .cookie-bar { display: none !important; }
  .doc-page { padding: 0; }
  .dpr-sheet { margin: 0; border: 0; padding: 0; }
  .dpr-table, .dpr-meta { min-width: 0; }
}

/* ── Header drop-downs: Features (four columns), Solutions, Resources ── */
.nav-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%;
  padding: 12px 8px; border: 0; border-bottom: 1px solid var(--line-2); background: none; cursor: pointer;
  font: 500 16px/1.4 var(--font); color: var(--ink-2); text-align: left;
}
.nav-chev { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.nav-trigger[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }
.mega { display: none; padding: 6px 0 12px; }
.nav-trigger[aria-expanded="true"] + .mega { display: block; }
.mm-col + .mm-col { margin-top: 10px; }
.mm-head { padding: 8px 8px 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.mega a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.3; }
.mega a:hover { background: var(--soft); color: var(--ink); }
.mm-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--copper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mm-list strong { display: block; font-weight: 600; color: var(--ink); }
.mm-list small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.mm-list a { align-items: flex-start; }
.mm-list strong + small { line-height: 1.35; }
.mm-all { margin-top: 6px; color: var(--copper-deep) !important; font-weight: 600 !important; }
/* Phone: each Features column is a collapsed row; nav.js turns the heading into its button. */
.mm-group { display: inline; padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; cursor: default; }
.mm-count, .mm-group .nav-chev { display: none; }
@media (max-width: 959px) {
  .mega-wide { padding: 0 0 12px; }
  .mega-wide .mm-col + .mm-col { margin-top: 0; }
  .mega-wide .mm-head { padding: 0; }
  .mm-group {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 8px 13px 12px; cursor: pointer;
    border-bottom: 1px solid var(--line-2); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-2); text-align: left;
  }
  .mm-group > span:first-child { flex: 1; }
  .mm-count { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: var(--radius-pill); background: var(--soft); font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
  .mm-group .nav-chev { display: block; }
  .mm-group[aria-expanded="true"] { color: var(--ink); }
  .mm-group[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }
  .mega-wide .mm-col ul { display: none; padding: 4px 0 8px 4px; }
  .mega-wide .mm-col .mm-group[aria-expanded="true"] { border-bottom-color: transparent; }
  .mega-wide .mm-col.open ul, .mega-wide .mm-col ul.is-closing { display: block; border-bottom: 1px solid var(--line-2); }
  .mega.is-closing { display: block; }
  .mega-wide .mm-all { display: block; margin-top: 8px; padding-left: 12px; }
  /* Rows drift in one after another as a panel or group opens. */
  .mega > *, .mega li { --d: 0s; }
  .mega > :nth-child(2), .mega li:nth-child(2) { --d: 0.03s; }
  .mega > :nth-child(3), .mega li:nth-child(3) { --d: 0.06s; }
  .mega > :nth-child(4), .mega li:nth-child(4) { --d: 0.09s; }
  .mega > :nth-child(5), .mega li:nth-child(5) { --d: 0.12s; }
  .mega li:nth-child(n+6) { --d: 0.15s; }
  .nav-trigger[aria-expanded="true"] + .mega-wide > *, .nav-trigger[aria-expanded="true"] + .mega .mm-list li, .mega-wide .mm-col.open li { animation: mm-in 0.32s var(--ease) var(--d) both; }
  .mm-group { transition: color 0.2s, background 0.2s; }
  .mm-group:active { background: var(--soft); }
}
@keyframes mm-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nav-trigger[aria-expanded="true"] + .mega-wide > *, .nav-trigger[aria-expanded="true"] + .mega .mm-list li, .mega-wide .mm-col.open li { animation: none; }
}
.nav-links .nav-signin { display: block; padding: 12px 8px; text-decoration: none; font-weight: 500; color: var(--ink-2); }

@media (min-width: 960px) {
  .nav { position: relative; }
  .nav-item { position: relative; }
  .nav-item-wide { position: static; }
  .nav-trigger { width: auto; padding: 8px 12px; border: 0; border-radius: var(--radius-pill); font-size: 15px; color: var(--muted); transition: color 0.15s, background 0.15s; }
  .nav-item:hover .nav-trigger, .nav-trigger[aria-expanded="true"] { color: var(--ink); background: var(--soft); }
  .nav-item:hover .nav-chev { transform: rotate(180deg); }
  /* The panel hangs from the bottom of the header; the transparent top padding bridges the gap,
     so moving the pointer down into it doesn't close it. */
  .mega {
    display: block; position: absolute; top: 100%; left: 50%; z-index: 60; min-width: 300px; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(30, 13, 1, 0.14);
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity 0.18s, transform 0.22s var(--ease), visibility 0.18s;
  }
  .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .nav-item:hover > .mega, .nav-trigger[aria-expanded="true"] + .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .mega-wide {
    left: 16px; right: 16px; transform: translateY(6px); top: calc(100% - 10px);
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 18px;
  }
  .nav-item:hover > .mega-wide, .nav-trigger[aria-expanded="true"] + .mega-wide { transform: none; }
  /* Beats the phone rule that shows an open panel as a block. */
  .nav-item > .mega.mega-wide { display: grid; }
  .mega-wide .mm-col { padding: 0 10px; }
  .mega-wide .mm-col + .mm-col { margin-top: 0; border-left: 1px solid var(--line-2); }
  .mega-wide .mm-all { grid-column: 1 / -1; justify-self: start; margin: 10px 10px 0; }
  .mm-list { min-width: 360px; }
  .nav-links .nav-signin { padding: 8px 12px; margin-left: 12px; color: var(--ink); font-size: 15px; }
}
@media (min-width: 1240px) { .mega-wide { left: 32px; right: 32px; } }
@media (prefers-reduced-motion: reduce) { .mega, .nav-chev { transition: none; } }

/* ── Feature pages ── */
.feat-hero-shot { margin-top: 32px; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); background: var(--soft); }
.feat-hero-shot img { width: 100%; height: auto; }
.feat-hero-phone { margin: 32px auto 0; max-width: 300px; border-radius: 32px; overflow: hidden; border: 8px solid var(--ink); box-shadow: 0 24px 60px rgba(30, 13, 1, 0.18); }
.feat-hero-phone img { width: 100%; height: auto; }
.feat-points { margin-top: 18px; display: grid; gap: 12px; }
@media (min-width: 640px) { .feat-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feat-point { padding: 18px; border-radius: var(--radius-md); border: 1px solid var(--line-2); background: linear-gradient(134deg, var(--soft), #fff); }
.feat-point h3 { margin-top: 0 !important; font-size: 16px; letter-spacing: -0.01em; }
.feat-point p { margin-top: 6px !important; font-size: 14.5px; color: var(--muted) !important; }
.feat-why { margin-top: 28px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--green-tint); color: var(--green-deep); font-size: 15.5px; }
.feat-related { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.feat-related a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2) !important; }
.feat-related a:hover { border-color: var(--copper); }
.feat-related .mm-ico { width: 16px; height: 16px; }
.feat-index { margin-top: 32px; display: grid; gap: 28px; }
@media (min-width: 720px) { .feat-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feat-index h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.feat-index ul { margin-top: 10px; display: grid; gap: 6px; }
.feat-index a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); text-decoration: none; color: inherit !important; background: #fff; }
.feat-index a:hover { border-color: var(--copper); }
.feat-index strong { display: block; color: var(--ink); }
.feat-index small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.feat-index .mm-ico { margin-top: 2px; }

/* ── Product tour: the DPR screen redrawn in HTML, with numbered spots (index.html #tour,
   main.js "Product tour"). The mock takes the CRM's own colours (frontend tailwind.config.js):
   warm canvas, white cards, warm greys, forest green. Copper marks the spots. ── */
.tour { max-width: 1160px; margin: 0 auto; }
@media (min-width: 960px) { .tour { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: center; } }

.tr-screen { padding: 10px; border-radius: var(--radius-card); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
.tr-app { display: flex; border-radius: 16px; background: #f4f4f1; font-size: 12.5px; line-height: 1.45; color: #2b2b27; }
.tr-rail { display: none; }
@media (min-width: 720px) {
  .tr-rail { display: flex; flex: none; flex-direction: column; align-items: center; gap: 14px; width: 52px; padding: 16px 0; border-right: 1px solid #e4e4df; }
  .tr-rail svg { width: 24px; height: 24px; margin-bottom: 6px; }
  .tr-rail span { width: 18px; height: 18px; border-radius: 6px; background: #e4e4df; }
  .tr-rail span.on { background: var(--green); }
}
.tr-main { flex: 1; min-width: 0; display: grid; gap: 10px; padding: 14px; }
@media (min-width: 720px) { .tr-main { gap: 12px; padding: 18px 20px; } }
.tr-crumb { font-size: 11.5px; color: #75756e; }
.tr-crumb b { font-weight: 600; color: #2b2b27; }
.tr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tr-title { font-size: 15px; letter-spacing: -0.01em; }
.tr-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; border: 1px solid #e4e4df; background: #fff; font-size: 11.5px; font-weight: 600; color: #43433e; white-space: nowrap; }
.tr-chip svg { width: 12px; height: 12px; flex: none; }
.tr-warn { background: #fdf4e3; border-color: #f1dcae; color: #8a5a12; }
.tr-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tr-gap { flex: 1; }
.tr-btns { display: inline-flex; gap: 6px; border-radius: 999px; }
.tr-btn { padding: 5px 11px; border-radius: 999px; border: 1px solid #e4e4df; background: #fff; font-size: 11.5px; font-weight: 600; color: #43433e; }
.tr-btn-pri { background: var(--green); border-color: var(--green); color: #fff; }
.tr-card { padding: 12px; border-radius: 14px; border: 1px solid #e4e4df; background: #fff; }
.tr-k { font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #75756e; }
.tr-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-radius: 14px; }
.tr-stat strong { display: block; margin-top: 2px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tr-minis { display: grid; gap: 8px; }
@media (min-width: 720px) { .tr-minis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tr-mini ul { display: grid; gap: 4px; margin-top: 6px; }
.tr-mini li { display: flex; justify-content: space-between; gap: 8px; }
.tr-mini li span:last-child, .tr-table td:nth-child(2) { color: #75756e; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tr-sum p:not(.tr-k) { margin-top: 4px; color: #43433e; }
.tr-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.tr-ph { aspect-ratio: 4 / 3; border-radius: 8px; }
.tr-ph-1 { background: linear-gradient(165deg, #d3d0c7 0%, #a9a59a 55%, #858176 100%); }
.tr-ph-2 { background: repeating-linear-gradient(90deg, #8a5a3c 0 3px, transparent 3px 12px), linear-gradient(160deg, #cfc9bd, #a39d90); }
.tr-ph-3 { background: linear-gradient(180deg, #c8dbe6 0 38%, #b9b4a8 38% 100%); }
.tr-ph-more { display: grid; place-items: center; background: #f1f1ee; font-weight: 600; color: #5a5a54; }
.tr-table { width: 100%; margin-top: 6px; border-collapse: collapse; }
.tr-table th { padding: 0 0 4px; text-align: left; font-size: 11px; font-weight: 500; color: #75756e; }
.tr-table td { padding: 5px 0; border-top: 1px solid #f1f1ee; }
.tr-table th + th, .tr-table td + td { padding-left: 12px; }
.tr-rem { color: #75756e; }
@media (max-width: 559px) { .tr-rem { display: none; } }

/* A spot: the part of the screen it explains gets a copper ring while its note is open. */
.tr-area { position: relative; transition: box-shadow 0.25s var(--ease); }
.tr-area.on { box-shadow: 0 0 0 2px var(--copper), 0 0 0 6px var(--copper-tint); }
.tour-dot {
  position: absolute; top: -9px; right: -9px; z-index: 2;
  display: grid; place-items: center; width: 22px; height: 22px; padding: 0;
  border: 2px solid #fff; border-radius: 50%; background: var(--copper); color: #fff;
  font: 700 11px/1 var(--font); cursor: pointer;
  box-shadow: 0 2px 6px rgba(30, 13, 1, 0.2);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.tour-dot::after { content: ""; position: absolute; inset: -11px; } /* a 44px target for a finger */
.tour-dot:hover { transform: scale(1.12); }
.tour-dot[aria-pressed="true"] { background: var(--ink); transform: scale(1.12); animation: tour-pulse 2s var(--ease) infinite; }
@keyframes tour-pulse {
  from { box-shadow: 0 2px 6px rgba(30, 13, 1, 0.2), 0 0 0 0 rgba(190, 110, 54, 0.5); }
  to { box-shadow: 0 2px 6px rgba(30, 13, 1, 0.2), 0 0 0 10px rgba(190, 110, 54, 0); }
}
@media (prefers-reduced-motion: reduce) { .tr-area, .tour-dot { transition: none; } .tour-dot[aria-pressed="true"] { animation: none; } }

/* The notes: all of them beside the screen on a wide screen, one open at a time. */
.tour-side { margin-top: 20px; }
@media (min-width: 960px) { .tour-side { margin-top: 0; } }
.tour-list { display: grid; gap: 2px; }
.tour-item { border-radius: 14px; transition: background 0.2s, box-shadow 0.2s; }
.tour-item.on { background: #fff; box-shadow: 0 0 0 1px var(--line-2), var(--shadow-card); }
.tour-item-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px;
  border: 0; border-radius: 14px; background: none; cursor: pointer; text-align: left;
  font: 600 15px/1.3 var(--font); color: var(--ink-2);
}
.tour-item:not(.on) .tour-item-btn:hover { background: var(--soft); }
.tour-item.on .tour-item-btn { color: var(--ink); }
.tour-num { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--copper-tint); color: var(--copper-deep); font-size: 11px; font-weight: 700; }
.tour-item.on .tour-num { background: var(--copper); color: #fff; }
.tour-item-b { padding: 0 12px 12px 42px; font-size: 14.5px; color: var(--muted); }
.js .tour-item:not(.on) .tour-item-b { display: none; }

/* On a phone the list is hidden and the open note sits under its part of the screen. */
.tour-pop { padding: 12px 14px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.5; }
.tour-pop-k { display: flex; align-items: center; gap: 8px; }
.tour-pop .tour-num { background: var(--copper); color: #fff; }
.tour-pop-b { margin-top: 4px; color: rgba(255, 255, 255, 0.82); }
.tour-pop-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.tour-pop-nav button { min-height: 36px; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); background: none; color: #fff; font: 600 13px/1 var(--font); cursor: pointer; }
.tour-pop-count { font-size: 12.5px; color: rgba(255, 255, 255, 0.65); }
@media (max-width: 959px) { .js .tour-side { display: none; } }
@media (min-width: 960px) { .tour-pop { display: none !important; } }
.tour-hint-touch { display: none; }
@media (hover: none) { .tour-hint-fine { display: none; } .tour-hint-touch { display: inline; } }
@media (max-width: 559px) { .tr-stat { padding: 10px; } .tr-stat .tr-k { font-size: 9.5px; letter-spacing: 0.02em; } }

/* ── How we work: three onboarding steps in one card, a static seal in its corner ── */
.hww { position: relative; max-width: 1080px; margin: 0 auto; padding: 28px 20px 20px; border-radius: var(--radius-card); background: linear-gradient(134deg, var(--soft), #fff); border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
@media (min-width: 768px) { .hww { padding: 40px 36px 28px; } }
.hww-seal { position: absolute; top: 14px; right: 14px; width: 76px; height: 76px; transform: rotate(10deg); filter: drop-shadow(0 4px 8px rgba(30, 13, 1, 0.2)); }
@media (min-width: 768px) { .hww-seal { top: 18px; right: 18px; width: 96px; height: 96px; } }
.hww-seal-ring { font: 700 8.6px var(--font); fill: #fff; letter-spacing: 0.06em; }
.hww-seal-big { font: 700 24px var(--font); fill: #fff; letter-spacing: -0.03em; text-anchor: middle; }
.hww-seal-small { font: 700 8px var(--font); fill: #fff; letter-spacing: 0.16em; text-anchor: middle; }
.hww-steps { display: grid; gap: 28px; }
@media (min-width: 860px) { .hww-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; } }
.hww-step { position: relative; }
/* A dashed line joins the steps on a wide screen. */
@media (min-width: 860px) {
  .hww-step:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 60px; right: -28px; border-top: 1.5px dashed rgba(39, 92, 74, 0.3); }
}
.hww-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--green-tint); }
.hww-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hww-n { margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--copper-deep); }
.hww-step h3 { margin-top: 4px; font-size: 20px; letter-spacing: -0.02em; }
.hww-step p:not(.hww-n) { margin-top: 8px; font-size: 15px; color: var(--muted); }
.hww-step:first-child h3 { padding-right: 84px; } /* clear the seal on a phone */
@media (min-width: 860px) { .hww-step:first-child h3 { padding-right: 0; } .hww-steps { padding-right: 96px; } }
.hww-after { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.hww-after svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--copper); stroke-width: 1.6; stroke-linejoin: round; }
.hww-cta { margin: 28px auto 0; }

/* The headline's second clause, in the softer shade. */
.hero-title .soft { color: #8c7f75; }

/* Final band: WhatsApp beside the trial button; the demo moves to the line below. */
.btn-wa img { width: 20px; height: 20px; flex: none; }
.btn-wa-out { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0.8; }
.cta-copy .cta-contact .link-btn { color: #fff; font-weight: 500; }

/* /pricing opens on the pricing section, so its title is the page's h1; /features stacks two days. */
.section-head h1 { margin-top: 16px; font-size: clamp(32px, 6.5vw, 54px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 600; }
/* The swipe hint is for phones, where the day scrolls sideways. */
