/* ==========================================================================
   flow.css — the dark, flowing theme (23 November 2026, the owner's choice).
   Loaded after site.css and overrides it. Every page is full-bleed bands that
   change colour from one section to the next: no gaps, no rounded panels, no
   dividing lines. Greys and blacks plus one slate-blue grain band. Solid colour
   only (the grain is a small SVG texture, not a gradient).

   To go back to the black-and-white theme, delete the <link> to this file in
   src/layouts/base.html. The old pages are in old/pages-2026-11-before-flow/.
   ========================================================================== */

:root {
  --base: #1d2126; --sand: #272c33; --line: #4b535d; --ink: #f3f3f4; --ink-soft: #a9aeb6;
  --accent: #3358d4; --accent-hover: #4a70ee; --accent-tint: #2f353d; --bold: #272c33;
}
body { background: #14171b !important; color: #f3f3f4; }
.scroll-progress, .read-progress { display: none !important; }
h1, h2, h3, h4, .mega, .display, .panel-v { color: #f3f3f4 !important; }
p, li, dd, dt, summary { color: #b8bcc3; }
.lead, .lead p { color: #e6e7e9 !important; }
.label, .caption { color: #9aa0a9 !important; }
a:not(.btn) { color: #9db6ff; }
.btn-primary { background: #3358d4 !important; color: #fff !important; box-shadow: none !important; }
.btn-secondary { background: transparent !important; color: #fff !important; border-color: #6b7078 !important; }
.card, .screen-frame { background: #363d46 !important; border: 0 !important; color: #e6e7e9; }
.chips li { background: rgba(255, 255, 255, 0.08) !important; border: 0 !important; color: #e6e7e9 !important; border-radius: 99px !important; }
.field label, .field input, .field textarea, .field select { color: #f3f3f4; }
.field input, .field textarea, .field select { background: #1a1e23 !important; border: 1.5px solid #4a6ae0 !important; border-radius: 10px !important; }
.field input::placeholder, .field textarea::placeholder { color: #7d838c !important; }
.hint, .form-note { color: #9aa0a9 !important; }
.ticks svg, .contact-list svg { color: #8fb0ff !important; }
.ct-blue { color: #8fb0ff !important; }
.faq details { background: rgba(255, 255, 255, 0.07) !important; border-radius: 16px !important; border: 0 !important; }
summary { color: #f3f3f4 !important; }
.marquee { background: #14171b !important; }
.panel-v { color: #f3f3f4 !important; }
.proof-strip li span { color: #b8bcc3; }
.band-cta::after, .footer::after { display: none !important; }

/* ---- flow: full-bleed bands alternating between two close tones, no gaps, no lines, no texture ---- */
main > section { margin: 0 !important; border-radius: 0 !important; overflow: clip; position: relative; padding-block: var(--s-8); }
main > section:nth-child(odd)  { background-color: #1e242c !important; background-image: none !important; }
main > section:nth-child(even) { background-color: #161a20 !important; background-image: none !important; }
.footer { margin: 0 !important; border-radius: 0 !important; background: #0c0d0f !important; border: 0 !important; }
main :where(div, li, details, article, hr, p, dl, dd, dt, section, ul, ol, figure, nav, aside) { border: 0 !important; }
.band-line { border: 0 !important; }

/* ---- page heads: one full-width, smaller title, then the lead ---- */
main > section.page-head { padding: var(--s-6) var(--s-3) var(--s-5) !important; }
.page-head::before, .page-head::after { display: none !important; }
.ph h1 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; max-width: none; margin: var(--s-1) 0 var(--s-2); }
.ph .lead { font-size: 1.1875rem; line-height: 1.6; max-width: 60em; margin: 0 !important; }
.ph .label { margin: 0; }
.ph .caption { margin: var(--s-2) 0 0; font-size: 1rem; }
.ct-head.ph { max-width: none !important; text-align: left !important; }
.ct-head.ph h1 { max-width: none !important; }

/* ---- home: the hero, full-bleed black with the looping video ---- */
main > section.hA { background: #000 !important; background-image: none !important; position: relative; min-height: 680px; overflow: hidden; padding: 0 !important; }
.hA-v { position: absolute; right: 0; top: 0; width: 60%; height: 100%; object-fit: contain; filter: invert(1) hue-rotate(180deg); }
.hA-copy { position: relative; z-index: 2; max-width: 860px; padding: 72px var(--s-7) 0; }
.hA h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 1.04; margin: var(--s-2) 0 var(--s-4); }
.hA h1 span { display: block; }
.hA-bar { position: absolute; left: var(--s-7); bottom: var(--s-3); z-index: 3; display: flex; align-items: center; gap: var(--s-3); background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: var(--s-2) var(--s-3); border-radius: 16px !important; text-decoration: none; color: #fff !important; }
.hA-bar b { font: 700 1.125rem var(--font-display); }
.hA-bar span { color: #c9ccd2; }
.hA-bar i { font-style: normal; color: #fff; }
@media (max-width: 899px) {
  main > section.hA { min-height: 0; display: flex; flex-direction: column; padding-bottom: var(--s-3) !important; }
  .hA-copy { padding: var(--s-5) var(--s-3) 0; }
  .hA-v { position: static; order: 2; width: 100%; height: auto; margin-top: var(--s-3); }
  .hA-bar { position: static; order: 3; margin: var(--s-3) var(--s-3) 0; flex-wrap: wrap; }
}

/* ---- home picker: plain text, no boxes, no blue ---- */
.picker-list > label { background: none !important; border: 0 !important; box-shadow: none !important; color: #8d939c !important; }
.picker-list > label .picker-t { color: #8d939c !important; }
.picker-list > label .picker-n { color: #8d939c !important; }
.picker-list > input:checked + label { background: rgba(255, 255, 255, 0.08) !important; border: 0 !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22) !important; border-radius: 12px !important; }
.picker-list > input:checked + label .picker-t, .picker-list > input:checked + label .picker-n { color: #fff !important; }
.panel-note { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; color: #c9ccd2 !important; }

/* ---- other pages' small fixes ---- */
.band-founder, .band-founder p, .band-founder li, .band-founder figcaption { color: #c9ccd2; }
.steps > li, .steps .step { background: #1b2028 !important; border: 0 !important; }
.steps .step-head { background: #000 !important; }
.steps .step-text, .steps li p { color: #d9dbdf !important; opacity: 1 !important; }

/* ---- security: eight rows, then the demonstration ---- */
.s1 h2 { font-size: 2rem; margin: 0 0 var(--s-4); }
.s1-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.s1-list li { display: grid; grid-template-columns: 64px 1fr 1.5fr; gap: var(--s-3); align-items: center; background: rgba(255, 255, 255, 0.06); border-radius: 16px !important; padding: var(--s-3) var(--s-4); }
.s1-n { font: 800 1rem var(--font-display); letter-spacing: 0.12em; color: #9db6ff; }
.s1-list h3 { font-size: 1.375rem; margin: 0; }
.s1-list p { margin: 0; font-size: 1.125rem; line-height: 1.55; color: #cfd3d9 !important; max-width: none; }
@media (max-width: 800px) { .s1-list li { grid-template-columns: 1fr; gap: var(--s-1); } }
.sx2-site-grid { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 900px) { .sx2-site-grid { grid-template-columns: 5fr 7fr; gap: var(--s-7); } }
.sx2-site h2 { font-size: 2rem; margin: var(--s-1) 0 var(--s-2); }
.sx2-site .lead { font-size: 1.1875rem; }
.sx2-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sx2-ticks li { background: rgba(255, 255, 255, 0.06); border-radius: 14px !important; padding: var(--s-2) var(--s-3); font-size: 1.125rem; line-height: 1.55; color: #cfd3d9; }
.sx2-ticks b { color: #fff; font-weight: 700; margin-right: 0.35em; }

/* ---- work: one band per problem, a Before card and a Now card with an arrow ---- */
.tag { display: inline-block; font: 700 1rem var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, 0.14); padding: 2px 12px; border-radius: 99px !important; margin: 0 0 var(--s-1); }
.w2-h { text-align: center; margin-bottom: var(--s-4); }
.w2-h h2 { font-size: 2rem; margin: var(--s-1) 0 0; }
.w2-h .label { margin: 0; }
.w2-g { display: grid; gap: var(--s-3); align-items: stretch; }
@media (min-width: 900px) { .w2-g { grid-template-columns: 1fr 48px 1fr; } }
.w2-c { border-radius: 24px !important; padding: var(--s-4); }
.w2-cb { background: rgba(255, 255, 255, 0.1); }
.w2-cn { background: rgba(0, 0, 0, 0.32); }
.w2-c picture, .w2-c img { display: block; width: 100%; height: auto; border-radius: 10px !important; margin-bottom: var(--s-3); }
.w2-c .tag { margin-bottom: var(--s-2); }
.w2-c p { margin: 0; font-size: 1.125rem; line-height: 1.65; color: #e3e5e8 !important; }
.w2-arrow { align-self: center; justify-self: center; font: 800 2rem var(--font-display); color: #9db6ff; }
@media (max-width: 899px) { .w2-arrow { transform: rotate(90deg); } }

/* ---- how it works: the top photo fills the whole block, edge to edge ---- */
main > section.band-photo { padding: 0 !important; }
.band-photo > .wrap { max-width: none !important; padding: 0 !important; }
.hw-banner { margin: 0; }
.hw-banner img { border-radius: 0 !important; width: 100%; }
/* faq: the photo beside the title */
.faq-photo img { border-radius: 16px !important; }
/* picker: a subtle, visible box round the chosen one, with room inside it */
form.picker .picker-list > label { padding: var(--s-2) var(--s-2) !important; border-radius: 14px !important; }
form.picker .picker-list > input:checked + label { background: rgba(255, 255, 255, 0.08) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24) !important; border-radius: 14px !important; }
