/* Instrument Sans, self-hosted (variable weight, latin subset). SIL Open Font License 1.1: /fonts/OFL.txt. */
@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('/fonts/instrument-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
        U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens mirror server/resources/css/app.css. */
:root {
    --ink: #1d232a;
    --mid: #5b6672;
    --line: #d4d9de;
    --paper: #f2f3f4;
    --card: #ffffff;
    --accent: #1f5f8b;
    --accent-bg: #eef3f7;
    --ring: #1f5f8b;
    /* Form problems: a quiet brick, never an alarm. */
    --problem: #a3341f;
    --problem-bg: #fbf1ee;
    --field: #f7f8f9;
    --brand: #22d3ee;
    --wordmark: var(--ink);
    --radius: 7px;
    --radius-lg: 11px;
    --gutter: 16px;
    --measure: 72rem;
    --bezel: #1d232a;
    --bezel-edge: transparent;
    --bezel-shadow: rgba(29, 35, 42, 0.45);
    /* The browser window around console screens: lighter than the page's ink, never a device. */
    --chrome: #e6e9ec;
    --chrome-edge: #d4d9de;
    --chrome-light: #c2c8ce;
    /* An unlit screen: the quiet frame shown for a beat with no screen. */
    --screen-off: #11161b;
    /* The screens' shape: a 13-inch iPad in landscape, matching the images' width and height. */
    --screen-ratio: 4 / 3;
    --bezel-width: clamp(6px, 1vw, 11px);
    --bezel-radius: clamp(14px, 2.2vw, 26px);
    /* A browser window's title bar, around console screens. */
    --title-bar: clamp(20px, 2.6vw, 28px);
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --ink: #e6edf3;
        --mid: #9ba7b4;
        --line: #30363d;
        --paper: #0d1117;
        --card: #161b22;
        --accent: #6fb3d2;
        --accent-bg: #0f2733;
        --ring: #6fb3d2;
        --problem: #f19a86;
        --problem-bg: #2a1713;
        --field: #0d1117;
        /* Brand cyan appears only in dark mode, on the wordmark. */
        --wordmark: var(--brand);
        --bezel: #22282f;
        --bezel-edge: #3a424b;
        --bezel-shadow: rgba(0, 0, 0, 0.7);
        --chrome: #20262d;
        --chrome-edge: #3a424b;
        --chrome-light: #4a535d;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent);
}

:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.wrap {
    width: 100%;
    max-width: var(--measure);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.site-header {
    position: relative;
    border-bottom: 1px solid var(--line);
}

.site-header .wrap {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    min-height: 60px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.wordmark {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--wordmark);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.wordmark img {
    height: 24px;
    width: auto;
}

.site-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

main {
    flex: 1;
    padding: 48px 0;
}

main h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.25rem);
    line-height: 1.1;
    font-weight: 600;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--mid);
    font-size: 0.875rem;
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 24px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-copy {
    margin: 0;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--mid);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Long-form policy page: a calm reading measure and a restrained type scale. */
.policy {
    max-width: 65ch;
    margin: 0 auto;
    padding: 24px 0 48px;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.policy h1 {
    margin: 0 0 24px;
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
    font-weight: 600;
}

.policy h2 {
    margin: 56px 0 12px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    font-weight: 600;
}

.policy h3 {
    margin: 32px 0 8px;
    font-size: 1.1875rem;
    line-height: 1.3;
    font-weight: 600;
}

.policy p,
.policy ul,
.policy ol {
    margin: 0 0 1.1em;
}

.policy ul,
.policy ol {
    padding-left: 1.4em;
}

.policy li + li {
    margin-top: 0.4em;
}

.policy strong {
    font-weight: 600;
}

.policy a {
    text-underline-offset: 3px;
}

.policy code {
    font-size: 0.9em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: var(--accent-bg);
}

.policy {
    overflow-wrap: anywhere;
}

.policy pre {
    max-width: 100%;
    overflow-x: auto;
    overflow-wrap: normal;
}

.policy-table {
    max-width: 100%;
    overflow-x: auto;
    overflow-wrap: normal;
}

.policy table {
    border-collapse: collapse;
    margin: 0 0 1.4em;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.policy th,
.policy td {
    padding: 10px 14px 10px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.policy th {
    font-weight: 600;
}

.policy blockquote {
    margin: 0 0 1.1em;
    padding-left: 16px;
    border-left: 2px solid var(--line);
    color: var(--mid);
}

.policy .policy-updated {
    margin-top: -0.6em;
    color: var(--mid);
    font-size: 0.9375rem;
}

.policy-draft {
    max-width: 65ch;
    margin: 0 auto;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--accent-bg);
    color: var(--mid);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Home page. One bold move (the hero headline); everything else is quiet type and space. */
main.home {
    padding: 0;
}

.btn-large {
    min-height: 48px;
    padding: 0 22px;
    font-size: 1.0625rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-weight: 500;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home h2 {
    margin: 0;
    font-size: clamp(1.75rem, 4.2vw, 2.625rem);
    line-height: 1.12;
    letter-spacing: -0.022em;
    font-weight: 600;
    text-wrap: balance;
}

.home p {
    margin: 0 0 1em;
}

.home p:last-child {
    margin-bottom: 0;
}

.hero .wrap {
    padding-top: clamp(64px, 14vw, 168px);
    padding-bottom: clamp(72px, 14vw, 168px);
}

.hero h1 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.75rem, 8.6vw, 6rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 600;
    text-wrap: balance;
}

.home .hero-lead {
    max-width: 36rem;
    margin-top: clamp(24px, 3.5vw, 40px);
    color: var(--mid);
    font-size: clamp(1.125rem, 1.9vw, 1.3125rem);
    line-height: 1.5;
}

.home .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    margin-top: 36px;
}

/* Bands and beats share one rhythm: generous vertical space, a hairline between sections. */
.band,
.beat {
    border-top: 1px solid var(--line);
}

.band .wrap,
.beat .wrap {
    padding-top: clamp(64px, 11vw, 136px);
    padding-bottom: clamp(64px, 11vw, 136px);
}

.band-grid,
.beat-grid {
    display: grid;
    gap: 24px;
}

.band-copy,
.beat-copy {
    max-width: 36rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.band-copy p,
.beat-copy p {
    color: var(--mid);
}

.band-copy > p:first-child,
.beat-copy > p:first-child {
    color: var(--ink);
}

/* The story is a sequence, so its steps are numbered. */
.home .beat-step {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* The consent words, quoted as the person reads them. The only panel on the page. */
.consent {
    margin: 36px 0;
    padding: clamp(22px, 4vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
}

.consent blockquote {
    margin: 0;
}

.home .consent blockquote p {
    color: var(--ink);
    font-size: clamp(1.1875rem, 2.2vw, 1.375rem);
    line-height: 1.45;
    letter-spacing: -0.008em;
}

.consent figcaption {
    margin-top: 16px;
    color: var(--mid);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.facts {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.facts li {
    position: relative;
    padding-left: 22px;
}

.facts li + li {
    margin-top: 12px;
}

.facts li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.68em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.home .aside {
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 1rem;
}

/*
 * Real screens, each held in the frame of the thing it runs on, so a reader
 * never mistakes one for another: the station in an iPad bezel
 * (.device--station), the console in a plain browser window with no address
 * (.device--console), the enrollment page in a phone (.device--phone). Each
 * kind sets the same four measures; .hero-screen--kind does the same for the
 * pinned stage on the home page. A slot with no screen takes no space.
 */
.device {
    display: grid;
    gap: clamp(16px, 2.4vw, 24px);
    margin: 16px 0 0;
}

.device:empty {
    display: none;
}

/* The station, and the default for anything unmarked: an iPad bezel. */
.device,
.device--station,
.hero-screen,
.hero-screen--station {
    --frame-top: var(--bezel-width);
    --frame-side: var(--bezel-width);
    --frame-radius: var(--bezel-radius);
    --frame-bg: var(--bezel);
    --frame-edge: var(--bezel-edge);
}

.device--console,
.hero-screen--console {
    --frame-top: var(--title-bar);
    --frame-side: 0px;
    --frame-radius: clamp(8px, 1.1vw, 12px);
    --frame-bg: var(--chrome);
    --frame-edge: var(--chrome-edge);
}

.device--phone,
.hero-screen--phone {
    --frame-top: clamp(7px, 1vw, 10px);
    --frame-side: clamp(7px, 1vw, 10px);
    --frame-radius: clamp(30px, 4vw, 40px);
}

.device picture,
.hero-screen {
    position: relative;
    display: block;
    padding: var(--frame-top) var(--frame-side) var(--frame-side);
    border-radius: var(--frame-radius);
    background: var(--frame-bg);
    box-shadow: 0 0 0 1px var(--frame-edge), 0 30px 60px -36px var(--bezel-shadow);
}

.device img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: max(0px, calc(var(--frame-radius) - var(--frame-side)));
}

/* The window's three lights: small, grey, and no address bar. */
.device--console picture::before,
.hero-screen--console::after {
    content: '';
    position: absolute;
    top: calc(var(--frame-top) / 2 - 3px);
    left: calc(var(--frame-top) / 2 + 2px);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--chrome-light);
    box-shadow: 11px 0 0 var(--chrome-light), 22px 0 0 var(--chrome-light);
}

.device--console img {
    border-radius: 0 0 var(--frame-radius) var(--frame-radius);
}

/* A plain phone: narrow, with its caption beside it on wider screens. */
.device--phone picture {
    width: min(100%, 15rem);
}

/* Under a pair of screens, the line runs the full width. */
.device figcaption {
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .device:has(picture + picture) {
        grid-template-columns: 1fr 1fr;
    }
}

.hardware {
    display: grid;
    gap: 28px 40px;
    max-width: 40rem;
    margin: 0;
}

.hardware dt {
    font-size: 1.125rem;
    font-weight: 600;
}

.hardware dd {
    margin: 4px 0 0;
    color: var(--mid);
    font-size: 1.0625rem;
    line-height: 1.55;
}

.talk {
    background: var(--card);
}

/*
 * The Talk to us form. Labels above fields, one column, generous space;
 * a problem is named under its field in words, never by color alone.
 */
.talk-form {
    margin-top: 40px;
    font-size: 1rem;
}

.talk-submit {
    margin-top: 28px;
}

.talk-fields {
    display: grid;
    gap: 24px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
}

.field input,
.field textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--field);
    color: var(--ink);
    /* 17px keeps iOS from zooming into the field. */
    font: inherit;
    font-size: 1.0625rem;
    line-height: 1.45;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.field textarea {
    min-height: 176px;
    resize: vertical;
}

.field input:hover,
.field textarea:hover {
    border-color: var(--mid);
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid transparent;
    border-color: var(--ring);
    background: var(--card);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 28%, transparent);
}

.field [aria-invalid='true'] {
    border-color: var(--problem);
}

.field [aria-invalid='true']:focus {
    border-color: var(--problem);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--problem) 26%, transparent);
}

.home .field-error {
    margin: 8px 0 0;
    color: var(--problem);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.45;
}

.field-error[hidden] {
    display: none;
}

/* The honeypot: off screen, out of the tab order, hidden from assistive tech. */
.talk-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* The widget is invisible: it must not reserve any space. */
.cf-turnstile {
    min-height: 0;
}

.home .talk-noscript {
    color: var(--mid);
    font-size: 0.9375rem;
}

.talk-submit .btn {
    cursor: pointer;
    font: inherit;
    font-size: 1.0625rem;
    font-weight: 500;
    transition: opacity 0.15s ease;
}

.talk-submit .btn:disabled {
    cursor: progress;
    opacity: 0.6;
}

.home .talk-note {
    max-width: 32rem;
    margin-top: 28px;
    color: var(--mid);
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* An empty status stays in place (a live region must exist before it speaks) but takes no room. */
.home .talk-status {
    margin: 0;
    outline: none;
}

.home .talk-status:not(:empty) {
    margin-top: 20px;
}

.talk-form[data-state='failed'] .talk-status {
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--problem) 45%, transparent);
    border-radius: var(--radius);
    background: var(--problem-bg);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.5;
}

/* Sent: the fields step aside and the reply stands on its own. */
.talk-form[data-state='sent'] > :not(.talk-status) {
    display: none;
}

.talk-form[data-state='sent'] .talk-status {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 0 4px;
    color: var(--ink);
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.talk-form[data-state='sent'] .talk-status::before {
    content: '';
    flex: none;
    width: 28px;
    height: 28px;
    /* An accent disc with the check cut out, so the band shows through in light and dark. */
    background: var(--accent);
    -webkit-mask: var(--check-disc) center / 28px 28px no-repeat;
    mask: var(--check-disc) center / 28px 28px no-repeat;
}

.talk-form {
    --check-disc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect width='28' height='28' fill='white'/%3E%3Cpath d='M8.5 14.5l3.8 3.8 7.2-8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3C/defs%3E%3Ccircle cx='14' cy='14' r='14' fill='black' mask='url(%23m)'/%3E%3C/svg%3E");
}

/* The form's result pages (no-JS path). */
main.result .wrap {
    padding-top: clamp(48px, 10vw, 120px);
    padding-bottom: clamp(48px, 10vw, 120px);
}

main.result .wrap > * {
    max-width: 40rem;
}

main.result h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    letter-spacing: -0.03em;
    text-wrap: balance;
}

main.result p {
    margin: 0 0 1em;
    color: var(--mid);
    font-size: 1.0625rem;
    line-height: 1.6;
}

main.result .result-lead {
    margin-top: 20px;
    color: var(--ink);
    font-size: clamp(1.125rem, 1.9vw, 1.3125rem);
    line-height: 1.5;
}

/*
 * Not found. The result pages' calm, with the way back laid out as the
 * site's own table of contents: one hairline-ruled list, the page's name in
 * ink and what is there in the quieter grey, read as a single row.
 */
main.not-found .result-lead {
    text-wrap: pretty;
}

main.not-found .not-found-places {
    max-width: 44rem;
    margin-top: clamp(36px, 6vw, 64px);
}

.not-found-places ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--line);
}

.not-found-places li {
    border-top: 1px solid var(--line);
}

.not-found-places a {
    display: grid;
    gap: 2px;
    min-height: 56px;
    padding: 14px 0;
    color: var(--ink);
    text-decoration: none;
}

.not-found-places .place-name {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.not-found-places .place-what {
    color: var(--mid);
    font-size: 1rem;
    line-height: 1.5;
}

.not-found-places a:hover .place-name {
    color: var(--accent);
}

.not-found-places a:focus-visible {
    outline-offset: 4px;
    border-radius: 2px;
}

@media (min-width: 640px) {
    .not-found-places a {
        grid-template-columns: 11rem minmax(0, 1fr);
        align-items: baseline;
        column-gap: 24px;
    }
}

/* Read by assistive tech, not shown. */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* A plain text link in the header, sitting beside the two buttons. */
.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}

.nav-link:hover,
.nav-link[aria-current='page'] {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}

/*
  The header is one row at every width. Wide screens show the four section
  links inline; narrower ones fold them into a menu (a <details>, so it works
  without JavaScript), and the wordmark, Talk to us and Log in stay in view.
*/
.nav-links {
    display: none;
}

.nav-menu > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border-radius: var(--radius);
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-menu > summary::-webkit-details-marker {
    display: none;
}

/* Two quiet lines that turn into a cross while the menu is open. */
.nav-menu-glyph {
    position: relative;
    width: 18px;
    height: 8px;
}

.nav-menu-glyph::before,
.nav-menu-glyph::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
}

.nav-menu-glyph::before {
    top: 0;
}

.nav-menu-glyph::after {
    bottom: 0;
}

.nav-menu[open] .nav-menu-glyph::before {
    transform: translateY(3.25px) rotate(45deg);
}

.nav-menu[open] .nav-menu-glyph::after {
    transform: translateY(-3.25px) rotate(-45deg);
}

/* The open menu: a sheet under the header, the links in a calm column. */
.nav-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    padding: 4px var(--gutter) 12px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 28px -24px var(--bezel-shadow);
}

.nav-menu-panel .nav-link {
    min-height: 52px;
    padding: 0;
    border-radius: 0;
    font-size: 1.125rem;
}

.nav-menu-panel .nav-link + .nav-link {
    border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: no-preference) {
    .nav-menu-glyph::before,
    .nav-menu-glyph::after {
        transition: transform 200ms var(--ease-out);
    }

    .nav-menu[open] .nav-menu-panel {
        animation: nav-menu-in 200ms var(--ease-out);
    }
}

@keyframes nav-menu-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@media (min-width: 840px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2px;
        margin-right: 6px;
    }

    .nav-menu {
        display: none;
    }
}

.site-nav .btn,
.site-nav .nav-link {
    white-space: nowrap;
}

/* On a phone the two buttons tighten, so the row still fits. */
@media (max-width: 400px) {
    .site-header .wrap {
        gap: 8px;
    }

    .site-nav {
        gap: 6px;
    }

    .site-nav .btn {
        padding: 0 12px;
    }
}

/*
  On the smallest phones the mark stands for the wordmark, as a logo does;
  the name stays as the link's text for screen readers.
*/
@media (max-width: 379px) {
    .wordmark {
        min-width: 44px;
    }

    .wordmark-name {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

/* Hidden until it has focus: the first stop for a keyboard, past the header. */
.skip-link {
    position: absolute;
    top: 8px;
    left: var(--gutter);
    z-index: 30;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}

.skip-link:not(:focus) {
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Home: the short trust band, and its way through to the security page. */
.home .trust-link {
    margin-top: 32px;
}

.trust .facts {
    margin-bottom: 0;
}

/*
 * Security page. The home page's rhythm (heading left, copy right, hairlines
 * between), read at a slower pace: a calm lead, a quieter second paragraph,
 * and the specifics folded away until someone asks for them.
 */
main.security {
    padding: 0;
}

.security h2 {
    margin: 0;
    font-size: clamp(1.625rem, 3.6vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
    text-wrap: balance;
}

.security p {
    margin: 0 0 1em;
}

.security-intro .wrap {
    padding-top: clamp(56px, 12vw, 144px);
    padding-bottom: clamp(56px, 9vw, 112px);
}

.security-intro h1 {
    max-width: 13ch;
    font-size: clamp(2.5rem, 7.4vw, 5rem);
    line-height: 1.03;
    letter-spacing: -0.038em;
    text-wrap: balance;
}

.security-intro .security-lead {
    max-width: 38rem;
    color: var(--mid);
    font-size: clamp(1.125rem, 1.9vw, 1.3125rem);
    line-height: 1.55;
}

.security-intro .security-lead:first-of-type {
    margin-top: clamp(24px, 3.5vw, 40px);
    color: var(--ink);
}

.security-index {
    margin-top: clamp(40px, 6vw, 72px);
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.security-index ul {
    display: grid;
    gap: 0 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.security-index a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--mid);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}

.security-index a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.protection {
    border-top: 1px solid var(--line);
    scroll-margin-top: 8px;
}

.protection .wrap {
    padding-top: clamp(56px, 9vw, 112px);
    padding-bottom: clamp(56px, 9vw, 112px);
}

.protection-grid {
    display: grid;
    gap: 20px;
}

.protection-copy {
    max-width: 38rem;
    color: var(--mid);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.security .protection-lead {
    color: var(--ink);
    font-size: clamp(1.125rem, 1.7vw, 1.25rem);
    line-height: 1.55;
    letter-spacing: -0.005em;
}

/* The detail block: closed by default, one quiet line until it is opened. */
.protection details {
    margin-top: 32px;
    border-top: 1px solid var(--line);
}

.protection summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    border-radius: var(--radius);
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

/* The ring stands clear of the words and the plus. */
.protection summary:focus-visible {
    outline-offset: 6px;
}

.protection summary::-webkit-details-marker {
    display: none;
}

/* A plus that turns into a minus: two bars, the upright one folds away. */
.protection summary::after {
    content: '';
    flex: none;
    width: 14px;
    height: 14px;
    background:
        linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
        linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
    transition: background-size 0.25s var(--ease-out);
}

.protection details[open] > summary::after {
    background-size: 14px 1.5px, 1.5px 0;
}

.protection summary:hover {
    color: var(--ink);
}

.tech {
    padding: 4px 0 8px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.6;
}

.tech ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tech li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.tech li:first-child {
    border-top: 0;
    padding-top: 4px;
}

.tech a {
    text-underline-offset: 3px;
}

@media (min-width: 640px) {
    .hardware {
        grid-template-columns: 1fr 1fr;
    }

    .security-index ul {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .protection-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: clamp(48px, 6vw, 96px);
        align-items: start;
    }

    .protection-grid h2 {
        position: sticky;
        top: 32px;
    }

    .security-index ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .protection summary::after {
        transition: none;
    }
}

/* Desktop: heading on the left, copy on the right. */
@media (min-width: 960px) {
    .band-grid,
    .beat-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: clamp(48px, 6vw, 96px);
        align-items: start;
    }

    .beat-head {
        position: sticky;
        top: 32px;
    }

    /* One screen sits under the copy; a pair takes the full width. */
    .device {
        grid-column: 2;
    }

    .device:has(picture + picture) {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/*
 * The scroll story. hero.js adds .hero--js to .story; without it (no script,
 * reduced motion) the beats stay stacked as above. The pinned layout needs a
 * wide and tall enough window; anywhere smaller the beats stack and the
 * stage stays hidden.
 */
.hero-stage {
    display: none;
}

@media (min-width: 960px) and (min-height: 620px) {
    .story.hero--js {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: clamp(48px, 6vw, 96px);
        max-width: var(--measure);
        margin: 0 auto;
        padding: 0 var(--gutter);
        border-top: 1px solid var(--line);
    }

    .hero--js > .beat {
        grid-column: 1;
        display: flex;
        align-items: center;
        min-height: 100vh;
        min-height: 100svh;
        border-top: 0;
    }

    /*
     * The beats the reader is not on step back by colour, never by fading:
     * their heading, step and copy take the quiet --mid, which still reads
     * at AA on the page in light and dark (site/test/contrast.test.mjs).
     */
    .hero--js > .beat:not(.is-active):not(:focus-within) :is(h2, .beat-step, .beat-copy p, .consent blockquote p, .decision) {
        color: var(--mid);
    }

    .hero--js > .beat .wrap {
        padding: 18vh 0;
    }

    .hero--js .beat-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero--js .beat-head {
        position: static;
    }

    /* The figures stay for screen readers; the stage shows the screens. */
    .hero--js > .beat .device {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .hero-stage {
        display: block;
        grid-column: 2;
        grid-row: 1 / span 4;
    }

    .hero-pin {
        container-type: inline-size;
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        height: 100vh;
        height: 100svh;
    }

    /*
     * Sized so the screen inside the frame keeps the images' own 4:3 whatever
     * the frame: a window's title bar adds height rather than cropping the
     * picture. The frame eases from one kind to the next as the beats change.
     */
    .hero-screen {
        --screen-w: min(100cqw, calc((100svh - 220px) * var(--screen-ratio)));
        --own-h: calc((var(--screen-w) - 2 * var(--frame-side)) / (var(--screen-ratio)) + var(--frame-top) + var(--frame-side));
        /* The stage always keeps room for a window's title bar, so a station
           beat after a console one takes the same place and nothing jumps. */
        --stage-h: calc(var(--screen-w) / (var(--screen-ratio)) + var(--title-bar));
        position: relative;
        width: var(--screen-w);
        height: var(--own-h);
        margin-top: calc(var(--stage-h) - var(--own-h));
        box-sizing: border-box;
        background-clip: padding-box;
        transition: padding 0.6s var(--ease-out), height 0.6s var(--ease-out), margin-top 0.6s var(--ease-out),
            border-radius 0.6s var(--ease-out), background-color 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
    }

    /* The quiet frame: an unlit screen with the mark, for a beat with no screen. */
    .hero-screen::before {
        content: '';
        position: absolute;
        inset: var(--frame-top) var(--frame-side) var(--frame-side);
        border-radius: max(0px, calc(var(--frame-radius) - var(--frame-side)));
        background: var(--screen-off) url('/img/laminate-mark-bold.svg') center / 34px auto no-repeat;
        opacity: 0;
        transition: opacity 0.7s var(--ease-out);
    }

    .hero-screen.is-quiet::before {
        opacity: 1;
    }

    .hero-frame {
        position: absolute;
        inset: var(--frame-top) var(--frame-side) var(--frame-side);
        overflow: hidden;
        border-radius: max(0px, calc(var(--frame-radius) - var(--frame-side)));
        display: block;
        margin: 0;
        padding: 0;
        background: none;
        box-shadow: none;
        opacity: 0;
        transform: scale(1.02);
        transition: opacity 0.7s var(--ease-out), transform 1.1s var(--ease-out), inset 0.6s var(--ease-out),
            border-radius 0.6s var(--ease-out);
    }

    .hero-frame.is-shown {
        opacity: 1;
        transform: none;
    }

    .hero-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-rail {
        width: 100%;
        max-width: calc((100svh - 220px) * var(--screen-ratio));
    }

    .hero-rail ol {
        display: grid;
        grid-template-columns: repeat(var(--beat-count, 4), minmax(0, 1fr));
        gap: 12px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .hero-rail li {
        position: relative;
        padding-top: 14px;
    }

    /* Each step's track fills as the reader passes through that beat. */
    .hero-rail li::before,
    .hero-rail li::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        border-radius: 1px;
        background: var(--line);
    }

    .hero-rail li::after {
        background: var(--accent);
        transform-origin: left center;
        transform: scaleX(clamp(0, calc(var(--story-progress, 0) * var(--beat-count, 4) - var(--i, 0)), 1));
    }

    .hero-rail a {
        display: flex;
        align-items: baseline;
        gap: 8px;
        min-height: 44px;
        color: var(--mid);
        font-size: 0.9375rem;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.4s var(--ease-out);
    }

    .hero-rail a:hover,
    .hero-rail a[aria-current] {
        color: var(--ink);
    }

    .hero-rail-number {
        color: var(--accent);
        font-variant-numeric: tabular-nums;
    }
}

/* The hand-over between beats eases, unless the reader asks for less motion. */
@media (prefers-reduced-motion: no-preference) {
    .hero--js > .beat :is(h2, .beat-step, .beat-copy p, .consent blockquote p, .decision) {
        transition: color 0.7s var(--ease-out);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-frame,
    .hero-screen,
    .hero-screen::before {
        transition: none;
    }
}

/* Home: the decision-support note closing the check beat, and the way on to Features. */
.home .decision {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--ink);
}

.home .story-more {
    margin-top: 20px;
}

/*
 * Features page. The security page's rhythm (heading left, content right,
 * hairlines between), with one device of its own: a feature that touches
 * personal details or access carries its privacy note directly beneath it,
 * hung from a thin accent rule, so the two read as one thing.
 */
main.features {
    padding: 0;
}

.features h2 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.022em;
    font-weight: 600;
    text-wrap: balance;
}

.features p {
    margin: 0;
}

.features-intro .wrap {
    padding-top: clamp(56px, 12vw, 144px);
    padding-bottom: clamp(56px, 9vw, 112px);
}

.features-intro h1 {
    max-width: 13ch;
    font-size: clamp(2.5rem, 7.4vw, 5rem);
    line-height: 1.03;
    letter-spacing: -0.038em;
    text-wrap: balance;
}

.features-intro .features-lead {
    max-width: 38rem;
    margin-top: 1em;
    color: var(--mid);
    font-size: clamp(1.125rem, 1.9vw, 1.3125rem);
    line-height: 1.55;
}

.features-intro .features-lead:first-of-type {
    margin-top: clamp(24px, 3.5vw, 40px);
    color: var(--ink);
}

.features-index {
    margin-top: clamp(40px, 6vw, 72px);
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.features-index ol {
    display: grid;
    gap: 0 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.features-index a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--mid);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}

.features-index a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.chapter {
    border-top: 1px solid var(--line);
    scroll-margin-top: 8px;
}

.chapter .wrap {
    padding-top: clamp(56px, 9vw, 120px);
    padding-bottom: clamp(56px, 9vw, 120px);
}

.chapter-grid {
    display: grid;
    gap: 28px;
}

.features .chapter-lead {
    max-width: 26rem;
    margin-top: 16px;
    color: var(--mid);
    font-size: 1.125rem;
    line-height: 1.55;
}

.chapter-body {
    max-width: 40rem;
}

/*
 * A feature's picture closes its item: the words first, then the screen they
 * describe, then one plain line saying what the screen shows. An item with a
 * picture is given more air above and below than a text-only one, so each
 * picture reads as its own moment rather than a gallery.
 */
.features .feature:has(> .device) {
    padding-top: clamp(32px, 5vw, 48px);
    padding-bottom: clamp(32px, 5vw, 48px);
}

.features .feature:first-child:has(> .device) {
    padding-top: 0;
}

.features .feature > .device {
    margin: clamp(24px, 3.5vw, 32px) 0 0;
    gap: 14px clamp(16px, 2.4vw, 24px);
}

.features .device figcaption {
    max-width: 34rem;
    color: var(--mid);
    font-size: 0.9375rem;
    line-height: 1.5;
    text-wrap: pretty;
}

@media (min-width: 560px) {
    /* The phone stands on its own, with its line beside it at the foot. */
    .features .device--phone {
        grid-template-columns: 15rem minmax(0, 1fr);
        align-items: end;
        column-gap: clamp(24px, 4vw, 40px);
    }

    .features .device--phone picture {
        width: 100%;
    }

    .features .device--phone figcaption {
        grid-column: 2;
        padding-bottom: 8px;
    }
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature {
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.feature:first-child {
    border-top: 0;
    padding-top: 0;
}

.feature:last-child {
    padding-bottom: 0;
}

.feature h3 {
    margin: 0 0 6px;
    font-size: 1.1875rem;
    line-height: 1.3;
    letter-spacing: -0.008em;
    font-weight: 600;
}

.features .feature > p {
    color: var(--mid);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.features .feature > .control {
    margin-top: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--accent);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.55;
}

.control-label {
    display: block;
    margin-bottom: 2px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
}

.features .features-next {
    margin-top: 40px;
}

@media (min-width: 640px) {
    .features-index ol {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .features-index ol {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .chapter-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: clamp(48px, 6vw, 96px);
        align-items: start;
    }

    .chapter-head {
        position: sticky;
        top: 32px;
    }
}

/* Home: the way on to the who page. */
.home .who-link {
    margin-top: 20px;
}

/*
 * Who it's for. The features page's rhythm (heading left, content right,
 * hairlines between). Its one device of its own is the example in each
 * reader's words: a quiet sheet set like the plan they would write, a
 * schedule with its times for one reader and a list of named rules for the
 * others, so the four sections share a form without reading as four
 * identical cards.
 */
main.who {
    padding: 0;
}

.who h2 {
    margin: 0;
    font-size: clamp(1.875rem, 4.4vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.024em;
    font-weight: 600;
    text-wrap: balance;
}

.who p {
    margin: 0;
}

.who-intro .wrap {
    padding-top: clamp(56px, 12vw, 144px);
    padding-bottom: clamp(56px, 9vw, 112px);
}

.who-intro h1 {
    max-width: 13ch;
    font-size: clamp(2.5rem, 7.4vw, 5rem);
    line-height: 1.03;
    letter-spacing: -0.038em;
    text-wrap: balance;
}

.who-intro .who-lead {
    max-width: 38rem;
    margin-top: 1em;
    color: var(--mid);
    font-size: clamp(1.125rem, 1.9vw, 1.3125rem);
    line-height: 1.55;
}

.who-intro .who-lead:first-of-type {
    margin-top: clamp(24px, 3.5vw, 40px);
    color: var(--ink);
}

.who-index {
    margin-top: clamp(40px, 6vw, 72px);
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.who-index ul {
    display: grid;
    gap: 0 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.who-index a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--mid);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}

.who-index a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.segment {
    border-top: 1px solid var(--line);
    scroll-margin-top: 8px;
}

.segment .wrap {
    padding-top: clamp(56px, 9vw, 120px);
    padding-bottom: clamp(56px, 9vw, 120px);
}

.segment-grid {
    display: grid;
    gap: 20px;
}

.who .segment-deck {
    max-width: 24rem;
    margin-top: 12px;
    color: var(--mid);
    font-size: 1.125rem;
    line-height: 1.5;
}

.segment-body {
    max-width: 40rem;
}

.who .segment-lead {
    color: var(--ink);
    font-size: clamp(1.125rem, 1.7vw, 1.25rem);
    line-height: 1.6;
    letter-spacing: -0.005em;
}

.who .segment-note {
    margin-top: 16px;
    color: var(--mid);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* The example, in the reader's own words. */
.in-their-words {
    margin-top: clamp(32px, 5vw, 44px);
    padding: clamp(20px, 3.6vw, 28px) clamp(20px, 3.6vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--card);
}

.in-their-words h3,
.who .matters-title {
    margin: 0;
    color: var(--accent);
    font-size: 0.9375rem;
    line-height: 1.4;
    font-weight: 600;
}

.who .words-title {
    margin-top: 6px;
    color: var(--ink);
    font-size: 1.1875rem;
    line-height: 1.35;
    letter-spacing: -0.008em;
    font-weight: 600;
}

.words-times,
.words-spec {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.words-times li,
.words-spec > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px 20px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 1.0625rem;
    line-height: 1.5;
}

/* A time is read down the column, so the digits line up. */
.words-when {
    color: var(--mid);
    font-variant-numeric: tabular-nums;
}

.words-what strong {
    font-weight: 600;
}

.words-spec dt {
    color: var(--mid);
}

.words-spec dd {
    margin: 0;
    color: var(--ink);
}

.who .words-note {
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--mid);
    font-size: 1rem;
    line-height: 1.55;
}

@media (min-width: 520px) {
    .words-times li {
        grid-template-columns: 5.5rem minmax(0, 1fr);
    }

    .words-spec > div {
        grid-template-columns: 9.5rem minmax(0, 1fr);
    }
}

.segment-body > .device {
    margin: clamp(32px, 5vw, 44px) 0 0;
    gap: 14px;
}

.who .device figcaption {
    max-width: 34rem;
    color: var(--mid);
    font-size: 0.9375rem;
    line-height: 1.5;
    text-wrap: pretty;
}

@media (min-width: 560px) {
    .who .device--phone {
        grid-template-columns: 15rem minmax(0, 1fr);
        align-items: end;
        column-gap: clamp(24px, 4vw, 40px);
    }

    .who .device--phone picture {
        width: 100%;
    }

    .who .device--phone figcaption {
        grid-column: 2;
        padding-bottom: 8px;
    }
}

.who .matters-title {
    margin-top: clamp(36px, 5vw, 48px);
}

.matters {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.matters li {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.0625rem;
    line-height: 1.55;
}

.matters li:first-child {
    border-top: 0;
    padding-top: 4px;
}

/* Each segment's one privacy note: the accent rule marks privacy wherever it appears. */
.who .segment-privacy {
    margin-top: 28px;
    padding-left: 16px;
    border-left: 2px solid var(--accent);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.6;
}

/*
 * The privacy that holds on every job, said once after the four segments:
 * the segments' own grid, with the four points set as one ruled column under
 * the same accent rule, at the lead's size, so it reads as the page's
 * common ground rather than a fifth example.
 */
.crew-privacy {
    border-top: 1px solid var(--line);
    scroll-margin-top: 8px;
}

.crew-privacy .wrap {
    padding-top: clamp(56px, 9vw, 120px);
    padding-bottom: clamp(56px, 9vw, 120px);
}

.privacy-points {
    margin: 0;
    padding: 0 0 0 clamp(16px, 2.4vw, 24px);
    list-style: none;
    border-left: 2px solid var(--accent);
}

.privacy-points li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    line-height: 1.55;
    letter-spacing: -0.004em;
    text-wrap: pretty;
}

.privacy-points li:first-child {
    padding-top: 2px;
    border-top: 0;
}

.privacy-points li:last-child {
    padding-bottom: 2px;
}

.who .privacy-more {
    margin-top: clamp(20px, 3vw, 28px);
}

.anywhere {
    border-top: 1px solid var(--line);
    background: var(--card);
    scroll-margin-top: 8px;
}

.anywhere .wrap {
    padding-top: clamp(72px, 12vw, 152px);
    padding-bottom: clamp(72px, 12vw, 152px);
}

.anywhere h2 {
    max-width: 16ch;
}

.who .anywhere-lead {
    max-width: 38rem;
    margin-top: clamp(20px, 3vw, 28px);
    color: var(--mid);
    font-size: clamp(1.125rem, 1.9vw, 1.3125rem);
    line-height: 1.55;
}

.who .anywhere-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    margin-top: 36px;
}

@media (min-width: 640px) {
    .who-index ul {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .who-index ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .segment-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: clamp(48px, 6vw, 96px);
        align-items: start;
    }

    .segment-head {
        position: sticky;
        top: 32px;
    }

    /* The page's device rule puts a lone screen in the second column; here the body already is that column. */
    .segment-body > .device {
        grid-column: auto;
    }
}

/*
 * FAQ. The security and who pages' rhythm (a group's heading left, its
 * questions right, hairlines between). Every answer is open: nothing to
 * click, so it reads the same with or without JavaScript and to anything
 * that indexes it. The one device of its own: each answer's first sentence
 * is the answer, set in ink at reading size; the detail after it steps back
 * to the quieter grey, so a skimming eye can read only the answers.
 */
main.faq {
    padding: 0;
}

.faq h2 {
    margin: 0;
    font-size: clamp(1.625rem, 3.6vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 600;
    text-wrap: balance;
}

.faq-intro .wrap {
    padding-top: clamp(56px, 12vw, 144px);
    padding-bottom: clamp(56px, 9vw, 112px);
}

.faq-intro h1 {
    max-width: 13ch;
    font-size: clamp(2.5rem, 7.4vw, 5rem);
    line-height: 1.03;
    letter-spacing: -0.038em;
    text-wrap: balance;
}

.faq-intro .faq-lead {
    max-width: 38rem;
    margin: clamp(24px, 3.5vw, 40px) 0 0;
    color: var(--ink);
    font-size: clamp(1.125rem, 1.9vw, 1.3125rem);
    line-height: 1.55;
}

.faq-index {
    margin-top: clamp(40px, 6vw, 72px);
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.faq-index ul {
    display: grid;
    gap: 0 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-index a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--mid);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}

.faq-index a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.faq-group {
    border-top: 1px solid var(--line);
    scroll-margin-top: 8px;
}

.faq-group .wrap {
    padding-top: clamp(56px, 8vw, 104px);
    padding-bottom: clamp(48px, 7vw, 88px);
}

.faq-grid {
    display: grid;
    gap: 12px;
}

.qa {
    max-width: 38rem;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    scroll-margin-top: 16px;
}

.qa:first-child {
    border-top: 0;
}

.qa:last-child {
    padding-bottom: 0;
}

.qa h3 {
    margin: 0 0 12px;
    font-size: clamp(1.1875rem, 1.9vw, 1.375rem);
    line-height: 1.3;
    letter-spacing: -0.012em;
    font-weight: 600;
    text-wrap: balance;
}

.answer p {
    margin: 0;
    color: var(--mid);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.answer .answer-lead {
    color: var(--ink);
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    line-height: 1.55;
    letter-spacing: -0.004em;
}

.answer p + p {
    margin-top: 0.7em;
}

.answer a {
    text-underline-offset: 3px;
}

/* Arriving at one answer from a link: its question takes the accent, nothing moves. */
.qa:target h3 {
    color: var(--accent);
}

@media (min-width: 640px) {
    .faq-index ul {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .faq-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        column-gap: clamp(48px, 6vw, 96px);
        align-items: start;
    }

    .faq-grid > h2 {
        position: sticky;
        top: 32px;
        padding-top: 24px;
    }

    .qa:first-child {
        padding-top: 24px;
    }
}

/*
 * The hero's stacked laminates: five badges, the front one carrying the mark.
 * All CSS and one SVG, so it is sharp at any size and on any screen. Purely
 * decorative (aria-hidden); hero-art.js adds a small pointer tilt.
 */
.hero-grid {
    display: grid;
    align-items: center;
    gap: clamp(8px, 4vw, 56px);
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .hero h1 {
        font-size: clamp(2.75rem, 5.4vw, 5rem);
    }
}

.hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: clamp(300px, 58vw, 600px);
    perspective: 1600px;
}

.hero-art::before {
    content: "";
    position: absolute;
    inset: 4% 0;
    background:
        radial-gradient(closest-side at 62% 48%, rgba(60, 110, 255, 0.34), transparent 72%),
        radial-gradient(closest-side at 38% 58%, rgba(214, 45, 158, 0.2), transparent 70%),
        radial-gradient(closest-side at 50% 70%, rgba(38, 220, 212, 0.2), transparent 70%);
    pointer-events: none;
}

.laminates {
    position: relative;
    left: -24%;
    width: clamp(160px, 24vw, 270px);
    aspect-ratio: 300 / 440;
    transform-style: preserve-3d;
    transform: rotateX(7deg) rotateY(-26deg);
    animation: laminates-float 10s ease-in-out 1.6s infinite;
}

@keyframes laminates-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

/*
 * Each card rests at --x, --y, --z and opens by moving a further distance
 * with the individual `translate` property. Only transform-type properties
 * change, so the browser animates them on the compositor and it stays smooth.
 */
.laminate {
    --x: 0%;
    --y: 0%;
    --z: 0px;
    position: absolute;
    inset: 0;
    border-radius: 9% / 6.2%;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: linear-gradient(160deg, var(--l-from), var(--l-to));
    transform: translate3d(var(--x), var(--y), var(--z));
    transition: translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: laminate-in 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 0 30px var(--l-glow),
        0 14px 24px -14px rgba(4, 10, 30, 0.5);
    backface-visibility: hidden;
    will-change: translate;
}

@keyframes laminate-in {
    from { translate: calc(var(--x) * -1) calc(var(--y) * -1) calc(var(--z) * -1); opacity: 0; }
    to { translate: 0 0 0; opacity: 1; }
}

/* Open the stack when the pointer is over it, or a button beside it has focus. */
.hero-art:hover .laminate,
.hero:has(.hero-actions :focus-visible) .laminate {
    translate: calc(var(--x) * 0.45) 0 calc(var(--z) * 0.45);
}

.hero-art:hover .laminate-1,
.hero:has(.hero-actions :focus-visible) .laminate-1 {
    translate: 0 -1.5% 30px;
}

.laminate::before {
    /* the lanyard slot */
    content: "";
    position: absolute;
    top: 4.6%;
    left: 50%;
    width: 21%;
    height: 2.8%;
    transform: translateX(-50%);
    border-radius: 99px;
    background: rgba(3, 6, 14, 0.7);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.2);
}

.laminate::after {
    /* a glass sheen, a sealed-pouch edge, a fine weave and two grains */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(112deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.06) 22%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 0.14) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px),
        url("/img/grain.png");
    background-size: auto, auto, 96px 96px;
    box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.04), inset 0 0 0 8px rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.laminate img {
    position: absolute;
    left: 50%;
    top: 55%;
    width: 50%;
    height: auto;
    transform: translate(-50%, -50%);
}

.laminate-1 {
    --l-from: rgba(16, 26, 46, 0.99);
    --l-to: rgba(6, 10, 20, 0.99);
    --l-glow: rgba(80, 160, 255, 0.22);
    background:
        radial-gradient(closest-side at 50% 56%, rgba(38, 220, 212, 0.2), transparent 72%),
        linear-gradient(160deg, var(--l-from), var(--l-to));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 0 30px var(--l-glow),
        0 28px 50px -22px rgba(4, 10, 30, 0.6);
}
.laminate-2 { --x: 13%; --y: -1.5%; --z: -70px; --l-from: rgba(29, 63, 154, 0.78); --l-to: rgba(10, 95, 142, 0.7); --l-glow: rgba(70, 140, 255, 0.4); }
.laminate-3 { --x: 26%; --y: -3%; --z: -140px; --l-from: rgba(15, 143, 124, 0.7); --l-to: rgba(10, 90, 86, 0.62); --l-glow: rgba(40, 220, 190, 0.34); }
.laminate-4 { --x: 39%; --y: -4.5%; --z: -210px; --l-from: rgba(77, 48, 180, 0.66); --l-to: rgba(42, 27, 118, 0.58); --l-glow: rgba(140, 100, 255, 0.36); }
.laminate-5 { --x: 52%; --y: -6%; --z: -280px; --l-from: rgba(138, 44, 158, 0.62); --l-to: rgba(60, 19, 102, 0.54); --l-glow: rgba(220, 90, 200, 0.34); }

/*
 * One line illustration per inner page, in the whitespace beside the opening:
 * a floor plan for Features, layered keys for Security, crew badges for Who
 * it's for, and a question and answer for the FAQ. Decorative (aria-hidden),
 * drawn in the brand gradient, and clipped by the edge of the page.
 */
.features-intro,
.security-intro,
.who-intro,
.faq-intro {
    position: relative;
    overflow: hidden;
}

.features-intro .wrap,
.security-intro .wrap,
.who-intro .wrap,
.faq-intro .wrap {
    position: relative;
}

.page-art {
    position: absolute;
    z-index: 0;
    top: clamp(48px, 7vw, 112px);
    right: -2vw;
    width: min(40%, 420px);
    opacity: 0.78;
    pointer-events: none;
}

.page-art svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.features-intro .wrap > :not(.page-art),
.security-intro .wrap > :not(.page-art),
.who-intro .wrap > :not(.page-art),
.faq-intro .wrap > :not(.page-art) {
    position: relative;
    z-index: 1;
}

.security-intro .page-art { right: 1vw; }
.who-intro .page-art { right: 3vw; top: clamp(24px, 3vw, 64px); }
.faq-intro .page-art { right: 0; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .page-art {
        opacity: 0.95;
    }
}

:root[data-theme="dark"] .page-art {
    opacity: 0.95;
}

@media (max-width: 900px) {
    .page-art {
        top: 24px;
        right: -14vw;
        width: 62vw;
        opacity: 0.22;
    }
}

@media (prefers-reduced-motion: reduce) {
    .laminates,
    .laminate {
        animation: none;
        transition: none;
    }

    .hero-art:hover .laminate,
    .hero:has(.hero-actions :focus-visible) .laminate {
        translate: none;
    }
}
