/* ==========================================================================
   Waycon — Landing Page
   Design system: "Obsidian Telemetry" (Stitch export / DESIGN.md)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg: #08080b;
  --surface-base: #09090b;
  --surface-raised: #0d0d11;
  --surface-card: rgba(23, 23, 29, 0.65);
  --surface-card-solid: #17171d;
  --surface-elevated: #1a1a23;
  --surface-glass: rgba(255, 255, 255, 0.05);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-active: rgba(255, 255, 255, 0.2);

  /* Text */
  --text-primary: #ffffff;
  --text-body: #f3f4f6;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dim: #52525b;

  /* Accent semaphore — restricted use */
  --brand: #6366f1;          /* ambient indigo glow only */
  --status-live: #10b981;    /* live / success only */
  --status-alert: #ef4444;   /* danger / emergency only */
  --accent-blue: #60a5fa;
  --accent-purple: #c084fc;
  --accent-amber: #fbbf24;

  /* Typography */
  --font-display: "Outfit", system-ui, -apple-system, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Radii */
  --r-sm: 0.5rem;
  --r-md: 1rem;
  --r-lg: 1.5rem;
  --r-xl: 2rem;
  --r-full: 9999px;

  /* Layout */
  --container: 80rem;
  --gutter: 1.5rem;
  --header-offset: 6.5rem;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.2s;
  --t-base: 0.3s;

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: #ffffff;
  color: #000000;
}

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

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

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

h1, h2, h3, h4, p {
  margin: 0;
}

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

strong {
  font-weight: 600;
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
  border-radius: var(--r-full);
}

.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;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #272730; border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: #3f3f4e; }

/* --------------------------------------------------------------------------
   3. Typography utilities
   -------------------------------------------------------------------------- */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.text-gradient {
  color: transparent;
  background: linear-gradient(90deg, #ffffff 0%, #e4e4e7 50%, #71717a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-gradient--indigo {
  background: linear-gradient(90deg, #ffffff 0%, #e4e4e7 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-divider {
  border-top: 1px solid var(--border-default);
}

/* --------------------------------------------------------------------------
   5. Backdrop layers
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 600px at 85% 20%, rgba(99, 102, 241, 0.12), transparent 70%),
    radial-gradient(circle 700px at 15% 70%, rgba(139, 92, 246, 0.08), transparent 70%),
    radial-gradient(circle 800px at 50% 50%, rgba(20, 20, 30, 0.5), transparent 100%);
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* --------------------------------------------------------------------------
   6. Buttons & pills
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color var(--t-fast) ease,
    border-color var(--t-fast) ease,
    color var(--t-fast) ease,
    transform var(--t-fast) ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.btn--primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.05);
}
.btn--primary:hover { background: #e4e4e7; }

.btn--glass {
  background: rgba(24, 24, 27, 0.8);
  color: #d4d4d8;
  font-weight: 500;
  border: 1px solid var(--border-default);
}
.btn--glass:hover {
  background: #27272a;
  color: #ffffff;
  border-color: var(--border-active);
}

.btn--dark {
  background: #27272a;
  color: #ffffff;
  font-weight: 500;
}
.btn--dark:hover { background: #3f3f46; }

.btn--sm {
  min-height: 2.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.pill--live {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pill--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  white-space: normal;
  text-align: center;
}

/* Status dots */
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex: none;
}
.dot--sm { width: 0.375rem; height: 0.375rem; }
.dot--live   { background: #34d399; }
.dot--blue   { background: var(--accent-blue); }
.dot--alert  { background: var(--status-alert); }

.dot--pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.dot--ping  { position: relative; }
.dot--ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes ping {
  75%, 100% { transform: scale(2.4); opacity: 0; }
}

/* --------------------------------------------------------------------------
   7. Header — floating pill navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
  pointer-events: none;
  transition: top var(--t-base) ease;
}

.site-header.is-compact {
  top: 0.75rem;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--r-full);
  background: rgba(24, 24, 27, 0.7);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transition: border-color var(--t-base) ease, padding var(--t-base) ease;
}

.nav:hover { border-color: var(--border-active); }

.site-header.is-compact .nav {
  padding: 0.5rem 1rem;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  transition: transform var(--t-fast) ease;
}
.brand:hover .brand__mark { transform: scale(1.05); }

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.nav__links a { white-space: nowrap; transition: color var(--t-fast) ease; }
.nav__links a:hover,
.nav__links a[aria-current="true"] { color: var(--text-primary); }

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

.nav__cta { display: none; }

.nav__toggle {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-default);
}
.nav__toggle svg { width: 1.125rem; height: 1.125rem; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  top: 5.25rem;
  left: 1rem;
  right: 1rem;
  z-index: 49;
  padding: 0.75rem;
  border-radius: var(--r-lg);
  background: rgba(24, 24, 27, 0.92);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease-out-expo), transform var(--t-base) var(--ease-out-expo), visibility 0s linear var(--t-base);
}
.mobile-menu.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); }
.mobile-menu a svg { width: 1rem; height: 1rem; color: var(--text-dim); }
.mobile-menu__cta {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}
.mobile-menu__cta .btn { width: 100%; }

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

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__toggle,
  .mobile-menu { display: none; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 92vh;
  min-height: 92svh;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

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

.hero__tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__body {
  margin-block: auto;
  padding-block: 3rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 9vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  max-width: 64rem;
}

.hero__title strong {
  font-weight: 800;
}

.hero__lead {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-default);
  font-size: 0.8125rem;
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stats__value {
  color: var(--text-primary);
  font-weight: 600;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    font-size: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   9. Showcase — zigzag phone mockups
   -------------------------------------------------------------------------- */
.showcase {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-default);
  background: linear-gradient(to bottom, #08080b, #0d0d12, #08080b);
}

.section-head {
  padding-top: 6rem;
  padding-bottom: 4rem;
  text-align: center;
}

.section-head__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.section-head__title strong { font-weight: 700; }

.section-head__lead {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.showcase__rows {
  display: flex;
  flex-direction: column;
  gap: 7rem;
  padding-bottom: 9rem;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  scroll-margin-top: var(--header-offset);
}

.feature-row__card { order: 1; }
.feature-row__phone {
  order: 2;
  display: flex;
  justify-content: center;
}

@media (min-width: 640px) {
  .showcase__rows { gap: 10rem; }
}

@media (min-width: 1024px) {
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
  .feature-row__card { order: 1; }
  .feature-row__phone { order: 2; justify-content: flex-end; }

  .feature-row--flip .feature-row__card { order: 2; }
  .feature-row--flip .feature-row__phone { order: 1; justify-content: flex-start; }
}

/* Scroll fade */
.fade-scroll-row {
  opacity: 0.15;
  transform: translateY(35px) scale(0.97);
  filter: blur(1.5px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.55s var(--ease-out-expo),
    filter 0.55s var(--ease-out-expo);
  will-change: opacity, transform, filter;
}
.fade-scroll-row.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.fade-scroll-row.is-leaving {
  opacity: 0.2;
  transform: translateY(-25px) scale(0.98);
  filter: blur(1px);
}

/* Feature card */
.feature-card {
  padding: 2rem;
  border-radius: var(--r-lg);
  background: rgba(24, 24, 27, 0.8);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

@media (min-width: 640px) {
  .feature-card { padding: 2.5rem; }
}

.feature-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.feature-card__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.feature-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.feature-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.feature-card__title span {
  display: block;
  font-weight: 300;
  color: var(--text-secondary);
}

.feature-card__text {
  margin-top: 1rem;
  font-weight: 300;
  line-height: 1.65;
  color: #d4d4d8;
}

.feature-card__list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.feature-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.feature-card__list .dot { margin-top: 0.45rem; }

.feature-card__list--boxed li {
  align-items: center;
  padding: 0.5rem 0.625rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.feature-card__list--boxed svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.feature-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.feature-card__foot span:last-child { color: var(--text-muted); }
.feature-card__foot strong { font-weight: 600; }

/* Metric tiles inside cards */
.metrics {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.metrics--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metrics--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; text-align: center; }

.metric {
  padding: 0.875rem;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-default);
}
.metric__label { color: var(--text-muted); }
.metric__value {
  margin-top: 0.125rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}
.metrics--4 .metric { padding: 0.75rem 0.25rem; border-color: rgba(255, 255, 255, 0.05); }
.metrics--4 .metric__label { font-size: 0.625rem; }
.metrics--4 .metric__value { font-size: 1rem; }

/* Callout (emergency location) */
.callout {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.75rem;
  line-height: 1.5;
  color: #d4d4d8;
}
.callout__label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #f87171;
}

/* Accent variants */
.feature-card--live .feature-card__status { color: #34d399; }
.feature-card--live .feature-card__foot strong { color: #34d399; }

.feature-card--blue .feature-card__tag {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
}
.feature-card--blue .feature-card__status { color: var(--accent-blue); }
.feature-card--blue .feature-card__title span { color: #93c5fd; }
.feature-card--blue .feature-card__foot strong { color: var(--accent-blue); }

.feature-card--purple .feature-card__tag {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--accent-purple);
}
.feature-card--purple .feature-card__status { color: #d8b4fe; font-family: var(--font-mono); }
.feature-card--purple .feature-card__title span { color: #d8b4fe; }
.feature-card--purple .feature-card__foot strong { color: var(--accent-purple); }

.feature-card--alert {
  background: rgba(69, 10, 10, 0.2);
  border-color: rgba(239, 68, 68, 0.25);
}
.feature-card--alert .feature-card__tag {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.feature-card--alert .feature-card__status { color: #f87171; animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.feature-card--alert .feature-card__title span { color: #f87171; }
.feature-card--alert .feature-card__foot {
  border-top-color: rgba(239, 68, 68, 0.2);
  color: rgba(252, 165, 165, 0.8);
}
.feature-card--alert .feature-card__foot strong { color: #f87171; }

.feature-card--amber .feature-card__tag {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
}
.feature-card--amber .feature-card__status { color: var(--accent-amber); font-family: var(--font-mono); }
.feature-card--amber .feature-card__title span { color: #fcd34d; }
.feature-card--amber .feature-card__foot strong { color: var(--accent-amber); }

/* Data usage comparison (inside showcase rows) */
.data-usage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  scroll-margin-top: var(--header-offset);
}

@media (min-width: 1024px) {
  .data-usage { gap: 3rem; }
}

.data-usage__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.data-usage__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.data-usage__lead {
  max-width: 36rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
}

.table-card {
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.table-card__scroll { overflow-x: auto; }

.usage-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-family: var(--font-mono);
  text-align: center;
}

.usage-table th,
.usage-table td {
  padding: 1.125rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.usage-table thead th {
  padding: 1.25rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.usage-table__key {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.usage-table__sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.usage-table thead th.is-hl { background: rgba(99, 102, 241, 0.14); }
.usage-table thead th.is-hl .usage-table__key { color: var(--text-primary); }
.usage-table thead th.is-hl .usage-table__sub { color: #a5b4fc; }

.usage-table tbody th {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.usage-table tbody td {
  font-size: 1.125rem;
  color: #d4d4d8;
}

.usage-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.usage-table tbody tr:last-child th,
.usage-table tbody tr:last-child td { border-bottom: 0; }

.usage-table tbody td.is-hl {
  background: rgba(99, 102, 241, 0.06);
  font-weight: 700;
  color: var(--text-primary);
}

.usage-table small {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 0.125rem;
}
.usage-table td.is-hl small { color: #a5b4fc; }

.table-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.875rem 1.5rem;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

.table-card__legend {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a5b4fc;
}
.table-card__legend i {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 3px;
  background: rgba(99, 102, 241, 0.5);
  border: 1px solid #a5b4fc;
}

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

@media (max-width: 639px) {
  .usage-table { min-width: 0; }
  .usage-table th, .usage-table td { padding: 0.875rem 0.375rem; }
  .usage-table thead th { padding: 0.875rem 0.25rem; }
  .usage-table__key { font-size: 0.625rem; }
  .usage-table__sub { font-size: 0.5625rem; }
  .usage-table tbody td { font-size: 0.9375rem; }
  .usage-table tbody td small { display: none; }
  .table-card__foot { padding: 0.875rem 1rem; }
}

/* --------------------------------------------------------------------------
   10. Phone mockup
   -------------------------------------------------------------------------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 2;
  padding: 12px;
  border-radius: 50px;
  background: #0f0f13;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 50px -15px rgba(99, 102, 241, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (min-width: 640px) {
  .phone { max-width: 330px; }
}

.phone:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25),
    0 30px 70px -15px rgba(0, 0, 0, 0.95),
    0 0 65px -10px rgba(99, 102, 241, 0.35);
}

.phone__island {
  position: absolute;
  top: 1rem;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 6rem;
  height: 1.25rem;
  padding-inline: 0.625rem;
  border-radius: var(--r-full);
  background: #000000;
  transform: translateX(-50%);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}
.phone__island i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #1b1b24;
}
.phone__island i:last-child { background: #14141c; }

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top right, transparent, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
}

/* --------------------------------------------------------------------------
   11. Why section — three cards
   -------------------------------------------------------------------------- */
.why {
  position: relative;
  z-index: 10;
  padding-block: 6rem;
  border-top: 1px solid var(--border-default);
  background: #09090d;
}

.why__head {
  max-width: 42rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.why__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.875rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.why__lead {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why__lead { font-size: 1rem; }
}

.why-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  border-radius: var(--r-lg);
  background: rgba(24, 24, 27, 0.3);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color var(--t-base) ease;
}
.why-card:hover { border-color: var(--border-active); }

.why-card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
}
.why-card__icon svg { width: 1.5rem; height: 1.5rem; }
.why-card__icon--alert { color: #f87171; }
.why-card__icon--indigo { color: #818cf8; }

.why-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.why-card__text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.why-card__foot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. Download / CTA
   -------------------------------------------------------------------------- */
.download {
  position: relative;
  z-index: 10;
  padding-block: 8rem;
  border-top: 1px solid var(--border-default);
  text-align: center;
  scroll-margin-top: var(--header-offset);
}

.download__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 56rem;
  margin-inline: auto;
}

.download__mark {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 2rem;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.2);
}

.download__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.download__lead {
  margin-top: 1rem;
  max-width: 32rem;
  color: var(--text-secondary);
}

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

.store-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 0.5rem;
  border-radius: var(--r-full);
  background: rgba(24, 24, 27, 0.9);
  border: 1px solid var(--border-active);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.store-dock .btn { padding-inline: 1.5rem; }

.download__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 10;
  padding-block: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer__inner { flex-direction: row; text-align: left; }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-footer__brand .brand__mark {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.site-footer__brand strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: #d4d4d8;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  color: var(--text-secondary);
}
.site-footer__links a { transition: color var(--t-fast) ease; }
.site-footer__links a:hover { color: var(--text-primary); }

/* --------------------------------------------------------------------------
   14. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .fade-scroll-row,
  .fade-scroll-row.is-leaving {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .dot--pulse,
  .dot--ping::after,
  .feature-card--alert .feature-card__status {
    animation: none;
  }

  .phone,
  .phone:hover {
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   15. Sub-pages — legal documents & contact
   -------------------------------------------------------------------------- */
.page {
  position: relative;
  z-index: 10;
  padding-top: 9rem;
  padding-bottom: 6rem;
}

.page__head {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.page__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.page__lead {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
}

.page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Legal layout: sticky TOC + prose */
.legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}

@media (min-width: 1024px) {
  .legal {
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 4rem;
  }
  .legal__toc {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}

.legal__toc {
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid var(--border-default);
}

.legal__toc-title {
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal__toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legal__toc li {
  counter-increment: toc;
}

.legal__toc a {
  display: flex;
  gap: 0.625rem;
  padding: 0.375rem 0.5rem;
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.legal__toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
  padding-top: 0.1em;
}
.legal__toc a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.prose {
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #d4d4d8;
}

.prose section {
  scroll-margin-top: var(--header-offset);
}

.prose section + section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.prose h2 .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-right: 0.75rem;
  vertical-align: middle;
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-primary);
  margin: 1.5rem 0 0.5rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose ul {
  margin: 1rem 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.25rem;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--text-muted);
}

.prose a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 0.2em;
}
.prose a:hover { text-decoration-color: var(--text-primary); }

.prose .note {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid var(--border-default);
  font-size: 0.9375rem;
}

.prose .note--alert {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(69, 10, 10, 0.2);
}

.prose .note--alert strong { color: #f87171; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}
.prose th,
.prose td {
  padding: 0.75rem 0.875rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-subtle);
}
.prose th {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.prose .table-wrap { overflow-x: auto; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
  }
}

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

.info-card {
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.info-card__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.info-card__value {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.info-card__value svg { width: 1.125rem; height: 1.125rem; color: var(--text-secondary); }
a.info-card__value:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.info-card__text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.info-card--alert {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(69, 10, 10, 0.2);
}
.info-card--alert .info-card__value { color: #f87171; }

.form-card {
  padding: 2rem;
  border-radius: var(--r-lg);
  background: rgba(24, 24, 27, 0.8);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

@media (min-width: 640px) {
  .form-card { padding: 2.5rem; }
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .field--full { grid-column: 1 / -1; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.field label .req { color: #f87171; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, background-color var(--t-fast) ease;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.125rem center;
  padding-right: 2.75rem;
}
.field select option { background: #18181b; }

.field textarea {
  min-height: 9rem;
  border-radius: 1.5rem;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: rgba(239, 68, 68, 0.5);
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.field--check input {
  width: 1.125rem;
  height: 1.125rem;
  min-height: 0;
  margin-top: 0.15rem;
  padding: 0;
  border-radius: 0.3rem;
  accent-color: #ffffff;
  flex: none;
}

.field--check label {
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 400;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.form-actions .hint {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
}
.form-status.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.form-status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --------------------------------------------------------------------------
   16. WordPress-specific: language switcher, admin bar offset
   -------------------------------------------------------------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.25rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 1.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--r-full);
  color: var(--text-muted);
  transition: color var(--t-fast) ease, background-color var(--t-fast) ease;
}

.lang-switch a:hover { color: var(--text-primary); }

.lang-switch a.is-active,
.lang-switch a[aria-current="true"] {
  background: #ffffff;
  color: #000000;
}

.nav__actions .lang-switch { display: none; }

@media (min-width: 640px) {
  .nav__actions .lang-switch { display: inline-flex; }
}

.mobile-menu__lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem 0.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.mobile-menu__lang .lang-switch a {
  min-width: 3rem;
  min-height: 2.25rem;
}

.admin-bar .site-header { top: calc(1.5rem + 32px); }
.admin-bar .site-header.is-compact { top: calc(0.75rem + 32px); }
.admin-bar .mobile-menu { top: calc(5.25rem + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: calc(1.5rem + 46px); }
  .admin-bar .site-header.is-compact { top: calc(0.75rem + 46px); }
  .admin-bar .mobile-menu { top: calc(5.25rem + 46px); }
}

.wp-block-image img, .prose img { border-radius: var(--r-md); }

.field--check label a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
