/*
 * Maravier site styles.
 * Look: a highlighter pen on clean paper. Ink navy on off-white, one bright yellow used only to mark what matters.
 * Principles:
 *   1. The highlighter is the only ornament: it marks the key phrase on a screen, and draws itself once in the hero.
 *   2. Paper and sheets: anything a customer receives (a letter, the fine print, the price card, a form) sits on a
 *      white sheet. Lists of features are ruled lists, not boxes.
 *   3. Margin headings: on wide screens, section headings sit in a left column, like clause headings in a contract.
 *   4. Big type, plenty of air, few boxes. Motion only for the hero highlight and to answer what someone does.
 * Layout: mobile first (375), then 768, 1024, 1440. Content up to 1,200px, text blocks up to 680px, 8px grid.
 */
:root {
  color-scheme: light;
  --navy: #13213C;
  --navy-2: #22345A;
  --yellow: #FFD447;
  --yellow-hover: #F7C928;
  --paper: #F7F5EF;
  --white: #FFFFFF;
  --slate: #4A5568;
  --navy-soft: #C9CED8;
  --line: #D8D4C8;
  --line-soft: #E6E2D7;
  --field-border: #7A8496;
  --error: #B42318;
  --error-on-navy: #FFB4AB;
  --success: #1E6B45;
  --success-tint: #E4F1EA;
  --navy-rule: rgba(201, 206, 216, 0.28);

  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --textw: 680px;
  --gutter: 20px;
  --section-y: 72px;
  --radius-btn: 12px;
  --radius-card: 16px;
  --radius-panel: 20px;
  --sheet-shadow: 0 1px 0 rgba(19, 33, 60, 0.05), 0 22px 44px -26px rgba(19, 33, 60, 0.42);

  /* the highlighter stroke: a tilted rounded band behind the lower half of the words, rising left to right */
  --hl-stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M1.5 64 Q1.5 58.5 6 58 L95 47 Q98.5 46.6 98.5 51 L98.5 79 Q98.5 83.5 94 84 L6 94.5 Q1.5 95 1.5 90 Z' fill='%23FFD447'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 40px; --section-y: 120px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
@media (min-width: 960px) {
  html { scroll-padding-top: 96px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@media (min-width: 768px) {
  body { font-size: 18px; }
}
img, svg { max-width: 100%; }
svg.icon { width: 24px; height: 24px; flex: none; }
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; }
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-weight: 700; font-size: 38px; line-height: 1.1; letter-spacing: -0.025em; }
h2 { font-weight: 700; font-size: 30px; line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-weight: 600; font-size: 20px; line-height: 1.25; }
@media (min-width: 768px) {
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
}
@media (min-width: 1024px) {
  h1 { font-size: 60px; }
  h2 { font-size: 46px; }
  h3 { font-size: 22px; }
}
strong, b { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--navy :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible,
.sticky-reserve :focus-visible,
.form--on-navy :focus-visible {
  outline-color: var(--yellow);
}

.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: 12px; top: -100px;
  z-index: 100;
  background: var(--navy); color: var(--paper);
  padding: 12px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- The highlighter ---------- */
.hl {
  background-image: var(--hl-stroke);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.12em;
  margin-inline: -0.06em;
}

.hl--body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M1 46 Q1 40 5 39.6 L95.5 33 Q99 32.8 99 37 L99 88 Q99 94 95 94.3 L5 99 Q1 99.3 1 95 Z' fill='%23FFD447'/%3E%3C/svg%3E");
  padding-inline: 0.2em;
  margin-inline: -0.12em;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .hl--keep { white-space: nowrap; }
}

/* The one orchestrated moment: the hero's highlight is drawn left to right, like a pen, once. */
@keyframes hl-draw { to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: no-preference) {
  .hl--draw { background-size: 0% 100%; animation: hl-draw 0.75s cubic-bezier(0.55, 0.05, 0.25, 1) 0.3s forwards; }
}
@media print {
  .hl--draw { animation: none; background-size: 100% 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg.icon { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.btn--primary:active { background: #EDBE14; border-color: #EDBE14; }
.btn--secondary { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--paper); }
.btn--secondary:active { background: var(--navy-2); border-color: var(--navy-2); color: var(--paper); }
.section--navy .btn--secondary { border-color: var(--paper); color: var(--paper); }
.section--navy .btn--secondary:hover { background: var(--paper); color: var(--navy); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.btn--navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--lg { min-height: 56px; padding: 14px 28px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.btn .btn__small { font-weight: 500; }

.link-button {
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em;
  cursor: pointer;
}
.link-button:hover { text-decoration-thickness: 2px; }

.icon-button {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 12px;
  background: transparent; color: var(--navy);
  cursor: pointer;
}
.icon-button:hover { background: var(--paper); }
.icon-button--outline { border: 2px solid var(--navy); }

/* ---------- Top bar and header ---------- */
.topbar {
  background: var(--navy);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}
.topbar__inner { padding-block: 9px; }

.site-header {
  position: relative;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
@media (min-width: 1180px) {
  .site-header { position: sticky; top: env(safe-area-inset-top, 0px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
@media (min-width: 1024px) {
  .site-header__inner { min-height: 80px; }
}
.brand { display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; flex: none; }
.brand .logo { display: block; width: 132px; height: auto; }
@media (min-width: 1024px) {
  .brand .logo { width: 144px; }
}

.site-nav { display: none; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.site-nav__item { position: relative; }
.site-nav__item--mega { position: static; }
.site-nav__link,
.site-nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--navy);
  font: 500 16px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
.site-nav__link:hover,
.site-nav__toggle:hover,
.site-nav__toggle[aria-expanded="true"] { background: rgba(19, 33, 60, 0.07); }
.site-nav__link[data-current="true"]::after,
.site-nav__toggle[data-current="true"]::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 3px;
  height: 4px;
  border-radius: 3px;
  background: var(--yellow);
  transform: rotate(-2deg);
}
.site-nav__chevron { width: 18px; height: 18px; transition: transform 0.15s ease; }
.site-nav__toggle[aria-expanded="true"] .site-nav__chevron { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 50;
  padding: 20px 20px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 56px -12px rgba(19, 33, 60, 0.28);
}
.nav-menu__cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.nav-menu__heading { margin: 0 0 6px 12px; font-size: 15px; font-weight: 600; color: var(--slate); }
.nav-menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-menu__list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav-menu__link {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  text-decoration: none;
}
.nav-menu__link:hover { background: var(--paper); }
.nav-menu__link[aria-current="page"] { background: var(--paper); }
.nav-menu__title { font-weight: 600; font-size: 16px; line-height: 1.3; }
.nav-menu__text { font-size: 15px; line-height: 1.35; color: var(--slate); }
.nav-menu__link--plain { font-weight: 500; font-size: 16px; padding-block: 9px; }
.nav-menu__group + .nav-menu__group { padding-left: 24px; border-left: 1px solid var(--line); }
.nav-menu__all {
  display: block;
  margin-top: 12px;
  padding: 14px 12px 6px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 16px;
}

.site-header__cta { display: none; margin-left: auto; font-size: 16px; }
.site-header__cta .cta-long { display: none; }
@media (min-width: 640px) {
  .site-header__cta { display: inline-flex; }
}
.menu-toggle {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  margin-left: auto;
  border: 0; border-radius: 12px;
  background: transparent; color: var(--navy);
  cursor: pointer;
}
@media (min-width: 640px) {
  .menu-toggle { margin-left: 0; }
}
.menu-toggle .menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }
.menu-toggle span { display: grid; }

.mobile-menu {
  max-height: calc(100vh - 140px);
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding-block: 8px 24px;
}
.mobile-menu__list { list-style: none; padding: 0; margin: 0 0 16px; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
  cursor: pointer;
}
summary.mobile-menu__link { list-style: none; }
summary.mobile-menu__link::-webkit-details-marker { display: none; }
.mobile-menu__chevron { width: 22px; height: 22px; transition: transform 0.15s ease; }
.mobile-menu__group[open] .mobile-menu__chevron { transform: rotate(180deg); }
.mobile-menu__sub { list-style: none; margin: 0; padding: 6px 0 10px 4px; border-bottom: 1px solid var(--line); }
.mobile-menu__sub a { display: block; padding: 10px 0; font-size: 17px; font-weight: 500; text-decoration: none; }

@media (min-width: 1180px) {
  .site-nav { display: block; }
  .site-header__cta { margin-left: 8px; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (min-width: 1180px) {
  .site-header__cta .cta-long { display: inline; }
  .site-header__cta .cta-short { display: none; }
}

.site-header--min .site-header__inner { justify-content: space-between; }
.site-header__secure {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; color: var(--slate); font-weight: 500;
}
.site-header__secure svg.icon { width: 18px; height: 18px; }
body[data-page="thank-you"] .site-header__secure { display: none; }
@media (max-width: 479px) {
  .hide-sm { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--paper); }
.section-head {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 40px;
}
@media (min-width: 1024px) {
  .section-head { margin-bottom: 64px; }
}
/* Wide screens: the heading on the left, its introduction on the right, sharing a baseline */
@media (min-width: 1024px) {
  .section-head--split {
    max-width: none;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 64px;
    align-items: end;
  }
  .section-head--split .section-intro { padding-bottom: 6px; }
}
.section-title--center { text-align: center; margin-inline: auto; }
.section-intro { font-size: 18px; max-width: 52ch; }
@media (min-width: 1024px) {
  .section-intro { font-size: 20px; }
}
.section-intro--slate { color: var(--slate); }

/* Margin headings: the section heading in a left column, the content in a wide right column */
.margin-grid { display: grid; gap: 32px; }
.margin-grid__head { display: grid; gap: 16px; align-content: start; }
.margin-grid__body { min-width: 0; }
@media (min-width: 1180px) {
  .margin-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 72px; align-items: start; }
  .margin-grid__head { position: sticky; top: 120px; }
  .margin-grid__head .section-intro { font-size: 19px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 24px; overflow: hidden; }
@media (min-width: 1024px) {
  .hero { padding-top: 48px; }
}
.hero__grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 1180px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 48px;
    align-items: end;
  }
}
.hero__copy { min-width: 0; }
@media (min-width: 1180px) {
  .hero__copy { padding-bottom: 72px; align-self: start; }
}
.hero__for {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 16px;
}
@media (min-width: 1024px) {
  .hero__for { font-size: 16px; margin-bottom: 24px; }
}
.hero__title {
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
@media (min-width: 400px) {
  .hero__title { font-size: 44px; }
}
@media (min-width: 768px) {
  .hero__title { font-size: 64px; }
}
@media (min-width: 1180px) {
  .hero__title { font-size: clamp(60px, 6vw, 80px); }
}
.hero__sub {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 34ch;
}
@media (min-width: 1024px) {
  .hero__sub { font-size: 23px; margin-top: 28px; }
}
.hero__body { margin-top: 14px; max-width: 54ch; color: var(--slate); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 32px;
}
.hero__note { flex-basis: 100%; order: 3; font-size: 15px; color: var(--slate); }
@media (max-width: 559px) {
  .hero__actions { display: grid; }
  .hero__actions .btn { width: 100%; }
  .hero__note { order: 0; margin-bottom: 8px; }
}

.ticks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
}
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks svg.icon { width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.6; }
.ticks a { font-weight: 400; color: var(--slate); }
@media (min-width: 560px) {
  .ticks { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 40px; }
}

/* The hero picture: the app answering, and the letter it leads to, checked by the HR expert.
   It rises from the bottom edge of the hero, so the empty foot of the phone is cut off. */
.hero__visual {
  --phone: 10.5px; /* the phone is sized in em, so this one value scales it */
  position: relative;
  margin: 0;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  height: calc(var(--phone) * 49.2); /* the answer ends 47.5em down the phone, so the cut falls just below it */
  padding: 0 4px;
  clip-path: inset(-80px -80px 0 -80px);
}
@media (min-width: 400px) {
  .hero__visual { --phone: 11.5px; }
}
@media (min-width: 768px) {
  .hero__visual { --phone: 12.5px; padding-left: 232px; }
}
@media (min-width: 1180px) {
  .hero__visual { padding-left: 0; }
}
@media (min-width: 1280px) {
  .hero__visual { --phone: 13px; padding-left: 132px; }
}
.phone--hero { position: relative; z-index: 1; font-size: var(--phone); }

/* A sheet of paper with a folded corner (the same paper Mirith is drawn on) */
.letter {
  position: absolute;
  left: 0;
  top: 170px;
  z-index: 0;
  display: none;
  align-content: start;
  gap: 10px;
  width: 232px;
  padding: 22px 22px 26px;
  background: var(--white);
  border-radius: 4px 22px 4px 4px;
  box-shadow: var(--sheet-shadow);
  transform: rotate(-5deg);
  transform-origin: 70% 30%;
}
.letter::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 22px; height: 22px;
  border-radius: 0 0 0 5px;
  background: linear-gradient(225deg, var(--paper) 50%, var(--line-soft) 50%);
}
@media (min-width: 768px) {
  .letter { display: grid; width: 270px; padding: 22px 18px 28px 20px; gap: 12px; }
}
/* Beside the copy there is only room for the letter on the widest layout, where it sits low, next to the ticks */
@media (min-width: 1180px) and (max-width: 1279px) {
  .letter { display: none; }
}
@media (min-width: 1280px) {
  .letter { left: -96px; top: 310px; }
}
.letter__title {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
}
@media (min-width: 1024px) {
  .letter__title { font-size: 17px; }
}
.letter__line { display: block; height: 7px; width: 100%; border-radius: 4px; background: #E3E0D8; }
.letter__line--short { width: 58%; }
.letter__line--mid { width: 80%; }
.letter__line--hl {
  height: 7px;
  width: 92%;
  background: #E3E0D8;
  box-shadow: 0 0 0 5px var(--yellow);
  border-radius: 3px;
  transform: rotate(-1.5deg);
}
.letter__check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  margin-top: 10px;
  padding: 6px 11px 6px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}
.letter__check svg.icon { width: 16px; height: 16px; stroke-width: 3; color: var(--yellow); }

/* ---------- Phone mock-ups (sized in em so one font-size scales the whole phone) ---------- */
.phone { margin: 0; }
.phone__frame {
  width: 25em;
  padding: 0.9em;
  background: var(--navy);
  border-radius: 4em;
  box-shadow: 0 2em 3.5em -1.8em rgba(19, 33, 60, 0.5);
}
.phone__screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border-radius: 3.2em;
  background: var(--paper);
}
.app {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.4;
  text-align: left;
}
.app__bar {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 2.4em 1.4em 1em;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.app__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 0.6em;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1;
  padding-bottom: 0.25em;
}
.app__mark::after {
  content: "";
  position: absolute;
  left: 22%; right: 22%; bottom: 0.32em;
  height: 0.18em;
  border-radius: 1em;
  background: var(--yellow);
  transform: rotate(-5deg);
}
.app__title { font-family: var(--font-display); font-weight: 600; font-size: 1.3em; }
.app__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 1.3em;
  overflow: hidden;
}
.app__body--chat { gap: 0.9em; }
.bubble {
  border-radius: 1.3em;
  padding: 0.9em 1.1em;
  font-size: 1.08em;
  line-height: 1.4;
}
.bubble p { margin: 0; }
.bubble--out {
  align-self: flex-end;
  max-width: 82%;
  background: var(--navy);
  color: var(--paper);
  border-bottom-right-radius: 0.35em;
}
.bubble--in {
  display: grid;
  gap: 0.7em;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 0.35em;
}
.chat-steps { padding-left: 1.3em; display: grid; gap: 0.2em; font-weight: 500; }
.app-btn {
  display: inline-block;
  justify-self: start;
  padding: 0.6em 1em;
  border-radius: 0.75em;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95em;
}
.app-btn--block { display: block; text-align: center; margin-top: auto; padding-block: 0.9em; font-size: 1.1em; }
.chat-source {
  padding-top: 0.6em;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.8em;
  line-height: 1.32;
}
.app-h { font-family: var(--font-display); font-weight: 600; font-size: 1.35em; line-height: 1.25; }
.process { list-style: none; padding: 0; display: grid; gap: 0; }
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 2.2em 1fr;
  gap: 0.8em;
  padding-bottom: 1.3em;
}
.process__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.05em; top: 2.2em; bottom: 0.2em;
  width: 2px;
  background: var(--line);
}
.process__step.is-done:not(:last-child)::before { background: var(--navy); }
.process__dot {
  display: grid; place-items: center;
  width: 2.2em; height: 2.2em;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--paper);
}
.process__dot svg.icon { width: 1.3em; height: 1.3em; stroke-width: 3; }
.is-done .process__dot { background: var(--navy); border-color: var(--navy); }
.is-now .process__dot { border-color: var(--navy); background: var(--yellow); }
.process__text { display: grid; gap: 0.1em; padding-top: 0.25em; font-size: 1.1em; }
.process__text span { color: var(--slate); font-size: 0.9em; }
.is-now .process__text span { color: var(--navy); font-weight: 600; }
.app-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  padding: 1em;
  border-radius: 1em;
  background: var(--success-tint);
  color: var(--success);
  font-weight: 600;
  font-size: 1.1em;
  line-height: 1.35;
}
.app-banner svg.icon { width: 1.4em; height: 1.4em; stroke-width: 3; margin-top: 0.05em; }
.app-meta { color: var(--slate); font-size: 1em; }
.app-doc {
  display: flex; align-items: center; gap: 0.7em;
  padding: 0.9em 1em;
  border: 1px solid var(--line);
  border-radius: 1em;
  background: var(--white);
  font-weight: 500;
  font-size: 1.05em;
}
.app-doc svg.icon { width: 1.5em; height: 1.5em; }
.app-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9em;
  padding: 1.2em;
  border-radius: 1.2em;
  background: var(--white);
  border: 1px solid var(--line);
}
.app-tile__icon {
  display: grid; place-items: center;
  width: 2.8em; height: 2.8em;
  border-radius: 0.8em;
  background: var(--paper);
}
.app-tile__icon svg.icon { width: 1.5em; height: 1.5em; }
.app-tile__text { display: grid; gap: 0.1em; font-size: 1.12em; }
.app-tile__text span { color: var(--slate); font-size: 0.92em; }
.app-switch {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6em;
  padding-top: 0.8em;
  border-top: 1px solid var(--line);
  font-size: 1em;
  font-weight: 500;
}
.app-switch__track {
  position: relative;
  width: 3em; height: 1.7em;
  border-radius: 1em;
  background: var(--navy);
}
.app-switch__knob {
  position: absolute;
  top: 0.2em; right: 0.2em;
  width: 1.3em; height: 1.3em;
  border-radius: 50%;
  background: var(--yellow);
}
.app-progress {
  display: grid;
  gap: 0.6em;
  padding: 1.2em;
  border-radius: 1.2em;
  background: var(--white);
  border: 1px solid var(--line);
}
.app-progress__row { display: flex; justify-content: space-between; gap: 0.6em; font-size: 1.08em; }
.app-progress__row span { color: var(--slate); }
.app-progress__bar { display: block; height: 0.7em; border-radius: 1em; background: var(--paper); overflow: hidden; }
.app-progress__fill { display: block; height: 100%; border-radius: 1em; background: var(--navy); }
.app-progress__fill--full { width: 100%; }
.app-progress__fill--six-of-seven { width: 85.7%; }

/* ---------- Law changes: a dated rail ---------- */
.timeline {
  list-style: none;
  padding: 0;
  display: grid;
}
.timeline__item {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 0 0 28px 40px;
}
/* the rail */
.timeline__item::before {
  content: "";
  position: absolute;
  left: 9px; top: 12px; bottom: -12px;
  width: 2px;
  background: var(--navy);
}
.timeline__item:last-child::before { display: none; }
/* the stop */
.timeline__item::after {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}
.timeline__item--key::after { background: var(--yellow); }
.timeline__date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
}
.timeline__text { font-size: 16px; max-width: 34ch; }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 32px; }
  .timeline__item { padding: 44px 0 0; }
  .timeline__item::before { left: 0; right: -32px; top: 12px; bottom: auto; width: auto; height: 2px; }
  .timeline__item:last-child::before { display: block; right: 0; }
  .timeline__item::after { top: 3px; }
  .timeline__text { font-size: 17px; }
}
.law__close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 48px;
  padding: 24px 28px;
  border-radius: var(--radius-card);
  background: var(--paper);
}
.law__close p { max-width: 56ch; font-weight: 500; }
@media (max-width: 559px) {
  .law__close { padding: 20px; }
  .law__close .btn { width: 100%; }
}

/* ---------- What's included: a ruled list, two columns on wide screens ---------- */
.features { display: grid; border-top: 2px solid var(--navy); }
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}
.feature {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px;
  align-content: start;
  padding-block: 18px 20px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .feature { padding-block: 22px 24px; column-gap: 16px; }
}
.feature__icon {
  position: relative;
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -6px;
  color: var(--navy);
}
.feature__icon::before {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 7px;
  height: 12px;
  border-radius: 6px;
  background: var(--yellow);
  transform: rotate(-8deg);
}
.feature__icon svg.icon { position: relative; width: 26px; height: 26px; }
.feature__title { font-size: 19px; line-height: 1.3; }
.feature__text { margin-top: 6px; font-size: 16px; color: var(--slate); }

/* ---------- How it works ---------- */
.how .section-title { margin-bottom: 48px; }
@media (min-width: 1024px) {
  .how .section-title { margin-bottom: 64px; }
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
}
.step {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--navy-rule);
}
.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--yellow);
}
@media (min-width: 1024px) {
  .step__num { font-size: 88px; }
}
.step__title { color: var(--paper); font-size: 22px; }
@media (min-width: 1024px) {
  .step__title { font-size: 24px; }
}
.step__text { color: var(--navy-soft); }

/* ---------- The fine print: one sheet, clause headings in the sheet's margin ---------- */
.clauses {
  position: relative;
  padding: 8px 22px;
  background: var(--white);
  border-radius: 6px 28px 6px 6px;
  box-shadow: var(--sheet-shadow);
}
/* the folded corner */
.clauses::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 28px; height: 28px;
  border-radius: 0 0 0 6px;
  background: linear-gradient(225deg, var(--paper) 50%, var(--line-soft) 50%);
}
@media (min-width: 1024px) {
  .clauses { padding: 16px 48px 16px 40px; }
}
.clause {
  display: grid;
  gap: 10px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}
.clause:first-child { border-top: 0; }
@media (min-width: 800px) {
  .clause { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 40px; padding-block: 32px; }
}
.clause__title { font-size: 19px; }
.clause__body { display: grid; gap: 12px; max-width: 64ch; }
.extras { list-style: none; padding: 0; display: grid; gap: 8px; }
.extras li { position: relative; padding-left: 18px; }
.extras li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.75em;
  width: 8px; height: 2px;
  background: var(--navy);
}
.extras__item { font-weight: 600; }
.extras__note { color: var(--slate); font-size: 16px; }

/* ---------- Pricing ---------- */
.price-card {
  display: grid;
  gap: 20px;
  max-width: 560px;
  margin: 48px auto 0;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--navy);
  border-radius: var(--radius-panel);
  box-shadow: var(--sheet-shadow);
}
@media (min-width: 560px) {
  .price-card { padding: 40px 40px 36px; }
}
.price-card__heading { font-size: 22px; }
.price-card__line { font-size: 17px; }
.price-card__amount {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
@media (min-width: 560px) {
  .price-card__amount { font-size: 64px; }
}
.price-card__terms { display: block; }
/* Ex-VAT and VAT-inclusive prices shown with equal prominence (ASA, CAP 3.17 and 3.18; decided 11 Oct 2026) */
.price-card__amounts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 10px; }
.price-card__amounts .price-card__amount { margin-bottom: 0; }
.price-card__amount-tag { display: block; margin-top: 8px; font-family: var(--font-body, inherit); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.slider { display: grid; gap: 10px; padding-top: 4px; }
.slider__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.slider__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}
.slider__value {
  min-width: 2ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.stepper {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.stepper:hover { background: var(--paper); }
.stepper svg.icon { width: 20px; height: 20px; stroke-width: 2.5; }
.slider__input {
  --fill: 8.33%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.slider__input::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(to right, var(--navy) 0 var(--fill), var(--line) var(--fill) 100%);
}
.slider__input::-moz-range-track {
  height: 8px;
  border-radius: 8px;
  background: var(--line);
}
.slider__input::-moz-range-progress {
  height: 8px;
  border-radius: 8px;
  background: var(--navy);
}
.slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px; height: 30px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--navy);
}
.slider__input::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--navy);
}
.slider__input:focus-visible { outline: none; }
.slider__input:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--navy); outline-offset: 3px; }
.slider__input:focus-visible::-moz-range-thumb { outline: 3px solid var(--navy); outline-offset: 3px; }
.price-card__result { font-size: 19px; }
.price-card .btn--lg { padding-inline: 14px; }
.nowrap { white-space: nowrap; }
.price-card__result strong { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.founding-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--paper);
  font-weight: 500;
  line-height: 1.7;
}
.price-card__note, .price-card__small { font-size: 15px; color: var(--slate); }
.price-card__switch { font-size: 16px; font-weight: 500; }
.price-card--short { margin-top: 0; }

/* Segmented toggle (radio buttons) */
.toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border: 2px solid var(--navy);
  border-radius: 14px;
  min-width: 0;
}
.toggle input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.toggle label {
  display: grid; place-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
.toggle input:checked + label { background: var(--navy); color: var(--paper); }
.toggle input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 2px; }
.toggle--form { max-width: 420px; }

/* ---------- Four promises ---------- */
.promise-grid {
  display: grid;
  margin-top: 40px;
  border-top: 2px solid var(--navy);
}
@media (min-width: 720px) {
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}
.promise {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1100px) {
  .promise-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 40px; margin-top: 56px; }
  .promise { border-bottom: 0; padding-bottom: 0; }
}
.promise__title { font-size: 20px; }
.promise p { max-width: 52ch; color: var(--slate); }

/* ---------- Switch check ---------- */
.switch__grid { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .switch__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
  .switch__intro { position: sticky; top: 120px; }
}
.switch__intro { display: grid; gap: 16px; }
.switch__panel {
  padding: 24px 20px;
  border-radius: var(--radius-panel);
  background: var(--paper);
}
@media (min-width: 560px) {
  .switch__panel { padding: 40px; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form__grid { display: grid; gap: 16px 20px; }
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field--group > .field__label { padding: 0; margin-bottom: 8px; }
.field__label { font-weight: 600; font-size: 16px; line-height: 1.35; }
.field__optional { font-weight: 400; color: var(--slate); }
.field__sublabel { display: block; margin-bottom: 6px; font-size: 15px; color: var(--slate); }
.field__hint { font-size: 15px; color: var(--slate); }
.field__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field__part { min-width: 0; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--field-border);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font: 400 17px/1.3 var(--font-body);
}
.input:hover { border-color: var(--navy); }
.input:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); border-radius: 10px; }
.input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.input--short { max-width: 300px; }
.input--number { width: 84px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2313213C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  cursor: pointer;
}
.field__error {
  display: flex;
  gap: 6px;
  color: var(--error);
  font-size: 15px;
  font-weight: 500;
}
.field__error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--error); color: var(--white); font-size: 12px; font-weight: 700; }
.field__error--check { margin-top: -10px; }
.form__error {
  padding: 12px 14px;
  border-radius: 10px;
  background: #FCEBEA;
  color: var(--error);
  font-weight: 500;
  font-size: 16px;
}
.form__submit { display: grid; gap: 12px; justify-items: start; }
.form__privacy { font-size: 15px; color: var(--slate); }
.form__privacy a { color: inherit; }

.check {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.check input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  width: 24px; height: 24px;
  margin: 1px 0 0;
  border: 2px solid var(--navy);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}
.check input::after {
  content: "";
  width: 12px; height: 7px;
  border-left: 3px solid var(--navy);
  border-bottom: 3px solid var(--navy);
  transform: translate(0, -1px) rotate(-45deg);
  opacity: 0;
}
.check input:checked { background: var(--yellow); }
.check input:checked::after { opacity: 1; }
.check input[aria-invalid="true"] { border-color: var(--error); }
.check label { font-size: 16px; line-height: 1.45; cursor: pointer; }

.choice-row { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice label {
  display: grid; place-items: center;
  min-width: 96px; min-height: 48px;
  padding: 10px 20px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
}
.choice input:checked + label { background: var(--navy); color: var(--paper); }
.choice input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 2px; }
.field--group[data-invalid="true"] .choice label { border-color: var(--error); }

.number-stepper { display: inline-flex; align-items: center; gap: 10px; }
.number-stepper .stepper { width: 52px; height: 52px; }

.field-reveal { display: grid; gap: 20px; padding: 20px; border-left: 3px solid var(--line); background: var(--white); border-radius: 0 12px 12px 0; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: grid; gap: 16px; justify-items: start; }
.form-success:focus { outline: none; }
.form-success__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--success);
}
.form-success__title svg.icon { width: 24px; height: 24px; stroke-width: 3; margin-top: 1px; }
.form-success__note { font-size: 16px; color: var(--slate); }
.form-success--panel { padding: 8px 0; }

/* Forms on navy */
.form--on-navy .field__label, .form--on-navy .check label { color: var(--paper); }
.form--on-navy .form__privacy { color: var(--navy-soft); }
.form--on-navy .check input { border-color: var(--paper); }
.form--on-navy .check input:checked { border-color: var(--yellow); }
.form--on-navy .input { border-color: var(--white); }
.form--on-navy .field__error { color: var(--error-on-navy); }
.form--on-navy .field__error::before { background: var(--error-on-navy); color: var(--navy); }
.form--on-navy .input[aria-invalid="true"] { border-color: var(--error-on-navy); box-shadow: 0 0 0 2px var(--error-on-navy); }
.section--navy .form-success__title { color: var(--paper); }
.section--navy .form-success__title svg.icon { color: var(--yellow); }

@media (min-width: 720px) {
  .form--checklist .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .cta-band--checklist .form--checklist.form--on-navy .form__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.form--stacked .form__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) {
  .form--stacked .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- See it working ---------- */
.demo__rail {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-block: 4px 16px;
  scrollbar-width: thin;
}
.demo__list {
  display: flex;
  gap: 20px;
  width: max-content;
  margin-inline: auto;
  padding-inline: var(--gutter);
  list-style: none;
}
.demo__item { position: relative; scroll-snap-align: center; }
.phone--thumb { font-size: 9.6px; width: 25em; }
/* From 1180px all five phones fit side by side: 5 x 25em plus four 24px gaps inside the gutters */
@media (min-width: 1180px) {
  .phone--thumb { font-size: min(10px, calc((100vw - 2 * var(--gutter) - 4 * 24px - 24px) / 125)); }
  .demo__list { gap: 24px; }
}
.phone__caption {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
}
.demo__open {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 36px;
  background: transparent;
  cursor: zoom-in;
}
.demo__open:focus-visible { outline-offset: 6px; border-radius: 40px; }
.demo__hint { margin-top: 8px; font-size: 15px; color: var(--slate); }
.hero__hint { margin-top: -24px; margin-bottom: 12px; justify-self: center; }
@media (min-width: 1180px) {
  .hero__hint { grid-column: 2; margin-top: -28px; }
}
@media (min-width: 1180px) {
  .demo__hint { text-align: center; }
}

/* ---------- Dialogs ---------- */
.dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-panel);
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 24px 64px rgba(19, 33, 60, 0.35);
}
.dialog::backdrop { background: rgba(19, 33, 60, 0.6); }
.dialog__body { display: grid; gap: 4px; padding: 24px; }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.dialog__title { font-size: 22px; }
.dialog__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.dialog__link { font-size: 15px; }

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.cookie-option__text { display: grid; gap: 4px; font-size: 15px; color: var(--slate); }
.cookie-option__name { font-weight: 600; font-size: 17px; color: var(--navy); }
.cookie-option__always { flex: none; font-size: 15px; font-weight: 600; color: var(--success); }
.toggle-switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 52px; height: 30px;
  margin: 0;
  border-radius: 30px;
  background: var(--field-border);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.15s ease;
}
.toggle-switch:checked { background: var(--navy); }
.toggle-switch:checked::after { transform: translateX(22px); background: var(--yellow); }

.demo-dialog { width: auto; max-width: calc(100% - 24px); background: var(--paper); }
.demo-dialog__inner { display: grid; justify-items: center; gap: 12px; padding: 16px 20px 20px; }
.demo-dialog .dialog__head { width: 100%; margin-bottom: 0; }
.demo-dialog .dialog__title { font-size: 18px; }
.demo-dialog__stage .phone { font-size: clamp(9px, calc((100vh - 230px) / 52), 13px); }
@supports (height: 100dvh) {
  .demo-dialog__stage .phone { font-size: clamp(9px, calc((100dvh - 230px) / 52), 13px); }
}
.demo-dialog__nav { display: flex; align-items: center; gap: 16px; }
.demo-dialog__count { min-width: 56px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Who's behind ---------- */
.about__grid { display: grid; gap: 20px; }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
}
.about__text { max-width: 46ch; font-size: 20px; line-height: 1.5; }
@media (min-width: 1024px) {
  .about__text { font-size: 24px; line-height: 1.45; letter-spacing: -0.005em; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 24px; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .faq__grid > .section-title { position: sticky; top: 120px; }
}
.faq__list { border-top: 2px solid var(--navy); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  cursor: pointer;
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q::marker { content: ""; }
.qa__q::before, .qa__q::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 18px; height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease;
}
.qa__q::after { transform: rotate(90deg); }
.qa[open] > .qa__q::after { transform: rotate(0deg); }
.qa__q:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.qa__a { padding: 0 0 24px; max-width: 64ch; }
.qa__a p + p { margin-top: 12px; }

/* ---------- Final call to action ---------- */
.final__grid { display: grid; gap: 56px; }
@media (min-width: 1024px) {
  .final__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 72px; align-items: start; }
}
.final__main { display: grid; gap: 16px; align-content: start; }
.final .section-title { color: var(--paper); }
@media (min-width: 1024px) {
  .final .section-title { font-size: 56px; }
}
.final__body { color: var(--navy-soft); font-size: 19px; }
@media (min-width: 1024px) {
  .final__body { font-size: 21px; }
}
.final__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
@media (max-width: 559px) {
  .final__actions .btn { width: 100%; }
}
.final__checklist {
  display: grid;
  gap: 20px;
  padding: 28px 24px;
  border-radius: var(--radius-panel);
  background: var(--navy-2);
}
@media (min-width: 560px) {
  .final__checklist { padding: 36px; }
}
.final__checklist-title { color: var(--paper); max-width: 30ch; font-size: 22px; }
.final__checklist .form--checklist .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 479px) {
  .final__checklist .form--checklist .form__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--paper);
  padding-block: 64px 48px;
  border-top: 1px solid var(--navy-rule);
}
.site-footer__top { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .site-footer__top { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr); gap: 56px; }
}
.brand--footer .logo { width: 148px; height: auto; }
.site-footer__brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
.site-footer__tagline { color: var(--paper); font-weight: 500; }
.site-footer__for { color: var(--navy-soft); font-size: 15px; max-width: 34ch; }
.site-footer__cta { margin-top: 6px; }
.site-footer__map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
@media (min-width: 640px) {
  .site-footer__map { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.site-footer__heading { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--paper); }
.site-footer__heading--later { margin-top: 28px; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: 15px; }
.site-footer__links a { display: inline-block; padding-block: 5px; }
.site-footer a:not(.btn) { color: var(--paper); }
.site-footer__links a { color: var(--navy-soft); text-decoration: none; }
.site-footer__links a:hover { color: var(--paper); text-decoration: underline; }
.site-footer__bottom { display: grid; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--navy-rule); }
.site-footer__legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 22px; font-size: 15px; }
.site-footer__legal-links a, .site-footer__legal-links .link-button { display: inline-block; padding-block: 6px; }
.site-footer__legal-links a, .site-footer__legal-links .link-button { color: var(--paper); }
.site-footer__legal { display: grid; gap: 6px; color: var(--navy-soft); font-size: 15px; }
body[data-page="home"] .site-footer { padding-bottom: calc(48px + 84px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 960px) {
  body[data-page="home"] .site-footer { padding-bottom: 48px; }
}

/* ---------- Sticky reserve bar (mobile) ---------- */
.sticky-reserve {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 -8px 24px rgba(19, 33, 60, 0.2);
}
.sticky-reserve__price { display: grid; gap: 1px; min-width: 0; }
.sticky-reserve__main { font-weight: 600; font-size: 16px; line-height: 1.3; }
.sticky-reserve__vat { font-weight: 600; font-size: 16px; line-height: 1.3; }
.sticky-reserve__btn { flex: none; min-width: 112px; }
@media (min-width: 960px) {
  .sticky-reserve { display: none !important; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 14px;
  max-width: 500px;
  padding: 18px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 48px rgba(19, 33, 60, 0.25);
}
@media (min-width: 640px) {
  .cookie-banner { left: 24px; right: auto; bottom: 24px; padding: 22px; }
}
.cookie-banner__text { font-size: 16px; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-banner__actions .btn { min-height: 48px; padding: 10px 12px; font-size: 16px; }
.cookie-banner__settings { justify-self: start; font-size: 15px; }

/* ---------- Checkout ---------- */
.checkout { padding-block: 24px 72px; }
@media (min-width: 1024px) {
  .checkout { padding-block: 40px 96px; }
}
.checkout__grid { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .checkout__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
}
.checkout__main { min-width: 0; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}
.back-link svg.icon { width: 20px; height: 20px; }
.back-link:hover span { text-decoration: underline; }
.checkout__step { font-size: 15px; font-weight: 500; color: var(--slate); }
.checkout__title { margin-top: 8px; font-size: 30px; }
@media (min-width: 1024px) {
  .checkout__title { font-size: 40px; }
}
.checkout__cancelled {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 500;
}
.form--checkout { max-width: 600px; margin-top: 28px; gap: 24px; }
.summary { min-width: 0; }
@media (min-width: 960px) {
  .summary { position: sticky; top: 24px; }
}
.summary__card {
  display: grid;
  gap: 14px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--navy);
  border-radius: var(--radius-panel);
  box-shadow: var(--sheet-shadow);
}
@media (min-width: 560px) {
  .summary__card { padding: 28px; }
}
.summary__title { font-size: 22px; }
.summary [data-summary-prices] { display: grid; gap: 14px; }
.summary__line { font-size: 16px; }
.summary__line strong { font-weight: 700; }
.summary__line--switcher { padding: 12px 14px; border-radius: 10px; background: var(--paper); }
.summary__table {
  display: grid;
  gap: 6px;
  margin-bottom: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.summary__table div { display: flex; justify-content: space-between; gap: 12px; }
.summary__table dt { color: var(--slate); }
.summary__table dd { font-variant-numeric: tabular-nums; font-weight: 500; }
.summary__table .summary__total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.summary__table .summary__total dt, .summary__table .summary__total dd { color: var(--navy); font-weight: 700; font-size: 17px; }
.summary__small { font-size: 15px; color: var(--slate); }
.summary__pay { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: var(--slate); }
.summary__pay svg.icon { width: 18px; height: 18px; margin-top: 2px; }
.summary__held { display: grid; gap: 16px; }
.summary__held p { font-weight: 500; }

/* ---------- Thank-you ---------- */
.thanks { padding-block: 40px 96px; }
.thanks__grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .thanks__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: start; }
}
.thanks__state { display: grid; gap: 20px; justify-items: start; }
.thanks__loading { font-weight: 500; color: var(--slate); }
.thanks__badge {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
}
.thanks__badge svg.icon { width: 30px; height: 30px; stroke-width: 3; }
.thanks__body { font-size: 19px; max-width: 46ch; }
@media (min-width: 1024px) {
  .thanks__body { font-size: 20px; }
}
.thanks__subtitle { margin-top: 12px; font-size: 22px; }
.next-steps { list-style: none; padding: 0; display: grid; gap: 14px; width: 100%; max-width: 560px; }
.next-steps__item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.next-steps__num {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
}
.next-steps__item p { padding-top: 5px; }
.thanks__small { font-size: 15px; color: var(--slate); }
.referral {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}
.referral__title { font-size: 22px; }
.referral__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.referral__input { flex: 1 1 200px; min-width: 0; font-size: 15px; background: var(--paper); }

/* ---------- Checklist page ---------- */
.cl-hero { padding-block: 32px 72px; overflow: hidden; }
@media (min-width: 1024px) {
  .cl-hero { padding-block: 56px 96px; }
}
.cl-hero__grid { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .cl-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: start; }
}
.cl-hero__copy { min-width: 0; }
@media (min-width: 1024px) {
  .cl-hero__title { font-size: 48px; }
}
.cl-hero__sub { margin-top: 16px; font-size: 19px; max-width: 48ch; }
@media (min-width: 1024px) {
  .cl-hero__sub { font-size: 20px; }
}
.cl-hero__form {
  margin-top: 28px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}
@media (min-width: 560px) {
  .cl-hero__form { padding: 28px; }
}
.cl-doc { position: relative; padding: 12px 8px 24px 16px; max-width: 480px; justify-self: center; width: 100%; }
.cl-doc__sheet {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(19, 33, 60, 0.45);
  transform: rotate(1.4deg);
}
.cl-doc__sheet--back {
  position: absolute;
  inset: 26px 0 8px 30px;
  transform: rotate(-2.6deg);
  background: #FCFBF8;
}
.cl-doc__brand { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.cl-doc__title { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.15; }
.cl-doc__for { margin-top: 6px; font-size: 15px; color: var(--slate); }
.cl-doc__list {
  margin-top: 18px;
  padding-left: 24px;
  display: grid;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 98%);
}
.cl-doc__list li::marker { font-family: var(--font-display); font-weight: 700; }
.cl-doc__page { margin-top: 12px; font-size: 15px; color: var(--slate); text-align: right; }
.cl-doc__section { margin-top: 18px; font-weight: 700; font-size: 15px; }
.cl-doc__section + .cl-doc__list { margin-top: 10px; }
.cl-hero__how { margin-top: 8px; font-size: 16px; color: var(--slate); }

/* ---------- Call ---------- */
.call { padding-block: 40px 96px; }
.call__grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .call__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}
.call__body { margin-top: 16px; font-size: 19px; max-width: 44ch; }
@media (min-width: 1024px) {
  .call__title { font-size: 48px; }
}
.call__facts { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 14px; }
.call__facts li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: 16px; }
.call__facts svg.icon { width: 22px; height: 22px; margin-top: 1px; }
.booking {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}
.booking--live { min-height: 680px; }
.booking__fallback { display: grid; gap: 10px; padding: 32px 28px; }
.booking__fallback-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; }

/* ---------- Legal pages ---------- */
.legal { padding-block: 40px 96px; }
.legal__inner { max-width: calc(var(--textw) + 2 * var(--gutter)); }
.legal__title { font-size: 34px; }
@media (min-width: 1024px) {
  .legal__title { font-size: 44px; }
}
.legal__updated { margin-top: 10px; color: var(--slate); font-size: 15px; }
.legal h2 { margin-top: 40px; margin-bottom: 12px; font-size: 22px; }
.legal p + p { margin-top: 12px; }
.legal__updated + p { margin-top: 24px; }
.legal ul { padding-left: 22px; display: grid; gap: 10px; }
.legal p + ul, .legal ul + p { margin-top: 12px; }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.legal-table td:first-child { overflow-wrap: anywhere; }
.legal-table th, .legal-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 600; border-bottom: 2px solid var(--navy); }
.legal-table td:first-child { font-weight: 600; }
.link-button--inline { color: inherit; }

/* ---------- 404 and simple pages ---------- */
.not-found { padding-block: 72px 120px; }
.not-found__inner { display: grid; gap: 20px; justify-items: start; }
.not-found__code { font-family: var(--font-display); font-weight: 700; font-size: 96px; line-height: 1; }
.simple { padding-block: 72px 120px; }
.simple__inner { display: grid; gap: 20px; justify-items: start; max-width: calc(var(--textw) + 2 * var(--gutter)); }

/* ---------- Interior pages ---------- */
.crumbs { margin-bottom: 20px; font-size: 15px; color: var(--slate); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--slate); opacity: 0.6; }
.crumbs a { display: inline-block; padding-block: 10px; margin-block: -10px; color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); font-weight: 500; }

.page-hero { padding-block: 28px 64px; overflow: hidden; }
@media (min-width: 1024px) {
  .page-hero { padding-block: 48px 96px; }
}
.page-hero__grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .page-hero--split .page-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: start; gap: 56px; }
}
.page-hero__copy { min-width: 0; }
.page-hero__title { max-width: 20ch; }
.page-hero__lede { margin-top: 20px; max-width: 56ch; font-size: 19px; line-height: 1.5; }
@media (min-width: 1024px) {
  .page-hero__lede { margin-top: 24px; font-size: 22px; }
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 28px; }
@media (max-width: 559px) {
  .page-hero__actions .btn { width: 100%; }
}
.page-hero__note { margin-top: 12px; font-size: 15px; color: var(--slate); }
.page-hero__visual { position: relative; display: grid; place-items: center; padding-block: 8px 16px; }
.page-hero__visual .phone { position: relative; font-size: 10.5px; }
@media (min-width: 1024px) {
  .page-hero__visual .phone { font-size: 11.5px; }
}
/* The logo's highlighter stroke, drawn behind a phone: long, low and tilted the same way as the logo's */
.swipe {
  position: absolute;
  left: 50%;
  bottom: 24%;
  width: min(440px, 128%);
  height: 48px;
  background: var(--yellow);
  border-radius: 14px;
  transform: translateX(-50%) rotate(-3deg);
}

.facts {
  display: grid;
  margin: 32px 0 0;
  border-top: 2px solid var(--navy);
}
.facts__item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 15px; color: var(--slate); }
.facts dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts__item { padding: 18px 20px 6px 0; border-bottom: 0; }
  .facts__item + .facts__item { padding-left: 20px; border-left: 1px solid var(--line); }
}

.block { padding-block: var(--section-y); overflow-x: clip; }
.block--white { background: var(--white); }
.block--tight { padding-block: 48px; }
.block-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 36px; }
@media (min-width: 1024px) {
  .block-head { margin-bottom: 56px; }
}
.block-head p { font-size: 18px; max-width: 60ch; }
@media (min-width: 1024px) {
  .block-head p { font-size: 19px; }
}
.section-more { margin-top: 28px; }
.section-more a { display: inline-block; padding-block: 11px; margin-block: -11px; font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 0.25em; }
.section-more a:hover { text-decoration-color: currentColor; }
.section--navy .section-more a { color: var(--paper); }

.prose { max-width: var(--textw); }
.prose > * + * { margin-top: 16px; }
.prose > h2 { margin-top: 48px; }
.prose > h3 { margin-top: 32px; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose a { font-weight: 500; }
.prose strong { font-weight: 600; }
.prose .lede { font-size: 20px; }

.doc { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .doc { grid-template-columns: 230px minmax(0, 1fr); gap: 64px; align-items: start; }
  .doc__aside { position: sticky; top: 108px; }
}
.toc { font-size: 15px; }
.toc__title { margin: 0 0 8px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; border-left: 2px solid var(--line); }
.toc a {
  display: block;
  margin-left: -2px;
  padding: 7px 12px;
  border-left: 2px solid transparent;
  color: var(--slate);
  text-decoration: none;
}
.toc a:hover { color: var(--navy); border-left-color: var(--navy); }
@media (max-width: 1023px) {
  .toc { padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
}

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; }
  .split--flip .split__visual { order: -1; }
}
.split + .split { margin-top: 72px; }
@media (min-width: 1024px) {
  .split + .split { margin-top: 112px; }
}
.split__copy { min-width: 0; display: grid; gap: 14px; align-content: start; }
.split__copy > h2, .split__copy > h3 { margin-bottom: 2px; }
.split__visual { position: relative; display: grid; place-items: center; padding-block: 8px; }
.split__visual .phone { position: relative; font-size: 10px; }
@media (min-width: 1024px) {
  .split__visual .phone { font-size: 11px; }
}

.ticklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticklist svg.icon { width: 22px; height: 22px; margin-top: 2px; stroke-width: 2.6; }
.ticklist--x svg.icon { color: var(--slate); }

.note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 16px;
}
.note svg.icon { width: 22px; height: 22px; margin-top: 1px; }
.block--white .note { background: var(--paper); border-color: transparent; }
.note--warm, .block--white .note--warm { background: #FFF6D6; border-color: #F2DE8F; }

/* Tables scroll sideways on small screens; shadows at the edges show there's more to see */
.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(to right, var(--white) 30%, rgba(255, 255, 255, 0)) left center / 40px 100% no-repeat local,
    linear-gradient(to left, var(--white) 30%, rgba(255, 255, 255, 0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(19, 33, 60, 0.38), rgba(19, 33, 60, 0)) left center / 20px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(19, 33, 60, 0.38), rgba(19, 33, 60, 0)) right center / 20px 100% no-repeat scroll,
    var(--white);
}
.data-table-hint { margin-top: 8px; font-size: 15px; color: var(--slate); }
@media (min-width: 640px) {
  .data-table-hint { display: none; }
}
.data-table { width: 100%; border-collapse: collapse; font-size: 16px; }
/* Only the five-column price table needs to scroll sideways on a phone; the three-column tables wrap instead */
.data-table--num { min-width: 560px; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { font-weight: 600; font-size: 15px; color: var(--slate); background: var(--paper); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody th { font-weight: 600; }
.data-table--num td, .data-table--num th[scope="row"] { font-variant-numeric: tabular-nums; }
.data-table--num td { white-space: nowrap; }
.data-table tr.is-current td, .data-table tr.is-current th { background: #FFF6D6; }

.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--slate); }
.sources__title { margin: 0 0 8px; font-weight: 600; color: var(--navy); font-size: 16px; }
.sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sources li a { display: inline-block; padding-block: 3px; }
.sources a { color: var(--navy); }
.sources__checked { margin-top: 14px; }

.related { padding-block: 64px 72px; background: var(--paper); border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .related { padding-block: 88px 96px; }
}
.related__heading { font-size: 24px; margin-bottom: 24px; }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--navy); }
@media (min-width: 800px) {
  .related__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
}
.related__link {
  display: grid;
  align-content: start;
  gap: 6px;
  height: 100%;
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.related__link:hover .related__title { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 0.25em; }
.related__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.related__text { font-size: 16px; color: var(--slate); }

.cta-band { padding-block: 72px; background: var(--navy); color: var(--paper); }
@media (min-width: 1024px) {
  .cta-band { padding-block: 104px; }
}
.cta-band__inner { display: grid; gap: 24px; }
@media (min-width: 960px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 48px; }
  .cta-band__more { grid-column: 1 / -1; }
}
.cta-band__title { color: var(--paper); }
.cta-band__body { margin-top: 10px; color: var(--navy-soft); font-size: 19px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.cta-band .btn--secondary { border-color: var(--paper); color: var(--paper); }
.cta-band .btn--secondary:hover { background: var(--paper); color: var(--navy); }
.cta-band__more { color: var(--navy-soft); font-size: 16px; }
.cta-band__more a { color: var(--paper); font-weight: 600; }
.cta-band :focus-visible { outline-color: var(--yellow); }
@media (max-width: 559px) {
  .cta-band__actions .btn { width: 100%; }
}
.cta-band--checklist .container { display: grid; gap: 24px; }
.cta-band--checklist .cta-band__copy { max-width: 46ch; }
.cta-band--checklist .form-success__title { color: var(--paper); }
.cta-band--checklist .form-success__title svg.icon { color: var(--yellow); }

/* Index list: a ruled list of pages with a status on the right */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.index-list__item { border-bottom: 1px solid var(--line); }
.index-list__link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 20px 0;
  text-decoration: none;
}
@media (min-width: 720px) {
  .index-list__link { grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; padding: 22px 4px; }
}
.index-list__link:hover .index-list__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.index-list__icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; grid-row: span 2; }
@media (min-width: 720px) {
  .index-list__icon { grid-row: auto; }
}
.index-list__icon::before {
  content: "";
  position: absolute;
  left: 3px; right: 3px; bottom: 8px;
  height: 13px;
  border-radius: 6px;
  background: var(--yellow);
  transform: rotate(-8deg);
}
.index-list__icon svg.icon { position: relative; width: 26px; height: 26px; }
.index-list__main { display: grid; gap: 4px; min-width: 0; }
.index-list__title { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.index-list__text { color: var(--slate); font-size: 16px; }
.index-list__tag { justify-self: start; grid-column: 2; }
@media (min-width: 720px) {
  .index-list__tag { grid-column: auto; justify-self: end; }
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.tag--included { background: var(--success-tint); border-color: transparent; color: var(--success); }
.tag--extra { background: #FFF6D6; border-color: transparent; color: #5C4600; }
.tag--later { background: #E9ECF2; border-color: transparent; color: #2B3446; }
.tag--in-force { background: var(--success-tint); border-color: transparent; color: var(--success); }
.tag--coming { background: #FFF6D6; border-color: transparent; color: #5C4600; }
.tag--expected { background: #E9ECF2; border-color: transparent; color: #2B3446; }

/* Three ways a question is handled */
.lanes { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); }
}
.lane { display: grid; align-content: start; gap: 12px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
@media (min-width: 900px) {
  .lane { border: 0; border-radius: 0; }
  .lane + .lane { border-left: 1px solid var(--line); }
}
.lane__who { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; }
.lane__badge {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.lane__badge--expert { background: var(--yellow); color: var(--navy); }
.lane__badge svg.icon { width: 22px; height: 22px; }
.lane__examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.lane__examples li { padding-left: 16px; position: relative; }
.lane__examples li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 7px; height: 2px; background: var(--navy); }
.lane__check { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--slate); }
.lanes-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--paper);
  font-size: 17px;
}
.lanes-foot strong { color: var(--yellow); font-weight: 600; }

/* Timeline for the law-change hub */
.changes { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.change {
  display: grid;
  gap: 6px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .change { grid-template-columns: 200px minmax(0, 1fr) auto; align-items: start; }
}
.change__date { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.change__body { display: grid; gap: 4px; min-width: 0; }
.change__title { font-weight: 600; font-size: 18px; }
.change__text { color: var(--slate); font-size: 16px; }
.change__link { font-weight: 600; font-size: 16px; }
.change__status { justify-self: start; }
.changes-group-title { margin: 48px 0 12px; font-size: 22px; }
.changes-group-title:first-child { margin-top: 0; }

/* A three-part rule table: the rule, what it means, what Maravier does */
.rules { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.rule { display: grid; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .rule { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
}
.rule__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.rule__label { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--slate); }
@media (min-width: 900px) {
  .rules--headed .rule__label { display: none; }
}
.rules__head { display: none; }
@media (min-width: 900px) {
  .rules__head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; padding: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--slate); }
  .rules__head + .rules { border-top: 2px solid var(--navy); }
}
.rule__do { font-size: 16px; }

/* Card grid: a ruled list in two or three columns (the same pattern as the plan list on the home page) */
.cards { display: grid; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 960px) {
  .cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
}
.card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 6px;
  align-content: start;
  padding-block: 20px 22px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
@media (min-width: 640px) {
  .card { padding-block: 22px 26px; }
}
.card > :not(.card__icon) { grid-column: 2; }
.card:not(:has(> .card__icon)) { grid-template-columns: minmax(0, 1fr); }
.card:not(:has(> .card__icon)) > * { grid-column: 1; }
.card > .btn { justify-self: start; margin-top: 8px; }
.card__icon { position: relative; grid-row: 1; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -6px; }
.card__icon::before {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 7px;
  height: 12px;
  border-radius: 6px;
  background: var(--yellow);
  transform: rotate(-8deg);
}
.card__icon svg.icon { position: relative; width: 26px; height: 26px; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; }
.card__text { color: var(--slate); font-size: 16px; }
.card__when .tag,
.ticklist .tag { font-size: 14px; padding: 2px 10px; }
.ticklist .tag { margin-left: 6px; }
.card__more { margin-top: 4px; justify-self: start; font-weight: 600; font-size: 16px; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 0.25em; }
.card__more:hover { text-decoration-color: currentColor; }
/* Industries we're still building in: the icon goes grey, with no highlight behind it */
.card--held .card__icon { color: var(--slate); }
.card--held .card__icon::before { background: var(--line-soft); }

/* The fine print, as a document */
.clause-doc { position: relative; max-width: 860px; padding: 8px 22px; background: var(--white); border-radius: 6px 28px 6px 6px; box-shadow: var(--sheet-shadow); }
.clause-doc::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 28px; height: 28px;
  border-radius: 0 0 0 6px;
  background: linear-gradient(225deg, var(--paper) 50%, var(--line-soft) 50%);
}
.block--white .clause-doc::after { background: linear-gradient(225deg, var(--white) 50%, var(--line-soft) 50%); }
@media (min-width: 720px) {
  .clause-doc { padding: 16px 56px 16px 32px; }
}
.clause-doc__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; padding-block: 28px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
@media (min-width: 720px) {
  .clause-doc__item { grid-template-columns: 56px minmax(0, 1fr); }
}
.clause-doc__item:first-child { border-top: 0; }
.clause-doc__num { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--slate); line-height: 1.3; }
.clause-doc__body { display: grid; gap: 12px; min-width: 0; }
.clause-doc__body h2 { font-size: 22px; }
.clause-doc__body ul { padding-left: 20px; display: grid; gap: 8px; }

/* FAQ groups */
.faq-groups { display: grid; gap: 48px; }
.faq-group__title { margin-bottom: 8px; font-size: 24px; }

/* Contact options */
.contact-grid { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.contact-card { display: grid; align-content: start; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.contact-card__title { font-family: var(--font-display); font-weight: 600; font-size: 21px; }
.contact-card p { font-size: 16px; }
.contact-card .btn { justify-self: start; margin-top: 4px; }

/* Numbered process, light version */
.process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.process-list__item { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-bottom: 28px; }
.process-list__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px; top: 48px; bottom: 4px;
  width: 2px;
  background: var(--line);
}
.process-list__num {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}
.process-list__body { display: grid; gap: 6px; padding-top: 8px; }
.process-list__when { font-size: 15px; font-weight: 600; color: var(--slate); }
.process-list__title { font-size: 20px; }

/* Pricing page hero: the copy beside the price card */
.pricing-hero { display: grid; gap: 32px; }

/* Inner pages: question lists and page lists get the same margin heading as the home page */
@media (min-width: 1180px) {
  .container:has(> .block-head + .faq__list),
  .container:has(> .block-head + .index-list) {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: 72px;
    align-items: start;
  }
  .container:has(> .block-head + .faq__list) > .block-head,
  .container:has(> .block-head + .index-list) > .block-head { position: sticky; top: 120px; margin-bottom: 0; }
  .container:has(> .block-head + .faq__list) > :not(.block-head),
  .container:has(> .block-head + .index-list) > :not(.block-head) { grid-column: 2; }
}
.pricing-hero__ticks { margin-top: 24px; }
.pricing-hero__card .price-card { margin: 0 auto; }
@media (min-width: 1024px) {
  .pricing-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; }
  .pricing-hero__card .price-card { margin: 0; }
}
.split--top { align-items: start; }

/* Switch page: the form panel sits on the off-white hero, so it's white */
.switch__panel--raised { background: var(--white); border: 1px solid var(--line); }
.process-list--narrow { max-width: var(--textw); }
.measure { max-width: var(--textw); }
.faq-group { scroll-margin-top: 16px; }
.contact-card__value { font-weight: 600; overflow-wrap: anywhere; }

/* Accountants: the note to copy */
.note-builder { display: grid; gap: 18px; padding: 24px 20px; background: var(--paper); border-radius: var(--radius-panel); }
@media (min-width: 560px) {
  .note-builder { padding: 28px; }
}
.note-builder .btn { justify-self: start; }
.note-builder__text { min-height: 320px; font-size: 15px; line-height: 1.5; resize: vertical; white-space: pre-wrap; }

/* Job ad and long single-column pages */
.single { max-width: calc(var(--textw) + 2 * var(--gutter)); }
.badge-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* Home: links from each section to its detail page (padded so the hit area is 44px tall) */
.home-more { margin-top: 28px; font-weight: 600; }
.home-more a { display: inline-block; padding-block: 11px; margin-block: -11px; font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 0.25em; }
.home-more a:hover { text-decoration-color: currentColor; }
.section--navy .home-more a { color: var(--paper); }

.feature__link { color: inherit; text-decoration: none; }
.feature__link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.price-card__gross { display: block; margin-top: 6px; font-size: 15px; color: var(--slate); }
.price-card__result-gross { display: block; font-size: 16px; color: var(--slate); }
.home-more--center { text-align: center; }
/* Home: what founding members get, under the price card */
.founding-extras { display: grid; gap: 14px; max-width: 560px; margin: 32px auto 0; }
.about__body { display: grid; gap: 4px; }

/* ---------- App screens: extra parts ---------- */
.app__mark--light { background: var(--paper); color: var(--navy); }
.app-h--big { font-size: 1.7em; }
.app-panel { background: var(--white); border: 1px solid var(--line); border-radius: 1.2em; overflow: hidden; }
.app-panel--pad { display: grid; gap: 0.45em; padding: 1.1em 1.2em; }
.app-panel__title { margin: 0; padding: 1em 1.2em 0.5em; font-family: var(--font-display); font-weight: 600; font-size: 1.12em; }
.app-panel__title--inline { padding: 0.4em 0 0; font-size: 1em; }
.app-rows { list-style: none; margin: 0; padding: 0; }
.app-row { display: flex; align-items: center; gap: 0.8em; padding: 0.8em 1.2em; border-top: 1px solid #EEEAE0; }
.app-row__icon { display: grid; place-items: center; flex: none; width: 2.6em; height: 2.6em; border-radius: 0.8em; background: #FFF1BF; }
.app-row__icon svg.icon { width: 1.4em; height: 1.4em; }
.app-row__icon--warm { background: #FDE4D2; }
.app-row__text { flex: 1; display: grid; gap: 0.1em; font-size: 1.04em; }
.app-row__text span { color: var(--slate); font-size: 0.9em; }
.app-row__text .app-row__urgent { color: #8A3A00; }
.app-row__count { color: var(--slate); }
.app-rows--compact .app-row { padding: 0.7em 1.2em; }
.app-rows--ticks .app-row { align-items: flex-start; padding: 0.6em 1.2em; font-size: 1em; line-height: 1.4; }
.app-rows--ticks svg.icon { flex: none; width: 1.3em; height: 1.3em; margin-top: 0.1em; color: var(--success); stroke-width: 3; }
.app-panel--pad .app-rows--ticks .app-row { padding: 0.35em 0; border-top: 0; }
.app-ask { display: grid; gap: 0.8em; padding: 1.1em; border-radius: 1.2em; background: var(--navy); color: var(--white); }
.app-ask__head { display: flex; align-items: center; gap: 0.7em; }
.app-ask__head > span:last-child { display: grid; gap: 0.1em; }
.app-ask__head b { font-size: 1.05em; }
.app-ask__head span span { color: #C9D1E3; font-size: 0.85em; }
.app-ask__input { display: flex; align-items: center; height: 3em; padding: 0 1em; border-radius: 0.8em; background: var(--paper); color: var(--slate); font-size: 0.95em; }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8em; }
.app-mini { display: grid; gap: 0.3em; padding: 1em; border-radius: 1.1em; background: var(--white); border: 1px solid var(--line); font-size: 0.95em; }
.app-mini svg.icon { width: 1.5em; height: 1.5em; }
.app-mini span { color: var(--slate); font-size: 0.9em; }
.app-steps { list-style: none; margin: 0; padding: 1.1em; display: grid; gap: 1em; background: var(--white); border: 1px solid var(--line); border-radius: 1.2em; }
.app-steps__item { display: flex; gap: 0.8em; }
.app-steps__dot { display: grid; place-items: center; flex: none; width: 1.9em; height: 1.9em; border-radius: 50%; border: 2px solid var(--line); font-weight: 700; font-size: 0.95em; }
.app-steps__item.is-done .app-steps__dot { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
.app-steps__dot svg.icon { width: 1.1em; height: 1.1em; stroke-width: 3; }
.app-steps__item.is-now .app-steps__dot { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.app-steps__text { flex: 1; display: grid; gap: 0.2em; font-size: 1.02em; }
.app-steps__text span { color: var(--slate); font-size: 0.9em; }
.app-progress__fill--five-of-six { width: 83.3%; }
.app-cover { display: grid; gap: 0.4em; padding: 1.2em; border-radius: 1.2em; background: var(--navy); color: var(--white); }
.app-cover__label { color: #C9D1E3; font-size: 0.95em; }
.app-cover__date { font-family: var(--font-display); font-weight: 600; font-size: 1.6em; line-height: 1.15; }
.app-cover__sub { color: #DDE3EF; font-size: 0.9em; }
.app-cover__bar { display: block; height: 0.6em; margin-top: 0.3em; border-radius: 1em; background: #2B3F66; overflow: hidden; }
.app-cover__bar span { display: block; width: 38%; height: 100%; background: var(--yellow); }
.app-cover--text { font-size: 1.04em; line-height: 1.45; }
.app-cover--text b { color: var(--yellow); }
.app-btn--navy { background: var(--navy); color: var(--white); }
.app-btn--ghost { background: transparent; border: 2px solid var(--navy); }
.app-chips { display: grid; gap: 0.5em; }
.app-chip { padding: 0.7em 1em; border-radius: 0.8em; border: 2px solid #848C9C; background: var(--white); font-weight: 600; font-size: 0.98em; }
.app-chip.is-on { border-color: var(--navy); background: #FFF8DC; }
.app-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 0.8em; padding: 0.9em 1em; border-radius: 1em; background: var(--white); border: 1px solid var(--line); }
.app-small { font-size: 0.92em; line-height: 1.4; color: #2B3446; }
.app-handover { display: flex; align-items: center; gap: 0.8em; padding: 0.9em 1em; border-radius: 1em; background: var(--success-tint); color: #123F2D; }
.app-handover b { display: block; }
.app-handover span span { font-size: 0.9em; }
.app-handover__icon svg.icon { width: 1.6em; height: 1.6em; }
.bubble__from { display: flex; align-items: center; gap: 0.45em; font-weight: 700; font-size: 0.85em; color: var(--slate); }
/* Mirith's avatar: a speech bubble with its key line highlighted */
.mirith-avatar { display: block; width: 100%; height: 100%; }
.bubble__from .mirith-avatar { flex: none; width: 1.8em; height: 1.8em; }
.app__avatar { display: block; flex: none; width: 2.3em; height: 2.3em; }
.app__avatar--ask { width: 2.6em; height: 2.6em; }
.app-tag { justify-self: start; display: inline-block; padding: 0.25em 0.7em; border-radius: 1em; background: #FFF1BF; font-weight: 700; font-size: 0.82em; }
.app-pill { padding: 0.25em 0.7em; border-radius: 1em; background: #E9ECF2; font-weight: 600; font-size: 0.82em; }
.app-pill--ok { background: var(--success-tint); color: var(--success); }

/* ---------- "Shared with you by" a partner practice (6-month check and checklist page) ---------- */
.partner-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 16px;
}
.partner-line svg.icon { flex: none; width: 20px; height: 20px; }

/* ---------- The 6-month check ---------- */
.smc-form__intro { font-size: 16px; color: var(--slate); }
.smc-people { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.smc-person { position: relative; border-bottom: 1px solid var(--line); }
.smc-person__set { margin: 0; padding: 0 0 20px; border: 0; min-width: 0; }
/* floated so the legend sits inside the row like a normal heading */
.smc-person__legend { float: left; width: 100%; padding: 16px 72px 0 0; margin-bottom: 10px; font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.6; }
.smc-person__fields { clear: both; display: grid; gap: 12px 16px; }
@media (min-width: 400px) {
  .smc-person__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
.smc-person__remove { position: absolute; top: 8px; right: 0; min-height: 44px; padding: 0 2px; font-size: 15px; color: var(--slate); }
.smc-person__remove:hover { color: var(--navy); }
.smc-form__add { justify-self: start; }
.smc-form__max { font-size: 15px; color: var(--slate); }

.smc-results [tabindex="-1"]:focus { outline: none; }
.smc-groups { display: grid; gap: 48px; max-width: 900px; }
.smc-group { display: grid; gap: 12px; }
.smc-group__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 22px; line-height: 1.3; }
.smc-group__text { max-width: 62ch; color: var(--slate); }
.smc-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.smc-item { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) {
  .smc-item { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; }
}
.smc-item__name { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.35; overflow-wrap: anywhere; }
.smc-item__details { display: grid; gap: 2px; }
.smc-item__start { color: var(--slate); }
.smc-item__review { font-weight: 600; }
.smc-results__note { max-width: 900px; margin-top: 40px; }
.smc-results__note p + p { margin-top: 8px; }
.smc-results__edit { margin-top: 24px; }
.smc-results__edit a { display: inline-block; padding-block: 11px; margin-block: -11px; font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 0.25em; }
.smc-results__edit a:hover { text-decoration-color: currentColor; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
