/*
Theme Name: Nuvantio
Theme URI: https://nuvantio.com/
Author: Nuvantio
Author URI: https://nuvantio.com/
Description: Tema corporativo de una sola página para Nuvantio, estudio de sistemas comerciales B2B.
Version: 1.3.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: nuvantio
*/

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Latin-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Latin-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #142b35;
  --ink-soft: #223f49;
  --coral: #f47865;
  --coral-dark: #a33d30;
  --ivory: #f7f5f0;
  --paper: #fffdfa;
  --slate: #4c626b;
  --mist: #d8e0df;
  --mist-strong: #7b8e94;
  --mist-soft: #e9edeb;
  --white: #ffffff;
  --max: 1240px;
  --radius: 12px;
  --shadow: 0 24px 64px rgba(20, 43, 53, 0.08);
  --font-display: "Manrope", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

p,
h1,
h2,
h3,
ul,
ol,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(3rem, 5.25vw, 5.7rem);
}

h2 {
  font-size: clamp(2.25rem, 4.1vw, 4.35rem);
}

h3 {
  font-size: clamp(1.3rem, 1.7vw, 1.75rem);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

::selection {
  color: var(--ink);
  background: rgba(244, 120, 101, 0.4);
}

:focus-visible {
  outline: 3px solid var(--coral-dark);
  outline-offset: 4px;
}

.section--ink :focus-visible,
.contact-panel :focus-visible {
  outline-color: var(--coral);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(96px, 11vw, 164px);
}

.section--rule {
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.kicker {
  margin-bottom: 20px;
  color: var(--slate);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.kicker--coral {
  color: var(--coral);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  color: var(--ink);
  background: transparent;
  transform: translateY(-2px);
}

.button--small {
  min-height: 44px;
  padding: 12px 18px;
  font-size: 0.86rem;
}

.button--coral {
  color: var(--ink);
  background: var(--coral);
  border-color: var(--coral);
}

.button--coral:hover {
  color: var(--white);
  background: transparent;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-display);
  font-weight: 600;
  transition: color 180ms ease;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover {
  color: var(--coral-dark);
}

.text-link:hover span {
  transform: translateX(5px);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 240, 0.96);
  border-bottom-color: var(--mist);
  box-shadow: 0 10px 30px rgba(20, 43, 53, 0.05);
}

.header-inner {
  display: grid;
  min-height: 96px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 200px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  padding-block: 10px;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  padding-top: 148px;
  padding-bottom: 96px;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  align-items: center;
  gap: clamp(54px, 7vw, 104px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.25rem, 4.8vw, 5.45rem);
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero-lead {
  max-width: 680px;
  margin: 32px 0 36px;
  color: var(--slate);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.trust-line {
  max-width: 610px;
  margin: 34px 0 0;
  padding-left: 18px;
  color: var(--slate);
  border-left: 2px solid var(--coral);
  font-size: 0.86rem;
}

.hero-system {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  align-self: center;
}

.hero-system::before {
  position: absolute;
  z-index: -1;
  top: 9%;
  left: 9%;
  width: 82%;
  aspect-ratio: 1;
  background: rgba(216, 224, 223, 0.42);
  border-radius: 50%;
  content: "";
}

.hero-system svg {
  overflow: visible;
}

.route-shadow,
.route-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-shadow {
  stroke: rgba(20, 43, 53, 0.06);
  stroke-width: 62;
  transform: translate(4px, 12px);
}

.route-line {
  stroke: var(--ink);
  stroke-width: 50;
}

.js-enabled .route-line {
  stroke-dasharray: 1180;
  stroke-dashoffset: 1180;
  animation: draw-route 1.5s 350ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.route-origin,
.route-mid {
  fill: var(--ivory);
  stroke: var(--ink);
  stroke-width: 3;
}

.route-origin {
  fill: var(--ink);
}

.route-signal {
  fill: var(--coral);
}

.route-label {
  fill: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-note {
  position: absolute;
  right: -6px;
  padding: 5px 10px;
  color: var(--slate);
  border-right: 1px solid var(--mist);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note--one {
  top: 64%;
}

.hero-note--two {
  top: 71%;
}

.hero-note--three {
  top: 78%;
}

.scroll-cue {
  position: absolute;
  bottom: 42px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--slate);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span:last-child {
  color: var(--coral-dark);
  font-size: 1rem;
  animation: scroll-cue 1.6s ease-in-out infinite;
}

@keyframes draw-route {
  to { stroke-dashoffset: 0; }
}

@keyframes scroll-cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Challenge */
.challenge-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  align-items: start;
}

.section-intro {
  padding-right: clamp(36px, 5vw, 76px);
}

.section-intro h2 {
  margin-bottom: 34px;
}

.section-intro > p:last-child {
  max-width: 530px;
  margin-bottom: 0;
  color: var(--slate);
  font-size: 1.05rem;
}

.symptom {
  min-height: 330px;
  padding: 8px 30px 0;
  border-left: 1px solid var(--mist);
}

.symptom h3 {
  margin: 22px 0 18px;
}

.symptom p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.line-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.symptom--tools {
  padding-top: 74px;
}

.symptom--focus {
  padding-top: 142px;
}

/* Shared headings */
.split-heading {
  display: grid;
  margin-bottom: clamp(64px, 8vw, 104px);
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 64px;
}

.split-heading > p {
  max-width: 520px;
  margin: 0 0 10px auto;
  color: var(--slate);
  font-size: 1.05rem;
}

.split-heading--light > p {
  color: rgba(255, 255, 255, 0.68);
}

/* Loop */
.loop-section {
  overflow: hidden;
}

.loop {
  position: relative;
  min-height: 620px;
}

.loop-path {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-width: 8;
  stroke-linecap: round;
}

.loop-path-accent {
  stroke: var(--coral);
}

.loop-nodes {
  position: relative;
  z-index: 2;
  display: grid;
  padding-top: 86px;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.loop-node {
  position: relative;
  display: flex;
  min-height: 178px;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 12px 18px 92px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.loop-node::before {
  position: absolute;
  top: -18px;
  left: 10px;
  width: 64px;
  height: 64px;
  background: var(--mist-soft);
  border: 1px solid transparent;
  border-radius: 50%;
  content: "";
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.loop-node::after {
  position: absolute;
  top: 5px;
  left: 34px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.loop-node:hover::before,
.loop-node.is-active::before {
  background: var(--coral);
  border-color: var(--coral-dark);
  transform: scale(1.06);
}

.loop-index {
  margin-bottom: 24px;
  color: var(--slate);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.loop-node strong {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.loop-node small {
  color: var(--slate);
  font-size: 0.76rem;
}

.loop-detail {
  max-width: 920px;
  min-height: 245px;
  margin: 86px auto 0;
  padding: 40px 44px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.loop-detail-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
  column-gap: 64px;
}

.loop-detail-panel[hidden] {
  display: none;
}

.loop-detail-label {
  margin-bottom: 12px;
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.loop-detail h3 {
  max-width: 620px;
  margin-bottom: 18px;
}

.loop-detail-panel p:not(.loop-detail-label) {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--slate);
}

.loop-detail ul {
  margin: 0;
  padding: 0;
  align-self: center;
  list-style: none;
}

.loop-detail li {
  padding: 11px 0;
  border-bottom: 1px solid var(--mist);
  font-size: 0.85rem;
}

.loop-detail li:first-child {
  border-top: 1px solid var(--mist);
}

/* Guided fit assistant */
.assistant-section {
  background: var(--paper);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.assistant-heading {
  max-width: 1040px;
  margin-bottom: 54px;
}

.assistant-heading h2 {
  max-width: 980px;
  margin-bottom: 24px;
}

.assistant-heading > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--slate);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.assistant-frame {
  display: grid;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 26px 74px rgba(20, 43, 53, 0.07);
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
}

.assistant-main,
.assistant-reading {
  padding: clamp(32px, 4vw, 52px);
}

.assistant-progress {
  margin-bottom: 34px;
}

.assistant-progress p {
  margin-bottom: 12px;
  color: var(--slate);
  font-size: 0.84rem;
  font-weight: 600;
}

.assistant-progress-track {
  overflow: hidden;
  height: 6px;
  background: var(--mist-soft);
  border-radius: 999px;
}

.assistant-progress-track span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--coral);
  border-radius: inherit;
  transition: width 260ms ease;
}

.assistant-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.js-enabled .assistant-question {
  display: none;
}

.js-enabled .assistant-question:not([hidden]) {
  display: block;
}

.assistant-question + .assistant-question {
  margin-top: 46px;
}

.assistant-question legend {
  width: 100%;
  margin-bottom: 28px;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.assistant-option {
  display: flex;
  min-height: 62px;
  margin-top: 12px;
  padding: 15px 18px;
  align-items: center;
  gap: 16px;
  color: var(--slate);
  background: transparent;
  border: 1px solid var(--mist-strong);
  border-radius: 10px;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.assistant-option:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
  transform: translateY(-1px);
}

.assistant-option:has(input:checked) {
  color: var(--ink);
  background: rgba(244, 120, 101, 0.09);
  border-color: var(--coral-dark);
}

.assistant-option input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--coral-dark);
}

.assistant-option span {
  line-height: 1.4;
}

.assistant-controls {
  display: flex;
  min-height: 56px;
  margin-top: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.assistant-back,
.assistant-reset {
  padding: 10px 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}

.assistant-back:hover,
.assistant-reset:hover {
  color: var(--ink);
  border-bottom-color: currentColor;
}

.assistant-next {
  min-width: 170px;
  justify-content: center;
}

.assistant-next:disabled {
  color: var(--mist-strong);
  background: var(--mist-soft);
  border-color: var(--mist-soft);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.assistant-privacy {
  margin: 24px 0 0;
  color: var(--slate);
  font-size: 0.76rem;
  text-align: center;
}

.assistant-privacy span {
  margin-right: 5px;
  color: var(--coral-dark);
}

.assistant-reading {
  background: rgba(233, 237, 235, 0.38);
  border-left: 1px solid var(--mist);
}

.assistant-reading h3 {
  margin-bottom: 18px;
}

.assistant-reading > p {
  margin-bottom: 42px;
  color: var(--slate);
}

.assistant-route {
  display: grid;
  margin: 6px 0 42px;
  align-items: center;
  grid-template-columns: 20px 1fr 20px 1fr 20px;
}

.assistant-route span,
.assistant-route b {
  width: 20px;
  height: 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.assistant-route span:first-child {
  background: var(--ink);
}

.assistant-route b {
  position: relative;
  border-color: var(--coral-dark);
}

.assistant-route b::after {
  position: absolute;
  right: -2px;
  bottom: 19px;
  width: 22px;
  height: 34px;
  background: var(--coral);
  border-radius: 70% 30% 70% 30%;
  content: "";
  transform: rotate(25deg);
}

.assistant-route i {
  height: 22px;
  border-top: 5px solid var(--ink);
  border-radius: 50%;
}

.assistant-route i:nth-of-type(2) {
  border-color: var(--coral);
}

.assistant-reading dl,
.assistant-result dl {
  margin: 0;
}

.assistant-reading dl > div {
  padding: 18px 0;
  border-top: 1px solid var(--mist);
}

.assistant-reading dt,
.assistant-result dt {
  margin-bottom: 5px;
  color: var(--coral-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.assistant-reading dd {
  min-height: 24px;
  margin: 0;
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.45;
}

.assistant-result {
  padding: clamp(38px, 5vw, 70px);
  grid-column: 1 / -1;
}

.assistant-result h3 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.assistant-result > p:not(.kicker):not(.assistant-disclaimer) {
  max-width: 760px;
  margin-bottom: 44px;
  color: var(--slate);
  font-size: 1.05rem;
}

.assistant-result dl {
  display: grid;
  margin-bottom: 38px;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  grid-template-columns: repeat(3, 1fr);
}

.assistant-result dl > div {
  min-height: 150px;
  padding: 26px 30px 26px 0;
}

.assistant-result dl > div + div {
  padding-left: 30px;
  border-left: 1px solid var(--mist);
}

.assistant-result dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.assistant-result-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.assistant-disclaimer {
  margin: 28px 0 0;
  color: var(--slate);
  font-size: 0.76rem;
}

/* Programs */
.section--ink {
  color: var(--white);
  background: var(--ink);
}

.program-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.program {
  display: grid;
  min-height: 250px;
  padding-block: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  grid-template-columns: 90px minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: 42px;
  transition: background-color 180ms ease;
}

.program:hover {
  background: rgba(255, 255, 255, 0.035);
}

.program-number {
  align-self: start;
  color: var(--coral);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.program-duration {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-main h3 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 2.8vw, 2.65rem);
}

.program-main > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.program-outcome {
  min-height: 122px;
  padding: 28px;
  border-left: 2px solid var(--coral);
}

.program-outcome span {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.program-outcome strong {
  display: block;
  max-width: 300px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.45;
}

.ownership-note {
  display: flex;
  margin: 36px 0 0;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.ownership-note span {
  color: var(--coral);
  font-size: 1.4rem;
}

/* Fit */
.fit-section {
  padding-bottom: 110px;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
}

.fit-heading {
  padding-right: clamp(40px, 7vw, 96px);
}

.fit-column {
  min-height: 480px;
  padding: 16px 40px 42px;
  border-left: 1px solid var(--mist);
}

.fit-symbol {
  display: inline-flex;
  width: 52px;
  height: 52px;
  margin-bottom: 46px;
  align-items: center;
  justify-content: center;
  background: var(--mist-soft);
  border-radius: 50%;
  font-size: 1.15rem;
}

.fit-column--yes .fit-symbol {
  background: var(--coral);
}

.fit-column h3 {
  margin-bottom: 28px;
}

.fit-column ul {
  margin: 0;
  padding: 0;
  color: var(--slate);
  list-style: none;
}

.fit-column li {
  position: relative;
  padding: 15px 0 15px 22px;
  border-bottom: 1px solid var(--mist);
  font-size: 0.89rem;
}

.fit-column li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  content: "";
}

.fit-column--no li::before {
  background: var(--slate);
}

/* Process */
.process-section {
  padding-top: 100px;
  background: var(--paper);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.process-list {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 18px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--mist);
  content: "";
}

.process-step {
  position: relative;
  min-height: 420px;
  padding: 64px 28px 0 0;
}

.process-step:not(:last-child) {
  border-right: 1px solid var(--mist);
}

.process-step:not(:first-child) {
  padding-left: 28px;
}

.process-dot {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 0;
  width: 21px;
  height: 21px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.process-step:not(:first-child) .process-dot {
  left: 28px;
}

.process-dot--coral {
  background: var(--coral);
  border-color: var(--coral);
}

.process-number {
  display: block;
  margin-bottom: 10px;
  color: var(--slate);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: 18px;
}

.process-step > p {
  min-height: 92px;
  color: var(--slate);
  font-size: 0.88rem;
}

.process-step dl {
  margin: 24px 0 0;
}

.process-step dl div {
  padding: 12px 0;
  border-top: 1px solid var(--mist);
}

.process-step dt {
  margin-bottom: 4px;
  color: var(--slate);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-step dd {
  margin: 0;
  font-size: 0.82rem;
}

/* Measures */
.measure-section {
  overflow: hidden;
}

.measure-header {
  display: grid;
  margin-bottom: 80px;
  grid-template-columns: 0.4fr 1.6fr;
  align-items: end;
  gap: 40px;
}

.measure-header .kicker {
  margin-bottom: 10px;
}

.measure-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr 34px);
  align-items: center;
}

.measure-flow .measure-item:last-child {
  grid-column: span 1;
}

.measure-item {
  min-height: 210px;
  padding: 30px 24px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
}

.measure-item span {
  display: block;
  margin-bottom: 40px;
  color: var(--coral-dark);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}

.measure-item strong {
  display: block;
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
}

.measure-item small {
  color: var(--slate);
  font-size: 0.76rem;
}

.measure-arrow {
  color: var(--slate);
  text-align: center;
}

/* Principles */
.principles-section {
  padding-top: 104px;
  background: var(--mist-soft);
}

.principles-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 0.72fr);
}

.principles-title {
  padding-right: 52px;
}

.principle {
  min-height: 390px;
  padding: 8px 28px 28px;
  border-left: 1px solid rgba(20, 43, 53, 0.16);
}

.principle > span {
  display: block;
  margin-bottom: 90px;
  color: var(--coral-dark);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.principle h3 {
  margin-bottom: 18px;
}

.principle p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.85rem;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 10vw, 150px);
}

.faq-heading {
  position: sticky;
  top: 130px;
  height: max-content;
}

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

.faq-item:last-child {
  border-bottom: 1px solid var(--mist);
}

.faq-item summary {
  position: relative;
  padding: 30px 54px 30px 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

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

.faq-item summary::after {
  position: absolute;
  top: 26px;
  right: 2px;
  width: 30px;
  height: 30px;
  color: var(--ink);
  border: 1px solid var(--mist-strong);
  border-radius: 50%;
  content: "+";
  font-size: 1.2rem;
  line-height: 28px;
  text-align: center;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.faq-item[open] summary::after {
  background: var(--coral);
  border-color: var(--coral-dark);
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 690px;
  margin: 0 0 34px;
  color: var(--slate);
}

/* Contact */
.contact-wrap {
  padding: 0 0 42px;
}

.contact-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 690px;
  padding: clamp(54px, 7vw, 92px);
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(60px, 9vw, 120px);
}

.contact-copy {
  position: relative;
  z-index: 2;
}

.contact-copy h2 {
  max-width: 660px;
  margin-bottom: 28px;
}

.contact-copy > p:not(.kicker) {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.contact-ribbon {
  position: absolute;
  right: -30px;
  bottom: -120px;
  left: -90px;
}

.contact-ribbon path:first-child {
  fill: none;
  stroke: var(--white);
  stroke-width: 54;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.16;
}

.contact-ribbon .contact-ribbon-signal {
  fill: var(--coral);
  opacity: 0.95;
}

.contact-form {
  position: relative;
  z-index: 3;
  align-self: center;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
}

.field-optional {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  outline: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.field input {
  min-height: 50px;
  padding: 12px 14px;
}

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

.field input:focus,
.field textarea:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--coral);
}

.field [aria-invalid="true"] {
  border-color: var(--coral);
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: #ffafa2;
  font-size: 0.68rem;
}

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

.consent-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  margin: 4px 0 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  line-height: 1.45;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--coral);
}

.consent-field input[aria-invalid="true"] {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.consent-field a,
.form-note a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--ivory);
  border-radius: 8px;
  font-size: 0.78rem;
}

.assistant-copy,
.text-button {
  padding: 8px 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.assistant-channel-note {
  margin: 18px 0 0;
  color: var(--slate);
  font-size: 0.72rem;
  line-height: 1.5;
}

.contact-form--disabled > :not(.contact-channels) {
  display: none;
}

.contact-channels {
  padding: clamp(30px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.contact-channels > p:first-child {
  max-width: 470px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.65;
}

.contact-channel-actions {
  display: grid;
  gap: 12px;
}

.contact-channel-actions .button {
  width: 100%;
}

.text-button--light {
  width: max-content;
  margin-top: 8px;
  color: var(--white);
}

.contact-channel-note {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  line-height: 1.55;
}

/* Persistent guided conversation */
.conversation-widget {
  position: fixed;
  z-index: 510;
  right: 26px;
  bottom: 24px;
  display: grid;
  justify-items: end;
  gap: 12px;
  transition: opacity 160ms ease, visibility 160ms ease;
}

body.menu-open .conversation-widget {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.conversation-launcher {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 13px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  box-shadow: 0 18px 52px rgba(20, 43, 53, 0.2);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.conversation-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(20, 43, 53, 0.26);
}

.conversation-launcher img {
  width: 31px;
  height: auto;
}

.conversation-menu {
  width: min(340px, calc(100vw - 32px));
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 16px;
  box-shadow: 0 26px 78px rgba(20, 43, 53, 0.18);
}

.conversation-menu-heading {
  display: grid;
  margin-bottom: 16px;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
}

.conversation-menu-heading img {
  width: 34px;
  height: auto;
}

.conversation-menu-heading strong,
.conversation-menu-heading span {
  display: block;
}

.conversation-menu-heading strong {
  font-family: var(--font-display);
  font-size: 0.93rem;
}

.conversation-menu-heading span {
  margin-top: 2px;
  color: var(--slate);
  font-size: 0.72rem;
}

.conversation-choice {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  margin-top: 9px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.conversation-choice--primary {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.conversation-choice span {
  width: 24px;
  color: var(--coral);
  font-size: 1.05rem;
  text-align: center;
}

.conversation-menu > p {
  margin: 14px 2px 0;
  color: var(--slate);
  font-size: 0.68rem;
  line-height: 1.5;
}

body.assistant-drawer-open {
  overflow: hidden;
}

.assistant-drawer {
  position: fixed;
  z-index: 600;
  inset: 0;
}

.assistant-drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 43, 53, 0.56);
  border: 0;
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.assistant-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(900px, calc(100% - 32px));
  height: 100%;
  padding: 34px clamp(24px, 4vw, 52px) 56px;
  overflow-y: auto;
  background: var(--ivory);
  box-shadow: -24px 0 90px rgba(20, 43, 53, 0.2);
}

.assistant-drawer-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
}

.assistant-drawer-header span {
  display: block;
  margin-bottom: 8px;
  color: var(--coral-dark);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.assistant-drawer-header h2 {
  max-width: 680px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.assistant-drawer-close {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--mist-strong);
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.assistant-drawer-intro {
  max-width: 620px;
  margin: 16px 0 30px;
  color: var(--slate);
}

.assistant-frame.is-in-drawer {
  margin: 0;
  grid-template-columns: 1fr;
  box-shadow: 0 18px 55px rgba(20, 43, 53, 0.08);
}

.assistant-frame.is-in-drawer .assistant-reading {
  border-top: 1px solid var(--mist);
  border-left: 0;
}

/* Footer */
.site-footer {
  padding: 30px 0 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.4fr 0.9fr;
  align-items: start;
  gap: 42px;
}

.footer-grid > p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.76rem;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-grid nav a {
  border-bottom: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.75rem;
}

.footer-grid nav a:hover {
  border-bottom-color: var(--coral);
}

.footer-legal p {
  margin-bottom: 7px;
  font-size: 0.68rem;
}

.footer-caveat {
  color: var(--slate);
}

/* Progressive reveal */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 640ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .header-inner {
    gap: 24px;
  }

  .brand img {
    width: 180px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding-top: 136px;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 32px;
  }

  .hero-note {
    display: none;
  }

  .challenge-grid {
    grid-template-columns: 1.15fr repeat(3, 0.95fr);
  }

  .symptom {
    padding-inline: 22px;
  }

  .loop-node {
    padding-left: 76px;
  }

  .program {
    grid-template-columns: 66px minmax(0, 1.15fr) minmax(230px, 0.75fr);
    gap: 26px;
  }

  .fit-grid {
    grid-template-columns: 1fr 0.72fr 0.72fr;
  }

  .fit-column {
    padding-inline: 28px;
  }

  .measure-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .measure-arrow {
    display: none;
  }

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

  .principle {
    padding-inline: 22px;
  }

  .contact-panel {
    padding: 64px 48px;
    gap: 54px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(calc(100% - 36px), var(--max));
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand img {
    width: 174px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    z-index: 102;
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--mist-strong);
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 17px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

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

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

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 96px 34px 42px;
    background: var(--ivory);
    opacity: 0;
    transform: translateY(-18px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--mist);
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 145px;
    padding-bottom: 100px;
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .hero-system {
    width: min(100%, 590px);
    margin-inline: auto;
  }

  .scroll-cue {
    display: none;
  }

  .challenge-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .section-intro {
    padding-right: 0;
    padding-bottom: 60px;
    grid-column: 1 / -1;
  }

  .symptom {
    min-height: 280px;
    padding: 34px 28px;
    border-top: 1px solid var(--mist);
  }

  .symptom--focus {
    grid-column: 1 / -1;
  }

  .symptom--tools,
  .symptom--focus {
    padding-top: 34px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split-heading > p {
    margin-left: 0;
  }

  .loop {
    min-height: auto;
  }

  .loop-path {
    display: none;
  }

  .loop-nodes {
    padding-top: 0;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .loop-node {
    min-height: 142px;
    padding: 22px 18px 20px 76px;
    background: var(--paper);
    border: 1px solid var(--mist);
    border-radius: var(--radius);
  }

  .loop-node::before {
    top: 22px;
    left: 16px;
    width: 44px;
    height: 44px;
  }

  .loop-node::after {
    top: 36px;
    left: 30px;
  }

  .loop-index {
    margin-bottom: 12px;
  }

  .loop-detail {
    margin-top: 28px;
  }

  .loop-detail-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .assistant-frame {
    grid-template-columns: 1fr;
  }

  .assistant-reading {
    border-top: 1px solid var(--mist);
    border-left: 0;
  }

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

  .assistant-result dl > div {
    min-height: 0;
    padding: 24px 0;
  }

  .assistant-result dl > div + div {
    padding-left: 0;
    border-top: 1px solid var(--mist);
    border-left: 0;
  }

  .program {
    grid-template-columns: 52px 1fr;
  }

  .program-outcome {
    grid-column: 2;
  }

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

  .fit-heading {
    margin-bottom: 64px;
    padding-right: 0;
    grid-column: 1 / -1;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-list::before {
    display: none;
  }

  .process-step {
    min-height: 390px;
    padding: 58px 26px 36px !important;
    border-top: 1px solid var(--mist);
    border-right: 0 !important;
  }

  .process-step:nth-child(odd) {
    border-right: 1px solid var(--mist) !important;
  }

  .process-step .process-dot {
    top: 24px;
    left: 26px !important;
  }

  .measure-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .principles-title {
    margin-bottom: 60px;
    padding-right: 0;
    grid-column: 1 / -1;
  }

  .principle {
    min-height: 320px;
    padding: 0 28px 30px;
  }

  .principle:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(20, 43, 53, 0.16);
    border-left: 0;
    padding-top: 34px;
  }

  .principle > span {
    margin-bottom: 54px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 66px;
  }

  .faq-heading {
    position: static;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    min-height: 340px;
  }

  .contact-ribbon {
    bottom: -80px;
  }

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

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 580px) {
  body {
    font-size: 15px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding-block: 86px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 164px;
    height: auto;
  }

  .hero {
    padding-top: 122px;
    padding-bottom: 78px;
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
    line-height: 1.01;
  }

  .hero-lead {
    margin: 26px 0 30px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-line {
    margin-top: 30px;
  }

  .hero-system svg {
    margin-inline: auto;
  }

  .route-label {
    font-size: 16px;
  }

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

  .section-intro,
  .symptom--focus {
    grid-column: 1;
  }

  .symptom {
    min-height: 0;
    padding: 34px 12px;
    border-left: 0;
  }

  .loop-nodes {
    grid-template-columns: 1fr;
  }

  .loop-detail {
    padding: 30px 24px;
  }

  .assistant-heading {
    margin-bottom: 36px;
  }

  .assistant-main,
  .assistant-reading,
  .assistant-result {
    padding: 30px 22px;
  }

  .assistant-question legend {
    margin-bottom: 22px;
  }

  .assistant-option {
    min-height: 58px;
    padding: 13px 14px;
    gap: 12px;
  }

  .assistant-controls,
  .assistant-result-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .assistant-next,
  .assistant-result-actions .button {
    width: 100%;
  }

  .assistant-back,
  .assistant-reset {
    align-self: flex-start;
  }

  .program {
    min-height: 0;
    padding-block: 36px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .program-number,
  .program-main,
  .program-outcome {
    grid-column: 1;
  }

  .program-outcome {
    min-height: 0;
    margin-top: 16px;
    padding: 20px 22px;
  }

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

  .fit-heading,
  .fit-column {
    grid-column: 1;
  }

  .fit-column {
    min-height: 0;
    padding: 40px 12px;
    border-top: 1px solid var(--mist);
    border-left: 0;
  }

  .fit-symbol {
    margin-bottom: 28px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 0;
    padding: 58px 8px 44px !important;
    border-right: 0 !important;
  }

  .process-step:nth-child(odd) {
    border-right: 0 !important;
  }

  .process-step .process-dot {
    left: 8px !important;
  }

  .process-step > p {
    min-height: 0;
  }

  .measure-flow {
    grid-template-columns: 1fr;
  }

  .measure-item {
    min-height: 176px;
  }

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

  .principle,
  .principle:last-child {
    min-height: 0;
    padding: 34px 8px 42px;
    border-top: 1px solid rgba(20, 43, 53, 0.16);
    border-left: 0;
    grid-column: 1;
  }

  .principle > span {
    margin-bottom: 34px;
  }

  .contact-wrap {
    padding-bottom: 28px;
  }

  .contact-panel {
    width: min(calc(100% - 20px), var(--max));
    min-height: 0;
    padding: 48px 24px;
    gap: 42px;
  }

  .contact-copy {
    min-height: 390px;
  }

  .contact-ribbon {
    right: -70px;
    bottom: -24px;
    left: -80px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .conversation-widget {
    right: 12px;
    bottom: 12px;
  }

  .conversation-launcher {
    min-height: 54px;
    padding: 9px 15px 9px 11px;
  }

  .conversation-launcher span {
    max-width: 142px;
    line-height: 1.2;
  }

  .assistant-drawer-panel {
    width: 100%;
    padding: 22px 16px 40px;
  }

  .assistant-drawer-header {
    gap: 12px;
  }

  .assistant-drawer-header h2 {
    font-size: 2rem;
  }

  .assistant-drawer-close {
    width: 42px;
    height: 42px;
  }

  .assistant-drawer-intro {
    margin-bottom: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Editorial, legal and not-found templates */
.content-template {
  background: var(--cream);
}

.content-page {
  min-height: 68vh;
  padding-top: 180px;
  padding-bottom: 120px;
}

.content-page__article,
.content-page__heading,
.content-list,
.navigation.pagination {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.content-page__heading {
  margin-bottom: 48px;
}

.content-page__heading h1,
.content-page__not-found h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  letter-spacing: -0.06em;
}

.content-page__body {
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.8;
}

.content-page__body > * + * {
  margin-top: 1.5em;
}

.content-page__body h2,
.content-page__body h3 {
  margin-top: 2.2em;
  color: var(--ink);
}

.content-page__body a,
.content-card a {
  color: var(--ink);
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.content-list {
  display: grid;
  gap: 20px;
}

.content-card {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
}

.content-card__meta {
  margin-bottom: 8px;
  color: var(--coral-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-card h2 {
  margin-bottom: 12px;
}

.content-page__not-found {
  padding: 72px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-page__not-found p:not(.kicker) {
  max-width: 590px;
  margin: 22px 0 34px;
  color: var(--slate);
}

@media (max-width: 720px) {
  .content-page {
    padding-top: 126px;
    padding-bottom: 80px;
  }

  .content-page__not-found {
    padding: 42px 24px;
  }
}
