    :root {
      --cream: #FAF7F2;
      --cream-dark: #F0EBE1;
      --rust: #C4603A;
      --rust-light: #D4785A;
      --rust-pale: #F2E4DC;
      --sage: #4A6741;
      --sage-light: #6A8A61;
      --sage-pale: #E4EDE2;
      --ink: #1A1410;
      --ink-soft: #3D3530;
      --ink-muted: #7A6F68;
      --white: #FFFFFF;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Source Serif 4', Georgia, serif;
      background: var(--cream);
      color: var(--ink);
      overflow-x: hidden;
    }

    /* ─── NAV ─── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.2rem 4rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(250, 247, 242, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s, box-shadow 0.3s;
    }
    nav.scrolled {
      border-bottom-color: var(--cream-dark);
      box-shadow: 0 2px 24px rgba(26,20,16,0.06);
    }
    .nav-logo img {
      height: 44px;
      width: auto;
      filter: invert(0);
    }
    .nav-links {
      display: flex;
      gap: 2.5rem;
      list-style: none;
    }
    .nav-links a {
      font-family: 'Source Serif 4', serif;
      font-size: 0.9rem;
      font-weight: 300;
      letter-spacing: 0.08em;
      color: var(--ink-soft);
      text-decoration: none;
      text-transform: uppercase;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--rust); }
    .nav-cta {
      background: var(--ink);
      color: var(--cream) !important;
      padding: 0.55rem 1.4rem;
      border-radius: 2px;
      transition: background 0.2s !important;
    }
    .nav-cta:hover { background: var(--rust) !important; color: var(--cream) !important; }

    /* ─── HERO ─── */
    #hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1.25fr;
      column-gap: 6rem;
      align-items: center;
      padding: 8rem 5rem 4rem 5rem;
      position: relative;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 65% 65% at 78% 48%, rgba(196,96,58,0.15) 0%, transparent 62%),
        radial-gradient(ellipse 45% 55% at 8% 85%, rgba(74,103,65,0.09) 0%, transparent 55%),
        radial-gradient(ellipse 35% 35% at 55% 5%, rgba(196,96,58,0.05) 0%, transparent 60%);
    }
    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 580px;
    }
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--rust);
      margin-bottom: 2rem;
      opacity: 0;
      animation: fadeUp 0.8s 0.2s forwards;
    }
    .hero-eyebrow::before {
      content: '';
      display: block;
      width: 32px;
      height: 2px;
      background: var(--rust);
    }
    h1 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(2.8rem, 5vw, 4.2rem);
      font-weight: 800;
      line-height: 1.1;
      color: var(--ink);
      margin-bottom: 1.8rem;
      opacity: 0;
      animation: fadeUp 0.8s 0.4s forwards;
    }
    h1 em {
      font-style: italic;
      color: var(--rust);
    }
    .hero-sub {
      font-size: 1.15rem;
      font-weight: 300;
      line-height: 1.75;
      color: var(--ink-soft);
      margin-bottom: 2.8rem;
      max-width: 480px;
      opacity: 0;
      animation: fadeUp 0.8s 0.6s forwards;
    }
    .hero-actions {
      display: flex;
      gap: 1rem;
      align-items: center;
      opacity: 0;
      animation: fadeUp 0.8s 0.8s forwards;
    }
    .btn-primary {
      background: var(--rust);
      color: var(--white);
      padding: 0.85rem 2rem;
      border-radius: 2px;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      transition: background 0.2s, transform 0.2s;
    }
    .btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
    .btn-ghost {
      color: var(--ink-soft);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 400;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: color 0.2s;
    }
    .btn-ghost:hover { color: var(--rust); }
    .btn-ghost::after { content: '→'; transition: transform 0.2s; }
    .btn-ghost:hover::after { transform: translateX(4px); }

    .hero-sovereignty-word {
      position: absolute;
      bottom: -0.15em;
      left: -0.02em;
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(6rem, 14vw, 13rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      color: transparent;
      -webkit-text-stroke: 1px rgba(196,96,58,0.09);
      text-stroke: 1px rgba(196,96,58,0.09);
      white-space: nowrap;
      pointer-events: none;
      user-select: none;
      z-index: 0;
      animation: fadeIn 1.6s 0.4s both;
    }
    .hero-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: var(--sage-pale);
      border: 1px solid rgba(74,103,65,0.2);
      border-radius: 100px;
      padding: 0.4rem 1rem 0.4rem 0.7rem;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--sage);
      margin-bottom: 1.8rem;
      opacity: 0;
      animation: fadeUp 0.8s 0.55s forwards;
    }
    .hero-pill-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--sage);
      flex-shrink: 0;
      animation: pulse-dot 2s ease-in-out infinite;
    }

    /* Hero visual */
    .hero-visual {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      animation: fadeIn 1.2s 0.6s forwards;
      filter: drop-shadow(0 24px 48px rgba(26,20,16,0.13));
    }
    .comparison-diagram {
      display: flex;
      align-items: flex-start;
      gap: 3rem;
      width: 100%;
    }
    .comp-side {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }
    .comp-local {
      position: relative;
    }
    .comp-local::before {
      content: '';
      position: absolute;
      inset: -20px -15px;
      background: radial-gradient(ellipse 80% 70% at 50% 55%, rgba(74,103,65,0.12) 0%, transparent 70%);
      pointer-events: none;
      z-index: -1;
    }
    .comp-vs {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 1.3rem;
      color: var(--ink-muted);
      align-self: center;
      margin-top: 3rem;
      flex-shrink: 0;
    }
    .comp-tag {
      display: inline-block;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.4rem 0.9rem;
      border-radius: 2px;
    }
    .comp-tag--bad {
      background: rgba(196,96,58,0.12);
      color: var(--rust);
      border: 1px solid rgba(196,96,58,0.25);
    }
    .comp-tag--good {
      background: var(--sage-pale);
      color: var(--sage);
      border: 1px solid rgba(74,103,65,0.2);
    }
    .comp-frame {
      border-radius: 8px;
      padding: 1.8rem 1.5rem;
      position: relative;
      min-height: 160px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }
    .comp-frame--open {
      border: 2px dashed rgba(196,96,58,0.45);
      background: rgba(196,96,58,0.05);
    }
    .comp-frame--closed {
      border: 1px solid rgba(74,103,65,0.18);
      background: linear-gradient(150deg, rgba(74,103,65,0.04) 0%, rgba(74,103,65,0.09) 100%);
      box-shadow: 0 6px 28px rgba(74,103,65,0.09), inset 0 1px 0 rgba(255,255,255,0.55);
    }
    .comp-frame-label {
      position: absolute;
      top: -0.65rem;
      left: 1rem;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink-muted);
      background: var(--cream);
      padding: 0 0.4rem;
    }
    .comp-center-node {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--ink-soft);
      background: var(--cream-dark);
      padding: 0.55rem 1.1rem;
      border-radius: 3px;
      border: 1px solid rgba(26,20,16,0.08);
    }
    .comp-leaks {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }
    .comp-leak-row {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      font-size: 0.82rem;
      color: var(--rust);
      font-weight: 400;
    }
    .comp-leak-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--rust);
      flex-shrink: 0;
      animation: leak-pulse 1.4s ease-in-out infinite;
    }
    @keyframes leak-pulse {
      0%, 100% { opacity: 0.3; transform: translateX(0); }
      50%       { opacity: 1; transform: translateX(6px); }
    }
    .comp-stack {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      width: 100%;
    }
    .comp-stack-item {
      font-size: 0.85rem;
      font-weight: 400;
      color: var(--sage);
      background: rgba(255,255,255,0.5);
      border: none;
      border-left: 2px solid rgba(74,103,65,0.35);
      border-radius: 0 3px 3px 0;
      padding: 0.45rem 0.9rem;
      text-align: left;
    }
    .comp-verdict {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-align: center;
    }
    .comp-verdict--bad { color: var(--rust); }
    .comp-verdict--good { color: var(--sage); }
    .comp-data-flow {
      width: 100%;
    }
    .data-flow-svg {
      width: 100%;
      height: auto;
      display: block;
      overflow: visible;
    }


    /* ─── SECTION GÉNÉRIQUE ─── */
    section {
      padding: 7rem 4rem;
    }
    .section-inner {
      max-width: 1100px;
      margin: 0 auto;
    }
    .section-eyebrow {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--rust);
      margin-bottom: 1rem;
    }
    h2 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 700;
      line-height: 1.2;
      color: var(--ink);
      margin-bottom: 1.5rem;
    }
    h2 em { font-style: italic; color: var(--rust); }
    .section-lead {
      font-size: 1.1rem;
      font-weight: 300;
      line-height: 1.8;
      color: var(--ink-soft);
      max-width: 620px;
    }

    /* ─── PROBLÈME ─── */
    #probleme {
      background: var(--ink);
      color: var(--cream);
    }
    #probleme h2 { color: var(--cream); }
    #probleme h2 em { color: var(--rust-light); }
    #probleme .section-eyebrow { color: var(--rust-light); }
    #probleme .section-lead { color: rgba(250,247,242,0.7); }
    .problem-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      margin-top: 4rem;
      align-items: start;
    }
    .problem-stat {
      border-left: 3px solid var(--rust);
      padding-left: 1.5rem;
      margin-bottom: 2.5rem;
    }
    .problem-stat-number {
      font-family: 'Playfair Display', serif;
      font-size: 3rem;
      font-weight: 800;
      color: var(--rust-light);
      line-height: 1;
      margin-bottom: 0.4rem;
    }
    .problem-stat-text {
      font-size: 0.95rem;
      font-weight: 300;
      color: rgba(250,247,242,0.75);
      line-height: 1.6;
    }
    .problem-quote {
      background: rgba(250,247,242,0.04);
      border: 1px solid rgba(250,247,242,0.1);
      border-radius: 4px;
      padding: 2.5rem;
      position: relative;
    }
    .problem-quote::before {
      content: '"';
      font-family: 'Playfair Display', serif;
      font-size: 6rem;
      color: var(--rust);
      opacity: 0.3;
      position: absolute;
      top: -1rem;
      left: 1.5rem;
      line-height: 1;
    }
    .problem-quote p {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      font-style: italic;
      line-height: 1.7;
      color: var(--cream);
      margin-bottom: 1rem;
    }
    .problem-quote cite {
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--rust-light);
      font-style: normal;
    }

    .problem-alert {
      display: flex;
      gap: 1.4rem;
      align-items: flex-start;
      background: rgba(196,96,58,0.08);
      border: 1px solid rgba(196,96,58,0.3);
      border-left: 4px solid var(--rust);
      border-radius: 4px;
      padding: 1.8rem 2rem;
      margin: 2.5rem 0 0;
    }
    .problem-alert-icon {
      font-size: 1.3rem;
      flex-shrink: 0;
      margin-top: 0.1rem;
      color: var(--rust-light);
    }
    .problem-alert-title {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--rust-light);
      margin-bottom: 0.6rem;
    }
    .problem-alert-body {
      font-size: 0.92rem;
      font-weight: 300;
      line-height: 1.75;
      color: rgba(250,247,242,0.8);
    }
    .problem-alert-source {
      margin-top: 0.8rem;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(250,247,242,0.3);
    }
    .problem-mechanic {
      margin-top: 1.5rem;
      background: rgba(250,247,242,0.03);
      border: 1px solid rgba(250,247,242,0.08);
      border-radius: 4px;
      padding: 1.5rem;
    }
    .problem-mechanic-title {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(250,247,242,0.35);
      margin-bottom: 1.2rem;
    }
    .problem-mechanic-step {
      display: flex;
      align-items: flex-start;
      gap: 0.9rem;
      padding-bottom: 1rem;
      margin-bottom: 1rem;
      border-bottom: 1px solid rgba(250,247,242,0.06);
      font-size: 0.88rem;
      font-weight: 300;
      color: rgba(250,247,242,0.7);
      line-height: 1.5;
    }
    .pmstep-last {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
      color: var(--rust-light);
      font-weight: 400;
    }
    .pmstep-num {
      flex-shrink: 0;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(196,96,58,0.2);
      border: 1px solid rgba(196,96,58,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 700;
      color: var(--rust-light);
      margin-top: 0.05rem;
    }

    /* ─── SOLUTION ─── */
    #solution { background: var(--cream); }
    .solution-intro {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
      margin-bottom: 5rem;
    }
    .bricks {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin-top: 0;
    }
    .brick {
      background: var(--cream-dark);
      border: 1px solid rgba(26,20,16,0.06);
      border-radius: 4px;
      padding: 2rem 1.5rem;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
      cursor: default;
    }
    .brick::before {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 3px;
      background: var(--rust);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s;
    }
    .brick:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,20,16,0.1); }
    .brick:hover::before { transform: scaleX(1); }
    .brick-icon {
      font-size: 2rem;
      margin-bottom: 1rem;
    }
    .brick-number {
      position: absolute;
      top: 1rem; right: 1.2rem;
      font-family: 'Playfair Display', serif;
      font-size: 3rem;
      font-weight: 800;
      color: var(--ink);
      opacity: 0.04;
      line-height: 1;
    }
    .brick h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.6rem;
    }
    .brick p {
      font-size: 0.88rem;
      font-weight: 300;
      line-height: 1.7;
      color: var(--ink-muted);
    }
    .brick-tag {
      display: inline-block;
      margin-top: 1rem;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--sage);
      background: var(--sage-pale);
      padding: 0.2rem 0.6rem;
      border-radius: 2px;
    }

    /* ─── COMMENT ÇA MARCHE ─── */
    #fonctionnement { background: var(--cream-dark); }
    .flow {
      display: flex;
      align-items: flex-start;
      gap: 0;
      margin-top: 4rem;
      position: relative;
    }
    .flow::before {
      content: '';
      position: absolute;
      top: 36px;
      left: 36px;
      right: 36px;
      height: 2px;
      background: linear-gradient(to right, var(--rust) 0%, var(--sage) 100%);
      opacity: 0.3;
    }
    .flow-step {
      flex: 1;
      text-align: center;
      padding: 0 1rem;
      position: relative;
    }
    .flow-dot {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: var(--cream);
      border: 2px solid var(--rust-pale);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      margin: 0 auto 1.2rem;
      position: relative;
      z-index: 1;
      transition: border-color 0.3s, transform 0.3s;
    }
    .flow-step:hover .flow-dot {
      border-color: var(--rust);
      transform: scale(1.1);
    }
    .flow-step h4 {
      font-family: 'Playfair Display', serif;
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.4rem;
    }
    .flow-step p {
      font-size: 0.82rem;
      font-weight: 300;
      line-height: 1.6;
      color: var(--ink-muted);
    }
    .flow-arrow {
      align-self: flex-start;
      margin-top: 22px;
      font-size: 1.2rem;
      color: var(--rust);
      opacity: 0.4;
      flex-shrink: 0;
    }

    /* ─── POURQUOI AVEA ─── */
    #pourquoi { background: var(--cream); }
    .values-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-top: 4rem;
    }
    .value-card {
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
      padding: 2rem;
      border: 1px solid var(--cream-dark);
      border-radius: 4px;
      transition: border-color 0.3s, background 0.3s;
    }
    .value-card:hover {
      border-color: var(--rust-pale);
      background: rgba(196,96,58,0.02);
    }
    .value-icon {
      width: 48px;
      height: 48px;
      flex-shrink: 0;
      background: var(--rust-pale);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
    }
    .value-card h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 0.4rem;
    }
    .value-card p {
      font-size: 0.88rem;
      font-weight: 300;
      line-height: 1.7;
      color: var(--ink-muted);
    }

    /* ─── CONTACT ─── */
    #contact {
      background: var(--ink);
      color: var(--cream);
      text-align: center;
    }
    #contact h2 { color: var(--cream); }
    #contact h2 em { color: var(--rust-light); }
    #contact .section-eyebrow { color: var(--rust-light); }
    .contact-sub {
      font-size: 1.05rem;
      font-weight: 300;
      color: rgba(250,247,242,0.65);
      max-width: 500px;
      margin: 0 auto 3rem;
      line-height: 1.75;
    }
    .contact-form {
      max-width: 560px;
      margin: 0 auto;
      text-align: left;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-bottom: 1rem;
    }
    .form-field {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      margin-bottom: 1rem;
    }
    .form-field label {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(250,247,242,0.5);
    }
    .form-field input,
    .form-field textarea {
      background: rgba(250,247,242,0.05);
      border: 1px solid rgba(250,247,242,0.12);
      border-radius: 2px;
      padding: 0.75rem 1rem;
      color: var(--cream);
      font-family: 'Source Serif 4', serif;
      font-size: 0.95rem;
      font-weight: 300;
      transition: border-color 0.2s, background 0.2s;
      outline: none;
    }
    .form-field input:focus,
    .form-field textarea:focus {
      border-color: var(--rust);
      background: rgba(250,247,242,0.08);
    }
    .form-field textarea {
      resize: vertical;
      min-height: 120px;
    }
    .form-submit {
      width: 100%;
      background: var(--rust);
      color: var(--white);
      border: none;
      padding: 1rem;
      border-radius: 2px;
      font-family: 'Source Serif 4', serif;
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      cursor: pointer;
      transition: background 0.2s;
    }
    .form-submit:hover { background: var(--rust-light); }
    .form-note {
      text-align: center;
      margin-top: 1rem;
      font-size: 0.78rem;
      color: rgba(250,247,242,0.35);
    }

    /* ─── FOOTER ─── */
    footer {
      background: #110E0C;
      padding: 2rem 4rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid rgba(250,247,242,0.06);
    }
    footer img { height: 28px; opacity: 0.5; filter: invert(1); }
    footer p {
      font-size: 0.78rem;
      color: rgba(250,247,242,0.3);
      font-weight: 300;
    }

    /* ─── SCROLL REVEAL ─── */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: none;
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* ─── ANIMATIONS ─── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: none; }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }


    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.5; transform: scale(0.7); }
    }

    /* ─── DEMO ─── */
    #demo {
      background: var(--ink);
      color: var(--cream);
    }
    #demo h2 { color: var(--cream); }
    #demo h2 em { color: var(--rust-light); }
    #demo .section-eyebrow { color: var(--rust-light); }
    #demo .section-lead { color: rgba(250,247,242,0.7); }

    .demo-container {
      margin-top: 3rem;
      background: rgba(250,247,242,0.03);
      border: 1px solid rgba(250,247,242,0.1);
      border-radius: 6px;
      padding: 2.5rem;
    }
    .demo-suggestions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-bottom: 1.5rem;
    }
    .demo-chip {
      font-family: 'Source Serif 4', serif;
      font-size: 0.8rem;
      font-weight: 400;
      padding: 0.45rem 1rem;
      border: 1px solid rgba(250,247,242,0.15);
      border-radius: 20px;
      color: rgba(250,247,242,0.6);
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }
    .demo-chip:hover, .demo-chip.active {
      border-color: var(--rust);
      color: var(--cream);
      background: rgba(196,96,58,0.12);
    }
    .demo-input-row {
      display: flex;
      gap: 0.75rem;
    }
    .demo-input-row input {
      flex: 1;
      background: rgba(250,247,242,0.06);
      border: 1px solid rgba(250,247,242,0.15);
      border-radius: 3px;
      padding: 0.85rem 1.2rem;
      color: var(--cream);
      font-family: 'Source Serif 4', serif;
      font-size: 0.95rem;
      font-weight: 300;
      outline: none;
      transition: border-color 0.2s;
    }
    .demo-input-row input:focus { border-color: var(--rust); }
    .demo-input-row input::placeholder { color: rgba(250,247,242,0.28); }
    .demo-input-row button {
      background: var(--rust);
      color: var(--white);
      border: none;
      padding: 0.85rem 1.8rem;
      border-radius: 3px;
      font-family: 'Source Serif 4', serif;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, opacity 0.2s;
      white-space: nowrap;
    }
    .demo-input-row button:hover { background: var(--rust-light); }
    .demo-input-row button:disabled { opacity: 0.45; cursor: not-allowed; }

    .demo-result {
      margin-top: 2rem;
      border-top: 1px solid rgba(250,247,242,0.08);
      padding-top: 2rem;
      display: none;
    }
    .demo-steps {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 2rem;
    }
    .demo-step {
      display: flex;
      align-items: center;
      gap: 1rem;
      opacity: 0.25;
      transition: opacity 0.4s;
    }
    .demo-step.active { opacity: 1; }
    .demo-step-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(250,247,242,0.2);
      flex-shrink: 0;
      transition: background 0.3s;
    }
    .demo-step.running .demo-step-dot {
      background: var(--rust);
      animation: pulse-dot 0.7s ease-in-out infinite;
    }
    .demo-step.done .demo-step-dot {
      background: var(--sage-light);
      animation: none;
    }
    .demo-step-text {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
    }
    .step-label {
      font-size: 0.9rem;
      font-weight: 400;
      color: var(--cream);
    }
    .step-detail {
      font-size: 0.75rem;
      font-weight: 300;
      color: rgba(250,247,242,0.4);
    }
    .demo-step-status {
      font-size: 0.85rem;
      width: 20px;
      text-align: right;
      color: var(--sage-light);
    }
    .demo-step.done .demo-step-status::after { content: '✓'; }
    .demo-step.running .demo-step-status::after { content: ''; }

    .demo-answer {
      background: rgba(250,247,242,0.04);
      border: 1px solid rgba(250,247,242,0.1);
      border-left: 3px solid var(--rust);
      border-radius: 0 4px 4px 0;
      padding: 1.5rem 2rem;
      opacity: 0;
      transition: opacity 0.6s;
    }
    .demo-answer.visible { opacity: 1; }
    .demo-answer-text {
      font-size: 0.95rem;
      font-weight: 300;
      line-height: 1.8;
      color: rgba(250,247,242,0.9);
      margin-bottom: 1.2rem;
    }
    .demo-answer-text strong { font-weight: 600; color: var(--cream); }
    .demo-answer-sources {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .demo-source-tag {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--sage-light);
      background: rgba(74,103,65,0.15);
      border: 1px solid rgba(74,103,65,0.2);
      padding: 0.2rem 0.6rem;
      border-radius: 2px;
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 900px) {
      nav { padding: 1rem 2rem; }
      .nav-links { display: none; }
      #hero { grid-template-columns: 1fr; padding: 7rem 2rem 3rem; }
      .hero-visual { display: none; }
      section { padding: 5rem 2rem; }
      .problem-grid { grid-template-columns: 1fr; gap: 2rem; }
      .solution-intro { grid-template-columns: 1fr; gap: 2rem; }
      .bricks { grid-template-columns: 1fr; }
      .flow { flex-direction: column; align-items: center; }
      .demo-input-row { flex-direction: column; }
      .demo-container { padding: 1.5rem; }
      .hero-sovereignty-word { font-size: clamp(3rem, 18vw, 6rem); }
      .problem-alert { flex-direction: column; gap: 0.8rem; }
      .flow::before { display: none; }
      .flow-arrow { transform: rotate(90deg); margin: 0.5rem 0; }
      .values-grid { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      footer { flex-direction: column; gap: 1rem; text-align: center; }
    }
