﻿:root {
  --black: #030106;
  --ink: #17101f;
  --ink-soft: #4d445c;
  --muted: #746b82;
  --white: #ffffff;
  --paper: #fbfaff;
  --mist: #f6f2ff;
  --violet: #641fff;
  --violet-deep: #4d00e8;
  --violet-soft: #8b5cff;
  --violet-pale: #ede6ff;
  --line: rgba(100, 31, 255, 0.16);
  --line-strong: rgba(100, 31, 255, 0.3);
  --shadow-sm: 0 12px 32px rgba(37, 16, 84, 0.09);
  --shadow: 0 24px 70px rgba(37, 16, 84, 0.14);
  --shadow-violet: 0 22px 58px rgba(100, 31, 255, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Aptos", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% -8%, rgba(100, 31, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 88% 6%, rgba(139, 92, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 46%, #ffffff 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 44px));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scroll reveal animations */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 640ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 640ms cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow var(--ease),
    border-color var(--ease),
    background var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(100, 31, 255, 0.12);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px);
}

.navbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand img {
  width: 188px;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(100, 31, 255, 0.14));
}

.footer-brand img {
  width: 178px;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(100, 31, 255, 0.14));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
  transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease);
}

.nav-links a:hover,
.nav-links a.active,
.nav-item.active > a {
  color: var(--violet);
  border-color: var(--line);
  background: rgba(100, 31, 255, 0.075);
}

.nav-cta {
  margin-left: 4px;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep)) !important;
  border-color: transparent !important;
  box-shadow: 0 14px 32px rgba(100, 31, 255, 0.24);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(100, 31, 255, 0.32);
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 270px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  justify-content: flex-start;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--violet);
}

/* Hero sections */
.hero,
.page-hero,
.product-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  padding: 82px 0 76px;
}

.hero::before,
.page-hero::before,
.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(100, 31, 255, 0.08), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(100, 31, 255, 0.18), transparent 18rem);
}

.hero::after,
.page-hero::after,
.product-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 260px;
  right: -170px;
  top: 120px;
  border: 34px solid rgba(100, 31, 255, 0.08);
  border-radius: 999px 999px 40px 999px;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-grid,
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-grid {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.05fr);
}

.hero-logo {
  width: min(390px, 86vw);
  margin-bottom: 32px;
  filter: drop-shadow(0 18px 34px rgba(100, 31, 255, 0.16));
}

.eyebrow,
.section-kicker,
.category {
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  font-weight: 850;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-title-compact {
  max-width: min(100%, 720px);
  font-size: clamp(2.8rem, 5.6vw, 5.35rem);
  line-height: 1.02;
}

.hero-title-compact span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.14rem;
  line-height: 1.28;
}

.hero-text,
.page-hero p,
.intro-section p,
.rich-copy p {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.home-hero-image {
  margin: -142px 0 0;
}

.home-hero-image img,
.home-section-image img {
  display: block;
  width: 100%;
  border-radius: 28px;
  object-fit: contain;
  box-shadow: 0 22px 54px rgba(8, 6, 14, 0.18);
}

.home-hero-image img {
  max-height: 370px;
  object-position: center;
}

.home-image-split {
  align-items: center;
}

.home-section-image {
  margin: 0;
}

.home-section-image img {
  max-height: 550px;
  object-position: center;
}

.home-section-image-secondary {
  margin-top: 30px;
}

.home-section-image-secondary img {
  max-height: 455px;
}

.signal-card,
.feature-card,
.product-card,
.service-card,
.contact-card,
.form-card,
.values-grid article,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.signal-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  transform: translateY(var(--offset, 0));
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 247, 255, 0.84)),
    radial-gradient(circle at 92% 12%, rgba(100, 31, 255, 0.11), transparent 12rem);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
}

.signal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(100, 31, 255, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity var(--ease);
}

.signal-card:nth-child(2) {
  --offset: 18px;
}

.signal-card:nth-child(3) {
  --offset: 36px;
}

.signal-card:hover {
  transform: translateY(calc(var(--offset, 0) - 4px));
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.signal-card:hover::before {
  opacity: 1;
}

.signal-card span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(100, 31, 255, 0.18);
  border-radius: 999px;
  background: rgba(100, 31, 255, 0.07);
  color: var(--violet);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.card-index {
  color: var(--violet);
  font-weight: 900;
  font-size: 0.85rem;
}

.signal-card strong {
  position: relative;
  display: block;
  margin: 16px 0 10px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.2;
}

.signal-card p,
.feature-card p,
.service-card p,
.product-card p,
.values-grid p,
.why-list p,
.contact-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.page-hero,
.product-hero {
  padding: 100px 0 62px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(140deg, #ffffff 0%, var(--mist) 74%, var(--violet-pale) 100%);
}

.page-hero.compact {
  padding-bottom: 42px;
}

.page-hero h1,
.product-hero h1 {
  font-size: clamp(2.75rem, 5.8vw, 5.2rem);
}

.loom-subtitle {
  margin: -10px 0 14px;
  color: var(--violet);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 850;
}

.loom-statement {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.03em;
}

.loom-statement span {
  display: inline-block;
  margin-top: 4px;
  color: var(--violet);
  font-size: 0.68em;
}

.loom-logo-word sup {
  margin-left: 0.08em;
  color: var(--violet);
  font-size: 0.16em;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: super;
}

.product-visual {
  min-height: 380px;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 34px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 34px 34px 14px 34px;
  background:
    radial-gradient(circle at 50% 18%, rgba(100, 31, 255, 0.19), transparent 11rem),
    linear-gradient(145deg, #ffffff 0%, #f4efff 100%);
  box-shadow: var(--shadow-violet);
}

.product-visual span {
  display: block;
  color: var(--violet);
  font-size: clamp(3.3rem, 8vw, 5.7rem);
  font-weight: 900;
  line-height: 0.95;
}

.product-visual p {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
  margin: 0;
}

.product-visual small {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.microphone-visual span {
  letter-spacing: 0.06em;
}

/* Clean product page treatments */
.product-page .clean-product-hero {
  padding: 94px 0 76px;
  background:
    radial-gradient(circle at 84% 18%, rgba(100, 31, 255, 0.12), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #f8f5ff 100%);
}

.product-page .clean-product-hero::before,
.product-page .clean-product-hero::after {
  opacity: 0.45;
}

.product-page .product-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.82fr);
  gap: 58px;
}

.product-page .product-hero h1 {
  margin-bottom: 18px;
  color: var(--violet);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.product-page .loom-subtitle {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 850;
}

.product-page .loom-statement {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.product-page .lead-line {
  color: var(--violet);
  font-weight: 850;
}

.product-page .hero-text {
  max-width: 640px;
  color: var(--ink-soft);
}

.product-page .product-visual {
  min-height: 390px;
  padding: 42px;
  border: 1px solid rgba(100, 31, 255, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(246,242,255,0.92));
  box-shadow: 0 28px 70px rgba(48, 22, 108, 0.13);
}

.product-page .product-visual span {
  font-size: clamp(3.6rem, 8vw, 6.2rem);
  letter-spacing: -0.035em;
}

.product-page .product-visual p {
  max-width: 300px;
  margin: 0 auto;
  color: var(--ink);
}

.product-page .product-visual small {
  max-width: 340px;
  margin: 4px auto 0;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.product-page .split {
  align-items: center;
}

.product-page .rich-copy {
  display: grid;
  gap: 22px;
}

.use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.use-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--violet);
  font-size: 0.92rem;
  font-weight: 800;
}

.product-page .feature-band {
  background: #ffffff;
}

.product-page .feature-card {
  background: rgba(255, 255, 255, 0.88);
}

.product-price-card {
  border-color: rgba(100, 31, 255, 0.28);
  background:
    radial-gradient(circle at 86% 12%, rgba(100, 31, 255, 0.12), transparent 12rem),
    #ffffff;
}

.product-price-card span {
  color: var(--muted);
  text-decoration: line-through;
}

.product-price-card strong {
  color: var(--violet);
  font-size: 1.45rem;
}

.page-avt .product-visual {
  background:
    radial-gradient(circle at 80% 18%, rgba(47, 128, 237, 0.09), transparent 12rem),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(244,247,255,0.92));
}

.consult-hero .product-hero-grid {
  align-items: center;
}

.product-page .product-hero h1.consult-title {
  max-width: none;
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.consult-title sup {
  margin-left: 0.08em;
  color: var(--violet);
  font-size: 0.2em;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: super;
}

.consult-visual {
  min-height: 460px;
}

.consult-photo-visual {
  padding: 12px;
  overflow: hidden;
  background: #ffffff;
}

.consult-photo-visual img {
  width: 100%;
  height: 100%;
  min-height: 436px;
  display: block;
  border-radius: 22px;
  object-fit: cover;
  object-position: 50% 58%;
}

.consult-device-render,
.model-visual {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 1px solid rgba(100, 31, 255, 0.18);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.96), rgba(246, 242, 255, 0.86) 58%, rgba(100, 31, 255, 0.12)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(237, 230, 255, 0.78));
  box-shadow: var(--shadow);
}

.consult-device-render {
  width: min(310px, 82vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
}

.consult-device-render::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(100, 31, 255, 0.08), transparent 34%),
    linear-gradient(145deg, #ffffff, #f2ecff);
  box-shadow:
    inset 0 16px 36px rgba(255, 255, 255, 0.9),
    inset 0 -18px 34px rgba(100, 31, 255, 0.13),
    0 22px 46px rgba(37, 16, 84, 0.15);
}

.device-ring {
  position: absolute;
  width: 48%;
  aspect-ratio: 1 / 1;
  border: 11px solid rgba(100, 31, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 0 0 18px rgba(100, 31, 255, 0.07);
}

.device-light {
  position: absolute;
  top: 22%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--violet);
  box-shadow: 0 0 22px rgba(100, 31, 255, 0.82);
}

.device-label {
  position: relative;
  z-index: 1;
  margin-top: 58%;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.consult-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.consult-highlight-grid .feature-card h2 {
  font-size: 1.2rem;
  line-height: 1.22;
}

.consult-wide-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.consult-care-grid {
  grid-template-columns: repeat(5, 1fr);
}

.consult-workflow-card {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 12%, rgba(100, 31, 255, 0.12), transparent 14rem),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.workflow-step {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
}

.workflow-step span {
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 900;
}

.workflow-step strong {
  color: var(--ink);
  line-height: 1.25;
}

.workflow-arrow {
  color: var(--violet);
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
}

.consult-workflow-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.compatibility-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.compatibility-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-soft);
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(37, 16, 84, 0.06);
}

.consult-note {
  max-width: 680px;
}

.consult-intro {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.model-grid .model-card:only-child {
  max-width: 1180px;
  margin: 0 auto;
}

.model-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.model-card h3 {
  font-size: 1.28rem;
}

.model-card h4 {
  margin: 18px 0 8px;
  color: var(--ink);
}

.model-card ul {
  margin: 0;
  padding-left: 19px;
  color: var(--muted);
}

.model-card li + li {
  margin-top: 6px;
}

.model-visual {
  width: 100%;
  min-height: 230px;
  border-radius: 24px;
}

.model-visual.has-image {
  align-content: end;
  min-height: 260px;
  padding: 12px;
  background: #ffffff;
}

.model-visual.has-image::before {
  display: none;
}

.model-visual.has-image img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border-radius: 18px;
  object-fit: contain;
  object-position: center;
}

.model-visual.has-image span {
  align-self: end;
  justify-self: start;
  margin: 0 0 8px 8px;
  padding: 7px 12px;
  border: 1px solid rgba(100, 31, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(37, 16, 84, 0.08);
  backdrop-filter: blur(10px);
}

.model-visual::before {
  content: "";
  position: absolute;
  width: 68%;
  height: 42%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(100, 31, 255, 0.1), transparent 34%),
    linear-gradient(145deg, #ffffff, #f4efff);
  box-shadow:
    inset 0 -14px 30px rgba(100, 31, 255, 0.12),
    0 18px 34px rgba(37, 16, 84, 0.14);
}

.model-v12::before {
  height: 30%;
  border-radius: 26px;
}

.model-visual span {
  position: relative;
  z-index: 1;
  color: var(--violet);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.assurance-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(circle at 76% 16%, rgba(100, 31, 255, 0.1), transparent 10rem),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.assurance-card strong {
  color: var(--violet);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.assurance-card span {
  color: var(--ink-soft);
  font-weight: 850;
}

.assurance-list {
  justify-content: center;
  margin-top: 18px;
}

.case-study-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(100, 31, 255, 0.08), transparent 22rem),
    linear-gradient(180deg, #ffffff, var(--paper));
}

.testimonials-section {
  background: #ffffff;
}

.consult-final-cta {
  align-items: flex-start;
}

.consult-final-cta p {
  max-width: 780px;
  color: var(--muted);
}

.closing-line {
  margin: 22px 0 0;
  color: var(--ink) !important;
  font-weight: 900;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.product-image-visual {
  padding: 12px;
  overflow: hidden;
  background: #ffffff;
}

.product-image-visual img,
.product-media-card img {
  width: 100%;
  height: 100%;
  display: block;
}

.product-image-visual img {
  min-height: 390px;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: 22px;
}

.product-story-section {
  background:
    radial-gradient(circle at 86% 10%, rgba(100, 31, 255, 0.07), transparent 20rem),
    #ffffff;
}

.product-story-section.alt {
  background: linear-gradient(135deg, rgba(246, 242, 255, 0.72), rgba(255, 255, 255, 0.96));
}

.product-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
  gap: 54px;
  align-items: center;
}

.product-copy p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.product-media-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.product-media-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  transition: transform var(--ease);
}

.product-media-card.clean-shot img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 24px;
  background: #ffffff;
}

.product-media-card:hover img {
  transform: scale(1.025);
}

/* Advisory and detail page extensions */
.advisory-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.medtech-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
}

.private-clinic-hero-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(500px, 0.92fr);
}

.dental-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.58fr);
  align-items: start;
}

.independent-hospital-hero-grid {
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1fr);
}

.nhs-hero-grid {
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1fr);
}

.startups-hero-grid {
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1fr);
}

.advisory-visual {
  min-height: 300px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 68% 18%, rgba(100, 31, 255, 0.18), transparent 11rem),
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(246,242,255,0.92));
  box-shadow: var(--shadow-sm);
}

.advisory-visual span {
  color: var(--violet);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.advisory-image-visual {
  overflow: hidden;
  padding: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: 0 24px 64px rgba(8, 6, 14, 0.22);
}

.advisory-image-visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  border-radius: 28px;
  object-fit: contain;
}

.private-clinic-image-visual {
  justify-self: center;
  max-width: 620px;
}

.private-clinic-hero-image,
.private-clinic-section-image {
  margin: 0;
}

.private-clinic-hero-image img,
.private-clinic-section-image img {
  display: block;
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 24px 64px rgba(8, 6, 14, 0.24);
}

.private-clinic-hero-image img {
  height: 360px;
  object-position: center;
}

.private-clinic-section-image {
  margin-top: 28px;
}

.private-clinic-section-image img {
  height: 420px;
  object-position: 58% center;
}

.private-clinic-copy {
  align-self: start;
}

.dental-section-image {
  margin: 28px 0 0;
}

.dental-section-image img {
  display: block;
  width: 100%;
  height: 420px;
  border-radius: 28px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 24px 64px rgba(8, 6, 14, 0.24);
}

.dental-copy {
  align-self: start;
}

.dental-organisation-image-visual {
  justify-self: end;
  max-width: 500px;
}

.dental-organisation-image-visual img {
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.independent-hospital-image-visual {
  justify-self: stretch;
  max-width: 860px;
}

.nhs-image-visual {
  justify-self: stretch;
  max-width: 860px;
}

.startups-image-visual {
  justify-self: stretch;
  max-width: 860px;
}

.sector-grid,
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-detail-grid {
  grid-template-columns: repeat(2, 1fr);
}

.policy-panel {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(181, 145, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(22, 21, 27, 0.72);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.policy-panel h2,
.policy-panel h3 {
  color: #ffffff;
  line-height: 1.14;
}

.policy-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.policy-panel h2:not(:first-child) {
  margin-top: 44px;
}

.policy-panel h3 {
  margin: 30px 0 10px;
  font-size: 1.08rem;
}

.policy-panel p,
.policy-panel li {
  color: rgba(255, 255, 255, 0.82);
}

.policy-panel p {
  margin: 0 0 14px;
}

.policy-panel ul {
  margin: 0 0 18px 1.2rem;
  padding: 0;
}

.policy-panel a {
  color: var(--violet-soft);
  font-weight: 800;
}

.sector-card,
.detail-panel {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.sector-card:hover,
.detail-panel:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.sector-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  box-shadow: 0 14px 28px rgba(100, 31, 255, 0.22);
  font-weight: 900;
}

.detail-panel p,
.sector-card p {
  color: var(--muted);
}

/* Sections and cards */
.section {
  padding: 82px 0;
}

.intro-section,
.feature-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 5% 12%, rgba(100, 31, 255, 0.08), transparent 22rem),
    linear-gradient(135deg, rgba(246, 242, 255, 0.82), rgba(255, 255, 255, 0.96));
}

.section-heading {
  margin-bottom: 32px;
}

.text-link {
  color: var(--violet);
  border-bottom: 1px solid rgba(100, 31, 255, 0.48);
  padding-bottom: 4px;
  font-weight: 850;
  white-space: nowrap;
  transition: color var(--ease), border-color var(--ease);
}

.text-link:hover {
  color: var(--violet-deep);
  border-color: var(--violet-deep);
}

.inline-link {
  display: inline-flex;
  margin-top: 14px;
}

.card-grid,
.product-grid,
.service-grid,
.values-grid {
  display: grid;
  gap: 20px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.three,
.product-grid,
.product-grid.large,
.service-grid,
.values-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.product-card,
.service-card,
.values-grid article {
  min-height: 100%;
  padding: 28px;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease);
}

.feature-card:hover,
.product-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.highlight-card {
  background:
    radial-gradient(circle at 86% 12%, rgba(100, 31, 255, 0.1), transparent 12rem),
    linear-gradient(145deg, #ffffff 0%, #f7f3ff 100%);
}

.product-card .button {
  margin-top: auto;
}

.category {
  color: var(--violet-soft);
  margin-bottom: 14px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 60px;
  align-items: start;
}

.why-list {
  display: grid;
  gap: 20px;
}

.why-list div {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 38px;
  background:
    radial-gradient(circle at 92% 18%, rgba(100, 31, 255, 0.16), transparent 15rem),
    linear-gradient(135deg, #ffffff 0%, var(--mist) 100%);
  box-shadow: var(--shadow);
}

.section-note {
  max-width: 300px;
  color: var(--muted);
  margin: 0;
}

.team-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.team-card:hover,
.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.team-card {
  display: grid;
  gap: 22px;
  padding: 18px;
}

.team-photo {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: transparent;
}

.team-photo--placeholder {
  border: 1px solid rgba(100, 31, 255, 0.16);
  background:
    radial-gradient(circle at 72% 18%, rgba(100, 31, 255, 0.22), transparent 8rem),
    linear-gradient(135deg, #ffffff, var(--mist));
}

.team-photo span {
  color: var(--violet);
  font-weight: 850;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-role {
  margin-bottom: 8px;
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card h3,
.review-card h3 {
  margin-bottom: 8px;
}

.team-card p:last-child,
.review-card p {
  color: var(--muted);
}

.reviews-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(100, 31, 255, 0.08), transparent 22rem),
    linear-gradient(180deg, #ffffff, var(--paper));
}

.review-card {
  position: relative;
  padding: 28px;
}

.placeholder-review {
  display: grid;
  align-content: start;
}

.placeholder-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(100, 31, 255, 0.16);
  border-radius: 999px;
  background: rgba(100, 31, 255, 0.07);
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-stars {
  color: var(--violet);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

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

/* Buttons and forms */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  box-shadow: 0 16px 34px rgba(100, 31, 255, 0.26);
  font-weight: 850;
  text-align: center;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(100, 31, 255, 0.34);
}

.button.ghost {
  color: var(--violet);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button.ghost:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  border-color: transparent;
}

.button.small {
  min-height: 44px;
  padding: 0 18px;
  margin-top: 22px;
  font-size: 0.92rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: start;
}

.contact-card,
.form-card {
  padding: 32px;
}

.contact-card a,
.footer-column a {
  color: var(--violet);
  font-weight: 850;
}

.field-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  color: var(--ink);
  font-weight: 850;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(100, 31, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--violet);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(100, 31, 255, 0.12);
}

.phone-input-group {
  display: grid;
  grid-template-columns: minmax(150px, 0.62fr) minmax(0, 1fr);
  gap: 10px;
}

.form-note {
  min-height: 24px;
  color: var(--violet);
  font-weight: 850;
  margin: 16px 0 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 54px 0 28px;
  background:
    radial-gradient(circle at 82% 10%, rgba(100, 31, 255, 0.5), transparent 24rem),
    linear-gradient(135deg, var(--black), #10071f 78%);
  color: var(--white);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr 1.35fr;
  gap: 30px;
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 9px;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 0.98rem;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--ease);
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #d8ccff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 850;
  transition: color var(--ease);
}

.footer-bottom p {
  margin-bottom: 0;
}

.reveal-ready .footer-bottom {
  opacity: 1;
  transform: none;
}

/* Test dark page theme */
body {
  color: #f7f4ff;
  background:
    radial-gradient(circle at 16% -8%, rgba(154, 111, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 86% 8%, rgba(124, 95, 214, 0.18), transparent 32rem),
    linear-gradient(180deg, #34313a 0%, #2c2932 48%, #36333d 100%);
}

.hero,
.page-hero,
.product-hero,
.section {
  color: #f7f4ff;
}

.hero::before,
.page-hero::before,
.product-hero::before {
  background:
    linear-gradient(120deg, rgba(181, 145, 255, 0.13), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(181, 145, 255, 0.2), transparent 18rem);
}

h1,
h2,
h3,
.signal-card strong,
.product-visual p,
.workflow-step strong,
.model-card h4,
.closing-line {
  color: #ffffff !important;
}

.eyebrow,
.section-kicker,
.category,
.text-link,
.signal-card span,
.card-index,
.use-list span,
.sector-icon,
.review-stars,
.placeholder-label,
.footer-column a,
.contact-card a {
  color: #b99cff;
}

.page-hero,
.product-hero,
.product-page .clean-product-hero,
.intro-section,
.feature-band,
.product-page .feature-band,
.product-story-section,
.product-story-section.alt,
.case-study-section,
.testimonials-section,
.reviews-section {
  border-color: rgba(185, 156, 255, 0.18);
  background:
    radial-gradient(circle at 8% 14%, rgba(185, 156, 255, 0.13), transparent 24rem),
    linear-gradient(135deg, rgba(61, 57, 69, 0.98), rgba(43, 40, 49, 0.98));
}

.hero-text,
.page-hero p,
.intro-section p,
.rich-copy p,
.signal-card p,
.feature-card p,
.service-card p,
.product-card p,
.values-grid p,
.why-list p,
.contact-card p,
.product-copy p:last-child,
.product-page .hero-text,
.product-page .product-visual small,
.consult-workflow-card p,
.compatibility-strip span,
.consult-intro,
.model-card ul,
.assurance-card span,
.consult-final-cta p,
.section-note,
.team-card p:last-child,
.review-card p,
.review-card span,
.form-note {
  color: rgba(247, 244, 255, 0.76);
}

.signal-card,
.feature-card,
.product-card,
.service-card,
.contact-card,
.form-card,
.values-grid article,
.team-card,
.review-card,
.sector-card,
.detail-panel,
.consult-workflow-card,
.workflow-step,
.model-card,
.assurance-card,
.cta-panel {
  border-color: rgba(185, 156, 255, 0.22);
  background:
    radial-gradient(circle at 86% 10%, rgba(185, 156, 255, 0.12), transparent 13rem),
    rgba(54, 50, 62, 0.9);
  box-shadow: 0 18px 48px rgba(8, 6, 14, 0.22);
}

.signal-card:hover,
.feature-card:hover,
.product-card:hover,
.service-card:hover,
.team-card:hover,
.review-card:hover,
.sector-card:hover {
  border-color: rgba(185, 156, 255, 0.38);
  background:
    radial-gradient(circle at 86% 10%, rgba(185, 156, 255, 0.17), transparent 13rem),
    rgba(62, 57, 72, 0.96);
  box-shadow: 0 24px 60px rgba(8, 6, 14, 0.3);
}

.highlight-card,
.product-price-card,
.product-visual,
.page-avt .product-visual {
  background:
    radial-gradient(circle at 78% 16%, rgba(185, 156, 255, 0.15), transparent 16rem),
    linear-gradient(145deg, rgba(62, 58, 72, 0.96), rgba(43, 40, 49, 0.96));
}

.button,
.button.solid {
  background: linear-gradient(135deg, #b99cff, #8f6cff) !important;
  box-shadow: 0 16px 34px rgba(143, 108, 255, 0.28);
}

.button.ghost {
  color: #ffffff;
  border-color: rgba(185, 156, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.use-list span,
.placeholder-label,
.signal-card span,
.compatibility-strip span {
  border-color: rgba(185, 156, 255, 0.24);
  background: rgba(185, 156, 255, 0.1);
}

.product-image-visual,
.consult-photo-visual,
.model-visual.has-image,
.product-media-card.clean-shot img,
.form-card input,
.form-card textarea,
.form-card select {
  background: rgba(255, 255, 255, 0.94);
  color: #17101f;
}

.site-footer {
  border-top: 1px solid rgba(100, 31, 255, 0.12);
  background:
    radial-gradient(circle at 82% 10%, rgba(185, 156, 255, 0.18), transparent 24rem),
    linear-gradient(135deg, #ffffff, #f4f0ff);
  color: #17101f;
}

.site-footer .footer-column h3,
.site-footer .footer-bottom p {
  color: #17101f !important;
}

.site-footer .footer-column p {
  color: #4b4258 !important;
}

.site-footer .footer-column a {
  color: #5e31df !important;
}

.site-footer .footer-bottom {
  color: #4b4258 !important;
}

.site-footer .footer-column a:hover {
  color: #7d55f2 !important;
}

.site-footer .footer-bottom {
  border-top-color: rgba(100, 31, 255, 0.14);
}

/* Product page contrast fixes for the test dark theme */
.product-page .product-hero h1,
.page-loom .loom-logo-word,
.page-avt .consult-title {
  color: #c8adff !important;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.page-loom .loom-logo-word sup,
.page-avt .consult-title sup {
  color: #d8c6ff;
}

.product-page .loom-subtitle,
.product-page .loom-statement,
.product-page .lead-line {
  color: #ffffff;
}

.product-page .hero-text,
.product-page .rich-copy p,
.product-page .product-copy p,
.product-page .detail-panel p,
.product-page .feature-card p,
.product-page .sector-card p,
.product-page .consult-intro,
.product-page .model-card li,
.product-page .consult-workflow-card p,
.product-page .review-card p,
.product-page .review-card span,
.product-page .section-note,
.product-page .consult-final-cta p {
  color: rgba(255, 255, 255, 0.84);
}

.product-page .feature-card,
.product-page .sector-card,
.product-page .detail-panel,
.product-page .model-card,
.product-page .review-card,
.product-page .consult-workflow-card,
.product-page .workflow-step,
.product-page .assurance-card,
.product-page .cta-panel {
  background:
    radial-gradient(circle at 88% 10%, rgba(200, 173, 255, 0.14), transparent 14rem),
    rgba(48, 44, 56, 0.96);
}

.product-page .product-price-card span {
  color: rgba(255, 255, 255, 0.62);
}

.product-page .product-price-card strong,
.product-page .category,
.product-page .section-kicker,
.product-page .card-index,
.product-page .sector-icon,
.product-page .workflow-step span,
.product-page .assurance-card strong {
  color: #c8adff;
}

.product-page .use-list span,
.product-page .compatibility-strip span,
.product-page .model-visual.has-image span {
  color: #eadfff;
  border-color: rgba(200, 173, 255, 0.34);
  background: rgba(200, 173, 255, 0.13);
}

.product-page .model-visual.has-image span {
  color: #5e31df;
  background: rgba(255, 255, 255, 0.92);
}

.page-loom .product-image-visual,
.page-avt .consult-photo-visual,
.page-avt .model-visual.has-image {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-loom .product-image-visual,
.page-avt .consult-photo-visual,
.page-avt .model-visual.has-image {
  padding: 0;
}

.page-avt .model-visual.has-image img {
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-page .closing-line {
  color: #ffffff !important;
}

/* Contact page contrast fixes for the test dark theme */
.contact-page .page-hero h1 {
  color: #ffffff !important;
}

.contact-page .page-hero p,
.contact-page .contact-card p,
.contact-page .form-note {
  color: rgba(255, 255, 255, 0.86);
}

.contact-page .contact-card,
.contact-page .form-card {
  border-color: rgba(200, 173, 255, 0.28);
  background:
    radial-gradient(circle at 86% 10%, rgba(200, 173, 255, 0.15), transparent 14rem),
    rgba(48, 44, 56, 0.96);
}

.contact-page .contact-card h2 {
  color: #ffffff !important;
}

.contact-page .contact-card strong,
.contact-page label {
  color: #f7f4ff;
}

.contact-page .contact-card a {
  color: #d8c6ff;
}

.contact-page .contact-card a:hover {
  color: #ffffff;
}

.contact-page input,
.contact-page textarea,
.contact-page select {
  border-color: rgba(200, 173, 255, 0.32);
  background: rgba(255, 255, 255, 0.96);
  color: #17101f;
}

.contact-page input::placeholder,
.contact-page textarea::placeholder {
  color: #71677d;
}

.contact-page input:focus,
.contact-page textarea:focus,
.contact-page select:focus {
  border-color: #c8adff;
  box-shadow: 0 0 0 4px rgba(200, 173, 255, 0.18);
}

/* Responsive layout */
@media (max-width: 767px) {
  body {
    padding-top: 72px;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
  }

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

  button,
  input,
  textarea,
  select,
  .nav-links,
  .hero-copy,
  .footer-layout > *,
  .card-grid > *,
  .product-grid > *,
  .service-grid > *,
  .values-grid > *,
  .team-grid > *,
  .reviews-grid > *,
  .sector-grid > *,
  .product-detail-grid > *,
  .consult-highlight-grid > *,
  .consult-care-grid > *,
  .assurance-grid > *,
  .form-grid > *,
  .contact-page .phone-input-group select,
  .contact-page .phone-input-group input {
    min-width: 0;
  }

  .navbar {
    min-height: 76px;
    align-items: center;
    padding: 14px 0;
  }

  .brand img {
    width: 166px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 31;
    min-width: 44px;
    cursor: pointer;
  }

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

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

  .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-toggle span:not(.sr-only) {
    transition: transform var(--ease), opacity var(--ease);
  }

  .nav-links {
    position: fixed;
    left: max(14px, env(safe-area-inset-left));
    right: max(14px, env(safe-area-inset-right));
    top: calc(76px + env(safe-area-inset-top));
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: calc(100vh - 96px);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: calc(100dvh - 96px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
  }

  .nav-links::before {
    content: "Menu";
    display: block;
    padding: 2px 4px 8px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a,
  .nav-item > a {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .nav-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    align-items: start;
  }

  .nav-item > a {
    grid-column: 1;
    justify-content: space-between;
  }

  .nav-item > a::after {
    content: "+";
    flex: 0 0 auto;
    margin-left: 12px;
    color: var(--violet);
    font-size: 1.25rem;
    line-height: 1;
  }

  .nav-item.submenu-open > a::after {
    content: "\2212";
  }

  .dropdown {
    grid-column: 1 / -1;
    position: static;
    display: grid;
    gap: 4px;
    min-width: 0;
    max-height: 0;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 16px;
    background: var(--mist);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: none;
    transition: max-height 260ms ease, padding 260ms ease, opacity 220ms ease, visibility 220ms ease;
  }

  .nav-item.submenu-open > .dropdown {
    max-height: 420px;
    margin: 2px 0 8px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
  }

  .dropdown a {
    min-height: 44px;
    border-radius: 12px;
    white-space: normal;
    padding-left: 14px;
  }

  .hero,
  .page-hero,
  .product-hero {
    min-height: auto;
    padding: 72px 0;
  }

  .hero-grid,
  .product-hero-grid,
  .advisory-hero-grid,
  .product-story-grid,
  .split,
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: stretch;
  }

  .hero-copy,
  .product-copy,
  .rich-copy,
  .contact-card,
  .form-card {
    width: 100%;
  }

  .hero-copy,
  .product-copy,
  .advisory-hero-grid > div:first-child,
  .split > div:first-child {
    order: 1;
  }

  .hero-panel,
  .home-hero-image,
  .home-section-image,
  .advisory-visual,
  .advisory-image-visual,
  .product-visual,
  .product-image-visual,
  .product-media-card,
  .consult-photo-visual,
  .private-clinic-hero-image,
  .private-clinic-section-image,
  .dental-organisation-image-visual,
  .dental-section-image,
  .independent-hospital-image-visual,
  .nhs-image-visual,
  .startups-image-visual {
    order: 2;
  }

  .hero-text,
  .page-hero p,
  .product-page .hero-text,
  .intro-section p,
  .rich-copy p {
    max-width: 68ch;
  }

  .home-hero-image,
  .home-section-image,
  .advisory-image-visual,
  .product-image-visual,
  .product-media-card,
  .consult-photo-visual,
  .private-clinic-hero-image,
  .private-clinic-section-image,
  .dental-organisation-image-visual,
  .dental-section-image,
  .independent-hospital-image-visual,
  .nhs-image-visual,
  .startups-image-visual {
    width: 100%;
    max-width: 760px;
    justify-self: center;
    align-self: center;
  }

  .home-hero-image img,
  .home-section-image img,
  .advisory-image-visual img,
  .product-image-visual img,
  .product-media-card img,
  .consult-photo-visual img,
  .private-clinic-hero-image img,
  .private-clinic-section-image img,
  .dental-organisation-image-visual img,
  .dental-section-image img,
  .independent-hospital-image-visual img,
  .nhs-image-visual img,
  .startups-image-visual img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }

  .consult-wide-card,
  .model-card,
  .compatibility-strip {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .phone-input-group {
    grid-template-columns: 1fr;
  }

  .button,
  input,
  textarea,
  select {
    max-width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-actions .button,
  .cta-actions .button {
    flex: 0 1 auto;
  }

  select {
    text-overflow: ellipsis;
  }

  .card-grid.four,
  .product-grid,
  .product-grid.large,
  .values-grid,
  .team-grid,
  .reviews-grid,
  .sector-grid,
  .product-detail-grid,
  .consult-highlight-grid,
  .consult-care-grid,
  .assurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-grid {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .product-hero-grid,
  .advisory-hero-grid,
  .product-story-grid,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .signal-card:nth-child(n),
  .signal-card:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 54px 0;
  }

  .home-hero-image {
    margin-top: 0;
  }

  .hero-grid {
    gap: 26px;
  }

  .private-clinic-hero-image img,
  .private-clinic-section-image img,
  .dental-organisation-image-visual img,
  .dental-section-image img,
  .home-hero-image img,
  .home-section-image img,
  .advisory-image-visual img,
  .product-image-visual img,
  .product-media-card img,
  .consult-photo-visual img,
  .model-visual.has-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .home-hero-image,
  .home-section-image,
  .advisory-image-visual,
  .product-image-visual,
  .product-media-card,
  .consult-photo-visual,
  .model-visual.has-image {
    max-width: 100%;
  }

  .hero-panel,
  .product-visual,
  .product-media-card,
  .advisory-visual {
    border-radius: 24px;
  }

  .home-hero-image,
  .home-section-image,
  .advisory-image-visual,
  .product-image-visual,
  .product-media-card,
  .consult-photo-visual,
  .private-clinic-hero-image,
  .private-clinic-section-image,
  .dental-organisation-image-visual,
  .dental-section-image,
  .independent-hospital-image-visual,
  .nhs-image-visual,
  .startups-image-visual {
    max-width: 560px;
  }

  .navbar {
    min-height: 72px;
    align-items: center;
  }

  .brand img {
    width: 158px;
  }

  .footer-brand img {
    width: 150px;
  }

  .nav-links {
    top: calc(72px + env(safe-area-inset-top));
  }

  .nav-cta {
    margin-left: 0;
  }

  .dropdown a,
  .hero-title-compact span,
  .consult-title,
  .text-link {
    white-space: normal;
  }

  .hero,
  .page-hero,
  .product-hero,
  .section {
    padding: 58px 0;
  }

  .hero-copy,
  .page-hero .container,
  .product-copy,
  .section-heading,
  .rich-copy {
    text-align: left;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.6rem);
    line-height: 1.03;
  }

  .hero-title-compact {
    font-size: clamp(2.15rem, 10vw, 3.15rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.7rem, 7vw, 2rem);
    line-height: 1.12;
  }

  .hero-text,
  .page-hero p,
  .product-page .hero-text,
  .intro-section p,
  .rich-copy p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .loom-statement {
    font-size: clamp(1.2rem, 7vw, 1.85rem);
  }

  .hero-actions,
  .section-heading,
  .cta-panel,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-grid.four,
  .card-grid.three,
  .product-grid,
  .product-grid.large,
  .service-grid,
  .values-grid,
  .team-grid,
  .reviews-grid,
  .sector-grid,
  .product-detail-grid,
  .consult-highlight-grid,
  .consult-care-grid,
  .model-grid,
  .assurance-grid,
  .form-grid,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .consult-wide-card,
  .model-card {
    grid-template-columns: 1fr;
  }

  .phone-input-group {
    grid-template-columns: 1fr;
  }

  .consult-visual {
    min-height: 340px;
  }

  .consult-photo-visual img {
    min-height: 0;
  }

  .consult-device-render {
    width: min(260px, 74vw);
  }

  .model-visual {
    min-height: 0;
  }

  .model-visual.has-image {
    min-height: clamp(190px, 58vw, 280px);
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .product-visual {
    min-height: 280px;
    border-radius: 26px 26px 12px 26px;
  }

  .product-image-visual img {
    min-height: 0;
  }

  .contact-card,
  .form-card,
  .feature-card,
  .product-card,
  .service-card,
  .sector-card,
  .team-card,
  .assurance-card,
  .detail-panel,
  .cta-panel {
    padding: 24px;
  }

  /* Phone-only layout repairs. Desktop styles above remain unchanged. */
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  main,
  section,
  .container,
  .narrow,
  .hero-grid > *,
  .product-hero-grid > *,
  .advisory-hero-grid > *,
  .product-story-grid > *,
  .split > *,
  .card-grid > *,
  .sector-grid > *,
  .footer-layout > * {
    min-width: 0;
    max-width: 100%;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  label,
  a,
  button {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    hyphens: auto;
  }

  .button,
  .nav-links a,
  .text-link {
    white-space: normal;
  }

  pre,
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .home-hero-image {
    order: 1;
    width: 100%;
  }

  .home-hero-image + .hero-copy {
    order: 2;
  }

  .home-hero-image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .product-page .product-hero-grid,
  .product-page .product-story-grid,
  .product-page .split,
  .product-page .model-card {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .page-loom .container,
  .page-avt .container {
    width: min(100% - 40px, 1160px);
  }


  .product-page .product-hero-grid > *,
  .product-page .product-story-grid > *,
  .product-page .split > *,
  .product-page .model-card > *,
  .product-page .product-copy,
  .product-page .rich-copy,
  .product-page p,
  .product-page li {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .product-page .product-visual,
  .product-page .product-image-visual,
  .product-page .product-media-card,
  .product-page .consult-photo-visual,
  .product-page .model-visual.has-image {
    position: relative;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
  }

  .product-page .product-visual::before,
  .product-page .product-visual::after,
  .product-page .model-visual::before,
  .advisory-image-visual::before,
  .advisory-image-visual::after {
    display: none;
  }

  .product-page .product-image-visual img,
  .product-page .product-media-card img,
  .product-page .consult-photo-visual img,
  .product-page .model-visual.has-image img {
    position: static;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    border-radius: 18px;
    object-fit: contain;
  }

  .advisory-image-visual,
  .private-clinic-hero-image,
  .private-clinic-section-image,
  .dental-organisation-image-visual,
  .dental-section-image,
  .independent-hospital-image-visual,
  .nhs-image-visual,
  .startups-image-visual {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
  }

  .advisory-image-visual img,
  .private-clinic-hero-image img,
  .private-clinic-section-image img,
  .dental-organisation-image-visual img,
  .dental-section-image img,
  .independent-hospital-image-visual img,
  .nhs-image-visual img,
  .startups-image-visual img {
    height: auto;
    max-height: none;
    object-fit: contain;
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 68px;
  }

  .container,
  .narrow {
    width: min(100% - 24px, 1160px);
  }

  .navbar {
    min-height: 68px;
  }

  .brand img {
    width: 146px;
  }

  .nav-links {
    left: 10px;
    right: 10px;
    top: calc(68px + env(safe-area-inset-top));
    max-height: calc(100vh - 84px);
    max-height: calc(100dvh - 84px);
    padding: 12px;
    border-radius: 18px;
  }

  .page-loom .container,
  .page-avt .container {
    width: min(100% - 32px, 1160px);
  }

  .nav-links a,
  .nav-item > a {
    min-height: 46px;
  }

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

  .hero,
  .page-hero,
  .product-hero,
  .section {
    padding: 46px 0;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.15rem);
    line-height: 1.02;
  }

  .hero-title-compact,
  .product-page .product-hero h1,
  .product-page .product-hero h1.consult-title {
    font-size: clamp(2.05rem, 11.5vw, 3rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2rem);
    line-height: 1.08;
  }

  p,
  li {
    overflow-wrap: break-word;
  }

  a,
  .text-link {
    overflow-wrap: anywhere;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-actions .button,
  .cta-actions .button {
    justify-content: center;
  }

  .contact-card,
  .form-card,
  .feature-card,
  .product-card,
  .service-card,
  .sector-card,
  .team-card,
  .assurance-card,
  .detail-panel,
  .cta-panel {
    padding: 20px;
  }
}

