/* Bettersound public site. The colours, type and spacing are the tokens below, so a change of look starts here. */

@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f2530;
  --text: #3d5260;
  --muted: #5d7280;
  --line: #dfe7ea;
  --line-strong: #c8d4d9;
  --bg: #ffffff;
  --soft: #f3f7f7;
  --soft-2: #e9f1f1;
  --brand: #0d6e74;
  --brand-strong: #09575c;
  --brand-tint: #e4f1f0;
  --brand-tint-2: #cbe4e2;
  --accent: #e0702b;
  --accent-ink: #a64b12;
  --accent-tint: #fdeee3;
  --dark: #0b1e25;
  --dark-2: #11303a;
  --dark-text: #c9d9dd;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 37, 48, 0.06), 0 2px 6px rgba(15, 37, 48, 0.05);
  --shadow: 0 1px 2px rgba(15, 37, 48, 0.05), 0 18px 40px -12px rgba(15, 37, 48, 0.18);
  --shadow-lg: 0 2px 4px rgba(6, 40, 44, 0.08), 0 28px 60px -18px rgba(6, 40, 44, 0.42);
  /* The brand panel: the hero, the closing call to action. waves.svg is the brand mark's two arcs, carried on outward */
  --panel: linear-gradient(150deg, #13838a 0%, #0d6e74 48%, #0a5559 100%);
  --stage-cool: linear-gradient(160deg, #e3f1f0 0%, #cfe5e3 100%);
  --stage-warm: linear-gradient(160deg, #fdf2e9 0%, #f8e2d0 100%);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header: 68px;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-strong);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
  color: #fff;
}

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(9, 87, 92, 0.25);
}

.btn-primary:hover {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(9, 87, 92, 0.7);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--brand-tint);
  color: var(--ink);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost-light:hover {
  border-color: #fff;
  color: #fff;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 780;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9688rem;
  font-weight: 550;
  text-decoration: none;
}

.nav a.btn-primary,
.nav a.btn-primary:hover,
.nav a.btn-primary[aria-current='page'] {
  color: #fff;
}

.nav a:not(.btn):hover,
.nav a[aria-current='page'] {
  color: var(--ink);
}

.nav a[aria-current='page'] {
  font-weight: 650;
}

.header-cta {
  margin-left: 12px;
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-button .icon {
  width: 22px;
  height: 22px;
}

.menu-button .icon-close {
  display: none;
}

.menu-button[aria-expanded='true'] .icon-open {
  display: none;
}

.menu-button[aria-expanded='true'] .icon-close {
  display: block;
}

@media (max-width: 760px) {
  .menu-button {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(15, 37, 48, 0.2);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.0625rem;
  }

  .header-cta {
    margin: 16px 0 0;
  }

  .nav a.header-cta {
    padding: 0 22px;
    border-bottom: 0;
    border-radius: 999px;
  }
}

/* Sections */

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head h2,
.h2 {
  font-size: clamp(2rem, 3.6vw, 2.875rem);
}

.section-head p {
  margin-top: 18px;
  font-size: 1.1875rem;
  color: var(--text);
}

.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 112px);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto auto;
  width: calc(50% + 40px);
  height: 100%;
  background: url('/assets/waves.svg') no-repeat -260px 52% / 1500px auto, var(--panel);
  border-bottom-left-radius: 48px;
  z-index: -1;
}

.hero .ui,
.hero .float {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero h1 {
  font-size: clamp(2.375rem, 4.3vw, 3.625rem);
  letter-spacing: -0.032em;
  line-height: 1.03;
}

.hero .lead {
  margin-top: 24px;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  container-type: inline-size;
  padding: 9% 0 6% 0;
}

@media (max-width: 1000px) {
  .hero::before {
    display: none;
  }

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

  .hero-visual {
    max-width: 680px;
    padding: 5% 4% 9%;
    border-radius: 24px;
    background: url('/assets/waves.svg') no-repeat -45% 50% / 170% auto, var(--panel);
  }
}

/* How it helps */

.helps {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.helps-intro {
  max-width: 44em;
}

.helps-intro p {
  margin-top: 18px;
  font-size: 1.1875rem;
}

.helps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.helps-list li {
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}

.helps-list .icon {
  display: block;
  margin-bottom: 18px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  stroke-width: 1.8;
}

.helps-list li:nth-child(3n + 2) .icon {
  background: var(--accent);
}

.helps-list li:nth-child(3n) .icon {
  background: var(--dark-2);
}

.helps-list h3 {
  font-size: 1.3125rem;
  letter-spacing: -0.015em;
}

.helps-list p {
  margin-top: 8px;
}

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

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

/* The tour video */

.tour {
  position: relative;
  margin-top: 8px;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  background: var(--dark);
  box-shadow: var(--shadow);
  color: #fff;
  container-type: inline-size;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.poster {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 6cqw;
  padding: 6cqw 7cqw;
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(13, 110, 116, 0.55), transparent 60%),
    linear-gradient(160deg, #0e2730 0%, #0a1b21 100%);
}

.poster-brand {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  font-size: 2.1cqw;
  font-weight: 700;
  color: var(--dark-text);
}

.poster-brand svg {
  width: 3.2cqw;
  height: 3.2cqw;
}

.poster-line {
  margin-top: 1.6cqw;
  font-size: 5.6cqw;
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #fff;
}

.poster-chapters {
  margin: 3.4cqw 0 0;
  padding: 0;
  list-style: none;
  counter-reset: chapter;
}

.poster-chapters li {
  display: flex;
  align-items: baseline;
  gap: 1.4cqw;
  padding: 0.75cqw 0;
  font-size: 1.75cqw;
  color: var(--dark-text);
  counter-increment: chapter;
}

.poster-chapters li::before {
  content: counter(chapter);
  min-width: 1.6cqw;
  color: #7fc4c2;
  font-weight: 750;
}

.poster-play {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
}

.play {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8cqw;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.play-disc {
  display: grid;
  place-items: center;
  width: 12cqw;
  height: 12cqw;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 0 0 1.4cqw rgba(255, 255, 255, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.play-disc svg {
  width: 42%;
  height: 42%;
  margin-left: 8%;
}

.play:hover .play-disc,
.play:focus-visible .play-disc {
  transform: scale(1.05);
  box-shadow: 0 0 0 2cqw rgba(255, 255, 255, 0.16);
}

.play-label {
  font-size: max(14px, 1.9cqw);
  font-weight: 650;
}

.play-label span {
  margin-left: 0.6em;
  color: var(--dark-text);
  font-weight: 500;
}

@media (max-width: 640px) {
  .video {
    aspect-ratio: auto;
    border-radius: 18px;
  }

  .poster {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 28px 24px 32px;
  }

  .poster-brand {
    gap: 8px;
    font-size: 15px;
  }

  .poster-brand svg {
    width: 22px;
    height: 22px;
  }

  .poster-line {
    margin-top: 10px;
    font-size: 34px;
  }

  .poster-chapters {
    margin-top: 18px;
  }

  .poster-chapters li {
    gap: 10px;
    padding: 4px 0;
    font-size: 15px;
  }

  .poster-chapters li::before {
    min-width: 12px;
  }

  .poster-play {
    align-items: flex-start;
  }

  .play {
    flex-direction: row;
    gap: 14px;
  }

  .video.is-playing {
    aspect-ratio: 16 / 9;
  }
}

/* Features: one row each, text beside a stage that plays the feature */

.features {
  display: grid;
  gap: clamp(72px, 10vw, 128px);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.feature:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.feature:nth-child(even) .feature-text {
  order: 2;
}

.feature h3 {
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
}

.feature-text p {
  margin-top: 16px;
  font-size: 1.125rem;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  font-size: 1rem;
}

.ticks .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--brand);
  stroke-width: 2.2;
}

.stage {
  position: relative;
  container-type: inline-size;
  padding: clamp(20px, 5cqw, 44px);
  border-radius: 24px;
  background: var(--soft);
}

.section-soft .stage {
  background: var(--stage-cool);
}

.section-soft .feature:nth-child(even) .stage {
  background: var(--stage-warm);
}

.feature .ui {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 960px) {
  .feature,
  .feature:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature:nth-child(even) .feature-text {
    order: 0;
  }
}

/* Across every clinic: a grid of smaller stages */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mini {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.mini .stage {
  border-radius: 0;
  background: var(--stage-cool);
  padding: clamp(16px, 6cqw, 28px);
  aspect-ratio: 16 / 11;
  display: grid;
  align-items: center;
}

.section-soft .mini .stage {
  box-shadow: none;
}

.mini-text {
  padding: 24px 24px 28px;
}

.mini h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.mini-text p {
  margin-top: 8px;
  font-size: 1rem;
}

@media (max-width: 1000px) {
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Also included */

.also {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin: clamp(48px, 7vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

.also li {
  padding: 20px 0;
  border-top: 1px solid var(--line-strong);
}

.also strong {
  display: block;
  color: var(--ink);
  font-weight: 680;
}

.also span {
  display: block;
  margin-top: 4px;
  font-size: 0.9688rem;
}

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

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

/* Security, on a dark band */

.section-dark {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(19, 131, 138, 0.42), transparent 70%),
    linear-gradient(180deg, var(--dark) 0%, #0d252d 100%);
  color: var(--dark-text);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .section-head p {
  color: var(--dark-text);
}

.secure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.secure > div {
  padding: 28px 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.secure .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(127, 196, 194, 0.14);
  color: #8fd3d0;
}

.secure h3 {
  margin-top: 18px;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}

.secure p {
  margin-top: 8px;
  font-size: 1rem;
}

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

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

/* Pricing */

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #fff;
}

.plan-main {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand-tint) 0, #fff 260px);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow);
}

.plan h3 {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
}

.plan-for {
  margin-top: 6px;
  color: var(--muted);
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 28px;
  color: var(--ink);
}

.price-talk {
  font-size: clamp(2rem, 3.6vw, 2.5rem);
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.plan .btn {
  margin-top: auto;
  align-self: flex-start;
}

.plan-list {
  display: grid;
  gap: 11px;
  margin: 28px 0 32px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  font-size: 1rem;
  line-height: 1.45;
}

.plan-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--brand);
  stroke-width: 2.2;
}

.plan-list-head {
  display: block;
  margin-top: 28px;
  color: var(--ink);
  font-weight: 650;
}

.plan-list-head + .plan-list {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

/* The one plan: its name and Get in touch beside what's included, stacked on a phone */

.plan-one {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 48px);
  max-width: 880px;
}

.plan-one .plan-text {
  margin: 14px 0 28px;
}

.plan-one .btn {
  margin-top: 0;
}

.plan-one .plan-list-head {
  margin-top: 0;
}

.plan-one .plan-list {
  margin-bottom: 0;
}

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

  .plan-one .plan-list-head {
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
}

/* Pricing page */

.page-head {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
}

.page-head h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
}

.page-head .lead {
  max-width: 36em;
  margin-top: 20px;
}

.count {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}

.count-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.count-rows li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.count-rows li:last-child {
  border-bottom: 1px solid var(--line);
}

.count-rows strong {
  color: var(--ink);
  font-weight: 650;
}

.count-rows span {
  flex: none;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.count-rows .is-counted span {
  color: var(--brand);
  font-weight: 650;
}

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

.faq {
  max-width: 820px;
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

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

.faq summary .icon {
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition: transform 0.2s;
}

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

.faq .answer {
  padding: 0 48px 24px 0;
}

.faq .answer p + p {
  margin-top: 12px;
}

/* Closing call to action */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px);
  border-radius: 28px;
  background: url('/assets/waves.svg') no-repeat right -740px center / 1400px auto, var(--panel);
  color: #e7f4f3;
}

.cta h2 {
  max-width: 18em;
  color: #fff;
  font-size: clamp(1.875rem, 3.4vw, 2.625rem);
}

.cta p {
  max-width: 34em;
  margin-top: 16px;
  font-size: 1.125rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .cta {
    background-position: right -1070px center, 0 0;
  }
}

/* Footer */

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.9688rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-line {
  margin-top: 10px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.footer-links div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links strong {
  color: var(--ink);
  font-weight: 650;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-base {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* Prose pages: privacy, not found */

.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 40px;
  font-size: 1.375rem;
  letter-spacing: -0.015em;
}

.prose p {
  margin-top: 12px;
}

.prose .updated {
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------------------------------------------------------ */
/* The product mock-ups. Each sits in a container, and every size inside is in em, so it scales with its stage.  */
/* ------------------------------------------------------------------------------------------------------------ */

.ui,
.duo {
  --u-brand: var(--brand);
  --u-brand-strong: var(--brand-strong);
  --u-tint: var(--brand-tint);
  --u-tint-2: var(--brand-tint-2);
}

.ui {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.9em;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: clamp(9px, 2.9cqw, 16px);
  line-height: 1.35;
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
}

.mini .ui {
  font-size: clamp(9px, 3.7cqw, 14px);
  box-shadow: var(--shadow-sm);
}

.ui-bar {
  display: flex;
  align-items: center;
  gap: 0.7em;
  height: 2.9em;
  padding: 0 1.1em;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82em;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color 0.6s, color 0.6s, border-color 0.6s;
}

.ui-logo {
  width: 1.45em;
  height: 1.45em;
  flex: none;
  border-radius: 0.4em;
  background: var(--u-brand);
  transition: background-color 0.6s;
}

.ui-steps {
  display: flex;
  gap: 0.35em;
  margin-left: auto;
}

.ui-steps i {
  padding: 0.3em 0.7em;
  border-radius: 999px;
  color: var(--muted);
  font-style: normal;
  font-weight: 550;
}

.ui-steps i.on {
  background: var(--u-tint);
  color: var(--u-brand-strong);
  font-weight: 700;
}

.ui-body {
  padding: 1.3em 1.4em 1.4em;
}

.ui-h {
  color: var(--ink);
  font-size: 1.28em;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.ui-sub {
  margin-top: 0.25em;
  color: var(--muted);
  font-size: 0.85em;
}

.ui-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.55em 1.1em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.85em;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s, transform 0.15s;
}

.ui-btn.primary {
  border-color: var(--u-brand);
  background: var(--u-brand);
  color: #fff;
}

.ui-btn.is-off {
  opacity: 0.4;
}

.ui-btn.is-pressed {
  transform: scale(0.96);
}

.ui-btn .icon {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2.2;
}

.ui-btn.is-done {
  border-color: var(--u-tint-2);
  background: var(--u-tint);
  color: var(--u-brand-strong);
}

/* Today's call: its tick shows once the answer is recorded */
.ui-btn[data-answer]:not(.is-done) .icon {
  display: none;
}

/* While a demo is measured for its tallest state, nothing animates */
.is-measuring,
.is-measuring * {
  transition: none !important;
}

/* The pointer: one arrow per mock-up, moved by script */

.pointer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 1.7em;
  height: 1.7em;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.4s;
  filter: drop-shadow(0 2px 3px rgba(15, 37, 48, 0.3));
}

.pointer.is-on {
  opacity: 1;
}

.pointer svg {
  width: 100%;
  height: 100%;
}

.pointer::after {
  content: '';
  position: absolute;
  left: -0.5em;
  top: -0.64em;
  width: 1.7em;
  height: 1.7em;
  border: 2px solid var(--u-brand);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.4);
}

.pointer.is-tap::after {
  animation: tap 0.55s ease-out;
}

@keyframes tap {
  0% {
    opacity: 0.9;
    transform: scale(0.4);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

/* Situations */

.sit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65em;
  margin-top: 1.1em;
}

.sit {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  min-height: 6.4em;
  padding: 0.85em 0.8em;
  border: 1px solid var(--line-strong);
  border-radius: 0.7em;
  background: #fff;
  color: var(--ink);
  font-size: 0.86em;
  font-weight: 620;
  line-height: 1.22;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.sit .icon {
  width: 1.75em;
  height: 1.75em;
  color: var(--muted);
  stroke-width: 1.6;
  transition: color 0.3s;
}

.sit-num {
  position: absolute;
  right: 0.55em;
  top: 0.55em;
  display: grid;
  place-items: center;
  width: 1.65em;
  height: 1.65em;
  border-radius: 50%;
  background: var(--u-brand);
  color: #fff;
  font-size: 0.95em;
  font-weight: 750;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.sit.is-on {
  border-color: var(--u-brand);
  background: var(--u-tint);
  box-shadow: 0 0 0 1px var(--u-brand);
}

.sit.is-on .icon {
  color: var(--u-brand);
}

.sit.is-on .sit-num {
  opacity: 1;
  transform: scale(1);
}

.ui-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  margin-top: 1.15em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
}

.ui-foot-text {
  color: var(--muted);
  font-size: 0.85em;
}

.ui-foot-text b {
  color: var(--ink);
  font-weight: 700;
}

/* Option cards */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
  margin-top: 0.85em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.3em 0.75em 0.3em 0.35em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.8em;
  font-weight: 620;
  white-space: nowrap;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.chip b {
  display: grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--u-brand);
  color: #fff;
  font-size: 0.9em;
}

.chip.is-lit {
  border-color: var(--u-brand);
  background: var(--u-tint);
  box-shadow: 0 0 0 1px var(--u-brand);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75em;
  margin-top: 1.1em;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.95em 0.95em 1em;
  border: 1px solid var(--line-strong);
  border-radius: 0.8em;
  background: #fff;
  transition: border-color 0.4s, box-shadow 0.4s, opacity 0.4s, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card.is-rec {
  border-color: var(--u-brand);
  box-shadow: 0 0 0 1px var(--u-brand), 0 0.6em 1.4em -0.6em rgba(13, 110, 116, 0.35);
}

.card-tag {
  align-self: flex-start;
  padding: 0.22em 0.65em;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--text);
  font-size: 0.72em;
  font-weight: 700;
}

.card.is-rec .card-tag {
  background: var(--u-brand);
  color: #fff;
}

.card-aid {
  height: 3.6em;
  margin: 0.6em 0 0.2em;
}

.card-aid svg {
  height: 100%;
  width: auto;
}

.card-name {
  margin-top: 0.4em;
  color: var(--ink);
  font-size: 1.05em;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.card-sub {
  margin-top: 0.1em;
  color: var(--muted);
  font-size: 0.74em;
}

.card-fit {
  margin-top: 0.6em;
  color: var(--u-brand-strong);
  font-size: 0.76em;
  font-weight: 700;
}

.card-fit.part {
  color: var(--muted);
}

.card-noise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  margin-top: 0.45em;
  color: var(--text);
  font-size: 0.74em;
}

.card-noise .dots i {
  width: 0.7em;
  height: 0.7em;
}

.card-sits {
  display: grid;
  gap: 0.3em;
  margin: 0.55em 0 0;
  padding: 0.55em 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.74em;
}

.card-sits li {
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-sits .icon {
  width: 1.2em;
  height: 1.2em;
  color: var(--u-brand);
  stroke-width: 2.6;
}

.card-sits li.no {
  color: var(--muted);
}

.card-sits li.no .icon {
  color: var(--muted);
  stroke-width: 2;
}

.card-price {
  margin-top: auto;
  padding-top: 0.75em;
  color: var(--ink);
  font-size: 1em;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.card-price small {
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 550;
}

/* Hero: the cards arrive once, then two notes float in */

.hero .ui-body {
  padding-bottom: 1.6em;
}

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.8em 1em;
  border: 1px solid var(--line);
  border-radius: 0.9em;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: clamp(9px, 2.3cqw, 14px);
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}

.float small {
  display: block;
  color: var(--muted);
  font-size: 0.85em;
  font-weight: 500;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  flex: none;
  border-radius: 0.6em;
  background: var(--brand-tint);
  color: var(--brand);
}

.float-icon .icon {
  width: 1.3em;
  height: 1.3em;
}

.float-icon.warm {
  background: var(--accent-tint);
  color: var(--accent-ink);
}

.float-offer {
  right: -2%;
  top: 0;
}

.float-note {
  left: -4%;
  bottom: 0;
}

@media (max-width: 1000px) {
  .float-offer {
    right: 3%;
    top: auto;
    bottom: 3%;
  }

  .float-note {
    display: none;
  }
}

/* The hero's mock-up arrives once on load, with no script, so it never flashes */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes appear {
  from {
    opacity: 0;
  }
}

.hero .ui {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}

.hero .chip {
  animation: appear 0.5s ease 0.55s both;
}

.hero .chip:nth-child(2) {
  animation-delay: 0.7s;
}

.hero .chip:nth-child(3) {
  animation-delay: 0.85s;
}

.hero .card {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.95s both;
}

.hero .card:nth-child(2) {
  animation-delay: 1.1s;
}

.hero .card:nth-child(3) {
  animation-delay: 1.25s;
}

.hero .float-offer {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 1.9s both;
}

.hero .float-note {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 2.3s both;
}

/* Recommendation with reasons */

.rec {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 0.8em;
  margin-top: 1.1em;
}

.rec .card {
  padding: 1.1em;
}

.reasons {
  display: grid;
  gap: 0.55em;
  margin: 0.8em 0 0;
  padding: 0.75em 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.reasons li {
  display: grid;
  grid-template-columns: 1.4em minmax(0, 1fr);
  gap: 0.5em;
  font-size: 0.8em;
  opacity: 0.18;
  transition: opacity 0.45s;
}

.reasons li.is-in {
  opacity: 1;
}

.reasons b {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.reasons span {
  color: var(--text);
}

.reasons .icon {
  width: 1.4em;
  height: 1.4em;
  padding: 0.2em;
  border-radius: 50%;
  background: var(--u-tint);
  color: var(--u-brand);
  stroke-width: 2.8;
}

.rec-side {
  display: grid;
  gap: 0.8em;
  align-content: start;
}

.rec-side .card {
  padding: 0.85em;
  opacity: 0.55;
}

.rec .card.is-rec .card-tag,
.rec .card.is-rec .card-fit {
  transition: opacity 0.4s, transform 0.4s;
}

.rec:not(.is-decided) .card.is-rec {
  border-color: var(--line-strong);
  box-shadow: none;
}

.rec:not(.is-decided) .card.is-rec .card-tag,
.rec:not(.is-decided) .card.is-rec .card-fit {
  opacity: 0;
  transform: translateY(-0.3em);
}

/* Comparison */

.tabs {
  display: inline-flex;
  gap: 0.25em;
  margin-top: 0.9em;
  padding: 0.25em;
  border-radius: 999px;
  background: var(--soft-2);
}

.tabs span {
  padding: 0.38em 0.9em;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.8em;
  font-weight: 620;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.tabs span.on {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-weight: 720;
}

.cmp {
  margin-top: 0.9em;
  border-top: 1px solid var(--line);
  font-size: 0.82em;
}

.cmp-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0.5em;
  max-height: 4.4em;
  padding: 0.62em 0.2em;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: max-height 0.55s ease, padding 0.55s ease, opacity 0.4s, background-color 0.4s, border-color 0.55s;
}

.cmp-row > span:first-child {
  color: var(--text);
}

.cmp-row > span:not(:first-child) {
  color: var(--ink);
  font-weight: 620;
}

.cmp-head > span:not(:first-child) {
  font-weight: 750;
}

.cmp-head > span small {
  display: block;
  color: var(--muted);
  font-size: 0.85em;
  font-weight: 550;
}

.cmp-head {
  max-height: 4.4em;
}

.cmp .icon {
  width: 1.25em;
  height: 1.25em;
  color: var(--u-brand);
  stroke-width: 2.6;
}

.cmp .icon.dash {
  color: var(--muted);
  stroke-width: 2;
}

.dots {
  display: inline-flex;
  gap: 0.22em;
}

.dots i {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--u-brand);
}

.dots i.off {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.cmp.is-diff .cmp-row.same {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.cmp.is-diff .cmp-row:not(.same):not(.cmp-head) {
  background: var(--u-tint);
}

.cmp-note {
  margin-top: 0.8em;
  color: var(--muted);
  font-size: 0.78em;
  opacity: 0;
  transition: opacity 0.4s;
}

.cmp-note.is-in {
  opacity: 1;
}

/* Quote */

.quote {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1em;
  margin-top: 1em;
}

.lines {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86em;
}

.lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1em;
  max-height: 3.4em;
  padding: 0.6em 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.4s, background-color 0.6s;
}

.lines li > span:first-child {
  color: var(--ink);
  font-weight: 600;
}

.lines li small {
  display: block;
  color: var(--muted);
  font-size: 0.86em;
  font-weight: 500;
}

.lines li > span:last-child {
  flex: none;
  color: var(--ink);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.lines li.saving > span:last-child {
  color: var(--accent-ink);
}

.lines li.is-new {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  opacity: 0;
}

.lines li.is-new.is-in {
  max-height: 3.4em;
  padding: 0.6em 0;
  border-bottom-color: var(--line);
  opacity: 1;
  background: var(--u-tint);
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.75em;
  color: var(--ink);
  font-weight: 750;
}

.total .num {
  font-size: 1.35em;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.plan-line {
  margin-top: 0.3em;
  color: var(--text);
  font-size: 0.8em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.plan-line b {
  color: var(--ink);
}

.plan-line small {
  display: block;
  margin-top: 0.15em;
  color: var(--muted);
  font-size: 0.92em;
}

.addons {
  align-self: start;
  padding: 0.9em;
  border-radius: 0.75em;
  background: var(--soft);
}

.addons-h {
  color: var(--ink);
  font-size: 0.82em;
  font-weight: 720;
}

.addon {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.7em;
  padding: 0.6em 0.65em;
  border: 1px solid var(--line-strong);
  border-radius: 0.6em;
  background: #fff;
  font-size: 0.78em;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.addon b {
  display: block;
  color: var(--ink);
  font-weight: 650;
}

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

.box {
  display: grid;
  place-items: center;
  width: 1.4em;
  height: 1.4em;
  flex: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 0.35em;
  background: #fff;
  color: #fff;
  transition: background-color 0.25s, border-color 0.25s;
}

.box .icon {
  width: 1em;
  height: 1em;
  stroke-width: 3;
  opacity: 0;
  transition: opacity 0.2s;
}

.addon.is-on {
  border-color: var(--u-brand);
  box-shadow: 0 0 0 1px var(--u-brand);
}

.addon.is-on .box {
  border-color: var(--u-brand);
  background: var(--u-brand);
}

.addon.is-on .box .icon {
  opacity: 1;
}

/* Two screens */

.duo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: end;
  gap: 4%;
  font-size: clamp(7px, 2.2cqw, 13px);
  user-select: none;
  -webkit-user-select: none;
}

.device-label {
  margin-top: 0.9em;
  color: var(--muted);
  font-size: 1.05em;
  font-weight: 600;
  text-align: center;
}

.laptop-screen {
  padding: 0.6em;
  border-radius: 0.8em 0.8em 0 0;
  background: #1a2328;
}

.laptop-base {
  height: 0.9em;
  margin: 0 -6%;
  border-radius: 0 0 0.8em 0.8em;
  background: linear-gradient(#cfd8dc, #b5c1c6);
}

.monitor-screen {
  padding: 0.6em;
  border-radius: 0.8em;
  background: #1a2328;
}

.monitor-stand {
  width: 18%;
  height: 2.2em;
  margin: 0 auto;
  background: linear-gradient(#b5c1c6, #9fadb3);
  clip-path: polygon(25% 0, 75% 0, 90% 100%, 10% 100%);
}

.monitor-foot {
  width: 38%;
  height: 0.55em;
  margin: 0 auto;
  border-radius: 0.3em;
  background: #9fadb3;
}

.screen {
  position: relative;
  overflow: hidden;
  border-radius: 0.3em;
  background: #fff;
  aspect-ratio: 16 / 10.5;
}

.screen .ui-bar {
  height: 2.4em;
  padding: 0 0.8em;
  font-size: 0.85em;
}

.console {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  height: calc(100% - 2.05em);
}

.console-copy {
  padding: 0.6em;
  background: var(--soft);
}

.console-copy .mini-client {
  font-size: 0.48em;
  border: 1px solid var(--line);
  border-radius: 0.6em;
  background: #fff;
  overflow: hidden;
}

.panel {
  display: grid;
  align-content: start;
  gap: 0.4em;
  padding: 0.6em;
  border-left: 1px solid var(--line);
  font-size: 0.76em;
}

.panel-h {
  color: var(--ink);
  font-weight: 750;
}

.panel-row {
  padding: 0.45em 0.5em;
  border-radius: 0.45em;
  background: var(--soft);
}

.panel-row small {
  display: block;
  color: var(--muted);
  font-size: 0.85em;
}

.panel-row b {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  color: var(--ink);
  font-weight: 650;
}

.toggle {
  position: relative;
  width: 2.3em;
  height: 1.3em;
  flex: none;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background-color 0.3s;
}

.toggle::after {
  content: '';
  position: absolute;
  left: 0.18em;
  top: 0.18em;
  width: 0.94em;
  height: 0.94em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.toggle.is-on {
  background: var(--brand);
}

.toggle.is-on::after {
  transform: translateX(1em);
}

.client-view {
  padding: 0.8em 0.9em;
}

.client-view .ui-h {
  font-size: 1.15em;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5em;
  margin-top: 0.6em;
}

.mini-card {
  overflow: hidden;
  padding: 0.55em 0.45em 0.6em;
  border: 1px solid var(--line-strong);
  border-radius: 0.6em;
}

.mini-card.is-rec {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.mini-card .card-tag {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  padding-inline: 0.45em;
  font-size: 0.6em;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-card.is-rec .card-tag {
  background: var(--brand);
  color: #fff;
}

.mini-card .nm {
  margin-top: 0.4em;
  color: var(--ink);
  font-size: 0.9em;
  font-weight: 750;
}

.bars-skel {
  display: grid;
  gap: 0.35em;
  margin-top: 0.55em;
}

.bars-skel i {
  height: 0.42em;
  border-radius: 999px;
  background: var(--soft-2);
}

.bars-skel i:nth-child(2) {
  width: 80%;
}

.bars-skel i:nth-child(3) {
  width: 60%;
}

.mini-card .pr {
  margin-top: 0.5em;
  color: var(--ink);
  font-size: 0.86em;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.35s, filter 0.35s;
}

.prices-off .mini-card .pr {
  opacity: 0;
}

/* Wrap up */

.wrap-ui .ui-body {
  display: grid;
  gap: 0.8em;
}

.note {
  padding: 0.85em 0.95em;
  border: 1px solid var(--line);
  border-radius: 0.7em;
}

.note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.note-head b {
  color: var(--ink);
  font-size: 0.92em;
  font-weight: 750;
}

.note-head .ui-btn {
  padding: 0.38em 0.85em;
  font-size: 0.76em;
}

.note-lines {
  display: grid;
  gap: 0.3em;
  margin: 0.55em 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8em;
  line-height: 1.4;
}

.note-lines li {
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 0.4s, transform 0.4s;
}

.note-lines li.is-in {
  opacity: 1;
  transform: none;
}

ol.note-lines {
  counter-reset: goal;
}

ol.note-lines li {
  counter-increment: goal;
}

ol.note-lines li::before {
  content: counter(goal) '. ';
  color: var(--muted);
  font-weight: 650;
}

/* Rooms now */

.rooms {
  display: grid;
  gap: 0.5em;
}

.room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7em;
  padding: 0.7em 0.8em;
  border: 1px solid var(--line);
  border-radius: 0.65em;
  background: #fff;
  font-size: 0.86em;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.room b {
  color: var(--ink);
  font-weight: 720;
}

.room small {
  display: block;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.25em 0.6em;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-size: 0.86em;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.4s, color 0.4s;
}

.status .icon {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2.4;
}

.status.over {
  background: var(--accent-tint);
  color: var(--accent-ink);
}

.status.free {
  background: var(--soft-2);
  color: var(--text);
}

.room.is-alert {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.swap {
  display: grid;
}

.swap > * {
  grid-area: 1 / 1;
  justify-self: end;
  transition: opacity 0.4s;
}

.swap > :last-child {
  opacity: 0;
}

.is-swapped .swap > :first-child {
  opacity: 0;
}

.is-swapped .swap > :last-child {
  opacity: 1;
}

/* Today */

.today-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8em;
  padding: 0.7em 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86em;
}

.today-row b {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.today-row small {
  color: var(--muted);
}

.today-row .ui-btn {
  padding: 0.38em 0.8em;
  font-size: 0.86em;
}

[data-row] {
  transition: opacity 0.45s, transform 0.45s;
}

[data-row].is-pre {
  opacity: 0;
  transform: translateY(0.4em);
}

.today-offer {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.8em;
  padding: 0.6em 0.75em;
  border-radius: 0.6em;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-size: 0.8em;
  font-weight: 650;
}

.today-offer .icon {
  width: 1.2em;
  height: 1.2em;
}

/* Insights chart */

.chart {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.7em;
  height: 8em;
  margin-top: 0.9em;
  padding-bottom: 0.2em;
  border-bottom: 1px solid var(--line-strong);
}

.chart i {
  display: block;
  height: 100%;
  border-radius: 0.35em 0.35em 0 0;
  background: var(--brand-tint-2);
  transform: scaleY(0.04);
  transform-origin: bottom;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.4s;
}

.chart i.hi {
  background: var(--brand);
}

.chart.is-in i {
  transform: scaleY(var(--h));
}

.chart-x {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7em;
  margin-top: 0.4em;
  color: var(--muted);
  font-size: 0.72em;
  text-align: center;
}

/* Catalogue approval */

.change {
  padding: 0.85em 0.95em;
  border: 1px solid var(--line);
  border-radius: 0.7em;
  background: #fff;
}

.change-title {
  color: var(--ink);
  font-size: 0.92em;
  font-weight: 720;
}

.change-sub {
  margin-top: 0.15em;
  color: var(--muted);
  font-size: 0.78em;
}

.track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1em 0 0;
  padding: 0;
  list-style: none;
}

.track li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.35em;
  color: var(--muted);
  font-size: 0.76em;
  font-weight: 620;
  text-align: center;
  transition: color 0.4s;
}

.track li::before {
  content: '';
  position: absolute;
  top: 0.9em;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--line-strong);
  z-index: 0;
}

.track li:first-child::before {
  display: none;
}

.track li.is-done::before {
  background: var(--brand);
}

.track .dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.8em;
  height: 1.8em;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: #fff;
  transition: background-color 0.4s, border-color 0.4s;
}

.track .dot .icon {
  width: 1.1em;
  height: 1.1em;
  stroke-width: 3;
  opacity: 0;
  transition: opacity 0.3s;
}

.track li.is-done {
  color: var(--ink);
}

.track li.is-done .dot {
  border-color: var(--brand);
  background: var(--brand);
}

.track li.is-done .dot .icon {
  opacity: 1;
}

.track small {
  display: block;
  min-height: 1.3em;
  color: var(--muted);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.4s;
}

.track li.is-done small {
  opacity: 1;
}

/* Your brand */

.brand-demo .ui-body {
  display: grid;
  gap: 0.7em;
}

.brand-demo .mini-card {
  transition: border-color 0.6s, box-shadow 0.6s;
}

.brand-demo .mini-card.is-rec {
  border-color: var(--u-brand);
  box-shadow: 0 0 0 1px var(--u-brand);
}

.brand-demo .mini-card.is-rec .card-tag {
  background: var(--u-brand);
  transition: background-color 0.6s;
}

.brand-demo .ui-btn.primary {
  transition: background-color 0.6s, border-color 0.6s;
}

.swatches {
  display: flex;
  gap: 0.45em;
}

.swatches i {
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent;
  transition: box-shadow 0.3s;
}

.swatches i:nth-child(1) {
  background: var(--brand);
}

.swatches i:nth-child(2) {
  background: #b4541c;
}

.swatches i:nth-child(3) {
  background: #24508f;
}

.swatches i.on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink);
}

.brand-demo[data-look='1'] {
  --u-brand: #b4541c;
  --u-brand-strong: #8f4013;
  --u-tint: #fbeee5;
}

.brand-demo[data-look='2'] {
  --u-brand: #24508f;
  --u-brand-strong: #1a3d6e;
  --u-tint: #e7eef8;
}

.brand-demo .ui-bar {
  background: var(--u-brand);
  border-bottom-color: transparent;
  color: #fff;
}

.brand-demo .ui-logo {
  background: #fff;
  opacity: 0.9;
}

/* Other brands */

.versus .cmp-row {
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
}

.versus .cmp-row.is-lit {
  background: var(--brand-tint);
}

.print-off {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.8em;
  color: var(--muted);
  font-size: 0.76em;
}

.print-off .icon {
  width: 1.3em;
  height: 1.3em;
}

/* Hearing aid drawings in the cards: the body takes the svg's colour */

.aid-sand {
  color: #cfb99b;
}

.aid-silver {
  color: #b8c0c5;
}

.aid-graphite {
  color: #59636a;
}

/* With reduced motion, every mock-up shows its finished state and nothing moves */

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

  .hero .ui,
  .hero .chip,
  .hero .card,
  .hero .float {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* The closing call to action follows a white section with no second gap, and a tinted one with the usual gap */

#contact {
  padding-top: 0;
}

.section-soft + #contact {
  padding-top: clamp(72px, 10vw, 128px);
}

/* The tour follows How it helps, both white, so they share one gap rather than stacking two */

#helps + #tour {
  padding-top: 0;
}

/* Pricing page details */

.h3 {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
}

.plan-text {
  margin: -8px 0 28px;
  color: var(--text);
  font-size: 1rem;
}

.count-lead {
  margin-top: 18px;
}

.page-head + .section {
  padding-top: 0;
}

/* Book a demo: the form, and the line that says why a request hasn't been sent */

.demo-form {
  display: grid;
  gap: 22px;
  max-width: 640px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink);
  font-weight: 650;
}

.field label span {
  color: var(--muted);
  font-weight: 450;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

.field textarea {
  min-height: 136px;
  resize: vertical;
}

/* The select's own arrow, as appearance: none removes the browser's */
.field select {
  padding-right: 44px;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d5260' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 20px 20px;
  cursor: pointer;
}

.field select:invalid {
  color: var(--muted);
}

.field select option {
  color: var(--ink);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--muted);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--brand);
  border-radius: 10px;
  outline: 3px solid var(--brand-tint-2);
  outline-offset: 0;
}

/* Turnstile's box is 65px tall, so its space is kept from the start and nothing below it moves when it arrives */
.cf-turnstile {
  min-height: 65px;
}

.form-status {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-tint);
  color: var(--ink);
}

.form-status strong {
  font-weight: 650;
}

.demo-form .btn {
  justify-self: start;
}

.demo-form .btn:disabled,
.demo-form .btn:disabled:hover {
  background: var(--brand);
  box-shadow: none;
  cursor: progress;
  opacity: 0.75;
  transform: none;
}

.page-sent .btn {
  margin-top: 32px;
}

/* On a narrow stage the mock-ups' smallest text size holds, so the two screens get taller to fit it */

@container (max-width: 460px) {
  .duo .screen {
    aspect-ratio: 16 / 12.5;
  }
}

/* A short page keeps its footer at the bottom of the window */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}
