/* Ascension BPM outreach page: same brand as ascensionbpm.com, its own composition.
   The offer is stated outright over a Soufrière panorama, then one uneven tile grid.
   Brand teal for shapes and marks; deep teal wherever white text sits on it. Manrope headings over Inter text. */

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

:root {
  --white: #ffffff;
  --tint: #f3f6f6;
  --line: #e3e8ea;
  --field: #d0d5dd;
  --navy: #102136;
  --slate: #475467;
  --slate-2: #5d6b7c;
  --teal: #3aa68e;
  --teal-600: #197a61;
  --teal-700: #135f4b;
  --teal-50: #eaf5f1;
  --teal-100: #cdebe2;
  --teal-on-dark: #8fdcc6;
  --deep: #0f3f35;
  --error: #b42318;
  --error-50: #fef3f2;

  --f-display: "Manrope", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.07);
  --shadow-md: 0 12px 24px -8px rgba(16, 24, 40, 0.12), 0 4px 8px -4px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 28px 56px -16px rgba(16, 24, 40, 0.28);
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--teal-100); color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 2px; border-radius: 6px; }
.section--deep :focus-visible, .tile--keep :focus-visible { outline-color: var(--white); }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--f-display); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--teal-600); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--teal-700); }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--navy); font-weight: 600; }
abbr[title] { text-decoration: none; color: var(--error); }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--navy); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus, .skip:hover { top: 1rem; color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.noscript { padding: 1rem var(--gutter); background: var(--tint); }

/* Resolve-before-reveal: no flash of generic content on ?ref= links. */
[data-state="resolving"] [data-dynamic] { visibility: hidden; }

.container { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Icons and buttons ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--arrow { transition: transform 0.25s var(--out); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--f-body);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--out);
}
.btn:hover .i--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-busy="true"] { cursor: progress; opacity: 0.7; }
.btn--primary { background: var(--teal-600); color: var(--white); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1); }
.btn--primary:hover { background: var(--teal-700); color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--field); }
.btn--outline:hover { border-color: var(--teal-600); color: var(--teal-700); }
.btn--block { width: 100%; }
.btn--sm { min-height: 2.6rem; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn--lg { min-height: 3.4rem; padding: 0.85rem 1.6rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; min-height: 4.75rem; }
.logo img { width: auto; height: 2.1rem; }
.site-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.site-nav a, .site-header__phone { color: var(--slate); font-weight: 500; font-size: 0.975rem; text-decoration: none; }
.site-nav a:hover, .site-header__phone:hover { color: var(--teal-600); }
.site-header__phone { color: var(--navy); white-space: nowrap; }

/* ---------- Hero: headline, then the offer stated ---------- */
/* No background: the offer bar must overlap the panorama, not a white box. */
.hero { position: relative; z-index: 2; }
.hero__inner { padding-top: clamp(2rem, 1rem + 2.6vw, 3.25rem); }
.hero h1 { font-size: clamp(2.3rem, 1.2rem + 3.1vw, 4rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; max-width: 24ch; }
.h1__second { color: var(--teal-600); }
.hero__lede { margin-top: 1rem; max-width: 40rem; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--slate); }

/* The signature: the offer as hard facts, straddling the panorama's top edge. */
.offer {
  position: relative;
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto;
  grid-template-areas: "lead lead lead action" "fact1 fact2 . action";
  align-items: center; gap: 1.1rem clamp(1.5rem, 1rem + 2vw, 3rem);
  margin-top: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); margin-bottom: -4.5rem;
  padding: clamp(1.4rem, 1rem + 1.2vw, 1.9rem) clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.offer__title { font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
.offer__wf { margin-top: 0.25rem; font-size: 0.95rem; color: var(--slate-2); }
.offer__fact { display: grid; }
.offer__fact + .offer__fact { padding-left: clamp(1.5rem, 1rem + 2vw, 3rem); border-left: 1px solid var(--line); }
.offer__fact strong { font: 800 clamp(2rem, 1.6rem + 1.2vw, 2.75rem)/1 var(--f-display); letter-spacing: -0.03em; }
.offer__fact span { margin-top: 0.3rem; font-size: 0.9rem; color: var(--slate-2); }
.offer__lead { grid-area: lead; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.offer__fact:nth-of-type(1) { grid-area: fact1; }
.offer__fact:nth-of-type(2) { grid-area: fact2; }
.offer__action { grid-area: action; align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.6rem; padding-left: clamp(1.5rem, 1rem + 2vw, 3rem); border-left: 1px solid var(--line); }
.offer__note { font-size: 0.85rem; color: var(--slate-2); }

.panorama { position: relative; z-index: 1; height: clamp(17rem, 10rem + 18vw, 28rem); overflow: hidden; }
.panorama img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.panorama::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(9, 22, 36, 0.55), transparent); pointer-events: none; }
.panorama figcaption { position: absolute; inset: auto 0 1.25rem 0; z-index: 1; font-size: 0.92rem; font-weight: 500; }
.panorama figcaption span { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--navy); color: var(--white); }

@media (prefers-reduced-motion: no-preference) {
  .js[data-state="ready"] .hero h1, .js[data-state="ready"] .hero__lede { animation: rise 0.7s var(--out) both; }
  .js[data-state="ready"] .offer { animation: rise 0.7s var(--out) 0.12s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 2.5rem + 5vw, 6.5rem); }
.section--tint { background: var(--tint); }
.section--deep { background: var(--deep); color: rgba(255, 255, 255, 0.86); }
.section h2 { font-size: clamp(1.85rem, 1.3rem + 1.7vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-lede { margin-top: 0.9rem; font-size: 1.15rem; color: var(--slate); }
.fine { margin-top: 1rem; font-size: 0.9rem; color: var(--slate-2); }

.ticks { display: grid; gap: 0.5rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ticks .i { margin-top: 0.2em; color: var(--teal-600); }

/* ---------- Tile grid ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem; }
.tile { position: relative; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.bento .tile h2 { font-size: 1.35rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.tile > p { margin-top: 0.75rem; }
.tile__sub { color: var(--slate-2); }

.tile--steps { grid-column: 1 / span 7; grid-row: span 2; }
.bento .tile--steps h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.02em; }
.steps { margin-top: 1.5rem; }
.steps li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); font: 700 0.95rem/1 var(--f-display); }
.steps__text { color: var(--navy); font-weight: 600; line-height: 1.4; }
.steps li.is-client .steps__n { background: var(--navy); color: var(--white); }
.steps__who { padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }

.tile--keep { grid-column: 8 / span 5; background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.bento .tile--keep .tile__big { font: 700 clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem)/1.35 var(--f-display); color: var(--white); letter-spacing: -0.01em; }
.tile__foot { font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }

.tile--judged { grid-column: 8 / span 5; background: var(--teal-50); box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.chips li { padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--white); color: var(--teal-700); font-size: 0.88rem; font-weight: 600; }

.bento { row-gap: 1.5rem; column-gap: 1.5rem; }

/* ---------- How every engagement runs ---------- */
.runs { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.rules { margin-top: 2rem; border-bottom: 1px solid var(--line); }
.rules div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.25rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.rules dt { font-weight: 700; color: var(--navy); }
.runs__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 45%; border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ---------- Proof and founder ---------- */
.container--narrow { max-width: 60rem; }
.people { display: grid; gap: clamp(3rem, 2rem + 3vw, 4.5rem); }
.quote { position: relative; text-align: center; }
.quote blockquote p { font: 600 clamp(1.3rem, 1.05rem + 0.9vw, 1.75rem)/1.45 var(--f-display); color: var(--navy); letter-spacing: -0.01em; }
.quote figcaption { display: grid; gap: 0.1rem; margin-top: 1.25rem; font-size: 0.95rem; }
.quote__result { display: inline-block; margin-top: 1.75rem; padding: 0.6rem 1.1rem; border-radius: 999px; background: var(--white); color: var(--navy); font-size: 0.95rem; }
.quote__result strong { color: var(--teal-700); font-weight: 700; }
.quote__qual { margin-top: 0.75rem; font-size: 0.88rem; color: var(--slate-2); }

/* Founder: copy beside a framed portrait. */
.founder { --fp: clamp(1.75rem, 1rem + 2vw, 2.75rem); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(1.75rem, 1rem + 2.5vw, 3rem); align-items: center; overflow: hidden; padding: var(--fp); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.founder h2 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); }
.founder__text p { margin-top: 0.85rem; }
.founder__sig { display: grid; font-size: 0.95rem; }
.founder__text { max-width: 62ch; }
.founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 12px; }
.draft-flag { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--error-50); color: var(--error); font-size: 0.75rem; font-weight: 600; }

/* ---------- Pilot ---------- */
.pilot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.scope { margin: 2rem 0 0.5rem; border-top: 1px solid var(--line); }
.scope__row { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.scope__row dt { font-weight: 600; color: var(--navy); }
.pilot__main .btn { margin-top: 1.75rem; }
.pilot__sub { margin: 2rem 0 1rem; font-size: 1.15rem; font-weight: 700; }
.pilot__card { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius); background: var(--tint); }
.pilot__card h3 { font-size: 1.25rem; font-weight: 700; }
.pilot__card h3 + * { margin-top: 1rem; }
.pilot__card .deliv + h3 { margin-top: 2rem; }
.deliv { counter-reset: d; }
.deliv li { counter-increment: d; display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); column-gap: 0.75rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.deliv li::before { content: counter(d); grid-row: span 2; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--white); color: var(--teal-700); font: 700 0.8rem/1 var(--f-display); }
.deliv strong { font-weight: 600; }
.deliv span { font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.25s var(--out), transform 0.25s var(--out); }
.plan:hover { box-shadow: var(--shadow-md); }
.plan--start { border: 2px solid var(--teal-600); }
.plan.is-selected { border: 2px solid var(--teal-600); background: var(--teal-50); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plans:has(.is-selected) .plan--start:not(.is-selected) { border: 1px solid var(--line); }
.plans:has(.is-selected) .plan--start:not(.is-selected) .btn--primary { background: var(--white); color: var(--navy); border-color: var(--field); box-shadow: none; }
.plan h3 { font-size: 1.25rem; font-weight: 700; }
.plan__hours { margin-top: 0.3rem; font-size: 0.95rem; color: var(--slate); }
.plan__price { margin: 1.5rem 0; display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; font: 800 clamp(2.1rem, 1.7rem + 1vw, 2.6rem)/1 var(--f-display); color: var(--navy); letter-spacing: -0.02em; }
.plan__price span { font: 500 0.95rem/1 var(--f-body); color: var(--slate-2); letter-spacing: 0; }
.plan .btn { margin-top: auto; }
.btn--outline[aria-pressed="true"] { background: var(--teal-600); border-color: var(--teal-600); color: var(--white); }
.plans__status { margin-top: 1.75rem; min-height: 1.6em; text-align: center; font-weight: 600; color: var(--teal-700); }
.plans__note { max-width: 44rem; margin: 0.5rem auto 0; text-align: center; font-size: 0.92rem; color: var(--slate-2); }

/* ---------- Workflow explorer ---------- */
/* With no other workflows in the visitor's industry, the section and its menu link go away. */
#workflows:has([data-slot="explorer"]:empty) { display: none; }
body:has([data-slot="explorer"]:empty) .site-nav a[href="#workflows"] { display: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.tab { min-height: 2.75rem; padding: 0.55rem 1.15rem; border: 1.5px solid var(--field); border-radius: 999px; background: var(--white); color: var(--navy); font: 600 0.95rem/1 var(--f-body); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.tab:hover { border-color: var(--teal-600); }
.tab[aria-selected="true"] { background: var(--teal-600); border-color: var(--teal-600); color: var(--white); }
.panel__keep { margin-bottom: 1.25rem; font-size: 0.95rem; }
.wf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.wf__item { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1.4rem; border-radius: var(--radius); background: var(--tint); }
.wf__item h3 { font-size: 1.15rem; font-weight: 700; }
.wf:not(.wf--single) .wf__head { display: contents; }
.wf:not(.wf--single) .wf__tasks { order: 3; }
.wf:not(.wf--single) .wf__add { order: 4; }
.wf--single { grid-template-columns: minmax(0, 1fr); }
.wf--single .wf__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem 3rem; align-items: start; padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); }
.wf--single .wf__head { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.wf--single .wf__add { margin-top: 0.5rem; }
.wf--single .wf__tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.5rem; }
.tag { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: 0.78rem; font-weight: 600; }
.wf__tasks { display: grid; gap: 0.2rem; font-size: 0.95rem; }
.wf__tasks li { position: relative; padding-left: 1rem; }
.wf__tasks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.68em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.wf__add { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4em; white-space: nowrap; min-height: 2.5rem; padding: 0.45rem 1rem; border: 1.5px solid var(--field); border-radius: 999px; background: var(--white); color: var(--navy); font: 600 0.9rem/1 var(--f-body); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.wf__add:hover { border-color: var(--teal-600); color: var(--teal-700); }
.wf__add[aria-pressed="true"] { background: var(--teal-600); border-color: var(--teal-600); color: var(--white); }

/* ---------- Enquiry ---------- */
.enq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.section--deep h2 { color: var(--white); }
.enq__intro > p { margin-top: 1rem; font-size: 1.1rem; }
.pcard { background: var(--white); color: var(--slate); border-radius: var(--radius); }
.pcard--summary { margin-top: 1.75rem; padding: 1.5rem; box-shadow: var(--shadow-md); }
.pcard__title { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.pcard__rows { margin-top: 1rem; }
.pcard__rows div { display: grid; gap: 0.1rem; padding: 0.75rem 0; border-top: 1px solid var(--line); }
.pcard__rows dt { font-size: 0.8rem; font-weight: 600; color: var(--slate-2); }
.pcard__rows dd { color: var(--navy); font-weight: 500; line-height: 1.45; }
.pcard dd[data-empty] { color: var(--slate-2); }
.pcard dd.is-updated { animation: updated 0.9s var(--out); }
@keyframes updated { from { background: var(--teal-50); } to { background: transparent; } }
.enq__contact { display: grid; gap: 0.6rem; margin-top: 1.75rem; }
.enq__contact li { display: flex; align-items: center; gap: 0.6rem; }
.enq__contact .i { color: var(--teal-on-dark); }
.enq__contact a { color: var(--white); font-weight: 500; }
.section--deep a:hover, .enq__contact a:hover { color: var(--teal-on-dark); }

.enq__card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); background: var(--white); color: var(--slate); box-shadow: var(--shadow-lg); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.input { display: grid; gap: 0.35rem; align-content: start; }
.input--wide { grid-column: 1 / -1; }
.input__label { font-size: 0.9rem; font-weight: 500; color: var(--navy); }
.input input, .input select, .input textarea {
  width: 100%; min-height: 2.9rem; padding: 0.65rem 0.85rem;
  border: 1px solid var(--field); border-radius: 8px; background: var(--white);
  color: var(--navy); font: 400 1rem/1.4 var(--f-body);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input textarea { min-height: 6rem; resize: vertical; }
.input input::placeholder, .input textarea::placeholder { color: #667085; }
.input input:hover, .input select:hover, .input textarea:hover { border-color: #98a2b3; }
.input input:focus, .input select:focus, .input textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(58, 166, 142, 0.2); }
.input [aria-invalid="true"], .input [aria-invalid="true"]:focus { border-color: var(--error); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12); }
.input input:autofill { -webkit-text-fill-color: var(--navy); box-shadow: inset 0 0 0 4rem #f3faf7; }
.input__error { min-height: 1.2em; font-size: 0.85rem; font-weight: 500; color: var(--error); }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 0.9rem; top: 50%; width: 0.9rem; height: 0.9rem; transform: translateY(-50%); pointer-events: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") center / contain no-repeat; }
.form__sensitive { margin: 0.5rem 0 1.25rem; font-size: 0.88rem; color: var(--slate-2); }
.form__privacy { margin-top: 0.35rem; text-align: center; font-size: 0.85rem; color: var(--slate-2); }
.form__support { margin-top: 0.75rem; text-align: center; font-size: 0.92rem; color: var(--slate-2); }
.form__status:not(:empty) { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 8px; background: var(--error-50); color: var(--error); font-size: 0.95rem; }
.form__status a { color: var(--error); font-weight: 600; }
.enq__done { display: grid; justify-items: center; gap: 0.75rem; padding: 2rem 0.5rem; text-align: center; }
.enq__done:focus { outline: none; }
.enq__done-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); }
.enq__done-icon .i { width: 1.75rem; height: 1.75rem; }
.enq__done-icon.is-info { background: var(--tint); color: var(--slate); }
.enq__done-title { font-size: 1.5rem; font-weight: 700; }
.enq__done-text { max-width: 30rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 6rem; font-size: 0.95rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.site-footer__brand img { height: 2rem; width: auto; }
.site-footer__brand p { margin-top: 1rem; max-width: 26rem; }
.site-footer__label { font: 600 0.95rem/1.4 var(--f-body); color: var(--navy); margin-bottom: 0.5rem; }
/* The rule is drawn inside the container's gutters so it lines up with the text above. */
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: 0.875rem; color: var(--slate-2); }
.site-footer__links { display: flex; gap: 1.5rem; }
.site-footer__links a { color: var(--slate); }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(3rem, 2rem + 3vw, 5rem) clamp(4rem, 2.5rem + 5vw, 6.5rem); }
.legal__inner { max-width: 44rem; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; }
.legal__meta { margin-top: 0.5rem; font-size: 0.92rem; color: var(--slate-2); }
.legal h2 { margin-top: 2.5rem; font-size: 1.3rem; font-weight: 700; }
.legal p, .legal ul { margin-top: 0.85rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.legal strong { font-weight: 600; }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 45;
  display: none; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem; border-radius: 14px;
  background: var(--white); box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--out), opacity 0.2s;
}
.dock.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }
.dock__summary { display: grid; min-width: 0; }
.dock__label { font-size: 0.75rem; font-weight: 600; color: var(--slate-2); }
.dock__value { color: var(--navy); font-weight: 600; font-size: 0.92rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dock .btn { flex: none; }

.preview-flag { margin: 0; padding: 0.35rem 1rem; background: var(--error-50); color: var(--error); text-align: center; font-size: 0.8rem; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .site-header__phone { display: none; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--steps { grid-column: 1 / -1; grid-row: auto; }
  .offer { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "lead lead lead" "fact1 fact2 ." "action action action"; }
  .offer__action { flex-direction: row; justify-content: flex-start; padding: 1.1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .tile--keep { grid-column: 1 / span 6; }
  .tile--judged { grid-column: 7 / span 6; }
}

@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-header__inner { justify-content: space-between; }
  .pilot, .enq, .runs { grid-template-columns: minmax(0, 1fr); }
  .wf--single .wf__item { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dock { display: flex; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cta-tail { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .logo img { height: 1.8rem; }
  .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "lead lead" "fact1 fact2" "action action"; margin-bottom: -3rem; }
  .offer__action { flex-direction: column; align-items: stretch; text-align: center; }
  .offer__action .btn { width: 100%; white-space: normal; border-radius: 14px; line-height: 1.3; }
  .panorama img { object-position: 43% 40%; }
  .panorama figcaption span { font-size: 0.8rem; border-radius: 10px; }
  .tile--keep, .tile--judged { grid-column: 1 / -1; }
  .steps li { grid-template-columns: 2.2rem minmax(0, 1fr); }
  .steps__who { grid-column: 2; justify-self: start; }
  .rules div { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .founder { grid-template-columns: minmax(0, 1fr); }
  .founder__photo { order: -1; width: 9rem; }
  .founder__photo img { aspect-ratio: 1; object-position: 50% 10%; }
  .scope__row { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .wf--single .wf__tasks { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

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