/* ============================================================================
 * chrome.css — always linked by Document.tsx
 *
 * Covers the shared shell every page gets: top nav, footer, cookie banner,
 * flash banner, sr-only, page-hero primitives (header / .verify-header /
 * .eyebrow / h1 / .verify-title / .description / .doc-dates / .header-buttons),
 * generic buttons, inline-link, layouts (.docs-main / .article-main /
 * .article-body / .compare-table), and the .verify-card surface primitive
 * reused by Verify / Login / Signup / Status / Outcome / Transparency / etc.
 *
 * Page-specific styling lives in sibling files (landing.css, auth.css,
 * verify.css, status.css, dashboard.css, legal.css, ui-kit.css, docs-runner.css)
 * and is opted into via meta.extraStylesheets.
 * Per-component styling lives in src/components/ui/<Name>.module.css and is
 * served as a single concatenated stylesheet at /css/components.css.
 * ============================================================================ */

main { position: relative; z-index: 1; }

/* ===== Persistent top nav ===== */
.top-nav {
    position: sticky;
    top: 0;
    /* `position: sticky` + `backdrop-filter` both promote .top-nav to its
     * own stacking context, so the .nav-drawer / .nav-scrim children — even
     * with z-index 95/90 — are effectively capped at .top-nav's z-index.
     * Must outrank the cookie notice (z-index 80) so the mobile drawer and
     * its scrim correctly overlap the cookie banner and any other chrome.
     */
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid var(--border-strong);
}
.top-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.brand-wordmark {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 6px 4px;
    transition: opacity 0.2s ease;
}
.brand-wordmark:hover { opacity: 0.8; }
.brand-wordmark img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 100%;
    filter: invert(1);
}
.top-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.nav-link:hover { color: var(--text-strong); background: rgba(255, 255, 255, 0.05); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--accent-ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1.1rem;
    min-height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent);
    transition: background 0.15s ease, color 0.15s ease;
}
.nav-cta:hover { background: transparent; color: var(--accent); }

.nav-user { position: relative; }
.nav-user-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.7rem 0.4rem 0.4rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    min-height: 44px;
}
.nav-user-trigger:hover,
.nav-user.is-open .nav-user-trigger {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-strong);
}
.nav-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 800;
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
}
.nav-user-email {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-dim);
}
.nav-user-caret {
    color: var(--text-dim);
    transition: transform 0.18s ease;
    flex-shrink: 0;
}
.nav-user.is-open .nav-user-caret { transform: rotate(180deg); }

.nav-user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    background: var(--surface, #0e0e12);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 0.4rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 100;
    animation: navUserMenuIn 0.12s ease-out;
}
@keyframes navUserMenuIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nav-user-menu-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.6rem 0.75rem 0.7rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.35rem;
}
.nav-user-menu-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.nav-user-menu-email {
    font-size: 0.9rem;
    color: var(--text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.75rem;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 0.92rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}
.nav-user-menu-item i {
    width: 1em;
    color: var(--text-dim);
    font-size: 0.95em;
}
.nav-user-menu-item:hover,
.nav-user-menu-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-strong);
    outline: none;
}
.nav-user-menu-item:hover i,
.nav-user-menu-item:focus-visible i { color: var(--text-strong); }
.nav-user-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 0.35rem 0;
}
.nav-user-menu-signout { color: var(--text-dim); }
.nav-user-menu-signout:hover,
.nav-user-menu-signout:focus-visible {
    color: #ff8a8a;
    background: rgba(255, 90, 90, 0.08);
}
.nav-user-menu-signout:hover i,
.nav-user-menu-signout:focus-visible i { color: #ff8a8a; }

/* Accent focus ring for nav controls */
.nav-link:focus-visible,
.nav-cta:focus-visible,
.nav-user-trigger:focus-visible,
.nav-user-menu-item:focus-visible,
.nav-hamburger:focus-visible,
.nav-drawer-item:focus-visible,
.nav-drawer-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 8px;
}
.nav-cta:focus-visible { border-radius: var(--radius-sm); }
.nav-user-trigger:focus-visible { border-radius: 999px; }

/* Hamburger button (≤640px) */
.nav-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); }
.nav-hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-hamburger[aria-expanded="true"] .nav-hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .nav-hamburger-bar:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Shared scrim for drawer + desktop user menu. Rendered as a body-level
 * sibling of .top-nav (see TopNav.tsx — keeping it out of the backdrop-
 * filtered nav so `position: fixed` resolves against the viewport), so
 * z-index needs to outrank the nav itself (z-index 100) when active. */
.nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.18s ease;
    z-index: 105;
}
.nav-scrim.is-visible { opacity: 1; }

/* Mobile drawer */
.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 360px);
    background: var(--surface, #0e0e12);
    border-left: 1px solid var(--border-strong);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    /* Sits above .nav-scrim (105) and .top-nav (100) so the drawer covers
     * the nav bar (its own close button stays clickable at the top). */
    z-index: 110;
    transform: translateX(100%);
    transition: transform 0.22s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-inner {
    display: flex;
    flex-direction: column;
    padding: 0.85rem 0.85rem 1.5rem;
    min-height: 100%;
}
.nav-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.5rem;
}
.nav-drawer-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.nav-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}
.nav-drawer-close:hover { background: rgba(255, 255, 255, 0.06); }
.nav-drawer-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem 0.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.45rem;
}
.nav-drawer-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.nav-drawer-email {
    font-size: 0.95rem;
    color: var(--text-strong);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-drawer-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 0.98rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}
.nav-drawer-item i {
    width: 1.1em;
    color: var(--text-dim);
    font-size: 1em;
}
.nav-drawer-item:hover,
.nav-drawer-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-strong);
}
.nav-drawer-item:hover i,
.nav-drawer-item:focus-visible i { color: var(--text-strong); }
.nav-drawer-item-cta {
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    margin-top: 0.35rem;
}
.nav-drawer-item-cta i { color: var(--accent-ink); }
.nav-drawer-item-cta:hover,
.nav-drawer-item-cta:focus-visible {
    background: var(--accent);
    color: var(--accent-ink);
    filter: brightness(1.08);
}
.nav-drawer-signout { color: var(--text-dim); margin-top: 0.5rem; }
.nav-drawer-signout:hover,
.nav-drawer-signout:focus-visible {
    color: #ff8a8a;
    background: rgba(255, 90, 90, 0.08);
}
.nav-drawer-signout:hover i,
.nav-drawer-signout:focus-visible i { color: #ff8a8a; }

/* Body scroll lock while drawer is open */
html.nav-drawer-open,
body.nav-drawer-open { overflow: hidden; }

/* ===== Shared page hero ===== */
header,
.verify-header {
    background: transparent;
    color: var(--text-strong);
    padding: 5rem 1.5rem 4rem;
    position: relative;
    text-align: center;
    overflow: hidden;
}
.header-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.85rem;
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-strong);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.eyebrow i { font-size: 0.7rem; }

h1, .verify-title {
    font-size: clamp(1.9rem, 7vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text-strong);
    text-transform: uppercase;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    hyphens: auto;
}

.description {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 620px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}
.doc-dates {
    font-size: 0.85rem;
    color: var(--text-dim);
    opacity: 0.75;
    margin: -1.25rem auto 2rem;
    max-width: 620px;
    letter-spacing: 0.01em;
}
.doc-dates time {
    font-variant-numeric: tabular-nums;
}
.description code,
.verify-header code {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 0.88em;
    color: var(--text);
}

.header-logo-wrap { display: none; }

.header-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hide redundant "Back to Provable.io" links — the nav wordmark handles it */
.back-home, .page-chrome { display: none !important; }

/* ===== Buttons ===== */
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.4rem;
    text-decoration: none;
    border-radius: 11px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    line-height: 1;
}
.button {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}
.button.primary {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
}
.button.primary:hover { background: transparent; color: var(--accent); }
.button.secondary {
    background: transparent;
    color: var(--text-strong);
    border-color: var(--border-strong);
}
.button.secondary:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.inline-link { color: var(--indigo); text-decoration: none; font-weight: 600; }
.inline-link:hover { color: var(--text-strong); text-decoration: underline; }

/* ===== Layout primitives ===== */
.docs-main { padding: 1rem 1.5rem 4rem; max-width: 1100px; margin: 0 auto; }

.article-main { padding: 1rem 1.5rem 4rem; max-width: 760px; margin: 0 auto; }
.article-body {
    background: var(--surface);
    padding: 2rem 2.25rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.article-body h2 { font-size: 1.3rem; color: var(--text-strong); margin-top: 1.75rem; margin-bottom: 0.65rem; font-weight: 700; letter-spacing: -0.01em; }
.article-body h2:first-child { margin-top: 0; }
.article-body p, .article-body li { color: var(--text); font-size: 0.96rem; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0.6rem 0 1rem 1.4rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body code {
    background: var(--bg-2);
    color: var(--text);
    padding: 0.12rem 0.4rem;
    border-radius: 5px;
    font-family: var(--mono);
    font-size: 0.86em;
    border: 1px solid var(--border);
}
.article-body pre {
    background: var(--bg);
    color: #e2e8f0;
    padding: 1.1rem 1.3rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 0.85rem 0 1.25rem;
    border: 1px solid var(--border);
}
.article-body pre code { background: transparent; color: inherit; padding: 0; font-size: 0.82rem; line-height: 1.65; border: none; }
.article-body a.inline-link { color: var(--indigo); text-decoration: none; font-weight: 600; border-bottom: 1px dashed var(--border-strong); }
.article-body a.inline-link:hover { border-bottom-style: solid; color: var(--text-strong); }

/* Comparison tables used on /compare/* landing pages */
.compare-table-wrap { overflow-x: auto; margin: 0.6rem 0 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 0.7rem 0.85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--surface-2); color: var(--text-strong); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--text-strong); font-weight: 600; width: 28%; }
.compare-table code { background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 0.05rem 0.35rem; border-radius: 4px; font-family: var(--mono); font-size: 0.82em; }

/* ===== Verify-card surface primitive (reused by many utility pages) ===== */
.verify-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid var(--border-strong);
    background: var(--bg);
    padding: 4rem 1.5rem 2rem;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2.5rem;
}
.footer-section h2 {
    color: var(--text-strong);
    margin-bottom: 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 800;
}
.footer-section p {
    color: var(--text-dim);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.footer-description { margin-top: 0.6rem; font-size: 0.85rem; line-height: 1.55; }
.footer-section a {
    color: var(--text-dim);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}
.footer-section a:hover { color: var(--text-strong); }
.footer-section a i { width: 16px; color: var(--text-faint); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin: 0 auto;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-faint); }
.parent-company {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
}
.parent-company span { color: var(--text-faint); font-size: 0.8rem; }
.parent-logo {
    display: block;
    height: 24px;
    width: auto;
    max-width: 100%;
    opacity: 0.85;
    filter: brightness(1.1);
    transition: opacity 0.2s ease;
}
.parent-logo:hover { opacity: 1; }

/* ===== Flash banner ===== */
.flash-banner {
    max-width: 900px;
    margin: 1rem auto 0;
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #bbf7d0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* ===== Accessibility helper ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Cookie notice ===== */
.cookie-notice {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 720px;
    margin: 0 auto;
    z-index: 80;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.9rem;
    animation: cookieNoticeIn 0.25s ease;
}
.cookie-notice.leaving { opacity: 0; transform: translateY(8px); transition: all 0.2s ease; }
.cookie-notice-text { flex: 1; line-height: 1.5; }
.cookie-notice-text code {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    padding: 0.05rem 0.35rem;
    border-radius: 5px;
    font-family: var(--mono);
    font-size: 0.85em;
    color: var(--text);
}
.cookie-notice-dismiss {
    background: var(--accent);
    color: var(--accent-ink);
    border: 1px solid var(--accent);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}
.cookie-notice-dismiss:hover { background: transparent; color: var(--accent); }
@keyframes cookieNoticeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
    .cookie-notice { flex-direction: column; align-items: stretch; text-align: left; }
    .cookie-notice-dismiss { width: 100%; }
}

/* ===== Responsive (hero + nav + general) ===== */
@media (max-width: 768px) {
    header, .verify-header { padding: 3rem 1.25rem 2.5rem; }
    .description { font-size: 1rem; }
    .header-buttons .button { width: 100%; max-width: 320px; justify-content: center; }
}
@media (max-width: 640px) {
    header,
    .verify-header { padding: 2.75rem 1rem 2.5rem; }
    .description { font-size: 1.02rem; }
    .top-nav-inner { padding: 0.6rem 0.9rem; gap: 0.4rem; }
    .brand-wordmark img { height: 28px; }
    /* Replace the inline actions row with a hamburger-driven drawer. */
    .top-nav-actions { display: none; }
    .nav-hamburger { display: inline-flex; }
    .header-buttons .button { width: 100%; justify-content: center; }
    /* Compact footer: 2-column grid keeps it short on phones */
    footer { padding: 2.5rem 1.25rem 1.5rem; margin-top: 2.5rem; }
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1.5rem;
        padding-bottom: 1.75rem;
    }
    .footer-section h2 { margin-bottom: 0.6rem; font-size: 0.68rem; }
    .footer-section p,
    .footer-section a { font-size: 0.85rem; margin-bottom: 0.4rem; }
    .footer-description { font-size: 0.8rem; }
    .footer-bottom { padding-top: 1.25rem; }
    .parent-company { margin-top: 1rem; }
    pre, code { word-break: normal; overflow-wrap: normal; }
    pre { max-width: 100%; }
}
@media (max-width: 600px) {
    .top-nav-inner { padding: 0.7rem 1rem; }
    .brand-wordmark { padding: 4px 2px; }
    .brand-wordmark img { height: 30px; }
    .verify-card { padding: 1.25rem; }
    .parent-company { flex-wrap: wrap; row-gap: 0.5rem; }
}
@media (max-width: 380px) {
    .description { font-size: 0.95rem; }
    h1, .verify-title { font-size: 1.7rem; }
}
