
:root{
  --bg:#f6f8fc;
  --paper:#ffffff;
  --ink:#071a44;
  --muted:#53627d;
  --line:#d9e4f4;
  --blue:#1267c8;
  --blue2:#0a3d91;
  --green:#168b68;
  --soft:#eef6ff;
  --soft2:#f7fbff;
  --shadow:0 18px 50px rgba(7,26,68,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;padding-top:48px;color:var(--ink);background:linear-gradient(180deg,#fff 0%,var(--bg) 76%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}
a{text-decoration:none;color:inherit}
.container{width:min(1160px,calc(100% - 34px));margin:0 auto}
.topbar{position:fixed;inset:0 0 auto 0;z-index:50;height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(217,228,244,.95)}
.brand{display:flex;align-items:baseline;gap:9px;white-space:nowrap}.brand strong{font-size:18px;letter-spacing:.01em}.brand span{font-size:12px;color:var(--muted);font-weight:700}
.menu{display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none}.menu::-webkit-scrollbar{display:none}
.menu a{font-size:13px;font-weight:850;color:#1a345f;border-radius:999px;padding:6px 10px;white-space:nowrap}.menu a:hover,.menu a.active{background:var(--soft);color:var(--blue2)}
.showcase{padding:34px 0 22px;background:radial-gradient(circle at 88% 4%,rgba(18,103,200,.12),transparent 30%),linear-gradient(180deg,#fff 0%,#f7fbff 100%);border-bottom:1px solid var(--line)}
.intro-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px;margin-bottom:22px}
.eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:950;color:var(--blue2);margin-bottom:7px}
h1{font-size:clamp(34px,5.7vw,68px);line-height:.96;letter-spacing:-.06em;margin:0 0 10px;color:var(--ink);max-width:840px}
.intro-line p{font-size:clamp(17px,2vw,22px);color:#334664;margin:0;max-width:760px}
.mini-equation{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 10px;box-shadow:0 10px 26px rgba(7,26,68,.05);font-size:13px;font-weight:900;color:#233a62;white-space:nowrap}.mini-equation b{color:var(--blue)}
.demo-window{height:290px;overflow-x:auto;overflow-y:hidden;border:1px solid rgba(18,103,200,.14);border-radius:28px;background:linear-gradient(180deg,#f4f9ff 0%,#ffffff 52%,#f7fbff 100%);position:relative;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;cursor:pointer;scrollbar-width:none;box-shadow:0 16px 40px rgba(7,26,68,.06)}
.demo-window::-webkit-scrollbar{display:none}
.demo-window:focus-visible{outline:3px solid rgba(18,103,200,.40);outline-offset:2px}
.demo-window:before,.demo-window:after{content:"";position:absolute;top:0;bottom:0;width:56px;z-index:2;pointer-events:none}
.demo-window:before{left:0;background:linear-gradient(90deg,#f4f9ff 0%,rgba(244,249,255,.55) 55%,rgba(244,249,255,0) 100%)}
.demo-window:after{right:0;background:linear-gradient(270deg,#f7fbff 0%,rgba(247,251,255,.58) 55%,rgba(247,251,255,0) 100%)}
.demo-toggle{position:absolute;right:14px;top:14px;z-index:6;display:inline-flex;align-items:center;justify-content:center;height:34px;min-width:74px;border:1px solid rgba(18,103,200,.22);border-radius:999px;background:rgba(255,255,255,.95);box-shadow:0 10px 24px rgba(7,26,68,.08);color:var(--blue2);font-size:12px;font-weight:950;cursor:pointer}
.demo-window.is-playing .demo-toggle{background:var(--blue);border-color:var(--blue);color:#fff}
.demo-track{height:100%;display:flex;align-items:stretch;gap:14px;width:max-content;padding:20px 72px 20px 18px}
.demo-card{scroll-snap-align:start;scroll-snap-stop:always;flex:0 0 calc(100% - 92px);height:100%;max-height:250px;background:linear-gradient(180deg,#ffffff 0%,#f9fbff 100%);border:1px solid #d8e6f7;border-radius:24px;padding:20px 20px 18px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between;user-select:none;position:relative;overflow:hidden}
.demo-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(18,103,200,.06),rgba(18,103,200,0) 46%)}
.demo-card:nth-child(5n+1){background:linear-gradient(180deg,#ffffff 0%,#f3f8ff 100%)}
.demo-card:nth-child(5n+2){background:linear-gradient(180deg,#ffffff 0%,#f5fbff 100%)}
.demo-card:nth-child(5n+3){background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)}
.demo-card:nth-child(5n+4){background:linear-gradient(180deg,#ffffff 0%,#f5faff 100%)}
.demo-card:nth-child(5n+5){background:linear-gradient(180deg,#ffffff 0%,#f2f8ff 100%)}
.demo-card .step-no{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:999px;background:linear-gradient(180deg,#2f86e8,#1267c8);color:#fff;font-weight:950;font-size:14px;position:relative;z-index:1}
.demo-card h2{font-size:clamp(28px,4.2vw,42px);line-height:1;letter-spacing:-.045em;margin:14px 0 8px;color:var(--ink);position:relative;z-index:1}
.demo-card p{font-size:clamp(17px,2vw,22px);line-height:1.34;color:var(--muted);margin:0;font-weight:760;max-width:62ch;position:relative;z-index:1}
.story-section{padding:28px 0 24px}
.story-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.story-row{display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;align-items:stretch;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);padding:12px;box-shadow:0 10px 30px rgba(7,26,68,.045)}
.story-title{min-height:82px;border:2px solid var(--blue);border-radius:16px;background:linear-gradient(180deg,#ffffff 0%,#f2f8ff 100%);display:grid;place-items:center;text-align:center;padding:7px}
.story-title span{font-size:13px;font-weight:950;letter-spacing:-.015em;color:var(--blue2);line-height:1.05}
.story-copy{min-height:82px;display:flex;flex-direction:column;justify-content:center;padding:2px 4px}
.story-copy h2{font-size:clamp(19px,2.1vw,27px);line-height:1.08;letter-spacing:-.035em;margin:0 0 5px;color:var(--ink)}
.story-copy p{font-size:15px;line-height:1.32;color:var(--muted);margin:0;font-weight:720}
.final-band{padding:12px 0 36px}
.final-card{border:1px solid rgba(18,103,200,.18);background:linear-gradient(135deg,#fff,#eef6ff);border-radius:24px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:var(--shadow)}
.final-card p{font-size:16px;color:#324867;font-weight:760;margin:0}
.chips{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.chip{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border-radius:999px;border:1px solid #a8c4ed;background:#fff;color:#0a2d68;font-weight:900;font-size:14px;white-space:nowrap}.chip.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.footer{padding:28px 0 46px}.footer .container{border-top:1px solid var(--line);padding-top:18px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.footer p{font-size:13px;color:#6b7890;margin:0}
@media(max-width:880px){
 body{padding-top:74px}.topbar{height:74px;align-items:flex-start;flex-direction:column;padding:8px 14px}.intro-line{grid-template-columns:1fr}.mini-equation{width:max-content;max-width:100%;overflow:hidden}
 .demo-window{height:252px;border-radius:24px}
 .demo-track{padding:18px 62px 18px 12px;gap:12px}
 .demo-card{flex-basis:calc(100% - 72px);max-height:216px;padding:18px}
 .story-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.story-row{grid-template-columns:66px minmax(0,1fr);gap:10px}.story-title{min-height:76px}.story-copy{min-height:76px}.final-card{display:block}.chips{justify-content:flex-start;margin-top:14px}
}
@media(max-width:560px){
 .container{width:min(100% - 24px,1160px)}h1{font-size:38px}.brand span{display:none}.showcase{padding-top:26px}.mini-equation{display:none}
 .demo-window{height:224px;border-radius:22px}
 .demo-track{padding:14px 58px 14px 10px;gap:10px}
 .demo-card{flex-basis:calc(100% - 58px);max-height:196px;border-radius:18px;padding:15px 14px 14px}
 .demo-card .step-no{width:40px;height:40px;font-size:13px}
 .demo-card h2{font-size:20px;margin:12px 0 6px}
 .demo-card p{font-size:14px;line-height:1.38}
 .demo-toggle{top:10px;right:10px;height:32px;min-width:70px}
 .story-list{grid-template-columns:1fr;gap:12px}.story-row{grid-template-columns:64px minmax(0,1fr);gap:10px;border-radius:18px;padding:10px}.story-title{min-height:66px;border-radius:14px}.story-title span{font-size:12px}.story-copy{min-height:66px}.story-copy h2{font-size:20px}.story-copy p{font-size:14px}.chip{width:100%}.chips{display:grid}
}
@media(prefers-reduced-motion:reduce){.demo-window{overflow-x:auto}.demo-track{padding-right:58px}}


.lf-mark{
  display:inline-block;
  padding:.02em .18em .04em;
  border-radius:.2em;
  background:linear-gradient(180deg,#f3faff 0%,#e2f2ff 100%);
  box-shadow:inset 0 0 0 1px rgba(18,103,200,.20);
}
.lf-mark.inline{
  padding:.02em .22em;
  border-radius:.32em;
}
.lf-chip{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(18,103,200,.22);
  background:linear-gradient(180deg,#f3faff 0%,#e4f3ff 100%);
  color:var(--blue2);
  border-radius:999px;
  padding:4px 8px;
}
.demo-card{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
  border-color:#dfe7f2;
}
.demo-card:nth-child(5n+1),
.demo-card:nth-child(5n+2),
.demo-card:nth-child(5n+4),
.demo-card:nth-child(5n+5){
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
}
.demo-card .step-no{
  background:linear-gradient(180deg,#edf1f7,#d9e2ee);
  color:#314463;
}
.demo-card.limflex-step{
  background:linear-gradient(180deg,#f4fbff 0%,#e6f4ff 100%);
  border-color:#9dccf5;
  box-shadow:0 18px 54px rgba(18,103,200,.14);
}
.demo-card.limflex-step:before{
  background:linear-gradient(135deg,rgba(18,103,200,.13),rgba(18,103,200,.02) 56%);
}
.demo-card.limflex-step .step-no{
  background:linear-gradient(180deg,#3b91ed,#1267c8);
  color:#fff;
}
.demo-card.limflex-step h2{
  color:#062a66;
}
.story-title{
  border-color:#cfdbea;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
}
.story-title span{
  color:#334763;
}
.story-row.limflex-row{
  border-color:#9dccf5;
  background:linear-gradient(180deg,#f7fcff 0%,#eaf6ff 100%);
  box-shadow:0 12px 34px rgba(18,103,200,.10);
}
.story-row.limflex-row .story-title{
  border-color:var(--blue);
  background:linear-gradient(180deg,#f7fcff 0%,#e4f3ff 100%);
}
.story-row.limflex-row .story-title span{
  color:var(--blue2);
}



.demo-window{--peek:92px;}
.demo-card{flex:0 0 calc(100% - var(--peek));}
.lf-mark,
.lf-mark.inline{
  display:inline;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.lf-chip{
  display:inline;
  align-items:normal;
  border:0;
  background:transparent;
  color:inherit;
  border-radius:0;
  padding:0;
}
.demo-card .status-risk{
  color:#c12a2a;
  font-weight:950;
}
.demo-card .status-gate{
  color:var(--blue2);
  font-weight:950;
}
.story-row:not(.limflex-row) .story-title{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
}
.demo-card:not(.limflex-step){
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
  border-color:#dfe7f2;
  box-shadow:0 14px 38px rgba(7,26,68,.055);
}
@media(max-width:880px){.demo-window{--peek:72px;}}
@media(max-width:560px){.demo-window{--peek:58px;}}

/* Keep lower explanatory cards typographically neutral. */
.story-section .status-risk,
.story-section .status-gate{
  color:inherit;
  font-weight:inherit;
}


.demo-window .demo-card .status-risk{
  color:#d01818 !important;
  font-weight:1000 !important;
}
.demo-window .demo-card .status-gate{
  color:#1267c8 !important;
  font-weight:1000 !important;
}
.demo-window .demo-card.limflex-step,
.demo-window .demo-card.return-step{
  background:linear-gradient(180deg,#f3fbff 0%,#e6f4ff 100%) !important;
  border-color:#9dccf5 !important;
}
.story-section .status-risk,
.story-section .status-gate,
.final-band .status-risk,
.final-band .status-gate{
  color:inherit !important;
  font-weight:inherit !important;
}



.demo-window{--peek:58px;}
@media(min-width:561px){.demo-window{--peek:72px;}}
@media(min-width:881px){.demo-window{--peek:92px;}}
.demo-card .status-risk,
.demo-card .status-gate{
  display:inline !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  place-items:normal !important;
  font-size:inherit !important;
  line-height:inherit !important;
  position:relative;
  z-index:1;
}
.demo-window .status-risk{color:#d01818 !important;font-weight:1000 !important;}
.demo-window .status-gate{color:#1267c8 !important;font-weight:1000 !important;}
.story-section .status-risk,
.story-section .status-gate,
.final-band .status-risk,
.final-band .status-gate{color:inherit !important;font-weight:inherit !important;}
.demo-toggle{user-select:none;}
.demo-window.is-playing .demo-toggle::after{content:"";display:inline-block;width:5px;height:5px;border-radius:999px;background:#fff;margin-left:7px;box-shadow:0 0 0 3px rgba(255,255,255,.18);}



.demo-window{
  height:330px;
  --peek:92px;
}
.demo-track{
  padding-top:22px;
  padding-bottom:22px;
}
.demo-card{
  max-height:286px;
  padding:26px 26px 24px;
}
.demo-card h2{
  font-size:clamp(36px,4.8vw,54px) !important;
  line-height:.96 !important;
  margin:18px 0 10px !important;
}
.demo-card p{
  font-size:clamp(23px,2.6vw,31px) !important;
  line-height:1.22 !important;
  font-weight:820 !important;
}
.demo-card .step-no{
  width:54px !important;
  height:54px !important;
  font-size:17px !important;
}
.demo-window .demo-card p span:not(.step-no),
.demo-window .demo-card h2 span:not(.step-no){
  display:inline !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:inherit;
  line-height:inherit !important;
}
.demo-window .demo-card .status-risk{
  color:#d01818 !important;
  font-weight:1000 !important;
}
.demo-window .demo-card .status-gate{
  color:#1267c8 !important;
  font-weight:1000 !important;
}
.demo-window .demo-card.limflex-step,
.demo-window .demo-card.return-step{
  background:linear-gradient(180deg,#f1f9ff 0%,#dff0ff 100%) !important;
  border-color:#8fc5f4 !important;
}
@media(max-width:880px){
  .demo-window{height:302px;--peek:72px;}
  .demo-track{padding:20px 62px 20px 12px;}
  .demo-card{max-height:262px;padding:24px 22px 22px;}
  .demo-card h2{font-size:34px !important;}
  .demo-card p{font-size:23px !important;line-height:1.24 !important;}
  .demo-card .step-no{width:52px !important;height:52px !important;font-size:16px !important;}
}
@media(max-width:560px){
  .demo-window{height:286px;--peek:54px;border-radius:22px;}
  .demo-track{padding:16px 54px 16px 10px;gap:10px;}
  .demo-card{max-height:254px;border-radius:18px;padding:24px 20px 22px;}
  .demo-card h2{font-size:30px !important;line-height:.98 !important;margin:16px 0 8px !important;}
  .demo-card p{font-size:21px !important;line-height:1.24 !important;}
  .demo-card .step-no{width:50px !important;height:50px !important;font-size:16px !important;}
}


.demo-track .demo-card[data-clone="prefix"],
.demo-track .demo-card[data-clone="suffix"]{visibility:visible;}


.demo-window{
  height:248px !important;
  --peek:92px;
}
.demo-track{
  padding-top:16px !important;
  padding-bottom:16px !important;
}
.demo-card{
  max-height:216px !important;
  padding:20px 22px 18px !important;
}
.demo-card h2{
  font-size:clamp(31px,4.2vw,46px) !important;
  line-height:.96 !important;
  margin:12px 0 8px !important;
}
.demo-card p{
  font-size:clamp(20px,2.25vw,27px) !important;
  line-height:1.16 !important;
}
.demo-card .step-no{
  width:48px !important;
  height:48px !important;
  font-size:16px !important;
}
@media(max-width:880px){
  .demo-window{height:226px !important;--peek:72px;}
  .demo-track{padding:14px 62px 14px 12px !important;}
  .demo-card{max-height:198px !important;padding:18px 20px 17px !important;}
  .demo-card h2{font-size:30px !important;margin:10px 0 6px !important;}
  .demo-card p{font-size:20px !important;line-height:1.16 !important;}
  .demo-card .step-no{width:46px !important;height:46px !important;font-size:15px !important;}
}
@media(max-width:560px){
  .demo-window{height:216px !important;--peek:54px;border-radius:20px;}
  .demo-track{padding:12px 54px 12px 10px !important;gap:10px;}
  .demo-card{max-height:192px !important;border-radius:18px;padding:17px 18px 16px !important;}
  .demo-card h2{font-size:28px !important;line-height:.98 !important;margin:10px 0 6px !important;}
  .demo-card p{font-size:19px !important;line-height:1.16 !important;}
  .demo-card .step-no{width:44px !important;height:44px !important;font-size:15px !important;}
}


.demo-card{
  width:calc(100vw - var(--peek) - 44px) !important;
  flex-basis:calc(100vw - var(--peek) - 44px) !important;
  min-width:0 !important;
}
.demo-card p{overflow-wrap:break-word;word-break:normal;}
@media(max-width:880px){
  .demo-card{
    width:calc(100vw - var(--peek) - 34px) !important;
    flex-basis:calc(100vw - var(--peek) - 34px) !important;
  }
}
@media(max-width:560px){
  .demo-card{
    width:calc(100vw - var(--peek) - 26px) !important;
    flex-basis:calc(100vw - var(--peek) - 26px) !important;
  }
}


.point-section{padding:18px 0 4px;background:#fff;}
.point-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.point-card{border:1px solid #dce8f8;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbff);padding:18px 18px 16px;box-shadow:0 12px 30px rgba(7,26,68,.045);}
.point-card>div{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:30px;border-radius:999px;background:#eef6ff;border:1px solid #c9e1ff;color:#1267c8;font-size:12px;font-weight:950;letter-spacing:.02em;margin-bottom:10px;}
.point-card h2{font-size:20px;line-height:1.08;margin:0 0 6px;color:#071a44;letter-spacing:-.03em;}
.point-card p{font-size:14px;line-height:1.35;margin:0;color:#53627b;font-weight:750;}
@media(max-width:880px){.point-grid{grid-template-columns:1fr;gap:10px}.point-section{padding-top:14px}.point-card{padding:15px 16px;border-radius:18px}.point-card h2{font-size:18px}.point-card p{font-size:13.5px}}



body.v196-page .showcase.contact-showcase{padding:42px 0 26px;}
body.v196-page .contact-intro{grid-template-columns:1fr;max-width:980px;}
body.v196-page .contact-intro h1{max-width:920px;}
body.v196-page .contact-intro p{max-width:820px;}
body.v196-page .point-card.mechanism-card{border-color:#b8d9ff;background:linear-gradient(180deg,#f7fcff,#eef7ff);}
body.v196-page .point-card.warning-card{border-color:#efd6d6;background:linear-gradient(180deg,#fffafa,#fff7f7);}
body.v196-page .point-card.warning-card>div{background:#fff1f1;border-color:#f0c0c0;color:#9d1e1e;}
body.v196-page .final-card strong{color:#071a44;}
body.v196-page .story-row.no-demo-note{grid-column:1/-1;}



body.v196-page .story-copy h2,
body.v196-page .story-copy p{overflow-wrap:anywhere;}
body.v196-page .story-row.warning-card{border-color:#efd6d6;background:linear-gradient(180deg,#fffafa,#fff7f7);}
body.v196-page .story-row.warning-card .story-title{border-color:#efcaca;background:#fff8f8;}
body.v196-page .story-row.warning-card .story-title span{color:#9d1e1e;}



.tech-mechanism .point-card p,
.adoption-examples .story-copy p{
  max-width:58ch;
}
.difference-card{
  border-color:#c8d8ef;
  background:linear-gradient(180deg,#ffffff 0%,#f6faff 100%);
}
.warning-card .story-title{
  border-color:#c7d3e6;
}
.contact-showcase{
  padding-bottom:28px;
}
@media(max-width:560px){
  .tech-mechanism .point-card h2{font-size:22px;}
}



body.v196-page .final-card.action-boundary-card{background:linear-gradient(135deg,#ffffff,#edf6ff);}
body.v196-page .point-card.difference-card{border-color:#b8d9ff;background:linear-gradient(180deg,#f7fcff,#eef7ff);}
body.v196-page .story-title span{word-break:normal;}


/* v196: builder-readable action-boundary site additions. */
body.v196-page .showcase.contact-showcase,
body.v196-page .showcase.brief-showcase{
  padding:42px 0 26px;
}
body.v196-page .contact-intro,
body.v196-page .brief-intro{
  grid-template-columns:1fr;
  max-width:980px;
}
body.v196-page .contact-intro h1,
body.v196-page .brief-intro h1{
  max-width:940px;
}
body.v196-page .contact-intro p,
body.v196-page .brief-intro p{
  max-width:860px;
}
.api-section{
  padding:22px 0 28px;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
}
.api-panel{
  border:1px solid #cfe0f5;
  border-radius:24px;
  background:#fff;
  box-shadow:0 14px 36px rgba(7,26,68,.055);
  padding:18px;
}
.api-panel h2{
  margin:0 0 6px;
  font-size:clamp(24px,3.2vw,38px);
  letter-spacing:-.04em;
  line-height:1.02;
}
.api-panel .api-note{
  margin:0 0 14px;
  color:var(--muted);
  font-weight:760;
}
.code-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.code-card{
  min-width:0;
}
.code-card h3{
  margin:0 0 8px;
  font-size:15px;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--blue2);
}
.code-card pre{
  margin:0;
  overflow:auto;
  border-radius:18px;
  border:1px solid #dbe8f8;
  background:#071a44;
  color:#f5f8ff;
  padding:14px;
  font-size:13px;
  line-height:1.45;
  white-space:pre;
}
.builder-notes{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.builder-note{
  border:1px solid #dce8f8;
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#f8fbff);
  padding:12px 14px;
}
.builder-note strong{
  display:block;
  color:var(--ink);
  margin-bottom:3px;
}
.builder-note span{
  color:var(--muted);
  font-weight:730;
  font-size:14px;
}
.public-boundary{
  color:#53627d;
  font-weight:760;
}
@media(max-width:880px){
  .code-grid,
  .builder-notes{
    grid-template-columns:1fr;
  }
  .api-panel{padding:15px;border-radius:20px;}
}
@media(max-width:560px){
  .code-card pre{font-size:12px;padding:12px;border-radius:14px;}
}


/* v196: section titles clarify what each card group explains. */
.section-heading{
  margin-bottom:12px;
}
.section-heading h2{
  margin:0 0 4px;
  font-size:clamp(22px,2.5vw,34px);
  line-height:1.05;
  letter-spacing:-.04em;
  color:var(--ink);
}
.section-heading p{
  margin:0;
  max-width:760px;
  color:var(--muted);
  font-size:clamp(14px,1.35vw,17px);
  font-weight:720;
  line-height:1.35;
}
.point-section .section-heading,
.story-section .section-heading,
.api-section .section-heading,
.final-band .section-heading{
  padding-top:4px;
}
.point-section .point-grid,
.story-section .story-list{
  margin-top:10px;
}
.final-band .section-heading{
  margin-bottom:10px;
}
@media(max-width:560px){
  .section-heading{margin-bottom:10px}
  .section-heading h2{font-size:24px}
  .section-heading p{font-size:14px}
}

/* v196: keep two-line control labels inside the left square on mobile. */
body.v196-page .story-title span{white-space:normal;}
body.v196-page .story-title span br{display:block;}
@media(max-width:560px){
  body.v196-page .story-title span{font-size:11px;line-height:1.02;}
}


/* v196: Leo feedback - concrete stack position, decision states, named workflow. */
.stack-flow{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:14px 0 16px;
}
.stack-step{
  position:relative;
  border:1px solid #dbe8f8;
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#f7fbff);
  padding:12px 12px 11px;
  min-height:86px;
}
.stack-step:not(:last-child)::after{
  content:"→";
  position:absolute;
  right:-15px;
  top:50%;
  transform:translateY(-50%);
  color:#1267c8;
  font-weight:1000;
  font-size:18px;
  z-index:2;
}
.stack-step strong{
  display:block;
  color:#071a44;
  font-size:16px;
  line-height:1.05;
  letter-spacing:-.02em;
  margin-bottom:5px;
}
.stack-step span{
  display:block;
  color:#53627d;
  font-weight:730;
  font-size:13px;
  line-height:1.25;
}
.stack-step.limflex-stack{
  border-color:#8fc5f4;
  background:linear-gradient(180deg,#f2fbff,#e5f4ff);
  box-shadow:0 10px 26px rgba(18,103,200,.10);
}
.decision-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.decision-card{
  border:1px solid #dce8f8;
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#f8fbff);
  padding:14px;
  box-shadow:0 10px 26px rgba(7,26,68,.04);
}
.decision-card strong{
  display:block;
  color:#071a44;
  font-size:20px;
  letter-spacing:-.03em;
  line-height:1;
  margin-bottom:7px;
}
.decision-card span{
  display:block;
  color:#53627d;
  font-weight:740;
  font-size:14px;
  line-height:1.28;
}
.decision-card.hold strong,
.decision-card.review strong{color:#1267c8;}
.decision-card.block strong{color:#b42323;}
.workflow-panel{
  border:1px solid rgba(18,103,200,.18);
  border-radius:24px;
  background:linear-gradient(135deg,#fff,#eef7ff);
  box-shadow:0 14px 36px rgba(7,26,68,.055);
  padding:18px;
}
.workflow-panel .story-list{margin-top:0;}
@media(max-width:880px){
  .stack-flow,.decision-grid{grid-template-columns:1fr 1fr;}
  .stack-step:not(:last-child)::after{display:none;}
}
@media(max-width:560px){
  .stack-flow,.decision-grid{grid-template-columns:1fr;}
  .stack-step{min-height:auto;}
  .decision-card strong{font-size:21px;}
  .decision-card span{font-size:14px;}
}
