:root {
  --cyan: #00adef;
  --cyan-dark: #0090c9;
  --ink: #231f20;
  --grey: #939597;
  --paper: #f6f9fc;
  --panel: #ffffff;
  --line: #e3e8ee;
  --text: #46505c;
  --shadow: 0 18px 50px -20px rgba(20, 32, 48, 0.28);
  --success: #198754;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* The header is sticky, so anything scrolled to must clear it. */
:target, [id] { scroll-margin-top: 92px; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan-dark); }

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.brand-word {
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.brand-word span {
  color: var(--cyan);
}

.topbar {
  background: rgba(255,255,255,0.93);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 20;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
}

.footer-logo {
  display: block;
  height: 30px;
  width: auto;
}

.logo {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.nav-toggle-bars { position: relative; }

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(0, 173, 239, 0.6);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  padding: 72px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--cyan);
  display: inline-block;
}

h1 {
  font-size: clamp(2.05rem, 7vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
  color: var(--ink);
}

.lead {
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  max-width: 620px;
  color: var(--text);
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.mini-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--grey);
  font-size: 0.8rem;
}

.mini-proof strong {
  color: var(--ink);
}

.hero-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.screen-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.dots {
  display: flex;
  gap: 8px;
}

.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey);
}

.dots span:nth-child(1) { background: #f7c4c4; }
.dots span:nth-child(2) { background: #f6dfb3; }
.dots span:nth-child(3) { background: #bfe9ae; }

.score-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.score {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
}

.score .label {
  color: var(--grey);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.score .value {
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.score .small {
  font-size: 0.8rem;
  color: var(--text);
  margin-top: 8px;
}

.section {
  padding: 54px 0;
}

.section-head {
  margin-bottom: 28px;
}

.video-frame {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--panel);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.video-frame + .hero-actions {
  margin-top: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.section-head p {
  margin: 12px 0 0;
  color: var(--text);
  max-width: 700px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--text);
}

.card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 173, 239, 0.12);
  color: var(--cyan-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.feature-item strong {
  color: var(--ink);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat {
  background: var(--panel);
  border-left: 4px solid var(--cyan);
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: 0 8px 24px -12px rgba(20,32,48,0.2);
}

.stat .number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.05em;
  color: var(--ink);
  font-weight: 700;
}

.stat .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
}

.lead-magnet {
  background: var(--ink);
  color: #ffffff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 42px);
  margin-top: 24px;
}

.lead-magnet h3 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
  color: #ffffff;
}

.lead-magnet p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.8);
  max-width: 620px;
}

.quote-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 22px;
}

.quote-box p {
  margin: 0;
  color: var(--ink);
}

/* Unattributed here, on a site with zero clients, this reads as a testimonial. check-before-publish:ignore
   Naming the rule, not breaking it. The attribution is what stops it, so it is
   not decoration - do not drop it. */
.quote-by {
  margin-top: 10px !important;
  font-size: 0.9rem;
  color: var(--grey) !important;
}

.cta-strip {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-row h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.page-intro {
  padding: 52px 0 30px;
}

.page-intro h1 {
  margin-bottom: 12px;
}

.form-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: flex-start;
  padding-bottom: 60px;
}

.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  color: var(--ink);
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Radios and checkboxes are excluded: width:100% turned every diagnostic radio
   into a full-width control and pushed its answer text off the page. */
input:not([type="radio"]):not([type="checkbox"]), textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.92rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  margin-bottom: 18px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 8px;
}

.info-panel {
  background: var(--ink);
  color: #ffffff;
  border-radius: 22px;
  padding: 26px;
}

.info-panel h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.info-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255,255,255,0.82);
}

.info-panel li {
  margin-bottom: 8px;
}

.success-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 30px;
  margin: 40px auto 0;
  max-width: 760px;
}

.success-box h1 {
  margin-bottom: 12px;
}

.success-box .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.12);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.checklist li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
}

.checklist li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

footer {
  padding: 38px 0 64px;
  color: var(--grey);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink);
}

.legal-shell {
  max-width: 860px;
}

.legal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px 26px;
}

.legal-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.2rem;
}

.legal-card p {
  margin: 0 0 18px;
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .form-shell,
  .stat-row {
    grid-template-columns: 1fr;
  }
}

/* The menu collapses here, where four links plus a button stop fitting on one row. */
@media (max-width: 860px) {
  :target, [id] { scroll-margin-top: 80px; }

  .nav-toggle { display: inline-flex; }

  .topbar-inner {
    flex-wrap: wrap;
    min-height: 64px;
    gap: 12px;
  }

  /* Only collapse once the script has run. Without it the nav stays a plain list. */
  html.js .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 16px;
    border-top: 1px solid var(--line);
  }

  html.js .nav.is-open { display: flex; }

  .nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav a {
    font-size: 1rem;
    padding: 13px 2px;
  }

  .nav a.button {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 40px 0 44px;
  }

  .page-intro {
    padding: 36px 0 22px;
  }

  .section {
    padding: 40px 0;
  }

  /* Full-width only where a button is the page's next step, never in the header
     or beside a Back link. */
  .hero-actions .button,
  .cta-row .button,
  .lead-magnet .button,
  .form-card .button,
  .dx-actions .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 16px;
  }

  .form-card,
  .info-panel {
    padding: 20px 18px;
  }

  input, textarea, select {
    font-size: 16px;
  }
}

/* ---------- Analytics consent notice ----------
   Ported with the Tag Manager container on 18 September 2026. The site had this
   before the rebuild and it goes back with the tags: Consent Mode v2 defaults to
   denied in the page head, and nothing here grants anything until the visitor
   presses a button. Removing this banner while leaving GTM in place would make
   the site track by default, which it never has. */
.consent {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 520px; z-index: 200;
  background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 20px 22px;
  border-radius: 16px; box-shadow: var(--shadow); font-size: 0.92rem; display: none;
}
.consent.show { display: block; }
.consent p { margin: 0 0 14px; }
.consent a { color: var(--cyan); }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent button {
  font-family: inherit; font-size: 0.89rem; font-weight: 600; padding: 10px 20px;
  border-radius: 999px; cursor: pointer; border: 2px solid rgba(255, 255, 255, 0.25);
  background: transparent; color: rgba(255, 255, 255, 0.8); transition: 0.2s;
}
.consent button:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.consent button.primary { background: var(--cyan); color: #fff; border-color: var(--cyan); }
.consent button.primary:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); }

@media (max-width: 620px) {
  /* Thumb-sized, and clear of the iOS home indicator. */
  .consent { bottom: 12px; left: 12px; right: 12px; padding: 18px; }
  .consent button { flex: 1; padding: 12px 16px; }
}

/* ---------- WhatsApp click-to-chat ----------
   The front door to the WhatsApp agent. This was on every page of the site
   until the 11 September rebuild, which never carried it; it went dark when
   that rebuild reached production on 18 September. Restored 19 September 2026.

   The green is WhatsApp's own (#25d366) and is the one colour on this site
   that is not ours. That is deliberate — the button has to read as WhatsApp
   at a glance, and a cyan one would not. It is the only exception; do not
   take it as licence for a second.

   Sits above the consent notice and gets out of its way on small screens. */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: var(--ink); text-decoration: none;
  padding: 13px 20px 13px 17px; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1;
  box-shadow: 0 10px 28px -8px rgba(37, 211, 102, 0.55), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  color: var(--ink); transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.65), 0 2px 6px rgba(0, 0, 0, 0.14);
}
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wa-float svg { flex: none; }

/* A line on the contact page, next to the calendar button. It sits inside
   .info-panel, which is an ink card — body colour would be near-black on
   near-black, so this block is written for the dark panel, not the page. */
.wa-note { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.wa-note p { margin: 0; font-size: 0.94rem; line-height: 1.55; color: rgba(255, 255, 255, 0.75); }
.wa-note a { color: var(--cyan); font-weight: 600; }
.wa-note a:hover { color: #4cc9f7; }

@media (max-width: 620px) {
  /* Circle only — the label costs more width than it earns on a phone. */
  .wa-float { right: 14px; bottom: 14px; padding: 14px; border-radius: 50%; }
  .wa-float span { display: none; }
  /* Clear of the consent notice while it is showing. */
  body:has(.consent.show) .wa-float { bottom: 190px; }
}
