/* ==========================================================================
   Apexia Labs — site stylesheet
   Shares the Apexia Group palette and typefaces; adds a numbers-first layer.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #17131c;
  --ink-soft: #4a4450;
  --ink-faint: #6e6774;
  --night: #120d18;
  --night-soft: #1d1625;
  --night-line: rgba(255, 255, 255, 0.12);
  --paper: #f5f3f0;
  --paper-deep: #ece8e3;
  --white: #ffffff;
  --purple: #7523e7;
  --purple-deep: #5613b7;
  --purple-light: #a96cff;
  --lavender: #efe6ff;
  --saving: #127a52;
  --saving-light: #5fe0a8;
  --saving-tint: #e3f6ed;
  --cost: #b8405a;
  --cost-light: #ff8fa6;
  --line: rgba(23, 19, 28, 0.12);
  --line-strong: rgba(23, 19, 28, 0.22);
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --shell: min(1240px, calc(100vw - 48px));
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p a,
li a,
.prose a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.num {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section--tight {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--night);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: var(--purple-light);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head h2 {
  margin: 0;
  max-width: 760px;
}

.section-head > p,
.section-head > div > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section--dark .section-head > p {
  color: rgba(255, 255, 255, 0.68);
}

.section-head--stack {
  grid-template-columns: 1fr;
  gap: 16px;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.muted {
  color: var(--ink-soft);
}

.small {
  font-size: 0.85rem;
}

/* Buttons ----------------------------------------------------------------- */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    color 220ms var(--ease),
    transform 220ms var(--ease);
}

.button .icon {
  width: 18px;
  height: 18px;
  transition: transform 220ms var(--ease);
}

.button:hover .icon {
  transform: translateX(3px);
}

.button--primary {
  background: var(--purple);
  color: var(--white);
}

.button--primary:hover {
  background: var(--purple-deep);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.button--ghost:hover {
  border-color: var(--white);
}

.button--outline {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button--outline:hover {
  border-color: var(--ink);
}

.button[disabled] {
  cursor: progress;
  opacity: 0.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-weight: 700;
}

.text-link .icon {
  width: 18px;
  transition: transform 220ms var(--ease);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(18, 13, 24, 0.92);
  border-bottom: 1px solid var(--night-line);
  color: var(--white);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand__mark {
  width: 36px;
  height: 36px;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__name strong {
  color: var(--purple-light);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a:not(.button) {
  padding: 8px 14px;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}

.site-nav > a:not(.button):hover,
.site-nav > a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.site-nav__cta {
  min-height: 44px;
  margin-left: 12px;
  padding: 0 18px;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 16px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle__bars span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform 220ms var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 24px 28px;
    background: var(--night);
    border-bottom: 1px solid var(--night-line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  }

  .js .site-nav {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  }

  .site-nav > a:not(.button) {
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 1.05rem;
  }

  .site-nav__cta {
    min-height: 52px;
    margin: 12px 0 0;
  }

  html:not(.js) .site-header {
    position: static;
  }

  html:not(.js) .site-nav {
    position: static;
    box-shadow: none;
  }

  html:not(.js) .site-header__inner {
    height: auto;
    flex-wrap: wrap;
    padding: 14px 0;
  }
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(117, 35, 231, 0.38), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(95, 224, 168, 0.08), transparent 30%),
    linear-gradient(160deg, #0e0913 0%, #17101f 64%, #22122f 100%);
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(64px, 8vw, 104px);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
}

.hero h1 em {
  color: var(--purple-light);
  font-style: normal;
}

.hero__sub {
  max-width: 560px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 32px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  list-style: none;
}

.hero__note li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__note .icon {
  width: 16px;
  color: var(--saving-light);
  stroke-width: 2;
}

/* Audit card (hero visual) */

.audit-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--night-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.audit-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--night-line);
}

.audit-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--overlap {
  background: rgba(255, 143, 166, 0.14);
  color: var(--cost-light);
}

.tag--unused {
  background: rgba(255, 197, 107, 0.14);
  color: #ffc56b;
}

.tag--manual {
  background: rgba(169, 108, 255, 0.18);
  color: #cba6ff;
}

.audit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--night-line);
}

.audit-list__name {
  font-size: 0.92rem;
  font-weight: 600;
}

.audit-list__meta {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.audit-list__cost {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  text-align: right;
}

.audit-list__cost s {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.audit-list__cost b {
  color: var(--saving-light);
  font-size: 1.05rem;
  font-weight: 600;
}

.audit-card__total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.audit-card__total span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.audit-card__total strong {
  display: block;
  color: var(--saving-light);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 600;
  line-height: 1;
}

.audit-card__caption {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.74rem;
  line-height: 1.5;
}

/* Trust strip */

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  border-left: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.trust-strip li:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-strip .icon {
  color: var(--purple);
}

/* Cards & grids ----------------------------------------------------------- */

.grid {
  display: grid;
  gap: 16px;
}

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

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

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.section--white .card {
  background: var(--paper);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-soft);
}

.card > :last-child {
  margin-bottom: 0;
}

.card__icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 14px;
  background: var(--lavender);
  color: var(--purple);
}

.card__icon .icon {
  width: 24px;
  height: 24px;
}

.card__stat {
  margin: auto 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.card--link {
  transition: border-color 240ms var(--ease), transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.card--link:hover {
  border-color: rgba(117, 35, 231, 0.4);
  box-shadow: 0 22px 60px rgba(58, 33, 75, 0.1);
  transform: translateY(-3px);
}

.card--dark {
  border-color: var(--night-line);
  background: var(--night-soft);
  color: var(--white);
}

.card--dark p {
  color: rgba(255, 255, 255, 0.66);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  color: var(--ink-soft);
}

.check-list .icon {
  width: 18px;
  margin-top: 4px;
  color: var(--saving);
  stroke-width: 2;
}

.section--dark .check-list li,
.card--dark .check-list li {
  color: rgba(255, 255, 255, 0.72);
}

.section--dark .check-list .icon,
.card--dark .check-list .icon {
  color: var(--saving-light);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  background: var(--night-soft);
  counter-increment: step;
}

.step::before {
  display: block;
  margin-bottom: 40px;
  color: var(--purple-light);
  font-family: var(--display);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  content: "0" counter(step);
}

.step::after {
  position: absolute;
  top: 38px;
  right: -17px;
  z-index: 1;
  width: 18px;
  height: 1px;
  background: var(--purple-light);
  content: "";
}

.step:last-child::after {
  display: none;
}

.step h3 {
  font-size: 1.6rem;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
}

.step__out {
  display: block;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--night-line);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
}

.step__out span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Savings example ----------------------------------------------------------- */

.example-flag {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px 18px;
  border: 1px solid #f0d9a8;
  border-radius: var(--radius-sm);
  background: #fff8e8;
  color: #6b5113;
  font-size: 0.88rem;
  line-height: 1.5;
}

.example-flag strong {
  white-space: nowrap;
}

.example {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
}

.ledger {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.section--white .ledger {
  background: var(--paper);
}

.ledger__group + .ledger__group {
  margin-top: 28px;
}

.ledger__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.ledger__head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.ledger__head span {
  color: var(--ink-faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ledger table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.ledger td,
.ledger th {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ledger td:last-child,
.ledger th:last-child {
  padding-left: 16px;
  text-align: right;
  white-space: nowrap;
}

.ledger tfoot th,
.ledger tfoot td {
  border-bottom: 0;
  font-weight: 700;
}

.ledger tfoot td {
  font-family: var(--display);
  font-size: 1.1rem;
}

.ledger__group--current tfoot td {
  color: var(--cost);
}

.ledger__group--proposed tfoot td {
  color: var(--purple);
}

.ledger__group--setup tfoot td {
  color: var(--ink);
}

.ledger__bar {
  height: 10px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--paper-deep);
}

.ledger__bar span {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--bar, var(--ink));
}

.results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-main {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--night);
  color: var(--white);
}

.result-main__label {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
}

.result-main__value {
  margin: 0;
  color: var(--saving-light);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
}

.result-main__value small {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.result-main__sub {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--night-line);
  gap: 20px;
}

.result-stats dt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-stats dd {
  margin: 4px 0 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.payback {
  flex: 1;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.section--white .payback {
  background: var(--paper);
}

.payback h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.payback p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.payback svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.payback__axis {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.payback__zero {
  stroke: var(--ink);
  stroke-dasharray: 3 4;
  stroke-width: 1;
}

.payback__line {
  fill: none;
  stroke: var(--purple);
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.payback__neg {
  fill: rgba(184, 64, 90, 0.12);
}

.payback__pos {
  fill: rgba(18, 122, 82, 0.12);
}

.payback__dot {
  fill: var(--white);
  stroke: var(--purple);
  stroke-width: 2.5;
}

.payback text {
  fill: var(--ink-soft);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
}

.payback__callout {
  fill: var(--ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.example-notes {
  margin: 24px 0 0;
  color: var(--ink-faint);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Proof / commitments ----------------------------------------------------- */

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.proof__placeholder {
  padding: clamp(28px, 4vw, 44px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(23, 19, 28, 0.025) 14px 28px);
}

.proof__placeholder h3 {
  font-size: 1.5rem;
}

.commitments {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: c;
}

.commitments li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  counter-increment: c;
}

.commitments li:last-child {
  border-bottom: 1px solid var(--line);
}

.commitments li::before {
  color: var(--purple);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  content: "0" counter(c);
}

.commitments h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.commitments p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Group band */

.group-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.group-band__mark {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 24px;
  background: var(--night);
}

.group-band__mark img {
  width: 60px;
  height: 60px;
}

.group-band h2 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.group-band p {
  margin: 0;
  color: var(--ink-soft);
}

/* CTA band ---------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(117, 35, 231, 0.45), transparent 40%),
    var(--night);
  color: var(--white);
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.cta-band h2 {
  max-width: 640px;
}

.cta-band__copy > p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.cta-band__options {
  display: grid;
  gap: 12px;
}

.cta-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}

.cta-option:first-child {
  border-color: transparent;
  background: var(--purple);
}

.cta-option:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-option:first-child:hover {
  background: var(--purple-deep);
}

.cta-option strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.cta-option small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.cta-option .icon:first-child {
  width: 26px;
  height: 26px;
}

.cta-band__direct {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-align: center;
}

.cta-band__direct a {
  color: var(--white);
  font-weight: 700;
}

/* Inner page hero --------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 0%, rgba(117, 35, 231, 0.34), transparent 38%),
    linear-gradient(160deg, #0e0913 0%, #17101f 70%, #1f1229 100%);
  color: var(--white);
}

.page-hero__inner {
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
}

.page-hero h1 em {
  color: var(--purple-light);
  font-style: normal;
}

.page-hero p.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero .button-row {
  margin-top: 32px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 8px;
  content: "/";
}

.breadcrumb a:hover {
  color: var(--white);
}

/* Detail rows (solutions / stages) ---------------------------------------- */

.detail-row {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(24px, 6vw, 88px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}

.detail-row:last-child {
  border-bottom: 1px solid var(--line);
}

.detail-row__label {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.detail-row__num {
  color: var(--purple);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
}

.detail-row h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.detail-row__summary {
  color: var(--ink-soft);
}

.detail-row__body .grid--2 {
  margin-top: 8px;
  gap: 28px;
}

.detail-row__body h3 {
  margin-bottom: 12px;
  color: var(--ink-faint);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Commercial model */

.model {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.model > div {
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}

.model > div:first-child {
  border-left: 0;
}

.model__price {
  display: block;
  margin-bottom: 18px;
  color: var(--purple);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.model h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.model p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* FAQ --------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat;
  content: "";
  transition: transform 220ms var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > div {
  max-width: 760px;
  padding: 0 0 24px;
  color: var(--ink-soft);
}

.faq details > div > :last-child {
  margin-bottom: 0;
}

/* Prose ------------------------------------------------------------------- */

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 2em;
  font-size: 1.7rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 6px;
}

/* Notice */

.notice {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--lavender);
  color: #3c1a73;
  font-size: 0.9rem;
  line-height: 1.55;
}

.notice .icon {
  margin-top: 2px;
  color: var(--purple);
}

.notice p {
  margin: 0;
}

.notice--saving {
  background: var(--saving-tint);
  color: #0d4d34;
}

.notice--saving .icon {
  color: var(--saving);
}

/* Booking page & form ----------------------------------------------------- */

.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.booking__aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.booking__aside h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.timeline {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 24px 36px;
}

.timeline li::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 2px solid var(--purple);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.timeline li::after {
  position: absolute;
  top: 24px;
  bottom: 2px;
  left: 6px;
  width: 2px;
  background: var(--line);
  content: "";
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li:last-child::after {
  display: none;
}

.timeline strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
}

.timeline span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.form-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(58, 33, 75, 0.06);
}

.form-card > h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

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

.field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field > span,
.field legend {
  padding: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.field small {
  color: var(--ink-faint);
  font-size: 0.8rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.field select {
  padding-right: 44px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2317131c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 18px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--purple);
  outline: none;
  box-shadow: 0 0 0 4px rgba(117, 35, 231, 0.14);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: var(--cost);
}

fieldset.field {
  min-width: 0;
  border: 0;
}

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

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.choice input {
  position: absolute;
  opacity: 0;
}

.choice .icon {
  color: var(--purple);
}

.choice:has(input:checked) {
  border-color: var(--purple);
  background: var(--lavender);
  box-shadow: inset 0 0 0 1px var(--purple);
}

.choice:has(input:focus-visible) {
  outline: 2px solid var(--purple-light);
  outline-offset: 2px;
}

.form-trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.form-footer p {
  max-width: 380px;
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.8rem;
  line-height: 1.5;
}

.form-status {
  margin: 18px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  padding: 14px 16px;
  border-radius: 10px;
  background: #fdecef;
  color: #8a1f37;
}

.form-success {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--saving-tint);
  color: #0d4d34;
}

.form-success h2 {
  font-size: 1.8rem;
}

.form-success p:last-child {
  margin: 0;
}

.captcha {
  margin-top: 22px;
}

cap-widget {
  display: block;
  --cap-widget-width: 100%;
  --cap-background: #ffffff;
  --cap-color: var(--ink);
  --cap-border-color: var(--line-strong);
  --cap-border-radius: 12px;
  --cap-checkbox-border-radius: 8px;
  --cap-spinner-color: var(--purple);
  --cap-spinner-background-color: var(--lavender);
  --cap-focus-ring: var(--purple-light);
  --cap-font: inherit;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 32px;
  background: #0b0810;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--night-line);
}

.site-footer__tagline {
  max-width: 300px;
  margin: 20px 0 14px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.3;
}

.site-footer__parent {
  margin: 0;
}

.site-footer__parent a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--purple-light);
  font-weight: 700;
  text-decoration: none;
}

.site-footer__parent .icon {
  width: 16px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__col h2 {
  margin: 0 0 6px;
  color: var(--white);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__col a:hover {
  color: var(--white);
}

.site-footer address {
  font-style: normal;
  line-height: 1.6;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.site-footer__bottom a:hover {
  color: var(--white);
}

/* 404 */

.not-found {
  min-height: 60vh;
  display: grid;
  align-content: center;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1100px) {
  .steps,
  .grid--4,
  .model {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(2)::after {
    display: none;
  }

  .model > div:nth-child(3) {
    border-left: 0;
  }

  .model > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .site-footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero__inner,
  .section-head,
  .example,
  .proof,
  .cta-band__inner,
  .detail-row,
  .booking {
    grid-template-columns: 1fr;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .trust-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .trust-strip li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .group-band {
    grid-template-columns: 1fr;
  }

  .booking__aside {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100vw - 32px);
    --header-h: 68px;
  }

  .steps,
  .grid--2,
  .grid--4,
  .model,
  .form-grid,
  .choice-group,
  .trust-strip ul,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .step::after {
    display: none;
  }

  .model > div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .model > div:first-child {
    border-top: 0;
  }

  .trust-strip li {
    padding: 16px 0;
    border-left: 0;
  }

  .trust-strip li + li {
    border-top: 1px solid var(--line);
  }

  .button-row .button {
    width: 100%;
  }

  .audit-card {
    padding: 20px;
  }

  .result-stats {
    grid-template-columns: 1fr 1fr;
  }

  .example-flag {
    flex-direction: column;
    gap: 4px;
  }

  .brand__name {
    font-size: 1.05rem;
  }
}

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

.section-foot {
  margin: 36px 0 0;
}

.text-link--light {
  color: var(--purple-light);
}

.lead--light {
  color: rgba(255, 255, 255, 0.7);
}

.mt-sm {
  margin-top: 14px;
}

.mt {
  margin-top: 24px;
}

.mt-lg {
  margin-top: 32px;
}

/* ==========================================================================
   Plain-English layer (non-technical audience)
   ========================================================================== */

.site-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 8px 6px;
  color: var(--white);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav__phone .icon {
  width: 18px;
  color: var(--saving-light);
}

@media (max-width: 1100px) {
  .site-nav__phone {
    margin: 8px 0 0;
    padding: 14px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.1rem;
  }
}

.button--lg {
  min-height: 60px;
  padding: 0 30px;
  font-size: 1rem;
}

.button .icon:first-child:not(:last-child) {
  margin-right: -4px;
}

/* Sticky bottom bar on phones: call or contact is always one tap away. */
.mobile-bar {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 76px;
  }

  .mobile-bar {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 13, 24, 0.96);
    border-top: 1px solid var(--night-line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .mobile-bar a {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 100px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
  }

  .mobile-bar__call {
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .mobile-bar__cta {
    background: var(--purple);
  }

  .mobile-bar .icon {
    width: 18px;
  }
}

/* "In one sentence" */
.plain__statement {
  max-width: 980px;
  margin-bottom: 48px;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.12;
}

.plain__statement mark {
  padding: 0 0.12em;
  border-radius: 8px;
  background: var(--lavender);
  color: var(--purple-deep);
}

.plain__point {
  display: flex;
  gap: 18px;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.plain__point p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

.plain__num {
  display: inline-grid;
  flex: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Simple example sum */
.simple-sum {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.simple-sum__item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.simple-sum__item--saving {
  border-color: transparent;
  background: var(--night);
  color: var(--white);
}

.simple-sum__label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.simple-sum__item--saving .simple-sum__label,
.simple-sum__item--saving .simple-sum__unit {
  color: rgba(255, 255, 255, 0.7);
}

.simple-sum__value {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
}

.simple-sum__value--cost {
  color: var(--cost);
}

.simple-sum__item--saving .simple-sum__value {
  color: var(--saving-light);
}

.simple-sum__unit {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.simple-sum__arrow {
  color: var(--ink-faint);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
}

.simple-sum__arrow .icon {
  width: 30px;
  height: 30px;
}

.simple-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.simple-facts p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--saving-tint);
  color: #0d4d34;
  font-size: 1.02rem;
}

.simple-facts .icon {
  margin-top: 3px;
  color: var(--saving);
}

.breakdown {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.breakdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.breakdown summary::-webkit-details-marker {
  display: none;
}

.breakdown summary::after {
  color: var(--purple);
  font-size: 0.9rem;
  content: "Show";
}

.breakdown[open] summary::after {
  content: "Hide";
}

.breakdown__body {
  padding: 0 24px 24px;
}

.result-stats--light {
  margin-top: 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.result-stats--light dt {
  color: var(--ink-faint);
}

.result-stats--light dd {
  color: var(--saving);
}

/* FAQ with intro column */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

/* What we do rows */
.detail-row__formal {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-weight: 600;
}

.lead--ink {
  color: var(--ink);
}

.example-box {
  margin-top: 20px;
  padding: 18px 22px;
  border-left: 3px solid var(--purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--white);
}

.example-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.example-box p {
  margin: 0;
}

/* How it works journey */
.journey {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey__step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.journey__num {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 600;
}

.journey__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.journey__head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.journey__cost {
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--saving-tint);
  color: var(--saving);
  font-size: 0.85rem;
  font-weight: 700;
}

.journey__you {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.check-list--lg li {
  font-size: 1.1rem;
}

/* Contact page */
.contact-ways-wrap {
  padding-bottom: 0;
}

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

.contact-way {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}

.contact-way:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}

.contact-way .card__icon {
  margin-bottom: 14px;
}

.contact-way__label {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-way strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-way small {
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.contact-way--primary {
  border-color: transparent;
  background: var(--purple);
  color: var(--white);
}

.contact-way--primary .card__icon {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.contact-way--primary .contact-way__label,
.contact-way--primary small {
  color: rgba(255, 255, 255, 0.8);
}

.field__help {
  margin-top: -4px;
}

@media (max-width: 1100px) {
  .simple-sum {
    grid-template-columns: 1fr;
  }

  .simple-sum__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .simple-sum__arrow:not(:has(.icon)) {
    transform: none;
  }
}

@media (max-width: 900px) {
  .faq-layout,
  .simple-facts,
  .contact-ways {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .journey__step {
    grid-template-columns: 1fr;
  }

  .journey__num {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .breakdown summary,
  .breakdown__body {
    padding-inline: 16px;
  }

  .simple-sum__item {
    padding: 22px;
  }
}

.site-footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer__col .icon {
  width: 16px;
  height: 16px;
  color: var(--purple-light);
}

/* ==========================================================================
   Calm layout (v3): fewer things per screen, centred, lots of space
   ========================================================================== */

.hero--simple .hero__inner {
  display: block;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 9vw, 112px);
  text-align: center;
}

.hero--simple h1 {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.hero--simple .hero__sub {
  max-width: 640px;
  margin-inline: auto;
}

.hero--simple .hero__note {
  justify-content: center;
  margin-top: 28px;
}

.hero__call {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.hero__call a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button-row--center {
  justify-content: center;
}

.center-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 48px);
  text-align: center;
}

.center-head h2 {
  margin-bottom: 10px;
}

.center-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.center-link {
  margin: 36px 0 0;
  text-align: center;
}

.narrow {
  max-width: 820px;
}

.h-md {
  margin-bottom: 20px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

/* Industry tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  height: 100%;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}

.tile:hover,
.tile:focus-visible {
  border-color: var(--purple);
  box-shadow: 0 14px 40px rgba(58, 33, 75, 0.08);
  transform: translateY(-2px);
}

.tile__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--lavender);
  color: var(--purple);
}

.tile__icon .icon {
  width: 24px;
  height: 24px;
}

.tile__text strong {
  display: block;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}

.tile__text small {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.tile > .icon {
  color: var(--ink-faint);
  transition: transform 200ms var(--ease), color 200ms var(--ease);
}

.tile:hover > .icon {
  color: var(--purple);
  transform: translateX(3px);
}

.tiles-note {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  text-align: center;
}

/* Three steps */
.simple-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.simple-steps__num {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
}

.simple-steps h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.simple-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Centred closing CTA */
.cta-band__inner {
  display: block;
  max-width: 760px;
  text-align: center;
}

.cta-band h2 {
  max-width: none;
  margin-bottom: 14px;
}

.cta-band__inner > p:not(.cta-band__direct) {
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.cta-band__direct {
  margin-top: 20px;
}

/* Short page hero */
.page-hero--short .page-hero__inner {
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
}

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

.page-hero .eyebrow .icon {
  width: 18px;
  height: 18px;
}

.page-hero .eyebrow:has(.icon)::before {
  display: none;
}

/* What we do */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service h2 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.service p {
  flex: 1;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.service small {
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.narrow .form-card {
  margin-inline: auto;
}

@media (max-width: 1000px) {
  .tiles,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tiles,
  .service-grid,
  .simple-steps {
    grid-template-columns: 1fr;
  }

  .tile {
    padding: 16px 18px;
  }

  .hero--simple .hero__inner {
    text-align: left;
  }

  .hero--simple .button-row--center,
  .hero--simple .hero__note {
    justify-content: flex-start;
  }
}

li a.tile,
p a.text-link,
p a.button {
  color: inherit;
  text-decoration: none;
}

p a.text-link {
  color: var(--purple);
}

/* ==========================================================================
   Closing form section (every page): real people + short form
   ========================================================================== */

.form-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(117, 35, 231, 0.4), transparent 40%),
    var(--night);
  color: var(--white);
}

.form-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.form-section h2 {
  margin-bottom: 16px;
}

.form-section .lead {
  margin-bottom: 28px;
}

.people {
  margin: 0 0 28px;
}

.people img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 60% 30%;
  border-radius: var(--radius);
}

.people figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.people strong {
  color: var(--white);
}

.reassure {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reassure li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
}

.reassure .icon {
  color: var(--saving-light);
}

.reassure a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-section .form-card {
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.form-card__title {
  margin-bottom: 22px;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
}

.form-stack {
  display: grid;
  gap: 16px;
}

.field-hint {
  margin: -6px 0 0;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.field-hint.is-missing {
  color: var(--cost);
  font-weight: 600;
}

.button--block {
  width: 100%;
  margin-top: 22px;
}

.form-small {
  margin: 14px 0 0;
  color: var(--ink-faint);
  font-size: 0.82rem;
  text-align: center;
}

.form-small a {
  color: inherit;
}

@media (max-width: 900px) {
  .form-section__inner {
    grid-template-columns: 1fr;
  }

  /* On phones the form comes first; people and reassurance follow. */
  .form-section__intro {
    display: contents;
  }

  .form-section__intro h2 {
    order: -3;
  }

  .form-section__intro .lead {
    order: -2;
  }

  .form-section .form-card {
    order: -1;
  }
}

/* Review fixes (v4) ------------------------------------------------------- */

/* Tablets too: keep call + CTA one tap away whenever the menu is collapsed. */
@media (max-width: 1100px) {
  body {
    padding-bottom: 76px;
  }

  .mobile-bar {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 13, 24, 0.96);
    border-top: 1px solid var(--night-line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform 220ms var(--ease);
  }

  .mobile-bar a {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 100px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
  }

  .mobile-bar__call {
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .mobile-bar__cta {
    background: var(--purple);
  }

  .mobile-bar .icon {
    width: 18px;
  }

  .mobile-bar.is-hidden {
    transform: translateY(110%);
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .mobile-bar {
    right: 50%;
    left: auto;
    width: min(560px, calc(100vw - 32px));
    margin-bottom: 12px;
    border: 1px solid var(--night-line);
    border-radius: 100px;
    transform: translateX(50%);
  }

  .mobile-bar.is-hidden {
    transform: translate(50%, 130%);
  }
}

/* What we do: 3 + 2 without orphans. */
@media (min-width: 1001px) {
  .service-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service {
    grid-column: span 2;
  }

  .service:nth-child(4),
  .service:nth-child(5) {
    grid-column: span 3;
  }
}

/* Guides & extra industry content (v5) ----------------------------------- */

.h-sm {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.guide-list,
.link-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

li a.guide-link {
  display: grid;
  gap: 6px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}

li a.guide-link:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}

.guide-link strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.guide-link span {
  color: var(--ink-soft);
}

.guide-link small {
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 700;
}

.guide-title {
  max-width: 860px;
  font-size: clamp(2rem, 4.4vw, 3.3rem) !important;
}

.guide-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.guide-body {
  font-size: 1.08rem;
}

.guide-body h2 {
  margin-top: 1.8em;
  font-size: 1.6rem;
}

.guide-body h3 {
  margin-top: 1.4em;
  font-size: 1.2rem;
}

.guide-body p,
.guide-body li {
  color: var(--ink);
}

.related {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.related h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.related .pill-list a {
  color: var(--ink);
  text-decoration: none;
}

li a.text-link {
  color: var(--purple);
  text-decoration: none;
}

.link-list .text-link .icon {
  flex: none;
}

.prose .pill-list,
.prose .link-list {
  padding-left: 0;
}

.prose .pill-list li + li {
  margin-top: 0;
}

.split-note {
  max-width: 860px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.split-note strong {
  color: var(--ink);
}

.industry-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px !important;
  color: var(--purple-light);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem) !important;
  letter-spacing: -0.01em;
}

.industry-title .icon {
  width: 28px;
  height: 28px;
}

.industry-headline {
  max-width: 900px;
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
