:root {
  color-scheme: dark;
  font-family: "Open Sans", Arial, sans-serif;
  background: #071426;
  color: #f8fafc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #071426;
  --panel: #0f2036;
  --panel-border: #29415d;
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --accent: #38bdf8;
  --accent-dark: #075985;
  --focus: #0284c7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); line-height: 1.65; }
a { color: #7dd3fc; text-underline-offset: .2em; }
a:hover { color: #bae6fd; }
button, input, select, textarea { font: inherit; }
button, input, select, textarea, a { max-width: 100%; }
button, select, input, textarea { color: #111827; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }

.site-header { position: sticky; z-index: 5; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; padding: 1rem max(1rem, calc((100vw - 1180px) / 2)); background: rgb(15 23 42 / 80%); border-bottom: 1px solid #1e293b; backdrop-filter: blur(8px); }
.brand { color: #fff; text-decoration: none; font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.brand span { color: #0ea5e9; }
.desktop-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
.desktop-nav a, .mobile-nav a { color: #cbd5e1; text-decoration: none; font-weight: 400; transition: color .15s ease; }
.desktop-nav a:hover, .mobile-nav a:hover { color: #38bdf8; }
.menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid #53657b; border-radius: .5rem; padding: .45rem .75rem; }
.mobile-nav { display: none; }
.page-wrap { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.hero { padding-block: clamp(3rem, 8vw, 6rem); }
.hero.compact { padding-block: 2.5rem 2rem; }
.hero h1 { max-width: 900px; margin: .25rem 0 1rem; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.12; letter-spacing: -.035em; }
.hero > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.eyebrow { margin: 0 0 .5rem; color: #7dd3fc; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; }
h2 { margin: .25rem 0 .65rem; font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.section-block, .section-grid { padding-block: 2rem 3rem; }
.section-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; }
.section-grid > *, .policy-layout > * { min-width: 0; }
.section-heading { margin-bottom: 1.25rem; }
.section-heading > p:not(.eyebrow) { color: var(--muted); }
.button { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; border: 1px solid #64748b; border-radius: .65rem; font-weight: 750; text-decoration: none; }
.button.primary { background: #0369a1; border-color: #7dd3fc; color: #fff; }
.button.primary:hover { background: #075985; color: #fff; }
.quick-card, .tool-card, .info-card, .policy-intro { padding: clamp(1rem, 3vw, 1.5rem); background: var(--panel); border: 1px solid var(--panel-border); border-radius: 1rem; box-shadow: 0 16px 40px #0208174d; }
.quick-options, .tool-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; margin-bottom: 1rem; }
label { display: grid; gap: .4rem; color: #f1f5f9; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 2.8rem; padding: .6rem .7rem; background: #fff; border: 1px solid #64748b; border-radius: .45rem; color: #111827; }
textarea { resize: vertical; }
input[type="checkbox"] { width: 1.15rem; min-height: 1.15rem; height: 1.15rem; accent-color: #0284c7; }
.quick-checks { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; min-width: 0; width: 100%; margin: 1rem 0; padding: .8rem; border: 1px solid #53657b; border-radius: .6rem; }
.quick-checks legend { padding-inline: .35rem; color: #e2e8f0; font-weight: 700; }
.quick-checks label, .check-option { display: flex; min-width: 0; align-items: center; gap: .5rem; }
.entropy-row { display: flex; justify-content: space-between; gap: 1rem; margin: .8rem 0; padding: .75rem 0; border-top: 1px solid #53657b; color: #e2e8f0; }
.status { min-height: 1.5rem; margin: .5rem 0; color: #e2e8f0; }
.results { display: grid; gap: .75rem; margin-top: 1rem; }
.result-item { min-width: 0; padding: .8rem; border: 1px solid #49617b; border-radius: .65rem; background: #08182a; }
.result-item h3 { color: #fff; }
.result-part { display: grid; gap: .35rem; margin-top: .6rem; }
.result-label { color: #e2e8f0; font-size: .92rem; font-weight: 700; }
.result-part pre { max-width: 100%; margin: 0; padding: .75rem; overflow-wrap: anywhere; white-space: pre-wrap; background: #020817; border: 1px solid #53657b; border-radius: .4rem; color: #f8fafc; font: .9rem/1.5 ui-monospace, monospace; }
.copy-button { justify-self: start; margin-top: .25rem; background: #1e293b; color: #fff; }
.tool-card { display: grid; gap: .8rem; }
.tool-card h2 { margin-bottom: 0; }
.tool-options .check-option { align-self: end; min-height: 2.7rem; }
.info-card { margin-block: 1.5rem 3rem; }
.info-card p, .policy-intro p, .policy-intro li, .privacy-note p { color: #e2e8f0; }
.info-card h2 { color: #fff; }
.hint { margin: 0; color: #e2e8f0; }
.policy-studio-panel { padding: clamp(.75rem, 2vw, 1.25rem); background: #f8fafc; color: #0f172a; border-radius: 1rem; }
.policy-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem; align-items: stretch; }
.policy-intro { background: #fff; color: #0f172a; border-color: #94a3b8; box-shadow: none; }
.policy-intro h3 { color: #0f172a; }
.policy-intro p, .policy-intro li { color: #334155; }
.policy-intro ul { padding-left: 1.3rem; }
.policy-form { display: grid; gap: .8rem; padding: clamp(1rem, 3vw, 1.5rem); background: #0b1728; color: #f8fafc; border: 1px solid #52657d; border-radius: 1rem; }
.policy-form label { color: #f1f5f9; }
.policy-form .check-option { display: flex; align-items: center; gap: .6rem; }
.policy-form h3 { color: #fff; }
.policy-result { min-height: 3rem; padding: .75rem; color: #f8fafc; border: 1px solid #64748b; border-radius: .5rem; background: #17283e; }
.policy-result.success { color: #dcfce7; border-color: #4ade80; }
.policy-result.error { color: #fee2e2; border-color: #f87171; }
.search-label { max-width: 38rem; margin: 1rem 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1rem; }
.filter-chip { padding: .5rem .8rem; background: #13243a; border: 1px solid #718096; border-radius: 999px; color: #f8fafc; font-weight: 700; }
.filter-chip.active, .filter-chip:hover { background: #075985; border-color: #7dd3fc; color: #fff; }
.catalog-count { color: #e2e8f0; font-weight: 700; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: .85rem; }
.tool-link { position: relative; display: grid; align-content: start; gap: .5rem; min-height: 10rem; padding: 1rem 2rem 1rem 1rem; background: var(--panel); border: 1px solid var(--panel-border); border-radius: .75rem; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.tool-link:hover { border-color: #38bdf8; transform: translateY(-2px); }
.tool-link strong { color: #fff; font-size: 1.05rem; }
.tool-link > span:not(.tool-category):not(.tool-link-arrow) { color: #e2e8f0; font-size: .92rem; }
.tool-category { color: #7dd3fc; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.tool-link-arrow { position: absolute; right: 1rem; bottom: 1rem; color: #7dd3fc; font-size: 1.35rem; }
.empty-state { padding: 1rem; color: #fff; border: 1px solid #718096; border-radius: .6rem; }
.privacy-note { padding-bottom: 3rem; }
.privacy-note code { color: #bae6fd; overflow-wrap: anywhere; }
.site-footer { padding: 2rem 1.5rem; color: #94a3b8; background: #0f172a; border-top: 1px solid #1e293b; text-align: center; }
.site-footer-inner { width: min(100%, 1180px); margin-inline: auto; }
.site-footer p { margin: 0; color: #94a3b8; }
.site-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1rem; }
.site-footer a { color: #94a3b8; transition: color .15s ease; }
.site-footer a:hover { color: #38bdf8; }

.lab-home {
  --lab-bg: #07111f;
  --lab-panel: #0e1d30;
  --lab-panel-raised: #102238;
  --lab-border: #263d54;
  --lab-lime: #b7ff55;
  --lab-blue: #59d7ff;
  background: var(--lab-bg);
  color: #f4f7fb;
}
.lab-home .eyebrow { color: var(--lab-lime); }
.lab-home section[id] { scroll-margin-top: 6rem; }
.lab-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(17rem, .75fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); min-height: 39rem; padding-block: clamp(4rem, 8vw, 7rem); }
.lab-hero::before { position: absolute; z-index: 0; inset: 0; background-image: linear-gradient(#21364d33 1px, transparent 1px), linear-gradient(90deg, #21364d33 1px, transparent 1px); background-size: 4rem 4rem; content: ""; mask-image: linear-gradient(to bottom, #000 0%, transparent 88%); pointer-events: none; }
.lab-hero > * { position: relative; z-index: 1; }
.lab-hero h1 { max-width: 850px; margin: .5rem 0 1.5rem; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.055em; }
.lab-hero h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--lab-blue); }
.lab-hero .hero-copy > p:not(.eyebrow) { max-width: 42rem; color: #b9c6d6; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.lab-home .button.primary { color: #111a11; background: var(--lab-lime); border-color: var(--lab-lime); }
.lab-home .button.primary:hover { color: #111a11; background: #caff7c; }
.text-link { color: var(--lab-blue); font-weight: 800; text-decoration: none; }
.text-link:hover { color: #c0f3ff; }
.entropy-source { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2rem); background: linear-gradient(145deg, #102237, #0a1727); border: 1px solid #2a425b; border-radius: 1.5rem; box-shadow: 0 24px 70px #0005; transform: rotate(1deg); }
.entropy-source .eyebrow { margin: 0; color: #b8c9d9; font-size: .75rem; }
.entropy-source > strong { color: var(--lab-lime); font: 800 clamp(.95rem, 1.8vw, 1.2rem)/1.3 ui-monospace, monospace; overflow-wrap: anywhere; }
.binary-lines { display: grid; gap: .55rem; padding-block: .3rem; color: var(--lab-blue); font: 800 clamp(1.2rem, 2vw, 1.55rem)/1.3 ui-monospace, monospace; letter-spacing: .16em; }
.entropy-source small { color: #bdcad9; font: 800 .68rem/1.4 ui-monospace, monospace; letter-spacing: .14em; }
.quick-section { padding-block: 1rem 4rem; }
.quick-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; }
.quick-heading h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.quick-mode-label { width: min(19rem, 100%); }
.quick-mode-label select { min-height: 3.15rem; color: #f4f7fb; background: #0d1a2a; border-color: var(--lab-border); }
.quick-card { padding: clamp(1.2rem, 3.3vw, 2.1rem); background: linear-gradient(140deg, #102238 0%, #0d1c2f 100%); border: 1px solid #29435d; border-radius: 1.4rem; box-shadow: 0 22px 60px #0004; }
.quick-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.quick-card-heading .eyebrow { margin-bottom: .35rem; }
.quick-card-heading h3 { margin: 0; font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.quick-card-heading p:not(.eyebrow) { max-width: 54rem; margin: .45rem 0 0; color: #b9c6d6; }
.safety-pill { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .55rem; padding: .55rem .85rem; color: #d9f5bd; background: #14291f; border: 1px solid #45613d; border-radius: 999px; font-size: .83rem; font-weight: 800; }
.safety-pill span { width: .55rem; height: .55rem; background: var(--lab-lime); border-radius: 50%; box-shadow: 0 0 12px #b7ff55aa; }
.quick-results { gap: .55rem; margin: 1.1rem 0; }
.quick-results .result-item { min-width: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.quick-results .result-item > h3, .quick-results .result-label { display: none; }
.quick-results .result-part { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: .5rem; margin: 0; padding: .3rem .35rem .3rem .9rem; background: #06101c; border: 1px solid #2a4058; border-radius: .7rem; }
.quick-results .result-part pre { align-self: center; padding: .35rem 0; background: transparent; border: 0; font-size: .95rem; }
.quick-results .copy-button, .policy-output .copy-button { min-width: 6rem; margin: 0; color: #f4f7fb; background: #142a41; border: 1px solid #29445d; border-radius: .55rem; }
.quick-results .copy-status { min-height: 0; margin: 0; }
.quick-strength, .policy-strength { display: grid; grid-template-columns: minmax(3rem, 1fr) auto auto; align-items: center; gap: .8rem; margin-block: .7rem 1.1rem; color: #e3eaf2; font-size: .88rem; }
.strength-track { height: .48rem; overflow: hidden; background: #27384b; border-radius: 999px; }
.strength-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #5cdfff, #65e5a4 55%, var(--lab-lime)); border-radius: inherit; transition: width .2s ease; }
.quick-controls { display: grid; grid-template-columns: minmax(9rem, .8fr) minmax(13rem, 1fr) minmax(12rem, .8fr); align-items: end; gap: 1.2rem; margin-top: 1rem; }
.quick-controls label { color: #dbe4ee; }
.quick-controls select { color: #f4f7fb; background: #081626; border-color: var(--lab-border); }
.quick-controls input[type="range"] { min-height: 2.3rem; padding: 0; accent-color: var(--lab-lime); background: transparent; border: 0; }
.quick-controls output { color: #dbe4ee; font-weight: 700; }
.quick-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.lab-home .button.secondary { color: #eff4fa; background: #0d1c2d; border-color: #334a61; }
.quick-advanced { margin-top: .8rem; }
.quick-checks { border-color: #3d536a; }
.quick-checks label { color: #e2eaf2; }
.quick-checks input { accent-color: var(--lab-lime); }
.quick-section .status { min-height: 0; margin: .4rem 0 0; color: #ffd3d3; }
.lab-trust { border-block: 1px solid #26394d; background: #0a1727; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid article { min-width: 0; padding: 2.5rem clamp(1rem, 3.8vw, 3rem); border-right: 1px solid #26394d; }
.trust-grid article:first-child { padding-left: 0; }
.trust-grid article:last-child { padding-right: 0; border-right: 0; }
.trust-grid article > span { color: var(--lab-blue); font: 800 .8rem/1 ui-monospace, monospace; }
.trust-grid h3 { margin: 1.2rem 0 .5rem; font-size: 1.3rem; }
.trust-grid p { max-width: 24rem; margin: 0; color: #b7c4d3; }
.directory-section { padding-block: 5rem; }
.directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.4rem; }
.directory-heading h2 { max-width: 43rem; margin: .2rem 0 0; font-size: clamp(2rem, 4vw, 3rem); }
.search-label { position: relative; width: min(22rem, 100%); margin: 0; }
.search-label > span:not(.sr-only) { position: absolute; z-index: 1; top: .45rem; left: .85rem; color: #dce9f4; font-size: 1.35rem; }
.search-label input { min-height: 3.2rem; padding-left: 2.5rem; color: #f4f7fb; background: #0d1c2d; border-color: #2a4058; border-radius: .8rem; }
.search-label input::placeholder { color: #91a2b5; }
.category-filter-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: -1rem 0 1.5rem; }
.category-filter-row .category-filter { padding: .48rem .8rem; color: #b8c6d5; background: #0d1b2b; border: 1px solid #293f56; border-radius: 999px; font-size: .84rem; }
.category-filter-row .category-filter.active, .category-filter-row .category-filter:hover { color: var(--lab-lime); border-color: #607c38; }
.catalog-category { margin-top: 2.1rem; }
.catalog-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; padding-bottom: .6rem; border-bottom: 1px solid #2a4058; }
.catalog-category-heading > span { color: #aab9c9; font-size: .83rem; }
.category-filter { padding: 0; color: #f4f7fb; background: transparent; border: 0; font-size: 1.2rem; font-weight: 800; text-align: left; }
.category-filter:hover, .category-filter.active { color: var(--lab-lime); }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.tool-link { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr) 1rem; align-items: center; gap: .9rem; min-height: 6.1rem; padding: .9rem; background: #0d1b2b; border: 1px solid #102237; border-radius: .9rem; text-decoration: none; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.tool-link:hover { background: #11243a; border-color: #35536e; transform: translateY(-1px); }
.tool-icon { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; color: var(--lab-lime); border: 1px solid #2b435c; border-radius: .7rem; font: 800 .9rem/1 ui-monospace, monospace; }
.tool-copy { display: grid; gap: .2rem; min-width: 0; }
.tool-link strong { color: #f5f7fa; font-size: 1rem; line-height: 1.35; }
.tool-copy > span { color: #aebdcd; font-size: .86rem; line-height: 1.45; }
.tool-link-arrow { color: var(--lab-blue); font-size: 1.25rem; font-weight: 800; }
.catalog-category[hidden] { display: none; }
.catalog-category .tool-link[hidden] { display: none; }
.catalog-category .tool-grid { grid-auto-rows: 1fr; }
.catalog-category .tool-link { height: 100%; }
.lab-home .empty-state { color: #f4f7fb; border-color: #405872; }
.policy-studio { padding-block: clamp(3.5rem, 7vw, 6.5rem); color: #f4f7fb; background: var(--lab-bg); }
.policy-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.policy-copy .eyebrow { color: var(--lab-lime); }
.policy-copy h2 { margin: .35rem 0 1.4rem; font-size: clamp(2.4rem, 4vw, 3.7rem); }
.policy-copy > p:not(.eyebrow) { color: #b9c6d6; font-size: 1.15rem; }
.policy-copy ul { display: grid; gap: .35rem; margin: 1.8rem 0 0; padding-left: 1.3rem; color: #cbd5e1; }
.policy-form { min-width: 0; padding: clamp(1.2rem, 3vw, 2rem); background: #071426; border: 1px solid #233b54; border-radius: 1.4rem; box-shadow: 0 20px 55px #14233335; }
.policy-form label { color: #e5ebf1; }
.policy-form input:not([type="checkbox"]) { color: #f5f7fa; background: #0b1a2b; border-color: #29445e; }
.policy-form input::placeholder { color: #b9c6d6; opacity: 1; }
.policy-lengths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.policy-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0; padding: 1rem; border: 1px solid #29445e; border-radius: .85rem; }
.policy-groups legend { padding-inline: .35rem; color: #e5ebf1; font-weight: 800; }
.policy-groups label { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.policy-groups input { accent-color: var(--lab-lime); }
.policy-form > .button { margin-top: .2rem; }
.policy-status { min-height: 1.2rem; margin: .3rem 0; color: #ffd3d3; font-size: .88rem; }
.policy-output { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem; min-height: 4.2rem; padding: .45rem .5rem .45rem .9rem; background: #081a2b; border: 1px solid #29445e; border-radius: .8rem; }
.policy-output code { color: var(--lab-blue); font: 700 .95rem/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.policy-copy { color: #f4f7fb; background: transparent; }
.policy-output .copy-button { color: #f4f7fb; background: #142a41; }
.policy-strength { margin: .8rem 0 .2rem; }
.policy-entropy { margin: .3rem 0 1rem; color: #aab9c9; font-size: .84rem; }
.policy-checker { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #293e54; }
.policy-checker summary { color: #d8e4ef; font-weight: 800; cursor: pointer; }
.policy-checker label { margin-top: .8rem; }
.policy-checker .button { margin-block: .7rem; }
.policy-checker .policy-result { margin-top: .5rem; }
.knowledge-section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.knowledge-section > h2 { margin: .3rem 0 2.5rem; font-size: clamp(2rem, 4vw, 3rem); }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.knowledge-grid article { padding-top: 1.1rem; border-top: 3px solid var(--lab-blue); }
.knowledge-grid h3 { margin: 0 0 .7rem; font-size: 1.2rem; }
.knowledge-grid p { margin: 0; color: #cbd5e1; }
.storage-guide { margin-top: 2.5rem; padding: clamp(1.1rem, 3vw, 1.75rem); background: #0a1727; border: 1px solid #2a4058; border-radius: 1rem; }
.storage-guide h3 { margin: .35rem 0 .75rem; color: #f4f7fb; font-size: clamp(1.5rem, 3vw, 2rem); }
.storage-guide > p:not(.eyebrow), .storage-guide li { color: #cbd5e1; }
.storage-guide-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-top: 1.2rem; }
.storage-guide-columns h4 { margin: 0 0 .5rem; color: #f4f7fb; font-size: 1.05rem; }
.storage-guide-columns ul, .storage-guide-columns ol { display: grid; gap: .45rem; padding-left: 1.35rem; }
.storage-guide code { padding: .1rem .3rem; color: var(--lab-lime); background: #102238; border-radius: .25rem; overflow-wrap: anywhere; }
.storage-guide-note { margin: 1.25rem 0 0; padding: 1rem; background: #102238; border: 1px solid #2a4058; border-radius: .75rem; }
.storage-guide-note h4 { margin: 0 0 .5rem; color: #f4f7fb; font-size: 1.05rem; }
.storage-guide-note p { margin: 0; color: #cbd5e1; }
.storage-guide-note strong { color: #f4f7fb; }
.lab-faq { margin-top: 3rem; border-top: 1px solid #26394d; }
.lab-faq details { padding: 1.15rem 0; border-bottom: 1px solid #26394d; }
.lab-faq summary { color: #f4f7fb; font-weight: 800; cursor: pointer; }
.lab-faq p { max-width: 70rem; margin: .8rem 0 0 1.3rem; color: #cbd5e1; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 920px) {
  .site-header { flex-wrap: wrap; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: grid; flex-basis: 100%; gap: .15rem; padding: .5rem 0; }
  .mobile-nav a { padding: .55rem .2rem; }
}

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; padding-inline: 1rem; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: grid; flex-basis: 100%; gap: .15rem; padding: .5rem 0; }
  .mobile-nav a { padding: .55rem .2rem; }
  .section-grid, .policy-layout { grid-template-columns: minmax(0, 1fr); }
  .storage-guide-columns { grid-template-columns: minmax(0, 1fr); }
  .lab-hero { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: 2.5rem; }
  .entropy-source { max-width: 30rem; transform: none; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-controls label:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .page-wrap { width: min(100% - 1.25rem, 1180px); }
  .hero { padding-block: 2.5rem; }
  .quick-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entropy-row { flex-direction: column; gap: .2rem; }
  .tool-options { grid-template-columns: 1fr; }
  .lab-hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .quick-heading, .directory-heading { align-items: stretch; flex-direction: column; }
  .quick-mode-label, .search-label { width: 100%; }
  .quick-card-heading { flex-direction: column; }
  .quick-strength, .policy-strength { grid-template-columns: minmax(0, 1fr) auto; }
  .quick-strength .strength-track, .policy-strength .strength-track { grid-column: 1 / -1; }
  .trust-grid, .knowledge-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-grid article, .trust-grid article:first-child, .trust-grid article:last-child { padding: 1.4rem 0; border-right: 0; border-bottom: 1px solid #26394d; }
  .trust-grid article:last-child { border-bottom: 0; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .quick-controls, .policy-lengths, .policy-groups { grid-template-columns: minmax(0, 1fr); }
  .quick-controls label:nth-child(3) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}