/* ==========================================================================
   Qlick Lead — compiled stylesheet
   Hand-authored replacement for the Tailwind v4 build, so the site needs
   no Node/npm step and can be uploaded straight to shared hosting.
   Design tokens are copied 1:1 from the original src/styles.css.
   ========================================================================== */

:root {
  --radius: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;

  --background: oklch(0.955 0.008 86);
  --foreground: oklch(0.27 0.018 259);
  --card: oklch(1 0 0);
  --primary: oklch(0.76 0.12 187);
  --primary-foreground: oklch(0.27 0.018 259);
  --secondary: oklch(0.925 0.014 85);
  --muted-foreground: oklch(0.46 0.02 257);
  --accent: oklch(0.82 0.105 184);
  --border: oklch(0.82 0.015 83);
  --ring: oklch(0.63 0.11 205);
  --brand-blue: oklch(0.58 0.16 260);
  --mint: oklch(0.85 0.09 160);

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --shell: min(100% - 2rem, 72rem);
  --header-h: 4.5rem;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; background: none; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
button, a, summary, input, textarea, select { outline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ring); }
[hidden] { display: none !important; }

/* --- helpers -------------------------------------------------------------- */
.section-shell { width: var(--shell); margin-inline: auto; }
.clay {
  box-shadow: 0 2px 0 color-mix(in oklab, var(--foreground) 4%, transparent),
              0 18px 40px -18px color-mix(in oklab, var(--foreground) 28%, transparent);
}
.clay-sm {
  box-shadow: 0 1px 0 color-mix(in oklab, var(--foreground) 5%, transparent),
              0 10px 24px -16px color-mix(in oklab, var(--foreground) 28%, transparent);
}
.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;
}
.icon { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 1.75rem; height: 1.75rem; }

.kicker {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-blue);
}
.kicker--accent { color: var(--accent); }
.section-title {
  margin-top: 0.75rem; font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.25rem); font-weight: 600; line-height: 1.15;
}
.section-lead { margin-top: 0.75rem; max-width: 42rem; color: var(--muted-foreground); }
.section { padding-block: 5rem; }
.section--tight { padding-block: 4rem; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.25rem; padding-inline: 1rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500; white-space: nowrap;
  background-color: var(--primary); color: var(--primary-foreground);
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background-color: var(--accent); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn--round { border-radius: 9999px; }
.btn--lg { height: 3rem; padding-inline: 1.5rem; }
.btn--block { width: 100%; font-weight: 600; }
.btn--dark { background-color: var(--foreground); color: var(--background); padding-inline: 1.25rem; }
.btn--dark:hover { background-color: var(--brand-blue); }
.btn--soft { background-color: var(--card); color: var(--foreground); }
.btn--soft:hover { background-color: var(--secondary); }
.btn--outline { background-color: transparent; border: 1px solid var(--border); color: var(--foreground); }
.btn--outline:hover { background-color: var(--secondary); }
.btn--ghost { background-color: transparent; color: var(--foreground); }
.btn--ghost:hover { background-color: var(--secondary); }
.btn--icon { width: 2.25rem; height: 2.25rem; padding: 0; }
.btn--on-dark {
  background-color: transparent; color: var(--background);
  border: 1px solid color-mix(in oklab, var(--background) 20%, transparent);
}
.btn--on-dark:hover { background-color: color-mix(in oklab, var(--background) 10%, transparent); color: var(--background); }

/* --- header --------------------------------------------------------------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  background-color: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(4px);
  transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  background-color: color-mix(in oklab, var(--background) 95%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px color-mix(in oklab, var(--foreground) 8%, transparent);
}
.nav {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 0.75rem; height: var(--header-h);
}
.nav__logo { width: fit-content; }
.nav__logo img { height: 2.25rem; width: auto; }
.nav__links { display: none; align-items: center; gap: 1.75rem; }
.nav__link {
  font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground);
  transition: color .18s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--foreground); }
.nav__toggle { display: inline-flex; }
.mobile-menu { border-top: 1px solid var(--border); background-color: var(--background); padding: 1rem; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu .btn--ghost { justify-content: flex-start; }
.mobile-menu .btn--round { margin-top: 0.5rem; }

/* --- hero ----------------------------------------------------------------- */
.hero { padding-top: var(--header-h); }
.hero__grid {
  display: grid; gap: 2.5rem; align-items: center;
  min-height: calc(100svh - var(--header-h)); padding-block: 3.5rem;
}
.pill-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; background-color: var(--card);
  padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 500;
  color: var(--muted-foreground);
}
.dot-2 { width: 0.5rem; height: 0.5rem; border-radius: 9999px; flex: none; }
.dot-15 { width: 0.375rem; height: 0.375rem; border-radius: 9999px; flex: none; background-color: var(--primary); }
.bg-primary { background-color: var(--primary); }
.bg-blue { background-color: var(--brand-blue); }
.bg-mint { background-color: var(--mint); }
.hero__title {
  margin-top: 1.5rem; max-width: 19ch; font-family: var(--font-serif);
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 3.75rem); font-weight: 600; line-height: 1.02;
}
.hero__lead { margin-top: 1.25rem; max-width: 48ch; line-height: 1.75; color: var(--muted-foreground); }
.hero__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.hero__meta {
  margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  font-size: 0.75rem; font-weight: 500; color: var(--muted-foreground);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }

.preview { border-radius: var(--radius-2xl); background-color: var(--card); padding: 0.75rem; }
.preview__bar {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 0.75rem; padding: 0.75rem;
}
.preview__dots { display: flex; gap: 0.375rem; }
.preview__dots span { width: 0.625rem; height: 0.625rem; border-radius: 9999px; background-color: var(--secondary); }
.preview__dots span:last-child { background-color: color-mix(in oklab, var(--primary) 60%, transparent); }
.preview__tag {
  border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600;
  background-color: color-mix(in oklab, var(--primary) 15%, transparent);
}
.preview__table {
  overflow: hidden; border-radius: var(--radius-xl);
  background-color: color-mix(in oklab, var(--secondary) 60%, transparent);
}
.preview__head, .preview__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.preview__head {
  border-bottom: 1px solid var(--border); padding: 0.75rem 1rem;
  font-size: 0.625rem; font-weight: 600; text-transform: uppercase; color: var(--muted-foreground);
}
.preview__row { align-items: center; padding: 1rem; font-size: 0.75rem; }
.preview__row:nth-child(odd) { background-color: color-mix(in oklab, var(--card) 50%, transparent); }
.preview__head > *, .preview__row > * { grid-column: span 3 / span 3; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview__row span:not(.chip) { color: var(--muted-foreground); }
.preview__row .end { text-align: right; overflow: visible; }
.preview__head .end { text-align: right; }
.chip {
  display: inline-block; border-radius: 9999px; padding: 0.25rem 0.5rem;
  font-size: 0.625rem; font-weight: 600; color: var(--foreground);
  background-color: color-mix(in oklab, var(--mint) 45%, transparent);
}

/* --- assurance strip ------------------------------------------------------ */
.assurance-strip {
  border-block: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--secondary) 55%, transparent);
}
.assurance-strip__grid { display: grid; gap: 1rem; padding-block: 1.25rem; }
.assurance {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; color: var(--muted-foreground);
}
.assurance .icon { color: var(--primary); }

/* --- services accordion --------------------------------------------------- */
.services-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  align-items: start;
}
.service { border-radius: var(--radius-2xl); background-color: var(--card); padding: 1.25rem; }
.service__head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 0.75rem; width: 100%; text-align: left;
}
.service__icon {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none;
  border-radius: var(--radius-xl); background-color: color-mix(in oklab, var(--primary) 15%, transparent);
}
.service__num { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted-foreground); }
.service__title { display: block; font-weight: 600; }
.service__chevron { transition: transform .2s ease; }
.service__head[aria-expanded="true"] .service__chevron { transform: rotate(180deg); }
.service__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
  overflow: hidden;
}

.service__body > div {
  min-height: 0;
  overflow: hidden;
}

.service.is-open .service__body {
  grid-template-rows: 1fr;
}
.service__text {
  margin-left: 3.25rem; margin-top: 1rem; border-top: 1px solid var(--border);
  padding-top: 1rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground);
}

/* --- offer grid ----------------------------------------------------------- */
.panel-card { background-color: var(--card); }
.offer-grid {
  margin-top: 2.5rem; display: grid; gap: 1px; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-2xl);
  background-color: var(--border);
}
.offer { background-color: var(--background); padding: 1.5rem; }
.offer__num { font-family: var(--font-serif); font-size: 1.5rem; color: var(--primary); }
.offer h3 { margin-top: 1.25rem; font-weight: 600; }
.offer p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

/* --- about ---------------------------------------------------------------- */
.about-grid { display: grid; gap: 3rem; }
.about__lead { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.8; color: var(--muted-foreground); }
.about__text { margin-top: 1rem; line-height: 1.75; color: var(--muted-foreground); }
.checklist-card {
  border-radius: var(--radius-2xl); background-color: var(--foreground);
  color: var(--background); padding: 1.75rem;
}
.checklist { margin-top: 1.5rem; display: grid; gap: 1rem; }
.check-row {
  display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem;
  border-bottom: 1px solid color-mix(in oklab, var(--background) 10%, transparent);
  padding-bottom: 1rem;
}
.check-row .icon { color: var(--accent); }
.mv-grid { margin-top: 3.5rem; display: grid; gap: 1.25rem; }
.mv-card { border-radius: var(--radius-2xl); padding: 2rem; background-color: var(--secondary); }
.mv-card--mint { background-color: color-mix(in oklab, var(--primary) 15%, transparent); }
.mv-card .icon { color: var(--brand-blue); }
.mv-card h3 { margin-top: 1.5rem; font-family: var(--font-serif); font-size: 1.875rem; font-weight: 600; }
.mv-card p { margin-top: 0.75rem; line-height: 1.75; color: var(--muted-foreground); }

/* --- why us --------------------------------------------------------------- */
.tinted { background-color: color-mix(in oklab, var(--secondary) 55%, transparent); }
.feature-grid { margin-top: 2.5rem; display: grid; gap: 1rem; }
.feature {
  border-radius: var(--radius-2xl); border: 1px solid var(--border);
  background-color: var(--card); padding: 1.5rem; transition: transform .2s ease;
}
.feature:hover { transform: translateY(-0.25rem); }
.feature .icon { color: var(--brand-blue); }
.feature h3 { margin-top: 1.25rem; font-weight: 600; }
.feature p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

/* --- founder -------------------------------------------------------------- */
.founder-grid { display: grid; gap: 3rem; align-items: center; }
.founder__img { aspect-ratio: 4 / 5; width: 100%; border-radius: var(--radius-2xl); object-fit: cover; }
.founder__quote { margin-top: 1.25rem; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.375; }
.founder__text { margin-top: 1.25rem; max-width: 48rem; line-height: 1.75; color: var(--muted-foreground); }
.pill-row { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  border-radius: 9999px; background-color: var(--secondary);
  padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 600;
}

/* --- testimonials --------------------------------------------------------- */
.tst__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem; }
.tst__controls { display: flex; gap: 0.5rem; }
.tst__stage { margin-top: 2.5rem; }
.tst__figure {
  min-height: 15rem; border-radius: var(--radius-2xl);
  background-color: var(--background); padding: 2rem;
}
.tst__quote { max-width: 56rem; font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1rem + 1.4vw, 1.875rem); line-height: 1.5; }
.tst__figure figcaption { margin-top: 2rem; }
.tst__figure figcaption span { margin-left: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.tst__dots { margin-top: 1.25rem; display: flex; justify-content: center; gap: 0.5rem; }
.tst__dot {
  height: 0.5rem; width: 0.5rem; border-radius: 9999px;
  background-color: var(--border); transition: width .2s ease, background-color .2s ease;
}
.tst__dot.is-active { width: 1.75rem; background-color: var(--brand-blue); }

/* --- dark sections -------------------------------------------------------- */
.dark-section { background-color: var(--foreground); color: var(--background); }
.dark-section .section-title { color: var(--background); }
.dark-section__lead { margin-top: 0.75rem; color: color-mix(in oklab, var(--background) 65%, transparent); }
.process-grid { margin-top: 3rem; display: grid; gap: 1rem; }
.process {
  position: relative; border-radius: var(--radius-2xl);
  border: 1px solid color-mix(in oklab, var(--background) 10%, transparent);
  background-color: color-mix(in oklab, var(--background) 5%, transparent);
  padding: 1.5rem;
}
.process__num { font-family: var(--font-serif); font-size: 1.875rem; color: var(--accent); }
.process h3 { margin-top: 1.5rem; font-weight: 600; }
.process p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6;
  color: color-mix(in oklab, var(--background) 65%, transparent); }
.process__arrow { display: none; position: absolute; right: -0.75rem; top: 50%; color: var(--accent); }

/* --- process ------------------------------------------------------------- */
/* 
.process-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.process {
  position: relative;
  min-height: 220px;
  padding: 2rem 1.5rem 1.5rem;

  border-radius: var(--radius-2xl);
  border: 1px solid color-mix(in oklab, var(--background) 10%, transparent);
  background-color: color-mix(in oklab, var(--background) 5%, transparent);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.process:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent) 35%, transparent);
  background-color: color-mix(in oklab, var(--background) 8%, transparent);
}

.process__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1;
  color: var(--accent);
}

.process h3 {
  margin-top: 2rem;
  font-weight: 600;
}

.process p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--background) 65%, transparent);
}
  */

/* Arrow between cards */
/* .process__arrow {
  display: grid;
  place-items: center;

  position: absolute;
  z-index: 2;
  right: -1.25rem;
  top: 50%;

  width: 2.5rem;
  height: 2.5rem;

  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  border-radius: 50%;

  background-color: var(--dark-section);
  color: var(--accent);

  transform: translateY(-50%);
} */

/* @media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process {
    min-height: auto;
  }

  .process__arrow {
    right: 50%;
    top: auto;
    bottom: -1.25rem;

    transform: translateX(50%) rotate(90deg);
  }

  .process:last-child .process__arrow {
    display: none;
  }
} */

/* --- forms ---------------------------------------------------------------- */
.split-grid { display: grid; gap: 3rem; }
.note-box { margin-top: 2rem; border-radius: var(--radius-2xl);
  background-color: color-mix(in oklab, var(--background) 5%, transparent); padding: 1.5rem; }
.note-box p:first-child { font-size: 0.875rem; font-weight: 600; }
.note-box p + p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6;
  color: color-mix(in oklab, var(--background) 60%, transparent); }
.lead-form { margin-top: 1.75rem; display: grid; gap: 1rem; }
.lead-form__grid { display: grid; gap: 1rem; }
.field { display: block; font-size: 0.75rem; font-weight: 500; }
.field input, .field textarea {
  margin-top: 0.375rem; width: 100%; border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--foreground) 5%, transparent);
  padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--background);
}
.field textarea { resize: none; }
.field input::placeholder, .field textarea::placeholder {
  color: color-mix(in oklab, var(--background) 40%, transparent);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--accent); }
.field-error { margin-top: 0.25rem; display: block; font-size: 0.75rem; color: var(--accent); }
.form-status {
  border-radius: var(--radius); padding: 0.75rem; font-size: 0.875rem;
  background-color: color-mix(in oklab, var(--background) 10%, transparent); color: var(--background);
}
.form-error { font-size: 0.875rem; color: var(--accent); }
.form-note { font-size: 0.75rem; line-height: 1.6;
  color: color-mix(in oklab, var(--background) 50%, transparent); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  display: flex; flex-direction: column; gap: 2rem;
  border-radius: var(--radius-2xl);
  background-color: color-mix(in oklab, var(--primary) 15%, transparent);
  padding: 2rem;
}
.cta-band h2 { max-width: 36rem; font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.25rem); font-weight: 600; }
.cta-band p { margin-top: 0.75rem; max-width: 36rem; color: var(--muted-foreground); }
.cta-band__actions { display: flex; flex-direction: column; gap: 0.75rem; flex: none; }

/* --- contact details ------------------------------------------------------ */
.contact-lines { margin-top: 2rem; display: grid; gap: 0.75rem; }
.contact-line { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.contact-line__icon {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background-color: color-mix(in oklab, var(--background) 10%, transparent);
}
.contact-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --- footer --------------------------------------------------------------- */
.site-footer { background-color: color-mix(in oklab, var(--secondary) 60%, transparent); }
.footer-grid { display: grid; gap: 2.5rem; padding-top: 3rem; }
.site-footer img { height: 2.25rem; width: auto; }
.footer__about { margin-top: 1rem; max-width: 24rem; font-size: 0.875rem;
  line-height: 1.6; color: var(--muted-foreground); }
.footer__label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--muted-foreground); }
.footer__list { margin-top: 1rem; display: grid; gap: 0.5rem; font-size: 0.875rem; }
.footer__list button, .footer__list a { width: fit-content; text-align: left; }
.footer__list button:hover, .footer__list a:hover { color: var(--brand-blue); }
.footer-bottom { margin-top: 2.5rem; border-top: 1px solid var(--border);
  padding-block: 1.5rem 3rem; font-size: 0.75rem; color: var(--muted-foreground); }

/* --- modal ---------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 0.75rem;
  background-color: color-mix(in oklab, var(--foreground) 70%, transparent);
  backdrop-filter: blur(4px);
}
.modal__panel {
  max-height: 92vh; width: 100%; max-width: 48rem; overflow-y: auto;
  border-radius: var(--radius-2xl); background-color: var(--background); padding: 1.5rem;
  box-shadow: 0 25px 50px -12px color-mix(in oklab, var(--foreground) 45%, transparent);
}
.modal__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 1rem; }
.modal__head .kicker { color: var(--primary); }
.modal__title { margin-top: 0.5rem; font-family: var(--font-serif); font-size: 1.875rem; font-weight: 600; }
.legal-body { margin-top: 1.75rem; display: grid; gap: 1.25rem;
  font-size: 0.875rem; line-height: 1.75; color: var(--muted-foreground); }
.legal-body h3 { font-weight: 600; color: var(--foreground); }
.legal-body a { font-weight: 600; color: var(--foreground); text-decoration: underline; }

/* --- back to top ---------------------------------------------------------- */
.to-top {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 40;
  opacity: 0; visibility: hidden; transform: translateY(0.5rem);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* --- breakpoints ---------------------------------------------------------- */
@media (min-width: 640px) {
  .hero__actions, .cta-band__actions { flex-direction: row; }
  .assurance-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview__row { font-size: 0.875rem; }
  .modal__panel { padding: 2.5rem; }
  .tst__figure { padding: 3rem; }
  .cta-band { padding: 3rem; }
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__toggle, .mobile-menu { display: none; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; }
  .split-grid { gap: 3rem; }
}
@media (min-width: 1024px) {
  .hero__grid, .about-grid, .founder-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .col-4 { grid-column: span 4 / span 4; }
  .col-5 { grid-column: span 5 / span 5; }
  .col-7 { grid-column: span 7 / span 7; }
  .col-8 { grid-column: span 8 / span 8; }
  .assurance-strip__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .offer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process__arrow { display: block; }
  .split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   Success popup (post-submit) + small-modal variant
   ========================================================================== */
.modal--success .modal__panel { position: relative; text-align: center; }
.modal__panel--sm { max-width: 26rem; }
.modal__close-x { position: absolute; top: 0.75rem; right: 0.75rem; }
.success-icon {
  margin: 0 auto; display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background-color: color-mix(in oklab, var(--primary) 22%, transparent);
  color: var(--foreground);
}
.success-body { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.6; color: var(--muted-foreground); }
.modal--success .btn { margin-top: 1.75rem; }

/* ==========================================================================
   Admin: login page + leads dashboard
   ========================================================================== */
.admin-body { background-color: var(--background); color: var(--foreground); min-height: 100svh; }

.auth-shell { min-height: 100svh; display: grid; place-items: center; padding: 1.5rem; }
.auth-card { width: 100%; max-width: 24rem; background-color: var(--card); border-radius: var(--radius-2xl); padding: 2rem; }
.auth-logo { height: 2rem; width: auto; }
.auth-title { margin-top: 0.5rem; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
.auth-form { margin-top: 1.5rem; display: grid; gap: 1rem; }
.field--light input {
  margin-top: 0.375rem; width: 100%; border-radius: var(--radius-xl);
  border: 1px solid var(--border); background-color: var(--background);
  padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--foreground);
}
.field--light input:focus { border-color: var(--ring); outline: none; }
.auth-remember { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--muted-foreground); }
.auth-remember input { width: auto; }
.auth-back { display: block; margin-top: 1.5rem; text-align: center; font-size: 0.8125rem; color: var(--muted-foreground); }
.auth-back:hover { color: var(--brand-blue); }

.admin-header { border-bottom: 1px solid var(--border); background-color: var(--card); }
.admin-header__row { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.admin-header__right { display: flex; align-items: center; gap: 1rem; }
.admin-header__user { font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground); }
.admin-main { padding-block: 2.5rem 4rem; }

.admin-toolbar {
  margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.pill-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-filter {
  display: inline-flex; align-items: center; gap: 0.375rem; border-radius: 9999px;
  padding: 0.5rem 0.875rem; font-size: 0.8125rem; font-weight: 600;
  background-color: var(--card); border: 1px solid var(--border); color: var(--muted-foreground);
}
.pill-filter span { font-size: 0.6875rem; padding: 0.0625rem 0.375rem; border-radius: 9999px; background-color: var(--secondary); }
.pill-filter.is-active { background-color: var(--foreground); color: var(--background); border-color: var(--foreground); }
.pill-filter.is-active span { background-color: color-mix(in oklab, var(--background) 15%, transparent); color: var(--background); }

.admin-search { display: flex; gap: 0.5rem; }
.admin-search input {
  border-radius: var(--radius-xl); border: 1px solid var(--border);
  background-color: var(--card); padding: 0.625rem 1rem; font-size: 0.875rem; min-width: 16rem;
}
.admin-search input:focus { border-color: var(--ring); outline: none; }

.admin-empty {
  margin-top: 2.5rem; display: grid; place-items: center; gap: 0.75rem;
  border-radius: var(--radius-2xl); background-color: var(--card); padding: 3.5rem 2rem;
  color: var(--muted-foreground); text-align: center;
}

.admin-table-wrap { margin-top: 2rem; border-radius: var(--radius-2xl); background-color: var(--card); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.admin-table th {
  text-align: left; padding: 0.875rem 1rem; font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted-foreground);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.admin-table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background-color: color-mix(in oklab, var(--secondary) 40%, transparent); }
.admin-truncate { max-width: 18rem; }
.admin-muted { color: var(--muted-foreground); font-size: 0.75rem; }

.type-badge {
  display: inline-block; border-radius: 9999px; padding: 0.1875rem 0.625rem;
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
}
.type-badge--sample { background-color: color-mix(in oklab, var(--mint) 55%, transparent); color: var(--foreground); }
.type-badge--contact { background-color: color-mix(in oklab, var(--brand-blue) 18%, transparent); color: var(--brand-blue); }

.dot-status { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 9999px; }
.dot-status--ok { background-color: #3fa66a; }
.dot-status--pending { background-color: color-mix(in oklab, var(--muted-foreground) 45%, transparent); }

[data-lead-toggle] .icon { transition: transform .18s ease; }
[data-lead-toggle].is-open .icon { transform: rotate(180deg); }
.lead-detail-row td { background-color: color-mix(in oklab, var(--secondary) 35%, transparent); }
.lead-detail-grid { display: grid; gap: 0.875rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); padding: 0.5rem; }
.lead-detail-grid span { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-foreground); }
.lead-detail-grid p { margin-top: 0.25rem; font-size: 0.8125rem; line-height: 1.5; }

.pager { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.pager__btn {
  border-radius: 9999px; border: 1px solid var(--border); background-color: var(--card);
  padding: 0.5rem 1rem; font-size: 0.8125rem; font-weight: 600;
}
.pager__btn:hover { background-color: var(--secondary); }
.pager__btn.is-disabled { opacity: 0.4; pointer-events: none; }
.pager__status { font-size: 0.8125rem; color: var(--muted-foreground); }

@media (max-width: 720px) {
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr { border-bottom: 1px solid var(--border); padding: 0.75rem 1rem; }
  .admin-table td { border-bottom: none; padding: 0.25rem 0; }
  .admin-table td[data-label]::before { content: attr(data-label); display: block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; color: var(--muted-foreground); }
  .admin-table td[data-label=""]::before { display: none; }
}


/* Lead protection and export controls */
.lead-form__recaptcha { margin: 1rem 0; }
.form-note--warning { color: #9a5b00; }
.admin-export-actions { display:flex; gap:.6rem; align-items:center; flex-wrap:wrap; }
.admin-export-actions form { margin:0; }
.admin-table__check { width:42px; text-align:center; }
.admin-table__check input { width:18px; height:18px; accent-color: currentColor; }
@media (max-width: 800px) {
  .admin-export-actions { width:100%; }
}

/* ==========================================================================
   Large desktop refinement (1400px+ and 1920px+)
   Tighter vertical spacing, slightly larger type. Mobile/tablet untouched.
   ========================================================================== */

@media (min-width: 1400px) {
  :root { --shell: min(100% - 6rem, 84rem); --header-h: 4.25rem; }

  /* header */
  .nav__logo img { height: 2.5rem; }
  .nav__links { gap: 2.25rem; }
  .nav__link { font-size: 1rem; }
  .nav__links .btn { font-size: 0.95rem; }

  /* section rhythm */
  .section { padding-block: 3.5rem; }
  .section--tight { padding-block: 3rem; }
  .kicker { font-size: 0.8125rem; }
  .section-title { margin-top: 0.5rem; font-size: 2.5rem; }
  .section-lead { margin-top: 0.5rem; max-width: 46rem; font-size: 1.0625rem; }

  /* hero */
  .hero__grid { min-height: auto; padding-block: 2rem 3rem; gap: 3rem; }
  .pill-badge { font-size: 0.8125rem; }
  .hero__title { margin-top: 1.25rem; font-size: 4rem; }
  .hero__lead { margin-top: 1rem; max-width: 52ch; font-size: 1.125rem; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__meta { margin-top: 1.5rem; font-size: 0.8125rem; }
  .preview__row { font-size: 0.8125rem; padding: 0.875rem 1rem; }
  .preview__head { font-size: 0.6875rem; }
  .assurance-strip__grid { padding-block: 1rem; }
  .assurance { font-size: 0.8125rem; }

  /* services / offer / features */
  .services-grid { margin-top: 2rem; }
  .service { padding: 1.125rem 1.25rem; }
  .service__title { font-size: 1.0625rem; }
  .service__text { margin-top: 0.75rem; padding-top: 0.75rem; font-size: 0.9375rem; }
  .offer-grid { margin-top: 2rem; }
  .offer { padding: 1.25rem; }
  .offer h3 { margin-top: 0.875rem; font-size: 1.0625rem; }
  .offer p { font-size: 0.9375rem; }
  .feature-grid { margin-top: 2rem; }
  .feature { padding: 1.25rem; }
  .feature h3 { margin-top: 0.875rem; font-size: 1.0625rem; }
  .feature p { font-size: 0.9375rem; }

  /* about */
  .about-grid { gap: 2.5rem; }
  .about__lead { margin-top: 1rem; font-size: 1.1875rem; }
  .about__text { margin-top: 0.75rem; font-size: 1.0625rem; }
  .checklist-card { padding: 1.5rem; }
  .checklist { margin-top: 1.25rem; gap: 0.875rem; }
  .check-row { font-size: 0.9375rem; padding-bottom: 0.875rem; }
  .mv-grid { margin-top: 2.5rem; gap: 1rem; }
  .mv-card { padding: 1.75rem; }
  .mv-card h3 { margin-top: 1rem; font-size: 2rem; }
  .mv-card p { margin-top: 0.5rem; font-size: 1.0625rem; }

  /* founder */
  .founder-grid { gap: 2.5rem; }
  .founder__quote { margin-top: 1rem; font-size: 1.75rem; }
  .founder__text { margin-top: 1rem; font-size: 1.0625rem; }
  .pill-row { margin-top: 1.25rem; }
  .pill { font-size: 0.8125rem; }

  /* testimonials */
  .tst__stage { margin-top: 1.5rem; }
  .tst__figure { min-height: 12rem; padding: 2rem; }
  .tst__figure figcaption { margin-top: 1.25rem; }

  /* process + forms */
  .process-grid { margin-top: 2rem; }
  .process { padding: 1.25rem; }
  .process h3 { margin-top: 1rem; font-size: 1.0625rem; }
  .process p { font-size: 0.9375rem; }
  .split-grid { gap: 2.5rem; }
  .note-box { margin-top: 1.5rem; padding: 1.25rem; }
  .note-box p:first-child, .note-box p + p { font-size: 0.9375rem; }
  .lead-form { margin-top: 1.25rem; gap: 0.875rem; }
  .lead-form__grid { gap: 0.875rem; }
  .field { font-size: 0.8125rem; }
  .field input, .field textarea { padding: 0.625rem 1rem; font-size: 0.9375rem; }
  .form-note { font-size: 0.8125rem; }
  .contact-lines { margin-top: 1.5rem; }
  .contact-line { font-size: 0.9375rem; }
  .contact-actions { margin-top: 1.5rem; }

  /* CTA + footer */
  .cta-band { padding: 2.5rem; gap: 1.5rem; }
  .cta-band p { font-size: 1.0625rem; }
  .footer-grid { padding-top: 2.5rem; gap: 2rem; }
  .footer__about, .footer__list { font-size: 0.9375rem; }
  .footer__label { font-size: 0.8125rem; }
  .footer-bottom { margin-top: 2rem; padding-block: 1.25rem 2rem; font-size: 0.8125rem; }
}

/* 2560px-class screens: wider shell, one more step up in type size.
   html font-size scales every rem value above by 12.5%. */
@media (min-width: 1920px) {
  html { font-size: 112.5%; }
  :root { --shell: min(100% - 12rem, 92rem); }
  .section { padding-block: 3.5rem; }
  .hero__grid { padding-block: 2rem 3rem; gap: 4rem; }
}
