/* ============================================================================
   Aditus Pay Landing Page: Brand Stylesheet
   Two themes, one set of tokens, mapped from the Aditus design system
   (aditus/packages/ui/src/tokens/tokens.css). Light (default) is the Aditus
   warm-neutral off-white with the logo blue #105070 as the action colour.
   Dark is the Aditus black with the brand text blue #7DB8DC.
   Gold #D0A020 is the logo's dot and nothing else: never text, never a state.
   Red #F03030 is the "Pay" of the wordmark and nothing else.
   The token names (--gold, --on-gold, --gold-pale) are kept from the earlier
   site so every rule keeps working: "gold" here means the brand fill.
   Contrast is checked by tests/contrast-check.js.
   ============================================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  color-scheme: light dark;

  /* Brand colours. --gold is the brand action fill (historical name). */
  --gold: #105070;
  --gold-light: #1B7BA8;
  --on-gold: #FFFFFF;
  --brand-deep: #0A3A52;
  --brand-sky: #105070;
  --brand-line: #1B7BA8;
  --brand-dot: #D0A020;
  --brand-red: #F03030;
  --danger: #B42E1C;

  /* LIGHT THEME (default): Aditus warm-neutral off-white, logo blue accents. */
  --bg: #FBFAF8;
  --bg-alt: #F3F2EE;
  --bg-raised: #EBE9E4;
  --hero-bg: linear-gradient(170deg, #FBFAF8 0%, #F1F3F3 48%, #E2ECF1 100%);
  --text: #17181B;
  --text-muted: #46474D;
  --text-faint: #56575D;
  --accent-text: #105070;
  --accent-text-hover: #0A3A52;
  --text-grad: linear-gradient(135deg, #0A3A52 0%, #105070 100%);
  --surface: rgba(255, 255, 255, 0.78);
  --border: rgba(16, 80, 112, 0.14);
  --border-strong: rgba(16, 80, 112, 0.7);
  --accent-tint: rgba(16, 80, 112, 0.07);
  --gold-pale: rgba(16, 80, 112, 0.12);
  --accent-border-strong: #1B7BA8;
  --operator-accent: #1B7BA8;
  --success-text: #0F7245;
  --nav-bg: rgba(251, 250, 248, 0.92);
  --nav-menu-bg: rgba(251, 250, 248, 0.98);
  --card-shadow: 0 6px 20px rgba(28, 25, 20, 0.08);
  --phone-drop: drop-shadow(0 18px 28px rgba(10, 58, 82, 0.28));
  --ig-stroke: rgba(16, 80, 112, 0.28);
  --ig-live-bg: rgba(15, 114, 69, 0.10);
  --ig-soon-bg: rgba(16, 80, 112, 0.10);
  --focus-ring: #1B7BA8;
  /* Brand tints for chips, hovers and glows (were gold rgba literals). */
  --brand-tint: rgba(16, 80, 112, 0.10);
  --brand-tint-strong: rgba(16, 80, 112, 0.34);
  /* Infographic tokens (used by the inline SVGs) */
  --ig-card: #FFFFFF;
  --ig-line: #1B7BA8;
  --ig-muted: #46474D;

  /* Typography */
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* Spacing */
  --section-pad: 100px 0;
  --container-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* DARK THEME: the Aditus black. Follows the device unless the visitor
   picked a theme with the header toggle (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    /* Brand fill in dark: the Aditus brand text colour, carrying dark ink. */
    --gold: #7DB8DC;
    --gold-light: #A6CFE8;
    --on-gold: #050608;
    --bg: #050608;
    --bg-alt: #0A0D12;
    --bg-raised: #111418;
    --hero-bg: linear-gradient(145deg, #050608 0%, #0A1820 50%, #050608 100%);
    --text: #F2F3F5;
    --text-muted: #A3A9B2;
    --text-faint: #9198A2;
    --accent-text: #7DB8DC;
    --accent-text-hover: #A6CFE8;
    --text-grad: linear-gradient(135deg, #7DB8DC 0%, #A6CFE8 100%);
    --surface: rgba(17, 20, 24, 0.72);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.42);
    --accent-tint: rgba(125, 184, 220, 0.08);
    --gold-pale: rgba(125, 184, 220, 0.15);
    --accent-border-strong: rgba(125, 184, 220, 0.42);
    --operator-accent: rgba(125, 184, 220, 0.45);
    --success-text: #3CBF84;
    --nav-bg: rgba(5, 6, 8, 0.92);
    --nav-menu-bg: rgba(5, 6, 8, 0.98);
    --card-shadow: none;
    --phone-drop: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 36px rgba(125, 184, 220, 0.10));
    --ig-stroke: rgba(255, 255, 255, 0.16);
    --ig-live-bg: rgba(60, 191, 132, 0.12);
    --ig-soon-bg: rgba(125, 184, 220, 0.14);
    --focus-ring: #4C9FCB;
    --brand-tint: rgba(125, 184, 220, 0.14);
    --brand-tint-strong: rgba(125, 184, 220, 0.42);
    /* Infographic tokens (used by the inline SVGs) */
    --ig-card: #111418;
    --ig-line: #7DB8DC;
    --ig-muted: #A3A9B2;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  /* Brand fill in dark: the Aditus brand text colour, carrying dark ink. */
  --gold: #7DB8DC;
  --gold-light: #A6CFE8;
  --on-gold: #050608;
  --bg: #050608;
  --bg-alt: #0A0D12;
  --bg-raised: #111418;
  --hero-bg: linear-gradient(145deg, #050608 0%, #0A1820 50%, #050608 100%);
  --text: #F2F3F5;
  --text-muted: #A3A9B2;
  --text-faint: #9198A2;
  --accent-text: #7DB8DC;
  --accent-text-hover: #A6CFE8;
  --text-grad: linear-gradient(135deg, #7DB8DC 0%, #A6CFE8 100%);
  --surface: rgba(17, 20, 24, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.42);
  --accent-tint: rgba(125, 184, 220, 0.08);
  --gold-pale: rgba(125, 184, 220, 0.15);
  --accent-border-strong: rgba(125, 184, 220, 0.42);
  --operator-accent: rgba(125, 184, 220, 0.45);
  --success-text: #3CBF84;
  --nav-bg: rgba(5, 6, 8, 0.92);
  --nav-menu-bg: rgba(5, 6, 8, 0.98);
  --card-shadow: none;
  --phone-drop: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 36px rgba(125, 184, 220, 0.10));
  --ig-stroke: rgba(255, 255, 255, 0.16);
  --ig-live-bg: rgba(60, 191, 132, 0.12);
  --ig-soon-bg: rgba(125, 184, 220, 0.14);
  --focus-ring: #4C9FCB;
  --brand-tint: rgba(125, 184, 220, 0.14);
  --brand-tint-strong: rgba(125, 184, 220, 0.42);
  /* Infographic tokens (used by the inline SVGs) */
  --ig-card: #111418;
  --ig-line: #7DB8DC;
  --ig-muted: #A3A9B2;
}

:root[data-theme="light"] {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.text-muted {
  color: var(--text-muted);
}

.text-gradient {
  background: var(--text-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Skip-to-content link: hidden until focused */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  border-radius: 0 0 8px 0;
  transition: top 0.15s;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Footer brand logo image */
.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--on-gold);
  box-shadow: 0 4px 16px rgba(27, 123, 168, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(27, 123, 168, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}

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

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  box-shadow: var(--card-shadow);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.3s var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Section Heading ---------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-label span {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-text);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ============================================================================
   NAVBAR
   ============================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s var(--ease);
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-brand img {
  width: 36px;
  height: 36px;
}

/* The Aditus lockup: "Aditus" in the text colour, then "Pay" in the brand red.
   The red belongs to the wordmark only: never a state, never body text. */
.wordmark {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.wordmark-suffix {
  color: var(--brand-red);
  margin-left: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--hero-bg);
  overflow: hidden;
}


.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}


.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Phone mockup area */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* The hero drawing (an inline SVG from scripts/build_infographics.py). */
.hero-illustration {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  filter: var(--phone-drop);
}

.app-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-demo-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  filter: var(--phone-drop);
}

/* ============================================================================
   FEATURES
   ============================================================================ */
.features {
  padding: var(--section-pad);
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */
.how-it-works {
  padding: var(--section-pad);
  background: linear-gradient(180deg,
      var(--bg) 0%,
      var(--bg-alt) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(27, 123, 168, 0.3),
      rgba(27, 123, 168, 0.3),
      transparent);
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gold-pale);
  border: 2px solid rgba(27, 123, 168, 0.3);
  color: var(--accent-text);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================================
   CTA BANNER
   ============================================================================ */
.cta-banner {
  padding: 80px 0;
  background: var(--bg);
}

.cta-inner {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-raised) 100%);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}

.cta-inner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-inner .btn {
  position: relative;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
  padding: 64px 0 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--accent-text);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-credit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-credit a {
  color: var(--accent-text);
  font-weight: 600;
  transition: color 0.2s, opacity 0.2s;
}

.footer-credit a:hover {
  color: var(--accent-text-hover);
  opacity: 0.85;
}


/* ============================================================================
   BREADCRUMB NAVIGATION
   ============================================================================ */
.breadcrumb {
  padding: 100px 0 0;
  background: transparent;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 0;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li::after {
  content: "›";
  color: var(--text-faint);
  font-size: 1rem;
}

.breadcrumb-list li:last-child::after {
  content: "";
}

.breadcrumb-list li:last-child {
  color: var(--text);
  font-weight: 500;
}

.breadcrumb-list a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.breadcrumb-list a:hover {
  color: var(--accent-text);
}

/* ============================================================================
   ABOUT PAGE: MISSION, TEAM, STORY
   ============================================================================ */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(145deg, var(--bg) 0%, var(--bg-alt) 100%);
  text-align: center;
}

/* When breadcrumb precedes page-hero, reduce top padding */
.breadcrumb+.page-hero {
  padding-top: 40px;
}

.page-hero .hero-title {
  max-width: 700px;
  margin: 0 auto 16px;
}

.page-hero .hero-subtitle {
  max-width: 560px;
  margin: 0 auto;
}

/* Story / Mission section */
.story {
  padding: var(--section-pad);
  background: var(--bg);
}


.story-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.story-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Values */
.values {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ============================================================================
   PRICING PAGE
   ============================================================================ */
.pricing-cards {
  padding: var(--section-pad);
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: rgba(27, 123, 168, 0.3);
  box-shadow: 0 0 40px rgba(27, 123, 168, 0.08);
}

.pricing-card.featured::before {
  content: "Popular";
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 36px;
  transform: rotate(45deg);
  text-transform: uppercase;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-text);
  margin: 16px 0 8px;
}

.pricing-card .price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card .plan-name {
  font-size: 1.3rem;
  font-weight: 700;
}

.pricing-list {
  margin-bottom: 28px;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-list li .check {
  color: var(--success-text);
  font-weight: bold;
}

/* Fee breakdown table section */
.fee-breakdown {
  padding: 0 0 100px;
  background: var(--bg);
}

.fee-table-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.fee-table th,
.fee-table td {
  text-align: left;
  padding: 16px 20px;
  font-size: 0.95rem;
}

.fee-table thead th {
  background: rgba(27, 123, 168, 0.08);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
}

.fee-table tbody td {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.fee-table tbody tr:hover td {
  color: var(--text);
  background: var(--accent-tint);
}

/* FAQ */
.faq {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: all 0.2s;
  cursor: pointer;
}

.faq-question:hover {
  border-color: rgba(27, 123, 168, 0.2);
}

.faq-question .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease);
  color: var(--accent-text);
}

.faq-item.open .faq-question {
  border-radius: 14px 14px 0 0;
  border-color: rgba(27, 123, 168, 0.2);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  background: var(--surface);
  border: 1px solid rgba(27, 123, 168, 0.2);
  border-top: none;
  border-radius: 0 0 14px 14px;
}

.faq-answer-inner {
  padding: 20px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */
.contact-section {
  padding: var(--section-pad);
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  flex-direction: column;
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-item a {
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-text);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--nav-menu-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 80px 24px;
    z-index: 999;
  }

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

  .nav-links a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-cta {
    display: none;
  }

  .features-grid,
  .values-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-inner {
    padding: 40px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

}

/* ============================================================================
   LEGAL PAGES (Terms, Privacy)
   ============================================================================ */
.legal-content {
  padding: 60px 0 100px;
  background: var(--bg);
}

.legal-body {
  max-width: 720px;
  margin: 0 auto;
}

.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 40px 0 12px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.legal-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-body ul {
  margin: 8px 0 16px 20px;
  list-style: disc;
}

.legal-body ol {
  margin: 8px 0 16px 22px;
  list-style: decimal;
}

.legal-body ul li,
.legal-body ol li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 2px 0;
}

.legal-body a {
  color: var(--accent-text);
}

/* ============================================================================
   CHANNELS SECTION
   ============================================================================ */
.channel-coverage {
  padding: var(--section-pad);
  background: var(--bg-alt);
}

.channel-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(27, 123, 168, 0.08);
  border: 1.5px solid rgba(27, 123, 168, 0.25);
  color: var(--accent-text);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s var(--ease);
}

.channel-chip:hover {
  background: rgba(27, 123, 168, 0.15);
  border-color: rgba(27, 123, 168, 0.5);
  transform: translateY(-2px);
}

/* ============================================================================
   PRICING CALLOUT (Homepage)
   ============================================================================ */
.pricing-callout {
  padding: 0 0 20px;
  background: var(--bg);
}

.pricing-callout-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 28px 36px;
  background: rgba(27, 123, 168, 0.06);
  border: 1.5px solid rgba(27, 123, 168, 0.2);
  border-radius: 16px;
}

.pricing-callout-inner p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.pricing-callout-inner strong {
  color: var(--text);
}

.pricing-callout-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.pricing-callout-link:hover {
  color: var(--accent-text-hover);
}

/* ---------- Animations (on load) ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

.fade-up-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================================================
   HERO EYEBROW PILL
   ============================================================================ */
.hero-eyebrow {
  display: inline-flex;
  margin-bottom: 20px;
}

.hero-eyebrow span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(27, 123, 168, 0.1);
  border: 1px solid rgba(27, 123, 168, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-text);
}

/* ============================================================================
   MISSION / IMPACT SECTION
   ============================================================================ */
.mission-impact {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mission-block {
  background: var(--surface);
  box-shadow: var(--card-shadow);
  border-radius: 16px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent-border-strong);
  padding: 32px;
}

.mission-block.block-operator {
  border-top-color: var(--operator-accent);
}

.mission-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.mission-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.mission-bridge {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 640px;
  margin: 40px auto 0;
  line-height: 1.8;
}

/* ============================================================================
   WHO WE SERVE
   ============================================================================ */
.who-we-serve {
  padding: var(--section-pad);
  background: var(--bg-alt);
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.serve-card {
  background: var(--surface);
  box-shadow: var(--card-shadow);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.3s var(--ease);
}

.serve-card:hover {
  border-color: var(--border-strong);
}

.serve-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-text);
  margin-bottom: 10px;
}

.serve-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.serve-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.serve-card p:last-child {
  margin-bottom: 0;
}

.serve-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.serve-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(27, 123, 168, 0.08);
  border: 1px solid rgba(27, 123, 168, 0.2);
  color: var(--accent-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s var(--ease);
}

.serve-chip:hover {
  background: rgba(27, 123, 168, 0.14);
  border-color: rgba(27, 123, 168, 0.4);
}

.serve-cta {
  text-align: center;
}

/* Reusable flex row for CTA button groups */
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================================
   TWO-COLUMN GRID (about page and elsewhere)
   ============================================================================ */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* ============================================================================
   WHAT WE BUILD (about page)
   ============================================================================ */
.what-we-build {
  padding: var(--section-pad);
  background: var(--bg-alt);
}

/* ============================================================================
   FEATURES GRID: 7-CARD ORPHAN CENTERING
   ============================================================================ */
@media (min-width: 1025px) {
  .features-grid-7 .card:nth-child(7) {
    grid-column: 2 / 3;
  }
}

/* ============================================================================
   CHANNEL LIST (how customers reach Aditus Pay)
   ============================================================================ */
.channel-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  gap: 12px 24px;
  margin-top: 40px;
}

.channel-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.channel-abbr {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-text);
  white-space: nowrap;
  letter-spacing: 0.5px;
  min-width: 56px;
}

.channel-fullname {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================================
   TRUST SIGNALS
   ============================================================================ */
.trust-signals {
  padding: 40px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(27, 123, 168, 0.15);
  color: var(--accent-text);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================================================
   RESPONSIVE ADDITIONS
   ============================================================================ */
@media (max-width: 1024px) {
  .mission-grid,
  .two-col-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .channel-list {
    grid-template-columns: 1fr;
  }
}
/* Two-card pricing layout (customers + operators) */
@media (min-width: 1025px) {
  .pricing-grid.pricing-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Fee table: never push the page wider than the phone */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .fee-table th,
  .fee-table td {
    padding: 10px 8px;
    font-size: 0.8rem;
  }
}

/* Long select options must not widen the contact form on phones */
.contact-form select {
  max-width: 100%;
  min-width: 0;
}

/* Glossary rows: longer terms than the channel names */
.glossary .channel-abbr {
  min-width: 104px;
}

/* ============================================================================
   THEME TOGGLE, HEADER SIGN-IN, FOCUS
   ============================================================================ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 12px;
  border-radius: 12px;
  background: var(--accent-tint);
  border: 1px solid var(--border-strong);
  color: var(--accent-text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.theme-toggle[hidden] {
  display: none;
}

.theme-toggle:hover {
  background: var(--gold-pale);
}

/* The icon shows the theme you would switch TO: a moon in light, a sun in dark. */
.theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    display: block;
  }

  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    display: none;
  }
}

.nav-signin {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 4px;
}

.nav-signin:hover {
  color: var(--accent-text);
}

.nav-mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .nav-links a.nav-mobile-only {
    display: block;
  }

  .navbar .container {
    gap: 8px;
  }

  .nav-brand {
    margin-right: auto;
  }

  .theme-toggle {
    margin-left: 0;
  }
}

:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ============================================================================
   JOIN (customers and mini-grid companies)
   ============================================================================ */
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
  position: relative;
}

.join-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.join-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-inner .join-card p {
  margin: 0 0 20px;
  max-width: none;
  font-size: 0.98rem;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.join-actions .btn {
  white-space: normal;
  text-align: center;
}

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

  .join-card {
    padding: 22px;
  }

  .join-actions .btn {
    flex: 1 1 100%;
  }
}

/* ============================================================================
   APP SCREENS STRIP
   ============================================================================ */
.app-screens {
  padding: var(--section-pad);
  background: var(--bg-alt);
}

.screens-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
}

.screen-item {
  text-align: center;
}

.screen-item img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 16px;
  filter: var(--phone-drop);
}

.screen-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 250px;
  margin: 0 auto;
}

.screen-item strong {
  color: var(--text);
}

@media (max-width: 1024px) {
  .screens-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
}

@media (max-width: 480px) {
  .screen-item img {
    max-width: 200px;
  }

  .screens-strip {
    gap: 28px 14px;
  }
}

/* ============================================================================
   INFOGRAPHICS (inline SVG; built by scripts/build_infographics.py)
   ============================================================================ */
.infographic {
  margin: 0 auto 48px;
  max-width: 760px;
}

.infographic-narrow {
  max-width: 560px;
  margin-bottom: 8px;
}

.infographic svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ig-card { fill: var(--ig-card); stroke: var(--ig-stroke); stroke-width: 1.5; }
.ig-t { fill: var(--text); font-weight: 700; }
.ig-s { fill: var(--text-muted); font-weight: 500; }
.ig-gold { fill: var(--gold); }
.ig-ink { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ig-inkf { fill: var(--text); }
.ig-line { fill: none; stroke: var(--ig-line); stroke-width: 3; stroke-linecap: round; }
.ig-dash { fill: none; stroke: var(--ig-stroke); stroke-width: 2; stroke-dasharray: 4 6; }
.ig-head { fill: var(--ig-line); }
.ig-numt { fill: var(--on-gold); font-weight: 800; }
.ig-live { fill: var(--ig-live-bg); }
.ig-livet { fill: var(--success-text); font-weight: 700; }
.ig-soon { fill: var(--ig-soon-bg); }
.ig-soont { fill: var(--accent-text); font-weight: 700; }

.money-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.money-flow .infographic {
  margin: 0;
  max-width: 480px;
  width: 100%;
  justify-self: center;
}

.money-flow-text h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.flow-steps {
  list-style: none;
  counter-reset: flow;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flow-steps li {
  counter-increment: flow;
  position: relative;
  padding-left: 42px;
  color: var(--text-muted);
  line-height: 1.6;
}

.flow-steps li::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.soon-tag {
  font-weight: 700;
  color: var(--accent-text);
}

@media (max-width: 1024px) {
  .money-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .infographic {
    margin-left: -8px;
    margin-right: -8px;
  }
}

/* The how-it-works graphic carries the big numbered steps, so the cards below it
   show a small number instead of a second row of large circles. */
.infographic + .steps::before {
  display: none;
}

.infographic + .steps .step-number {
  width: 34px;
  height: 34px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.section-header .section-label {
  justify-content: center;
}

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

.join-actions {
  margin-top: auto;
}

/* Phones: the words first, then a smaller phone picture. */
@media (max-width: 768px) {
  .hero-visual {
    order: 0;
  }

  .hero-demo-img {
    max-width: 250px;
  }
}

/* Wide and phone versions of the how-it-works graphic. */
.infographic .ig-compact {
  display: none;
}

@media (max-width: 600px) {
  .infographic .ig-wide {
    display: none;
  }

  .infographic .ig-compact {
    display: block;
    max-width: 360px;
    margin: 0 auto;
  }
}


/* ============================================================================
   INTERACTIVE PHONE (hero): tap the phone's own buttons to change the screen.
   Hotspot positions are percentages of the screenshot, measured from the
   images in images/app/ (all share one 640 x 1390 frame).
   ============================================================================ */
.phone-demo {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 320px;
  line-height: 0;
}
.phone-demo .hero-demo-img {
  display: block;
  transition: opacity 0.18s ease;
}
.phone-demo.is-switching .hero-demo-img { opacity: 0.25; }
.phone-hotspots { position: absolute; inset: 0; }
.hotspot {
  position: absolute;
  background: transparent;
  border: 0;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}
.hotspot:hover { background: rgba(27, 123, 168, 0.18); }
.hotspot:focus-visible { outline: 3px solid var(--focus-ring, #1B7BA8); outline-offset: 2px; }
.hotspot.tab { top: 87.5%; height: 8.5%; width: 19.1%; }
.hotspot.tab-1 { left: 2.2%; }
.hotspot.tab-2 { left: 21.3%; }
.hotspot.tab-3 { left: 40.4%; }
.hotspot.tab-4 { left: 59.6%; }
.hotspot.pay { left: 7%; width: 86%; top: 85.9%; height: 6.1%; display: none; }
/* Which spots exist depends on the screen shown. */
.phone-demo[data-screen="buy"] .hotspot.tab { display: none; }
.phone-demo[data-screen="buy"] .hotspot.pay { display: block; }
.phone-demo:not(.was-tapped) .hotspot.tab-2 {
  animation: hotspot-hint 2.4s ease-in-out 1.2s 2;
}
@keyframes hotspot-hint {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27, 123, 168, 0); }
  50% { box-shadow: 0 0 0 6px rgba(27, 123, 168, 0.55); }
}
.phone-demo-nav { width: 100%; max-width: 360px; margin: 14px auto 0; text-align: center; }
.phone-demo-hint { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 8px; line-height: 1.4; }
.phone-demo-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.phone-demo-pills .pill {
  font: inherit;
  font-size: 0.85rem;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface, transparent);
  color: var(--text);
  cursor: pointer;
  min-height: 36px;
}
.phone-demo-pills .pill[aria-pressed="true"] {
  background: var(--gold, #105070);
  border-color: var(--gold, #105070);
  color: var(--on-gold, #FFFFFF);
  font-weight: 600;
}
.phone-demo-pills .pill:focus-visible { outline: 3px solid var(--focus-ring, #1B7BA8); outline-offset: 2px; }
.hero-visual { flex-direction: column; }
@media (prefers-reduced-motion: reduce) {
  .phone-demo .hero-demo-img { transition: none; }
  .phone-demo:not(.was-tapped) .hotspot.tab-2 { animation: none; }
}
@media (max-width: 768px) {
  .phone-demo { max-width: 250px; }
}

/* Pricing page: the label sits centred over the page title. */
.pricing-tbc {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

