/* Better Reviews — site styles
   Light theme only. Mobile-first; breakpoints 768 / 1024. */

:root {
  --ink: #0B1F44;
  --navy: #003087;
  --blue: #005EB8;
  --sky: #E9F1FB;
  --gold: #FFB81C;
  --paper: #FAFBFD;
  --green: #007F3B;
  --mut: #5B6676;
  --line: #DCE3EA;
  --red: #C62828;
  --radius: 20px;
  --hair: rgba(11, 31, 68, 0.07);
  --surface: rgba(255, 255, 255, 0.55);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1120px;
  --gutter: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 68, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 31, 68, 0.12);
  --shadow-lg: 0 20px 50px rgba(11, 31, 68, 0.18);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 16px; color: var(--ink); }
h1 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.14; margin-bottom: 20px; }
h1 em { color: var(--blue); font-style: normal; }
h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 700; letter-spacing: -0.015em; }
h2 em { color: var(--blue); font-style: normal; }
h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 16px; }
a { color: var(--blue); }
b { font-weight: 700; }
small { font-size: 14px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

.skip {
  position: absolute;
  left: 8px; top: 8px;
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  z-index: 100;
}
.skip:focus { transform: none; }

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hair);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: 8px;
}
.brand .mark { width: 28px; height: 28px; flex: none; }
.brand b { font-weight: 800; }
.foot-brand { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; font-size: 18px; }
.foot-brand b { font-weight: 800; }
.top nav { display: flex; align-items: center; gap: 8px; }
/* Mobile: a "Menu" button opens a dropdown list under the header. */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--sky); border-color: var(--blue); color: var(--blue); }
.nav-toggle[aria-expanded="true"] { background: var(--sky); border-color: var(--blue); color: var(--blue); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}
.nav-links a:not(.btn):hover { background: var(--sky); color: var(--blue); }
.nav-links .btn { min-height: 44px; padding: 8px 16px; }
.sub-menu { list-style: none; margin: 0; padding: 0; }
@media (max-width: 767px) {
  .top.nav-open .nav-links { display: flex; }
  .sub-menu a:not(.btn) { padding-left: 28px; min-height: 44px; font-size: 15px; }
  .sub-menu li { border-top: 1px solid var(--line); }
  .nav-links {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    padding: 6px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links li + li { border-top: 1px solid var(--line); }
  .nav-links li:has(.btn) { border-top: 0; margin-top: 8px; }
  .nav-links .btn { width: 100%; min-height: 48px; }
}
@media (min-width: 768px) {
  .has-sub { position: relative; }
  .sub-menu {
    display: none;
    position: absolute;
    left: 0; top: 100%;
    min-width: 200px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
  }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
  .sub-menu li { border: 0; }
  .sub-menu a:not(.btn) { white-space: nowrap; }
  .top { gap: 16px; padding: 12px 16px; }
  .nav-toggle { display: none; }
  .nav-links { display: flex; align-items: center; gap: 2px; }
  .nav-links a { white-space: nowrap; }
  .nav-links a:not(.btn) { min-height: 44px; padding: 8px 7px; }
  .nav-links .btn { padding: 8px 12px; }
  .nav-links li:has(.btn) { margin-left: 6px; }
  .brand { font-size: 16px; }
}
@media (min-width: 1024px) {
  .top { padding-left: var(--gutter); padding-right: var(--gutter); }
  .brand { font-size: 18px; }
  .nav-links { gap: 4px; }
  .nav-links a:not(.btn) { padding: 8px 12px; }
  .nav-links .btn { padding: 8px 16px; }
  .nav-links li:has(.btn) { margin-left: 12px; }
}
/* Sticky header must not hide in-page anchor targets. */
[id] { scroll-margin-top: 80px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.btn-primary { background: var(--blue) linear-gradient(180deg, #1A6FC6, var(--blue)); color: #fff; border-color: transparent; box-shadow: 0 1px 2px rgba(0, 48, 135, 0.2); }
.btn-primary:hover { background: var(--navy) linear-gradient(180deg, #0B4FAE, var(--navy)); border-color: transparent; box-shadow: 0 10px 24px rgba(0, 94, 184, 0.28); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--blue); border-color: rgba(0, 94, 184, 0.45); }
.btn-ghost:hover { background: #fff; border-color: var(--blue); box-shadow: 0 6px 18px rgba(11, 31, 68, 0.08); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.cta-row .btn { flex: 1 1 auto; }
@media (min-width: 768px) { .cta-row .btn { flex: 0 1 auto; } }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 72px var(--gutter) 64px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 em { display: inline-block; margin-top: 10px; }
.hero .eyebrow { margin-bottom: 22px; }
/* On phones the copy block unwraps so the widget can sit right after the CTAs,
   with the fine print beneath it. */
.hero-copy { display: contents; }
.hero-copy > * { order: 0; }
.hero .hero-demo { order: 1; margin: 20px 0 0; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut);
  margin-bottom: 18px;
}
.lead { font-size: 19px; line-height: 1.55; color: var(--mut); max-width: 560px; }
.fine { font-size: 14px; color: var(--mut); }
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 96px;
    gap: 48px;
  }
  .hero-copy { display: block; }
  .hero .hero-demo { margin: 0; }
}

/* ---------- Hero demo (signature) ---------- */
.hero-demo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.phone {
  width: 280px;
  max-width: 100%;
  background: #fff;
  border: 10px solid #0b0f1a;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  flex: none;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #F1F4F8;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--mut);
}
.phone-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.phone-body { padding: 24px 16px 20px; text-align: center; }
.ph-q { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; margin-bottom: 14px; }
.ph-stars { display: flex; justify-content: center; gap: 2px; margin: 0 0 10px; }
.ph-stars button {
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  border-radius: 8px;
  transition: transform 120ms ease;
}
.ph-stars button::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: #CBD2D9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 6.6 7 .9-5.2 5 1.4 7.1L12 18l-6.2 3.6 1.4-7.1-5.2-5 7-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 6.6 7 .9-5.2 5 1.4 7.1L12 18l-6.2 3.6 1.4-7.1-5.2-5 7-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: background-color 150ms ease;
}
.ph-stars button:hover::before { background: #AEB7C2; }
.ph-stars button.lit::before, .ph-stars button[aria-checked="true"]::before { background: var(--gold); }
.ph-stars button:active { transform: scale(0.92); }
.ph-hint { font-size: 14px; color: var(--mut); min-height: 20px; margin: 0; }

.route { display: none; }
.route path { fill: none; stroke: var(--line); stroke-width: 3; stroke-linecap: round; }

.dest {
  position: relative;
  width: 320px;
  max-width: 100%;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}
.dest b { display: block; margin: 6px 0 4px; font-size: 15px; }
.dest small { display: block; font-size: 14px; line-height: 1.45; color: var(--mut); }
.dest svg { width: 24px; height: 24px; color: var(--blue); }
.dest-google.active { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dest-private.active { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* Stacked on phones: the chosen destination is highlighted, the other one fades. */
.hero-demo.has-choice .dest:not(.active) { opacity: 0.55; }
.hero-demo.has-choice .dest.active { opacity: 1; }
.dest::before {
  content: "";
  position: absolute;
  left: -2px; top: 14px; bottom: 14px;
  width: 4px;
  border-radius: 4px;
  background: transparent;
}
.dest-google.active::before { background: var(--green); }
.dest-private.active::before { background: var(--blue); }
.g-logo { display: inline-flex; font: 700 22px/1 Arial, Helvetica, sans-serif; letter-spacing: -0.5px; }
.g-logo span:nth-child(1) { color: #4285F4; }
.g-logo span:nth-child(2) { color: #EA4335; }
.g-logo span:nth-child(3) { color: #FBBC05; }
.g-logo span:nth-child(4) { color: #4285F4; }
.g-logo span:nth-child(5) { color: #34A853; }
.g-logo span:nth-child(6) { color: #EA4335; }

@media (min-width: 768px) {
  .hero-demo {
    display: block;
    min-height: 440px;
    max-width: 560px;
  }
  .hero .hero-demo { margin: 24px auto 16px; }
  .phone { position: relative; z-index: 2; margin: 0; }
  .route {
    display: block;
    position: absolute;
    left: 270px;
    top: 50%;
    width: 90px;
    height: 220px;
    transform: translateY(-50%);
    z-index: 1;
    overflow: visible;
  }
  .route path { stroke-dasharray: 260; stroke-dashoffset: 0; }
  .route.is-google #r-top { stroke: var(--green); animation: draw 400ms ease-out; }
  .route.is-private #r-bot { stroke: var(--blue); animation: draw 400ms ease-out; }
  .dest { position: absolute; right: 0; width: 240px; z-index: 2; }
  .dest small { font-size: 13px; }
  .dest::before { display: none; }
  .dest-google { top: 10%; }
  .dest-private { top: 60%; }
  .hero-demo.has-choice .dest:not(.active) { opacity: 1; }
}
@media (min-width: 1024px) {
  .hero-demo { margin: 0; max-width: none; }
  .route { left: 290px; width: 110px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  /* Narrow desktop column: keep phone, route and cards from overlapping. */
  .phone { width: 230px; }
  .route { left: 222px; width: 70px; }
  .dest { width: 205px; }
  .ph-stars button { width: 40px; height: 44px; }
}
@keyframes draw {
  from { stroke-dashoffset: 260; }
  to { stroke-dashoffset: 0; }
}

/* ---------- Strip ---------- */
.strip {
  --sec-bg: var(--sky);
  background: var(--sec-bg);
  padding: 56px var(--gutter) 64px;
}
.strip p { max-width: 820px; margin: 0 auto; text-align: center; font-size: 17px; color: var(--ink); }

/* ---------- Sections ---------- */
/* Every band is a flat colour carried in --sec-bg; the transition ramp below
   reads the same variable, so a band's colour is declared exactly once. */
.section { --sec-bg: var(--paper); padding: 64px var(--gutter); }
.section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section.alt { --sec-bg: var(--sky); background: var(--sec-bg); }
.section.ai-section { --sec-bg: #fff; background: var(--sec-bg); }
.sub { color: var(--mut); max-width: 640px; font-size: 17px; margin-bottom: 32px; }
.section h2 { margin-bottom: 14px; }
@media (min-width: 1024px) { .section { padding: 96px var(--gutter); } }

/* ---------- Section colour transitions ----------
   Same technique as the footer (the one transition that always looked right):
   an eased colour ramp painted INSIDE the section's own top area, BEHIND its
   content (negative z-index inside an isolated stacking context). It never
   extends past the section boundary, so it can never sit over the text of
   this section or the one above. `--prev-bg` (via a .from-* class) names the
   colour of the band above; the ramp runs from that colour into --sec-bg. */
.curve-top { position: relative; isolation: isolate; }
.curve-top::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, var(--prev-bg, var(--paper)) 0, var(--sec-bg, var(--paper)) 100%);
  pointer-events: none;
}
.from-paper { --prev-bg: var(--paper); }
.from-sky   { --prev-bg: var(--sky); }
.from-white { --prev-bg: #fff; }
@media (min-width: 1024px) {
  .curve-top::before { height: 160px; }
}

/* Steps */
.steps { list-style: none; margin: 32px auto 0; padding: 0; display: grid; gap: 28px; }
.steps li { display: flex; flex-direction: column; }
.steps li p { color: var(--mut); margin: 0; }
.steps h3 { display: flex; align-items: center; gap: 10px; }
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--sky);
  margin-bottom: 16px;
  flex: none;
  position: relative;
}
.step-icon svg {
  width: 38px; height: 38px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  flex: none;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Grid of articles */
.grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
.grid article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease);
}
.grid article:hover { border-color: rgba(0, 94, 184, 0.22); background: #fff; }
.grid article svg {
  width: 28px; height: 28px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 14px;
}
.grid article h3 { font-size: 20px; }
.grid article p { color: var(--mut); margin: 0; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Your data ---------- */
.yours-inner { display: grid; grid-template-columns: 1fr; gap: 8px 56px; }
.yours-copy { max-width: 720px; }
.yours-copy > p { color: var(--mut); font-size: 17px; margin-bottom: 0; }
.yours-ticks { margin-top: 16px; }
.yours-ticks li { font-size: 17px; }
@media (min-width: 1024px) {
  .yours-inner { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .yours-ticks { margin-top: 0; }
}
.ticks { list-style: none; margin: 20px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Pricing ---------- */
.bill-toggle {
  display: flex;
  padding: 4px;
  background: var(--sky);
  border-radius: 999px;
  margin-bottom: 22px;
}
.bill-opt {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.bill-opt[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
@media (max-width: 479px) {
  .bill-opt { flex-direction: column; gap: 4px; padding: 8px 10px; line-height: 1.2; }
}
.bill-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}
.price-wrap { transition: opacity 150ms ease; }
.price-wrap.is-fading { opacity: 0; }
.price-note { margin-top: 14px; font-size: 15px; color: var(--ink); }
@media (min-width: 768px) {
  .bill-toggle { display: inline-flex; }
  .bill-opt { flex: none; padding: 8px 20px; }
}
.price-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--hair);
  border-radius: 28px;
  max-width: 560px;
  margin: 32px auto 0;
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.price {
  font-family: var(--display);
  font-size: clamp(48px, 14vw, 64px);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price .cur { font-size: 28px; font-weight: 700; align-self: flex-start; margin-top: 8px; }
.price .per { font-size: 18px; font-weight: 500; color: var(--mut); font-family: var(--body); margin-left: 4px; }
.price-sub { margin: 10px 0 0; color: var(--mut); }
.price-card .ticks { margin-top: 22px; }
.price-card .cta-row { margin-top: 28px; }
.price-card .cta-row .btn { flex: 1 1 auto; }

/* ---------- Demo form ---------- */
.demo-inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.demo-copy > p { color: var(--mut); font-size: 17px; }
.demo-copy .demo-what { color: var(--ink); margin: 24px 0 0; }
.demo-copy .ticks { margin-top: 10px; }
.demo-copy .fine { font-size: 14px; margin: 22px 0 0; }
.demo-form {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--hair);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.form-req { font-size: 14px; color: var(--mut); margin: 0 0 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid #8C98A5;
  border-radius: 8px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.2); }
.field input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: none; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.help { font-size: 13px; color: var(--mut); margin: 6px 0 0; }
.err { font-size: 14px; color: var(--red); margin: 6px 0 0; }
.err:empty { display: none; }
.notice { font-size: 14px; color: var(--ink); background: var(--sky); border-radius: 8px; padding: 8px 12px; margin: 8px 0 0; }
.notice:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#turnstile { margin-bottom: 16px; }
#turnstile:empty { margin: 0; }
.demo-form .btn { width: 100%; }
.form-status { min-height: 24px; margin: 12px 0 0; font-size: 15px; }
.form-status.ok { color: var(--green); font-weight: 600; }
.form-status.bad { color: var(--red); font-weight: 600; }
@media (min-width: 768px) { .demo-form { padding: 32px; } }
@media (min-width: 1024px) {
  .demo-inner { grid-template-columns: 1fr minmax(0, 520px); gap: 64px; align-items: center; }
  .demo-form { width: 100%; max-width: 520px; }
}

/* ---------- FAQ ---------- */
/* Narrower than the container, but starts on the same left edge as every other section. */
.faq > * { max-width: 880px; margin-left: max(0px, calc((100% - var(--maxw)) / 2)); }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid rgba(11, 31, 68, 0.1); }
.faq details:last-of-type { border-bottom: 1px solid rgba(11, 31, 68, 0.1); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 4px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  margin-right: 4px;
  transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--mut); margin: 0 0 20px; max-width: 760px; }

/* ---------- Footer ---------- */
.foot {
  position: relative;
  color: #fff;
  /* 224px eased approach from the paper into the dark footer. Gradient only –
     no base colour and no repeat, otherwise a sliver of --ink shows at the
     (fractional) top edge and reads as a hard line. */
  background: linear-gradient(180deg, var(--paper) 0, #F4F6FA 36px, #E2E8F0 72px, #BCC6D8 108px, #8292B1 144px, #46588A 180px, #1A2E5C 208px, var(--ink) 224px) top / 100% 100% no-repeat;
  padding: 264px var(--gutter) 40px;
  margin-top: 24px;
}
.foot > div { max-width: var(--maxw); margin: 0 auto; }
.foot small { display: block; margin-top: 6px; color: rgba(255, 255, 255, 0.8); font-size: 13px; line-height: 1.7; }
.foot a { display: inline-block; padding: 12px 4px; color: #fff; text-decoration: underline; border-radius: 6px; overflow-wrap: anywhere; }
/* Below desktop the fixed chat launcher (56px + 16px inset) would sit over the footer links. */
@media (max-width: 1023px) { .foot { padding-bottom: calc(40px + 80px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Assistant widget ---------- */
#assistant-root .as-launch {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  right: calc(16px + env(safe-area-inset-right, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 18px 8px 8px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
#assistant-root .as-launch:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.as-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
  background: var(--sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
}
.as-name { display: block; min-width: 56px; font-weight: 600; font-size: 15px; line-height: 1.2; }
.as-sub { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mut); line-height: 1.3; }
.as-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: as-pulse 2s ease-in-out infinite;
}
@keyframes as-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 127, 59, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(0, 127, 59, 0); }
}

.as-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 70;
  width: min(400px, 100vw - 24px);
  height: min(640px, 100dvh - 40px);
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.as-panel.open { display: flex; }
@media (max-width: 480px) {
  .as-panel {
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    padding-top: env(safe-area-inset-top, 0px);
  }
  .as-form { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .as-head { padding-left: calc(16px + env(safe-area-inset-left, 0px)); padding-right: calc(12px + env(safe-area-inset-right, 0px)); }
}
.as-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--navy);
  color: #fff;
  flex: none;
}
.as-avatar-wrap { position: relative; flex: none; display: block; width: 44px; height: 44px; }
.as-avatar-wrap .as-avatar { width: 44px; height: 44px; }
.as-avatar-wrap .as-dot {
  position: absolute;
  right: 0; bottom: 0;
  width: 8px; height: 8px;
  border: 2px solid #fff;
  box-sizing: content-box;
  animation: none;
}
.as-head .as-name { font-size: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-head > div:not(.as-ctrls) { min-width: 0; flex: 1; }
.as-head .as-sub { color: rgba(255, 255, 255, 0.75); font-size: 12.5px; }
.as-ctrls { display: flex; gap: 4px; flex: none; }
.as-ibtn {
  width: 44px; height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.as-ibtn:hover { background: rgba(255, 255, 255, 0.14); }
.as-ibtn svg { display: block; }
.as-confirm {
  flex: none;
  padding: 12px 16px;
  background: #FFF6E0;
  border-bottom: 1px solid #F3DFA6;
  font-size: 14px;
}
.as-confirm[hidden] { display: none; }
.as-confirm p { margin: 0 0 10px; font-weight: 600; }
.as-confirm > div { display: flex; gap: 8px; }
.as-confirm .btn { min-height: 44px; padding: 6px 14px; font-size: 14px; flex: 1 1 auto; }

.as-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.msg {
  max-width: 85%;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.msg.bot { background: var(--sky); color: var(--ink); border-radius: 16px 16px 16px 4px; align-self: flex-start; }
.msg.user { background: var(--blue); color: #fff; border-radius: 16px 16px 4px 16px; align-self: flex-end; }
.msg.user a { color: #fff; }
.msg p { margin: 0 0 6px; }
.msg p:last-child { margin-bottom: 0; }
.msg ul, .msg ol { margin: 4px 0 6px; padding-left: 20px; }
.msg.typing { display: flex; gap: 4px; align-items: center; min-height: 38px; }
.msg.typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mut);
  animation: as-bounce 1.2s ease-in-out infinite;
}
.msg.typing span:nth-child(2) { animation-delay: 0.15s; }
.msg.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes as-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.as-card {
  align-self: stretch;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
}
.as-card p { margin: 0 0 10px; }
.as-card .btn { width: 100%; margin-top: 8px; }
.as-terms { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; }
.as-terms label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.as-terms input[type="checkbox"] { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }

.as-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
  flex: none;
  margin: 0;
}
.as-form textarea {
  flex: 1;
  min-height: 44px;
  max-height: 140px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 10px;
  resize: none;
  overflow-y: auto;
  field-sizing: content;
}
.as-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.2); }
.as-form textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: none; }
.as-send {
  width: 44px; height: 44px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 200ms ease;
}
.as-send:hover { background: var(--navy); }
.as-send[disabled] { opacity: 0.6; cursor: progress; }
.as-send svg { width: 20px; height: 20px; fill: #fff; stroke: #fff; }

/* ---------- AI reply section ---------- */

.ai-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.ai-copy { max-width: 560px; }
.ai-sub { color: var(--mut); font-size: 17px; margin-bottom: 0; }
.ai-ticks { margin-top: 20px; }
.ai-ticks li { font-size: 17px; }
.ai-mail {
  width: 100%; max-width: 520px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
  justify-self: center;
}
.ai-mail-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--sky); border-bottom: 1px solid var(--line); }
.ai-mail-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c9d3e0; }
.ai-mail-bar em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--mut); font-weight: 600; }
.ai-mail-head { position: relative; padding: 14px 18px 12px; border-bottom: 1px solid var(--line); }
.ai-mail-head p { margin: 0 0 4px; color: var(--ink); padding-right: 112px; }
.ai-mail-head b { color: var(--mut); font-weight: 600; }
.ai-pill {
  position: absolute; right: 14px; top: 14px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
}
.ai-mail-body { padding: 16px 18px 18px; }
.ai-rating { display: flex; gap: 3px; margin-bottom: 8px; }
.ai-rating span {
  width: 16px; height: 16px; background: var(--line);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5-5.9-3.1-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5-5.9-3.1-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ai-rating span.on { background: var(--gold); }
.ai-quote { margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid var(--navy); background: var(--sky); border-radius: 0 8px 8px 0; color: var(--ink); }
.ai-divider { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mut); }
.ai-divider::before, .ai-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ai-draft { margin: 0 0 16px; color: var(--ink); }
.ai-cursor {
  display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.15em;
  background: var(--navy);
  animation: ai-blink 1s steps(1, end) infinite;
}
@keyframes ai-blink { 50% { opacity: 0; } }
.ai-actions { display: flex; gap: 10px; }
.ai-btn {
  min-height: 36px; padding: 6px 18px; border-radius: 8px;
  font: 600 14px/1.2 var(--body); cursor: default;
  border: 1.5px solid var(--blue); background: #fff; color: var(--blue);
}
.ai-btn-send { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (min-width: 1024px) {
  .ai-inner { grid-template-columns: 1fr minmax(0, 520px); gap: 64px; }
  .ai-mail { justify-self: end; }
}

/* ---------- Demo progress panel ---------- */
.demo-progress h3 { margin-bottom: 6px; }
.demo-progress .dp-stage { color: var(--mut); margin: 0 0 14px; min-height: 24px; }
.dp-bar { height: 12px; border-radius: 999px; background: var(--sky); overflow: hidden; position: relative; }
.dp-bar-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--navy));
  transition: width 400ms ease;
  position: relative; overflow: hidden;
}
.dp-bar-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%);
  animation: dp-shimmer 1.6s ease-in-out infinite;
}
@keyframes dp-shimmer { to { transform: translateX(100%); } }
.dp-ready .dp-bar-fill::after { animation: none; }
.dp-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.demo-progress .dp-stage:empty { display: none; }
.demo-progress .dp-note { margin: 16px 0 0; color: var(--mut); font-size: 15px; }
.demo-progress .btn { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .dp-bar-fill::after { display: none; } .ai-cursor { animation: none; opacity: 1; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .as-dot { box-shadow: none; }
  .dest.active, .btn:active { transform: none; }
}

/* ---------- Sector pages (for-nhs / for-business) ---------- */
.page-hero { padding-top: 48px; padding-bottom: 40px; }
.page-hero h1 { max-width: 760px; }
.page-hero .lead { max-width: 640px; }
.page-hero .cta-row { margin-bottom: 0; }
.page-hero .fine { margin: 14px 0 0; }
.section.cta-band { text-align: center; }
.section.cta-band .lead { margin-left: auto; margin-right: auto; }
.section.cta-band .cta-row { justify-content: center; }
.steps.two { max-width: 880px; }
@media (min-width: 768px) { .steps.two { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .page-hero { padding-top: 80px; padding-bottom: 56px; } }
/* CTA band as a floating translucent surface card, aligned to the container. */
/* Bottom margin lets the card's 84px shadow fade out before the footer paints over it. */
.section.cta-band { position: relative; isolation: isolate; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto 64px; padding-left: calc(var(--gutter) + 20px); padding-right: calc(var(--gutter) + 20px); }
.section.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 var(--gutter);
  z-index: -1;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--hair);
  box-shadow: 0 24px 60px rgba(11, 31, 68, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ==========================================================================
   SECTOR / SIGN-UP HERO
   Two-column hero: copy left, a stack of floating product cards right that
   sit on the shared motion background. Stacks on mobile. Transform/opacity
   only; static under prefers-reduced-motion.
   ========================================================================== */
.sector-hero { padding: 56px var(--gutter) 64px; overflow-x: clip; }
.sector-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.sector-hero-copy { min-width: 0; }
.sector-hero-copy > * { margin-left: 0; margin-right: 0; }
.sector-hero-copy h1 { max-width: 640px; }
.sector-hero-copy .lead { max-width: 560px; margin-top: 16px; }
.sector-hero-copy .cta-row { margin: 28px 0 0; }
.sector-hero-copy .fine { margin: 14px 0 0; }
.sector-hero-visual { position: relative; min-width: 0; }

/* Soft glow under the card stack */
.hero-stack { position: relative; display: grid; gap: 14px; }
.hero-stack::before {
  content: "";
  position: absolute;
  inset: -10% -6%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(closest-side at 40% 40%, rgba(0, 94, 184, 0.14), rgba(0, 94, 184, 0) 72%),
              radial-gradient(closest-side at 72% 72%, rgba(255, 184, 28, 0.18), rgba(255, 184, 28, 0) 72%);
}
.hs-slot { position: relative; z-index: 1; opacity: 0; transform: translateY(18px); animation: hs-in 800ms var(--ease) forwards; }
.hs-slot:nth-child(1) { animation-delay: 120ms; }
.hs-slot:nth-child(2) { animation-delay: 340ms; margin-left: 6%; }
.hs-slot:nth-child(3) { animation-delay: 560ms; width: 94%; }
@keyframes hs-in { to { opacity: 1; transform: translateY(0); } }
.hs-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  will-change: transform;
  animation: hs-float 8s ease-in-out infinite alternate;
}
.hs-slot:nth-child(2) .hs-card { animation-duration: 9.5s; animation-delay: -3s; }
.hs-slot:nth-child(3) .hs-card { animation-duration: 7s; animation-delay: -5s; }
@keyframes hs-float { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.hs-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 10px; }
.hs-head > div { min-width: 0; flex: 1 1 auto; }
.hs-head b { display: block; font-size: 14.5px; line-height: 1.3; white-space: nowrap; }
.hs-head small { display: block; font-size: 12.5px; color: var(--mut); line-height: 1.3; }
.hs-ico {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--sky);
  color: var(--blue);
}
.hs-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-ico-star { background: #FFF4D6; color: #C98A00; }
.hs-ico-star svg { fill: var(--gold); stroke: var(--gold); }
.hs-ico-mail { background: #FDE8E8; color: var(--red); }
.hs-stars { display: inline-flex; gap: 2px; margin: 0 0 8px; }
.hs-stars i { width: 15px; height: 15px; background: var(--line); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5-5.9-3.1-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5-5.9-3.1-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.hs-stars i.on { background: var(--gold); }
.hs-card p { margin: 0; }
.hs-card p + p { margin-top: 8px; }
.hs-quote { padding: 8px 12px; border-left: 3px solid var(--navy); background: var(--sky); border-radius: 0 8px 8px 0; }
.hs-draft { color: var(--mut); }
.hs-draft em { display: block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mut); margin-bottom: 3px; }
.hs-pill { display: inline-block; flex: none; align-self: center; margin-left: auto; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.hs-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.hs-row .hs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(0, 127, 59, 0.18); }
.hs-row b { font-weight: 600; white-space: nowrap; }
.hs-row .hs-ok { color: var(--green); font-weight: 600; }
.hs-row + .hs-row { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--hair); }
.hs-row .hs-mut { color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (min-width: 900px) {
  .sector-hero { padding: 80px var(--gutter) 96px; }
  .sector-hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-stack { display: block; min-height: 480px; }
  .hs-slot { position: absolute; margin: 0; width: auto; }
  .hs-slot:nth-child(1) { left: 0; top: 0; width: 60%; }
  .hs-slot:nth-child(2) { right: 0; top: 156px; width: 72%; }
  .hs-slot:nth-child(3) { left: 4%; bottom: 0; width: 64%; }
}
@media (min-width: 1200px) {
  .hero-stack { min-height: 490px; }
  .hs-slot:nth-child(1) { width: 56%; }
  .hs-slot:nth-child(2) { width: 70%; }
  .hs-slot:nth-child(3) { width: 60%; }
}

/* Compact variant (sign-up, thank-you) */
.sector-hero.compact { padding-top: 36px; padding-bottom: 24px; }
.sector-hero.compact .sector-hero-copy h1 { font-size: clamp(28px, 3.6vw, 40px); }
@media (min-width: 900px) {
  .sector-hero.compact { padding-top: 44px; padding-bottom: 28px; }
  .sector-hero.compact .sector-hero-inner { grid-template-columns: 1.4fr 1fr; gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-slot { animation: none; opacity: 1; transform: none; }
  .hs-card { animation: none; }
}
/* ===== end sector hero block ===== */



/* ===== Hero refinements (index.html) ===== */
/* Lighter hero copy */
.hero h1 { margin-bottom: 14px; }
.hero .lead { max-width: 480px; }

/* Bigger, more central widget on desktop */
@media (min-width: 1200px) {
  .hero { grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
  .hero-demo { min-height: 500px; }
  .phone { width: 300px; border-width: 11px; border-radius: 32px; box-shadow: var(--shadow-lg); }
  .ph-q { font-size: 22px; }
  .ph-stars button { width: 48px; height: 48px; }
  .route { left: 306px; width: 100px; }
  .dest { width: 250px; padding: 16px 18px; box-shadow: var(--shadow-md); }
  .dest b { font-size: 16px; }
  .dest small { font-size: 13.5px; }
}

/* ===== end hero refinements block ===== */

/* ==========================================================================
   SECTOR PAGE SECTIONS + IMAGE-FREE COMPACT HERO (added – sector/sign-up agent)
   .sx-* = for-nhs / for-business content blocks. .no-visual = sign-up / thanks.
   ========================================================================== */
.sx p { max-width: 620px; }
.sx p + p { margin-top: 10px; }
.sx-head > * { margin-left: 0; margin-right: 0; }
.sx-intro { color: var(--mut); font-size: 17px; margin-bottom: 8px; }
.sx-two { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.sx-two > div > p:first-of-type { margin-top: 0; }
.sx-ico {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  display: inline-grid; place-items: center; background: var(--sky); color: var(--blue);
}
.sx-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sx-bullets { list-style: none; margin: 24px auto 0; padding: 0; display: grid; gap: 16px; }
.sx-bullets li { display: flex; gap: 14px; align-items: flex-start; max-width: 880px; }
.sx-bullets li div { line-height: 1.55; }
.sx-bullets li b { display: block; margin-bottom: 2px; }
.sx-cards { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
.sx-cards article { background: rgba(255, 255, 255, 0.82); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px 24px; }
.sx-cards article h3 { font-size: 19px; margin: 14px 0 6px; }
.sx-cards article p { color: var(--mut); margin: 0; }
.sx-compare { display: grid; grid-template-columns: 1fr; gap: 14px; }
.sx-cmp { border-radius: var(--radius); padding: 22px; border: 1px solid var(--hair); background: rgba(255, 255, 255, 0.82); }
.sx-cmp h3 { font-size: 16px; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .04em; }
.sx-cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.sx-cmp li { position: relative; padding-left: 22px; }
.sx-cmp li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; }
.sx-cmp-before h3 { color: var(--mut); }
.sx-cmp-before li::before { background: #C9D1DB; }
.sx-cmp-after { border-color: rgba(0, 94, 184, .35); background: var(--sky); }
.sx-cmp-after h3 { color: var(--navy); }
.sx-cmp-after li::before { background: var(--green); }
.sx-timeline { list-style: none; margin: 24px auto 0; padding: 0; display: grid; gap: 22px; position: relative; }
.sx-timeline li { position: relative; padding-left: 30px; display: grid; gap: 4px; }
.sx-timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 184, 28, .25); }
.sx-timeline li::after { content: ""; position: absolute; left: 6px; top: 24px; bottom: -22px; width: 2px; background: var(--line); }
.sx-timeline li:last-child::after { display: none; }
.sx-time { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 15px; }
.sx-timeline b { font-size: 17px; line-height: 1.3; }
.sx-timeline li > span:last-child { color: var(--mut); line-height: 1.55; }
.sx-dest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sx-dest li { display: grid; justify-items: start; gap: 2px; padding: 16px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--hair); border-radius: 16px; }
.sx-dest li .sx-ico { margin-bottom: 8px; }
.sx-dest li b { font-size: 16px; }
.sx-dest li small { color: var(--mut); font-size: 13px; }
.sx-dest li.is-primary { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 184, 28, .25); }
.sx-dest li.is-primary .sx-ico { background: var(--gold); color: var(--navy); }
.sx-dest li.is-primary .sx-ico svg { fill: currentColor; }
.sx-chips { list-style: none; margin: 24px auto 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sx-chips li { padding: 10px 16px; background: rgba(255, 255, 255, 0.82); border: 1px solid var(--hair); border-radius: 999px; font-weight: 600; font-size: 15px; }
@media (min-width: 768px) {
  .sx-cards { grid-template-columns: repeat(3, 1fr); }
  .sx-two { grid-template-columns: 1.1fr 1fr; gap: 40px; }
  .sx-timeline { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .sx-timeline li { padding-left: 0; padding-top: 28px; }
  .sx-timeline li::before { top: 0; left: 0; }
  .sx-timeline li::after { top: 6px; left: 22px; right: -28px; bottom: auto; width: auto; height: 2px; }
}
/* Image-free compact hero (sign-up, thank-you): copy only + decorative stars */
.sector-hero.no-visual { position: relative; overflow: hidden; }
.sector-hero.no-visual .sector-hero-inner { grid-template-columns: 1fr; position: relative; z-index: 1; }
.sector-hero.no-visual .hero-deco { position: absolute; top: 0; right: 0; height: 100%; width: 60%; pointer-events: none; z-index: 0; }
.sector-hero.no-visual .hero-deco path { fill: var(--gold); opacity: .45; }
.sector-hero.no-visual .hero-deco circle { fill: var(--blue); opacity: .07; }
.sector-hero.no-visual .hero-deco .d2 { opacity: .4; }
.sector-hero.no-visual .hero-deco .d3 { opacity: .3; }
.sector-hero.no-visual .hero-deco .d1, .sector-hero.no-visual .hero-deco .d2, .sector-hero.no-visual .hero-deco .d3 { transform-box: fill-box; transform-origin: center; animation: hero-twinkle 4s ease-in-out infinite alternate; }
.sector-hero.no-visual .hero-deco .d2 { animation-delay: 1.3s; }
.sector-hero.no-visual .hero-deco .d3 { animation-delay: 2.1s; }
@keyframes hero-twinkle { from { transform: scale(.85) rotate(-6deg); } to { transform: scale(1.1) rotate(6deg); } }
.legal .sector-hero.no-visual { margin-bottom: 20px; }
.eyebrow-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.eyebrow-ok svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .sector-hero.no-visual .hero-deco .d1, .sector-hero.no-visual .hero-deco .d2, .sector-hero.no-visual .hero-deco .d3 { animation: none; } }
/* ===== end sector sections / no-visual hero block ===== */

/* ---------- Legal / thank-you pages (760px container) ---------- */
.legal { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 56px; }
.legal h1 { font-size: 2.25rem; line-height: 1.15; margin: 0 0 0.5rem; }
.legal .meta { color: var(--mut); margin: 0 0 2rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 0.75rem; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { line-height: 1.6; margin: 0 0 0.75rem; }
.legal ol, .legal ul { padding-left: 1.5rem; margin: 0 0 1rem; }
.legal ol ol { margin-top: 0.5rem; }
.legal .schedule { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--navy); }
.legal .cta-row { margin-top: 2rem; }
.legal .sector-hero { padding: 0 0 24px; }
.legal .sector-hero .lead { margin-top: 0.5rem; }
.legal .calendly-inline-widget { margin-top: 1rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (min-width: 1024px) { .legal { padding: 64px var(--gutter) 72px; } }

/* ==========================================================================
   ILLUSTRATION MOTION (non-human diagrams only)
   Slow loops, staggered, transform/opacity (plus SVG stroke draw on the
   route icon). Everything is switched off under prefers-reduced-motion by
   the global rule in the Motion block above.
   ========================================================================== */
/* Steps 1–3 – static (animations removed by request, Aug 2026). */

/* Hero widget destination cards – gentle float on desktop (uses the standalone
   `translate` property so the .active transform is untouched). */
@media (min-width: 768px) {
  .dest-google { animation: dest-float 7s ease-in-out infinite alternate; }
  .dest-private { animation: dest-float 8.5s ease-in-out -4s infinite alternate; }
}
@keyframes dest-float { from { translate: 0 0; } to { translate: 0 -7px; } }

/* AI email mock – quote, divider, draft and buttons reveal in sequence, then loop */
.ai-quote, .ai-divider, .ai-draft, .ai-actions { animation: ai-reveal 11s var(--ease) infinite backwards; }
.ai-divider { animation-delay: 0.9s; }
.ai-draft { animation-delay: 1.6s; }
.ai-actions { animation-delay: 3.2s; }
@keyframes ai-reveal {
  0% { opacity: 0; transform: translateY(8px); }
  7%, 90% { opacity: 1; transform: translateY(0); }
  96%, 100% { opacity: 0; transform: translateY(0); }
}

/* Sector-page timelines – dots pulse one after another */
.sx-timeline li::before { animation: tl-pulse 6s ease-in-out infinite; }
.sx-timeline li:nth-child(2)::before { animation-delay: 2s; }
.sx-timeline li:nth-child(3)::before { animation-delay: 4s; }
@keyframes tl-pulse { 0%, 18%, 100% { transform: scale(1); } 7% { transform: scale(1.4); } }

@media (prefers-reduced-motion: reduce) {
  .ai-quote, .ai-divider, .ai-draft, .ai-actions { opacity: 1; transform: none; }
  .dest-google, .dest-private { translate: none; }
}
/* ===== end illustration motion ===== */

/* ==========================================================================
   VALUE-EQUATION TICKS + COST LINE (added – sector page agent, Aug 2026)
   .sx-ticks = green tick list inside .sx-cmp; .sx-ticklist = standalone tick list;
   .sx-cost = cost-of-inaction line under "The problem now".
   ========================================================================== */
.sx-cmp.sx-ticks li, .sx-ticklist li { position: relative; padding-left: 30px; }
.sx-cmp.sx-ticks li::before, .sx-ticklist li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.sx-cmp.sx-ticks ul { gap: 10px; }
.sx-cmp.sx-ticks li { line-height: 1.45; }
.sx-ticklist { list-style: none; margin: 24px auto 0; padding: 0; display: grid; gap: 12px; font-size: 17px; line-height: 1.45; }
.sx-ticklist li { max-width: 720px; }
.sx-ticklist li::before { top: .15em; }
.sx-cost { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 15px; font-weight: 600; color: var(--navy); }
/* ===== end value-equation ticks ===== */

/* ==========================================================================
   HOME PAGE REVISIONS (appended block – AI example rotator, bonus-stack values,
   pricing ribbon, scroll-anchoring guards). Later rules here deliberately
   override the earlier .ai-* and .bill-* rules above.
   ========================================================================== */

/* Scroll-anchoring guard: containers with looping motion must never become a
   scroll anchor, and nothing inside them changes layout height. */
.hero-demo, .steps .step-icon, .ai-rotator, .ai-stage, #assistant-root, .sx-timeline { overflow-anchor: none; }

/* AI example rotator – three examples stacked in one grid cell so the block is
   always as tall as the tallest example; only opacity crossfades. */
.ai-rotator { position: relative; }
.ai-stage { display: grid; }
.ai-example {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 600ms var(--ease);
  pointer-events: none;
}
.ai-example.is-active { opacity: 1; pointer-events: auto; }
.ai-rotator .ai-quote, .ai-rotator .ai-divider, .ai-rotator .ai-draft, .ai-rotator .ai-actions { animation: none; opacity: 1; transform: none; }
.ai-via { font-weight: 400; color: var(--mut); font-size: 13px; }
/* Reviewer attribution sits on the star row inside the quoted feedback block */
.ai-rating .ai-name { align-self: center; margin-left: 5px; font-size: 13.5px; font-weight: 600; line-height: 1; color: var(--mut); }
.ai-dots { display: flex; justify-content: center; gap: 8px; padding: 6px 0 14px; background: #fff; }
.ai-dot {
  width: 28px; height: 28px; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.ai-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background-color 200ms ease, transform 200ms ease; }
.ai-dot:hover::before { background: #AEB7C2; }
.ai-dot[aria-pressed="true"]::before { background: var(--navy); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .ai-example { transition: none; } }

/* "What's included" – the value is the eye-catcher */
.inc-val { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; }
.inc-val b { font-family: var(--display); font-size: clamp(28px, 3vw, 32px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--navy); }
.inc-val span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mut); }
.grid article .inc-val + p { margin-top: 0; }

/* Pricing – single included list headed by the total line */
.price-card .ticks.price-inc { margin-top: 22px; }
.price-inc li { margin-bottom: 8px; }
.inc-worth { color: var(--mut); font-size: 14px; white-space: nowrap; }
.price-inc li.inc-total { padding-left: 0; }
.price-inc li.inc-total::before { display: none; }
.price-inc li.inc-total b { font-size: 17px; }

/* Tiered extras: on the monthly plan the annual-only rows grey out and show
   an "Annual plan" tag; the total line above switches with them (app.js). */
/* Monthly view shows ONLY what monthly includes – annual-only rows disappear rather than sit greyed out.
   In their place, one .inc-upsell line prices the add-ons and points at annual. Annual view flips both. */
[data-plan-extras] li[data-tier="annual"] { display: none; }
.is-annual [data-plan-extras] li[data-tier="annual"] { display: list-item; }

/* Pricing – diagonal corner ribbon when "Pay Annually" is selected.
   Flex-centred so the text sits dead centre of the band. */
.price-card::after {
  content: "SAVE £99";
  position: absolute;
  top: 40px; right: -76px;
  width: 280px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
  font: 800 16px/1 var(--display);
  letter-spacing: 0.08em;
  text-align: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.price-card.is-annual::after { opacity: 1; }
/* Below 768px the billing toggle spans the card, so a diagonal band would sit
   on top of it. Use a flush corner band in the card's top padding instead –
   same size feel, text still dead-centred, nothing overlapped. */
@media (max-width: 767px) {
  .price-card::after {
    top: 0; right: 0;
    width: 152px; height: 34px;
    transform: none;
    border-bottom-left-radius: 14px;
    font-size: 14px;
    box-shadow: none;
  }
}

/* Pricing – slow conic ring around the card while "Pay Annually" is selected.
   Only the registered --ring-angle animates (transform-free, no layout);
   browsers without @property, and reduced-motion users, get a static ring. */
@property --ring-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.price-card.is-annual::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2.5px;
  background: conic-gradient(from var(--ring-angle), var(--green), var(--gold) 90deg, var(--green) 180deg, var(--gold) 270deg, var(--green));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: ring-spin 5s linear infinite;
  pointer-events: none;
}
@keyframes ring-spin { to { --ring-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .price-card.is-annual::before { animation: none; } }

/* Benefits section – same cards as "What's included", gentle hover only */
#benefits .grid { margin-top: 32px; }
#benefits .grid article { transition: border-color 240ms var(--ease), background-color 240ms var(--ease), transform 240ms var(--ease), box-shadow 240ms var(--ease); }
#benefits .grid article:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
@media (prefers-reduced-motion: reduce) { #benefits .grid article:hover { transform: none; } }
/* ===== end home page revisions ===== */

/* ==========================================================================
   SECTOR HERO DESTINATION CARDS (for-nhs) – the home hero's .dest cards
   reused inside the floating .hero-stack. The home rules make .dest absolute
   at ≥768px (they position around the phone); inside the stack each card
   fills its slot instead, and the slot supplies the entrance + gentle float
   (transform/opacity only, off under reduced motion via the rules above). */
.hero-stack .dest { width: 100%; max-width: 360px; }
@media (min-width: 768px) {
  .hero-stack .dest { position: relative; right: auto; top: auto; width: 100%; max-width: none; }
  .hero-stack .dest::before { display: block; }
}
@media (min-width: 1200px) {
  .hero-stack .dest { width: 100%; }
}

/* ===================== Contact page (contact.html) ===================== */
.contact-section { padding-top: 16px; }
.contact-inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.contact-h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 16px; }
.contact-form .fld-opt { font-weight: 400; color: var(--mut); }
.contact-form textarea {
  display: block;
  width: 100%;
  min-height: 140px;
  padding: 10px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid #8C98A5;
  border-radius: 8px;
  resize: vertical;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.2); }
.contact-form textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: none; }
.contact-form textarea[aria-invalid="true"] { border-color: var(--red); }
#contact-turnstile { margin-bottom: 16px; }
#contact-turnstile:empty { margin: 0; }
.contact-form.contact-sent .contact-sent-note { font-size: 17px; color: var(--green); font-weight: 600; margin: 0; }
.contact-book {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--hair);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}
.contact-book-sub { color: var(--mut); margin: 0 0 12px; }
.contact-book .help a { color: inherit; }
.contact-book .calendly-inline-widget { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.contact-book [hidden] { display: none; }
@media (min-width: 768px) { .contact-book { padding: 32px; } }
@media (min-width: 1024px) {
  .contact-section { padding-top: 24px; }
  .contact-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}

/* Thank-you page: reassurance blocks */
.thx-locked { background: var(--sky); border: 1px solid rgba(0, 94, 184, 0.2); border-radius: 14px; padding: 20px 24px; margin: 24px 0 8px; }
.thx-locked h2 { margin-top: 0; font-size: 20px; }
.thx-steps { counter-reset: thx; list-style: none; margin: 16px 0 28px; padding: 0; }
.thx-steps li { position: relative; padding: 0 0 14px 44px; counter-increment: thx; }
.thx-steps li::before { content: counter(thx); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.thx-steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--line); }

/* Thank-you community banner */
.thx-join { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; border-radius: 14px; padding: 18px 22px; margin: 20px 0 8px; }
.thx-join svg { flex: none; width: 30px; height: 30px; margin-top: 2px; }
.thx-join p { margin: 0; }
.thx-join b { color: var(--gold); }
.thx-join-tags { margin-top: 10px !important; display: flex; flex-wrap: wrap; gap: 6px; }
.thx-join-tags span { font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; padding: 3px 10px; }

/* ---------- Demo form: progress + one-question-at-a-time qualification ---------- */
.d-progress { margin: 0 0 14px; }
.d-progress-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.d-progress-top span:last-child { color: var(--mut); font-weight: 600; }
.d-pbar { height: 6px; border-radius: 999px; background: rgba(0, 48, 135, 0.12); overflow: hidden; }
.d-pbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--navy)); transition: width 0.35s ease; }
#d-step2 { position: relative; padding-top: 34px; min-height: 260px; }
.d-qcount { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mut); }
.d-qtitle { margin: 0 0 14px; font-size: 19px; }
.d-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.d-chips label { cursor: pointer; }
.d-chips input { position: absolute; opacity: 0; pointer-events: none; }
.d-chips span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: #fff; }
.d-chips-big { flex-direction: column; align-items: stretch; }
.d-chips-big label { display: block; }
.d-chips-big span { display: block; padding: 13px 16px; border-radius: 10px; font-size: 15px; }
.d-chips input:checked + span { border-color: var(--blue); background: var(--sky); color: var(--navy); font-weight: 600; }
.d-chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.d-chips-big span:hover { border-color: var(--blue); }
.d-back { position: absolute; top: 0; left: 0; background: none; border: 0; color: var(--blue); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 4px 0; }

/* ---------- Articles hub ---------- */
.art-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--sky); border: 1px solid rgba(0, 94, 184, 0.25); border-radius: 16px; padding: 22px 26px; margin: 8px 0 30px; }
.art-cta h2 { margin: 0 0 4px; font-size: 22px; }
.art-cta p { margin: 0; color: var(--mut); }
.art-group { margin: 0 0 30px; padding: 0; }
.art-group h2 { margin: 0 0 2px; font-size: 20px; }
.art-group-sub { margin: 0 0 12px; color: var(--mut); font-size: 14px; }
.art-list { list-style: none; margin: 0; padding: 0; }
.art-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.art-list a { font-weight: 600; color: var(--navy); text-decoration: none; }
.art-list a:hover { text-decoration: underline; }
.art-list span { display: block; color: var(--mut); font-size: 13.5px; margin-top: 2px; }
