:root {
  --blue: #0069d1;
  --blue-hover: #0056ad;
  --blue-deep: #0f478d;
  --navy: #04304c;
  --ink: #1a2b3c;
  --ink-2: #17191c;
  --muted: #6b7a8d;
  --cyan: #40d9f1;

  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-navy: #04304c;
  --border: #e8e8e8;
  --border-soft: #eef1f5;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(16, 42, 67, 0.06);
  --shadow: 0 12px 34px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 28px 60px rgba(16, 42, 67, 0.14);

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --section-y: clamp(3.5rem, 8vw, 6.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* long single words (brand name, emails, URLs) must not push the page wide */
  overflow-wrap: break-word;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-hover);
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid rgba(0, 105, 209, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.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: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding-block: var(--section-y);
}

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

.section--navy {
  background: var(--bg-navy);
  color: #dbe6f0;
}

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

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.mt-4 {
  margin-top: 1.25rem;
}

.mt-6 {
  margin-top: 1.75rem;
}

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

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--muted);
  line-height: 1.6;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}

.btn--sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.94rem;
}

.btn--lg {
  padding: 1.05rem 2rem;
  font-size: 1.08rem;
}

.btn--block {
  width: 100%;
}

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

.btn--primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: #fff;
  color: var(--blue);
  border-color: #cdd8e3;
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue-hover);
}

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

.btn--light:hover {
  background: #eaf2fb;
  color: var(--blue-hover);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn__icon {
  width: 1.15em;
  height: 1.15em;
}

.btn:hover .btn__icon--shift {
  transform: translateX(3px);
  transition: transform 0.18s ease;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--blue);
}

.link-arrow svg {
  width: 1.1em;
  height: 1.1em;
}

.link-arrow:hover svg {
  transform: translateX(3px);
  transition: transform 0.18s ease;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #eaf2fb;
  color: var(--blue-deep);
}

.badge--new {
  background: #e4faff;
  color: #0a6f83;
}

.badge__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

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

.brand__mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: var(--blue);
}

.brand__mark svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
}

.brand__suffix {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav__list {
  display: flex;
  gap: 1.35rem;
}

.nav__link {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--blue);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1rem var(--gutter) 1.5rem;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
}

.mobile-nav__link {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
}

.mobile-nav .btn-row {
  margin-top: 1rem;
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

.hero {
  background: linear-gradient(180deg, #f5f9fe 0%, #ffffff 100%);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 940px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.70fr;
  }
}

.hero__title {
  margin-top: 0.75rem;
}

.hero__title em {
  font-style: normal;
  color: var(--blue);
}

.hero__lede {
  max-width: 34rem;
}

.hero__actions {
  margin-top: 1.75rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.hero__meta svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--blue);
  flex: none;
}

/* hero art (CSS/SVG dashboard mock in Clio colours) */
.hero__art {
  position: relative;
}

.art-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.art-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.art-frame__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #cdd8e3;
}

.art-frame__label {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.art-canvas {
  display: block;
  width: 100%;
  height: auto;
}

.art-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.art-chip svg {
  width: 1.1rem;
  height: 1.1rem;
}

.art-chip__value {
  color: var(--blue);
}

.art-chip--one {
  left: -0.5rem;
  bottom: 2.5rem;
}

.art-chip--two {
  right: -0.5rem;
  top: 3rem;
}

@media (max-width: 560px) {
  .art-chip {
    display: none;
  }
}

.pillars {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.pillar {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.pillar__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eaf2fb;
  color: var(--blue);
  margin-bottom: 1rem;
}

.pillar__icon svg {
  width: 24px;
  height: 24px;
}

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

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.feature-row {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row--flip .feature-row__media {
    order: -1;
  }
}

.feature-row h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.feature-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.25rem 0 1.5rem;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #eaf2fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230069d1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

.media-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-card__bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.media-card__bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #cdd8e3;
}

.media-card svg {
  display: block;
  width: 100%;
  height: auto;
}

.benefit-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 2.5rem;
}

.benefit {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.benefit h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.benefit p {
  color: #b7cadb;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.benefit a {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.92rem;
}

.benefit a:hover {
  color: #fff;
}

.stat-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}

.stat__value {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonial {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.testimonial__stars {
  display: inline-flex;
  gap: 0.2rem;
  color: #f5a623;
  margin-bottom: 1.25rem;
}

.testimonial__stars svg {
  width: 1.35rem;
  height: 1.35rem;
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.testimonial figcaption {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.avatar {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial .who {
  text-align: left;
}

.testimonial .who b {
  display: block;
  color: var(--ink);
}

.testimonial .who span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.tile {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cddbeb;
}

.tile__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eaf2fb;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.tile__icon svg {
  width: 22px;
  height: 22px;
}

.tile h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.cta-cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .cta-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.cta-card--accent {
  background: linear-gradient(160deg, #0069d1 0%, #0f478d 100%);
  border-color: transparent;
  color: #eaf2fb;
}

.cta-card--accent h3 {
  color: #fff;
}

.cta-card p {
  color: var(--muted);
}

.cta-card--accent p {
  color: #cfe1f4;
}

.cta-band {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 1.5rem;
}

.walkthrough {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #0f478d 0%, #04304c 100%);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
}

.walkthrough__play {
  display: inline-flex;
  width: 78px;
  height: 78px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
  color: #fff;
}

.walkthrough__play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

.walkthrough h3 {
  color: #fff;
  max-width: 30rem;
}

.walkthrough p {
  color: #cfe1f4;
  max-width: 34rem;
  margin-inline: auto;
}

.faq {
  border-top: 1px solid var(--border);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq__icon {
  position: relative;
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq__icon::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq__trigger[aria-expanded="true"] .faq__icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}

.faq__panel[data-open="true"] {
  grid-template-rows: 1fr;
}

.faq__panel>div {
  overflow: hidden;
}

.faq__panel p {
  margin: 0 0 1.35rem;
  color: var(--muted);
  max-width: 60ch;
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.tab {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  margin-bottom: -1px;
}

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

.tab[aria-selected="true"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.tabs__panel .feature-list {
  margin-top: 0;
}

.legal-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

/* grid/flex children default to min-width:auto, so the wide policy table
   would stretch the whole column instead of scrolling inside its wrapper */
.legal-layout>* {
  min-width: 0;
}

@media (min-width: 960px) {
  .legal-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

.toc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 960px) {
  .toc {
    position: sticky;
    top: 96px;
  }
}

.toc__title {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.toc__list {
  display: grid;
  gap: 0.15rem;
}

.toc a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.toc a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.toc a.is-current {
  background: #eaf2fb;
  border-left-color: var(--blue);
  color: var(--blue-deep);
  font-weight: 600;
}

.legal-doc {
  max-width: 72ch;
}

.legal-doc>section+section {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
  border-top: 1px solid var(--border);
}

.legal-doc h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  scroll-margin-top: 96px;
}

.legal-doc h3 {
  margin-top: 2rem;
  font-size: 1.15rem;
}

.legal-doc p,
.legal-doc li {
  color: #46586b;
}

.legal-doc ul {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
}

.legal-doc ul li {
  position: relative;
  padding-left: 1.5rem;
}

.legal-doc ul li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
}

.legal-meta li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-deep);
  background: #eaf2fb;
  border: 1px solid #cddbeb;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

.legal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 0 1.5rem;
}

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

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
  color: #46586b;
}

.legal-table thead th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.legal-table tbody tr:last-child td {
  border-bottom: 0;
}

.legal-contact {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 1.35rem 1.5rem;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.breadcrumb li+li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #c2ccd6;
}

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

.breadcrumb a:hover {
  color: var(--blue);
}

.contact-line {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-line a {
  font-weight: 600;
}

.site-footer {
  background: var(--bg-navy);
  color: #a9bccd;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .footer__grid {
    grid-template-columns: 1.2fr 2fr;
  }
}

.footer__about .brand {
  color: #fff;
}

.footer__about .brand__mark {
  color: var(--cyan);
}

.footer__about p {
  margin-top: 1rem;
  max-width: 32ch;
  color: #9fb4c7;
  font-size: 0.95rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer__social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cdd8e3;
}

.footer__social a:hover {
  border-color: var(--cyan);
  color: #fff;
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.footer__title {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer__list {
  display: grid;
  gap: 0.65rem;
}

.footer__list a {
  color: #a9bccd;
  font-size: 0.95rem;
}

.footer__list a:hover {
  color: #fff;
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer__bottom a {
  color: #cdd8e3;
}

.notice-inline {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: #eaf2fb;
  border: 1px solid #cddbeb;
  color: var(--blue-deep);
  font-weight: 500;
}

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--blue-hover);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------- small phones (>=320px) */
@media (max-width: 560px) {
  .site-header__inner {
    gap: 0.75rem;
    min-height: 64px;
  }

  .brand {
    font-size: 1.12rem;
    gap: 0.45rem;
    min-width: 0;
  }

  .brand__mark {
    width: 26px;
    height: 26px;
    flex: none;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    flex: none;
  }

  h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .lede {
    font-size: 1.02rem;
  }

  .pillar,
  .benefit {
    padding: 1.35rem;
  }

  .tile {
    padding: 1.25rem;
  }

  .cta-card {
    padding: 1.4rem;
  }

  .walkthrough {
    min-height: 260px;
    padding: 2.25rem 1.1rem;
  }

  .walkthrough__play {
    width: 62px;
    height: 62px;
  }

  .testimonial figcaption {
    flex-wrap: wrap;
  }

  .legal-layout {
    gap: 1.75rem;
  }

  .toc {
    padding: 1rem 1.1rem;
  }

  .legal-doc h2 {
    font-size: 1.5rem;
  }

  .legal-table {
    min-width: 460px;
    font-size: 0.9rem;
  }

  .legal-table th,
  .legal-table td {
    padding: 0.7rem 0.85rem;
  }

  .legal-contact {
    padding: 1.1rem 1.2rem;
  }

  .footer__about p {
    max-width: none;
  }

  .to-top {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 0.9rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.8rem 1.1rem;
  }

  .btn--lg {
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
  }

  /* stack full-width so long labels never overflow the viewport */
  .hero__actions .btn,
  .cta-band .btn,
  .cta-card .btn,
  .mobile-nav .btn {
    width: 100%;
  }

  .hero__meta {
    gap: 0.6rem 1rem;
  }

  .legal-meta li {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }

  .footer__cols {
    gap: 1.5rem;
  }
}