/* ==========================================================
   softreset — styles
   Plain CSS, no build step. Sections follow the order the
   pages use them: base, buttons, header, content, booking,
   products, footer, responsive rules, accessibility rules.
   ========================================================== */

:root {
  --navy: #0b1f4b;
  --navy-soft: #24396b;
  --blue: #1d6bff;
  --blue-dark: #1556d6;
  --blue-tint: #e8f0ff;
  --bg: #eef3fd;
  --surface: #ffffff;
  --muted: #56647f;
  --line: #d9e2f4;
  --success-bg: #e6f7ee;
  --success-ink: #14532d;
  --success-line: #b7e4c7;
  --warn-ink: #7a4a00;
  --danger: #b42318;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-sm: 0 2px 8px -4px rgba(11, 31, 75, 0.12);
  --shadow-md: 0 18px 40px -20px rgba(11, 31, 75, 0.25);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Motion vocabulary. Ease-out for things entering or responding; ease-in-out for things moving between places. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Base ---------- */

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

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  background:
    radial-gradient(1200px 600px at 50% -10%, #ffffff 0%, transparent 60%),
    linear-gradient(180deg, #f4f7fe 0%, var(--bg) 100%);
}

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

a {
  color: inherit;
}

main a:not(.btn) {
  color: var(--blue);
  text-underline-offset: 3px;
}

/* Tracking and leading are set per size: large type tightens, small type stays open. */
h1,
h2,
h3 {
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

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

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.center {
  text-align: center;
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-tight {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 44rem;
}

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

.muted-inline {
  font-weight: 400;
  opacity: 0.7;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 3px solid rgba(29, 107, 255, 0.45);
  outline-offset: 3px;
  border-radius: 8px;
}

.noscript-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.noscript-links a {
  color: var(--blue);
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.8rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s var(--ease-out);
}

/* Press feedback happens on pointer-down, not on release. */
.btn:active:not(:disabled) {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(29, 107, 255, 0.7);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 1.8rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  background: rgba(255, 255, 255, 0.72);
  /* A soft edge where the header meets content, instead of a hard line. */
  box-shadow: 0 12px 24px -22px rgba(11, 31, 75, 0.45);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.logo svg {
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline: auto;
}

/* Scoped to plain links so button styles inside the nav keep their own colours. */
.site-nav > a:not(.btn) {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
}

.site-nav > a.is-active {
  background: var(--blue-tint);
  color: var(--blue);
}

.mobile-only {
  display: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  place-items: center;
  color: var(--navy);
}

.nav-toggle {
  transition: transform 100ms ease-out;
}

.nav-toggle:active {
  transform: scale(0.94);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(29, 107, 255, 0.1), transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.hero h1 {
  max-width: 16ch;
  margin-inline: auto;
}

.hero .lead {
  margin: 0 auto 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-note {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.page-hero {
  padding: clamp(3rem, 7vw, 4.75rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 22ch;
}

.jump-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.jump-links a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

/* Landing page trust line */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 1.75rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.trust-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

/* ---------- Trust, steps, process ---------- */

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 226, 244, 0.6);
  box-shadow: var(--shadow-sm);
}

.process-list h3 {
  margin-bottom: 0.3rem;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

/* ---------- Cards and lists ---------- */

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(217, 226, 244, 0.6);
}

.card > h2 {
  font-size: 1.45rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.checks li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.45em;
  width: 0.5rem;
  height: 0.9rem;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg);
}

.notice {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(217, 226, 244, 0.6);
  border-left: 5px solid var(--blue);
}

.notice h2 {
  font-size: 1.5rem;
}

.notice h3 {
  font-size: 1.15rem;
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice .checks {
  margin-top: 0.75rem;
}

.notice-spaced {
  margin-top: 1.5rem;
}

.notice-warn {
  border-left-color: #b7791f;
  background: #fffaf0;
}

.prose .checks li {
  color: var(--navy);
}

.prose h2 {
  font-size: 1.7rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a7a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin-inline: auto;
  max-width: 36rem;
}

.cta-band .btn-primary {
  margin-top: 0.5rem;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
}

/* ---------- Services ---------- */

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.service-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(217, 226, 244, 0.6);
  box-shadow: var(--shadow-sm);
}

.service-row p {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
}

.service-row .service-price {
  margin: 0;
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
}

.service-name {
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  color: var(--navy);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.service-detail:first-child {
  border-top: 0;
  padding-top: 1rem;
}

.service-detail h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.service-price-tag {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.service-summary {
  font-size: 1.08rem;
  color: var(--navy);
}

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

.service-note {
  margin: 1rem 0 0;
  padding: 0.9rem 1.1rem;
  background: var(--blue-tint);
  border-radius: 12px;
  font-size: 0.93rem;
  color: var(--navy);
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---------- Pricing ---------- */

/* Five cards: three across on desktop (3 + 2, centred), two across on tablet, one on phone. */
.price-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  flex: 0 1 100%;
  min-width: 0;
}

@media (min-width: 760px) {
  .price-card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}

@media (min-width: 1040px) {
  .price-card {
    flex-basis: calc((100% - 2.5rem) / 3);
  }
}

.price-card h3 {
  margin: 0;
}

.price {
  margin: 0.25rem 0 0.5rem;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-best {
  margin: 0.75rem 0 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.price-includes-label {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-card .checks {
  margin-top: 0.6rem;
}

.price-card .service-note {
  margin-top: 1rem;
}

.price-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 226, 244, 0.6);
  box-shadow: var(--shadow-sm);
}

table.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare th,
.compare td {
  padding: 1rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.compare thead th {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--navy);
}

.compare tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
}

.compare .th-price {
  display: block;
  margin-top: 0.2rem;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--muted);
}

.compare .yes {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success-ink);
  font-weight: 700;
  font-size: 0.82rem;
}

.compare .no {
  color: var(--muted);
}

.compare-note {
  margin: 1.25rem 0 0;
  max-width: 44rem;
  color: var(--muted);
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
}

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

.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(217, 226, 244, 0.6);
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--blue);
  transition: transform 200ms var(--ease-out);
}

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

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

/* ---------- Channels and copy buttons ---------- */

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.channel-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(217, 226, 244, 0.6);
}

.channel-card h3 {
  margin-bottom: 0.25rem;
}

.channel-card .handle {
  margin: 0 0 1.25rem;
  font-weight: 600;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.channel-actions {
  display: grid;
  gap: 0.6rem;
}

.copy-status {
  min-height: 1.5em;
  margin: 1rem 0 0;
  text-align: center;
  font-weight: 600;
  color: var(--success-ink);
}

/* ---------- Reviews (hidden until consented reviews exist) ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.review-card {
  margin: 0;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 226, 244, 0.6);
  box-shadow: var(--shadow-sm);
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.review-card figcaption {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}

.review-disclosure {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
}

/* ---------- Booking (request a session) ---------- */

.book-page {
  padding-bottom: 4rem;
}

.banner {
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.banner.is-success {
  background: var(--success-bg);
  color: var(--success-ink);
  border: 1px solid var(--success-line);
}

.banner:focus {
  outline: none;
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.75rem;
  align-items: start;
}

.book-form {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

.step-box {
  min-width: 0;
  margin: 0;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(217, 226, 244, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step-box legend {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-box legend .num {
  width: 30px;
  height: 30px;
  font-size: 0.9rem;
  border-radius: 10px;
  margin: 0;
}

.legend-note {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
}

.opt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

/* Colour-only hover applies only where a real hover exists. Touch taps would otherwise leave tints stuck. */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--blue-dark); }
  .btn-dark:hover { background: var(--navy-soft); }
  .site-nav > a:not(.btn):hover { background: rgba(29, 107, 255, 0.07); }
  .jump-links a:hover { border-color: #b8ccf5; color: var(--blue); }
  .service-name:hover { color: var(--blue); text-decoration: underline; }
  .opt:hover { border-color: #b8ccf5; }
  .chip:hover { border-color: #b8ccf5; }
  .footer-links a:hover { color: #fff; text-decoration: underline; }
}

.opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
  font: inherit;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 100ms var(--ease-out);
}

.opt:active {
  transform: scale(0.98);
}

.opt[aria-pressed="true"] {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 107, 255, 0.12);
}

.opt-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.opt-price {
  font-weight: 800;
}

.opt-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.date-strip {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 0.75rem;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.6rem;
}

.chip {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 92px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 100ms var(--ease-out);
}

.chip:active {
  transform: scale(0.97);
}

.chip-dow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.chip-date {
  font-weight: 700;
}

.chip[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.chip[aria-pressed="true"] .chip-dow {
  color: rgba(255, 255, 255, 0.85);
}

.chip-time {
  min-width: 0;
  flex-direction: row;
  justify-content: center;
  font-weight: 600;
}

.hint {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

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

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field-label {
  font-weight: 600;
  font-size: 0.92rem;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--navy);
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fbfcff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 107, 255, 0.14);
}

.field textarea {
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--muted);
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 0.3rem;
  accent-color: var(--blue);
}

.form-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.error {
  margin: 0;
  color: var(--danger);
  font-weight: 600;
}

.fine {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.01em;
}

.summary {
  position: sticky;
  top: 96px;
}

.summary h2 {
  font-size: 1.4rem;
}

.summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  margin: 1.25rem 0;
}

.summary dt {
  color: var(--muted);
}

.summary dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.summary .total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Result panel. Spans the full grid row and is shown after submitting. */
.outcome {
  grid-column: 1 / -1;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  box-shadow: var(--shadow-md);
  scroll-margin-top: 96px;
}

.outcome:focus:not(:focus-visible) {
  outline: none;
}

/* One-shot entrances for the result panel and the success banner. Not gesture-driven, so a keyframe is fine. */
.outcome:not([hidden]),
.banner.is-success:not([hidden]) {
  animation: fade-in 180ms var(--ease-out) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.outcome h2 {
  font-size: 1.6rem;
}

.outcome-body {
  max-width: 44rem;
  font-size: 1.02rem;
  color: var(--navy);
}

.outcome.is-received {
  border-left-color: #1f9d55;
  background: var(--success-bg);
}

.outcome.is-ready {
  border-left-color: var(--blue);
}

.outcome.is-failed {
  border-left-color: var(--danger);
  background: #fff5f4;
}

.outcome .field {
  margin: 1.25rem 0 0;
}

.outcome .message-box {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--navy);
  background: #f7f9fe;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  resize: vertical;
}

.outcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.outcome .copy-status {
  margin-top: 0.75rem;
  min-height: 0;
  text-align: left;
}

/* ---------- Products ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8f0ff 0%, #cfdfff 100%);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media .badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.product-initial {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.85;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.product-type {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-body h3 {
  margin-top: 0.35rem;
}

.product-body > p {
  font-size: 0.97rem;
}

.product-buy {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-buy .price {
  margin: 0;
  font-size: 1.9rem;
}

.sold-out {
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #eef0f5;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.shipping-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
}

.shipping-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.ship-line {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
}

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

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}

.site-footer .logo {
  color: #fff;
}

.site-footer .logo svg {
  color: #7fb0ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 2.25rem;
}

.footer-grid .logo {
  margin-bottom: 0.75rem;
}

.footer-tagline {
  margin: 0;
  max-width: 22rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-h {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  overflow-wrap: anywhere;
}

.footer-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer-small {
  margin: 1rem 0 0;
  font-size: 0.9rem;
}

.footer-small a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer .fine-print {
  margin: 2.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

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

/* Navigation collapses to a menu button below 1040px. */
@media (max-width: 1040px) {
  .nav-toggle {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  /* The menu stays in layout and fades and slides in from the menu button. Closing runs the same path in reverse.
     Visibility is delayed on close, so the links stay in place until the fade ends. CSS transitions retarget
     from the current value, so opening and closing mid-motion stays smooth. */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: #ffffff; /* solid: menu text must stay readable over the page */
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-md);
    transform-origin: top right;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 140ms ease-in,
      transform 140ms ease-in,
      visibility 0s linear 140ms;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition:
      opacity 180ms var(--ease-out),
      transform 180ms var(--ease-out),
      visibility 0s;
  }

  .site-nav > a:not(.btn) {
    padding: 0.8rem 1rem;
  }

  .mobile-only {
    display: flex;
    margin-top: 0.5rem;
  }
}

@media (max-width: 900px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

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

  .book-layout {
    grid-template-columns: 1fr;
  }

  .summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .trust-row,
  .two-col {
    grid-template-columns: 1fr;
  }

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

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

  .service-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-ctas .btn,
  .actions-row .btn,
  .form-footer .btn {
    width: 100%;
  }

  .step-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Icons and home page layout ---------- */

/* Icons sit inline beside their words and are sized to the text around them. */
.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

.icon-badge {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.35em;
  vertical-align: -0.125em;
  color: var(--blue);
}

.icon-badge .icon {
  width: 100%;
  height: 100%;
}

.checks-x li::before {
  content: "\00d7";
  top: -0.15em;
  left: 0.05rem;
  width: auto;
  height: auto;
  border: 0;
  transform: none;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
}

.section-link {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--muted);
}

/* Keep hidden text inside the scrolling comparison table, so it cannot widen the page. */
.table-wrap {
  position: relative;
}

.product-icon {
  color: var(--blue);
}

.product-icon .icon {
  width: 2.5rem;
  height: 2.5rem;
}

/* Home hero: copy on the left, promises on the right. */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-split h1 {
  max-width: 14ch;
  margin-inline: 0;
}

.hero-split .lead {
  margin: 0 0 2rem;
}

.hero-split .hero-ctas {
  justify-content: flex-start;
}

@media (max-width: 860px) {
  .hero-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.promise-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.promise-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.promise-list div {
  display: grid;
  gap: 0.15rem;
}

.promise-list strong {
  color: var(--navy);
}

.promise-list span:not(.icon-badge) {
  color: var(--muted);
  font-size: 0.97rem;
}

/* Home steps: four short cards in a row. */
.step-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.step-grid li {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step-grid h3 {
  margin: 0.25rem 0 0.35rem;
}

.step-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.step-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Type scale: one size per role on every page ---------- */

/* Section titles share one size and sit left, like the cards under them. */
h2,
.service-detail h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
}

.section-head {
  text-align: left;
  max-width: 44rem;
  margin: 0 0 2rem;
}

/* Titles inside cards and panels share one smaller size. */
.card h2,
.notice h2 {
  font-size: 1.35rem;
  line-height: 1.25;
}

/* Step numbers (restored from the original stylesheet; the rebuild had dropped them). */
.num {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Helper text is never smaller than 14.4px. */
.hint,
.hero-note,
.service-note,
.price-best,
.shipping-note,
.legend-note {
  font-size: 0.95rem;
}

.fine {
  font-size: 0.9rem;
}

#sum-note:empty {
  display: none;
}

/* Stop single words from sitting alone on the last line. */
p {
  text-wrap: pretty;
}

li,
dd,
summary {
  text-wrap: balance;
}

/* Section titles outside the section-head pattern use the same size. */
.prose h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
}

/* Services is one tap away on phones, where the other links sit behind the menu button. */
.nav-services {
  display: none;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-services[aria-current="page"] {
  color: var(--blue);
}

@media (max-width: 1039px) {
  .nav-services {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-toggle {
    margin-left: 0.5rem;
  }
}

/* ---------- Polish pass: booking, contrast, footer legal row, touch targets ---------- */

/* The "Pick a day" placeholder spans the full row instead of one narrow grid column. */
.time-grid > .muted {
  grid-column: 1 / -1;
  margin: 0.25rem 0;
}

/* Dates scroll sideways and snap to each chip, so the strip reads as scrollable. */
.date-strip {
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0.15rem;
}

.date-strip > .chip {
  scroll-snap-align: start;
}

/* Blue text on tinted or warm backgrounds needs the darker blue to pass 4.5:1. */
.site-nav > a.is-active,
.nav-services[aria-current="page"] {
  color: var(--blue-dark);
}

main .notice-warn a:not(.btn) {
  color: var(--blue-dark);
}

/* Short callout notes balance their lines so the last line is never a single word. */
.service-note,
.notice p {
  text-wrap: balance;
}

/* Legal links sit above the copyright line in the footer. */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 2.25rem 0 0;
  font-size: 0.9rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-legal a:focus-visible {
  color: #fff;
}

.footer-legal + .fine-print {
  margin-top: 1.25rem;
}

/* Touch screens get 44px targets for footer links, which are small by default. */
@media (pointer: coarse) {
  .footer-links a,
  .footer-small a,
  .footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* ---------- Accessibility preferences ---------- */

/* Reduced motion: no movement, no springing, no smooth scrolling. Colour and opacity still change, briefly,
   so state changes stay visible. Entrances keep a fade and lose the slide. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.15s !important;
    animation-duration: 0.15s !important;
    animation-iteration-count: 1 !important;
  }

  .btn:hover,
  .btn:active:not(:disabled),
  .opt:active,
  .chip:active,
  .nav-toggle:active {
    transform: none !important;
  }

  .outcome:not([hidden]),
  .banner.is-success:not([hidden]) {
    animation-name: fade-in;
  }

  /* The FAQ plus icon changes state without rotating. */
  .faq summary::after {
    transition: none;
  }

  /* The menu fades without the slide, and opens and closes without the visibility delay. */
  .site-nav,
  .site-nav.is-open {
    transform: none !important;
    transition-property: opacity, visibility;
    transition-delay: 0s !important;
  }
}

/* Reduced transparency: solid header and no blur. */
@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav {
    background: #ffffff;
  }
}

/* Higher contrast: stronger borders on surfaces and inputs. */
@media (prefers-contrast: more) {
  :root {
    --line: #7d8fb5;
    --muted: #3d4a66;
  }

  .card,
  .step-row li,
  .process-list li,
  .channel-card,
  .review-card,
  .service-row,
  .step-box,
  .notice,
  .trust-row li {
    border: 1px solid #7d8fb5;
  }
}
