/* ============================================
     LINKWEEZ - Connected Systems Engineering
     Style: Stripe-inspired, technical, sober
     ============================================ */

  :root {
    --bg: #07080c;
    --bg-elevated: #0d0f15;
    --bg-card: #11141c;
    --bg-card-hover: #161a24;
    --border: #1c2030;
    --border-strong: #2a3046;
    --text: #f0f2f8;
    --text-secondary: #cdd2dd;
    --text-muted: #a8aec0;
    --accent: #6c8fff;
    --accent-strong: #8a6cff;
    --accent-soft: rgba(108, 143, 255, 0.12);
    --gradient: linear-gradient(135deg, #6c8fff 0%, #8a6cff 50%, #c66cff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(108, 143, 255, 0.15), rgba(198, 108, 255, 0.05));
    --max-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Sora', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* === Atmospheric background === */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at 15% 10%, rgba(108, 143, 255, 0.08) 0%, transparent 40%),
      radial-gradient(circle at 85% 60%, rgba(198, 108, 255, 0.06) 0%, transparent 45%),
      radial-gradient(circle at 50% 100%, rgba(138, 108, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
  }

  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  }

  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }

  /* === Navigation === */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 8, 12, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }

  .nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
  }

  .logo-name {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.01em;
  }

  .logo-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-top: 3px;
  }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }

  .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
  }

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

  .nav-cta {
    background: var(--text);
    color: var(--bg);
    padding: 9px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
  }

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

  .nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .lang-switch {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    transition: all 0.2s;
    letter-spacing: 0.05em;
  }

  .lang-switch:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-soft);
  }

  @media (max-width: 768px) {
    .nav-links { display: none; }
  }

  /* === Hero === */
  .hero {
    padding: 100px 0 80px;
    position: relative;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
  }

  .hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
  }

  .hero h1 {
    font-size: clamp(40px, 6.5vw, 84px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    max-width: 1000px;
  }

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

  .hero-sub {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 44px;
    font-weight: 400;
    line-height: 1.55;
  }

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

  .btn-primary {
    background: var(--text);
    color: var(--bg);
    padding: 14px 26px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
  }

  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(108, 143, 255, 0.25);
  }

  .btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 14px 26px;
    border-radius: 100px;
    border: 1px solid var(--border-strong);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
  }

  .btn-secondary:hover {
    border-color: var(--text-secondary);
    background: var(--bg-card);
  }

  /* Hero diagram */
  .hero-diagram {
    margin-top: 96px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
  }

  .hero-diagram::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(108, 143, 255, 0.08), transparent 60%);
    pointer-events: none;
  }

  .diagram-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
  }

  /* === Trust strip === */
  .trust-strip {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .trust-label {
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
  }

  .trust-items {
    display: flex;
    justify-content: space-around;
    gap: 32px;
    flex-wrap: wrap;
    align-items: center;
  }

  .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .trust-num {
    font-size: 38px;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .trust-desc {
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
  }

  /* === Sections === */
  section {
    padding: 120px 0;
    position: relative;
  }

  .section-header {
    max-width: 720px;
    margin-bottom: 64px;
  }

  .section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
  }

  .section-sub {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
  }

  /* === What we do === */
  .capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .capability {
    background: var(--bg-card);
    padding: 36px 32px;
    transition: background 0.25s;
    position: relative;
  }

  .capability:hover {
    background: var(--bg-card-hover);
  }

  .capability-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
  }

  .capability h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
  }

  .capability p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
  }

  /* === Stack / Architecture === */
  .stack-section {
    background: linear-gradient(180deg, transparent, rgba(13, 15, 21, 0.4), transparent);
  }

  .stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
  }

  .stack-layer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 32px;
    align-items: center;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
  }

  .stack-layer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.25s;
  }

  .stack-layer:hover {
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
  }

  .stack-layer:hover::before {
    opacity: 1;
  }

  .stack-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
  }

  .stack-name {
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
  }

  .stack-desc {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 400;
  }

  .stack-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .tag {
    padding: 4px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
  }

  @media (max-width: 768px) {
    .stack-layer {
      grid-template-columns: 1fr;
      gap: 12px;
    }
  }

  /* === Prototype to Production timeline === */
  .timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 56px;
    position: relative;
  }

  .timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-strong), transparent);
  }

  .timeline-step {
    text-align: center;
    position: relative;
    padding: 0 12px;
  }

  .timeline-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    color: var(--accent);
    font-weight: 500;
    transition: all 0.3s;
  }

  .timeline-step:hover .timeline-node {
    background: var(--accent-soft);
    border-color: var(--accent);
    transform: scale(1.08);
  }

  .timeline-step h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
  }

  .timeline-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 400;
  }

  @media (max-width: 768px) {
    .timeline {
      grid-template-columns: 1fr;
      gap: 24px;
    }
    .timeline::before {
      display: none;
    }
  }

  /* === Industries === */
  .industries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }

  .industry {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.25s;
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .industry:hover {
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
  }

  .industry-icon {
    color: var(--accent);
    margin-bottom: 18px;
  }

  .industry h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .industry p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.55;
    font-weight: 400;
  }

  /* === Why Linkweez === */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
  }

  .why-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-soft), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .why-card:hover::after {
    opacity: 1;
  }

  .why-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
  }

  .why-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  .why-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
    font-weight: 400;
  }

  /* === Offices === */
  .offices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .office {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.25s;
  }

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

  .office-flag {
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
  }

  .office-city {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
  }

  .office-role {
    font-size: 15px;
    color: var(--accent);
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
  }

  .office-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
  }

  /* === CTA section === */
  .cta-section {
    margin: 80px 0;
  }

  .cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 80% at 50% 0%, rgba(108, 143, 255, 0.15), transparent 60%),
      radial-gradient(ellipse 80% 60% at 50% 100%, rgba(198, 108, 255, 0.08), transparent 60%);
    pointer-events: none;
  }

  .cta-card h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    position: relative;
  }

  .cta-card p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    position: relative;
  }

  /* === Footer === */
  footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 40px;
    margin-top: 80px;
  }

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

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

  /* === Partners block === */
  .footer-partners {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding: 28px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .partner-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .partner-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
  }

  .partner-link {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
  }

  .partner-link:hover {
    color: var(--accent);
  }

  /* === Cookie banner === */
  .cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 560px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 24px;
    z-index: 1000;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .cookie-banner.visible {
    transform: translateY(0);
  }

  .cookie-banner h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .cookie-banner h4::before {
    content: '🍪';
    font-size: 18px;
  }

  .cookie-banner p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.55;
    font-weight: 400;
  }

  .cookie-banner p a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(108, 143, 255, 0.4);
  }

  .cookie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .cookie-btn {
    padding: 9px 16px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: inherit;
  }

  .cookie-btn-primary {
    background: var(--text);
    color: var(--bg);
  }

  .cookie-btn-primary:hover {
    background: var(--accent);
    color: var(--text);
  }

  .cookie-btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
  }

  .cookie-btn-secondary:hover {
    border-color: var(--text-secondary);
  }

  .cookie-btn-text {
    background: transparent;
    color: var(--text-secondary);
  }

  .cookie-btn-text:hover {
    color: var(--text);
  }

  /* === Cookie preferences modal === */
  .cookie-prefs {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
  }

  .cookie-prefs.open {
    display: flex;
  }

  .cookie-pref-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }

  .cookie-pref-row:last-child {
    border-bottom: none;
  }

  .cookie-pref-info {
    flex: 1;
  }

  .cookie-pref-info strong {
    font-size: 15px;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
  }

  .cookie-pref-info span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.4;
  }

  /* Toggle switch */
  .toggle {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
  }

  .toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border-strong);
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s;
  }

  .toggle-slider::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--text);
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
  }

  .toggle input:checked + .toggle-slider {
    background: var(--accent);
  }

  .toggle input:checked + .toggle-slider::before {
    transform: translateX(16px);
  }

  .toggle input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* === Legal modal === */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 8, 12, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.25s;
  }

  .modal-overlay.open {
    display: flex;
    opacity: 1;
  }

  .modal {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1;
  }

  .modal-close:hover {
    background: var(--bg);
    color: var(--text);
  }

  .modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
  }

  .modal-body h4 {
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
  }

  .modal-body h4:first-child {
    margin-top: 0;
  }

  .modal-body p {
    margin-bottom: 12px;
  }

  .modal-body ul {
    margin: 8px 0 12px 20px;
  }

  .modal-body li {
    margin-bottom: 6px;
  }

  .modal-body a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(108, 143, 255, 0.3);
  }

  .modal-body a:hover {
    border-bottom-color: var(--accent);
  }

  .modal-body code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    background: var(--bg);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
  }

  /* Scrollbar styling for modal */
  .modal-body::-webkit-scrollbar {
    width: 8px;
  }
  .modal-body::-webkit-scrollbar-track {
    background: transparent;
  }
  .modal-body::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 4px;
  }

  @media (max-width: 600px) {
    .cookie-banner {
      left: 12px;
      right: 12px;
      bottom: 12px;
      padding: 20px;
    }
    .footer-partners {
      flex-direction: column;
      gap: 20px;
    }
  }

  .footer-brand p {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 15px;
    max-width: 280px;
    line-height: 1.6;
  }

  .footer-col h5 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 18px;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
  }

  .footer-col ul {
    list-style: none;
  }

  .footer-col li {
    margin-bottom: 10px;
  }

  .footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
  }

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

  .footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
  }

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

  /* === Contact form === */
  .contact-form {
    margin-top: 36px;
    text-align: left;
    position: relative;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

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

  @media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
  }

  .form-field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
  }

  .form-field label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 8px;
  }

  .form-field input[type="text"],
  .form-field input[type="email"],
  .form-field select,
  .form-field textarea {
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
  }

  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-card);
  }

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

  .form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a7adc0' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
  }

  .form-field select option {
    background: var(--bg);
    color: var(--text);
  }

  .form-field textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
  }

  .form-consent {
    margin-top: 8px;
  }

  .checkbox-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    font-family: inherit !important;
    line-height: 1.5;
  }

  .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
  }

  .checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(108, 143, 255, 0.4);
  }

  .form-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .form-actions .btn-primary {
    cursor: pointer;
    border: none;
    font-family: inherit;
  }

  .form-actions .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .form-alt {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }

  .form-alt:hover {
    color: var(--text);
    border-bottom-color: var(--text-secondary);
  }

  .form-message {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: none;
  }

  .form-message.success {
    display: block;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #86efac;
  }

  .form-message.error {
    display: block;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #fca5a5;
  }
  /* === Social Follow Banner === */
  .social-banner {
    margin: 0 auto;
    padding: 60px 0;
  }
  
  .social-banner-card {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 56px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .social-banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
  }
  
  .social-banner-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 500;
  }
  
  .social-banner h3 {
    color: var(--text);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.15;
  }
  
  .social-banner p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.55;
    max-width: 500px;
    margin: 0 auto 28px;
    font-weight: 400;
  }
  
  .social-banner-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .social-btn-primary, .social-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 100px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
  }
  
  .social-btn-primary {
    background: var(--text);
    color: var(--bg);
    border: 1px solid var(--text);
  }
  
  .social-btn-primary:hover {
    background: var(--accent);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 143, 255, 0.3);
  }
  
  .social-btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
  }
  
  .social-btn-secondary:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
  }
  
  .social-btn-primary svg, .social-btn-secondary svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
  }
  
  @media (max-width: 640px) {
    .social-banner-card {
      padding: 40px 24px;
    }
    .social-banner h3 {
      font-size: 26px;
    }
  }


  
  /* === Mobile hamburger menu === */
  .mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
  }

  .mobile-menu-toggle:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
  }

  .mobile-menu-toggle svg {
    width: 22px;
    height: 22px;
    stroke: var(--text);
  }

  .mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 8, 12, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s;
  }

  .mobile-menu-overlay.open {
    display: block;
    opacity: 1;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 360px;
    background: var(--bg-elevated);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    overflow-y: auto;
    border-left: 1px solid var(--border);
  }

  .mobile-menu.open {
    transform: translateX(0);
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
  }

  .mobile-menu-close {
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s;
  }

  .mobile-menu-close:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
  }

  .mobile-menu-body {
    padding: 20px 24px 40px;
  }

  .mobile-menu-section {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }

  .mobile-menu-section:last-of-type {
    border-bottom: none;
  }

  .mobile-menu-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 14px;
  }

  .mobile-menu a {
    display: block;
    color: var(--text);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }

  .mobile-menu a:hover {
    color: var(--accent);
  }

  .mobile-menu-lang {
    display: flex;
    gap: 8px;
    margin-top: 10px;
  }

  .mobile-menu-lang a {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
  }

  .mobile-menu-lang a.active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
  }

  .mobile-menu-cta {
    display: block;
    background: var(--text);
    color: var(--bg) !important;
    padding: 14px 22px !important;
    border-radius: 100px !important;
    text-align: center;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-top: 24px;
    border-bottom: none !important;
    transition: all 0.2s;
  }

  .mobile-menu-cta:hover {
    background: var(--accent) !important;
    color: var(--text) !important;
  }

  /* === Trust strip ENRICHED with 4 stats === */
  .trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .trust-stat {
    text-align: center;
    padding: 0 8px;
  }

  .trust-stat-number {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1.1;
    margin-bottom: 8px;
  }

  .trust-stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    line-height: 1.4;
  }

  @media (max-width: 768px) {
    .trust-stats {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }

  /* === Markets section === */
  .markets-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
  }

  .markets-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
  }

  @media (max-width: 900px) {
    .markets-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  }

  .markets-text h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }

  .markets-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .markets-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
  }

  .markets-region {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--text);
  }

  .markets-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
  }

  .markets-map svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* === Founders section === */
  .founders-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
  }

  .founders-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: center;
    margin-top: 40px;
    max-width: 900px;
  }

  @media (max-width: 768px) {
    .founders-grid {
      grid-template-columns: 1fr;
      gap: 32px;
      text-align: center;
    }
  }

  .founder-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
  }

  .founder-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 143, 255, 0.15) 0%, transparent 50%, rgba(198, 108, 255, 0.15) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .founder-name {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
  }

  .founder-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 20px;
  }

  .founder-bio {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .founder-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
  }

  .founder-linkedin:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-1px);
  }

  .founder-linkedin svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
  }

  .team-note {
    margin-top: 32px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    border-left: 3px solid var(--accent);
    max-width: 900px;
  }

  .team-note p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
  }

  @media (max-width: 768px) {
    .team-note { margin-top: 24px; }
  }

  /* === Intermediate CTA === */
  .mid-cta {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    text-align: center;
  }

  .mid-cta-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 32px;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
  }

  .mid-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(108, 143, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
  }

  .mid-cta-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 500;
    position: relative;
  }

  .mid-cta-card h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    position: relative;
  }

  .mid-cta-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }

  .mid-cta-card .btn-primary {
    position: relative;
  }

  /* === Stack mobile : mini-intro + ordre conservé === */
  .stack-mobile-intro {
    display: none;
    margin-bottom: 28px;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
  }

  .stack-mobile-intro p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
  }

  @media (max-width: 768px) {
    .stack-mobile-intro {
      display: block;
    }
  }

  /* === Hero diagram VERTICAL on mobile (architecture) === */
  @media (max-width: 768px) {
    .hero-diagram {
      padding: 20px !important;
    }

    .diagram-svg-wrapper {
      display: none !important;
    }

    .diagram-mobile {
      display: flex !important;
    }
  }

  .diagram-mobile {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
  }

  .diagram-layer-mobile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    position: relative;
  }

  .diagram-layer-mobile::after {
    content: '↓';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 16px;
    opacity: 0.6;
  }

  .diagram-layer-mobile:last-child::after {
    display: none;
  }

  .diagram-icon-mobile {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--accent-soft);
    border: 1px solid var(--accent);
  }

  .diagram-icon-mobile svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
  }

  .diagram-text-mobile {
    flex: 1;
  }

  .diagram-label-mobile {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
  }

  .diagram-sub-mobile {
    font-size: 13px;
    color: var(--text-secondary);
  }

  /* === Phone field hint === */
  .field-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    font-style: italic;
  }

  /* === Override nav for mobile === */
  @media (max-width: 768px) {
    .nav-links {
      display: none !important;
    }

    .nav-right {
      gap: 10px !important;
    }

    .nav-right .lang-switch,
    .nav-right .nav-cta {
      display: none !important;
    }

    .mobile-menu-toggle {
      display: flex !important;
    }
  }


  /* === Animations === */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
  }

  .reveal-1 { animation-delay: 0.05s; }
  .reveal-2 { animation-delay: 0.15s; }
  .reveal-3 { animation-delay: 0.25s; }
  .reveal-4 { animation-delay: 0.35s; }
  .reveal-5 { animation-delay: 0.5s; }

  /* Pulse animation for node */
  @keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
  }

  .pulse {
    animation: pulse 2.5s ease-in-out infinite;
  }

  /* === Markets section v2.0 (Option C - 3 cards bureau) === */
  #markets {
    padding: 100px 0;
  }
  
  .markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 48px auto 32px;
    max-width: 1100px;
  }
  
  .market-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .market-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    background: var(--bg-elevated);
  }
  
  .market-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
  }
  
  .market-card-london .market-card-accent {
    background: linear-gradient(90deg, #6c8fff, #6c8fff 50%, transparent);
  }
  
  .market-card-singapore .market-card-accent {
    background: linear-gradient(90deg, #c66cff, #c66cff 50%, transparent);
  }
  
  .market-card-paris .market-card-accent {
    background: linear-gradient(90deg, #8a6cff, #8a6cff 50%, transparent);
  }
  
  .market-flag {
    font-size: 40px;
    margin-bottom: 16px;
    line-height: 1;
  }
  
  .market-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .market-card-london .market-eyebrow { color: #6c8fff; }
  .market-card-singapore .market-eyebrow { color: #c66cff; }
  .market-card-paris .market-eyebrow { color: #8a6cff; }
  
  .market-city {
    color: var(--text);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
  }
  
  .market-coverage {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 18px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
  }
  
  .market-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
  }
  
  .markets-regions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
  }
  
  .region-pill {
    padding: 7px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    background: var(--bg-card);
  }
  
  @media (max-width: 900px) {
    .markets-grid {
      grid-template-columns: 1fr;
      max-width: 480px;
    }
    .market-card {
      padding: 28px 24px;
    }
  }

  /* ============================================================
     === MODULE D'ACCESSIBILITÉ
     ============================================================ */

  /* --- Lien d'évitement (visible uniquement au clavier) --- */
  .skip-link {
    position: absolute;
    left: 50%;
    top: -60px;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 12px 22px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    transition: top .18s ease;
  }
  .skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: -6px;
  }

  /* --- Bouton dans la barre de navigation --- */
  .a11y-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: color .2s, border-color .2s, background .2s;
    flex-shrink: 0;
  }
  .a11y-btn:hover,
  .a11y-btn[aria-expanded="true"] {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-soft);
  }
  .a11y-btn svg { width: 16px; height: 16px; fill: currentColor; display: block; }

  /* --- Panneau de réglages --- */
  .a11y-panel {
    position: fixed;
    top: 76px;
    right: 24px;
    width: 300px;
    max-width: calc(100vw - 32px);
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    padding: 20px;
    z-index: 900;
    display: none;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
  }
  html[dir="rtl"] .a11y-panel { right: auto; left: 24px; }
  .a11y-panel.open { display: block; }
  .a11y-panel h2 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--text);
  }
  .a11y-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--text-secondary);
  }
  .a11y-row:first-of-type { border-top: none; }
  .a11y-size { display: flex; gap: 6px; }
  .a11y-size button,
  .a11y-switch {
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text);
    border-radius: 7px;
    cursor: pointer;
    font-family: inherit;
  }
  .a11y-size button { width: 30px; height: 28px; font-size: 15px; line-height: 1; }
  .a11y-switch { padding: 5px 12px; font-size: 12px; min-width: 62px; }
  .a11y-size button:hover,
  .a11y-switch:hover { border-color: var(--accent); background: var(--accent-soft); }
  .a11y-switch[aria-pressed="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  .a11y-reset {
    width: 100%;
    margin-top: 16px;
    padding: 9px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
  }
  .a11y-reset:hover { color: var(--text); border-color: var(--accent); }
  .a11y-statement {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
  }
  .a11y-statement:hover { color: var(--accent); }

  /* --- Préférences appliquées au document --- */
  html.a11y-contrast {
    --text-secondary: #e8eaf0;
    --text-muted: #c2c7d4;
    --border: rgba(255,255,255,.28);
    --border-strong: rgba(255,255,255,.45);
  }
  html.a11y-contrast body { background: #05060a; }
  html.a11y-contrast a:not(.btn-primary):not(.btn-secondary) { text-decoration: underline; }

  html.a11y-motion *,
  html.a11y-motion *::before,
  html.a11y-motion *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

  html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }

  html.a11y-spacing body {
    letter-spacing: .04em;
    word-spacing: .1em;
    line-height: 2;
  }

  /* Respect du réglage système */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: .001ms !important;
      transition-duration: .001ms !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
  }

  /* Focus visible partout, sans exception */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
  }

  @media (max-width: 1100px) {
    .a11y-panel { top: 70px; right: 16px; }
    html[dir="rtl"] .a11y-panel { left: 16px; right: auto; }
  }
