/* Saaniya EMR — static marketing styles (ported from EMR globals.css) */

:root {
  --background: #f4f7fb;
  --foreground: #0b1a2b;
  --muted: #4d5f74;
  --surface: #ffffff;
  --surface-soft: #e7eef8;
  --accent: #1b4fa8;
  --accent-deep: #0f2f61;
  --accent-soft: #e0b457;
  --gold: #a8781f;
  --line: #ccd9e9;
  --ink: #06121f;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
  --max: 72rem;
}

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

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

body {
  margin: 0;
  background:
    radial-gradient(ellipse 120% 80% at 8% -12%, #dbe7f7 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 0%, #eef1e6 0%, transparent 45%),
    var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

button {
  font: inherit;
  cursor: pointer;
}

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

/* ---------- Atmosphere ---------- */

.aurora {
  background:
    radial-gradient(58% 62% at 18% 20%, rgba(46, 114, 210, 0.5) 0%, transparent 62%),
    radial-gradient(48% 55% at 84% 26%, rgba(224, 180, 87, 0.3) 0%, transparent 60%),
    radial-gradient(70% 70% at 52% 98%, rgba(15, 47, 97, 0.55) 0%, transparent 66%);
  animation: aurora-drift 26s var(--ease-out-soft) infinite alternate;
}

@keyframes aurora-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1.04); }
  to { transform: translate3d(3%, 2%, 0) scale(1.14); }
}

.grain {
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
}

.hairline-grid {
  background-image:
    linear-gradient(to right, rgba(15, 47, 97, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 47, 97, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- Motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes soft-pan {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes draw-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.animate-rise { animation: rise 0.85s var(--ease-out-soft) both; }
.animate-rise-delay { animation: rise 0.9s var(--ease-out-soft) 0.15s both; }
.animate-rise-late { animation: rise 0.95s var(--ease-out-soft) 0.3s both; }
.animate-fade { animation: fade-in 1.1s ease-out both; }

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: soft-pan 14s var(--ease-out-soft) both;
}

.draw-line {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, var(--accent-soft), transparent);
  transform-origin: left center;
  animation: draw-line 1.3s var(--ease-out-soft) 0.2s both;
}

.draw-line--short {
  width: 7rem;
}

.draw-line--accent {
  background: linear-gradient(to right, var(--accent), transparent);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s var(--ease-out-soft),
    transform 0.8s var(--ease-out-soft);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.lift {
  transition:
    transform 0.35s var(--ease-out-soft),
    background-color 0.35s var(--ease-out-soft),
    border-color 0.35s var(--ease-out-soft),
    color 0.35s var(--ease-out-soft);
}

.lift:hover {
  transform: translateY(-2px);
}

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

  .animate-rise,
  .animate-rise-delay,
  .animate-rise-late,
  .animate-fade,
  .hero-media,
  .draw-line,
  .aurora {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lift:hover { transform: none; }
}

/* ---------- Layout helpers ---------- */

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .wrap { width: min(100% - 4rem, var(--max)); }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .section { padding: 5rem 0; }
}

.section--soft {
  background: color-mix(in srgb, var(--surface-soft) 60%, transparent);
}

.section__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--foreground);
}

.section__lead {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

@media (min-width: 640px) {
  .section__lead { font-size: 1.125rem; }
}

.section__body {
  margin-top: 2.5rem;
}

.font-display {
  font-family: var(--font-display);
}

.text-muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-accent-deep { color: var(--accent-deep); }
.text-gold { color: var(--gold); }
.text-soft { color: var(--accent-soft); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s, border-color 0.5s, color 0.5s;
}

.site-header.is-solid {
  border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.page-home .site-header:not(.is-solid) {
  background: transparent;
  color: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0.75rem 0;
}

@media (min-width: 640px) {
  .site-header__inner { width: min(100% - 4rem, var(--max)); }
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo__plate {
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  background: #fff;
  padding: 0.35rem 0.5rem;
}

.site-logo__plate img {
  height: 1.75rem;
  width: auto;
}

@media (min-width: 640px) {
  .site-logo__plate img { height: 2rem; }
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.site-nav a {
  transition: color 0.3s;
}

body.page-home .site-header:not(.is-solid) .site-nav a {
  color: rgba(255, 255, 255, 0.8);
}

body.page-home .site-header:not(.is-solid) .site-nav a:hover,
body.page-home .site-header:not(.is-solid) .site-nav a.is-active {
  color: var(--accent-soft);
}

.site-header.is-solid .site-nav a,
body:not(.page-home) .site-nav a {
  color: color-mix(in srgb, var(--foreground) 85%, transparent);
}

.site-header.is-solid .site-nav a:hover,
.site-header.is-solid .site-nav a.is-active,
body:not(.page-home) .site-nav a:hover,
body:not(.page-home) .site-nav a.is-active {
  color: var(--accent);
}

.nav-company {
  border-radius: 2px;
  padding: 0.5rem 0.875rem;
  font-weight: 600;
}

body.page-home .site-header:not(.is-solid) .nav-company {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

body.page-home .site-header:not(.is-solid) .nav-company:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header.is-solid .nav-company,
body:not(.page-home) .nav-company {
  background: var(--accent);
  color: #fff;
}

.site-header.is-solid .nav-company:hover,
body:not(.page-home) .nav-company:hover {
  background: var(--accent-deep);
}

.site-header__mobile {
  display: none;
}

.btn-mobile-pricing {
  border-radius: 2px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
}

body.page-home .site-header:not(.is-solid) .btn-mobile-pricing {
  background: var(--accent-soft);
  color: var(--ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-dark {
  background: var(--accent-soft);
  color: var(--ink);
}

.btn-dark:hover {
  background: #d4a84a;
}

.btn-outline {
  border-color: var(--line);
  color: var(--accent-deep);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--surface);
}

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

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

.btn-ghost-light--soft {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
}

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

.link-quiet {
  padding: 0.875rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-underline-offset: 4px;
}

.link-quiet:hover {
  color: var(--accent);
  text-decoration: underline;
}

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

.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #06121f 0%, #0b1e36 48%, #0f2f61 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(6, 18, 31, 0.94) 0%,
    rgba(11, 30, 54, 0.78) 46%,
    rgba(15, 47, 97, 0.42) 100%
  );
}

.hero__aurora {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  mix-blend-mode: screen;
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 8rem 0 5rem;
}

@media (min-width: 640px) {
  .hero__content {
    width: min(100% - 4rem, var(--max));
    padding-bottom: 7rem;
  }
}

.hero__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.hero__brand {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 13vw, 9.5rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.hero__headline {
  margin: 2rem 0 0;
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--accent-soft);
}

.hero__support {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.hero__art {
  display: block;
  width: min(100%, 42rem);
  margin-top: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

@media (min-width: 640px) {
  .hero__support { font-size: 1.05rem; }
}

.hero__ctas {
  margin-top: 1.5rem;
}

/* ---------- Data boundary ---------- */

.boundary {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .boundary { padding: 6rem 0; }
}

.boundary__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.boundary__inner {
  position: relative;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

@media (min-width: 640px) {
  .boundary__inner { width: min(100% - 4rem, var(--max)); }
}

.boundary__cols {
  display: grid;
  gap: 2.5rem 4rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .boundary__cols { grid-template-columns: 1fr 1fr; }
}

.boundary__cols h3 {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent-deep);
}

.boundary__cols li {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.dot {
  margin-top: 0.5rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.dot--gold { background: var(--gold); }
.dot--accent { background: var(--accent); }
.dot--line { background: var(--line); }

.note-bar {
  margin-top: 3rem;
  max-width: 48rem;
  border-left: 2px solid var(--accent-soft);
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.note-bar--accent {
  border-left-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

/* ---------- Grids ---------- */

.services-grid {
  display: grid;
  gap: 2.25rem 2.5rem;
}

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

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-art {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 0.25rem;
  border-radius: 0.85rem;
}

.service-key {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
  color: var(--accent-soft);
}

.service-title {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent-deep);
}

.service-summary {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--accent);
}

.service-body {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 2rem;
}

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

.feature-grid--4 {
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.feature-grid h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent-deep);
}

.feature-grid p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.clinical-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .clinical-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .clinical-media {
    position: sticky;
    top: 7rem;
  }
}

.clinical-media__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.clinical-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clinical-media__caption {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.media-wide {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

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

.practice-grid {
  display: grid;
  gap: 2rem 3.5rem;
}

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

@media (min-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
}

.practice-grid h3 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent-deep);
}

.practice-grid p {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Security dark section ---------- */

.security-band {
  position: relative;
  overflow: hidden;
  background: var(--accent-deep);
  color: #fff;
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .security-band { padding: 6rem 0; }
}

.security-band__aurora {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.security-band__grain {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.security-band__inner {
  position: relative;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

@media (min-width: 640px) {
  .security-band__inner { width: min(100% - 4rem, var(--max)); }
}

.security-band .section__eyebrow {
  color: var(--accent-soft);
}

.security-band .section__title {
  color: #fff;
}

.security-band .section__lead {
  color: rgba(255, 255, 255, 0.7);
}

.security-features {
  display: grid;
  gap: 2.25rem 3rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .security-features { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .security-features { grid-template-columns: repeat(4, 1fr); }
}

.security-features h3 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.35;
}

.security-features p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

.security-features .draw-line {
  background: linear-gradient(to right, rgba(224, 180, 87, 0.8), transparent);
}

/* ---------- Region chooser & pricing ---------- */

.region-chooser {
  /* region tabs + meta */
}

.region-chooser--boxed {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  padding: 1.25rem 1rem;
}

@media (min-width: 640px) {
  .region-chooser--boxed { padding: 1.25rem; }
}

.region-chooser__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.region-chooser__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.region-chooser__hint {
  margin: 0.25rem 0 0;
  max-width: 36rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.region-chooser__currency {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.region-tab {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--background);
  color: var(--accent-deep);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.region-tab:hover {
  border-color: var(--accent);
}

.region-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.region-chooser__detail {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}

.region-chooser__detail strong {
  color: var(--foreground);
}

.region-chooser__excluded {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.country-select {
  display: block;
  max-width: 22rem;
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.country-select select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--background);
  color: var(--foreground);
  font: inherit;
}

.emr-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  margin-top: 0.5rem;
}

.emr-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.875rem;
}

.emr-matrix th,
.emr-matrix td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.emr-matrix th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.emr-matrix td.num,
.emr-matrix th.num {
  text-align: right;
  white-space: nowrap;
}

.pricing-teaser {
  border-top: 1px solid var(--line);
}

.pricing-teaser__row {
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
}

.pricing-teaser__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pricing-teaser__grid {
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    align-items: baseline;
    gap: 2rem;
  }
}

.pricing-teaser__grid h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-deep);
}

.price-cell__label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--muted) 75%, transparent);
}

.price-cell__value {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--muted);
}

.price-cell__value--strong {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.pricing-cards {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .pricing-cards { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--line);
  padding-top: 1.5rem;
  height: 100%;
}

.pricing-card--featured {
  border-top-color: var(--accent-soft);
}

.pricing-card__badge {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.pricing-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--accent-deep);
}

.pricing-card__audience {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.pricing-card dl {
  margin: 1.5rem 0 0;
}

.pricing-card dt {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.pricing-card dd {
  margin: 0.125rem 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.pricing-card dd.strong {
  font-size: 1.125rem;
}

.pricing-card ul {
  margin-top: 0.5rem;
  flex: 1;
}

.pricing-card li {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footnotes {
  margin-top: 3.5rem;
  max-width: 48rem;
}

.footnotes li {
  display: flex;
  gap: 0.625rem;
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  gap: 2rem 3.5rem;
}

@media (min-width: 768px) {
  .faq-grid { grid-template-columns: 1fr 1fr; }
}

.faq-grid h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent-deep);
}

.faq-grid p {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.gates-list {
  max-width: 48rem;
  border-top: 1px solid var(--line);
}

.gates-list li {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}

.gates-list__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-soft);
}

/* ---------- Page intro (inner pages) ---------- */

.page-intro {
  padding-top: 2rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--accent-deep);
  color: #fff;
}

.site-footer__inner {
  display: grid;
  gap: 2.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 3.5rem 0;
}

@media (min-width: 640px) {
  .site-footer__inner { width: min(100% - 4rem, var(--max)); }
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer__brand {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.site-footer__blurb {
  margin: 1rem 0 0;
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__col-title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.site-footer__col a {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__bar a {
  color: rgba(255, 255, 255, 0.75);
  text-underline-offset: 3px;
}

.site-footer__bar a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Flyer ---------- */

.flyer-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(100% - 2rem, 210mm);
  margin: 2rem auto 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.flyer-toolbar a {
  font-weight: 600;
  color: var(--accent);
  text-underline-offset: 4px;
}

.flyer-toolbar a:hover {
  text-decoration: underline;
}

.flyer-sheet {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #0b1a2b;
  padding: 11mm;
  box-shadow: 0 24px 60px -30px rgba(11, 26, 43, 0.5);
}

.flyer-sheet header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 2px solid #e0b457;
  padding-bottom: 2.5mm;
}

.flyer-sheet header img {
  height: 9mm;
  width: auto;
}

.flyer-sheet header h1 {
  margin: 1.5mm 0 0;
  font-family: var(--font-display);
  font-size: 27pt;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0f2f61;
}

.flyer-sheet header .subtitle {
  max-width: 64mm;
  margin: 0;
  text-align: right;
  font-size: 7.5pt;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #a8781f;
}

.flyer-standfirst {
  margin: 3mm 0 0;
  font-size: 10.5pt;
  font-weight: 600;
  line-height: 1.35;
  color: #0f2f61;
}

.flyer-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2mm;
  margin-top: 2.5mm;
}

.flyer-photos div {
  height: 32mm;
  overflow: hidden;
}

.flyer-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flyer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 7mm;
  margin-top: 4mm;
}

.flyer-cols.bordered {
  margin-top: 4mm;
  border-top: 1px solid #ccd9e9;
  padding-top: 3mm;
}

.flyer-cols h2 {
  margin: 0 0 1.5mm;
  font-family: var(--font-display);
  font-size: 13pt;
  font-weight: 400;
  line-height: 1;
  color: #0f2f61;
}

.flyer-cols li {
  margin-top: 3pt;
  font-size: 8.5pt;
  line-height: 1.32;
  color: #3b4a5c;
}

.flyer-cols li strong {
  color: #0b1a2b;
}

.flyer-pricing {
  margin-top: 4mm;
  border-top: 1px solid #ccd9e9;
  padding-top: 3mm;
}

.flyer-pricing__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.flyer-pricing__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13pt;
  font-weight: 400;
  color: #0f2f61;
}

.flyer-pricing__head p {
  margin: 0;
  font-size: 7.5pt;
  color: #4d5f74;
}

.flyer-pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 7mm;
  margin-top: 2mm;
}

.flyer-tier {
  border-top: 2px solid #1b4fa8;
  padding-top: 2mm;
}

.flyer-tier__name {
  margin: 0;
  font-size: 10pt;
  font-weight: 700;
  color: #0f2f61;
}

.flyer-tier__name span {
  margin-left: 2mm;
  font-size: 8pt;
  font-weight: 400;
  color: #4d5f74;
}

.flyer-tier dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5mm 3mm;
  margin: 1mm 0 0;
  font-size: 8.5pt;
  line-height: 1.35;
}

.flyer-tier dt {
  color: #4d5f74;
}

.flyer-tier dd {
  margin: 0;
  font-weight: 600;
}

.flyer-sheet > footer {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid #e0b457;
  padding-top: 3mm;
}

.flyer-footer__copy {
  flex: 1;
  min-width: 0;
}

.flyer-sheet > footer .cta {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13pt;
  line-height: 1.2;
  color: #0f2f61;
}

.flyer-sheet > footer .contact {
  margin: 1mm 0 0;
  font-size: 9pt;
  font-weight: 600;
  color: #1b4fa8;
}

.flyer-sheet > footer .disclaimer {
  margin: 1.5mm 0 0;
  max-width: 145mm;
  text-align: left;
  font-size: 6.5pt;
  line-height: 1.35;
  color: #4d5f74;
}

.flyer-qr {
  flex: 0 0 auto;
  width: 18mm;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5mm;
  text-decoration: none;
  color: #0f2f61;
}

.flyer-qr img {
  width: 16mm !important;
  height: 16mm !important;
  max-width: 16mm;
  max-height: 16mm;
  display: block;
  object-fit: contain;
  background: #fff;
  border: 0.3mm solid #d7e0ec;
  padding: 0.6mm;
  box-sizing: border-box;
}

.flyer-qr span {
  font-size: 6pt;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

/* On-page survey QR next to CTAs */
.survey-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.survey-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--ink, #0f2f61);
}

.survey-qr img {
  width: 3.25rem !important;
  height: 3.25rem !important;
  max-width: 3.25rem;
  max-height: 3.25rem;
  display: block;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(15, 47, 97, 0.14);
  padding: 0.2rem;
  box-sizing: border-box;
}

.survey-qr span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #4d5f74);
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  html,
  body {
    background: #fff !important;
    width: 210mm;
  }

  .no-print {
    display: none !important;
  }

  .flyer-sheet {
    width: 210mm;
    min-height: 297mm;
    margin: 0;
    border: 0 !important;
    box-shadow: none !important;
    page-break-after: avoid;
    overflow: hidden;
  }

  .flyer-qr {
    width: 18mm;
  }

  .flyer-qr img {
    width: 16mm !important;
    height: 16mm !important;
    max-width: 16mm !important;
    max-height: 16mm !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .aurora,
  .hero-media,
  .draw-line {
    animation: none !important;
  }

  a[href]::after {
    content: "";
  }
}

@media (max-width: 860px) {
  .flyer-sheet {
    width: 100%;
    min-height: auto;
    transform: none;
  }
}
