/*
 * Refined Coaching — main stylesheet.
 * Ported from Reference/globals.css (Next.js/React version). Design tokens,
 * layout and components are kept 1:1; the Google Fonts @import was moved to
 * a separately enqueued stylesheet (see functions.php) and legal-page /
 * post-list rules were added because Reference did not ship CSS for those.
 */

:root {
  --page-bg: #0c0c0d;
  --ink: #f4f2ed;
  --ink-strong: #ffffff;
  --ink-soft: rgba(244, 242, 237, 0.62);
  --paper: #171719;
  --mist: #1d1d20;
  --line: rgba(244, 242, 237, 0.14);
  --accent: #e6543f;
  --accent-strong: #c8422f;
  --accent-tint: rgba(230, 84, 63, 0.16);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-btn: 8px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 20px 46px rgba(0, 0, 0, 0.5);
  --font-display: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink-strong);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  line-height: 1.55;
  color: var(--ink-soft);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

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

.site-shell {
  overflow-x: clip;
}

.section-frame {
  padding: clamp(56px, 9vw, 128px) clamp(20px, 6vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
}

.section-intro {
  max-width: 620px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-intro h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.section-intro p {
  margin-top: 10px;
  font-size: 17px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 6vw, 48px);
  background: rgba(12, 12, 13, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), padding 0.3s var(--ease);
}

.site-header-scrolled {
  border-bottom-color: var(--line);
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-strong);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.mark-main {
  fill: none;
  stroke: var(--ink-strong);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.mark-accent {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.site-header nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink);
}

.header-cta {
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.header-cta:hover {
  background: var(--accent-strong);
}

@media (max-width: 760px) {
  .site-header nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
}

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

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(35px, 4vw, 48px);
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.04;
}

.hero-intro {
  margin-top: 20px;
  font-size: 18px;
  max-width: 46ch;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s var(--ease);
}

.text-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

.text-link:hover {
  color: var(--ink-strong);
}

@media (min-width: 861px) {
  .hero-actions {
    flex-wrap: nowrap;
  }
}

.hero-visual {
  position: relative;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(12, 12, 13, 0) 45%, rgba(12, 12, 13, 0.55) 100%),
    linear-gradient(90deg, rgba(12, 12, 13, 0.35) 0%, rgba(12, 12, 13, 0) 30%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    display: flex;
    justify-content: center;
  }
  .hero-visual img {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Credential strip ---------- */

.credential-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 0;
  padding: 12px clamp(20px, 6vw, 48px) 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}

.credential-item:first-child {
  border-left: none;
  padding-left: 0;
}

.credential-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
}

.credential-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.credential-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  line-height: 1.2;
}

@media (max-width: 760px) {
  .credential-item {
    padding: 0 16px;
  }
  .credential-icon {
    width: 32px;
    height: 32px;
  }
  .credential-icon svg {
    width: 15px;
    height: 15px;
  }
  .credential-text {
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .credential-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .credential-item {
    border-left: none;
    padding: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .credential-item:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ---------- Method ---------- */

.method-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.method-item {
  padding: 22px;
  background: var(--mist);
  border-radius: var(--radius-md);
}

.method-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.method-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.method-item p {
  font-size: 14px;
}

@media (max-width: 900px) {
  .method-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .method-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Comparison table ---------- */

.coaching {
  background: var(--mist);
  border-radius: var(--radius-lg);
  max-width: 1180px;
}

.compare-table {
  display: grid;
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.compare-row {
  display: grid;
  grid-template-columns: 140px repeat(5, minmax(170px, 1fr));
  border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-cell {
  padding: 16px 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.compare-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

.compare-program-head {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 24px;
  padding-bottom: 20px;
}

.compare-program-head h3 {
  font-size: 17px;
}

.compare-tagline {
  font-size: 13px;
  color: var(--ink-soft);
  min-height: 34px;
}

.compare-price {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 6px;
}

.compare-featured {
  background: var(--accent-tint);
}

.featured-tag {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 3px 9px;
  border-radius: var(--radius-btn);
}

/* On the desktop comparison table, float the badge above the title instead
 * of stacking it in-flow, so all five package titles stay on one line. */
.compare-program-head .featured-tag {
  position: absolute;
  top: 2px;
  left: 0;
}

.compare-ideal {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 24px;
}

.compare-ideal p {
  font-size: 13px;
}

.compare-ideal button {
  border: 1px solid var(--ink-strong);
  background: transparent;
  color: var(--ink-strong);
  border-radius: var(--radius-btn);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.compare-ideal button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.compare-ideal button:hover {
  background: var(--ink-strong);
  color: var(--page-bg);
}

.compare-featured .compare-ideal button {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.compare-featured .compare-ideal button:hover {
  background: var(--accent-strong);
}

.compare-mobile {
  display: none;
}

@media (max-width: 900px) {
  .coaching {
    background: transparent;
    padding-left: 0;
    padding-right: 0;
  }
  .coaching .section-intro {
    padding: 0 clamp(20px, 6vw, 48px);
  }
  .compare-table {
    display: none;
  }
  .compare-mobile {
    display: grid;
    gap: 16px;
    padding: 0 clamp(20px, 6vw, 48px);
  }
  .compare-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-card);
  }
  .compare-card.compare-featured {
    background: var(--accent-tint);
    border-color: var(--accent);
  }
  .compare-card h3 {
    font-size: 18px;
    margin-top: 8px;
  }
  .compare-card-facts {
    margin: 16px 0;
    display: grid;
    gap: 10px;
  }
  .compare-card-facts div {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
  }
  .compare-card-facts dt {
    color: var(--ink-soft);
  }
  .compare-card-facts dd {
    margin: 0;
    font-weight: 500;
    color: var(--ink-strong);
    text-align: right;
  }
  .compare-card-ideal {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .compare-card button {
    width: 100%;
    border: none;
    background: var(--ink-strong);
    color: var(--page-bg);
    border-radius: var(--radius-btn);
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .compare-card.compare-featured button {
    background: var(--accent);
    color: #fff;
  }
  .compare-card button svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }
}

/* ---------- Coach ---------- */

.section-split {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
}

.coach-copy h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.coach-lead {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink);
}

.coach-copy p {
  margin-top: 10px;
}

.coach-proof {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.coach-proof li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

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

.coach-proof span {
  color: var(--ink-soft);
}

.text-button {
  border: none;
  background: none;
  padding: 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ---------- Tracking ---------- */

.tracking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tracking-card {
  padding: 24px;
  background: var(--mist);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.tracking-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.tracking-card p {
  font-size: 14px;
}

@media (max-width: 900px) {
  .tracking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

.faq-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-list details {
  background: var(--paper);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-strong);
}

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

.faq-list summary span {
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.2s var(--ease);
}

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

.faq-list details p {
  margin-top: 12px;
  font-size: 14px;
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: clamp(56px, 9vw, 96px) 24px;
  max-width: 1180px;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  font-size: 17px;
}

.final-action {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.final-action .button-primary {
  background: var(--page-bg);
  color: #fff;
}

.final-action .button-primary:hover {
  background: #000;
}

.final-action small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 32px clamp(20px, 6vw, 48px) 96px;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer nav a {
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
}

/* ---------- WhatsApp float ---------- */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1c1c1e;
  border-radius: var(--radius-btn);
  padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

.whatsapp-glyph {
  fill: #25d366;
}

@media (max-width: 640px) {
  .whatsapp-float-label {
    display: none;
  }
  .whatsapp-float {
    padding: 12px;
  }
}

/* ---------- Mobile sticky CTA ---------- */

.mobile-sticky {
  display: none;
}

@media (max-width: 640px) {
  .mobile-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(12, 12, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .mobile-sticky.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-sticky button {
    width: 100%;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    padding: 14px;
    border-radius: var(--radius-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .mobile-sticky svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }
}

/* ---------- Intake dialog ---------- */

.intake-dialog {
  border: none;
  padding: 0;
  border-radius: var(--radius-lg);
  width: min(560px, 92vw);
  max-height: 88vh;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.intake-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.dialog-shell {
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}

.dialog-topbar {
  position: relative;
  padding: 20px 60px 14px 24px;
  border-bottom: 1px solid var(--line);
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

.progress-copy strong {
  color: var(--ink-strong);
  white-space: nowrap;
}

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

.progress-track {
  margin-top: 12px;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.42s var(--ease);
}

.close-button {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 30px;
  height: 30px;
  border: none;
  background: var(--mist);
  border-radius: 50%;
}

.close-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-button span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.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;
}

@keyframes step-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-content {
  animation: step-enter 0.22s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .step-content {
    animation: none;
  }
}

.step-hint {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.funnel-form {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.funnel-body {
  padding: 22px 24px;
  overflow-y: auto;
}

.dialog-heading h2 {
  font-size: 21px;
}

.dialog-heading span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}

.selection-group {
  border: none;
  padding: 0;
  margin: 22px 0 0;
}

.selection-group legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-strong);
  padding: 0;
  margin-bottom: 10px;
}

.field-error {
  color: #c0392b;
  font-size: 13px;
  margin: 0 0 8px;
}

.choice-grid {
  display: grid;
  gap: 8px;
}

.choice {
  position: relative;
  display: block;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.check-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}

.choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent-tint);
}

.choice input:checked + span .check-icon {
  opacity: 1;
}

.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.selected-route {
  margin-top: 22px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--mist);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.selected-route span {
  font-size: 12px;
  color: var(--ink-soft);
}

.selected-route strong {
  font-size: 16px;
}

.selected-route small {
  color: var(--ink-soft);
  font-size: 12px;
}

.back-button {
  border: none;
  background: none;
  padding: 0;
  font-size: 13px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.funnel-footer {
  padding: 16px 24px 22px;
  border-top: 1px solid var(--line);
}

.form-submit {
  width: 100%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s var(--ease);
}

.form-submit:hover {
  background: var(--accent-strong);
}

.form-submit svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-microcopy {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
}

.contact-field {
  display: block;
  margin-top: 16px;
}

.contact-field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-field input {
  width: 100%;
  padding: 13px 14px;
  background: var(--mist);
  color: var(--ink-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
}

.contact-field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.privacy-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- Honeypot (spam trap, must stay off-screen but present) ---------- */

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Consent checkbox ---------- */

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  cursor: pointer;
}

.consent-field input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.consent-field span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.consent-field a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Intake confirmation ---------- */

.confirmation-content {
  text-align: center;
  padding: 12px 0 24px;
}

.confirmation-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: var(--accent);
}

.confirmation-icon svg {
  width: 100%;
  height: 100%;
}

.confirmation-content .dialog-heading {
  text-align: center;
}

.confirmation-message {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- Legal pages (privacy / algemene voorwaarden / generic page.php) ----------
 * Not present in Reference/globals.css — added to match the site's design
 * tokens (colors, radii, fonts) since Reference only shipped markup for
 * these pages, not their styling. */

.legal-page {
  padding-top: clamp(40px, 7vw, 80px);
}

.legal-document {
  max-width: 760px;
  margin: 0 auto;
}

.legal-document .eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.legal-intro h1 {
  font-size: clamp(30px, 4.5vw, 44px);
}

.legal-intro p {
  margin-top: 14px;
  font-size: 17px;
}

.legal-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 32px 0;
  padding: 16px 20px;
  background: var(--mist);
  border-radius: var(--radius-md);
}

.legal-summary a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.legal-summary a:hover {
  color: var(--accent);
}

.legal-document section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-document section:first-of-type {
  border-top: none;
}

.legal-document h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.legal-document p {
  font-size: 15px;
}

.legal-document ol,
.legal-document ul {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-document li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.legal-document a {
  color: var(--accent);
}

.legal-details {
  margin: 16px 0 0;
  display: grid;
  gap: 6px;
}

.legal-details div {
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.legal-details dt {
  color: var(--ink-soft);
  min-width: 90px;
}

.legal-details dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink-strong);
}

.legal-contact {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.legal-version {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
}

.legal-version p {
  font-size: 13px;
}

/* ---------- Blog fallback (index.php) ---------- */

.post-list {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.post-list-item {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.post-list-item h2 {
  font-size: 22px;
}

.post-list-item h2 a {
  text-decoration: none;
}

.post-list-excerpt {
  margin-top: 8px;
  font-size: 15px;
}
