/* Public header (Products menu, sign-in, Get in touch), the product pages and
   the illustrated demo cards shared by the homepage and product pages. Loaded
   last on every page, so it may refine rules from the earlier stylesheets. */

/* ---- header: a floating frosted bar, pinned while scrolling -------------------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  padding: 0.85rem 0 0;
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.45rem 0.45rem 1.35rem;
  border-radius: var(--radius-pill);
  background: rgba(253, 253, 251, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(46, 61, 79, 0.05), 0 14px 34px -22px rgba(46, 61, 79, 0.45);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}

.public-nav {
  margin-left: 0.75rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

/* Sign in is the quiet secondary action next to Get in touch. */
.signin-btn {
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-weight: 500;
}

.signin-btn:hover {
  background-color: var(--bg-soft);
}

.btn--small {
  font-size: 0.875rem;
  padding: 0.65rem 1.3rem;
}

/* In-page targets land below the pinned header. */
section[id] {
  scroll-margin-top: 5.5rem;
}

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

.product-menu {
  position: relative;
}

.product-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-soft), color 0.25s var(--ease-soft);
}

.product-menu summary::-webkit-details-marker,
.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.product-menu summary:hover,
.product-menu[open] summary {
  background-color: var(--bg-soft);
  color: var(--accent-deep);
}

.product-menu summary:focus-visible,
.mobile-menu__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-menu__chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-soft);
}

.product-menu[open] .product-menu__chevron {
  transform: rotate(180deg);
}

.product-menu__panel {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: -0.5rem;
  z-index: 5;
  display: grid;
  gap: 0.25rem;
  width: 22rem;
  padding: 0.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(46, 61, 79, 0.06), 0 24px 48px -24px rgba(46, 61, 79, 0.32);
  transition: opacity 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}

@starting-style {
  .product-menu[open] .product-menu__panel,
  .mobile-menu[open] .mobile-menu__sheet {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.product-menu__item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.25s var(--ease-soft);
}

.product-menu__item:hover {
  background-color: var(--bg-soft);
}

.product-menu__item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.product-menu__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-tint);
}

.product-menu__icon svg {
  width: 22px;
  height: 22px;
}

.product-menu__text {
  display: grid;
  gap: 0.1rem;
}

.product-menu__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 520;
  color: var(--ink);
}

.product-menu__purpose {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

/* ---- phone menu ----------------------------------------------------------------- */

.mobile-menu {
  display: none;
  margin-left: auto;
}

.mobile-menu__toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--ink);
  background: var(--bg-soft);
  list-style: none;
  cursor: pointer;
}

.mobile-menu__toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu__close,
.mobile-menu[open] .mobile-menu__open {
  display: none;
}

.mobile-menu[open] .mobile-menu__close {
  display: block;
}

.mobile-menu__sheet {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  gap: 0.25rem;
  padding: 0.6rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 1px 2px rgba(46, 61, 79, 0.06), 0 28px 56px -24px rgba(46, 61, 79, 0.4);
  transition: opacity 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}

.mobile-menu__actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.75rem 0.25rem 0.25rem;
  border-top: 1px solid var(--line);
}

.mobile-menu__actions .btn {
  text-align: center;
}

.signin-btn--outline {
  justify-content: center;
  min-height: 3rem;
  border-color: var(--line-strong);
}

@media (max-width: 720px) {
  .site-header__bar {
    position: relative;
    padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  }

  .public-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

/* ---- shared helpers --------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 1rem;
}

/* The product's name, set like the wordmark, above a product heading. */
.feature__product {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 550;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.feature__product span {
  color: var(--accent);
}

/* ---- product pages ------------------------------------------------------------------ */

.product-hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0 var(--section-pad);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.product-hero__title {
  font-family: var(--font-serif);
  font-weight: 480;
  font-size: clamp(2.3rem, 5.6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.product-hero__title em {
  font-style: italic;
  font-weight: 440;
  color: var(--accent-deep);
}

.product-hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  max-width: 44ch;
  margin-top: 1.25rem;
}

.product-hero__cta {
  margin-top: 2rem;
}

.steps {
  padding: 0 0 var(--section-pad);
}

.steps__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-top: 1.5rem;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.35rem, 2.5vw, 1.85rem);
}

/* Step illustrations: small product moments above each step. */
.step__art {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 250px;
  margin-bottom: 1.4rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: var(--bg-soft);
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.art-builder,
.art-rubric {
  width: 100%;
  max-width: 16rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.75rem;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 32px -24px rgba(46, 61, 79, 0.45);
}

.art-faces {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.art-faces img,
.art-faces__more {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
}

.art-faces img.is-picked {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.art-faces__more {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  color: var(--ink-muted);
}

.art-fields {
  display: grid;
  gap: 0.3rem;
  margin: 0;
}

.art-fields div {
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr);
  gap: 0.5rem;
}

.art-fields dt {
  color: var(--ink-muted);
}

.art-fields dd {
  margin: 0;
  color: var(--ink);
}

.art-chip {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-tint);
}

.art-chip--ok {
  color: #4b6856;
  background: #e9efea;
}

.art-call {
  position: relative;
  place-self: stretch;
  min-height: 190px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink);
}

.art-call img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.art-call__live {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(253, 253, 251, 0.88);
}

.art-call__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fc4a4;
}

.art-rubric__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--ink);
}

.art-rubric__head span {
  font-weight: 400;
  color: var(--ink-muted);
}

.art-rubric ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.art-rubric li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
}

.art-pips {
  display: flex;
  gap: 4px;
}

.art-pips i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}

.art-pips--3 i:nth-child(-n+3),
.art-pips--4 i:nth-child(-n+4),
.art-pips--5 i {
  background: var(--accent);
}

.step__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step__title {
  font-family: var(--font-serif);
  font-weight: 520;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.step p {
  line-height: 1.65;
}

.product-page :focus-visible {
  outline-offset: 4px;
}

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

  .steps__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- demo cards: illustrated product moments (decorative, aria-hidden) ---------------- */

.demo {
  min-width: 0;
}

.demo__meta {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.demo__status {
  justify-self: end;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  color: var(--accent-deep);
  background: var(--accent-tint);
}

.demo__scores {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.demo__scores li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 2.25rem;
  align-items: center;
  gap: 0.85rem;
}

.demo__skill {
  color: var(--ink);
}

.demo__bar {
  display: flex;
  gap: 4px;
}

.demo__bar i {
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: var(--accent-tint);
}

.demo__bar--3 i:nth-child(-n+3),
.demo__bar--4 i:nth-child(-n+4),
.demo__bar--5 i {
  background: var(--accent);
}

.demo__status {
  display: inline-block;
  margin-top: 1rem;
}

/* Session window: a call with a real avatar, and the feedback that follows,
   in one card. */
.demo--session {
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
}

.demo__window {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(46, 61, 79, 0.06), 0 36px 64px -36px rgba(46, 61, 79, 0.5);
}

.demo__callbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  font-size: 0.75rem;
  color: rgba(253, 253, 251, 0.88);
  background: var(--ink);
}

.demo__connected {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(253, 253, 251, 0.22);
  border-radius: var(--radius-pill);
}

.demo__connected i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8fc4a4;
}

.demo__callbar .demo__timer {
  color: #e9d6a8;
  font-size: 0.75rem;
}

/* A close, video-call framing of the client. */
.demo__video {
  position: relative;
  aspect-ratio: 16 / 11;
  max-width: 100%;
  overflow: hidden;
  background: var(--ink);
}

.demo__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.demo__videoname {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fdfdfb;
  background: rgba(46, 61, 79, 0.6);
}

.demo--session .demo__caption {
  bottom: 0.85rem;
  font-size: 0.875rem;
}

.demo__feedback {
  padding: 1rem 1.1rem 1.15rem;
}

.demo__feedback-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.8rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.demo__scores--row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.demo__scores--row li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
}

.demo__scores--row .demo__skill {
  font-size: 0.8125rem;
  line-height: 1.3;
}

.demo__scores--row .demo__bar {
  gap: 3px;
}

.demo__scores--row .demo__bar i {
  flex: 1;
  width: auto;
}

/* Head and shoulders, drawn from two soft shapes. */

.demo__caption {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 1;
  width: calc(100% - 2rem);
  max-width: 24rem;
  transform: translateX(-50%);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  text-align: center;
  font-size: 0.9375rem;
  color: #fdfdfb;
  background: rgba(46, 61, 79, 0.78);
}

.demo__timer {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

/* ---- Notes illustrations ------------------------------------------------------- */

/* Hero: a few rough lines become a structured note, shown mostly as shape.
   The two cards step down diagonally, rough notes first. */
.note-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem;
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
}

.note-flow .note-rough {
  justify-self: start;
  width: min(100%, 17rem);
}

.note-flow .note-draft {
  justify-self: end;
  width: min(100%, 22rem);
}

.note-flow__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.note-flow__label .demo__status {
  margin: 0;
}

.note-rough {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: #fbf8f1;
  border: 1px dashed var(--line-strong);
  transform: rotate(-1.5deg);
}

.note-rough ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--ink-soft);
}

.note-flow__arrow {
  display: grid;
  justify-self: center;
  transform: rotate(35deg);
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-tint);
}

.note-flow__arrow svg {
  width: 16px;
  height: 16px;
}

.note-draft {
  padding: 1rem 1.1rem 1.1rem;
  border-radius: calc(var(--radius) + 2px);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(46, 61, 79, 0.05), 0 30px 56px -34px rgba(46, 61, 79, 0.45);
}

.note-sec {
  display: grid;
  gap: 0.35rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}

.note-sec b {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.note-sec i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--line-strong);
}

.note-sec i.is-mid { width: 70%; }
.note-sec i.is-short { width: 45%; }

@media (max-width: 480px) {
  .note-flow .note-rough,
  .note-flow .note-draft {
    width: 100%;
  }

  .note-flow__arrow {
    transform: rotate(90deg);
  }

  .note-rough {
    transform: none;
  }
}

/* Step 1: the notes field a clinician already writes in. */
.art-field {
  position: relative;
  width: 100%;
  max-width: 16rem;
  padding: 0.8rem 0.9rem 0.7rem;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line-field);
  font-size: 0.8125rem;
}

.art-field__label {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

.art-field__text {
  font-style: italic;
  color: var(--ink-soft);
}

.art-caret {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--accent);
}

.art-field__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.art-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.art-dictate {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-tint);
}

.art-dictate svg {
  width: 13px;
  height: 13px;
}

/* Steps 2 and 3: a few lines become a complete, sectioned note. The note is
   drawn as shape so its length reads at a glance. */
.art-expand {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  width: 100%;
}

.art-expand__badge {
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-tint);
}

.art-expand__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.art-expand__row .art-doc {
  flex: 0 1 9.5rem;
  min-width: 0;
}

.art-expand__row .art-mini {
  flex: none;
}

.art-mini {
  display: grid;
  gap: 4px;
  width: 3.6rem;
  padding: 0.5rem;
  border-radius: 8px;
  background: #fbf8f1;
  border: 1px dashed var(--line-strong);
}

.art-mini i,
.art-doc i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--line-strong);
}

.art-mini i.is-short,
.art-doc i.is-short { width: 45%; }
.art-doc i.is-mid { width: 72%; }

.art-expand__arrow {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-tint);
}

.art-expand__arrow svg {
  width: 13px;
  height: 13px;
}

.art-doc {
  display: grid;
  gap: 0.45rem;
  width: 9.5rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 32px -22px rgba(46, 61, 79, 0.5);
}

.doc-sec {
  display: grid;
  gap: 4px;
}

.doc-sec b {
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent-deep);
}

/* One intervention sentence in the formula's four colors. */
.doc-formula {
  display: flex;
  gap: 3px;
}

.doc-formula i {
  height: 5px;
  border-radius: 3px;
}

.doc-formula .v { flex: 2; background: var(--accent); }
.doc-formula .t { flex: 3; background: #6e96b9; }
.doc-formula .g { flex: 2; background: #a08a55; }
.doc-formula .p { flex: 3; background: #5f7d6a; }

.art-review {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}

.art-doc--review {
  width: 12rem;
}

.doc-sec--flag {
  margin-inline: -0.35rem;
  padding: 0.3rem 0.35rem;
  border-radius: 6px;
  background: #f6f1e4;
  outline: 1px solid rgba(131, 108, 58, 0.26);
}

.doc-sec--flag em {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #7a6234;
}

.art-copy {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fdfdfb;
  background: linear-gradient(180deg, #4a7ba4 0%, var(--accent) 55%, var(--accent-deep) 100%);
}

/* ---- Notes: two assurance cards ------------------------------------------------ */

.assurances {
  padding: 0 0 var(--section-pad);
}

.assurances__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.assurance {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.assurance__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-tint);
}

.assurance__icon svg {
  width: 26px;
  height: 26px;
}

.assurance__title {
  font-family: var(--font-serif);
  font-weight: 520;
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}

.assurance p {
  line-height: 1.65;
}

.assurance a {
  color: var(--accent-deep);
  text-underline-offset: 3px;
}

.assurance__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.assurance__tags li {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  background: var(--panel);
  border: 1px solid var(--line-strong);
}

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

/* ---- legal page and footer ------------------------------------------------------------ */

/* The header sits in the page flow, so the legal page needs no room for it. */
.legal {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.site-footer__legal {
  line-height: 2;
}
