/**
 * Móttarra Enterprise Design System — "Obsidian Dark & Warm Icelandic Gold" (v65 Enterprise Edition)
 * Shared token-based stylesheet for public storefront, onboarding, and customer workspace (/app).
 * Supports full Icelandic character set (Þ, þ, Ð, ð, Æ, æ, Ö, ö), OS text-scale opt-in,
 * WCAG AA contrast, keyboard focus rings, prefers-reduced-motion, and Light/Dark toggle.
 */

@font-face {
  font-family: "Plus Jakarta Fallback";
  src: local("Inter"), local("-apple-system"), local("BlinkMacSystemFont"), local("Segoe UI"), local("Roboto");
  size-adjust: 101.2%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Manrope Fallback";
  src: local("Inter"), local("-apple-system"), local("BlinkMacSystemFont"), local("Segoe UI"), local("Roboto");
  size-adjust: 102.0%;
  ascent-override: 96%;
  descent-override: 25%;
  line-gap-override: 0%;
}

:root {
  /* Progressive Color-Space Interpolation (modern-web-guidance: visual-effects) */
  --in-oklab: ;
  --in-oklch: ;

  /* Tier 1 & 2: Surface & Text Tokens (Obsidian Dark Default — Continuous with /app v2.4.0) */
  --bg-canvas: #070B14;
  --bg-surface: #0C1220;
  --bg-subtle: #090E1A;
  --bg-elevated-dark: #0B101D;
  --bg-elevated-dark-card: #11192C;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-on-dark: #F8FAFC;
  --text-on-dark-muted: #94A3B8;

  /* Warm Gold Brand Accent & Semantic Tokens */
  --accent-primary: #F59E0B;
  --accent-primary-hover: #D97706;
  --accent-gold-light: #FDE68A;
  --accent-gold-mid: #F59E0B;
  --accent-gold-deep: #D97706;
  --accent-tint: rgba(245, 158, 11, 0.14);
  --accent-border: rgba(245, 158, 11, 0.35);

  --accent-warm: #FBBF24;
  --accent-warm-tint: rgba(245, 158, 11, 0.14);
  --accent-warm-border: rgba(245, 158, 11, 0.38);

  --status-success: #10B981;
  --status-success-bg: rgba(16, 185, 129, 0.14);
  --status-warning: #F59E0B;
  --status-warning-bg: rgba(245, 158, 11, 0.14);
  --status-danger: #F43F5E;
  --status-danger-bg: rgba(244, 63, 94, 0.14);

  /* Borders & Multi-Layered Elevation */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(245, 158, 11, 0.38);
  --border-dark-subtle: rgba(255, 255, 255, 0.10);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 12px 32px -6px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 24px 56px -12px rgba(0, 0, 0, 0.72), 0 6px 18px -3px rgba(0, 0, 0, 0.45);
  --shadow-gold-glow: 0 10px 28px -4px rgba(245, 158, 11, 0.32), 0 2px 6px -1px rgba(0, 0, 0, 0.45);

  /* Radii & Spacing Scale */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Typography Tokens (Zero-CLS Metric-Matched Fallbacks) */
  --font-sans: "Plus Jakarta Sans", "Plus Jakarta Fallback", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Manrope Fallback", "Plus Jakarta Sans", "Plus Jakarta Fallback", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Motion & Safe Area */
  --ease-nordic: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 220ms;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

/* Optional Light Theme Override (Warm Alabaster + Gold — v62_landing_light.png) */
html.light {
  --bg-canvas: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-elevated-dark: #0D1322;
  --bg-elevated-dark-card: #131C31;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --accent-primary: #D97706;
  --accent-primary-hover: #B45309;
  --accent-tint: rgba(245, 158, 11, 0.12);
  --accent-border: rgba(217, 119, 6, 0.32);

  --accent-warm: #B45309;
  --accent-warm-tint: #FEF3C7;
  --accent-warm-border: #FCD34D;

  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-elevated: 0 20px 44px -10px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
}

/* Base Document Typography — Never override html/:root font-size so OS text-scale works natively */
body,
body.nordic-body {
  background-color: var(--bg-canvas) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-sans);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-block-size: 100vh;
  min-block-size: 100dvh;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-inline-size: 100%;
  block-size: auto;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h1, h2, h3 {
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

.nordic-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.25rem + 2.8vw, 3.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nordic-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.nordic-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.nordic-lead {
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.nordic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: 0.65rem;
}

.m-mono,
.nordic-mono,
.tabular-nums {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  overflow-wrap: normal;
}

/* Signature Gold Metallic Headline Gradient (v64_landing_minimal.png) */
.mottarra-gold-text {
  background: linear-gradient(135deg var(--in-oklch), #FDE68A 0%, #F59E0B 48%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

html.light .mottarra-gold-text {
  background: linear-gradient(135deg var(--in-oklch), #D97706 0%, #B45309 55%, #92400E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* Hero Radial Gold Ambient Backdrop (Scoped with isolation: isolate) */
.mottarra-hero-backdrop {
  position: relative;
  isolation: isolate;
  background-color: var(--bg-canvas);
  background-image:
    radial-gradient(ellipse 75% 55% at 50% 0%, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.04) 52%, transparent 80%);
}

html.light .mottarra-hero-backdrop {
  background-color: #FFFFFF;
  background-image:
    radial-gradient(ellipse 75% 55% at 50% 0%, rgba(245, 158, 11, 0.10), rgba(217, 119, 6, 0.02) 52%, transparent 80%);
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-primary) !important;
  outline-offset: 2px !important;
}

/* Layout Containers & Sections */
.nordic-container {
  width: 100%;
  max-width: 78rem; /* 1248px */
  margin-inline: auto;
  padding-left: max(clamp(1rem, 3vw, 2rem), var(--sal));
  padding-right: max(clamp(1rem, 3vw, 2rem), var(--sar));
}

.nordic-section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.nordic-section-compact {
  padding-block: clamp(2.5rem, 4.5vw, 4rem);
}

/* Top Storefront Header — Obsidian Glass with Subtle Gold/White Hairline */
header.nordic-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(7, 10, 18, 0.88) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle) !important;
  padding-top: var(--sat);
  transition: background-color var(--duration-normal) var(--ease-nordic),
              border-color var(--duration-normal) var(--ease-nordic);
}

html.light header.nordic-header {
  background-color: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

/* Ensure Desktop Navigation inside nordic-header is always visible on lg+ screens */
header.nordic-header nav.nordic-desktop-nav {
  display: none;
}

@media (min-width: 64rem) {
  header.nordic-header nav.nordic-desktop-nav {
    display: flex !important;
    align-items: center;
    gap: 1.25rem;
  }
}

.nordic-nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary) !important;
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) var(--ease-nordic),
              background-color var(--duration-fast) var(--ease-nordic);
}

.nordic-nav-link:hover {
  color: var(--text-primary) !important;
  background-color: rgba(255, 255, 255, 0.05);
}

html.light .nordic-nav-link:hover {
  background-color: #F1F5F9;
}

.nordic-nav-link[aria-current="page"] {
  color: var(--accent-primary) !important;
  background-color: var(--accent-tint);
}

/* Cards & Surfaces */
.nordic-card {
  background-color: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
}

.nordic-card-interactive {
  background-color: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
  transition: border-color var(--duration-normal) var(--ease-nordic),
              box-shadow var(--duration-normal) var(--ease-nordic),
              transform var(--duration-normal) var(--ease-nordic);
}

.nordic-card-interactive:hover {
  border-color: var(--border-strong) !important;
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.nordic-card-featured {
  background: linear-gradient(180deg var(--in-oklab), rgba(245, 158, 11, 0.09) 0%, rgba(13, 19, 34, 0.98) 38%) !important;
  border: 2px solid var(--accent-primary) !important;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated), 0 0 36px -8px rgba(245, 158, 11, 0.25);
  color: var(--text-primary);
}

html.light .nordic-card-featured {
  background: linear-gradient(180deg var(--in-oklab), #FFFBEB 0%, #FFFFFF 38%) !important;
}

.nordic-surface-subtle {
  background-color: var(--bg-subtle) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md);
}

.nordic-dark-panel {
  background-color: var(--bg-elevated-dark) !important;
  color: var(--text-on-dark) !important;
  border: 1px solid var(--border-dark-subtle) !important;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
}

/* Badges & Pills */
.nordic-badge,
.nordic-badge-teal,
.nordic-badge-amber,
.nordic-badge-warm {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  background-color: var(--accent-tint) !important;
  color: var(--accent-warm) !important;
  border: 1px solid var(--accent-border) !important;
}

.nordic-badge-neutral {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  background-color: var(--bg-subtle) !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--border-subtle) !important;
}

/* Buttons — Warm Gold Primary CTA & Dark Obsidian Glass Secondary */
.nordic-btn,
.nordic-btn-primary,
.nordic-btn-secondary,
.nordic-btn-dark-secondary,
.nordic-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.375rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.25;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-nordic),
              border-color var(--duration-fast) var(--ease-nordic),
              transform var(--duration-fast) var(--ease-nordic),
              box-shadow var(--duration-fast) var(--ease-nordic);
}

.nordic-btn-sm {
  padding: 0.5rem 0.95rem !important;
  font-size: 0.8125rem !important;
  border-radius: 0.625rem !important;
}

.nordic-btn-primary {
  background: linear-gradient(135deg var(--in-oklab), #F59E0B 0%, #D97706 100%) !important;
  color: #070A12 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(253, 230, 138, 0.35) !important;
  box-shadow: var(--shadow-gold-glow);
}

.nordic-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg var(--in-oklab), #FBBF24 0%, #F59E0B 100%) !important;
  color: #070A12 !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -4px rgba(245, 158, 11, 0.45), 0 4px 10px -2px rgba(0, 0, 0, 0.5);
}

.nordic-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.nordic-btn-secondary,
.nordic-btn-dark-secondary {
  background-color: var(--bg-subtle) !important;
  color: var(--text-primary) !important;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: var(--shadow-xs);
}

html.light .nordic-btn-secondary {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
}

.nordic-btn-secondary:hover:not(:disabled),
.nordic-btn-dark-secondary:hover:not(:disabled) {
  border-color: var(--accent-primary) !important;
  background-color: rgba(245, 158, 11, 0.10) !important;
}

.nordic-btn-ghost {
  background-color: transparent !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--border-subtle) !important;
}

.nordic-btn-ghost:hover:not(:disabled) {
  color: var(--text-primary) !important;
  border-color: var(--accent-border) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
}

/* Inputs & Selects */
.nordic-input,
html.dark:not(.light) input:not([type="checkbox"]):not([type="radio"]),
html.dark:not(.light) select,
html.dark:not(.light) textarea {
  background-color: #090D18 !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: var(--radius-md);
  padding: 0.625rem 0.875rem;
}

.nordic-input:focus,
html.dark:not(.light) input:focus,
html.dark:not(.light) select:focus,
html.dark:not(.light) textarea:focus {
  border-color: var(--accent-primary) !important;
}

/* UI-Based Product Visual Frame (macOS Dark Switchboard Window — v64_landing_minimal.png) */
.nordic-ui-frame {
  position: relative;
  isolation: isolate;
  background-color: #0B101D !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated), 0 0 60px -15px rgba(245, 158, 11, 0.18);
  overflow: hidden;
}

.nordic-ui-titlebar,
.nordic-ui-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background-color: #070A12 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8 !important;
}

.nordic-ui-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
}

/* Audio Waveform Bars for Interactive Demo */
.nordic-waveform {
  display: inline-flex;
  align-items: center;
  gap: 0.1875rem;
  height: 1.25rem;
}

.nordic-waveform span,
.nordic-wave-bar {
  display: inline-block;
  width: 0.1875rem;
  background-color: var(--accent-primary);
  border-radius: 9999px;
  animation: nordicWave 1.1s ease-in-out infinite;
}

@keyframes nordicWave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.65; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Comparison Table Styling */
.nordic-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.nordic-table th,
.nordic-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.nordic-table thead th {
  background-color: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* ============================================================================
 * ENTERPRISE OBSIDIAN DARK + WARM GOLD UTILITY REMAPPING (Default Theme)
 * Ensures all 10 public & onboarding templates render in deep Obsidian (#070A12 / #0D1322)
 * with Warm Gold (#F59E0B) highlights while preserving Light Mode when html:not(.dark) or html.light is active.
 * ============================================================================ */
html.dark:not(.light) {
  background-color: #070A12 !important;
  color: #F8FAFC !important;
  color-scheme: dark;
}

html.dark:not(.light) .bg-white {
  background-color: #0D1322 !important;
  color: #F8FAFC !important;
}

html.dark:not(.light) section.bg-white {
  background-color: #090D18 !important;
}

html.dark:not(.light) .bg-\[\#F7F8FA\],
html.dark:not(.light) .bg-slate-50 {
  background-color: #090D18 !important;
  color: #F8FAFC !important;
}

html.dark:not(.light) .bg-\[\#F1F4F7\],
html.dark:not(.light) .bg-slate-100 {
  background-color: #11192E !important;
  color: #F8FAFC !important;
}

html.dark:not(.light) .text-\[\#14212B\],
html.dark:not(.light) .text-slate-900,
html.dark:not(.light) .text-slate-800 {
  color: #F8FAFC !important;
}

html.dark:not(.light) .text-\[\#4E5A68\],
html.dark:not(.light) .text-slate-600,
html.dark:not(.light) .text-slate-500 {
  color: #94A3B8 !important;
}

html.dark:not(.light) .border-\[\#E4E8EC\],
html.dark:not(.light) .border-slate-200,
html.dark:not(.light) .border-slate-100 {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Remap Legacy Teal Utility Accents to Warm Icelandic Gold in Obsidian Dark */
html.dark:not(.light) .bg-\[\#EAF5F2\],
html.dark:not(.light) .bg-\[\#EAF5F2\]\/70,
html.dark:not(.light) .bg-\[\#EAF5F2\]\/60,
html.dark:not(.light) .bg-\[\#EAF5F2\]\/50 {
  background-color: rgba(245, 158, 11, 0.12) !important;
  border-color: rgba(245, 158, 11, 0.30) !important;
}

html.dark:not(.light) .text-\[\#0F766E\] {
  color: #FBBF24 !important;
}

html.dark:not(.light) .bg-\[\#0F766E\] {
  background: linear-gradient(135deg var(--in-oklab), #F59E0B 0%, #D97706 100%) !important;
  color: #070A12 !important;
  font-weight: 800 !important;
}

html.dark:not(.light) .border-\[\#0F766E\],
html.dark:not(.light) .border-\[\#0F766E\]\/25,
html.dark:not(.light) .border-\[\#0F766E\]\/20 {
  border-color: rgba(245, 158, 11, 0.45) !important;
}

/* Phase 5 Curated Workflow Cards — Scoped Child-State-Based Styling (:has()) */
.mottarra-wf-card {
  --wf-bg: rgba(13, 19, 34, 0.72);
  --wf-border: rgba(255, 255, 255, 0.08);
  --wf-opacity: 0.78;
  background-color: var(--wf-bg);
  border: 1px solid var(--wf-border);
  opacity: var(--wf-opacity);
  border-radius: 0.875rem;
  transition: background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.mottarra-wf-card:has(.mottarra-wf-toggle:checked) {
  --wf-bg: rgba(17, 25, 46, 0.95);
  --wf-border: rgba(245, 158, 11, 0.38);
  --wf-opacity: 1;
  box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.12);
}

.mottarra-wf-card:not(:has(.mottarra-wf-toggle:checked)) {
  --wf-opacity: 0.72;
}

@supports not selector(:has(*)) {
  .mottarra-wf-card.is-active {
    --wf-bg: rgba(17, 25, 46, 0.95);
    --wf-border: rgba(245, 158, 11, 0.38);
    --wf-opacity: 1;
    box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.12);
  }
}

/* Respect Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .nordic-card-interactive,
  .nordic-btn-primary,
  .nordic-btn-secondary,
  .mottarra-wf-card,
  .nordic-waveform span,
  .hero-wave-bar {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ========================================================================= */
/* V1.28.97 NORDIC MINIMALIST LUXURY ("THE AWW FACTOR") UPGRADES             */
/* ========================================================================= */

/* 1. Specular Border Discipline & Visual Breathing Room */
html.dark .mottarra-specular-card,
html:not(.light) #tab-switchboard .rounded-2xl {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.075), 0 10px 28px -8px rgba(0, 0, 0, 0.45);
}

/* 2. Switchboard Calm / Focus Mode (Progressive Disclosure) */
body.mottarra-calm-mode [data-calm-secondary="true"] {
  display: none !important;
}
body.mottarra-calm-mode #switchboard-main-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.mottarra-calm-mode #switchboard-left-col {
  grid-column: span 12 / span 12 !important;
}

/* 3. Subtle Champagne Gold Shimmer for Daily Executive Pulse Banner */
@keyframes mottarraGoldShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.pulse-gold-shimmer {
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.06) 0%,
    rgba(212, 175, 55, 0.18) 50%,
    rgba(212, 175, 55, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: mottarraGoldShimmer 6s ease-in-out infinite;
}

/* 4. 1-Click Hero Audio Preview Waveform Bars */
@keyframes heroWaveBounce {
  0%, 100% { transform: scaleY(0.35); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}
.hero-wave-bar {
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hero-wave-bar.is-playing {
  animation: heroWaveBounce 0.85s ease-in-out infinite;
}

/* ========================================================================= */
/* V2.00 UNIFIED VERÐSKRÁ DESIGN SYSTEM — SHARED TOKENS & PRIMITIVES         */
/* ========================================================================= */
:root {
  color-scheme: dark light;
  accent-color: #f59e0b;
  --m-bg-canvas: #070b14;
  --m-bg-surface: #090e1a;
  --m-bg-elevated: #0f172a;
  --m-bg-inset: #060a12;
  --m-border: #1e293b;
  --m-border-strong: #334155;
  --m-border-gold: rgba(245, 158, 11, 0.46);
  --m-text-primary: #f8fafc;
  --m-text-secondary: #cbd5e1;
  --m-text-muted: #94a3b8;
  --m-gold: #f59e0b;
  --m-gold-hover: #fbbf24;
  --m-gold-soft: rgba(245, 158, 11, 0.12);
  --m-ok: #10b981;
  --m-ok-soft: rgba(16, 185, 129, 0.12);
  --m-radius-card: 24px;
  --m-radius-btn: 12px;
  --m-radius-pill: 999px;
  --m-shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.78);
  --m-font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --m-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --m-font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html:not(.dark),
html.light {
  color-scheme: light;
  background-color: #f8fafc !important;
  color: #0f172a !important;
  --m-bg-canvas: #f8fafc;
  --m-bg-surface: #ffffff;
  --m-bg-elevated: #f1f5f9;
  --m-bg-inset: #f8fafc;
  --m-border: #e2e8f0;
  --m-border-strong: #cbd5e1;
  --m-border-gold: rgba(217, 119, 6, 0.45);
  --m-text-primary: #0f172a;
  --m-text-secondary: #334155;
  --m-text-muted: #475569;
  --m-gold: #d97706;
  --m-gold-hover: #b45309;
  --m-gold-soft: rgba(245, 158, 11, 0.12);
  --m-shadow-card: 0 18px 40px -20px rgba(15, 23, 42, 0.08);
}

/* Fix legacy .nordic-* pages so html:not(.dark) light mode & 24px radii match /verdskra 100% */
.nordic-card,
.nordic-card-interactive {
  border-radius: var(--m-radius-card) !important;
  background-color: var(--m-bg-surface) !important;
  border-color: var(--m-border) !important;
}

html:not(.dark) body.nordic-surface {
  background-color: var(--m-bg-canvas) !important;
  color: var(--m-text-primary) !important;
}
html:not(.dark) body.nordic-surface .text-white,
html:not(.dark) body.nordic-surface .text-slate-100,
html:not(.dark) body.nordic-surface .text-slate-200 {
  color: #0f172a !important;
}
html:not(.dark) body.nordic-surface .text-slate-300,
html:not(.dark) body.nordic-surface .text-slate-400 {
  color: #475569 !important;
}
html:not(.dark) header.glass-nav {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom-color: #e2e8f0 !important;
}

/* Shared Page & Layout Primitives */
.m-body {
  background-color: var(--m-bg-canvas);
  background-image: radial-gradient(ellipse 75% 38% at 50% 0%, rgba(212, 175, 55, 0.08), transparent 70%);
  color: var(--m-text-primary);
  font-family: var(--m-font-sans);
  line-height: 1.62;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
html:not(.dark) .m-body {
  background-image: radial-gradient(ellipse 75% 38% at 50% 0%, rgba(245, 158, 11, 0.06), transparent 70%);
}

.m-skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 10px;
  background: #f59e0b;
  color: #070b14;
  font-weight: 800;
  text-decoration: none;
}
.m-skip-link:focus { left: 16px; }

.m-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .m-container { padding: 0 16px; }
}

.m-section { padding: 56px 0; }
.m-section-tight { padding: 36px 0; }
@media (max-width: 768px) {
  .m-section { padding: 36px 0; }
  .m-section-tight { padding: 24px 0; }
}

/* Typography */
.m-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--m-radius-pill);
  background: var(--m-gold-soft);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fcd34d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
html:not(.dark) .m-eyebrow { color: #b45309; }

.m-h1 {
  font-family: var(--m-font-display);
  font-size: clamp(1.7rem, 3.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--m-text-primary);
  text-wrap: balance;
}
html, body.m-body {
  max-width: 100%;
  overflow-x: clip;
}
@media (max-width: 480px) {
  header.glass-nav > div {
    gap: 0.5rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  header.glass-nav .m-btn {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }
}
.m-h2 {
  font-family: var(--m-font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--m-text-primary);
}
.m-h3 {
  font-family: var(--m-font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--m-text-primary);
}
.m-lead {
  font-size: 1.05rem;
  color: var(--m-text-secondary);
  max-width: 64ch;
}
.m-mono {
  font-family: var(--m-font-mono);
  font-variant-numeric: tabular-nums;
}

/* Cards & Surfaces */
.m-card {
  background: var(--m-bg-surface);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-card);
  padding: 28px;
  box-shadow: var(--m-shadow-card);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
@media (max-width: 640px) {
  .m-card { padding: 20px; border-radius: 20px; }
}
.m-card-interactive:hover {
  border-color: var(--m-border-strong);
}
.m-card-featured {
  border-color: var(--m-border-gold);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--m-bg-surface) 38%);
  position: relative;
}
.m-badge-featured {
  position: absolute;
  top: -12px;
  left: 24px;
  background: #f59e0b;
  color: #070b14;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--m-radius-pill);
  white-space: nowrap;
}

.m-pill-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--m-radius-pill);
  background: var(--m-ok-soft);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 600;
}
html:not(.dark) .m-pill-ok { color: #047857; }

.m-pill-muted {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--m-radius-pill);
  background: var(--m-bg-elevated);
  border: 1px solid var(--m-border);
  color: var(--m-text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Accessible Buttons (>=48px Touch Comfort per forms guide) */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: var(--m-radius-btn);
  border: 1px solid transparent;
  font-family: var(--m-font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}
.m-btn-gold {
  background: #f59e0b;
  color: #070b14 !important;
  box-shadow: 0 8px 24px -8px rgba(245, 158, 11, 0.45);
}
.m-btn-gold:hover { background: #fbbf24; }
.m-btn-secondary {
  background: var(--m-bg-elevated);
  border-color: var(--m-border-strong);
  color: var(--m-text-primary);
}
.m-btn-secondary:hover {
  border-color: rgba(245, 158, 11, 0.45);
}
.m-btn-ghost {
  background: transparent;
  color: var(--m-text-secondary);
  padding: 8px 14px;
}
.m-btn-ghost:hover {
  color: var(--m-text-primary);
  background: var(--m-bg-elevated);
}

/* Segmented Billing & Category Toggles */
.m-toggle-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 5px;
  background: var(--m-bg-inset);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-pill);
  gap: 4px;
}
.m-toggle-opt {
  min-height: 38px;
  padding: 7px 16px;
  border-radius: var(--m-radius-pill);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--m-font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--m-text-muted);
  cursor: pointer;
  transition: all 0.16s ease;
}
.m-toggle-opt.is-active,
.m-toggle-opt[aria-selected="true"] {
  background: var(--m-bg-elevated);
  border-color: var(--m-border-gold);
  color: var(--m-text-primary);
}

/* Forms & Checklists */
.m-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--m-text-secondary);
  margin-bottom: 6px;
}
.m-input,
.m-select,
.m-textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--m-bg-inset);
  border: 1px solid var(--m-border-strong);
  border-radius: 12px;
  color: var(--m-text-primary);
  font: inherit;
  font-family: var(--m-font-sans);
  font-size: max(1rem, 1em);
  box-sizing: border-box;
}
@media (pointer: coarse) {
  .m-input,
  .m-select,
  .m-textarea {
    min-height: 52px;
  }
}
.m-textarea { min-height: 84px; resize: vertical; }
.m-input:focus,
.m-select:focus,
.m-textarea:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.m-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.m-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--m-text-secondary);
}
.m-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 3px;
}
html:not(.dark) .m-check-icon { color: #b45309; }

.m-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--m-text-muted);
  margin-bottom: 18px;
}
.m-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.m-breadcrumbs ol li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--m-text-muted);
}
.m-breadcrumbs [aria-current="page"] {
  color: var(--m-text-primary);
  font-weight: 600;
}
section[id],
article[id] {
  scroll-margin-top: 5.5rem;
}
.m-breadcrumbs a {
  color: var(--m-text-muted);
  text-decoration: none;
}
.m-breadcrumbs a:hover { color: var(--m-text-primary); }
.m-breadcrumbs .current {
  color: var(--m-text-primary);
  font-weight: 600;
}

/* Unified Storefront Desktop Navigation */
.m-desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 1024px) {
  .m-desktop-nav { display: inline-flex !important; }
}
.m-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--m-text-muted);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.m-nav-link:hover {
  color: var(--m-text-primary);
  background: rgba(148, 163, 184, 0.1);
}
.m-nav-link[aria-current="page"],
.m-nav-link.is-active {
  color: var(--m-text-primary);
  font-weight: 700;
  background: var(--m-bg-elevated);
  box-shadow: inset 0 -2px 0 0 #f59e0b, inset 0 0 0 1px var(--m-border-gold);
}
html:not(.dark) .m-nav-link[aria-current="page"],
html:not(.dark) .m-nav-link.is-active {
  box-shadow: inset 0 -2px 0 0 #b45309, inset 0 0 0 1px rgba(180, 83, 9, 0.35);
}
@media (forced-colors: active) {
  .m-nav-link[aria-current="page"],
  .m-nav-link.is-active {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
}

/* Visually hidden utility (accessible to screen readers, revealed on focus for skip links) */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Validate-input-after-interaction (:user-invalid with .user-invalid-fallback) */
.m-field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--m-text-muted);
  margin-bottom: 6px;
  line-height: 1.4;
}
.m-field-error {
  display: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fb7185;
  margin-top: 6px;
}
html:not(.dark) .m-field-error {
  color: #be123c;
}
.m-input:is(:user-invalid, .user-invalid-fallback),
.m-select:is(:user-invalid, .user-invalid-fallback),
.m-textarea:is(:user-invalid, .user-invalid-fallback) {
  border-color: #f43f5e !important;
  background-color: rgba(244, 63, 94, 0.06);
}
.m-input:is(:user-invalid, .user-invalid-fallback) + .m-field-error,
.m-select:is(:user-invalid, .user-invalid-fallback) + .m-field-error,
.m-textarea:is(:user-invalid, .user-invalid-fallback) + .m-field-error,
div:has(> :is(:user-invalid, .user-invalid-fallback)) + .m-field-error {
  display: block;
}
.m-input:user-valid {
  border-color: rgba(16, 185, 129, 0.55);
}

/* Container-Query Responsive Comparison & Policy Tables */
.m-responsive-table-wrap {
  overflow: auto;
  max-inline-size: 100%;
  container-type: inline-size;
}
.m-responsive-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.m-responsive-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: var(--m-bg-surface);
}
.m-responsive-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: var(--m-bg-surface);
}
@container (width < 600px) {
  .m-responsive-table,
  .m-responsive-table thead,
  .m-responsive-table tbody,
  .m-responsive-table tr,
  .m-responsive-table th,
  .m-responsive-table td {
    display: block;
  }
  .m-responsive-table thead {
    display: none;
  }
  .m-responsive-table tbody tr {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--m-border);
  }
  .m-responsive-table tbody th {
    position: static;
    padding-bottom: 0.35rem;
    font-weight: 700;
  }
  .m-responsive-table tbody td {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .m-responsive-table tbody td:nth-child(2)::before {
    content: var(--col-2) ": ";
    font-weight: 600;
    color: var(--m-text-muted);
  }
  .m-responsive-table tbody td:nth-child(3)::before {
    content: var(--col-3) ": ";
    font-weight: 600;
    color: var(--m-gold);
  }
  .m-responsive-table tbody td:nth-child(4)::before {
    content: var(--col-4) ": ";
    font-weight: 600;
    color: var(--m-text-muted);
  }
}

/* Unified Footer */
.m-footer {
  margin-top: auto;
  padding-top: 28px;
  padding-bottom: max(28px, calc(16px + var(--sab)));
  padding-left: var(--sal);
  padding-right: var(--sar);
  border-top: 1px solid var(--m-border);
  background: #050811;
  color: #94a3b8;
  font-size: 0.78rem;
}
html:not(.dark) .m-footer {
  background: #f1f5f9;
  color: #475569;
}
.m-footer a {
  color: inherit;
  text-decoration: none;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}
.m-footer a:hover {
  color: var(--m-text-primary);
}

/* WCAG 2.2 AA Focus Indicators */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

/* Light-Mode WCAG 2.2 AA Contrast Hardening & Below-Fold Content Visibility */
html:not(.dark) .text-amber-100,
html:not(.dark) .text-amber-200 {
  color: #92400e !important;
}
html:not(.dark) .text-amber-300,
html:not(.dark) .text-amber-400 {
  color: #b45309 !important;
}
html:not(.dark) .text-emerald-200,
html:not(.dark) .text-emerald-300,
html:not(.dark) .text-emerald-400 {
  color: #047857 !important;
}
html:not(.dark) .text-sky-200,
html:not(.dark) .text-sky-300,
html:not(.dark) .text-sky-400 {
  color: #0369a1 !important;
}
html:not(.dark) .text-indigo-200,
html:not(.dark) .text-indigo-300 {
  color: #4338ca !important;
}
.m-cv-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

/* Complete Utility Compatibility Layer (Tailwind v4 / Animate / Responsive Aliases) */
.m-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--m-text-muted);
  margin-top: 0.25rem;
}
.m-table-wrap {
  overflow: auto;
  max-inline-size: 100%;
  container-type: inline-size;
}
.shadow-2xs {
  box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
}
.shadow-xs,
.hover\:shadow-xs:hover {
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
}
.backdrop-blur-xs {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.py-0\.2 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-4\.5 {
  padding-top: 1.125rem;
  padding-bottom: 1.125rem;
}
.h-4\.5 {
  height: 1.125rem;
}
.bg-white\/8 { background-color: rgba(255, 255, 255, 0.08); }
.bg-amber-500\/8 { background-color: rgba(245, 158, 11, 0.08); }
.bg-indigo-500\/8 { background-color: rgba(99, 102, 241, 0.08); }
.bg-emerald-500\/6 { background-color: rgba(16, 185, 129, 0.06); }
.active\:scale-98:active { transform: scale(0.98); }
.border-3 { border-width: 3px; }
.hover\:bg-slate-750:hover { background-color: #283548; }
.hover\:bg-slate-850:hover { background-color: #162032; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.touch-scroll { -webkit-overflow-scrolling: touch; }
@keyframes mottarraFadeIn {
  from { opacity: 0; transform: translateY(4px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.animate-in,
.fade-in,
.zoom-in-95,
.zoom-in,
.slide-in-from-right,
.animate-fade-in {
  animation: mottarraFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sub-1s LCP Rendering Optimization: Skip offscreen section layout until scrolled near viewport */
body:not([class*="tab-is-"]) main#main-content > section:nth-of-type(n+2) {
  content-visibility: auto;
  contain-intrinsic-size: auto 560px;
}

/* ==========================================================================
   v2.5.0 Storefront Precision Layer — Continuous with /app v2.4.0
   ========================================================================== */
.m-mono,
.m-tabular,
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.glow-gold {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 18px 40px -16px rgba(245, 158, 11, 0.16) !important;
}

html:not(.dark) .glow-gold {
  border-color: rgba(217, 119, 6, 0.50) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 16px 36px -14px rgba(217, 119, 6, 0.18) !important;
}

html:not(.dark) .bg-\[\#090e1a\],
html:not(.dark) .bg-\[\#0c1322\],
html:not(.dark) .bg-\[\#0d1424\],
html:not(.dark) .from-\[\#0e1628\] {
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.07) !important;
}

html:not(.dark) .text-white { color: #0f172a !important; }
html:not(.dark) .text-slate-200,
html:not(.dark) .text-slate-300,
html:not(.dark) .text-slate-400 { color: #475569 !important; }
html:not(.dark) .border-slate-800,
html:not(.dark) .border-slate-800\/80,
html:not(.dark) .border-slate-700 { border-color: #e2e8f0 !important; }

.m-trust-strip {
  border-top: 1px solid rgba(148, 163, 184, 0.13);
  border-bottom: 1px solid rgba(148, 163, 184, 0.13);
  background: rgba(12, 18, 32, 0.65);
}
html:not(.dark) .m-trust-strip {
  border-color: rgba(15, 23, 42, 0.09);
  background: rgba(241, 245, 249, 0.75);
}
html.dark header.glass-nav {
  background-color: rgba(7, 11, 20, 0.92) !important;
  border-bottom-color: rgba(30, 41, 59, 0.85) !important;
}
html:not(.dark) header.glass-nav {
  background-color: rgba(255, 255, 255, 0.94) !important;
  border-bottom-color: #e2e8f0 !important;
}
.gap-x-4 { column-gap: 1rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-1 { row-gap: 0.25rem; }
.gap-y-1\.5 { row-gap: 0.375rem; }

.m-ico {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
  flex-shrink: 0;
}





