/* ==========================================================================
   Addady Landing — v2 "night sky over daylight" design
   Dark navy header/hero/footer framing light content sections.
   Hand-written CSS, no build step. RTL via logical properties.
   Colour, type, and motion follow addady-docs/brand/identity.md.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --navy: #0b1220;
  --navy-2: #101a30; /* raised surfaces on navy */
  --ink: #1e293b;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg: #f8fafc;
  --surface: #ffffff;
  --primary: #1c5cf2;
  --primary-dark: #1649c2;
  --primary-tint: #93b4fb; /* text-safe brand blue on navy grounds */
  --primary-soft: #eef3fe;
  --accent: #10b981; /* fills, icons, indicators only — never body text on light */
  --accent-tint: #34d399;
  --accent-soft: #ecfdf5;
  --accent-deep: #047857; /* text-safe green on light grounds */
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --warn: #ea580c;
  --warn-soft: #fff7ed;
  --warn-deep: #b45309;
  --purple: #7c3aed;
  --purple-soft: #f5f3ff;
  --amber-dot: #f59e0b;

  /* Utility types (identity.md §2) — never used for actions */
  --electric: #f59e0b;
  --gas: #e65100;
  --water: #0277bd;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cairo', ui-monospace, monospace;
  --text-hero: clamp(2.5rem, 6vw, 4.25rem);
  --text-h2: clamp(1.875rem, 3.5vw, 2.5rem);
  --text-h3: 1.25rem;

  /* Shape & depth */
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-panel: 2.5rem;
  --shadow-card: 0 1px 3px rgba(11, 18, 32, 0.06);
  --shadow-lift: 0 12px 32px -12px rgba(11, 18, 32, 0.14);
  --shadow-btn: 0 8px 20px -8px rgba(28, 92, 242, 0.5);
  --shadow-float: 0 16px 40px -12px rgba(11, 18, 32, 0.25);

  /* Layout */
  --container: 72rem;
  --header-h: 4.5rem;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang='ar'] body {
  font-family: var(--font-arabic);
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.15;
  font-weight: 800;
}

/* Cairo's diacritics (shadda, damma) sit high above the x-height. The Latin
   line-height clips or collides them at display sizes, so Arabic headings
   always get extra leading. */
html[lang='ar'] h1,
html[lang='ar'] h2,
html[lang='ar'] h3,
html[lang='ar'] h4 {
  line-height: 1.5;
}

::selection {
  background: rgba(28, 92, 242, 0.18);
  color: var(--primary-dark);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.icon-sm {
  width: 1.125rem;
  height: 1.125rem;
}

/* Meter readings, meter ids, confidence — data, not prose (identity.md §3) */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.hidden {
  display: none !important;
}

/* Language visibility */
[lang='en'] [data-lang-show='ar'],
[lang='ar'] [data-lang-show='en'] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 5rem;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  margin-block-end: 4rem;
}

.eyebrow {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-block-end: 0.75rem;
}

html[lang='ar'] .eyebrow {
  font-family: var(--font-arabic);
  font-size: 0.9375rem;
  letter-spacing: 0; /* Arabic is never letter-spaced */
}

.section-title {
  font-size: var(--text-h2);
  margin-block-end: 1rem;
}

.section-sub {
  color: var(--slate-600);
  font-size: 1.125rem;
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 1.5rem;
}

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

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

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

/* --------------------------------------------------------------------------
   4. Components
   -------------------------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-md);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

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

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

/* Ghost button for dark grounds */
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

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

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Coming-soon pill — sits on dark grounds (header, hero) */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

html[lang='ar'] .pill {
  letter-spacing: 0;
}

.pill::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--amber-dot);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.card:hover {
  border-color: rgba(28, 92, 242, 0.4);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.card h3 {
  font-size: var(--text-h3);
  margin-block-end: 0.625rem;
}

.card p {
  color: var(--slate-500);
}

.card-link {
  display: flex;
  flex-direction: column;
}

.card-link p {
  margin-block-end: 1.25rem;
}

.card-link .link-arrow {
  margin-block-start: auto;
  font-size: 0.9375rem;
}

/* Icon tiles */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-lg);
  margin-block-end: 1.25rem;
}

.tile-danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.tile-warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.tile-primary {
  background: var(--primary-soft);
  color: var(--primary);
}

.tile-accent {
  background: var(--accent-soft);
  color: var(--accent);
}

.tile-purple {
  background: var(--purple-soft);
  color: var(--purple);
}

.tile-on-dark {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Store badges (non-interactive, pre-launch) */
.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-badges img {
  height: 2.75rem;
  width: auto;
}

.store-badges.is-soon img {
  opacity: 0.75;
}

.store-note {
  color: var(--slate-400);
  font-size: 0.875rem;
  text-align: center;
}

/* Arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  transition: gap 0.2s ease;
}

.link-arrow:hover {
  gap: 0.75rem;
}

[dir='rtl'] .icon-arrow {
  transform: scaleX(-1);
}

/* Utility-type colours (identity.md §2) — light grounds */
.meter-elec {
  color: var(--electric);
}

.meter-water {
  color: var(--water);
}

.meter-gas {
  color: var(--gas);
}

/* Giant background watermark of the brand mark on dark sections */
.hero-mark-bg,
.dark-mark-bg,
.cta-mark-bg {
  position: absolute;
  width: 42rem;
  height: 42rem;
  opacity: 0.05;
  stroke: none;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Header — navy, matching the hero
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

/* The mark carries its own colours on every ground — it is not plated or
   reversed. Hover indexes one blade (60° step), the mark's only honest
   motion. See addady-docs/brand/identity.md §1, §5. */
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

.brand-glyph {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  stroke: none;
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.brand:hover .brand-glyph {
  transform: rotate(60deg);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

html[lang='ar'] .brand-name {
  letter-spacing: 0;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-300);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #fff;
}

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

.header-actions .pill {
  display: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-300);
  transition: background-color 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-divider {
  opacity: 0.3;
}

.menu-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--slate-300);
}

.mobile-menu {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
}

.mobile-menu a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-300);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: #fff;
}

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

  .menu-btn {
    display: none;
  }
}

@media (min-width: 640px) {
  .header-actions .pill {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   6. Hero — navy night sky
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: 4rem 3.5rem;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(50rem 34rem at 80% -10%, rgba(28, 92, 242, 0.28), transparent 62%),
    radial-gradient(40rem 30rem at 5% 100%, rgba(16, 185, 129, 0.12), transparent 60%), var(--navy);
}

.hero-mark-bg {
  top: -12rem;
  inset-inline-end: -14rem;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.hero-title {
  color: #fff;
  font-size: var(--text-hero);
  font-weight: 900;
  letter-spacing: -0.02em;
}

html[lang='ar'] .hero-title {
  letter-spacing: 0;
  line-height: 1.4;
}

/* Both stops pass contrast for large text on navy (identity.md §2) */
.text-gradient {
  background-image: linear-gradient(to right, var(--primary-tint), var(--accent-tint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[dir='rtl'] .text-gradient {
  background-image: linear-gradient(to left, var(--primary-tint), var(--accent-tint));
}

.hero-sub {
  color: var(--slate-400);
  font-size: 1.125rem;
  max-width: 36rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

.hero-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  padding-block-start: 0.5rem;
}

.launch-line {
  color: var(--primary-tint);
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(30rem, 100%);
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(28, 92, 242, 0.35) 0%,
    rgba(16, 185, 129, 0.14) 45%,
    transparent 70%
  );
  z-index: 0;
}

.phone-frame {
  position: relative;
  width: min(20rem, 78vw);
  background: var(--navy);
  border: 10px solid #1e293b;
  border-radius: 2.75rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 60px -16px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.phone-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* App-screen carousel inside the phone frame */
.app-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 2.125rem;
}

.app-carousel::-webkit-scrollbar {
  display: none;
}

.app-carousel img {
  width: 100%;
  height: auto;
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-block-start: 1.25rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  transition:
    background-color 0.2s ease,
    width 0.2s ease;
}

.carousel-dot.is-active {
  background: var(--primary-tint);
  width: 1.25rem;
}

/* Floating proof cards over the phone */
.float-card {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-float);
  font-size: 0.875rem;
  color: var(--ink);
}

.float-card strong {
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.float-verified {
  top: 12%;
  inset-inline-end: 0;
}

.float-fraud {
  bottom: 7.5%;
  inset-inline-start: 0;
}

.float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.float-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.float-icon-green {
  background: var(--accent-soft);
  color: var(--accent);
}

.float-icon-blue {
  background: var(--primary-soft);
  color: var(--primary);
}

.float-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.float-data {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--slate-500);
  font-size: 0.8125rem;
}

.float-dot {
  opacity: 0.5;
}

/* Trust chips strip */
.hero-chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-block-start: 3.5rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--slate-300);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-chip .icon {
  color: var(--primary-tint);
}

@media (min-width: 1024px) {
  .hero {
    padding-block: 6rem 4rem;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-copy {
    align-items: flex-start;
    text-align: start;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-launch {
    align-items: flex-start;
  }

  .hero-launch .store-note {
    text-align: start;
  }
}

/* --------------------------------------------------------------------------
   7. How it works — verification pipeline
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 2.5rem;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--surface);
  border: 4px solid var(--slate-100);
  border-radius: 9999px;
  box-shadow: var(--shadow-lift);
  margin-block-end: 1.5rem;
  color: var(--primary);
}

.step-icon .icon {
  width: 2rem;
  height: 2rem;
}

/* Hexagonal step number — the mark's geometry */
.step-num {
  position: absolute;
  top: -0.625rem;
  inset-inline-end: -0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  clip-path: polygon(25% 3%, 75% 3%, 98% 50%, 75% 97%, 25% 97%, 2% 50%);
}

.step h3 {
  font-size: 1.125rem;
  margin-block-end: 0.5rem;
}

.step p {
  color: var(--slate-500);
  font-size: 0.9375rem;
  max-width: 16rem;
}

@media (min-width: 640px) {
  .steps-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .steps-5::before {
    content: '';
    position: absolute;
    top: 2.75rem;
    inset-inline: 8%;
    border-top: 2px dashed var(--slate-200);
  }

  .step {
    position: relative;
  }
}

/* --------------------------------------------------------------------------
   8. Households — features bento
   -------------------------------------------------------------------------- */
.bento {
  display: grid;
  gap: 1.25rem;
}

.bento-main {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  border-radius: var(--r-xl);
  padding: 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.bento-main h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-block-end: 0.625rem;
}

.bento-main > div > p {
  color: rgba(255, 255, 255, 0.85);
}

.meter-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  padding: 1.25rem;
}

.meter-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: 0.875rem 1rem;
  font-weight: 600;
}

.meter-row .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Utility colours lifted for the deep-blue ground */
.bento-main .meter-elec {
  color: #fbbf24;
}

.bento-main .meter-water {
  color: #7dd3fc;
}

.bento-main .meter-gas {
  color: #fdba74;
}

.meter-val {
  margin-inline-start: auto;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  direction: ltr;
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-main,
  .bento-wide {
    grid-column: span 2;
  }
}

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

  .bento-main {
    grid-column: span 2;
    grid-row: span 2;
  }

  .bento-wide {
    grid-column: span 2;
  }
}

/* --------------------------------------------------------------------------
   9. Utilities — dark B2B section
   -------------------------------------------------------------------------- */
.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(48rem 30rem at 85% 0%, rgba(28, 92, 242, 0.22), transparent 65%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(16, 185, 129, 0.1), transparent 60%), var(--navy);
}

.dark-mark-bg {
  bottom: -14rem;
  inset-inline-start: -12rem;
}

.section-dark .container {
  position: relative;
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-sub {
  color: var(--slate-400);
}

/* On navy, brand blue fails AA for text — use the tint (identity.md §2) */
.eyebrow-on-dark {
  color: var(--primary-tint);
}

.ut-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

/* Dashboard mock — a light product surface on the navy ground */
.dash {
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  max-width: 30rem;
  width: 100%;
  margin-inline: auto;
}

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
}

.dash-mark {
  width: 1.375rem;
  height: 1.375rem;
  stroke: none;
}

.dash-scope {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* Holding-company scope: roll-up tab + one tab per subsidiary */
.dash-tabs {
  display: flex;
  gap: 0.375rem;
  padding: 0.875rem 1.25rem 0;
  flex-wrap: wrap;
}

.dash-tab {
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--slate-200);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-500);
  white-space: nowrap;
}

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

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1.25rem;
}

.dash-stat {
  background: var(--bg);
  border: 1px solid var(--slate-100);
  border-radius: var(--r-md);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.dash-stat-num {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.dash-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-rows {
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem 1.25rem;
  gap: 0.5rem;
}

.dash-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--slate-100);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-600);
}

.dash-row .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.dash-reading {
  margin-inline-start: auto;
  color: var(--navy);
}

.dash-chip {
  padding: 0.1875rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chip-ok {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.chip-flag {
  background: var(--warn-soft);
  color: var(--warn-deep);
}

/* Provider feature list */
.ut-features {
  display: grid;
  gap: 1.75rem;
}

.ut-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  background: rgba(147, 180, 251, 0.14);
  color: var(--primary-tint);
  flex-shrink: 0;
}

.ut-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.ut-features h3 {
  color: #fff;
  font-size: 1.0625rem;
  margin-block-end: 0.25rem;
}

.ut-features p {
  color: var(--slate-400);
  font-size: 0.9375rem;
}

.ut-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-block-start: 4rem;
  text-align: center;
}

.ut-cta > p {
  color: var(--slate-400);
  font-size: 1.125rem;
}

.ut-email {
  color: var(--primary-tint);
  font-size: 0.9375rem;
  font-weight: 500;
}

.ut-email:hover {
  text-decoration: underline;
}

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

@media (min-width: 1024px) {
  .ut-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

/* --------------------------------------------------------------------------
   10. Business
   -------------------------------------------------------------------------- */
.biz-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-block-start: 3rem;
  text-align: center;
  color: var(--slate-600);
  font-size: 1.0625rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. Trust strip
   -------------------------------------------------------------------------- */
.trust-section {
  padding-block: 3.5rem;
  border-block: 1px solid var(--slate-200);
}

.trust-title {
  text-align: center;
  font-size: 1.25rem;
  margin-block-end: 2.5rem;
}

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

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.trust-item > .icon {
  color: var(--primary);
  margin-block-start: 0.125rem;
}

.trust-item h3 {
  font-size: 1rem;
  margin-block-end: 0.25rem;
}

.trust-item p {
  color: var(--slate-500);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 48rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(28, 92, 242, 0.35);
  box-shadow: var(--shadow-lift);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
}

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

.faq-chevron {
  color: var(--slate-400);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  color: var(--slate-600);
  margin-block-start: 0.875rem;
}

/* --------------------------------------------------------------------------
   13. CTA
   -------------------------------------------------------------------------- */
.cta-section {
  padding-block: 2rem 5rem;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(40rem 40rem at 50% 120%, rgba(28, 92, 242, 0.35), transparent 65%), var(--navy);
  border-radius: var(--r-panel);
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
  text-align: center;
}

.cta-mark-bg {
  top: -10rem;
  inset-inline-start: -10rem;
  width: 30rem;
  height: 30rem;
}

.cta-content {
  position: relative;
  max-width: 38rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-content h2 {
  color: #fff;
  font-size: var(--text-h2);
}

.cta-content > p {
  color: var(--slate-400);
  font-size: 1.125rem;
}

.cta-content .store-note {
  color: var(--slate-400);
}

.cta-divider {
  width: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-block: 0.5rem;
}

.cta-b2b-lead {
  color: var(--primary-tint);
  font-size: 1rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Footer — navy, closing the frame
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 4rem 2rem;
  color: var(--slate-400);
}

.footer-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  margin-block-end: 3rem;
}

.footer-brand .brand {
  margin-block-end: 1rem;
}

.footer-brand .brand-mark {
  width: 2rem;
  height: 2rem;
}

.footer-brand .brand-glyph {
  width: 1.75rem;
  height: 1.75rem;
}

.footer-tagline {
  color: var(--slate-400);
  font-size: 0.9375rem;
  max-width: 20rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-block-end: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  color: var(--slate-400);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-tint);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block-start: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--slate-500);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
  }
}
