/* shadelyt.com — one stylesheet. No external fonts or scripts: the site loads nothing from other companies.
   Layout rhythm: a light page with dark rounded "stages" for the moments that matter. */
:root {
  --ink: #0b1020;
  --ink-2: #344054;
  --muted: #667085;
  --line: #e4e7ee;
  --page: #f4f6fb;
  --card: #ffffff;
  --night: #070b1a;
  --night-2: #0f1630;
  --night-line: rgba(255, 255, 255, .09);
  --on-night: #e6e9f2;
  --on-night-2: #a9b1c7;
  --indigo: #6366f1;
  --indigo-2: #818cf8;
  --cyan: #22d3ee;
  --mint: #34d399;
  --red: #f43f5e;
  --amber: #f59e0b;
  --accent: linear-gradient(92deg, #a5b4fc 0%, #67e8f9 55%, #6ee7b7 100%);
  --radius: 18px;
  --stage-radius: 32px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px rgba(16, 24, 40, .07);
  --max: 1180px;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--page); line-height: 1.6; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: .88em; background: #eef1f7; border-radius: 6px; padding: .05em .35em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--indigo-2); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.12; letter-spacing: -.02em; }
h1, h2 { font-family: var(--display); font-weight: 300; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; }
.grad { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-dark { background: linear-gradient(92deg, #4f46e5, #0891b2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
           text-transform: uppercase; color: var(--indigo); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.section-head { margin-bottom: 48px; }
.note { color: var(--muted); font-size: .92rem; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 246, 251, .82);
               backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
               border-bottom: 1px solid rgba(16, 24, 40, .06); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo img { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: .95rem; font-weight: 550; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .btn-primary, .nav .btn-primary:hover { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line); color: var(--ink);
            border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
       font-weight: 650; font-size: .98rem; border: 1px solid transparent; cursor: pointer; font-family: inherit;
       transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 8px 24px rgba(99, 102, 241, .35); }
.btn-primary:hover { background: #4f46e5; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--ink); box-shadow: 0 10px 30px rgba(255, 255, 255, .25); }
.btn-ghost { background: transparent; color: var(--on-night); border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { color: var(--ink); border-color: #c7cbd6; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #1d2440; }
.btn-small { padding: 8px 16px; font-size: .9rem; }

/* ------------------------------------------------------------------ dark stages */
/* overflow: clip, not hidden: hidden would make the stage a scroll container and stop the story frame from sticking */
.stage { position: relative; margin: 14px; border-radius: var(--stage-radius); background: var(--night); color: var(--on-night);
         overflow: hidden; overflow: clip; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(900px 520px at 85% -5%, rgba(99, 102, 241, .45), transparent 60%),
              radial-gradient(700px 520px at -5% 105%, rgba(34, 211, 238, .22), transparent 60%),
              radial-gradient(500px 300px at 50% 120%, rgba(52, 211, 153, .12), transparent 70%); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; border-radius: inherit;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }
.stage h1, .stage h2, .stage h3 { color: #fff; }
.stage .lead { color: var(--on-night-2); }
.stage .eyebrow { color: #a5b4fc; }
.stage .note { color: var(--on-night-2); }

/* ------------------------------------------------------------------ hero + live sandbox */
.hero { padding: 72px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.proof li { font-size: .88rem; color: var(--on-night); background: rgba(255, 255, 255, .06); border: 1px solid var(--night-line);
            border-radius: 999px; padding: 6px 12px; }
.proof li b { color: #fff; }

.sandbox { position: relative; background: rgba(15, 22, 48, .82); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px;
           box-shadow: 0 40px 100px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); overflow: hidden; }
.sb-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--night-line);
          font-size: .8rem; color: var(--on-night-2); }
.sb-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: inline-block; }
.sb-top .url { margin-left: 6px; font-family: var(--mono); }
.sb-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #a7f3d0; font-weight: 650; }
.sb-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.sb-thread { padding: 18px 16px 4px; display: flex; flex-direction: column; gap: 10px; min-height: 96px; max-height: 260px; overflow: auto; }
.sb-hello { color: var(--on-night-2); font-size: .92rem; margin: 0; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; white-space: pre-wrap;
          overflow-wrap: anywhere; animation: pop .25s ease both; }
.bubble.me { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 5px; }
.bubble.ai { align-self: flex-start; background: rgba(255, 255, 255, .08); color: var(--on-night); border-bottom-left-radius: 5px; }
.bubble .tok { background: rgba(255, 255, 255, .2); border-radius: 5px; padding: 0 4px; font-family: var(--mono); font-size: .85em; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-night-2); animation: blink 1s infinite both; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.record { align-self: stretch; border: 1px dashed rgba(167, 243, 208, .4); border-radius: 12px; padding: 10px 12px; font-size: .82rem;
          color: #a7f3d0; background: rgba(52, 211, 153, .06); animation: pop .3s ease both; }
.record b { color: #d1fae5; }
.record code { background: rgba(255, 255, 255, .08); color: #d1fae5; }

.sb-samples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px 0; font-size: .82rem; color: var(--on-night-2); }
.sb-samples button { font: inherit; font-size: .82rem; color: var(--on-night); background: rgba(255, 255, 255, .06);
                     border: 1px solid var(--night-line); border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.sb-samples button:hover { background: rgba(255, 255, 255, .12); }
.sb-field { position: relative; margin: 12px 16px 0; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--night-line); }
.sb-field:focus-within { border-color: rgba(129, 140, 248, .7); box-shadow: 0 0 0 4px rgba(99, 102, 241, .18); }
.sb-mirror, .sb-text { margin: 0; width: 100%; min-height: 112px; max-height: 180px; padding: 14px 16px; font-family: var(--text);
  font-size: 15px; line-height: 1.55; letter-spacing: normal; white-space: pre-wrap; overflow-wrap: break-word; word-break: break-word;
  border: 0; tab-size: 4; }
.sb-mirror { position: absolute; inset: 0; color: transparent; overflow: hidden; pointer-events: none; }
.sb-mirror mark { color: transparent; background: rgba(244, 63, 94, .28); border-radius: 4px; box-shadow: 0 0 0 1px rgba(244, 63, 94, .65); }
.sb-text { position: relative; display: block; background: transparent; color: #f1f3f9; caret-color: #fff; resize: none; overflow: auto; }
.sb-text:focus { outline: none; }
.sb-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px 16px; }
.sb-found { flex: 1; font-size: .84rem; color: var(--on-night-2); min-height: 1.4em; }
.sb-found .hit { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 9px; border-radius: 999px; background: rgba(244, 63, 94, .16);
                 color: #fecdd3; border: 1px solid rgba(244, 63, 94, .4); font-weight: 600; font-size: .78rem; }
.sb-found .clean { color: #a7f3d0; }
.sb-send { flex: none; }
.sb-note { margin: 0; padding: 0 16px 14px; font-size: .78rem; color: var(--on-night-2); }

.sb-dialog { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 5; background: #fff; color: var(--ink); border-radius: 16px;
             padding: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); animation: rise .25s ease both; }
.sb-dialog[hidden] { display: none; }
.sb-dialog .d-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; margin-bottom: 6px; }
.sb-dialog .d-title::before { content: "⛨"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
                              background: #eef2ff; color: #4338ca; font-size: 1rem; }
.sb-dialog p { margin: 0 0 14px; color: var(--ink-2); font-size: .92rem; }
.sb-dialog .d-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-dialog .d-foot { margin-top: 10px; font-size: .76rem; color: var(--muted); }

@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* ------------------------------------------------------------------ marquee of AI tools */
.tools-strip { padding: 34px 0 10px; }
.tools-strip p { text-align: center; color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
           mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; padding: 4px 0; }
html.js .marquee-track { animation: slide 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { flex: none; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600;
                font-size: .92rem; color: var(--ink-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ the risk */
.risk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.risk { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
        box-shadow: var(--shadow); overflow: hidden; }
.risk .big { display: block; font-family: var(--display); font-weight: 300; font-size: 2.4rem; line-height: 1; margin-bottom: 14px; color: var(--red); }
.risk h3 { margin-bottom: 8px; }
.risk p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.risk::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
               background: radial-gradient(circle, rgba(244, 63, 94, .14), transparent 70%); }
.quote-band { margin-top: 28px; display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border-radius: var(--radius);
              background: var(--ink); color: var(--on-night); }
.quote-band b { color: #fff; }
.quote-band::before { content: "“"; font-family: var(--display); font-size: 3.4rem; line-height: .8; color: var(--indigo-2); }

/* ------------------------------------------------------------------ scroll story */
.story { padding: 96px 0; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.story-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .35;
              transition: opacity .35s ease; }
.story-step.on, html:not(.js) .story-step { opacity: 1; }
.story-step:first-child { min-height: 52vh; }
.story-step .n { font-family: var(--mono); color: #a5b4fc; font-size: .85rem; letter-spacing: .1em; }
.story-step h3 { font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 8px 0 12px; }
.story-step p { color: var(--on-night-2); margin: 0; max-width: 460px; }
.story-step .ms { color: #a7f3d0; font-family: var(--mono); }
.story-frame { position: sticky; top: max(90px, calc(50vh - 220px)); height: 440px; border-radius: 22px; background: rgba(15, 22, 48, .85);
               border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 100px rgba(0, 0, 0, .5); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--night-line);
             font-size: .8rem; color: var(--on-night-2); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.frame-bar .clock { margin-left: auto; font-family: var(--mono); color: #a7f3d0; }
.layer { position: absolute; inset: 46px 0 34px; padding: 22px; opacity: 0; transform: translateY(14px);
         transition: opacity .45s ease, transform .45s ease; }
.story-frame[data-active="1"] [data-layer="1"], .story-frame[data-active="2"] [data-layer="2"],
.story-frame[data-active="3"] [data-layer="3"], .story-frame[data-active="4"] [data-layer="4"],
.story-frame[data-active="5"] [data-layer="5"] { opacity: 1; transform: none; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: background .3s, width .3s; }
.story-frame[data-active="1"] .dots i:nth-child(1), .story-frame[data-active="2"] .dots i:nth-child(2),
.story-frame[data-active="3"] .dots i:nth-child(3), .story-frame[data-active="4"] .dots i:nth-child(4),
.story-frame[data-active="5"] .dots i:nth-child(5) { background: #a5b4fc; width: 22px; border-radius: 4px; }
.mini-input { border: 1px solid var(--night-line); background: rgba(0, 0, 0, .25); border-radius: 14px; padding: 16px; color: var(--on-night);
              font-size: .95rem; line-height: 1.6; }
.mini-input .hl { background: rgba(244, 63, 94, .28); box-shadow: 0 0 0 1px rgba(244, 63, 94, .6); border-radius: 4px; padding: 0 2px; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: #fff; vertical-align: -3px; animation: blink 1s infinite; }
.held { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px;
        background: rgba(99, 102, 241, .18); border: 1px solid rgba(129, 140, 248, .5); color: #c7d2fe; font-weight: 600; font-size: .88rem; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(199, 210, 254, .3); border-top-color: #c7d2fe; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.checks { display: grid; gap: 10px; margin-top: 16px; }
.check { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 12px;
         background: rgba(255, 255, 255, .05); border: 1px solid var(--night-line); font-size: .9rem; }
.check b { color: #fff; font-weight: 600; }
.check span { font-family: var(--mono); font-size: .8rem; color: #a7f3d0; }
.check.miss span { color: var(--on-night-2); }
.dialog-mini { background: #fff; color: var(--ink); border-radius: 16px; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.dialog-mini strong { display: block; margin-bottom: 6px; }
.dialog-mini p { margin: 0 0 12px; color: var(--ink-2); font-size: .9rem; }
.pill { display: inline-block; padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 650; border: 1px solid #c7d2fe; color: #3730a3; margin: 0 6px 6px 0; }
.pill.solid { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.sent-as { margin-top: 14px; font-size: .85rem; color: var(--on-night-2); }
.sent-as code { background: rgba(255, 255, 255, .08); color: #e0e7ff; }
.console-row { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 16px; border-radius: 14px; background: #fff; color: var(--ink);
               font-size: .88rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); margin: 0; }
.console-row dt { color: var(--muted); }
.console-row dd { margin: 0; font-weight: 600; }
.stamp { margin-top: 14px; display: inline-flex; gap: 8px; align-items: center; color: #a7f3d0; font-size: .88rem; font-weight: 600; }

/* ------------------------------------------------------------------ bento of facts */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.tile { position: relative; border-radius: 22px; padding: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
        overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.tile .num { font-family: var(--display); font-weight: 250; font-size: clamp(3rem, 6vw, 4.6rem); line-height: .95; letter-spacing: -.04em; }
.tile .unit { font-family: var(--display); font-weight: 300; font-size: 1.6rem; margin-left: 4px; color: var(--muted); }
.tile p { margin: 8px 0 0; color: var(--ink-2); font-size: .95rem; max-width: 34ch; }
.tile.dark { background: var(--night); border-color: transparent; color: #fff; }
.tile.dark p { color: var(--on-night-2); }
.tile.dark .unit { color: var(--on-night-2); }
.tile.dark::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 120%;
                     background: radial-gradient(circle, rgba(99, 102, 241, .5), transparent 65%); }
.tile.dark > * { position: relative; }
.tile.tint { background: linear-gradient(160deg, #eef2ff, #ecfeff); }
.tile.mint { background: linear-gradient(160deg, #ecfdf5, #f0fdfa); }
.t-a { grid-column: span 3; grid-row: span 2; }
.t-b, .t-f { grid-column: span 3; }
.t-c, .t-d, .t-e { grid-column: span 2; }
.t-g { grid-column: span 6; min-height: 0; }
.t-g p { max-width: none; }

/* ------------------------------------------------------------------ redact, don't reject */
.compare-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.redact-demo { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #eef1f7; margin-bottom: 22px; }
.seg button { font: inherit; font-size: .9rem; font-weight: 650; border: 0; background: transparent; color: var(--ink-2);
              padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(16, 24, 40, .12); }
.rd-text { font-size: 1.12rem; line-height: 1.9; margin: 0 0 18px; color: var(--ink); }
.sw .o { background: #ffe4e6; color: #be123c; border-radius: 5px; padding: 1px 5px; }
.sw .t { font-family: var(--mono); font-size: .88em; background: #e0e7ff; color: #3730a3; border-radius: 5px; padding: 1px 6px; }
.rd-foot { margin: 0; font-size: .9rem; font-weight: 600; }
.rd-foot .o { color: #be123c; }
.rd-foot .t { color: #047857; }
.redact-demo[data-view="before"] .t, .redact-demo[data-view="after"] .o { display: none; }
.redact-demo .sw > span, .redact-demo .rd-foot > span { animation: pop .35s ease both; }

/* ------------------------------------------------------------------ features */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feat .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #eef2ff; color: #4338ca;
             font-weight: 800; margin-bottom: 14px; }
.feat h3 { margin-bottom: 6px; }
.feat p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ------------------------------------------------------------------ exposure check */
.quiz-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.quiz fieldset { border: 0; margin: 0 0 20px; padding: 0; }
.quiz legend { font-weight: 650; margin-bottom: 10px; color: #fff; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: var(--on-night);
             font-size: .92rem; transition: background .15s, border-color .15s; }
.opts input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--indigo-2); outline-offset: 2px; }
.result { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 28px; position: sticky; top: 100px; }
.gauge { --score: 0; --gauge: #6366f1; width: 170px; height: 170px; border-radius: 50%; margin-bottom: 18px; display: grid; place-items: center;
         background: conic-gradient(var(--gauge) calc(var(--score) * 1%), rgba(255, 255, 255, .1) 0); }
.gauge div { width: 136px; height: 136px; border-radius: 50%; background: var(--night-2); display: grid; place-items: center; text-align: center; }
.gauge b { display: block; font-family: var(--display); font-weight: 300; font-size: 2.6rem; color: #fff; line-height: 1; }
.gauge small { color: var(--on-night-2); font-size: .78rem; }
.result h3 { font-family: var(--display); font-weight: 300; font-size: 1.7rem; }
.result p { color: var(--on-night-2); }
.result ul { margin: 12px 0 20px; padding-left: 18px; color: var(--on-night-2); }
.result li { margin: 6px 0; }

/* ------------------------------------------------------------------ rollout, pricing, faq */
.roll-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 22px; padding: 0;
             list-style: none; counter-reset: roll; }
.roll { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 24px 22px; counter-increment: roll; }
.roll::before { content: counter(roll); position: absolute; top: 20px; right: 22px; font-family: var(--display);
                font-size: 2rem; font-weight: 300; line-height: 1; color: var(--line); }
.roll .when { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: #eef2ff;
              color: #4338ca; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.roll h3 { margin-bottom: 6px; }
.roll p { margin: 0; color: var(--ink-2); font-size: .94rem; }

.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.prices.two { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.price { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; }
.price.featured { background: var(--night); color: var(--on-night); border-color: transparent; position: relative; overflow: hidden; }
.price.featured::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 90%; height: 90%;
                          background: radial-gradient(circle, rgba(99, 102, 241, .45), transparent 65%); }
.price.featured > * { position: relative; }
.price.featured h3 { color: #fff; }
.price .for { color: var(--muted); font-size: .92rem; min-height: 44px; margin: 0; }
.price.featured .for { color: var(--on-night-2); }
.badge { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px;
         border-radius: 999px; background: rgba(165, 180, 252, .18); color: #c7d2fe; margin-bottom: 10px; }
.amount { font-family: var(--display); font-weight: 300; font-size: 2.6rem; margin: 10px 0 0; line-height: 1.05; }
.amount small { display: block; font-family: var(--text); font-size: .88rem; font-weight: 600; color: var(--muted); margin-top: 4px; }
.price.featured .amount small { color: var(--on-night-2); }
.price ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; }
.price li { padding: 7px 0 7px 26px; position: relative; color: var(--ink-2); font-size: .93rem; overflow-wrap: anywhere; }
.price.featured li { color: var(--on-night); }
.price li::before { content: "✓"; position: absolute; left: 0; color: #059669; font-weight: 800; }
.price.featured li::before { color: var(--mint); }
.price .btn { width: 100%; }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); }

/* ------------------------------------------------------------------ final call to action, footer */
.cta { padding: 88px 0; text-align: center; }
.cta h2 { max-width: 820px; margin: 0 auto 16px; }
.cta .lead { margin: 0 auto 30px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.site-footer { padding: 56px 0 36px; font-size: .92rem; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: var(--ink); font-size: .9rem; margin: 0 0 12px; }
.site-footer a { color: var(--muted); display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer .logo { color: var(--ink); margin-bottom: 10px; }
.site-footer .legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap;
                      justify-content: space-between; gap: 12px; }

/* ------------------------------------------------------------------ reveal on scroll (only with scripts, so nothing is ever hidden without them) */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .08s; }
html.js .reveal.d2 { transition-delay: .16s; }
html.js .reveal.d3 { transition-delay: .24s; }

/* ------------------------------------------------------------------ guide pages */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding: 48px 24px 80px; }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 112px); overflow: auto; font-size: .92rem;
       border-right: 1px solid var(--line); padding-right: 16px; }
.toc b { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; color: var(--ink-2); }
.toc a:hover { color: var(--indigo); }
.doc.single { grid-template-columns: minmax(0, 1fr); }
.doc.single .prose { margin: 0 auto; }
.prose { max-width: 820px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 40px 44px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.8rem; margin-top: 48px; padding-top: 12px; border-top: 1px solid var(--line); scroll-margin-top: 86px; }
.prose h3 { margin-top: 28px; scroll-margin-top: 86px; }
.prose p, .prose li { color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.prose th { background: #f7f8fb; }
.prose blockquote { margin: 18px 0; padding: 12px 18px; border-left: 4px solid var(--indigo); background: #eef2ff; border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 4px 0; }
.prose pre { background: var(--night); color: var(--on-night); padding: 14px 16px; border-radius: 12px; overflow-x: auto; font-size: .88rem; }
.prose pre code { background: none; padding: 0; color: inherit; }

/* ------------------------------------------------------------------ helpers */
.mt-18 { margin-top: 18px; }
.mt-28 { margin-top: 28px; }
.items-center { align-items: center; }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1100px) {
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .risk-grid, .roll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero .wrap, .compare-wrap, .quiz-wrap { grid-template-columns: 1fr; gap: 40px; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-frame { top: 80px; height: 330px; order: -1; z-index: 2; }
  .story-step { min-height: 56vh; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: span 1; grid-row: auto; }
  .t-a, .t-g { grid-column: span 2; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 16px; }
  .result { position: static; }
}
@media (max-width: 760px) {
  section, .story { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .stage { margin: 8px; border-radius: 24px; }
  .hero { padding: 48px 0 56px; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
         background: #fff; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(16, 24, 40, .12); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 10px; border-bottom: 0; }
  .risk-grid, .roll-grid, .feat-grid, .prices, .bento { grid-template-columns: 1fr; }
  .t-a, .t-g { grid-column: span 1; }
  .story-frame { height: 330px; background: var(--night-2); }
  .layer { padding: 14px; font-size: .86rem; }
  .mini-input { padding: 12px; font-size: .86rem; }
  .checks { gap: 6px; margin-top: 10px; }
  .check { padding: 8px 10px; font-size: .82rem; }
  .check.miss { display: none; }
  .dialog-mini { padding: 14px; }
  .console-row { padding: 12px; font-size: .82rem; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .doc { padding: 24px 12px 56px; }
  .prose { padding: 26px 18px; }
  .sb-thread { max-height: 220px; }
  .redact-demo { padding: 20px; }
  .rd-text { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  html.js .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
