/* ONOGRAPH Ecosystem V3 - Design Tokens, Typography 3.0 (Plus Jakarta Sans / Inter / Cabin) & Optical Matrix */

/* 1. Self-Hosted Fonts : Roboto Condensed (700) */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/roboto-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/roboto-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Self-Hosted Fonts : Cabin (400, 500, 600, 700) */
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cabin-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cabin-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cabin-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/cabin-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cabin-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cabin-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/cabin-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/cabin-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 3. Self-Hosted Fonts : JetBrains Mono (400, 500, 600, 700) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 4. Semantic Tokens ONOGRAPH Ecosystem V3 */
:root {
  --ono-brand-yellow: #FFCA00;
  --ono-brand-black: #1C1C1B;
  --ono-group-gold: #E7C02F;
  --ono-group-charcoal: #282C35;
  --ono-group-bordeaux: #5A1830;
  --ono-group-bordeaux-hover: #912D42;
  --ono-dark-obsidian: #060913;
  --ono-dark-canvas: #0A0F1D;
  --ono-cyber-canvas: #0B1120;
  --ono-dark-slate: #0F172A;
  --ono-dark-surface: #1E293B;
  --ono-dark-border: #334155;
  --ono-dark-text: #F8FAFC;
  --ono-dark-muted: #94A3B8;
  --ono-cyber-cyan: #06B6D4;
  --ono-cyber-cyan-bright: #22D3EE;
  --ono-cyber-cyan-light: #0B6075;
  --ono-light-canvas: #F8FAFC;
  --ono-light-surface: #FFFFFF;
  --ono-light-text: #0F172A;
  --ono-light-muted: #475569;
  --ono-light-border: #E2E8F0;
  --ono-onoprint-primary: #0D5F93;
  --ono-acasia-primary: #244BA6;
  --ono-afrosalon-accent: #C2410C;
  --ono-status-success: #10B981;
  --ono-status-warning: #F59E0B;
  --ono-status-danger: #EF4444;

  --ono-font-display: 'Plus Jakarta Sans', 'Space Grotesk', 'Inter', 'Cabin', system-ui, -apple-system, sans-serif;
  --ono-font-heading: 'Plus Jakarta Sans', 'Inter', 'Cabin', system-ui, -apple-system, sans-serif;
  --ono-font-body: 'Plus Jakarta Sans', 'Inter', 'Cabin', system-ui, -apple-system, sans-serif;
  --ono-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ono-topbar-h: 32px;
  --ono-touch-min: 48px;
  --ono-radius-btn: 12px;
  --ono-radius-card: 16px;
  --ono-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Obsidian Architectural Tokens V3 */
  --og-bg-obsidian: #0A0B0E;
  --og-bg-elevated: #0F1218;
  --og-bg-card: #141821;
  --og-bg-card-hover: #1A1F2C;
  --og-border-hairline: rgba(255, 255, 255, 0.08);
  --og-border-active: rgba(255, 255, 255, 0.18);
  --og-border-focus: rgba(231, 192, 47, 0.55);
  --og-text-primary: #F8FAFC;
  --og-text-secondary: #94A3B8;
  --og-text-muted: #64748B;

  /* 3 Chromatic Auras per Pole */
  /* Pole 1: Studio 360° (Cyan/Gold: #00F2FE / #D4AF37) */
  --og-aura-studio: #00F2FE;
  --og-aura-studio-secondary: #D4AF37;
  --og-aura-studio-gold: #D4AF37;
  --og-aura-studio-glow: rgba(0, 242, 254, 0.16);
  --og-aura-studio-glow-secondary: rgba(212, 175, 55, 0.16);
  --og-aura-studio-spotlight: rgba(0, 242, 254, 0.14);
  --og-aura-studio-gradient: linear-gradient(135deg, #00F2FE 0%, #D4AF37 100%);

  /* Pole 2: ONOGRAPH Cybersecurity (Emerald/Green: #00FF87 / #10B981) */
  --og-aura-cyber: #00FF87;
  --og-aura-cyber-secondary: #10B981;
  --og-aura-cyber-green: #10B981;
  --og-aura-cyber-glow: rgba(0, 255, 135, 0.18);
  --og-aura-cyber-glow-secondary: rgba(16, 185, 129, 0.18);
  --og-aura-cyber-spotlight: rgba(0, 255, 135, 0.14);
  --og-aura-cyber-gradient: linear-gradient(135deg, #00FF87 0%, #10B981 100%);

  /* Pole 3: ONOPRINT (Magenta/Warm Indigo: #FF007A / #6366F1) */
  --og-aura-print: #FF007A;
  --og-aura-print-secondary: #6366F1;
  --og-aura-print-indigo: #6366F1;
  --og-aura-print-glow: rgba(255, 0, 122, 0.15);
  --og-aura-print-glow-secondary: rgba(99, 102, 241, 0.15);
  --og-aura-print-spotlight: rgba(255, 0, 122, 0.14);
  --og-aura-print-gradient: linear-gradient(135deg, #FF007A 0%, #6366F1 100%);

  /* Motion Curves (Architectural & Spatial) */
  --og-ease-architectural: cubic-bezier(0.22, 1, 0.36, 1);
  --og-ease-notebooklm-spatial: cubic-bezier(0.05, 0.7, 0.1, 1);
  --og-ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 5. Optical Threshold Rule & Clean Tabular Numerals (Design System 3.0) */
body {
  font-family: var(--ono-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3,
.ono-display-20 {
  font-family: var(--ono-font-heading) !important;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.16;
}

.ono-body-16 {
  font-family: var(--ono-font-body);
  font-size: 1rem;
  line-height: 1.6;
}

/* Chiffres tabulaires propres en Sans-Serif UI (sans zero barre/pointe de terminal) */
.mono-num,
[data-tabular="true"] {
  font-family: var(--ono-font-heading) !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 0;
}

/* Monospace reserve uniquement aux codes de reference techniques purs */
.ono-mono {
  font-family: var(--ono-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 0;
}

/* 6. Mobile Ergonomics & Touch Safety (No forced iOS zoom, >= 48x48px touch) */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}

.ono-touch-target {
  min-height: var(--ono-touch-min);
  min-width: var(--ono-touch-min);
}

/* 7. Unified 32px Group Topbar (Strictly 3 Divisions + FR|EN) */
.ono-v3-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ono-topbar-h);
  background: var(--ono-dark-obsidian);
  border-bottom: 1px solid rgba(231, 192, 47, 0.28);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-family: var(--ono-font-body);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.ono-v3-topbar-divisions {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.ono-v3-topbar-divisions::-webkit-scrollbar {
  display: none;
}

.ono-v3-topbar-divisions a {
  color: #94A3B8;
  text-decoration: none;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  transition: color 150ms var(--ono-ease), background-color 150ms var(--ono-ease);
}

.ono-v3-topbar-divisions a:hover:not(.active) {
  color: var(--ono-group-gold);
}

.ono-v3-topbar-divisions a.active {
  background: var(--ono-group-gold);
  color: var(--ono-brand-black);
  font-weight: 700;
}

.ono-v3-topbar-divisions a.active-cyber {
  background: var(--ono-cyber-cyan);
  color: var(--ono-cyber-canvas);
  font-weight: 700;
}

.ono-v3-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .ono-v3-topbar-right {
    display: none !important;
  }
}

.ono-v3-topbar-portal-link {
  color: #E2E8F0;
  text-decoration: none;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(231, 192, 47, 0.45);
  background: rgba(231, 192, 47, 0.12);
  transition: background-color 150ms var(--ono-ease), color 150ms var(--ono-ease);
}

.ono-v3-topbar-portal-link:hover {
  background: var(--ono-group-gold);
  color: var(--ono-brand-black);
}

.ono-v3-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ono-v3-lang-pill button {
  background: transparent;
  border: 1px solid #334155;
  color: #CBD5E1;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.ono-v3-lang-pill button.active {
  background: var(--ono-group-gold);
  color: var(--ono-brand-black);
  border-color: var(--ono-group-gold);
}

body.has-ono-v3-topbar nav.fixed {
  top: var(--ono-topbar-h) !important;
}

body.has-ono-v3-topbar {
  padding-top: 0 !important;
  background-color: #060913;
}

body.has-ono-v3-topbar main {
  padding-top: 112px !important;
}

/* Header Espace Client Button */
.ono-v3-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(231, 192, 47, 0.55);
  background: rgba(10, 15, 29, 0.85);
  color: var(--ono-group-gold);
  font-family: var(--ono-font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms var(--ono-ease), background-color 150ms var(--ono-ease), color 150ms var(--ono-ease);
}

.ono-v3-portal-btn:hover {
  background: var(--ono-group-gold);
  color: var(--ono-brand-black);
  transform: translateY(-1px);
}

/* 8. Dual-SaaS Commercial Showcase (Acasia SaaS & AfroSalon SaaS) */
.ono-v3-saas-section {
  background: linear-gradient(180deg, #0A0F1D 0%, #111827 100%);
  color: #F8FAFC;
  padding: 64px 20px;
  border-top: 1px solid rgba(231, 192, 47, 0.22);
  border-bottom: 1px solid rgba(231, 192, 47, 0.22);
}

.ono-v3-saas-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ono-v3-saas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.ono-v3-saas-card {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: var(--ono-radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 200ms var(--ono-ease), border-color 200ms var(--ono-ease);
}

.ono-v3-saas-card:hover {
  transform: translateY(-2px);
  border-color: var(--ono-group-gold);
}

.ono-v3-saas-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 9999px;
}

.ono-v3-saas-badge.acasia {
  background: rgba(36, 75, 166, 0.25);
  color: #93C5FD;
  border: 1px solid rgba(147, 197, 253, 0.35);
}

.ono-v3-saas-badge.afrosalon {
  background: rgba(231, 192, 47, 0.18);
  color: var(--ono-group-gold);
  border: 1px solid rgba(231, 192, 47, 0.4);
}

.ono-v3-saas-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: #E2E8F0;
}

.ono-v3-saas-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ono-v3-saas-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.ono-v3-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--ono-radius-btn);
  background: var(--ono-group-gold);
  color: var(--ono-brand-black);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 150ms var(--ono-ease), opacity 150ms var(--ono-ease);
}

.ono-v3-btn-primary:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.ono-v3-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--ono-radius-btn);
  background: rgba(15, 23, 42, 0.7);
  color: #F8FAFC;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #475569;
  transition: border-color 150ms var(--ono-ease), color 150ms var(--ono-ease);
}

.ono-v3-btn-secondary:hover {
  border-color: var(--ono-group-gold);
  color: var(--ono-group-gold);
}

/* 9. Accessibility & Motion Safety */
:focus-visible {
  outline: 2px solid var(--ono-group-gold);
  outline-offset: 2px;
}

/* 10. Mobile Anti-Overflow Architecture (320px, 390px, and all viewports) */
html,
body {
  overflow-x: clip;
  max-width: 100vw;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.og-prevent-overflow,
.og-viewport-clamp {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

@media (max-width: 480px) {
  html,
  body {
    overflow-x: clip !important;
    max-width: 100vw !important;
    position: relative;
    width: 100%;
  }

  main,
  header,
  nav,
  section,
  footer {
    max-width: 100vw;
    overflow-x: clip;
  }
}

/* 11. Hybrid Motion Engine Classes (NotebookLM x Blueprint) */

/* 11.1 Blueprint SVG Lines & Grids (stroke-dashoffset animation) */
.og-blueprint-line {
  stroke-dasharray: 8 6;
  stroke-dashoffset: 28;
  animation: og-blueprint-dash 14s linear infinite;
  will-change: stroke-dashoffset;
}

.og-blueprint-line--static {
  animation: none;
}

.og-blueprint-line--draw {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: og-blueprint-draw 1.2s var(--og-ease-architectural) forwards;
}

@keyframes og-blueprint-dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes og-blueprint-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Synaptic Connective Rail */
.og-synapse-rail {
  position: relative;
  overflow: hidden;
}

.og-synapse-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--og-aura-studio), transparent);
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 200ms ease;
}

.og-synapse-rail.is-active::after,
.og-synapse-rail:hover::after {
  opacity: 1;
  animation: og-synapse-flow 1.5s ease-in-out infinite;
}

@keyframes og-synapse-flow {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* 11.2 Suggestion Chips with Luminous Synapse (.og-intent-chip) */
.og-intent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: var(--og-bg-elevated);
  border: 1px solid var(--og-border-hairline);
  color: #F8FAFC;
  font-family: var(--ono-font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
  white-space: nowrap;
  transition:
    transform 180ms var(--og-ease-architectural),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

/* Luminous Synapse Dot */
.og-intent-chip::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--og-aura-studio);
  box-shadow: 0 0 8px var(--og-aura-studio);
  flex-shrink: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.og-intent-chip:hover {
  background: var(--og-bg-card);
  border-color: var(--og-border-active);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.og-intent-chip:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 10px currentColor;
}

.og-intent-chip:active,
.og-intent-chip.is-active,
.og-intent-chip[aria-pressed="true"] {
  background: var(--og-bg-card);
  border-color: rgba(231, 192, 47, 0.6);
  box-shadow: 0 0 16px rgba(231, 192, 47, 0.2);
  color: #FFFFFF;
}

.og-intent-chip.is-active::before,
.og-intent-chip[aria-pressed="true"]::before {
  background: var(--ono-group-gold);
  box-shadow: 0 0 12px var(--ono-group-gold);
  transform: scale(1.4);
}

/* Chip Variations per Pole */
.og-intent-chip--studio::before {
  background: var(--og-aura-studio);
  box-shadow: 0 0 8px var(--og-aura-studio);
}
.og-intent-chip--studio:hover,
.og-intent-chip--studio.is-active {
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.2);
}

.og-intent-chip--cyber::before {
  background: var(--og-aura-cyber);
  box-shadow: 0 0 8px var(--og-aura-cyber);
}
.og-intent-chip--cyber:hover,
.og-intent-chip--cyber.is-active {
  border-color: rgba(0, 255, 135, 0.5);
  box-shadow: 0 0 14px rgba(0, 255, 135, 0.2);
}

.og-intent-chip--print::before {
  background: var(--og-aura-print);
  box-shadow: 0 0 8px var(--og-aura-print);
}
.og-intent-chip--print:hover,
.og-intent-chip--print.is-active {
  border-color: rgba(255, 0, 122, 0.5);
  box-shadow: 0 0 14px rgba(255, 0, 122, 0.2);
}

/* 11.3 Bento Spotlight Cards (.og-bento-pole-card & .og-card-architectural) */
.og-bento-pole-card {
  position: relative;
  overflow: hidden;
  background: var(--og-bg-card);
  border: 1px solid var(--og-border-hairline);
  border-radius: var(--ono-radius-card);
  padding: 24px;
  transform: translate3d(0, 0, 0);
  transition:
    transform 220ms var(--og-ease-architectural),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.og-bento-pole-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  transition: opacity 250ms ease;
  background: radial-gradient(
    480px circle at var(--spot-x, 50%) var(--spot-y, 0%),
    var(--og-spot-color, var(--og-aura-studio-spotlight)),
    transparent 65%
  );
  z-index: 1;
}

.og-bento-pole-card--studio {
  --og-spot-color: var(--og-aura-studio-spotlight);
}
.og-bento-pole-card--cyber {
  --og-spot-color: var(--og-aura-cyber-spotlight);
}
.og-bento-pole-card--print {
  --og-spot-color: var(--og-aura-print-spotlight);
}

.og-bento-pole-card:hover {
  border-color: var(--og-border-active);
}

/* Backward compatibility with benchmark naming (.og-card-architectural) */
.og-card-architectural {
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition:
    transform 220ms var(--og-ease-architectural),
    border-color 220ms ease,
    box-shadow 220ms ease;
}
.og-card-architectural::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  transition: opacity 250ms ease;
  background: radial-gradient(
    420px circle at var(--spot-x, 50%) var(--spot-y, 0%),
    var(--og-spot-color, rgba(255, 202, 0, 0.09)),
    transparent 60%
  );
  z-index: 1;
}
.og-card-architectural--studio { --og-spot-color: var(--og-aura-studio-spotlight); }
.og-card-architectural--cyber  { --og-spot-color: var(--og-aura-cyber-spotlight); }
.og-card-architectural--print  { --og-spot-color: var(--og-aura-print-spotlight); }

/* 11.4 Progressive Disclosure Studio Accordion (.og-studio-accordion) */
.og-studio-accordion {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--og-ease-notebooklm-spatial);
  overflow: hidden;
}

.og-studio-accordion-inner {
  min-height: 0;
  overflow: hidden;
  transition: opacity 240ms ease, transform 240ms var(--og-ease-notebooklm-spatial);
  opacity: 0;
  transform: translate3d(0, -6px, 0);
}

.og-studio-accordion.is-open,
.og-studio-accordion[aria-expanded="true"],
[aria-expanded="true"] + .og-studio-accordion,
[aria-expanded="true"] > .og-studio-accordion,
details[open] > .og-studio-accordion,
.og-accordion-parent[data-open="true"] .og-studio-accordion {
  grid-template-rows: 1fr;
}

.og-studio-accordion.is-open .og-studio-accordion-inner,
.og-studio-accordion[aria-expanded="true"] .og-studio-accordion-inner,
[aria-expanded="true"] + .og-studio-accordion .og-studio-accordion-inner,
[aria-expanded="true"] > .og-studio-accordion .og-studio-accordion-inner,
details[open] > .og-studio-accordion .og-studio-accordion-inner,
.og-accordion-parent[data-open="true"] .og-studio-accordion .og-studio-accordion-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 11.5 Interactive Preview Indicator Bar (.og-tool-preview-bar) */
.og-tool-preview-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.og-tool-preview-bar-track {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 3px;
}

.og-tool-preview-segment {
  flex: 1;
  height: 100%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 200ms ease, transform 200ms ease;
}

.og-tool-preview-segment.is-active,
.og-tool-preview-segment.is-complete {
  background: var(--ono-group-gold);
}

.og-tool-preview-segment.is-complete {
  background: #10B981;
}

.og-tool-preview-bar-progress {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--og-aura-studio), var(--ono-group-gold));
  transition: width 280ms var(--og-ease-architectural);
  min-width: 8px;
}

.og-tool-preview-bar--cyber .og-tool-preview-bar-progress {
  background: linear-gradient(90deg, var(--og-aura-cyber), var(--ono-cyber-cyan));
}

.og-tool-preview-bar--print .og-tool-preview-bar-progress {
  background: linear-gradient(90deg, var(--og-aura-print), var(--ono-onoprint-primary));
}

/* 11.6 Qualification Pulse & Scroll Reveal */
@keyframes og-qualification-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(231, 192, 47, 0.45);
  }
  50% {
    transform: scale(1.015);
    box-shadow: 0 0 0 8px rgba(231, 192, 47, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(231, 192, 47, 0);
  }
}

.og-qualification-matched {
  animation: og-qualification-pulse 480ms var(--og-ease-notebooklm-spatial) 1;
}

[data-og-reveal] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 360ms var(--og-ease-notebooklm-spatial),
    transform 360ms var(--og-ease-notebooklm-spatial);
  will-change: opacity, transform;
}

[data-og-reveal].og-is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 12. The 3 Adaptive Motion Tiers */

/* Tier 1: Hybrid Full (Desktop, Fine Pointer, 60fps GPU Compositor) */
html[data-motion-tier="hybrid-full"] .og-bento-pole-card:hover,
html[data-motion-mode="hybrid-full"] .og-bento-pole-card:hover,
html[data-motion-tier="hybrid-full"] .og-card-architectural:hover,
html[data-motion-mode="hybrid-full"] .og-card-architectural:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--og-border-active);
}

html[data-motion-tier="hybrid-full"] .og-bento-pole-card:hover::after,
html[data-motion-mode="hybrid-full"] .og-bento-pole-card:hover::after,
html[data-motion-tier="hybrid-full"] .og-card-architectural:hover::after,
html[data-motion-mode="hybrid-full"] .og-card-architectural:hover::after {
  opacity: 1;
}

/* Tier 2: Hybrid Touch (Mobile/Tablet Touch, Battery-Optimized) */
html[data-motion-tier="hybrid-touch"] .og-bento-pole-card::after,
html[data-motion-mode="hybrid-touch"] .og-bento-pole-card::after,
html[data-motion-tier="hybrid-touch"] .og-card-architectural::after,
html[data-motion-mode="hybrid-touch"] .og-card-architectural::after {
  display: none !important;
}

html[data-motion-tier="hybrid-touch"] .og-bento-pole-card:active,
html[data-motion-mode="hybrid-touch"] .og-bento-pole-card:active,
html[data-motion-tier="hybrid-touch"] .og-card-architectural:active,
html[data-motion-mode="hybrid-touch"] .og-card-architectural:active {
  transform: scale(0.985);
  transition-duration: 80ms;
}

html[data-motion-tier="hybrid-touch"] .og-blueprint-line,
html[data-motion-mode="hybrid-touch"] .og-blueprint-line {
  animation-duration: 28s;
}

/* Tier 3: Reduced Motion (Accessibility, Battery Saver, prefers-reduced-motion) */
html[data-motion-tier="reduced"] *,
html[data-motion-tier="reduced"] *::before,
html[data-motion-tier="reduced"] *::after,
html[data-motion-mode="reduced"] *,
html[data-motion-mode="reduced"] *::before,
html[data-motion-mode="reduced"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

html[data-motion-tier="reduced"] [data-og-reveal],
html[data-motion-mode="reduced"] [data-og-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html[data-motion-tier="reduced"] .og-bento-pole-card,
html[data-motion-mode="reduced"] .og-bento-pole-card,
html[data-motion-tier="reduced"] .og-card-architectural,
html[data-motion-mode="reduced"] .og-card-architectural,
html[data-motion-tier="reduced"] .og-intent-chip,
html[data-motion-mode="reduced"] .og-intent-chip {
  transform: none !important;
  transition: none !important;
}

html[data-motion-tier="reduced"] .og-bento-pole-card::after,
html[data-motion-mode="reduced"] .og-bento-pole-card::after,
html[data-motion-tier="reduced"] .og-card-architectural::after,
html[data-motion-mode="reduced"] .og-card-architectural::after {
  display: none !important;
}

html[data-motion-tier="reduced"] .og-blueprint-line,
html[data-motion-mode="reduced"] .og-blueprint-line {
  animation: none !important;
  stroke-dashoffset: 0 !important;
}

html[data-motion-tier="reduced"] .og-studio-accordion,
html[data-motion-mode="reduced"] .og-studio-accordion,
html[data-motion-tier="reduced"] .og-studio-accordion-inner,
html[data-motion-mode="reduced"] .og-studio-accordion-inner {
  transition: none !important;
  transform: none !important;
}

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

  [data-og-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .og-bento-pole-card,
  .og-card-architectural,
  .og-intent-chip {
    transform: none !important;
    transition: none !important;
  }

  .og-bento-pole-card::after,
  .og-card-architectural::after {
    display: none !important;
  }

  .og-blueprint-line {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

  .og-studio-accordion,
  .og-studio-accordion-inner {
    transition: none !important;
    transform: none !important;
  }
}

@media print {
  .ono-v3-topbar {
    display: none !important;
  }
  body.has-ono-v3-topbar {
    padding-top: 0 !important;
  }
}

/* ==========================================================================
   13. STITCH V3 ARCHITECTURAL INTERFACES (OG-HERO, OG-HUB, OG-TOOLS)
   ========================================================================== */

nav[data-stitch-v3-header="true"] {
  background-color: rgba(10, 11, 14, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55) !important;
}

nav[data-stitch-v3-header="true"] a:not(.og-ds3-client-btn):not(.bg-\[\#FFCA00\]):not(.bg-\[var\(--yellow\)\]),
nav[data-stitch-v3-header="true"] button:not(.og-ds3-client-btn):not(.bg-\[\#FFCA00\]):not(.bg-\[var\(--yellow\)\]) {
  color: #E2E8F0;
}

@media (min-width: 1024px) {
  .xl\:flex {
    display: flex !important;
  }
}

/* Explicit Stitch V3 Palette & Surface Utilities (Independent of Tailwind JIT) */
.bg-\[\#FFCA00\] {
  background-color: #FFCA00 !important;
  color: #0A0B0E !important;
}
.hover\:bg-\[\#FFD633\]:hover {
  background-color: #FFD633 !important;
  color: #0A0B0E !important;
}
.text-\[\#FFCA00\] {
  color: #FFCA00 !important;
}
.text-\[\#0A0B0E\] {
  color: #0A0B0E !important;
}
.bg-\[\#FFCA00\]\/10 {
  background-color: rgba(255, 202, 0, 0.10) !important;
}
.bg-\[\#FFCA00\]\/12 {
  background-color: rgba(255, 202, 0, 0.12) !important;
}
.bg-\[\#FFCA00\]\/15 {
  background-color: rgba(255, 202, 0, 0.15) !important;
}
.bg-\[\#FFCA00\]\/20 {
  background-color: rgba(255, 202, 0, 0.20) !important;
}
.bg-\[\#FFCA00\]\/\[0\.05\] {
  background-color: rgba(255, 202, 0, 0.06) !important;
}
.border-\[\#FFCA00\] {
  border-color: #FFCA00 !important;
}
.border-\[\#FFCA00\]\/30 {
  border-color: rgba(255, 202, 0, 0.30) !important;
}
.border-\[\#FFCA00\]\/35 {
  border-color: rgba(255, 202, 0, 0.35) !important;
}
.border-\[\#FFCA00\]\/40 {
  border-color: rgba(255, 202, 0, 0.40) !important;
}
.border-\[\#FFCA00\]\/45 {
  border-color: rgba(255, 202, 0, 0.45) !important;
}
.border-\[\#FFCA00\]\/50 {
  border-color: rgba(255, 202, 0, 0.50) !important;
}
.hover\:border-\[\#FFCA00\]:hover,
.hover\:border-\[\#FFCA00\]\/60:hover {
  border-color: rgba(255, 202, 0, 0.75) !important;
}

.bg-\[\#0A0B0E\],
.bg-\[\#0A0B0E\]\/95,
.bg-\[\#0A0B0E\]\/98 {
  background-color: #0A0B0E !important;
}
.bg-\[\#0D1017\] {
  background-color: #0D1017 !important;
}
.bg-\[\#11151E\],
.bg-\[\#11151F\],
.bg-\[\#11151F\]\/90 {
  background-color: #11151E !important;
}
.bg-\[\#121620\],
.bg-\[\#121620\]\/90 {
  background-color: #121620 !important;
}
.bg-\[\#131824\] {
  background-color: #131824 !important;
}
.bg-\[\#141822\] {
  background-color: #141822 !important;
}
.bg-\[\#161B26\] {
  background-color: #161B26 !important;
}
.bg-\[\#171C28\] {
  background-color: #171C28 !important;
}
.bg-\[\#0F1B24\] {
  background-color: #0F1B24 !important;
}

.border-t-\[3px\] {
  border-top-width: 3px !important;
}
.border-t-\[\#FFCA00\] {
  border-top-color: #FFCA00 !important;
}
.border-t-\[\#06B6D4\] {
  border-top-color: #06B6D4 !important;
}
.border-t-\[\#38BDF8\] {
  border-top-color: #38BDF8 !important;
}

.bg-cyan-500\/10,
.bg-cyan-500\/12,
.bg-cyan-500\/15 {
  background-color: rgba(6, 182, 212, 0.14) !important;
}
.border-cyan-500\/30,
.border-cyan-500\/35,
.border-cyan-500\/40,
.border-cyan-400\/50 {
  border-color: rgba(6, 182, 212, 0.45) !important;
}
.text-cyan-300,
.text-cyan-400 {
  color: #22D3EE !important;
}

.bg-sky-500\/10,
.bg-sky-500\/12,
.bg-sky-500\/15 {
  background-color: rgba(56, 189, 248, 0.14) !important;
}
.border-sky-500\/30,
.border-sky-500\/35,
.border-sky-500\/40,
.border-sky-400\/50 {
  border-color: rgba(56, 189, 248, 0.45) !important;
}
.text-sky-300,
.text-sky-400 {
  color: #38BDF8 !important;
}

.bg-emerald-500\/10 {
  background-color: rgba(16, 185, 129, 0.12) !important;
}
.border-emerald-500\/30 {
  border-color: rgba(16, 185, 129, 0.35) !important;
}
.text-emerald-400 {
  color: #34D399 !important;
}
.bg-emerald-400 {
  background-color: #34D399 !important;
}

.h-\[54px\] {
  height: 54px !important;
}

/* Remove pill circle dot on Stitch V3 architectural metric boxes */
#hero-v3-stitch .og-intent-chip {
  border-radius: 14px !important;
  padding: 12px 14px !important;
  background: #11151F !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#hero-v3-stitch .og-intent-chip::before {
  display: none !important;
}

#og-mobile-drawer a.flex {
  display: flex !important;
  padding: 0.875rem 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
#og-mobile-drawer a.h-11 {
  display: flex !important;
  padding: 0 0.75rem !important;
}
#og-mobile-drawer .text-slate-400,
nav[data-stitch-v3-header="true"] .text-slate-400 {
  color: #94A3B8 !important;
}
#og-mobile-drawer .text-slate-300,
nav[data-stitch-v3-header="true"] .text-slate-300 {
  color: #CBD5E1 !important;
}
.text-\[12\.5px\] {
  font-size: 12.5px !important;
}
.text-\[10\.5px\] {
  font-size: 10.5px !important;
}

.max-w-\[1380px\] {
  max-width: 1380px !important;
}
.max-w-\[1440px\] {
  max-width: 1440px !important;
}
.px-7 {
  padding-left: 1.75rem !important;
  padding-right: 1.75rem !important;
}
.p-7 {
  padding: 1.75rem !important;
}
.p-3\.5 {
  padding: 0.875rem !important;
}
.px-2\.5 {
  padding-left: 0.625rem !important;
  padding-right: 0.625rem !important;
}
.px-3\.5 {
  padding-left: 0.875rem !important;
  padding-right: 0.875rem !important;
}
.py-1\.5 {
  padding-top: 0.375rem !important;
  padding-bottom: 0.375rem !important;
}
.gap-1\.5 {
  gap: 0.375rem !important;
}
.gap-2\.5 {
  gap: 0.625rem !important;
}
.gap-3\.5 {
  gap: 0.875rem !important;
}
.mb-2\.5 {
  margin-bottom: 0.625rem !important;
}
.mb-7 {
  margin-bottom: 1.75rem !important;
}
.mb-14 {
  margin-bottom: 3.5rem !important;
}
.h-11 {
  height: 2.75rem !important;
}
.w-9 {
  width: 2.25rem !important;
}
.h-9 {
  height: 2.25rem !important;
}
.text-\[15px\] {
  font-size: 15px !important;
}
.text-\[13px\] {
  font-size: 13px !important;
}
.text-\[11px\] {
  font-size: 11px !important;
}
.text-\[10px\] {
  font-size: 10px !important;
}
.text-\[9px\] {
  font-size: 9px !important;
}

@media (min-width: 1024px) {
  .lg\:col-span-7 {
    grid-column: span 7 / span 7 !important;
  }
  .lg\:col-span-5 {
    grid-column: span 5 / span 5 !important;
  }
  .lg\:col-span-4 {
    grid-column: span 4 / span 4 !important;
  }
  .lg\:col-span-3 {
    grid-column: span 3 / span 3 !important;
  }
}

.og-stitch-canvas {
  background-color: #0A0B0E;
  background-image:
    radial-gradient(circle at 75% 28%, rgba(255, 202, 0, 0.065) 0%, transparent 45%),
    radial-gradient(circle at 20% 75%, rgba(6, 182, 212, 0.045) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 202, 0, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 202, 0, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.og-stitch-h1 {
  font-family: var(--ono-font-display) !important;
  font-size: clamp(2.35rem, 4.3vw, 4.05rem);
  font-weight: 800 !important;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
}

.og-stitch-h1-dashed-rule {
  width: 100%;
  max-width: 520px;
  height: 0;
  border-bottom: 2px dashed rgba(255, 202, 0, 0.32);
  margin: 18px 0 20px;
}

.og-stitch-console-shell {
  background: linear-gradient(180deg, #131722 0%, #0E111A 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid rgba(255, 202, 0, 0.55);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.75);
}

.og-stitch-console-pole {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #151A26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #FFFFFF;
  transition: transform 200ms var(--og-ease-architectural-snap), border-color 200ms var(--og-ease-architectural-snap), background-color 200ms var(--og-ease-architectural-snap);
}

.og-stitch-console-pole--studio {
  border-left: 3px solid #FFCA00;
}
.og-stitch-console-pole--studio:hover {
  border-color: rgba(255, 202, 0, 0.6);
  border-left: 3px solid #FFCA00;
  background: #191F2E;
}

.og-stitch-console-pole--cyber {
  border-left: 3px solid #06B6D4;
}
.og-stitch-console-pole--cyber:hover {
  border-color: rgba(6, 182, 212, 0.6);
  border-left: 3px solid #06B6D4;
  background: #141E2B;
}

.og-stitch-console-pole--print {
  border-left: 3px solid #38BDF8;
}
.og-stitch-console-pole--print:hover {
  border-color: rgba(56, 189, 248, 0.6);
  border-left: 3px solid #38BDF8;
  background: #141D2B;
}

.og-routing-need-btn {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #151A26;
  color: #CBD5E1;
  cursor: pointer;
  transition: all 160ms var(--og-ease-architectural-snap);
}

.og-routing-need-btn:hover {
  border-color: rgba(255, 202, 0, 0.5);
  color: #FFFFFF;
}

.og-routing-need-btn.is-active {
  background: #FFCA00;
  color: #0A0B0E;
  border-color: #FFCA00;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 202, 0, 0.25);
}

.og-routing-pole-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #121620;
  color: #94A3B8;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 180ms var(--og-ease-architectural-snap);
}

.og-routing-pole-row.is-active {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.45);
  color: #FFFFFF;
  font-weight: 700;
}

/* ==========================================================================
   16. ONOGRAPH DESIGN SYSTEM 3.0 (VALIDATED BOARDS: HERO & HUB)
   ========================================================================== */
.og-ds3-header {
  background: rgba(6, 9, 19, 0.92);
  border-bottom: 1px solid rgba(51, 65, 85, 0.65);
  backdrop-filter: blur(12px);
  overflow: visible !important;
}

.og-ds3-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.og-ds3-brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 202, 0, 0.35);
  flex-shrink: 0;
}

.og-ds3-brand-title {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  line-height: 1;
}

.og-ds3-brand-sub {
  font-family: 'Cabin', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: #FFCA00;
  margin-top: 3px;
  line-height: 1;
}

.og-ds3-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.og-ds3-nav-link {
  color: #E2E8F0;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
}

.og-ds3-nav-link:hover,
.og-ds3-nav-link:focus-visible,
.og-ds3-nav-item:hover > .og-ds3-nav-link,
.og-ds3-nav-item.is-open > .og-ds3-nav-link,
.og-ds3-nav-link.is-active {
  color: #FFCA00;
}

.og-ds3-nav-link.is-active,
.og-ds3-nav-item.is-open > .og-ds3-nav-link {
  border-bottom-color: #FFCA00;
}

.og-ds3-nav-caret {
  font-size: 11px;
  opacity: 0.8;
  display: inline-block;
  transition: transform 180ms ease, color 180ms ease;
}

.og-ds3-nav-item:hover .og-ds3-nav-caret,
.og-ds3-nav-item.is-open .og-ds3-nav-caret {
  transform: rotate(180deg);
  color: #FFCA00;
  opacity: 1;
}

/* Menus deroulants Desktop DS 3.0 (Obsidian Architectural) */
.og-ds3-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: rgba(11, 17, 27, 0.98);
  border: 1px solid rgba(255, 202, 0, 0.38);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  z-index: 120;
  white-space: normal;
}

.og-ds3-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.og-ds3-dropdown--wide {
  width: 440px;
}

.og-ds3-dropdown--right {
  left: auto;
  right: 0;
}

.og-ds3-nav-item:hover > .og-ds3-dropdown,
.og-ds3-nav-item:focus-within > .og-ds3-dropdown,
.og-ds3-nav-item.is-open > .og-ds3-dropdown {
  display: block;
}

.og-ds3-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 8px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.65);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFCA00;
}

.og-ds3-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.og-ds3-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.og-ds3-dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.og-ds3-dropdown-link:hover,
.og-ds3-dropdown-link:focus-visible {
  background: rgba(255, 202, 0, 0.08);
  border-color: rgba(255, 202, 0, 0.35);
  transform: translateX(2px);
}

.og-ds3-dropdown-link--cyber:hover,
.og-ds3-dropdown-link--cyber:focus-visible {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.45);
}

.og-ds3-dropdown-link--print:hover,
.og-ds3-dropdown-link--print:focus-visible {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.45);
}

.og-ds3-dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 202, 0, 0.12);
  border: 1px solid rgba(255, 202, 0, 0.32);
  color: #FFCA00;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

.og-ds3-dropdown-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 6px;
}

.og-ds3-dropdown-desc {
  font-size: 11.5px;
  color: #94A3B8;
  line-height: 1.35;
  margin-top: 2px;
}

.og-ds3-dropdown-footer {
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px solid rgba(51, 65, 85, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

.og-ds3-dropdown-footer a {
  font-size: 12px;
  font-weight: 700;
  color: #FFCA00;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.og-ds3-dropdown-footer a:hover {
  text-decoration: underline;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .og-ds3-nav-link {
    font-size: 13px;
  }
}

.og-ds3-search-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #101622;
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease;
}

.og-ds3-search-btn:hover {
  border-color: #FFCA00;
  color: #FFCA00;
}

.og-ds3-client-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background: #FFCA00;
  color: #1C1C1B;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 150ms ease, background-color 150ms ease;
}

.og-ds3-client-btn:hover {
  background: #FFD633;
  transform: translateY(-1px);
}

/* BG-01 Obsidian Signature (5-layer Hero Background) */
.og-ds3-hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 52% 58% at 88% 14%, rgba(255, 202, 0, 0.15), transparent 70%),
    radial-gradient(ellipse 40% 50% at 8% 45%, rgba(90, 24, 48, 0.28), transparent 72%),
    linear-gradient(135deg, #060913 0%, #101622 56%, #060913 100%);
  padding: 52px 0 60px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.55);
}

.og-ds3-wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  pointer-events: none;
  z-index: 0;
}

.og-ds3-hero-grid {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 56% 44%;
  align-items: center;
  position: relative;
  z-index: 2;
}

.og-ds3-hero-left {
  padding-right: 36px;
}

.og-ds3-eyebrow-desktop {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFCA00;
  margin-bottom: 20px;
}

.og-ds3-eyebrow-desktop::after {
  content: "";
  width: 56px;
  height: 2px;
  background: #FFCA00;
  display: inline-block;
}

.og-ds3-eyebrow-mobile-row {
  display: none;
}

.og-ds3-hero-h1 {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(36px, 4.3vw, 62px);
  line-height: 1.06 !important;
  letter-spacing: -0.015em !important;
  color: #FFFFFF;
  margin: 0 0 22px 0;
}

.og-ds3-hero-h1 em {
  font-style: normal;
  color: #FFCA00;
}

.og-ds3-hero-lead {
  font-size: 18px;
  line-height: 1.55;
  color: #CBD5E1;
  max-width: 590px;
  margin: 0 0 34px 0;
}

.og-ds3-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.og-ds3-btn-primary {
  height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  background: #FFCA00;
  color: #1C1C1B;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(255, 202, 0, 0.18);
  transition: transform 150ms ease, background-color 150ms ease;
}

.og-ds3-btn-primary:hover {
  background: #FFD633;
  transform: translateY(-1px);
}

.og-ds3-btn-secondary {
  height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  background: rgba(16, 22, 34, 0.92);
  border: 1px solid #CBD5E1;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease;
}

.og-ds3-btn-secondary:hover {
  border-color: #FFCA00;
  color: #FFCA00;
}

.og-ds3-mobile-arrow {
  display: none;
}

.og-ds3-mascot-strip {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(16, 22, 34, 0.88);
  border: 1px solid rgba(255, 202, 0, 0.28);
  max-width: 560px;
}

.og-ds3-mascot-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 202, 0, 0.45);
  background: #FFFFFF;
  flex-shrink: 0;
}

/* Console Explorer l'ecosysteme */
.og-ds3-console-card {
  background: rgba(16, 22, 34, 0.94);
  border: 1px solid rgba(255, 202, 0, 0.35);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
}

.og-ds3-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.og-ds3-console-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.og-ds3-console-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #FFCA00;
  background: rgba(255, 202, 0, 0.12);
  border: 1px solid rgba(255, 202, 0, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}

.og-ds3-console-sub-mobile {
  display: none;
}

.og-ds3-console-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.og-ds3-console-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: 16px;
  background: #0B111B;
  border: 1px solid #334155;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.og-ds3-console-item:hover {
  transform: translateY(-1px);
}

.og-ds3-console-item--studio {
  border-color: rgba(255, 202, 0, 0.55);
  background: linear-gradient(90deg, rgba(255, 202, 0, 0.10) 0%, rgba(16, 22, 34, 0.95) 55%);
}

.og-ds3-console-item--cyber {
  border-color: rgba(34, 211, 238, 0.55);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.10) 0%, rgba(16, 22, 34, 0.95) 55%);
}

.og-ds3-console-item--print {
  border-color: rgba(56, 189, 248, 0.55);
  background: linear-gradient(90deg, rgba(13, 95, 147, 0.22) 0%, rgba(16, 22, 34, 0.95) 55%);
}

.og-ds3-console-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.og-ds3-console-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.og-ds3-console-name {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
}

.og-ds3-console-desc {
  font-size: 13px;
  color: #CBD5E1;
  margin-top: 2px;
}

.og-ds3-console-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #CBD5E1;
}

/* Section Hub des Divisions (BG-02 Dark Architectural) */
.og-ds3-hub-section {
  background:
    radial-gradient(ellipse 45% 40% at 92% 8%, rgba(255, 202, 0, 0.12), transparent 70%),
    linear-gradient(180deg, #060913 0%, #0B111B 50%, #060913 100%);
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.55);
}

.og-ds3-hub-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}

.og-ds3-hub-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.og-ds3-hub-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFCA00;
  margin-bottom: 8px;
}

.og-ds3-hub-eyebrow::after {
  content: "";
  width: 48px;
  height: 2px;
  background: #FFCA00;
  display: inline-block;
}

.og-ds3-hub-h2 {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.og-ds3-hub-sub {
  font-size: 16px;
  color: #CBD5E1;
  max-width: 640px;
  margin: 0;
}

.og-ds3-seg-anchors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.og-ds3-seg-pill {
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #334155;
  background: #101622;
  color: #FFFFFF;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease;
}

.og-ds3-seg-pill:hover {
  border-color: #FFCA00;
  color: #FFCA00;
}

.og-ds3-seg-pill.is-active {
  background: #FFCA00;
  color: #1C1C1B;
  border-color: #FFCA00;
}

.og-ds3-divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.og-ds3-div-card {
  background: #101622;
  border-radius: 18px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 365px;
}

.og-ds3-div-card--studio {
  border: 1.5px solid rgba(255, 202, 0, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 202, 0, 0.25);
}

.og-ds3-div-card--cyber {
  border: 1.5px solid rgba(34, 211, 238, 0.65);
  box-shadow: inset 0 1px 0 rgba(34, 211, 238, 0.25);
}

.og-ds3-div-card--print {
  border: 1.5px solid rgba(56, 189, 248, 0.65);
  box-shadow: inset 0 1px 0 rgba(56, 189, 248, 0.25);
}

.og-ds3-div-banner {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 195px;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.88) 12%, transparent 94%);
  mask-image: linear-gradient(270deg, rgba(0, 0, 0, 0.88) 12%, transparent 94%);
  opacity: 0.65;
  pointer-events: none;
}

.og-ds3-div-top {
  position: relative;
  z-index: 2;
}

.og-ds3-div-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.og-ds3-div-title {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 32px;
  font-weight: 700 !important;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  margin: 0;
}

.og-ds3-div-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.og-ds3-div-promise {
  font-size: 16px;
  line-height: 1.45;
  color: #F8FAFC;
  max-width: 265px;
  margin: 0 0 22px 0;
}

.og-ds3-div-attrs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding: 12px 0;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
}

.og-ds3-div-attr-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid rgba(148, 163, 184, 0.2);
}

.og-ds3-div-attr-item:last-child {
  border-right: none;
}

.og-ds3-div-cta {
  position: relative;
  z-index: 2;
  height: 48px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  text-decoration: none;
  transition: transform 150ms ease, opacity 150ms ease;
}

.og-ds3-div-cta:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* Hub Bottom Row: 6 Studio Expertises + 2 SaaS Products */
.og-ds3-bottom-row {
  display: grid;
  grid-template-columns: 58% 40%;
  justify-content: space-between;
  gap: 24px;
}

.og-ds3-sub-panel {
  background: #101622;
  border: 1px solid #334155;
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.og-ds3-sub-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.og-ds3-sub-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 24px;
  font-weight: 700 !important;
  color: #FFFFFF;
  margin: 0;
}

.og-ds3-exp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.og-ds3-exp-card {
  background: #0B111B;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 16px 8px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 136px;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

.og-ds3-exp-card:hover {
  border-color: #FFCA00;
  transform: translateY(-2px);
}

.og-ds3-exp-title {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  color: #FFFFFF;
  margin-top: 10px;
}

.og-ds3-exp-sub {
  font-size: 10px;
  color: #94A3B8;
  margin-top: 4px;
}

.og-ds3-saas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.og-ds3-saas-card {
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 136px;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease;
}

.og-ds3-saas-card:hover {
  transform: translateY(-2px);
}

.og-ds3-saas-card--acasia {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.16) 0%, #0B111B 85%);
  border: 1px solid rgba(16, 185, 129, 0.55);
}

.og-ds3-saas-card--afrosalon {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.22) 0%, #0B111B 85%);
  border: 1px solid rgba(56, 189, 248, 0.55);
}

/* Responsive Breakpoints (Tablet 768px & Mobile 390px / 320px) */
@media (max-width: 1023px) {
  .og-ds3-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 24px;
  }
  .og-ds3-hero-left {
    padding-right: 0;
  }
  .og-ds3-divisions-grid {
    grid-template-columns: 1fr;
  }
  .og-ds3-bottom-row {
    grid-template-columns: 1fr;
  }
  .og-ds3-exp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .og-ds3-hero-section {
    padding: 20px 0 28px;
  }
  .og-ds3-hero-grid,
  .og-ds3-hub-container {
    padding: 0 18px;
  }
  .og-ds3-eyebrow-desktop {
    display: none;
  }
  .og-ds3-eyebrow-mobile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
  }
  .og-ds3-eyebrow-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #FFCA00;
    border: 1px solid rgba(255, 202, 0, 0.45);
    background: rgba(255, 202, 0, 0.08);
    padding: 5px 12px;
    border-radius: 999px;
  }
  .og-ds3-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 22px;
  }
  .og-ds3-btn-primary,
  .og-ds3-btn-secondary {
    width: 100%;
    height: 50px;
    justify-content: space-between;
    padding: 0 20px;
  }
  .og-ds3-mobile-arrow {
    display: inline-block;
  }
  /* Follow strict mobile vertical order (§7): Header -> Eyebrow -> H1 -> Lead -> 2 CTAs -> Console Explorer l'ecosysteme */
  .og-ds3-mascot-strip {
    display: none;
  }
  .og-ds3-console-card {
    padding: 18px 16px;
    border-radius: 20px;
    border-color: #334155;
  }
  .og-ds3-console-header {
    margin-bottom: 4px;
  }
  .og-ds3-console-badge {
    display: none;
  }
  .og-ds3-console-sub-mobile {
    display: block;
    font-size: 13px;
    color: #CBD5E1;
    margin: 0 0 14px 0;
  }
  .og-ds3-console-item {
    padding: 14px 16px;
    border-radius: 14px;
  }
  .og-ds3-exp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .og-ds3-saas-grid {
    grid-template-columns: 1fr;
  }
  .og-ds3-div-banner {
    display: none;
  }
  .og-ds3-div-card {
    min-height: auto;
    padding: 18px;
  }
}

/* Stitch V3 Mobile Drawer Layout & Scroll Fix */
#og-mobile-drawer {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#og-mobile-drawer a.flex {
  display: flex !important;
  padding: 0.75rem 0.875rem;
}
#og-mobile-drawer a.inline-flex {
  display: inline-flex !important;
  padding: 0.25rem 0;
  border-bottom: none;
}

/* ==========================================================================
   17. REGLE ABSOLUE DE CONTRASTE : AUCUN TEXTE EN BLANC SUR UN FOND JAUNE
   ========================================================================== */
.og-ds3-client-btn,
.og-ds3-client-btn:hover,
.og-ds3-client-btn *,
.og-ds3-btn-primary,
.og-ds3-btn-primary:hover,
.og-ds3-btn-primary *,
.ono-v3-btn-primary,
.ono-v3-btn-primary:hover,
.ono-v3-btn-primary *,
.og-ds3-seg-pill.is-active,
.og-routing-need-btn.is-active,
.bg-\[\#FFCA00\]:not(:hover),
.bg-\[\#FFCA00\]:not(:hover) > span,
.hover\:bg-\[\#FFD633\]:hover,
.hover\:bg-\[\#FFD633\]:hover > span,
.bg-\[var\(--yellow\)\]:not(:hover),
.hover\:bg-\[var\(--yellow\)\]:hover,
.hover\:bg-\[var\(--yellow\)\]:hover > span,
.hover\:bg-yellow-400:hover,
.hover\:bg-yellow-400:hover > span {
  color: #1C1C1B !important;
}




