/* ==========================================================================
   Noetrell — stylesheet
   Palette and type first, then the page in order: header, hero, chapters,
   FAQ, closing, footer, responsive, and last the product mockups (.ui) and
   pitch chapters with their own breakpoints.
   ========================================================================== */

:root{
  --paper:#f7f5ef;--paper-deep:#edf0e7;--card:#fbfaf6;
  --ink:#292e2a;--ink-soft:#4a5047;--muted:#6b7067;--faint:#8c9186;
  --line:#dedfd5;--line-strong:#c9cdbf;
  --orange:#c65326;--orange-deep:#a94320;--copper:#d59a62;
  --green:#33473b;--green-deep:#2e3d32;--green-soft:#6f8a67;
  --font:'DM Sans',Arial,sans-serif;--display:'Manrope',Arial,sans-serif;
  --radius:6px;--ease:cubic-bezier(.2,.7,.2,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit}
button,a,summary{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:5px}
svg{display:block}
p{line-height:1.65}
h1,h2,h3,p,ul,ol,dl{margin:0}
h1,h2,h3{font-family:var(--display)}
h2{font-size:clamp(36px,4.6vw,58px);line-height:1.06;font-weight:600;letter-spacing:-2.2px}
h3{font-weight:600;letter-spacing:-.4px}
[hidden]{display:none!important}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:fixed;left:20px;top:-100px;padding:15px;background:var(--ink);color:#fff;z-index:100;border-radius:4px}
.skip:focus{top:15px}
.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0}
.wrap{max-width:1180px;margin-inline:auto;padding-inline:48px}
.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:600;display:flex;align-items:center;gap:10px;color:var(--ink)}
.status-dot,.small-dot{display:inline-block;width:6px;height:6px;background:var(--orange);border-radius:50%;flex-shrink:0}
.status-dot{box-shadow:0 0 0 4px #c6532614}

/* Reveal: settle into place once */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}

/* Buttons and links */
.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:17px 24px;background:var(--orange);color:#fff9f0;font-size:14px;font-weight:600;border:1px solid var(--orange);border-radius:var(--radius);transition:background .2s,transform .2s;line-height:1}
.button:hover{background:var(--orange-deep);transform:translateY(-2px)}
.button span{font-size:18px;line-height:1}
.button-small{padding:12px 17px;font-size:13px;gap:18px;background:transparent;color:var(--ink);border-color:var(--line-strong)}
.button-small:hover{background:var(--ink);color:var(--paper)}
.button-light{background:#f3f4eb;color:var(--green-deep);border-color:#f3f4eb}
.button-light:hover{background:#fff;color:var(--green-deep)}
.text-link{display:inline-flex;gap:12px;align-items:center;font-size:14px;font-weight:600;border-bottom:1px solid transparent;padding-block:5px}
.text-link:hover{border-color:var(--orange);color:var(--orange)}

/* Header */
.header{height:92px;max-width:1336px;padding:0 48px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:25px}
.brand{display:inline-flex;align-items:center;font-family:var(--display);font-weight:800;font-size:28px;letter-spacing:-1.3px;line-height:1}
.brand svg{width:30px;height:30px;stroke:var(--orange);stroke-width:2.6;fill:none;margin-right:10px}
.brand-period{color:var(--orange)}
.desktop-nav{display:flex;gap:28px;margin-left:40px;font-size:14px;font-weight:500}
.desktop-nav a,.footer-links a{transition:color .2s}
.desktop-nav a:hover,.footer-links a:hover{color:var(--orange)}
.menu-toggle,.mobile-nav{display:none}
/* Products menu: the seven modules, two columns, under the header link. */
.nav-products{position:relative}
.products-toggle{font:inherit;background:none;border:0;padding:0;color:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:color .2s}
.products-toggle:hover,.products-toggle[aria-expanded=true]{color:var(--orange)}
.products-toggle span{font-size:10px}
.products-menu{position:absolute;top:calc(100% + 22px);left:-24px;z-index:50;width:580px;display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:12px;background:var(--card);border:1px solid var(--line-strong);border-radius:12px;box-shadow:0 18px 40px #2c30291a}
.desktop-nav .products-menu a{display:block;padding:10px 12px;border-radius:8px}
.desktop-nav .products-menu a:hover{background:var(--paper-deep);color:var(--ink)}
.products-menu strong{display:block;font-family:var(--display);font-size:15px;font-weight:700}
.products-menu span{display:block;font-size:12.5px;font-weight:400;color:var(--muted);line-height:1.4;margin-top:2px}

/* Chapter rail */
.rail{position:fixed;left:22px;top:50%;transform:translateY(-50%);z-index:30;display:none;flex-direction:column;gap:14px}
.rail a{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:1.2px;font-weight:600;color:var(--faint);text-transform:uppercase;transition:color .2s}
.rail a span{font-family:ui-monospace,Menlo,monospace;font-size:10px;letter-spacing:0;width:22px;height:22px;border:1px solid var(--line-strong);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--paper);transition:background .2s,border-color .2s,color .2s}
.rail a:hover{color:var(--ink)}
.rail a[aria-current]{color:var(--ink)}
.rail a[aria-current] span{background:var(--orange);border-color:var(--orange);color:#fff6ea}
.chapter-dark~.rail a{color:#aab7a0}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;min-height:calc(100vh - 92px);align-items:center;padding-top:36px;padding-bottom:56px}
.hero-eyebrow{flex-wrap:wrap;row-gap:8px}
.hero h1{font-weight:600;font-size:clamp(44px,4.4vw,64px);letter-spacing:-2.8px;line-height:1.04;margin:26px 0 24px}
.serif{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-style:italic;color:var(--orange);letter-spacing:-2px}
.hero-description{max-width:480px;font-size:18px;color:var(--ink-soft);line-height:1.6}
.hero-actions{display:flex;align-items:center;gap:28px;margin-top:34px}
.hero-art{margin:0;position:relative;display:flex;flex-direction:column;justify-content:center}

/* ==========================================================================
   Chapters
   ========================================================================== */
.chapter{padding-block:120px;position:relative}
.chapter-paper{background:var(--paper)}
.chapter-sage{background:var(--paper-deep);border-block:1px solid #e1e5da}
.chapter-dark{background:var(--green-deep);color:#f3f4eb}
.chapter-head{display:grid;grid-template-columns:72px 1fr;gap:0 24px;align-items:start;max-width:980px;margin-bottom:64px}
.chapter-number{font-family:ui-monospace,Menlo,monospace;font-size:13px;color:var(--orange);padding-top:14px;letter-spacing:1px}
.chapter-head h2{grid-column:2}
.chapter-head p{grid-column:2;font-size:18px;line-height:1.6;color:var(--muted);max-width:620px;margin-top:22px}
.chapter-dark .chapter-head p{color:#b6c0ac}
.chapter-dark .chapter-number{color:var(--copper)}

/* Lifecycle steps (overview Keep chapter, technical Build chapter) and line rows */
.lifecycle{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(8,1fr);position:relative}
.lifecycle:before{content:'';position:absolute;left:6%;right:6%;top:22px;height:1px;background:#c9d1bd}
.lifecycle li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:0 8px;position:relative}
.lifecycle span{width:44px;height:44px;border-radius:50%;background:var(--paper-deep);border:1px solid #aeb8a7;display:inline-flex;align-items:center;justify-content:center;font-family:ui-monospace,Menlo,monospace;font-size:12px;color:var(--orange)}
.lifecycle strong{font-family:var(--display);font-size:15px;font-weight:600;letter-spacing:-.2px;margin-top:4px}
.lifecycle em{font-style:normal;font-size:12.5px;color:var(--muted);line-height:1.4}

.line-row{list-style:none;padding:0;margin:56px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:28px;max-width:980px;font-size:15px;line-height:1.55;color:#4a5541}
.line-row li{padding-top:16px;border-top:1px solid #c9d1bd}
.line-row-labeled{grid-template-columns:repeat(5,1fr);gap:24px;max-width:1080px;color:var(--muted)}
.line-row-labeled li{border-color:var(--line)}
.line-row-labeled span{display:block;font-weight:600;color:var(--ink);margin-bottom:4px;font-size:14px}
.line-row-3{grid-template-columns:repeat(3,1fr);row-gap:28px}

.line-row strong{display:block;font-weight:600;color:var(--ink);margin-bottom:2px}

/* Request stages and jobs (technical Capture chapter) */
.stages{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(7,1fr);gap:0;position:relative}
.stages:before{content:'';position:absolute;left:7%;right:7%;top:22px;height:1px;background:#5e7060}
.stages li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:0 8px;position:relative}
.stages span{width:44px;height:44px;border-radius:50%;background:var(--green-deep);border:1px solid #7f9280;display:inline-flex;align-items:center;justify-content:center;font-family:ui-monospace,Menlo,monospace;font-size:12px;color:#e6a775}
.stages strong{font-family:var(--display);font-size:15px;font-weight:600;letter-spacing:-.2px;margin-top:4px}
.stages em{font-style:normal;font-size:12.5px;color:#aab7a0;line-height:1.4}
.jobs{display:grid;grid-template-columns:repeat(2,1fr);gap:40px;margin-top:84px;padding-top:40px;border-top:1px solid #4d5f51}
.job-tag{display:block;font-size:10.5px;letter-spacing:1.6px;font-weight:600;color:var(--copper);margin-bottom:14px}
.jobs h3{font-size:21px;line-height:1.3;letter-spacing:-.5px;margin-bottom:12px}
.jobs p{font-size:14.5px;line-height:1.65;color:#b6c0ac}

/* Audit record (technical Access chapter) */
.receipt-stage{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.receipt{background:var(--card);border:1px solid #d5ddcf;border-radius:12px;box-shadow:0 24px 50px #2c30290d;padding:28px 32px}
.receipt-top{display:flex;justify-content:space-between;font-size:10.5px;letter-spacing:1.1px;font-weight:600;color:#7e8475}
.receipt-top>span:first-child{display:flex;gap:7px;align-items:center}
.receipt-top>span:last-child{letter-spacing:0;font-weight:500;color:var(--faint)}
.receipt-top .small-dot{background:#7b916c;width:5px;height:5px}
.receipt-id{display:flex;justify-content:space-between;align-items:baseline;font-size:14px;font-family:ui-monospace,Menlo,monospace;margin:26px 0 14px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.receipt-id>span{font:12px var(--font);color:var(--faint)}
.receipt-row{display:flex;justify-content:space-between;font-size:13.5px;padding:14px 0;border-bottom:1px solid #eaebe2;gap:14px}
.receipt-row>span{color:#727d68;flex-shrink:0}
.receipt-row strong{font-weight:500;color:#364830;text-align:right}
.check{display:inline-block;margin-left:8px;color:#7f956e}
.receipt-bottom{display:flex;justify-content:space-between;font-size:9.5px;letter-spacing:1.1px;font-weight:600;color:#87917d;padding-top:20px;gap:12px}
.receipt-uses{list-style:none;padding:0;margin:0}
.receipt-uses li{padding:22px 0;border-top:1px solid #c9d1bd;font-size:15px;line-height:1.6;color:#4a5541}
.receipt-uses li:last-child{border-bottom:1px solid #c9d1bd}
.receipt-uses strong{display:block;font-family:var(--display);font-size:19px;font-weight:600;letter-spacing:-.4px;color:var(--ink);margin-bottom:6px}

/* Architecture diagram (technical Architecture chapter) */
.deployment-diagram-scroll{overflow-x:auto;scrollbar-width:thin;border:1px solid #d6dccc;border-radius:14px;background:#f4f6ee;padding:22px;max-width:980px;margin-inline:auto}
.deployment-diagram{width:100%;min-width:560px;height:auto;font-family:var(--font)}
.dd-boundary{fill:#eaede3;stroke:#aeb8a7;stroke-width:1.2;stroke-dasharray:6 6}
.dd-cap{font-size:9.5px;letter-spacing:1.4px;font-weight:600;fill:#7d8578}
.dd-node rect{fill:#fffdf8;stroke:#c8d0c2;stroke-width:1}
.dd-node text{font-size:11.5px;font-weight:500;fill:#33403a}
.dd-node .dd-sub{font-size:9px;fill:#8a948a;font-weight:500}
.dd-node-main rect{fill:var(--green-deep);stroke:var(--green-deep)}
.dd-node-main text{fill:#f3f4eb;font-weight:600;font-size:12.5px}
.dd-node-main .dd-sub{fill:#b7c4ae;font-weight:500;font-size:9px}
.dd-node-ext rect{stroke-dasharray:3 3;fill:#f6f6ef}
.dd-node-outside rect{fill:#f7f5ef;stroke:#c9b8a8}
.dd-link{fill:none;stroke:#8c9a86;stroke-width:1.4}
.dd-link-egress{stroke:#c58e6c;stroke-width:1.8}
.dd-note{font-size:9px;fill:#7d8578;font-style:italic}
.dd-gate rect{fill:#f7f5ef;stroke:var(--orange);stroke-width:1.4}
.dd-gate path{fill:none;stroke:var(--orange);stroke-width:1.3;stroke-linejoin:round}

/* ==========================================================================
   FAQ, closing, footer
   ========================================================================== */
.faq-section{display:grid;grid-template-columns:1fr 1.3fr;gap:80px;padding-block:110px 96px}
.faq-section h2{font-size:40px;margin-top:22px;letter-spacing:-1.6px}
.faq-items{border-top:1px solid var(--line)}
details{border-bottom:1px solid var(--line)}
summary{list-style:none;cursor:pointer;padding:22px 0;font-size:16px;font-weight:500;display:flex;align-items:center;justify-content:space-between;gap:20px}
summary::-webkit-details-marker{display:none}
summary span{font-size:22px;color:#8c9481;font-weight:400;transition:transform .2s}
details[open] summary span{transform:rotate(45deg)}
details p{color:var(--muted);font-size:15px;padding:0 40px 24px 0;max-width:580px}
.closing{position:relative;text-align:center;padding-block:72px 64px;background:#eee9df;border:1px solid #e5dfd3;overflow:hidden;border-radius:14px}
.closing .eyebrow{justify-content:center;color:#868879;position:relative}
.closing h2{margin:22px 0 18px;font-size:46px;letter-spacing:-1.9px;position:relative}
.closing p{font-size:16px;color:#6f7266;position:relative}
.closing .button{margin-top:28px;position:relative}
.closing-email{display:block;margin-top:16px;font-size:13px;color:#848776;position:relative}
.closing-pattern{position:absolute;inset:0;background-image:linear-gradient(#a9a28d12 1px,transparent 1px),linear-gradient(90deg,#a9a28d12 1px,transparent 1px);background-size:45px 45px;mask-image:linear-gradient(90deg,#000,transparent 35%,transparent 65%,#000)}
.footer{padding-block:56px 28px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:30px}
.footer .brand{font-size:24px}
.footer .brand svg{width:26px;height:26px}
.footer p{font-size:13px;color:var(--faint);margin-top:12px}
.footer-links{display:flex;flex-wrap:wrap;gap:24px;padding-top:10px;font-size:13.5px;font-weight:500}
.footer-bottom{width:100%;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:20px;margin-top:5px;font-size:12px;color:var(--faint)}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* ---------- Overview: short sections for executives ---------- */
/* Four-step version of the lifecycle; the full eight steps live on /technical. */
.lifecycle-short{grid-template-columns:repeat(4,1fr);max-width:900px;margin-inline:auto}
.lifecycle-short:before{left:12.5%;right:12.5%}
.lifecycle-short strong{font-size:18px}
.lifecycle-short em{font-size:14px}
.start-chapter{text-align:center}
.start-chapter .chapter-number{display:block;margin-bottom:18px}
.start-chapter h2{margin-inline:auto}
.start-chapter p{font-size:18px;color:#b6c0ac;margin:20px auto 0;max-width:none}
.start-chapter .button{margin-top:32px}
.start-email{display:block;margin-top:16px;font-size:13px;color:#aab7a0}

/* AI today versus AI on Noetrell, side by side (overview Problem chapter). */
.rent-own{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:980px;margin:8px auto 0}
.rent-own>div{padding:28px 30px;border-radius:14px}
.rent{background:#f1efe8;border:1px solid #e1ddd2}
.own{background:var(--green-deep);color:#f3f4eb}
.rent-own-label{display:block;font-size:11px;font-weight:600;letter-spacing:1.5px;margin-bottom:18px}
.rent .rent-own-label{color:#8c8a7c}
.own .rent-own-label{color:#e4a078}
.rent-own ul{list-style:none;padding:0;margin:0}
.rent-own li{display:flex;gap:12px;padding:12px 0;font-size:16.5px;line-height:1.45;border-top:1px solid #e1ddd2}
.own li{border-color:#4d5f51}
.rent li{color:#6f7266}
.rent li:before{content:'×';color:#b9432c;font-weight:600;flex-shrink:0}
.own li:before{content:'✓';color:#9fc48f;font-weight:600;flex-shrink:0}

/* ---------- Technical page ---------- */
.page-intro{padding-block:72px 84px;max-width:1080px}
.page-intro h1{font-size:clamp(40px,5vw,64px);line-height:1.04;letter-spacing:-2.4px;margin-top:18px}
.page-intro>p{font-size:18px;line-height:1.6;color:var(--muted);max-width:640px;margin-top:22px}
.back-link{display:inline-flex;gap:8px;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:36px}
.back-link:hover{color:var(--orange)}

@media(min-width:1300px){.rail{display:flex}}

@media(max-width:1100px){
  .lifecycle{grid-template-columns:repeat(4,1fr);row-gap:36px}
  .lifecycle:before{display:none}
  .stages{grid-template-columns:repeat(4,1fr);row-gap:36px}
  .stages:before{display:none}
  .receipt-stage{gap:40px}
}

@media(max-width:1000px){
  .wrap{padding-inline:32px}
  .header{padding-inline:32px}
  .desktop-nav{margin-left:0;gap:18px;font-size:13px}
  .hero{min-height:auto;gap:24px;padding-block:40px 48px}
  .hero h1{font-size:52px;letter-spacing:-2.4px}
  .hero-description{font-size:16px;max-width:400px}
  .chapter{padding-block:88px}
  .chapter-head{margin-bottom:44px}
  .jobs{gap:28px;margin-top:60px}
  .line-row-labeled{grid-template-columns:1fr 1fr}
  .line-row-labeled li:last-child:nth-child(odd){grid-column:1/-1}
  .closing{margin-inline:32px}
  .faq-section{gap:40px}
}

@media(max-width:760px){
  .lifecycle{grid-template-columns:1fr 1fr;row-gap:26px}
  .lifecycle li{align-items:flex-start;text-align:left;padding:0}
  html{scroll-padding-top:80px}
  .wrap{padding-inline:22px}
  .header{height:78px;padding-inline:22px;gap:15px}
  .brand{font-size:25px}
  .brand svg{width:27px;height:27px}
  .desktop-nav,.header-cta{display:none}
  .menu-toggle{display:flex;flex-direction:column;gap:6px;justify-content:center;align-items:center;width:42px;height:42px;background:none;border:1px solid var(--line);border-radius:5px;cursor:pointer}
  .menu-toggle span{height:1.5px;width:18px;background:var(--ink)}
  .mobile-nav{display:flex;position:absolute;z-index:20;top:78px;left:0;right:0;flex-direction:column;padding:12px 22px 22px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 10px 18px #292e2a10}
  .mobile-nav a{padding:14px 0;font-size:16px;font-weight:500;border-bottom:1px solid var(--line)}
  .mobile-nav a:last-child{border:0;color:var(--orange)}
  .mobile-nav-group{padding:16px 0 4px;font-size:11px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:var(--faint)}
  .mobile-nav .mobile-nav-sub{padding:10px 0 10px 14px;font-size:15px}
  .hero{grid-template-columns:1fr;padding-top:44px;padding-bottom:28px;gap:24px}
  .hero h1{font-size:clamp(44px,11vw,64px);letter-spacing:-2.4px;margin-top:22px}
  .hero-description{max-width:100%;font-size:16.5px}
  .hero-actions{gap:22px;flex-wrap:wrap}
  .hero-art{max-width:520px;width:100%;margin:4px auto 0}
  h2{font-size:34px;letter-spacing:-1.5px}
  .chapter{padding-block:64px}
  .chapter-head{grid-template-columns:1fr;gap:10px;margin-bottom:32px}
  .chapter-number{padding-top:0}
  .chapter-head h2,.chapter-head p{grid-column:1}
  .chapter-head p{font-size:16px;margin-top:14px}
  .chapter-head h2 br{display:none}
  .line-row{grid-template-columns:1fr;gap:14px;margin-top:36px;font-size:14.5px}
  .line-row li{padding-top:12px}
  .line-row-labeled{grid-template-columns:1fr}
  .stages{grid-template-columns:1fr 1fr;row-gap:26px}
  .stages li{align-items:flex-start;text-align:left;padding:0}
  .jobs{grid-template-columns:1fr;gap:28px;margin-top:48px;padding-top:32px}
  .jobs h3{font-size:19px}
  .receipt-stage{grid-template-columns:1fr;gap:28px}
  .receipt{padding:22px 20px}
  .receipt-row{font-size:12.5px;flex-direction:column;gap:4px}
  .receipt-row strong{text-align:left}
  .receipt-uses li{padding:16px 0;font-size:14.5px}
  .receipt-uses strong{font-size:17px}
  .deployment-diagram-scroll{padding:12px}
  .faq-section{grid-template-columns:1fr;gap:26px;padding-block:64px 56px}
  .faq-section h2{font-size:34px;margin-top:16px}
  .faq-section h2 br{display:none}
  summary{font-size:15px;padding-block:18px}
  details p{font-size:14.5px;padding-right:20px}
  .closing{margin-inline:14px;padding-inline:18px;padding-block:48px}
  .closing h2{font-size:32px;letter-spacing:-1.3px}
  .closing h2 br{display:none}
  .closing p{font-size:15px}
  .closing p br{display:none}
  .footer{padding-top:40px;gap:24px}
  .footer-links{gap:18px}
  .footer-bottom{flex-direction:column;gap:8px}
}

@media(max-width:380px){
  .hero-actions .button{padding-inline:16px;gap:14px;font-size:13px}
  .stages,.lifecycle{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{transition:none!important;animation:none!important}
  .reveal{opacity:1;transform:none}
}

/* Overview and technical page: narrow screens */
@media(max-width:760px){
  .lifecycle-short{grid-template-columns:1fr;row-gap:20px}
  .lifecycle-short li{flex-direction:row;align-items:center;text-align:left;gap:14px}
  .lifecycle-short strong{margin-top:0}
  .rent-own{grid-template-columns:1fr;gap:14px}
  .rent-own>div{padding:22px 20px}
  .rent-own li{font-size:15.5px}
  .start-chapter p{font-size:16px}
  .page-intro{padding-block:44px 56px}
}

/* Phone clean-up: fewer boxes, full-width text, step lists read top to bottom instead of in cramped grids. */
@media(max-width:760px){
  /* Step lists (overview steps, lifecycle, request stages): a vertical timeline, title over description. */
  .lifecycle,.lifecycle-short,.stages{grid-template-columns:1fr;row-gap:0;max-width:none}
  .lifecycle:before,.lifecycle-short:before,.stages:before{display:block;left:21px;right:auto;top:30px;bottom:30px;width:1px;height:auto}
  .lifecycle li,.lifecycle-short li,.stages li{display:grid;grid-template-columns:44px 1fr;column-gap:16px;row-gap:2px;align-items:center;text-align:left;padding:10px 0}
  .lifecycle li span,.lifecycle-short li span,.stages li span{grid-row:1/3;position:relative;z-index:1}
  .lifecycle strong,.lifecycle-short strong,.stages strong{grid-column:2;margin:0;align-self:end}
  .lifecycle em,.lifecycle-short em,.stages em{grid-column:2;align-self:start}
  .lifecycle-short strong{font-size:17px}
  .lifecycle-short em{font-size:14px}
  /* Examples: the column hint is redundant once rows stack. */
  /* Comparison diagram: give the drawing the full width. */
  .rent-own li{padding:10px 0}
  .footer-links{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}
}
@media(max-width:600px){
  /* The desktop line break strands a single word on phones. */
  .hero h1 br,.chapter-head h2 br{display:none}
  .hero-actions{gap:18px}
  /* Animation header: label and motion control share the top row; the description runs full width beneath. */
}

/* ==========================================================================
   Product mockups (.ui) and the pitch chapters
   The visuals are HTML, not screenshots: they stay sharp, scale with the type
   and read on phones. Sample content is invented. Mockups are decorative for
   assistive technology; each figure carries an aria-label that says what it shows.
   ========================================================================== */
.hero-promise{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:20px;font-family:var(--display);font-weight:600;font-size:16px;letter-spacing:-.2px;color:var(--green)}
.hero-promise span+span:before{content:'·';color:var(--orange);margin-right:14px}

.ui{margin:0;background:var(--card);border:1px solid #d5ddcf;border-radius:14px;box-shadow:0 24px 50px #2c30290f;overflow:hidden;font-size:13px;line-height:1.45;color:var(--ink);text-align:left}
.ui-bar{display:flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-bottom:1px solid var(--line);background:#f3f2ea}
.ui-bar i{width:8px;height:8px;border-radius:50%;background:#d9d6c9}
.ui-bar i:first-child{background:#e3b99f}
.ui-bar span{margin-left:10px;font-size:11.5px;font-weight:600;color:var(--muted)}
/* The demo's sector, as a chip at the right of the window bar. */
.ui-bar .ui-sector{margin-left:auto;font-size:10px;font-weight:600;letter-spacing:.3px;color:var(--green);background:#e6eddf;border-radius:999px;padding:3px 9px;white-space:nowrap}
/* Marks sample figures as samples; neutral, so it reads as a label and not a status. */
.ui-bar .ui-illustrative{color:var(--muted);background:#ecebe3}
.ui-pad{padding:18px;display:grid;gap:14px}
.ui-card{border:1px solid var(--line);border-radius:10px;background:#fffdf8;padding:14px 16px}
.ui-card-head{display:block;font-family:var(--display);font-size:12.5px;font-weight:700;letter-spacing:-.1px;margin-bottom:8px}
.ui-btn{display:inline-flex;align-items:center;white-space:nowrap;font-size:11px;font-weight:600;padding:6px 10px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink-soft);background:#fff}
.ui-btn-primary{background:var(--green);border-color:var(--green);color:#f3f4eb}
.ui-tag{font-style:normal;font-size:10.5px;font-weight:600;padding:3px 7px;border-radius:4px;background:#edf0e7;color:var(--green);margin-right:4px}
.ui-tag:last-child{background:#fbeee6;color:var(--orange-deep)}

/* Employee workspace (hero) */
.ui-body{display:grid;grid-template-columns:150px 1fr;min-height:400px}
.ui-side{display:flex;flex-direction:column;gap:2px;padding:14px 10px;border-right:1px solid var(--line);background:#f5f4ec;font-size:11.5px}
.ui-brand{display:flex;align-items:center;gap:6px;font-family:var(--display);font-weight:800;font-size:15px;letter-spacing:-.6px;color:var(--ink);padding:2px 4px 10px}
.ui-brand svg{width:16px;height:16px;fill:none;stroke:var(--orange);stroke-width:2.8}
.ui-brand i{font-style:normal;color:var(--orange)}
.ui-new{border:1px solid var(--line-strong);border-radius:6px;padding:6px 9px;font-weight:600;margin-bottom:8px;background:#fff}
.ui-group{font-size:9.5px;letter-spacing:1.2px;text-transform:uppercase;font-weight:600;color:var(--faint);margin:10px 0 3px 8px}
.ui-item{padding:4px 8px;border-radius:5px;color:var(--ink-soft)}
.ui-item.is-on{background:#e6eadf;color:var(--ink);font-weight:600}
.ui-chat{display:flex;flex-direction:column;gap:12px;padding:16px 18px}
.ui-msg{display:grid;grid-template-columns:26px 1fr;gap:10px;align-items:start}
.ui-msg p{margin:0}
.ui-avatar{width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:9.5px;font-weight:700;background:#e8e6dc;color:var(--ink-soft)}
.ui-avatar-ai{background:var(--green);color:#f3f4eb}
.ui-msg-user p{background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 12px}
.ui-notice{display:flex;gap:9px;align-items:flex-start;font-size:11.5px;color:var(--ink-soft);border:1px solid #d6dccc;background:#f1f4ec;border-radius:8px;padding:8px 11px;margin-left:36px}
.ui-notice svg{width:14px;height:14px;flex-shrink:0;margin-top:1px;fill:none;stroke:var(--green-soft);stroke-width:1.5}
.ui-sources{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.ui-sources span{font-size:10.5px;border:1px solid var(--line-strong);border-radius:999px;padding:3px 9px;color:var(--ink-soft);background:#fff}
.ui-rate{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.ui-rate span{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:2px 7px}
.ui-rate span:first-child{border-color:var(--green-soft);color:var(--green);background:#eef2e8}
.ui-composer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line-strong);border-radius:10px;padding:8px 8px 8px 12px;background:#fff;color:var(--faint);font-size:12px}
.ui-composer b{width:26px;height:26px;border-radius:7px;background:var(--green);color:#f3f4eb;display:inline-flex;align-items:center;justify-content:center;font-size:13px}
/* The capture strip: the proxy behind the workspace, made visible. */
.capture-strip{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:12px 4px 0;padding:11px 16px;border-radius:10px;background:var(--green-deep);color:#b6c0ac;font-size:11.5px}
.capture-strip strong{color:#f3f4eb;font-weight:600;letter-spacing:.2px}
.capture-strip span+span:before{content:'·';margin-right:14px;color:#6f8a67}
.capture-dot{width:7px;height:7px;border-radius:50%;background:#e3a16d;box-shadow:0 0 0 4px #e3a16d26}
.capture-dot+strong:after{content:''}
/* Hero demo (app.js). The window keeps one height so the page never moves between scenes; the stage scrolls
   itself to the newest line. Appended parts rise in; the capture strip pulses when its record is written. */
.ui-workspace .ui-chat{height:460px;min-height:0}
.ui-stage{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth}
.ui-stage>*{flex-shrink:0}
.ui-in{animation:ui-rise .45s var(--ease) both}
@keyframes ui-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.ui-typed.is-typing{color:var(--ink)}
.ui-typed.is-typing:after{content:'';display:inline-block;width:1px;height:13px;margin-left:2px;vertical-align:-2px;background:var(--ink);animation:ui-caret 1s steps(1) infinite}
@keyframes ui-caret{50%{opacity:0}}
.ui-notice u{text-decoration:underline;text-underline-offset:2px;color:var(--green);white-space:nowrap}
.ui-tool{border:1px solid var(--line-strong);border-radius:10px;background:#fff;padding:12px 14px;display:grid;gap:6px;max-width:340px}
.ui-tool strong{font-family:var(--display);font-size:14px;font-weight:700;margin-bottom:2px}
.ui-tool-label{font-size:9.5px;letter-spacing:1.1px;text-transform:uppercase;font-weight:600;color:var(--faint)}
.ui-field{display:flex;justify-content:space-between;gap:12px;font-size:11.5px;padding:5px 0;border-top:1px solid #efeee6}
.ui-field span{color:var(--muted)}
.ui-field b{font-weight:500}
.ui-run{justify-self:start;margin-top:4px;font-size:11px;font-weight:600;padding:6px 12px;border-radius:6px;background:var(--green);color:#f3f4eb;transition:transform .15s,box-shadow .15s;box-shadow:0 0 0 0 #33473b33}
.ui-run.is-pressed{transform:scale(.95);box-shadow:0 0 0 5px #33473b26}
.ui-result{display:flex;align-items:baseline;gap:10px;margin-top:6px;padding:9px 11px;border-radius:8px;background:#eef2e8}
.ui-result b{font-family:var(--display);color:var(--green);font-size:14px}
.ui-result span{font-size:11.5px;color:var(--ink-soft)}
.ui-code-note{font-style:normal;font-size:10.5px;color:var(--muted)}
.ui-trace{display:grid;gap:5px;margin-left:36px;padding:10px 12px;border:1px dashed var(--line-strong);border-radius:9px;background:#f7f6ef}
.ui-badge{justify-self:start;font-size:10px;font-weight:600;color:var(--green);background:#e6eddf;border-radius:4px;padding:2px 7px;margin-bottom:2px}
.ui-trace-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11.5px;color:var(--muted)}
.ui-trace-row span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;border:1.5px solid var(--line-strong);margin-right:8px;vertical-align:0}
.ui-trace-row.is-done{color:var(--ink-soft)}
.ui-trace-row.is-done span:before{background:var(--green-soft);border-color:var(--green-soft)}
.ui-trace-row i{font-style:normal;font-size:9.5px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;padding:2px 6px;border-radius:4px;background:#f1efe8;color:var(--muted)}
.ui-trace-row i.is-code{background:#e6eddf;color:var(--green)}
.ui-list{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:4px}
.ui-list li{display:flex;gap:10px;font-size:12px;padding:6px 10px;border:1px solid var(--line);border-radius:7px;background:#fff}
.ui-list b{font-weight:600;color:var(--green);min-width:58px}
.capture-strip.is-new .capture-dot{animation:capture-pulse .9s var(--ease)}
@keyframes capture-pulse{0%{box-shadow:0 0 0 0 #e3a16d80}100%{box-shadow:0 0 0 10px #e3a16d00}}
.capture-items{display:contents}
/* Room for two lines in every scene, so the figure keeps one height. */
.hero-art .capture-strip{min-height:60px;align-content:center}
.capture-wait{font-style:italic;color:#8fa288}
.demo-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 4px 0}
.demo-tabs{display:flex;flex-wrap:wrap;gap:6px}
.demo-tab,.demo-pause{font:600 12px var(--font);border:1px solid var(--line-strong);background:transparent;color:var(--ink-soft);border-radius:999px;padding:6px 12px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.demo-tab:hover,.demo-pause:hover{border-color:var(--ink)}
.demo-tab[aria-pressed=true]{background:var(--green-deep);border-color:var(--green-deep);color:#f3f4eb}
.demo-pause{border-color:transparent;color:var(--muted)}

/* Module label on each overview chapter, linking to the module's page. */
.module-tag{display:inline-flex;align-items:center;gap:8px;justify-self:start;font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--orange);margin-bottom:14px;transition:color .2s}
.module-tag:hover{color:var(--ink)}
.chapter-head .module-tag{grid-column:2}
.chapter-head-stack .module-tag{display:flex;width:max-content}
.chapter-dark .module-tag{color:var(--copper)}
.chapter-dark .module-tag:hover{color:#f3f4eb}

/* Platform map (overview chapter 02 and every module page): four modules people work in, on the three that run
   under all of them. The current module page's card is marked. */
.platform-map{max-width:1080px;margin:0 auto;display:grid;gap:16px}
.pm-modules{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.pm-card{display:flex;flex-direction:column;gap:6px;padding:22px 22px 24px;background:#fbfcf7;border:1px solid #d6dccc;border-radius:12px;font-size:14.5px;line-height:1.5;color:var(--muted);transition:border-color .2s,transform .2s}
.pm-card:hover{border-color:var(--orange);transform:translateY(-2px)}
.pm-card strong{font-family:var(--display);font-size:21px;font-weight:600;letter-spacing:-.4px;color:var(--ink)}
.pm-card strong:after{content:' →';color:var(--orange);font-size:16px}
.pm-brand{font-size:10.5px;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:var(--faint)}
.pm-card[aria-current]{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}
.pm-base{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px;border-radius:14px;background:var(--green-deep)}
.pm-base-label{grid-column:1/-1;font-size:11px;font-weight:600;letter-spacing:1.5px;color:#e4a078;padding:0 4px}
.pm-base .pm-card{background:#384a3d;border-color:#4d5f51;color:#b6c0ac}
.pm-base .pm-card strong{color:#f3f4eb}
.pm-base .pm-brand{color:#8fa288}
/* Module pages: the workspace mockup outside the hero keeps the hero's window height. */
.module-figure{margin:0}

/* Workspace chapter: six capabilities */
.feature-grid{list-style:none;padding:0;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:1080px}
.feature-grid li{padding:24px 24px 26px;background:#fbfcf7;border:1px solid #d6dccc;border-radius:12px;font-size:15px;line-height:1.55;color:var(--muted)}
.feature-grid strong{display:block;font-family:var(--display);font-size:20px;font-weight:600;letter-spacing:-.4px;color:var(--ink);margin:14px 0 6px}
.feature-icon{font-family:ui-monospace,Menlo,monospace;font-size:11px;color:var(--orange)}
.chapter-note{max-width:1080px;margin:36px auto 0;font-size:16px;color:var(--ink-soft);padding-left:16px;border-left:2px solid var(--orange)}
.chapter-note strong{color:var(--ink)}
.chapter-note-top{margin:0 auto 36px}
.chapter-note em{font-style:italic;color:var(--ink)}
/* "In detail" links from an overview chapter to the matching section of /technical. */
.chapter-more{max-width:1080px;margin:28px auto 0}
.chapter-head-link{margin-top:22px}
.chapter-dark .text-link{color:#f3f4eb}

/* Split chapters: copy beside a mockup */
.split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:center}
.split-reverse .chapter-head{order:2}
.chapter-head-stack{display:block;margin-bottom:0}
.chapter-head-stack .chapter-number{display:block;padding-top:0;margin-bottom:18px}
.chapter-head-stack h2{font-size:clamp(34px,3.6vw,48px)}
.point-list{list-style:none;padding:0;margin:30px 0 0;display:grid;gap:0}
.point-list li{padding:14px 0;border-top:1px solid var(--line);font-size:15px;line-height:1.55;color:var(--muted)}
.point-list strong{display:block;color:var(--ink);font-weight:600;margin-bottom:2px}
.point-list-dark li{border-color:#4d5f51;color:#b6c0ac}
.point-list-dark strong{color:#f3f4eb}

/* Leadership home */
.ui-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ui-stats div{border:1px solid var(--line);border-radius:10px;background:#fffdf8;padding:12px 14px;display:flex;flex-direction:column;justify-content:space-between;gap:6px}
.ui-stats span{font-size:11px;color:var(--muted);line-height:1.35}
.ui-stats b{font-family:var(--display);font-size:26px;font-weight:700;letter-spacing:-.8px;color:var(--green)}
.ui-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-top:1px solid #efeee6}
.ui-row span{font-weight:500}
.ui-row em{display:block;font-style:normal;font-weight:400;font-size:11px;color:var(--faint)}
.ui-draft{font-style:normal;font-size:9.5px;letter-spacing:.8px;text-transform:uppercase;font-weight:700;color:var(--orange-deep);background:#fbeee6;border-radius:4px;padding:3px 6px;white-space:nowrap}

/* Access & capture */
.ui-capture{color:var(--ink)}
.ui-rule,.ui-kv{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-top:1px solid #efeee6;font-size:12px}
.ui-rule span,.ui-kv span{font-weight:500}
.ui-rule em{font-style:normal;color:var(--muted);text-align:right}
.ui-kv span{color:var(--muted);font-weight:400}
.ui-kv b{font-weight:500;text-align:right}

/* Procedure editor */
.ui-build{max-width:1080px;margin:64px auto 0}
.ui-build-grid{grid-template-columns:200px 1fr 200px;align-items:start}
.ui-found b{display:block;font-family:var(--display);font-size:34px;font-weight:700;letter-spacing:-1px;color:var(--orange)}
.ui-found em,.ui-publish em{display:block;font-style:normal;font-size:11.5px;color:var(--muted)}
.ui-steps{list-style:none;counter-reset:step;padding:0;margin:0;display:grid;gap:8px}
.ui-steps li{counter-increment:step;display:flex;align-items:center;gap:10px;justify-content:space-between;border:1px solid var(--line);border-radius:9px;background:#fffdf8;padding:10px 12px}
.ui-steps li span:before{content:counter(step);display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#edf0e7;color:var(--green);font-size:10.5px;font-weight:700;margin-right:10px}
.ui-steps i{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;padding:3px 7px;border-radius:4px;background:#f1efe8;color:var(--muted)}
.ui-steps i.is-code{background:#e6eddf;color:var(--green)}
.ui-publish{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.ui-publish em{margin-bottom:6px}

/* Regulated data and deployment */
.data-groups{list-style:none;padding:0;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1080px}
.data-groups li{padding:22px;border-top:2px solid var(--green);background:#fbfaf6;border-radius:0 0 10px 10px;font-size:14px;line-height:1.55;color:var(--muted)}
.data-groups strong{display:block;font-family:var(--display);font-size:17px;font-weight:600;letter-spacing:-.3px;color:var(--ink);margin-bottom:6px;line-height:1.3}
.deploy{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1080px;margin:40px auto 0}
.deploy>div{padding:28px 30px;border-radius:14px;border:1px solid #d6dccc;background:var(--paper-deep)}
.deploy>div:first-child{background:var(--green-deep);border-color:var(--green-deep);color:#f3f4eb}
.deploy>div:first-child .rent-own-label{color:#e4a078}
.deploy>div:not(:first-child) .rent-own-label{color:var(--muted)}
.deploy h3{font-size:22px;margin-bottom:8px}
.deploy p{font-size:15px;color:var(--muted)}
.deploy>div:first-child p{color:#b6c0ac}

/* Browser capture: a generic AI chat site in a company browser, with the Noetrell extension at work. Deliberately
   unbranded: grey page, no vendor colours or logos. */
.ui-tabs{display:flex;align-items:flex-end;gap:6px;height:36px;padding:0 14px;background:#ecebe3}
.ui-tabs i{width:8px;height:8px;border-radius:50%;background:#d9d6c9;align-self:center}
.ui-tab{margin-left:12px;align-self:flex-end;background:#fbfaf6;border-radius:8px 8px 0 0;padding:7px 16px;font-size:11.5px;font-weight:600;color:var(--muted)}
.ui-address{display:flex;align-items:center;gap:10px;padding:8px 14px;background:#fbfaf6;border-bottom:1px solid var(--line)}
.ui-url{flex:1;font-size:11.5px;color:var(--muted);background:#f0efe8;border-radius:999px;padding:5px 12px}
.ui-ext{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:600;color:var(--green)}
.ui-ext b{width:20px;height:20px;border-radius:5px;background:var(--green-deep);color:#f3f4eb;display:inline-flex;align-items:center;justify-content:center;font-family:var(--display);font-size:11px}
.ui-ext:after{content:'';width:6px;height:6px;border-radius:50%;background:#e3a16d;order:-1}
.ui-site{display:flex;flex-direction:column;gap:12px;padding:18px;background:#f6f6f4;min-height:330px}
.ui-ext-card{margin-left:36px;border:1px solid #c9d1bd;border-left:3px solid var(--green);border-radius:9px;background:#fff;padding:10px 12px;display:grid;gap:6px;box-shadow:0 6px 18px #2c30290d}
.ui-ext-card p{margin:0;font-size:12px;color:var(--ink-soft)}
.ui-ext-head{display:flex;align-items:center;gap:6px;font-family:var(--display);font-weight:800;font-size:12px}
.ui-ext-head svg{width:13px;height:13px;fill:none;stroke:var(--orange);stroke-width:3}
.ui-ext-tip{font-size:11.5px;color:var(--muted);padding-top:6px;border-top:1px solid #efeee6}
.ui-ext-tip b{color:var(--ink);font-weight:600}
.ui-ext-tip u{color:var(--green);font-weight:600;text-underline-offset:2px;white-space:nowrap}
/* The vendor's reply, shown only as placeholder lines: the page is about the capture, not the answer. */
.ui-site-reply{display:grid;gap:7px;margin-left:36px}
.ui-site-reply span{height:8px;border-radius:4px;background:#e2e2dc}
.ui-site-reply .is-short{width:60%}
.ui-site .ui-composer{margin-top:auto}

@media(max-width:1100px){
  .ui-build-grid{grid-template-columns:1fr 1fr}
  .ui-steps{grid-column:1/-1;grid-row:2}
  .data-groups{grid-template-columns:1fr 1fr}
  .deploy{grid-template-columns:1fr}
}
@media(max-width:1000px){
  .pm-modules{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr;gap:40px}
  .split-reverse .chapter-head{order:0}
  .hero{grid-template-columns:1fr}
  .hero-art{max-width:720px}
}
@media(max-width:760px){
  .hero-promise{font-size:15px;flex-direction:column;gap:2px}
  .hero-promise span+span:before{content:none}
  .ui-body{grid-template-columns:1fr;min-height:0}
  .ui-workspace .ui-chat{height:500px}
  .ui-trace{margin-left:0}
  .demo-controls{align-items:flex-start}
  .hero-art .capture-strip{min-height:64px}
  .demo-tabs{gap:4px;flex-wrap:nowrap}
  .demo-tab{padding:5px 9px;font-size:11.5px}
  .demo-pause{padding:5px 4px;font-size:11.5px}
  .ui-side{display:none}
  .ui-notice{margin-left:0}
  .ui-ext-card,.ui-site-reply{margin-left:0}
  .feature-grid{grid-template-columns:1fr;gap:0;background:#fbfcf7;border:1px solid #d6dccc;border-radius:12px}
  .feature-grid li{background:none;border:0;border-radius:0;padding:18px 20px}
  .feature-grid li+li{border-top:1px solid #e1e5da}
  .feature-grid strong{font-size:18px;margin-top:4px}
  .ui-stats{grid-template-columns:1fr 1fr}
  .ui-stats div:last-child{grid-column:1/-1}
  .ui-row{flex-wrap:wrap}
  .ui-build{margin-top:40px}
  .ui-build-grid{grid-template-columns:1fr}
  .ui-steps{grid-row:auto}
  .data-groups{grid-template-columns:1fr;gap:12px}
  .pm-modules,.pm-base{grid-template-columns:1fr}
  .deploy{grid-template-columns:1fr;gap:14px}
  .deploy>div{padding:22px 20px}
  .capture-strip{font-size:11px}
}

/* Privacy note: small, bottom-left, never blocks content or traps focus. */
.privacy-note{position:fixed;left:16px;bottom:16px;z-index:60;max-width:340px;display:flex;align-items:center;gap:14px;padding:12px 14px;background:var(--card);border:1px solid var(--line-strong);border-radius:var(--radius);box-shadow:0 6px 24px rgba(41,46,42,.1);font-size:12.5px;line-height:1.45;color:var(--ink-soft)}
.privacy-note[hidden]{display:none}
.privacy-note-ok{flex:none;padding:7px 12px;font:inherit;font-weight:600;color:var(--ink);background:transparent;border:1px solid var(--line-strong);border-radius:var(--radius);cursor:pointer;transition:background .2s,color .2s}
.privacy-note-ok:hover,.privacy-note-ok:focus-visible{background:var(--ink);color:var(--paper)}
@media(max-width:760px){.privacy-note{right:16px;max-width:none}}
