/* Cnamio providers page (/providers). Builds on site.css (tokens, page top, cards, bands) and docs.css (prose, code):
   the live lookup riding out of the navy top, the wall of providers, the two ways as tabs, the bento of credentials with
   the folded steps, the safety band and the closing path. Tokens only. Everything drawn here is a picture of the real
   window (aria-hidden); the words next to it say the same. */

/* Separators for screen readers and the Markdown twin ("Cloudflare, Automatic: API token…"); the layout shows columns. */
.pg-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 9px; border-radius: var(--r-pill); background: var(--ok-soft); color: var(--ok);
  font: 600 12.5px/1.5 var(--font); letter-spacing: 0; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.badge-soft { background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.badge-soft::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.pv main [id] { scroll-margin-top: 24px; }
.pv main > section > .wrap > .sec-head { margin-bottom: 44px; }
.pv main h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.042em; max-width: 15em; }
.pv .section { padding: 104px 0; }
.pv code { font: 0.86em var(--mono); overflow-wrap: break-word; }

/* The line that ends a large band: what to do next, in this band's words. */
.cta-row { align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.cta-row p { flex: 1 1 260px; margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.pv-navy .cta-row .btn { background: var(--hero-accent); color: var(--hero-accent-ink); }
.pv-navy .cta-row .btn:hover { background: var(--hero-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hero-accent) 32%, transparent); }

/* 1. The top: the promise, the lookup card, and room for the stage that hangs into the next band. */
.pv { --stage-w: min(1120px, calc(100vw - 64px)); --overlap: calc(var(--stage-w) * .3); }
.pv .page-head { padding-top: calc(var(--top-h) + 72px); padding-bottom: calc(var(--overlap) + 12px); }
.pv .page-head .cta .btn { height: 50px; padding: 0 28px; font-size: 16px; }
.plook { margin-top: 56px; border-radius: var(--r-xl); background: var(--surface); text-align: left; box-shadow: 0 50px 110px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line); overflow: hidden; }
.pl-ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px 48px; align-items: center; padding: 32px 36px 24px; }
.pl-ask > * { min-width: 0; }
.pv main .pl-ask h2 { font-size: clamp(23px, 2.2vw, 28px); line-height: 1.16; letter-spacing: -0.032em; }
.pl-ask > div > p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pl-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pl-field { display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 8px 0 20px; border-radius: var(--r-pill); background: var(--sunken); box-shadow: inset 0 0 0 1px var(--control-line); }
.pl-field:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.pl-field[data-state="error"] { box-shadow: inset 0 0 0 2px var(--danger); }
.pl-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: 14.5px/1 var(--mono); }
.pl-field input::placeholder, .wall-search input::placeholder { color: var(--ink-3); opacity: 1; }
.pl-field .btn { flex: none; height: 40px; }
.pl-field .btn:disabled { opacity: .7; cursor: progress; }
/* The row of examples and the status share a line's height: an answer or an error moves nothing. */
.pl-try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; color: var(--ink-2); }
.pl-try button { height: 30px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: transparent; box-shadow: inset 0 0 0 1px var(--control-line); color: var(--ink); font: 500 12.5px/1 var(--mono); cursor: pointer; }
.pl-try button:hover { background: var(--accent-soft); }
.pl-try button:focus-visible { border-radius: var(--r-pill); }
.pl-status { margin: 0; min-height: 1.45em; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.pl-status[data-tone="error"] { color: var(--danger); font-weight: 500; }
.pl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--sunken); border-top: 1px solid var(--line); }
.pl-steps li { position: relative; min-width: 0; min-height: 132px; padding: 22px 24px; font-size: 14.5px; line-height: 1.45; }
.pl-steps li + li { border-left: 1px solid var(--line); }
.pl-steps strong { display: block; padding-left: 24px; font: 500 12px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.pl-steps .pl-mark { position: absolute; left: 24px; top: 23px; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--control-line); }
.pl-idle { display: block; margin-top: 10px; color: var(--ink-2); }
.pl-idle::first-letter { text-transform: uppercase; }
.pl-live { display: none; margin-top: 10px; min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
.pl-live b { display: block; font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -0.015em; }
.pl-live small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.pl-live .pl-ns { display: block; font: 12.5px/1.6 var(--mono); }
.plook[data-state="done"] .pl-idle { display: none; }
.plook[data-state="done"] .pl-live { display: block; }
.plook[data-state="done"] .pl-mark { background: var(--signal); box-shadow: none; }
.plook[data-state="done"] .pl-mark::after { content: ""; position: absolute; inset: 4px; background: var(--hero); clip-path: polygon(12% 50%, 0 64%, 38% 100%, 100% 22%, 87% 9%, 37% 72%); }
.plook[data-state="loading"] li[data-step="ns"] .pl-mark { box-shadow: inset 0 0 0 2px var(--accent); }
.plook[data-mode="automatic"] li[data-step="mode"] b { color: var(--ok); }
.pl-next { margin: 0; padding: 14px 24px; background: var(--sunken); border-top: 1px solid var(--line); font-size: 15px; text-align: right; }
@media (prefers-reduced-motion: no-preference) {
  .plook[data-state="done"] .pl-live { animation: rise .35s cubic-bezier(.23, 1, .32, 1) both; }
  .plook[data-state="done"] li:nth-child(2) .pl-live { animation-delay: 90ms; }
  .plook[data-state="done"] li:nth-child(3) .pl-live { animation-delay: 180ms; }
  .plook[data-state="done"] li:nth-child(4) .pl-live { animation-delay: 270ms; }
}

/* Video slots: a fixed frame, the drawing in it, and the video over it when the page has one (page.js). */
.vslot { position: relative; margin: 0; }
.vslot-frame { position: relative; }
.vslot-poster, .vslot-video { display: none; }
.vslot.is-on .vslot-poster, .vslot.is-on .vslot-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.vslot-video { opacity: 0; transition: opacity .5s ease; }
.vslot-video.is-playing { opacity: 1; }
.vslot-toggle { display: none; position: absolute; right: 24px; bottom: 24px; z-index: 2; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: color-mix(in srgb, var(--hero) 72%, transparent); color: var(--hero-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hero-ink) 18%, transparent); }
.vslot.is-on .vslot-toggle { display: grid; }
.vslot-toggle:hover { background: var(--hero); }
.vslot-toggle:focus-visible { border-radius: 50%; outline-color: #ffffff; }
.vslot-icon { width: 11px; height: 13px; border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor; }
.vslot-toggle[aria-pressed="true"] .vslot-icon { width: 12px; border: 0; margin-left: 3px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
/* The stage: 16:10 (4:5 on phones), hanging from the top into the next band. */
.pv-stage { position: relative; z-index: 1; margin-top: calc(var(--overlap) * -1 + 60px); }
.pv-stage .wrap { max-width: none; padding: 0; }
.vslot-stage { width: var(--stage-w); margin: 0 auto; padding: 10px; border-radius: 30px; background: var(--hero-line); box-shadow: 0 50px 90px -50px rgba(2, 6, 16, .55); }
.vslot-stage .vslot-frame { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 21px; background: var(--hero); }
.vslot-loop .vslot-frame { display: grid; place-items: center; width: 100%; }
.vslot-loop.is-on .vslot-frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; }
.vslot-loop.is-on .pw { visibility: hidden; }
/* The drawing on the stage. Type in cqi of the frame, so it scales as one picture; nothing in it moves. */
.vslot-stage .vslot-frame { container-type: inline-size; }
.flowart { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: 1fr 1fr auto; gap: 2.2cqi 20cqi; padding: 4cqi 4cqi 3.4cqi; align-items: center; font-size: 1.42cqi; line-height: 1.35; color: var(--ink); text-align: left;
  background: radial-gradient(circle, var(--hero-dot) 1px, transparent 1.5px) 50% 50% / 22px 22px, radial-gradient(56% 70% at 50% 42%, color-mix(in srgb, var(--mark-blue) 55%, transparent), transparent 76%), var(--hero); }
.flowart p { margin: 0; }
.fa-card { display: grid; gap: .85em; padding: 1.7em 1.8em; border-radius: 1.3em; background: var(--surface); box-shadow: 0 3em 5em -2em rgba(0, 0, 0, .7), inset 0 0 0 1px var(--line); }
.fa-ask { grid-row: 1 / span 2; align-self: center; padding: 2.4em 2.3em; gap: 1.1em; }
.fa-k { display: flex; justify-content: space-between; align-items: center; gap: 1em; font: 500 .84em/1.4 var(--mono); color: var(--ink-2); }
.fa-k em { padding: .25em .9em; border-radius: 9em; background: var(--sunken); color: var(--ink-2); font-style: normal; box-shadow: inset 0 0 0 1px var(--line-2); }
.fa-k .fa-ok { background: var(--ok-soft); color: var(--ok); box-shadow: none; }
.fa-t { font-size: 1.32em; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.fa-ask .fa-t { font-size: 1.95em; letter-spacing: -0.03em; }
.fa-l { font-size: .9em; font-weight: 600; }
.fa-in { height: 2.9em; display: flex; align-items: center; padding: 0 1.2em; border-radius: 9em; background: var(--surface); box-shadow: inset 0 0 0 1px var(--control-line); font: 1em/1 var(--mono); overflow: hidden; white-space: nowrap; }
.fa-auto .fa-in { height: 2.5em; color: var(--ink-3); }
.fa-l + .fa-in { margin-top: -.45em; }
.fa-btn { height: 2.9em; display: grid; place-items: center; border-radius: 9em; background: var(--hero-accent); color: var(--hero-accent-ink); font-weight: 600; }
.fa-done { display: flex; align-items: center; gap: .6em; font-size: .92em; font-weight: 600; color: var(--ok); }
.fa-done i { width: .62em; height: .62em; border-radius: 50%; background: var(--signal); }
.fa-rec { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) auto; align-items: center; gap: .8em; padding: .5em .5em .5em 1em; border-radius: .8em; background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); font: .94em/1.3 var(--mono); }
.fa-rec b { font-weight: 500; color: var(--accent-strong); }
.fa-rec em { padding: .4em .9em; border-radius: 9em; background: var(--accent-soft); color: var(--accent-strong); font: 600 .88em/1 var(--font); }
/* The fork between the domain and the two windows. */
.fa-fork { position: absolute; left: 38.6cqi; top: 15cqi; bottom: 21.6cqi; width: 19cqi; }
.fa-fork::before { content: ""; position: absolute; left: 0; right: 50%; top: 50%; height: 2px; margin-top: -1px; background: var(--hero-accent-strong); }
.fa-fork i { position: absolute; left: 50%; right: 0; height: 50%; border-left: 2px solid var(--hero-accent-strong); }
.fa-fork i:first-child { top: 0; border-top: 2px solid var(--hero-accent-strong); border-top-left-radius: 1.6cqi; }
.fa-fork i:last-child { bottom: 0; border-bottom: 2px solid var(--hero-accent-strong); border-bottom-left-radius: 1.6cqi; }
.fa-fork span { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 9.6em; padding: .75em .7em; border-radius: 1em; background: var(--hero-raised); box-shadow: inset 0 0 0 1px var(--hero-accent-strong); color: var(--hero-ink); font-size: .92em; font-weight: 600; line-height: 1.3; text-align: center; }
.fa-hook { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1em; padding: 1.1em 1.6em; border-radius: 1.1em; background: var(--hero-raised); box-shadow: inset 0 0 0 1px var(--hero-line); color: var(--hero-ink-2); font: 1em/1.3 var(--mono); }
.fa-hook b { font-weight: 500; color: var(--hero-accent-strong); }
.fa-sig { color: var(--hero-signal); }
.pv-wall.section { padding-top: 112px; }

/* 2. The wall. */
.wall-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: -8px 0 28px; }
.pfilter { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.pfilter button { height: 36px; padding: 0 17px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font: 600 14px/1 var(--font); cursor: pointer; }
.pfilter button:hover { color: var(--ink); }
.pfilter button[aria-pressed="true"] { background: var(--ink); color: var(--page); }
.pfilter button:focus-visible { border-radius: var(--r-pill); outline-offset: 1px; }
.wall-search { flex: 0 1 300px; min-width: 0; }
.wall-search input { width: 100%; height: 44px; padding: 0 20px; border: 1px solid var(--control-line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font: 15px var(--font); }
.wall-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.wall-status { margin: 0; font-size: 14px; color: var(--ink-2); }
.wall-group + .wall-group { margin-top: 44px; }
.wall-group h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pgrid a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 6px 10px; height: 100%; border-radius: 16px; background: var(--surface);
  box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; line-height: 1.35; transition: box-shadow .2s, transform .2s cubic-bezier(.23, 1, .32, 1); }
.pgrid a:hover { box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); transform: translateY(-2px); }
.pgrid a:focus-visible { border-radius: 16px; }
.pgrid strong { min-width: 0; font-weight: 650; letter-spacing: -0.015em; }
.pg-mode { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.pg-mode::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.pg-auto { color: var(--ok); }
.pg-auto::before { background: var(--signal); box-shadow: none; }
.pg-how { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-2); }
.pgrid-auto a { padding: 24px 20px 22px; box-shadow: var(--shadow-card), inset 0 3px 0 var(--signal); }
.pgrid-auto a:hover { box-shadow: var(--shadow-float), inset 0 3px 0 var(--signal); }
.pgrid-auto a { grid-template-columns: minmax(0, 1fr); }
.pgrid-auto strong { font-size: 20px; letter-spacing: -0.025em; }
.pgrid-auto .pg-mode { order: 3; margin-top: 10px; }
.pgrid-auto .pg-rule a { align-content: center; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.pgrid-auto .pg-rule strong { font-size: 16px; color: var(--accent-strong); }
/* Guided: names to scan. The group's title says the mode, so each tile shows only its name, and a line of its own only
   when it leads to a guide; the rest of the text stays for screen readers and the Markdown. */
.wall-more { display: none; }
.pgrid-guided { gap: 8px; }
.pgrid-guided a { padding: 14px 18px; border-radius: 14px; align-content: center; }
.pgrid-guided strong { font-size: 15.5px; grid-column: 1 / -1; }
.pgrid-guided .pg-mode, .pgrid-guided a[href="#guided"] .pg-how { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pgrid-guided li { position: relative; }
.pgrid-guided .pg-how { color: var(--accent-strong); }
.pgrid-guided .pg-any { grid-column: 1 / -1; }
.pgrid-guided .pg-any a { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
/* The tile the lookup found. */
.pgrid li.is-found a { box-shadow: 0 0 0 2px var(--accent); }

/* 3 and 5. The navy bands. */
.pv-navy { position: relative; isolation: isolate; overflow: clip; margin: 0 16px; padding: 104px 0 88px; border-radius: var(--r-xl); background: var(--hero); }
.pv-navy::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 480px at 50% 0, color-mix(in srgb, var(--mark-blue) 36%, transparent), transparent 72%); }
.ways { display: grid; gap: 20px; }
.ways-tabs { justify-self: center; display: inline-flex; gap: 4px; margin-bottom: 12px; padding: 4px; border-radius: var(--r-pill); background: var(--hero-raised); box-shadow: inset 0 0 0 1px var(--hero-line); }
.ways-tabs button { height: 42px; padding: 0 26px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font: 600 15px/1 var(--font); cursor: pointer; }
.ways-tabs button:hover { color: var(--ink); }
.ways-tabs button[aria-selected="true"] { background: var(--hero-ink); color: var(--hero); }
.ways-tabs button:focus-visible { border-radius: var(--r-pill); outline-color: var(--hero-ink); }
.way { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); border-radius: var(--r-xl); background: var(--hero-raised); border: 1px solid var(--hero-line); overflow: hidden; }
.way-scene { display: grid; place-items: center; min-width: 0; min-height: 540px; padding: 48px 32px;
  background: radial-gradient(circle, var(--hero-dot) 1px, transparent 1.5px) 50% 50% / 20px 20px, radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--mark-blue) 38%, transparent), transparent 78%), var(--hero); }
.way-copy { padding: 52px 48px; min-width: 0; align-self: center; }
.way-copy h3 { font-size: clamp(23px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.03em; }
.way-copy ol { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: way; }
.way-copy li { position: relative; padding-left: 42px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); counter-increment: way; text-wrap: pretty; }
.way-copy li::before { content: counter(way); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--mark-blue) 28%, transparent);
  color: var(--hero-ink); font: 600 12.5px/1 var(--mono); }
.way-copy > p { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--hero-line); font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.way code, .ways-end code, .safe-rules code { padding: 2px 6px; border-radius: 6px; background: var(--hero); box-shadow: inset 0 0 0 1px var(--hero-line); color: var(--hero-ink); }
.ways-end { max-width: 46em; margin: 32px auto 0; text-align: center; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

/* The connect window, drawn small (fields and buttons here are pictures, not controls). */
.pw { display: grid; gap: 13px; width: min(400px, 100%); padding: 24px; border-radius: 20px; background: var(--surface); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line); text-align: left; }
.pw p { margin: 0; }
.pw-head { font: 500 11.5px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.pw-title { font-size: 21px; line-height: 1.25; font-weight: 650; letter-spacing: -0.025em; }
.pw-sub { font-size: 13.5px; color: var(--ink-2); }
.pw-sub b { font: 500 13px/1.5 var(--mono); color: var(--ink); }
.pw-rec { display: flex; flex-wrap: wrap; gap: 6px; font: 12.5px/1.5 var(--mono); }
.pw-rec > * { padding: 4px 9px; border-radius: var(--r-sm); background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); font-weight: 400; }
.pw-rec b { color: var(--accent-strong); font-weight: 500; }
.pw-label { font-size: 13px; font-weight: 600; }
.pw-input { margin-top: -6px; height: 42px; display: flex; align-items: center; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--control-line); color: var(--ink-3); font: 13px/1 var(--mono); letter-spacing: .08em; overflow: hidden; }
.pw .pw-input { margin-top: -6px; }
.pw-note { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.pw-btn { height: 44px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--hero-accent); color: var(--hero-accent-ink); font-weight: 600; font-size: 15px; }
.pw-state { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: var(--r-pill); font: 500 12px/1.5 var(--mono); }
.pw-state i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pw-ok { background: var(--ok-soft); color: var(--ok); }
.pw-wait { background: var(--warn-soft); color: var(--warn); }
.pw-fields { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 13px/1.4 var(--mono); }
.pw-fields li { display: grid; grid-template-columns: 4.5em minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); }
.pw-fields span { color: var(--ink-2); font: 500 12.5px/1 var(--font); }
.pw-fields b { font-weight: 500; overflow-wrap: anywhere; }
.pw-fields em { padding: 6px 12px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-strong); font: 600 12px/1 var(--font); }

/* 4. The bento of credentials. */
.needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.need { grid-column: span 2; padding: 28px; }
.need-w3 { grid-column: span 3; }
.need h3 { font-size: 22px; }
.need-rows { list-style: none; margin: 6px 0 24px; padding: 0; display: grid; gap: 0; font-size: 14.5px; line-height: 1.45; }
.need-rows li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 9px 0; color: var(--ink-2); position: relative; }
.need-rows li + li { border-top: 1px solid var(--line); }
.need-rows strong { font-weight: 600; color: var(--ink); }
.need-ui { margin: auto -12px -12px; padding: 18px; border-radius: 14px; background: var(--sunken) radial-gradient(circle, var(--dot) 1px, transparent 1.4px) 0 0 / 16px 16px; display: grid; gap: 8px; min-height: 154px; align-content: center; }
.need-ui > * { min-width: 0; }
.ui-field { display: grid; gap: 5px; min-width: 0; }
.ui-label { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-input { display: flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--control-line); color: var(--ink-2); font: 12.5px/1 var(--mono); overflow: hidden; white-space: nowrap; }
.ui-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ui-pick { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12.5px; }
.ui-pick i { font-style: normal; color: var(--ink-2); }
.ui-pick b { font: 500 12px/1.5 var(--mono); color: var(--accent-strong); text-align: right; }
.ui-code { display: grid; gap: 3px; padding: 11px 14px; border-radius: 10px; background: var(--hero); color: var(--hero-ink); box-shadow: inset 0 0 0 1px var(--hero-line); font: 12px/1.6 var(--mono); }
.ui-code span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-code i { display: inline-block; width: 9ch; font-style: normal; color: var(--hero-accent-strong); }
.need-rule { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; border-radius: 22px; background: var(--hero); box-shadow: inset 0 0 0 1px var(--hero-line); }
.need-rule::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 100% 0, color-mix(in srgb, var(--mark-blue) 60%, transparent), transparent 75%),
  radial-gradient(circle, var(--hero-dot) 1px, transparent 1.5px) 0 0 / 20px 20px; -webkit-mask-image: linear-gradient(#000 30%, transparent 75%); mask-image: linear-gradient(#000 30%, transparent 75%); }
.need-rule h3 { line-height: 1.2; letter-spacing: -0.025em; }
.need-rule p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* The steps of each provider, folded. A link to one of them opens it (page.js; the browser's own find does too). */
.pv-steps { margin-top: 72px; }
.pv-steps > h3 { margin-bottom: 18px; font-size: 24px; letter-spacing: -0.03em; }
.prov { border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.prov + .prov { margin-top: 10px; }
.prov > summary { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 24px; padding: 20px 72px 20px 26px; list-style: none; cursor: pointer; }
.prov > summary::-webkit-details-marker, .safe-rules > summary::-webkit-details-marker { display: none; }
.prov > summary::after, .safe-rules > summary::after { content: "+"; position: absolute; right: 22px; top: 50%; margin-top: -15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong); font: 500 18px/1 var(--mono); transition: transform .2s; }
.prov[open] > summary::after, .safe-rules[open] > summary::after { transform: rotate(45deg); }
.prov > summary:focus-visible { border-radius: 18px; outline-offset: 2px; }
.prov h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.prov > summary:hover h4 { color: var(--accent-strong); }
.prov-how { font-size: 14.5px; color: var(--ink-2); }
.prov > .prose { padding: 4px 26px 26px; }
.prov > .prose > :last-child { margin-bottom: 0; }

/* 5. Safety. */
.safe-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px 72px; align-items: center; }
.zone { border-radius: 20px; background: var(--hero-raised); box-shadow: inset 0 0 0 1px var(--hero-line), 0 40px 80px -40px rgba(0, 0, 0, .9); overflow: hidden; font: 13.5px/1.4 var(--mono); }
.zone-head { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 15px 20px; border-bottom: 1px solid var(--hero-line); color: var(--ink); }
.zone-head span + span { color: var(--ink-2); }
.zone ul { list-style: none; margin: 0; padding: 6px 0; }
.zone li { display: grid; grid-template-columns: 6ch minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 20px; color: var(--ink-2); }
.zone li b { font-weight: 500; color: var(--ink); }
.zone em { font-style: normal; font-size: 12px; padding: 3px 10px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--hero-line); }
.z-ext em { color: var(--accent-strong); background: var(--accent-soft); box-shadow: none; }
.z-add { background: color-mix(in srgb, var(--signal) 8%, transparent); }
.z-add span { color: var(--ink); }
.z-add em { color: var(--ok); background: var(--ok-soft); box-shadow: none; }
.safe-list { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.safe-list li { padding: 4px 26px; border-left: 1px solid var(--hero-line); }
.safe-list li:first-child { padding-left: 0; border-left: 0; }
.safe-list li:last-child { padding-right: 0; }
.safe-list h3 { font-size: 18px; line-height: 1.3; font-weight: 650; letter-spacing: -0.02em; }
.safe-list p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.safe-rules { margin-top: 56px; border-radius: 18px; background: var(--hero-raised); box-shadow: inset 0 0 0 1px var(--hero-line); }
.safe-rules > summary { position: relative; padding: 20px 72px 20px 26px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; }
.safe-rules > summary:focus-visible { border-radius: 18px; }
.safe-rules > p, .safe-rules > ul { margin: 0 26px 18px; max-width: 72ch; color: var(--ink-2); }
.safe-rules > ul { padding-left: 20px; display: grid; gap: 10px; }
.safe-rules > :last-child { padding-bottom: 8px; }

/* 6. Detection: the three rules, each with a picture of the case. */
.detect { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.detect code { padding: 1px 5px; border-radius: 5px; background: var(--sunken); color: var(--ink); }
.det-ui { display: grid; align-content: center; justify-items: start; gap: 8px; min-height: 168px; margin: -14px -14px 10px; padding: 18px 20px; border-radius: 14px; background: var(--sunken) radial-gradient(circle, var(--dot) 1px, transparent 1.4px) 0 0 / 16px 16px; font: 12.5px/1.4 var(--mono); }
.det-ns { max-width: 100%; padding: 6px 12px; border-radius: 9px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); overflow-wrap: anywhere; }
.det-ns b { font-weight: 500; color: var(--accent-strong); }
.det-to { margin-top: 4px; padding: 7px 14px; border-radius: var(--r-pill); background: var(--hero-accent); color: var(--hero-accent-ink); font: 600 13.5px/1.3 var(--font); }
.det-other { background: var(--ink); color: var(--page); }
.pv-note { margin: 28px 0 0; max-width: 46em; font-size: 15.5px; color: var(--ink-2); }

/* 7 and 8. Copy on one side, the detail on the other. */
.pv-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.pv-split > * { min-width: 0; }
.pv-side h2 { max-width: 9em; }
.pv-side .section-lede { font-size: 16.5px; }
.pv-side code { color: var(--ink); }
.pv-code .code { margin-top: 0; }
.pv-code .code-pane + .code-pane { border-top: 1px solid var(--hero-line); }
.pv-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px 72px; align-items: center; margin-top: 88px; padding: 48px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-card); }
.pv main .pv-more h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.034em; }
.pv-more p { margin: 14px 0 0; color: var(--ink-2); }
.pv-more p a { color: var(--accent-strong); text-underline-offset: 3px; }
.pv-next { display: grid; gap: 10px; }
.pv-next a { position: relative; padding: 16px 48px 16px 20px; border-radius: 16px; background: var(--sunken); font-weight: 600; line-height: 1.4; text-decoration: none; }
.pv-next a:hover { background: var(--accent-soft); }
.pv-next a::after { content: "\2192"; position: absolute; right: 20px; top: 50%; margin-top: -.7em; color: var(--accent-strong); }
.pv-next span { display: block; font-size: 13px; font-weight: 500; color: var(--accent-strong); }

/* 9. The closing panel with the path. */
.pv .end { padding-top: 0; }
.end-path { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; padding: 72px 64px; text-align: left; }
.end-path .section-lede, .pv main .end-path h2 { margin-left: 0; }
.end-path .cta { justify-content: flex-start; }
.path { list-style: none; margin: 0; padding: 0; counter-reset: path; }
.path li { position: relative; padding: 18px 0 18px 58px; counter-increment: path; }
.path li + li { border-top: 1px solid var(--hero-line); }
.path li::before { content: counter(path); position: absolute; left: 0; top: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--hero-raised); box-shadow: inset 0 0 0 1px var(--hero-line);
  color: var(--accent-strong); font: 600 14px/1 var(--mono); }
.path strong { display: block; font-size: 17px; letter-spacing: -0.015em; }
.path span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

@media (prefers-color-scheme: dark) {
  .pv-navy { box-shadow: inset 0 0 0 1px var(--hero-line); }
}
@media (min-width: 961px) {
  .pv main [id] { scroll-margin-top: 104px; }
  .pv-side { position: sticky; top: 112px; }
}
@media (max-width: 960px) {
  .pv .section { padding: 80px 0; }
  .way, .safe-top, .pv-split, .pv-more, .end-path { grid-template-columns: minmax(0, 1fr); }
  .pl-ask { grid-template-columns: minmax(0, 1fr); padding: 28px 28px 20px; }
  .pl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-steps li:nth-child(3) { border-left: 0; }
  .pl-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .way-scene { min-height: 0; }
  .pgrid, .pgrid-auto { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pgrid-auto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .need, .need-w3 { grid-column: span 3; }
  .need-rule { grid-column: 1 / -1; min-height: 260px; }
  .detect { grid-template-columns: minmax(0, 1fr); }
  .detect .card { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 6px 24px; }
  .detect .det-ui { grid-row: 1 / span 2; margin: -14px 0 -14px -14px; }
  .detect h3 { align-self: end; }
  .detect h3 + p { align-self: start; }
  .safe-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .safe-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .end-path { padding: 56px 40px; }
}
@media (max-width: 640px) {
  .pv .section { padding: 56px 0; }
  .pv main h2 { font-size: clamp(30px, 8.4vw, 38px); }
  .pv main > section > .wrap > .sec-head { margin-bottom: 30px; }
  .pv { --stage-w: calc(100vw - 24px); --overlap: calc(var(--stage-w) * .3); }
  .pv .page-head { padding-top: calc(var(--top-h) + 44px); }
  .plook { margin: 36px -4px 0; border-radius: 20px; }
  .pl-ask { padding: 24px 18px 14px; }
  .pl-steps { grid-template-columns: minmax(0, 1fr); padding: 6px 18px; }
  .pl-steps li { min-height: 0; padding: 13px 0; }
  .pl-steps li + li, .pl-steps li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .pl-steps .pl-mark { left: 0; top: 14px; }
  .pl-idle, .pl-live { margin-top: 3px; padding-left: 24px; }
  .pl-next { padding: 14px 18px; text-align: left; }
  .vslot-stage { padding: 6px; border-radius: 22px; }
  .vslot-stage .vslot-frame { aspect-ratio: 4 / 5; border-radius: 17px; }
  .vslot-toggle { right: 14px; bottom: 14px; }
  .flowart { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; gap: 4cqi 3cqi; padding: 5cqi; font-size: 3cqi; align-items: stretch; }
  .fa-ask { grid-column: 1 / -1; grid-row: 1; padding: 1.6em 1.7em; gap: .9em; }
  .fa-ask .fa-t { font-size: 1.6em; }
  .fa-card { align-content: start; }
  .fa-way { padding: 1.4em 1.2em; gap: .7em; }
  .fa-way .fa-k { flex-direction: column-reverse; align-items: flex-start; gap: .5em; }
  .fa-done { margin-top: auto; align-self: end; }
  .fa-way .fa-k span, .fa-l, .fa-rec + .fa-rec { display: none; }
  .fa-l + .fa-in { margin-top: 0; }
  .fa-rec { grid-template-columns: minmax(0, 1fr) auto; }
  .fa-rec b { grid-column: 1; }
  .fa-rec span { grid-column: 1; grid-row: 2; font-size: .9em; }
  .fa-rec em { grid-column: 2; grid-row: 1 / span 2; }
  .fa-fork { display: none; }
  .fa-hook { flex-direction: column; gap: .3em; padding: 1em 1.3em; }
  .wall-tools { margin-top: 0; }
  .pfilter, .wall-search { width: 100%; flex: 1 1 100%; }
  .pfilter button { flex: 1; padding: 0 8px; }
  .pgrid, .pgrid-auto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pgrid-auto a { padding: 18px 15px 16px; }
  .pgrid-auto strong { font-size: 17px; }
  .pgrid-guided a { padding: 12px 14px; }
  .pgrid-guided strong { font-size: 14.5px; }
  .pgrid-guided.is-short li[data-mode="guided"]:nth-child(n+9):not(.is-found) { display: none; }
  .wall-more:not([hidden]) { display: flex; width: 100%; margin-top: 12px; }
  .pg-how { font-size: 12.5px; }
  .pv-navy { margin: 0; border-radius: 0; padding: 64px 0 56px; }
  .ways-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .ways-tabs button { padding: 0 10px; }
  .way { border-radius: 20px; }
  .way-scene { padding: 22px 14px; }
  .pw { padding: 20px 18px; }
  .way-copy { padding: 28px 20px; }
  .needs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .need, .need-w3, .need-rule { grid-column: auto; padding: 24px 20px; }
  .need-ui { margin: auto -8px -10px; padding: 14px; min-height: 0; }
  .need:not(.need-w3) .need-ui { display: none; }
  .need:not(.need-w3) .need-rows { margin-bottom: 0; }
  .need-rows li { grid-template-columns: 82px minmax(0, 1fr); }
  .prov > summary { grid-template-columns: minmax(0, 1fr); padding: 16px 60px 16px 18px; }
  .prov > summary::after, .safe-rules > summary::after { right: 16px; }
  .prov > .prose { padding: 4px 18px 20px; }
  .zone-head, .zone li { padding-left: 16px; padding-right: 16px; }
  .safe-list { grid-template-columns: minmax(0, 1fr); margin-top: 44px; row-gap: 24px; }
  .safe-list li, .safe-list li:last-child { padding: 0; border-left: 0; }
  .safe-rules { margin-top: 40px; }
  .safe-rules > summary { padding: 16px 60px 16px 18px; }
  .safe-rules > p, .safe-rules > ul { margin-left: 18px; margin-right: 18px; }
  .detect .card { display: flex; }
  .detect h3 { align-self: start; }
  .detect .det-ui { margin: -8px -8px 8px; min-height: 0; justify-items: start; }
  .pv-more { margin-top: 56px; padding: 28px 20px; border-radius: 20px; }
  .cta-row { align-items: stretch; margin-top: 40px; }
  .cta-row p { flex: none; }
  .cta-row .more { padding: 8px 0; text-align: center; }
  .end-path { padding: 44px 20px; }
  .pv .foot-bar { padding-bottom: 72px; }
}
