  :root{
    --cream:#F6F1E6;
    --cream-2:#EDE5D2;
    --paper:#FFFFFF;
    --ink:#17140E;
    --ink-soft:#514A3B;
    --ink-dim:#8B8371;
    --line:#E1D8C3;
    --line-soft:#EAE2CD;
    --orange:#E36134;
    --orange-dim:#F7DCCB;
    --green:#2E7D53;
    --green-soft:#E4EEDF;
    --amber:#C4791B;
    --amber-soft:#F3E6CE;
    --red:#B8493F;
    --blue:#4C6FA0;
    --dark:#17140E;
    --dark-2:#211D14;
    --dark-line:#332D20;
    --dark-text:#F2EDE1;
    --dark-text-muted:#A69C86;
    --font-display:'Space Grotesk',sans-serif;
    --font-body:'Inter',sans-serif;
    --font-mono:'IBM Plex Mono',monospace;
    --container:1220px;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--cream);
    color:var(--ink);
    font-family:var(--font-body);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  img,svg{display:block; max-width:100%;}
  a{color:inherit; text-decoration:none;}
  ul{list-style:none;}

  ::selection{background:var(--orange); color:#fff;}

  a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible{
    outline:2px solid var(--orange);
    outline-offset:3px;
    border-radius:4px;
  }

  .wrap{
    max-width:var(--container);
    margin:0 auto;
    padding:0 32px;
  }

  h1,h2,h3,h4{
    font-family:var(--font-display);
    font-weight:600;
    letter-spacing:-0.015em;
    line-height:1.06;
    color:var(--ink);
  }

  .mono{font-family:var(--font-mono); letter-spacing:0.02em;}

  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-family:var(--font-mono);
    font-size:12px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--orange);
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:'';
    width:6px; height:6px;
    border-radius:50%;
    background:var(--orange);
  }
  .eyebrow.on-dark{color:#F0B08E;}
  .eyebrow.on-dark::before{background:#F0B08E;}

  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:14px 26px;
    border-radius:999px;
    font-weight:600;
    font-size:14.5px;
    cursor:pointer;
    border:1px solid transparent;
    transition:transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--orange);
    color:#fff;
  }
  .btn-primary:hover{
    box-shadow:0 8px 20px -6px rgba(227,97,52,0.55);
    transform:translateY(-1px);
  }
  .btn-ghost{
    background:transparent;
    color:var(--ink);
  }
  .btn-ghost:hover{color:var(--orange);}
  .btn-outline{
    background:var(--paper);
    color:var(--ink);
    border-color:var(--line);
  }
  .btn-outline:hover{border-color:var(--ink-dim);}
  .btn-sm{padding:10px 20px; font-size:13.5px;}
  .btn-block{width:100%;}

  /* ---------- NAV ---------- */
  header{
    position:fixed;
    top:0; left:0; right:0;
    z-index:100;
    padding-top:18px;
    transition:padding .25s ease;
  }
  header.scrolled{padding-top:12px;}
  header.scrolled .nav-shell{
    background:rgba(246,241,230,0.86);
    backdrop-filter:blur(14px);
    border-color:var(--line);
  }
  .nav-shell{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:64px;
    padding:0 10px 0 22px;
    border-radius:999px;
    border:1px solid transparent;
    transition:background .25s ease, border-color .25s ease;
  }
  .logo{
    display:flex;
    align-items:center;
    gap:9px;
    font-family:var(--font-display);
    font-weight:600;
    font-size:17px;
    letter-spacing:-0.01em;
    color:var(--ink);
  }
  .logo .mark{
    width:26px; height:26px;
    border-radius:7px;
    background:var(--ink);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .logo .mark svg{width:14px; height:14px;}

  .nav-pill{
    display:flex;
    align-items:center;
    gap:2px;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:999px;
    padding:5px;
  }
  .nav-pill a{
    padding:9px 16px;
    border-radius:999px;
    font-size:13.5px;
    font-weight:500;
    color:var(--ink-soft);
    transition:background .15s ease, color .15s ease;
  }
  .nav-pill a:hover{color:var(--ink);}
  .nav-pill a.active{background:var(--cream-2); color:var(--orange);}

  .nav-cta{display:flex; align-items:center; gap:18px;}
  .nav-cta .talk{font-size:14px; font-weight:500; color:var(--ink-soft);}
  .nav-cta .talk:hover{color:var(--ink);}
  .nav-toggle{
    display:none;
    width:40px; height:40px;
    align-items:center; justify-content:center;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:999px;
    cursor:pointer;
    color:var(--ink);
    flex-shrink:0;
  }
  .nav-toggle svg{width:17px; height:17px;}

  .mobile-menu{
    display:none;
    position:fixed;
    top:88px; left:16px; right:16px;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:20px;
    box-shadow:0 20px 40px -18px rgba(23,20,14,0.25);
    padding:10px 20px 20px;
    flex-direction:column;
    z-index:99;
  }
  .mobile-menu.open{display:flex;}
  .mobile-menu a{
    padding:14px 2px;
    font-size:15.5px;
    color:var(--ink-soft);
    border-bottom:1px solid var(--line-soft);
  }
  .mobile-menu a:last-of-type{border-bottom:none;}
  .mobile-menu a:hover{color:var(--ink);}
  .mobile-menu .btn{margin-top:14px;}

  @media(max-width:940px){
    .nav-pill{display:none;}
    .nav-cta .talk{display:none;}
    .nav-toggle{display:flex;}
  }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    padding:158px 0 0;
  }
  .hero.hero-secondary{padding-top:88px;}
  .hero-inner{
    position:relative;
    text-align:center;
    max-width:900px;
    margin:0 auto;
  }
  .hero h1{
    font-size:clamp(38px, 6vw, 70px);
    letter-spacing:-0.025em;
  }
  .hero p.lead{
    margin:22px auto 0;
    font-size:17.5px;
    line-height:1.65;
    color:var(--ink-soft);
    max-width:560px;
  }
  .hero-ctas{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin-top:34px;
    flex-wrap:wrap;
  }
  .hero-note{
    margin-top:20px;
    font-family:var(--font-mono);
    font-size:12px;
    color:var(--ink-dim);
    letter-spacing:0.02em;
  }

  /* ---------- PRODUCT REEL PANEL (top of page) ---------- */
  .demo-section{padding:150px 0 64px;}
  .demo-panel{
    position:relative;
    max-width:var(--container);
    margin:0 auto;
    border-radius:32px;
    background:var(--dark);
    overflow:hidden;
    padding:8px;
    box-shadow:0 50px 90px -40px rgba(23,20,14,0.5);
  }
  .demo-panel-label{
    display:flex; align-items:center; gap:8px;
    padding:14px 18px 10px;
    font-family:var(--font-mono); font-size:11px; letter-spacing:0.1em; text-transform:uppercase;
    color:#7CD9A8;
  }
  .demo-panel-label .dot{width:6px; height:6px; border-radius:50%; background:#7CD9A8; animation:pulse 1.8s infinite;}
  @media(prefers-reduced-motion:reduce){ .demo-panel-label .dot{animation:none;} }

  .reel-stage{
    position:relative;
    border-radius:24px;
    background:var(--dark-2);
    overflow:hidden;
    min-height:440px;
  }

  /* Actual product-walkthrough video (replaces the animated mockup frames below) */
  .reel-stage.reel-stage-video{min-height:0; aspect-ratio:16/9;}
  .reel-video{display:block; width:100%; height:100%; object-fit:cover; background:#000;}

  .reel-frame{
    position:absolute; inset:0;
    padding:44px 48px;
    display:flex; flex-direction:column; justify-content:center;
    opacity:0;
    animation:reel-cycle 16s infinite;
  }
  .reel-frame.rf1{animation-delay:0s;}
  .reel-frame.rf2{animation-delay:-4s;}
  .reel-frame.rf3{animation-delay:-8s;}
  .reel-frame.rf4{animation-delay:-12s;}
  @keyframes reel-cycle{
    0%{opacity:0; transform:translateY(10px);}
    3%{opacity:1; transform:translateY(0);}
    22%{opacity:1; transform:translateY(0);}
    25%{opacity:0; transform:translateY(-10px);}
    100%{opacity:0;}
  }

  .reel-open{max-width:640px; margin:0 auto; text-align:center;}
  .reel-open-title{
    margin-top:18px; font-family:var(--font-display); font-weight:600;
    font-size:clamp(22px, 3.2vw, 33px); line-height:1.2; letter-spacing:-0.02em; color:var(--dark-text);
  }
  .reel-open-lead{margin-top:16px; font-size:14.5px; line-height:1.7; color:var(--dark-text-muted);}

  .reel-screen{
    width:100%; max-width:440px; margin:0 auto;
    background:var(--dark); border:1px solid var(--dark-line); border-radius:16px;
    padding:22px 24px;
  }
  .reel-screen-head{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;}
  .reel-tag{
    font-family:var(--font-mono); font-size:10px; letter-spacing:0.06em; text-transform:uppercase;
    color:#7CD9A8; background:rgba(124,217,168,0.1); border:1px solid rgba(124,217,168,0.28);
    padding:3px 8px; border-radius:5px;
  }
  .reel-tag.amber{color:#F0B08E; background:rgba(240,176,142,0.1); border-color:rgba(240,176,142,0.3);}
  .reel-id{font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.06em; color:var(--dark-text-muted);}
  .reel-row{display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid var(--dark-line);}
  .reel-row:last-of-type{border-bottom:none;}
  .reel-row .l{font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.05em; text-transform:uppercase; color:var(--dark-text-muted); flex-shrink:0;}
  .reel-row .v{font-size:13.5px; color:var(--dark-text); font-weight:500; text-align:right;}
  .reel-row.highlight .v s{color:var(--dark-text-muted); font-weight:400; margin-right:5px;}
  .reel-row.highlight .v b{color:#7CD9A8;}
  .reel-row.highlight .v em{
    font-style:normal; margin-left:7px; font-family:var(--font-mono); font-size:9px; letter-spacing:0.05em; text-transform:uppercase;
    color:#F0B08E; background:rgba(240,176,142,0.12); border:1px solid rgba(240,176,142,0.32); padding:2px 6px; border-radius:4px;
  }
  .reel-sig{margin-top:16px; padding-top:16px; border-top:1px solid var(--dark-line); font-size:11.5px; line-height:1.6; color:var(--dark-text-muted); display:flex; align-items:flex-start; gap:8px;}
  .reel-sig .dot-check{color:#7CD9A8; font-weight:700; flex-shrink:0;}
  .reel-tick{padding:10px 0; border-bottom:1px solid var(--dark-line); font-family:var(--font-mono); font-size:11px; color:var(--dark-text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
  .reel-tick:last-child{border-bottom:none;}

  .reel-progress{position:relative; z-index:2; display:flex; gap:6px; justify-content:center; padding:16px 0 20px;}
  .reel-progress span{position:relative; width:26px; height:3px; border-radius:2px; background:var(--dark-line); overflow:hidden;}
  .reel-progress span i{position:absolute; inset:0; background:#7CD9A8; opacity:0; animation:reel-cycle 16s infinite;}
  .reel-progress .rf1 i{animation-delay:0s;}
  .reel-progress .rf2 i{animation-delay:-4s;}
  .reel-progress .rf3 i{animation-delay:-8s;}
  .reel-progress .rf4 i{animation-delay:-12s;}

  @media(prefers-reduced-motion:reduce){
    .reel-frame{animation:none; opacity:0; position:relative; display:none;}
    .reel-frame.rf1{opacity:1; display:flex;}
    .reel-progress{display:none;}
  }
  @media(max-width:760px){
    .reel-stage{min-height:520px;}
    .reel-frame{padding:36px 26px;}
  }
  @media(max-width:640px){
    .demo-section{padding:126px 0 44px;}
    .demo-panel{border-radius:22px;}
    .reel-stage{border-radius:16px; min-height:560px;}
    .reel-frame{padding:30px 20px;}
  }

  /* ---------- HERO SCREEN PANEL (signature element) ---------- */
  .hero-screen{
    position:relative;
    margin:56px auto 0;
    max-width:var(--container);
    border-radius:32px;
    background:var(--dark);
    overflow:hidden;
    box-shadow:0 50px 90px -40px rgba(23,20,14,0.5);
  }
  .hero-screen-grid{
    position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size:48px 48px;
    -webkit-mask-image:radial-gradient(600px 400px at 50% 30%, black, transparent 85%);
    mask-image:radial-gradient(600px 400px at 50% 30%, black, transparent 85%);
  }
  .hero-screen-body{
    position:relative;
    padding:56px 24px 0;
    display:flex;
    justify-content:center;
  }

  .doc-card{
    position:relative;
    background:var(--dark-2);
    border:1px solid var(--dark-line);
    border-radius:18px;
    padding:26px 26px 24px;
    width:100%;
    max-width:420px;
    box-shadow:0 30px 60px -24px rgba(0,0,0,0.6);
    animation:doc-settle .9s cubic-bezier(.16,1,.3,1) both;
    animation-delay:.1s;
  }
  @keyframes doc-settle{
    from{opacity:0; transform:translateY(22px) scale(.97);}
    to{opacity:1; transform:translateY(0) scale(1);}
  }
  @media(prefers-reduced-motion:reduce){ .doc-card{animation:none;} }
  .doc-head{
    display:flex; align-items:center; justify-content:space-between;
    font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase;
  }
  .doc-head .cc{color:var(--dark-text-muted);}
  .doc-head .id{color:#F0B08E;}
  .doc-title{margin-top:12px; font-size:17px; font-weight:600; color:var(--dark-text); font-family:var(--font-display);}
  .doc-fields{
    margin-top:18px;
    display:grid; grid-template-columns:1fr 1fr; gap:14px 16px;
    padding-bottom:18px; border-bottom:1px solid var(--dark-line);
  }
  .doc-field .l{font-family:var(--font-mono); font-size:9.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--dark-text-muted);}
  .doc-field .v{margin-top:4px; font-size:13px; color:var(--dark-text);}
  .doc-correction{padding:18px 0; border-bottom:1px solid var(--dark-line);}
  .doc-correction .l{font-family:var(--font-mono); font-size:9.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--dark-text-muted);}
  .doc-correction .row{
    margin-top:8px; display:flex; align-items:center; gap:10px; flex-wrap:wrap;
    font-family:var(--font-mono); font-size:14.5px;
  }
  .doc-correction .old{color:var(--dark-text-muted); text-decoration:line-through;}
  .doc-correction .new{color:#7CD9A8; font-weight:600;}
  .doc-correction .pill{
    font-family:var(--font-mono); font-size:9.5px; letter-spacing:0.06em; text-transform:uppercase;
    color:#F0B08E; background:rgba(240,176,142,0.12); border:1px solid rgba(240,176,142,0.32);
    padding:2px 7px; border-radius:4px;
  }
  .doc-correction .note{margin-top:8px; font-size:11.5px; color:var(--dark-text-muted); line-height:1.6;}
  .doc-sig{padding-top:18px; display:flex; align-items:center; justify-content:space-between; gap:16px;}
  .doc-sig .l{font-family:var(--font-mono); font-size:9.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--dark-text-muted);}
  .doc-sig .name{margin-top:6px; font-size:14.5px; font-weight:600; color:var(--dark-text);}
  .doc-sig .meaning{margin-top:4px; font-size:12px; color:var(--dark-text-muted);}
  .doc-stamp-mini{width:44px; height:44px; flex-shrink:0;}
  .doc-stamp-mini circle{fill:none; stroke:#7CD9A8; stroke-width:1.4;}
  .doc-stamp-mini .check{stroke:#7CD9A8; stroke-width:2.4; fill:none;}

  .hero-screen-ticker{
    position:relative;
    margin-top:44px;
    border-top:1px solid var(--dark-line);
    overflow:hidden;
  }
  .ticker-label{
    position:absolute;
    left:0; top:0; bottom:0;
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 20px;
    background:var(--dark);
    border-right:1px solid var(--dark-line);
    font-family:var(--font-mono);
    font-size:11px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:#7CD9A8;
    z-index:3;
  }
  .ticker-label .dot{width:6px; height:6px; border-radius:50%; background:#7CD9A8; animation:pulse 1.8s infinite;}
  @keyframes pulse{0%,100%{opacity:1;} 50%{opacity:0.35;}}
  .ticker-track-wrap{overflow:hidden; padding-left:168px;}
  .ticker-track{display:flex; width:max-content; animation:scroll-ticker 42s linear infinite;}
  @media(prefers-reduced-motion:reduce){.ticker-track{animation:none;}}
  .ticker-item{
    display:flex; align-items:center; gap:10px;
    padding:14px 26px;
    border-right:1px solid var(--dark-line);
    font-family:var(--font-mono); font-size:12px;
    color:var(--dark-text-muted);
    white-space:nowrap;
  }
  .ticker-item .ts{color:#6B6350;}
  .ticker-item .tag{
    color:#7CD9A8; background:rgba(124,217,168,0.1); border:1px solid rgba(124,217,168,0.28);
    padding:2px 7px; border-radius:4px; font-size:10px;
  }
  .ticker-item .tag.amber{color:#F0B08E; background:rgba(240,176,142,0.1); border-color:rgba(240,176,142,0.3);}
  .ticker-item .ref{color:#6B6350;}
  @keyframes scroll-ticker{from{transform:translateX(0);} to{transform:translateX(-50%);}}

  @media(max-width:640px){
    .hero-screen{border-radius:22px;}
    .hero-screen-body{padding:36px 16px 0;}
    .ticker-track-wrap{padding-left:0;}
    .ticker-label{position:static; padding:10px 16px; border-right:none; border-bottom:1px solid var(--dark-line);}
  }

  /* ---------- FRAMEWORK PILL STRIP ---------- */
  .framework-strip{padding:64px 0 0;}
  .framework-strip .label{
    text-align:center; font-size:12.5px; color:var(--ink-dim);
    font-family:var(--font-mono); letter-spacing:0.08em; text-transform:uppercase;
    margin-bottom:22px;
  }
  .framework-pills{
    display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap;
  }
  .framework-pill{
    display:flex; align-items:center; gap:8px;
    background:var(--paper); border:1px solid var(--line);
    border-radius:999px; padding:11px 20px;
    font-family:var(--font-mono); font-size:12.5px; color:var(--ink-soft);
  }
  .framework-pill span.dot{width:6px; height:6px; border-radius:50%; background:var(--green);}

  /* ---------- SECTION SHELL ---------- */
  section{padding:110px 0;}
  section.tight{padding:80px 0;}
  .section-head{max-width:640px; margin-bottom:60px;}
  .section-head.center{max-width:640px; margin-left:auto; margin-right:auto; text-align:center;}
  .section-head h2{font-size:clamp(27px, 3.2vw, 42px);}
  .section-head p{margin-top:16px; font-size:16.5px; color:var(--ink-soft); line-height:1.65;}

  /* ---------- SHAPE ICONS ---------- */
  .shape-icon{position:relative; width:52px; height:52px; margin-bottom:22px;}
  .shape-icon .s{position:absolute; display:block;}
  .sq{border-radius:8px;}
  .ci{border-radius:50%;}
  .arch{border-radius:100% 100% 0 0;}
  .pill-sh{border-radius:999px;}

  /* ---------- ROLES (borderless, fauna-style) ---------- */
  .roles{
    display:grid; grid-template-columns:repeat(3,1fr); gap:48px;
  }
  .role h3{font-size:19px;}
  .role p{margin-top:12px; font-size:14.5px; color:var(--ink-soft); line-height:1.65; max-width:300px;}
  @media(max-width:860px){.roles{grid-template-columns:1fr; gap:40px;}}

  /* ---------- STATEMENT BREAK ---------- */
  .statement-break{text-align:center; max-width:820px; margin:0 auto;}
  .statement-break h2{font-size:clamp(30px,4.2vw,52px); letter-spacing:-0.02em;}
  .statement-break p{margin-top:18px; font-size:16.5px; color:var(--ink-soft); max-width:560px; margin-left:auto; margin-right:auto;}

  /* ABOUT */
  .about-grid{display:grid; grid-template-columns:1fr 1fr; gap:8px 56px;}
  .about-grid p{font-size:15.5px; line-height:1.75; color:var(--ink-soft); margin-bottom:26px;}
  .about-closing{grid-column:1/-1; margin-top:6px; padding-top:28px; border-top:1px solid var(--line); font-size:19px; line-height:1.6; color:var(--ink); font-weight:500; max-width:760px;}
  @media(max-width:860px){.about-grid{grid-template-columns:1fr;} .about-grid p{margin-bottom:20px;}}

  /* ---------- BENTO FEATURE GRID ---------- */
  .bento{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    grid-template-rows:auto auto;
    gap:20px;
  }
  .bento-card{
    border-radius:24px;
    padding:32px;
    position:relative;
    overflow:hidden;
  }
  .bento-card.light{background:var(--paper); border:1px solid var(--line);}
  .bento-card.dark{background:var(--dark); color:var(--dark-text);}
  .bento-card.tall{grid-row:span 2;}
  .bento-mark{width:34px; height:34px;}
  .bento-mark circle{fill:none; stroke:var(--ink); stroke-width:1.5;}
  .bento-mark .check{stroke:var(--ink); stroke-width:2.2; fill:none;}
  .bento-card.dark .bento-mark circle{stroke:#7CD9A8;}
  .bento-card.dark .bento-mark .check{stroke:#7CD9A8;}
  .bento-card h3{margin-top:16px; font-size:21px;}
  .bento-card p{margin-top:12px; font-size:14.5px; line-height:1.65; color:var(--ink-soft);}
  .bento-card.dark p{color:var(--dark-text-muted);}
  .bento-card ul{margin-top:18px; display:flex; flex-direction:column; gap:9px;}
  .bento-card li{font-size:13.3px; color:var(--ink-soft); display:flex; gap:9px; align-items:flex-start;}
  .bento-card.dark li{color:var(--dark-text-muted);}
  .bento-card li::before{content:''; width:5px; height:5px; margin-top:7px; border-radius:50%; background:var(--orange); flex-shrink:0;}
  .bento-card.dark li::before{background:#7CD9A8;}

  .bento-data{margin-top:20px; display:flex; flex-direction:column; gap:0;}
  .bento-data .row{display:flex; align-items:center; justify-content:space-between; padding:11px 0; border-bottom:1px solid var(--dark-line); font-family:var(--font-mono); font-size:11.5px;}
  .bento-data .row:last-child{border-bottom:none;}
  .bento-data .row .l{color:var(--dark-text-muted);}
  .bento-data .row .r{color:#7CD9A8;}
  .confidence-bar{width:70px; height:5px; border-radius:3px; background:var(--dark-line); overflow:hidden;}
  .confidence-bar span{display:block; height:100%; background:linear-gradient(90deg,#7CD9A8,#8FB4E8);}

  @media(max-width:940px){
    .bento{grid-template-columns:1fr; grid-template-rows:auto;}
    .bento-card.tall{grid-row:auto;}
  }

  /* ---------- MODULE GRID ---------- */
  .module-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
  .module-card{
    position:relative;
    display:flex; flex-direction:column;
    background:
      radial-gradient(120% 140% at 100% 0%, rgba(227,97,52,0.05), transparent 55%),
      linear-gradient(168deg, var(--paper) 0%, var(--cream-2) 145%);
    border:1px solid var(--line); border-radius:18px; padding:28px 24px 24px;
    overflow:hidden;
    box-shadow:0 1px 2px rgba(23,20,14,0.05), 0 14px 26px -22px rgba(23,20,14,0.35);
    transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .module-card::before{
    content:''; position:absolute; top:0; left:0; right:0; height:3px;
    background:var(--line); transition:background .2s ease;
  }
  .module-card.o1::before{background:var(--orange);}
  .module-card.o2::before{background:var(--blue);}
  .module-card.o3::before{background:var(--amber);}
  .module-card:hover{border-color:var(--ink-dim); transform:translateY(-3px); box-shadow:0 20px 36px -20px rgba(23,20,14,0.32);}
  .module-card:focus-visible{border-color:var(--orange);}
  .m-ic{width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; box-shadow:inset 0 0 0 1px rgba(23,20,14,0.04);}
  .m-ic svg{width:20px; height:20px;}
  .m-ic.o1{background:rgba(227,97,52,0.13); color:var(--orange);}
  .m-ic.o2{background:rgba(76,111,160,0.13); color:var(--blue);}
  .m-ic.o3{background:rgba(196,121,27,0.15); color:var(--amber);}
  .module-card h4{margin-top:18px; font-size:15.5px; font-weight:600; color:var(--ink); letter-spacing:-0.01em;}
  .module-card p{margin-top:8px; font-size:13px; line-height:1.6; color:var(--ink-soft); flex:1;}
  .module-card .m-learn{margin-top:14px; font-family:var(--font-mono); font-size:11px; letter-spacing:.03em; text-transform:uppercase; color:var(--orange); display:flex; align-items:center; gap:5px;}
  .module-card .m-learn svg{width:12px; height:12px; transition:transform .15s ease;}
  .module-card:hover .m-learn svg{transform:translateX(3px);}

  /* live-status strip: gives each card a "system is actually running" feel */
  .m-live{margin-top:16px; padding-top:14px; border-top:1px solid var(--line); display:flex; align-items:center; gap:8px;}
  .m-live .dot{width:6px; height:6px; border-radius:50%; background:#2E7D53; flex-shrink:0; animation:live-pulse 2.2s ease-in-out infinite;}
  .m-live-txt{position:relative; flex:1; height:14px; overflow:hidden;}
  .m-live-txt span{
    position:absolute; inset:0;
    font-family:var(--font-mono); font-size:10.5px; color:var(--ink-dim); white-space:nowrap;
    opacity:0; transform:translateY(4px);
    transition:opacity .45s ease, transform .45s ease;
  }
  .m-live-txt span.on{opacity:1; transform:translateY(0);}
  @keyframes live-pulse{
    0%,100%{box-shadow:0 0 0 0 rgba(46,125,83,0.45);}
    50%{box-shadow:0 0 0 4px rgba(46,125,83,0);}
  }
  @media(prefers-reduced-motion:reduce){
    .m-live .dot{animation:none;}
    .m-live-txt span{transition:none;}
  }

  @media(max-width:940px){.module-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:560px){.module-grid{grid-template-columns:1fr;}}

  /* ---------- REGULATION GRID ---------- */
  .reg-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
  }
  .reg-card{
    position:relative;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:20px;
    padding:30px 28px 28px;
    min-height:220px;
    overflow:hidden;
    transition:border-color .2s ease, transform .2s ease;
  }
  .reg-card:hover{border-color:var(--ink-dim); transform:translateY(-2px);}
  .reg-card .code{font-family:var(--font-mono); font-size:12.5px; color:var(--orange); letter-spacing:0.04em;}
  .reg-card h3{margin-top:14px; font-size:18.5px;}
  .reg-card p{margin-top:12px; font-size:13.8px; color:var(--ink-soft); line-height:1.6;}
  .stamp{
    position:absolute; top:22px; right:20px; width:60px; height:60px;
    opacity:0; transform:rotate(-14deg) scale(0.85);
    transition:opacity .3s ease, transform .3s ease;
  }
  .reg-card:hover .stamp{opacity:1; transform:rotate(-10deg) scale(1);}
  .stamp circle{fill:none; stroke:var(--green); stroke-width:1.2;}
  .stamp text{font-family:var(--font-mono); font-size:6px; fill:var(--green); letter-spacing:1.4px;}
  .stamp .check{stroke:var(--green); stroke-width:2.2; fill:none;}

  @media(max-width:940px){.reg-grid{grid-template-columns:1fr 1fr;}}
  @media(max-width:620px){.reg-grid{grid-template-columns:1fr;}}

  .integrity-note{
    margin-top:24px; display:flex; align-items:center; gap:14px;
    padding:18px 24px; border:1px dashed var(--line); border-radius:14px;
    font-size:13.5px; color:var(--ink-soft); background:var(--paper);
  }
  .integrity-note .mono{color:var(--amber); font-size:12px;}

  /* ---------- LIFECYCLE ---------- */
  .lifecycle-row{
    display:grid; grid-template-columns:repeat(5,1fr); gap:16px;
  }
  .lc-step{
    background:var(--paper); border:1px solid var(--line); border-radius:18px;
    padding:26px 20px; position:relative; overflow:hidden;
  }
  .lc-step::before{
    content:''; position:absolute; top:0; left:0; width:0%; height:3px; background:var(--orange);
    transition:width .6s ease;
  }
  .lc-step.in-view::before{width:100%;}
  .lc-num{font-family:var(--font-mono); font-size:11.5px; color:var(--orange);}
  .lc-step h4{margin-top:14px; font-size:15.5px;}
  .lc-step p{margin-top:10px; font-size:12.8px; color:var(--ink-soft); line-height:1.6;}
  @media(max-width:900px){.lifecycle-row{grid-template-columns:1fr;}}

  /* ---------- AI SECTION ---------- */
  .ai-section{background:var(--dark); color:var(--dark-text); border-radius:32px; margin:0 32px; padding:0; width:auto;}
  .ai-section .wrap{max-width:var(--container); padding:100px 40px;}
  .ai-layout{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;}
  .ai-visual{position:relative; border:1px solid var(--dark-line); border-radius:18px; padding:26px; background:var(--dark-2); min-height:360px;}
  .ai-visual .row{display:flex; align-items:center; justify-content:space-between; padding:13px 4px; border-bottom:1px solid var(--dark-line); font-family:var(--font-mono); font-size:12px;}
  .ai-visual .row:last-child{border-bottom:none;}
  .ai-visual .row .l{color:var(--dark-text-muted);}
  .ai-visual .row .r{color:#7CD9A8;}
  .ai-copy h2{font-size:clamp(26px,3vw,38px); color:var(--dark-text);}
  .ai-copy p{margin-top:18px; color:var(--dark-text-muted); font-size:16px; line-height:1.7;}
  .ai-list{margin-top:26px; display:flex; flex-direction:column; gap:16px;}
  .ai-list li{display:flex; gap:14px; align-items:flex-start; font-size:14.5px; color:var(--dark-text);}
  .ai-list .mark{
    width:22px; height:22px; border-radius:6px;
    background:rgba(124,217,168,0.12); border:1px solid rgba(124,217,168,0.32);
    display:flex; align-items:center; justify-content:center;
    font-family:var(--font-mono); font-size:11px; color:#7CD9A8; flex-shrink:0; margin-top:1px;
  }
  .ai-caveat{margin-top:26px; font-size:12.5px; color:var(--dark-text-muted); border-left:2px solid var(--dark-line); padding-left:14px; line-height:1.6;}
  @media(max-width:900px){
    .ai-layout{grid-template-columns:1fr; gap:40px;}
    .ai-section{margin:0 16px;}
    .ai-section .wrap{padding:64px 24px;}
  }

  /* ---------- SEGMENTS ---------- */
  .segments{display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap;}
  .segment{
    display:flex; align-items:center; gap:9px;
    background:var(--paper); border:1px solid var(--line); border-radius:999px;
    padding:12px 20px 12px 14px; font-size:13.5px; color:var(--ink-soft);
  }
  .segment .ic{width:18px; height:18px; color:var(--orange); flex-shrink:0;}

  /* ---------- SIGNED STATEMENTS ---------- */
  .statements{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
  .statement{background:var(--paper); border:1px solid var(--line); border-radius:22px; padding:40px 38px;}
  .statement blockquote{font-family:var(--font-display); font-size:19px; font-weight:500; line-height:1.55; color:var(--ink);}
  .statement .sig{margin-top:24px; padding-top:18px; border-top:1px dashed var(--line); display:flex; align-items:center; gap:10px;}
  .statement .sig svg{width:16px; height:16px; color:var(--green); flex-shrink:0;}
  .statement .sig-name{display:block; font-size:13.5px; font-weight:600; color:var(--ink);}
  .statement .sig-role{display:block; margin-top:2px; font-size:11.2px; color:var(--ink-dim); font-family:var(--font-mono);}
  @media(max-width:820px){.statements{grid-template-columns:1fr;}}

  /* ---------- FAQ ---------- */
  .faq{max-width:820px;}
  .faq-item{border-bottom:1px solid var(--line);}
  .faq-item summary{
    list-style:none; cursor:pointer;
    display:flex; align-items:center; justify-content:space-between; gap:20px;
    padding:24px 2px; font-family:var(--font-display); font-size:16.5px; font-weight:500; color:var(--ink);
  }
  .faq-item summary::-webkit-details-marker{display:none;}
  .faq-item summary::after{content:'+'; font-family:var(--font-mono); font-size:20px; color:var(--orange); flex-shrink:0;}
  .faq-item[open] summary::after{content:'\2212';}
  .faq-item p{padding:0 2px 24px; max-width:680px; color:var(--ink-soft); font-size:14.5px; line-height:1.7;}

  /* ---------- CTA BAND ---------- */
  .cta-band{
    position:relative; overflow:hidden; border-radius:28px;
    margin:0 auto; max-width:var(--container); padding:64px 56px;
    background:var(--dark); color:var(--dark-text);
  }
  .cta-band-inner{position:relative; display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;}
  .cta-band h2{font-size:clamp(24px,3vw,34px); max-width:480px; color:var(--dark-text);}
  .cta-band p{margin-top:12px; color:var(--dark-text-muted); font-size:15px; max-width:440px;}
  .cta-band .btns{display:flex; gap:14px; flex-wrap:wrap;}
  .cta-band .btn-outline{background:transparent; border-color:var(--dark-line); color:var(--dark-text);}
  .cta-band .btn-outline:hover{border-color:var(--dark-text-muted);}

  /* ---------- FOOTER ---------- */
  footer{padding:80px 0 40px;}
  .footer-top{display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:40px; padding-bottom:56px; border-bottom:1px solid var(--line);}
  .footer-brand p{margin-top:16px; font-size:13.5px; color:var(--ink-soft); max-width:280px; line-height:1.65;}
  .footer-col h5{font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-dim); margin-bottom:16px; font-weight:600;}
  .footer-col ul{display:flex; flex-direction:column; gap:11px;}
  .footer-col a{font-size:13.5px; color:var(--ink-soft); transition:color .15s ease;}
  .footer-col a:hover{color:var(--ink);}
  .footer-docid{padding-top:24px; font-size:11px; color:var(--ink-dim);}
  .footer-bottom{display:flex; align-items:center; justify-content:space-between; padding-top:20px; font-size:12.5px; color:var(--ink-dim); flex-wrap:wrap; gap:16px;}
  .footer-bottom .legal-note{max-width:640px; line-height:1.6;}

  /* ---------- REVEAL ---------- */
  .reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.in-view{opacity:1; transform:translateY(0);}
  @media(prefers-reduced-motion:reduce){.reveal{opacity:1; transform:none; transition:none;}}

  @media(max-width:900px){
    section{padding:72px 0;}
    .footer-top{grid-template-columns:1fr 1fr; gap:32px;}
    .cta-band{padding:44px 28px; border-radius:22px;}
  }

  /* ---------- DEMO REQUEST MODAL ---------- */
  .demo-overlay{
    position:fixed; inset:0; z-index:200;
    background:rgba(23,20,14,0.55);
    backdrop-filter:blur(3px);
    display:flex; align-items:center; justify-content:center;
    padding:20px;
    opacity:0; visibility:hidden;
    transition:opacity .22s ease;
  }
  .demo-overlay.open{opacity:1; visibility:visible;}
  .demo-modal{
    position:relative;
    width:100%; max-width:560px;
    max-height:min(88vh,760px);
    overflow-y:auto;
    background:var(--paper);
    border-radius:24px;
    padding:36px 36px 32px;
    box-shadow:0 60px 100px -30px rgba(23,20,14,0.45);
    transform:translateY(14px) scale(.98);
    transition:transform .25s cubic-bezier(.16,1,.3,1);
  }
  .demo-overlay.open .demo-modal{transform:translateY(0) scale(1);}
  @media(prefers-reduced-motion:reduce){
    .demo-overlay, .demo-modal{transition:none;}
  }
  .demo-modal-close{
    position:absolute; top:20px; right:20px;
    width:34px; height:34px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    color:var(--ink-dim); cursor:pointer;
    transition:background .15s ease, color .15s ease;
  }
  .demo-modal-close:hover{background:var(--cream-2); color:var(--ink);}
  .demo-modal h3{font-size:22px; font-family:var(--font-display); padding-right:30px;}
  .demo-modal .sub{margin-top:8px; font-size:14px; color:var(--ink-soft); line-height:1.55;}
  .demo-form{margin-top:24px; display:flex; flex-direction:column; gap:16px;}
  .demo-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
  .demo-field{display:flex; flex-direction:column; gap:6px;}
  .demo-field label{font-size:12.5px; font-weight:600; color:var(--ink);}
  .demo-field .opt{font-weight:400; color:var(--ink-dim);}
  .demo-field input, .demo-field select, .demo-field textarea{
    font:inherit; font-size:14px;
    padding:11px 14px;
    border:1px solid var(--line);
    border-radius:10px;
    background:var(--cream);
    color:var(--ink);
    transition:border-color .15s ease, background .15s ease;
  }
  .demo-field input:focus, .demo-field select:focus, .demo-field textarea:focus{
    outline:none; border-color:var(--orange); background:var(--paper);
  }
  .demo-field textarea{resize:vertical; min-height:84px; font-family:inherit;}
  .hp-field{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
  .demo-submit{margin-top:4px; width:100%; justify-content:center; border:none;}
  .demo-submit:disabled{opacity:.6; cursor:not-allowed;}
  .demo-note{font-size:12px; color:var(--ink-dim); text-align:center; line-height:1.6;}
  .demo-note a{color:var(--ink-soft); text-decoration:underline;}
  .demo-error{
    display:none;
    font-size:13px; color:var(--red);
    background:var(--dark);
    background:#FBEAE7; border:1px solid #F0C7C0;
    padding:10px 12px; border-radius:10px;
  }
  .demo-error.show{display:block;}
  .demo-success{display:none; text-align:center; padding:20px 4px 4px;}
  .demo-success.show{display:block;}
  .demo-success .check-wrap{
    width:52px; height:52px; margin:0 auto 18px;
    border-radius:50%; background:var(--green-soft);
    display:flex; align-items:center; justify-content:center;
  }
  .demo-success h3{padding-right:0;}
  .demo-success .sub{max-width:380px; margin-left:auto; margin-right:auto;}
  @media(max-width:560px){
    .demo-row{grid-template-columns:1fr;}
    .demo-modal{padding:28px 22px 26px; border-radius:20px;}
  }

  /* ---------- MODULE DETAIL PAGE ---------- */
  .mp-hero{padding:150px 0 64px; border-bottom:1px solid var(--line);}
  .mp-crumb{
    display:flex; align-items:center; gap:8px; flex-wrap:wrap;
    font-family:var(--font-mono); font-size:12px; color:var(--ink-dim); margin-bottom:30px;
  }
  .mp-crumb a{color:var(--ink-dim); transition:color .15s ease;}
  .mp-crumb a:hover{color:var(--orange);}
  .mp-crumb .sep{color:var(--line);}
  .mp-crumb .current{color:var(--ink-soft);}

  .mp-hero-top{display:flex; align-items:flex-start; gap:20px; flex-wrap:wrap; justify-content:space-between;}
  .mp-icon{
    width:56px; height:56px; border-radius:16px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
  }
  .mp-icon svg{width:28px; height:28px;}
  .mp-icon.o1{background:rgba(227,97,52,0.12); color:var(--orange);}
  .mp-icon.o2{background:rgba(76,111,160,0.12); color:var(--blue);}
  .mp-icon.o3{background:rgba(196,121,27,0.14); color:var(--amber);}
  .mp-live{
    display:inline-flex; align-items:center; gap:7px;
    font-family:var(--font-mono); font-size:11px; letter-spacing:.03em; text-transform:uppercase;
    color:var(--green); border:1px solid var(--line); background:var(--paper);
    padding:7px 13px 7px 11px; border-radius:999px;
  }
  .mp-live .dot{width:6px; height:6px; border-radius:50%; background:var(--green); animation:live-pulse 2.2s ease-in-out infinite;}

  .mp-hero h1{font-size:clamp(30px, 4.4vw, 46px); max-width:760px; margin-top:22px;}
  .mp-hero .lead{margin-top:18px; font-size:16.5px; line-height:1.65; color:var(--ink-soft); max-width:640px;}

  .mp-tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:26px;}
  .mp-tag{
    font-family:var(--font-mono); font-size:11.5px; letter-spacing:.03em;
    padding:7px 12px; border-radius:999px; border:1px solid var(--line);
    background:var(--paper); color:var(--ink-soft);
  }
  .mp-hero-ctas{display:flex; gap:12px; flex-wrap:wrap; margin-top:32px;}

  @media(max-width:640px){
    .mp-hero{padding:126px 0 44px;}
    .mp-hero-top{flex-direction:column;}
  }

  /* ---------- BENEFIT GRID ---------- */
  .benefit-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:18px;}
  .benefit-card{
    display:flex; gap:16px;
    background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:24px 26px;
  }
  .benefit-ic{
    width:38px; height:38px; border-radius:11px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    background:var(--green-soft); color:var(--green);
  }
  .benefit-ic svg{width:19px; height:19px;}
  .benefit-card h4{font-size:15px; letter-spacing:-0.01em;}
  .benefit-card p{margin-top:7px; font-size:13.3px; line-height:1.6; color:var(--ink-soft);}
  @media(max-width:760px){.benefit-grid{grid-template-columns:1fr;}}
