:root {
    color-scheme: dark;
    --bg: #0b1020;
    --surface: #121a2c;
    --surface-elevated: #182237;
    --surface-soft: #0f1729;
    --border: #24324a;
    --text: #e7ecf5;
    --text-muted: #9aa7bd;
    --accent: #8fb8ff;
    --accent-strong: #c2d7ff;
    --success: #3aa676;
    --warning: #b79145;
    --danger: #b25d6b;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: radial-gradient(circle at top, #111a31 0%, var(--bg) 45%, #08101c 100%);
    color: var(--text);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: var(--accent);
    text-decoration: none;
}

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

strong {
    font-weight: 600;
}

.shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.shell-wide {
    width: min(1360px, calc(100% - 32px));
}

.marketing-body {
    background:
        radial-gradient(circle at top left, rgba(29, 42, 71, 0.48), rgba(9, 15, 28, 0.98) 36%),
        linear-gradient(180deg, #09101a 0%, #08101a 100%);
}

.marketing-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(8, 13, 24, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(36, 50, 74, 0.58);
}

.marketing-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.marketing-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.brand-logo-public {
    height: 60px;
    max-width: 132px;
}

.marketing-brand {
    line-height: 0;
}

.marketing-nav,
.marketing-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.marketing-nav {
    margin-left: auto;
}

.marketing-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.marketing-menu-mobile {
    display: none;
}

.marketing-menu summary {
    list-style: none;
}

.marketing-menu summary::marker {
    content: "";
}

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

.marketing-menu-toggle {
    display: none;
}

.marketing-menu-toggle::marker {
    content: "";
}

.marketing-menu-toggle::-webkit-details-marker {
    display: none;
}

.marketing-menu:not([open]) .marketing-menu-panel,
.marketing-menu[open] .marketing-menu-panel {
    display: flex;
    align-items: center;
    gap: 10px;
}

.marketing-menu-panel-desktop {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.marketing-nav a {
    color: var(--text-muted);
    font-size: 0.84rem;
    padding: 4px 7px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.marketing-header .button {
    padding: 8px 11px;
    font-size: 0.84rem;
}

.marketing-nav a:hover {
    color: var(--text);
    border-color: rgba(143, 184, 255, 0.12);
    background: rgba(143, 184, 255, 0.05);
}

.marketing-nav a[aria-current="page"] {
    color: var(--text);
    font-weight: 600;
    border-color: rgba(143, 184, 255, 0.24);
    background: rgba(143, 184, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(143, 184, 255, 0.08);
}

.marketing-main {
    padding: 18px 0 72px;
}

.page-footer {
    border-top: 1px solid rgba(36, 50, 74, 0.42);
    background: rgba(8, 13, 24, 0.42);
}

.page-footer-bar {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px 0 24px;
}

.footer-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    cursor: pointer;
}

.footer-link-button:hover {
    color: var(--text);
}

.cookie-consent-root {
    position: relative;
    z-index: 40;
}

.cookie-banner[hidden],
.cookie-modal-backdrop[hidden],
.cookie-confirmation[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 18px 20px;
    border: 1px solid rgba(36, 50, 74, 0.82);
    border-radius: 16px;
    background: rgba(10, 16, 30, 0.98);
    box-shadow: 0 20px 44px rgba(3, 8, 18, 0.34);
}

.cookie-banner-copy h2,
.cookie-modal-header h2,
.cookie-category-copy h3 {
    margin: 0;
}

.cookie-banner-copy p,
.cookie-modal-header p,
.cookie-category-copy p {
    margin: 0;
    color: var(--text-muted);
}

.cookie-banner-copy {
    display: grid;
    gap: 8px;
    max-width: 720px;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    cursor: pointer;
}

.cookie-link-button:hover {
    color: var(--text);
}

.cookie-modal-backdrop {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 10, 20, 0.56);
}

.cookie-modal {
    width: min(100%, 720px);
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(36, 50, 74, 0.82);
    border-radius: 18px;
    background: rgba(10, 16, 30, 0.99);
    box-shadow: 0 24px 48px rgba(3, 8, 18, 0.36);
}

.cookie-modal-header,
.cookie-category-copy {
    display: grid;
    gap: 8px;
}

.cookie-category-list {
    display: grid;
    gap: 14px;
}

.cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(36, 50, 74, 0.72);
    border-radius: 14px;
    background: rgba(14, 21, 37, 0.84);
}

.cookie-state-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(143, 184, 255, 0.18);
    border-radius: 999px;
    background: rgba(143, 184, 255, 0.08);
    color: var(--text);
    white-space: nowrap;
}

.cookie-toggle-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.cookie-toggle-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(36, 50, 74, 0.72);
    border-radius: 999px;
    background: rgba(11, 16, 32, 0.42);
    color: var(--text);
    cursor: pointer;
}

.cookie-toggle-option input {
    margin: 0;
}

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-confirmation {
    position: fixed;
    right: 24px;
    bottom: 24px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(36, 50, 74, 0.82);
    border-radius: 12px;
    background: rgba(10, 16, 30, 0.98);
    box-shadow: 0 16px 36px rgba(3, 8, 18, 0.28);
}

.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;
}

.legal-page-hero {
    padding-bottom: 26px;
}

.legal-page-intro {
    max-width: 780px;
}

.legal-policy-page {
    padding-top: 20px;
}

.legal-policy-stack {
    display: grid;
    gap: 16px;
}

.legal-policy-section {
    padding: 22px 24px;
    border: 1px solid rgba(36, 50, 74, 0.58);
    border-radius: 18px;
    background: rgba(12, 18, 33, 0.42);
}

.legal-policy-section h2,
.legal-policy-section h3,
.legal-policy-section p {
    margin-top: 0;
}

.legal-policy-section h2 {
    margin-bottom: 10px;
}

.legal-policy-section h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1rem;
}

.legal-policy-section p + h3 {
    margin-top: 18px;
}

.legal-policy-list {
    margin: 10px 0 0;
    padding-left: 20px;
    color: var(--text-muted);
}

.legal-policy-list li + li {
    margin-top: 6px;
}

.legal-policy-list-nested {
    margin-top: 8px;
}

/* Public landing design system */
.public-band {
    border-top: 1px solid rgba(36, 50, 74, 0.35);
    border-bottom: 1px solid rgba(36, 50, 74, 0.35);
}

.public-band-editorial {
    background: rgba(8, 13, 24, 0.55);
}

.public-band-catalog {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006));
}

.public-band-faq {
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.72) 0%, rgba(8, 13, 24, 0.52) 100%);
    border-top: 1px solid rgba(36, 50, 74, 0.38);
    border-bottom: 1px solid rgba(36, 50, 74, 0.32);
}

.public-trust-band {
    background: linear-gradient(165deg, rgba(18, 28, 48, 0.55) 0%, rgba(8, 12, 22, 0.92) 55%, rgba(6, 10, 18, 0.98) 100%);
    border-top: 1px solid rgba(143, 184, 255, 0.12);
    border-bottom: 1px solid rgba(36, 50, 74, 0.45);
}

.public-process-band {
    background: linear-gradient(180deg, rgba(12, 20, 36, 0.48) 0%, rgba(8, 13, 24, 0.72) 100%);
    border-top: 1px solid rgba(36, 50, 74, 0.42);
    border-bottom: 1px solid rgba(36, 50, 74, 0.32);
}

.public-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 0;
}

.public-section-narrow {
    max-width: 860px;
}

.public-section-intro {
    max-width: 760px;
    margin-bottom: 20px;
}

.public-section-intro-centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.public-section-intro-tight {
    max-width: 700px;
}

.public-h2 {
    max-width: 24ch;
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 2.1vw, 1.72rem);
    font-weight: 720;
    letter-spacing: -0.02em;
    line-height: 1.22;
    text-wrap: balance;
}

.public-h2-wide {
    max-width: 38ch;
}

.public-text {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.public-text:last-child {
    margin-bottom: 0;
}

.public-aside {
    max-width: 70ch;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.64;
}

.public-aside-centered {
    margin-top: 16px;
    text-align: center;
}

.public-emphasis {
    color: var(--text);
    font-weight: 600;
}

.marketing-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
}

.marketing-list li + li {
    margin-top: 8px;
}

/* Hero: authoritative split, control-layer anchor */
.public-hero-band {
    padding: 32px 0 44px;
    border-bottom: 1px solid rgba(36, 50, 74, 0.4);
    background:
        radial-gradient(ellipse 90% 60% at 18% 0%, rgba(40, 72, 120, 0.22), transparent 55%),
        linear-gradient(180deg, rgba(10, 16, 28, 0.4), transparent);
}

.public-hero-inner {
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto;
}

.public-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
    gap: clamp(24px, 3.5vw, 44px);
    align-items: start;
}

.public-hero-primary {
    padding-top: 8px;
    min-width: 0;
}

.public-hero-primary .eyebrow {
    margin-bottom: 10px;
}

.public-hero-primary h1 {
    max-width: min(32ch, 100%);
    margin: 0 0 14px;
    font-size: clamp(1.82rem, 2.65vw, 2.55rem);
    font-weight: 700;
    line-height: 1.09;
    letter-spacing: -0.024em;
    text-wrap: balance;
    color: var(--text);
}

.public-hero-body {
    max-width: 48ch;
    margin-bottom: 18px;
}

.public-hero-lede {
    margin: 0 0 8px;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.64;
}

.public-hero-lede-note {
    margin: 0;
    color: rgba(168, 178, 198, 0.9);
    font-size: 0.875rem;
    line-height: 1.58;
}

.public-hero-cta {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 0;
}

/* Right column: content-height only (no stretch to match left) */
.public-hero-anchor {
    align-self: start;
    justify-self: end;
    width: 100%;
    max-width: 368px;
    padding: 14px 16px 12px;
    border-radius: 12px;
    border: 1px solid rgba(143, 184, 255, 0.14);
    background: linear-gradient(168deg, rgba(17, 25, 42, 0.98) 0%, rgba(9, 14, 26, 0.99) 100%);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    border-left: 3px solid rgba(143, 184, 255, 0.48);
}

.public-hero-anchor-head {
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(36, 50, 74, 0.7);
}

.public-hero-anchor-head--solo {
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.public-hero-anchor-panel-label {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(194, 215, 255, 0.88);
    line-height: 1.35;
}

.public-hero-anchor-kicker {
    margin: 0 0 5px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(143, 184, 255, 0.75);
}

.public-hero-anchor-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.012em;
    line-height: 1.32;
    color: var(--text);
}

.public-hero-anchor-scope {
    margin: 0 0 8px;
    padding: 9px 11px 9px 13px;
    border-radius: 8px;
    border: 1px solid rgba(36, 50, 74, 0.55);
    background: rgba(6, 10, 20, 0.42);
}

.public-hero-anchor-list {
    margin: 0;
    padding-left: 14px;
    color: rgba(200, 208, 222, 0.88);
    font-size: 0.8rem;
    line-height: 1.48;
}

.public-hero-anchor-list li + li {
    margin-top: 4px;
}

.public-hero-posture {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 6px;
    margin: 0;
    padding: 7px 9px;
    border-radius: 8px;
    border: 1px solid rgba(36, 50, 74, 0.5);
    background: rgba(8, 12, 22, 0.55);
}

.public-posture-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(210, 222, 245, 0.95);
    border: 1px solid rgba(143, 184, 255, 0.22);
    background: rgba(143, 184, 255, 0.06);
}

/* Marketing product screenshots: flat, framed proof (no tilt, no decorative chrome) */
.public-hero-grid--product {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1.4fr);
    align-items: stretch;
    gap: clamp(24px, 3.6vw, 48px);
}

.public-hero-product-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    justify-self: stretch;
    align-self: stretch;
}

.public-product-shot {
    margin: 0;
    padding: clamp(7px, 0.85vw, 10px);
    border-radius: 12px;
    border: 1px solid rgba(143, 184, 255, 0.13);
    background: linear-gradient(180deg, rgba(14, 20, 36, 0.96), rgba(8, 12, 22, 0.99));
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.public-product-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 7px;
}

/* Hero: fill column height to match left copy; image scales inside frame (object-fit contain) */
.public-product-shot--hero {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 5px 6px 6px;
    border-radius: 11px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.public-product-shot--hero img {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: top center;
}

.public-product-shot--document {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.public-proof-band {
    border-top: 1px solid rgba(36, 50, 74, 0.35);
    background: linear-gradient(180deg, rgba(10, 15, 28, 0.4), transparent 72%);
}

.public-proof-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(28px, 4.5vw, 52px);
    align-items: center;
}

/* Report export: cap image height, top-align copy vs artifact so the row feels balanced */
.public-proof-split--report {
    grid-template-columns: minmax(0, min(42ch, 100%)) minmax(0, 1.28fr);
    gap: clamp(22px, 3.2vw, 40px);
    align-items: start;
}

.public-proof-split--report .public-proof-copy {
    padding-top: clamp(2px, 0.5vw, 8px);
}

.public-proof-split--report .public-product-shot--document {
    width: 100%;
    max-width: 100%;
    padding: 7px 8px 8px;
}

.public-proof-split--report .public-product-shot--document img {
    width: auto;
    max-width: 100%;
    max-height: min(340px, 48vh);
    margin-inline: auto;
    object-fit: contain;
    object-position: top center;
}

.public-proof-copy {
    min-width: 0;
}

.public-proof-copy .public-h2 {
    margin-bottom: 12px;
}

.public-proof-lede {
    margin: 0;
    max-width: 48ch;
}

.hiw-proof-band {
    border-top: 1px solid rgba(36, 50, 74, 0.35);
}

.hiw-proof-band > .public-section {
    padding-top: 44px;
    padding-bottom: 44px;
}

.hiw-proof-band--detail {
    background: linear-gradient(180deg, transparent, rgba(11, 17, 30, 0.32));
}

/* How it works: slightly tighter split, larger product column; items > detail hierarchy */
.hiw-proof-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.22fr);
    gap: clamp(16px, 2.6vw, 32px);
    align-items: center;
}

.public-product-shot--hiw {
    padding: 5px 6px 6px;
    border-radius: 11px;
}

.public-product-shot--hiw-primary {
    width: 100%;
    border-color: rgba(143, 184, 255, 0.17);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.public-product-shot--hiw-detail {
    width: 100%;
    max-width: min(100%, 580px);
    margin-left: auto;
    border-color: rgba(143, 184, 255, 0.1);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Problem: diagnostic panel */
.public-section-problem,
.public-problem {
    padding-top: 48px;
    padding-bottom: 48px;
}

.public-problem-panel {
    margin: 20px 0 16px;
    padding: 18px 22px 16px;
    border-radius: 14px;
    border: 1px solid rgba(36, 50, 74, 0.65);
    background: rgba(8, 13, 24, 0.55);
}

.public-problem-panel-label {
    margin: 0 0 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(168, 178, 198, 0.88);
    line-height: 1.4;
}

.public-problem-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: public-problem;
}

.public-problem-list li {
    counter-increment: public-problem;
    padding: 11px 0 11px 40px;
    border-top: 1px solid rgba(36, 50, 74, 0.45);
    position: relative;
}

.public-problem-list li:first-child {
    border-top: none;
    padding-top: 2px;
}

.public-problem-list li::before {
    content: counter(public-problem, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 11px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.public-problem-list li:first-child::before {
    top: 2px;
}

.public-problem-q {
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 1.44;
    color: var(--text);
}

.public-problem-foot {
    margin-top: 8px;
}

.public-section-split {
    padding-top: 54px;
    padding-bottom: 54px;
}

/* Why hidden: header column 1 row 1; aside column 2 spans rows 1–2 so top aligns with headline */
.public-why-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.84fr);
    column-gap: 28px;
    row-gap: 14px;
    align-items: start;
}

.public-why-top {
    grid-column: 1;
    grid-row: 1;
    max-width: 760px;
    min-width: 0;
}

.public-why-body {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin: 0;
    padding: 0;
}

.public-why-layout .public-why-aside {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    margin: 0;
}

.public-editorial-split,
.public-editorial-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.84fr);
    gap: 28px;
    align-items: start;
}

.public-editorial-copy {
    max-width: 700px;
}

.public-why-aside {
    padding: 18px 18px 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(36, 50, 74, 0.5);
    border-left: 3px solid rgba(100, 130, 170, 0.35);
    background: rgba(9, 14, 25, 0.45);
}

.public-why-aside-title {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.public-why-aside-list {
    font-size: 0.86rem;
    line-height: 1.55;
}

/* Product definition: text-led, no heavy card */
.public-define {
    padding-top: 58px;
    padding-bottom: 58px;
}

.public-define-header {
    max-width: 720px;
    margin-bottom: 22px;
}

.public-define-lede {
    margin: 12px 0 0;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--text);
    font-weight: 500;
}

.public-define-body {
    max-width: 700px;
    margin-bottom: 18px;
}

.public-define-boundaries {
    margin: 0;
    padding: 14px 18px 14px 20px;
    max-width: 640px;
    list-style: none;
    border-radius: 10px;
    border: 1px solid rgba(36, 50, 74, 0.62);
    border-left: 2px solid rgba(143, 184, 255, 0.38);
    background: rgba(6, 10, 20, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.public-define-boundaries li {
    position: relative;
    padding-left: 14px;
    font-size: 0.865rem;
    color: rgba(186, 196, 214, 0.92);
    line-height: 1.48;
}

.public-define-boundaries li + li {
    margin-top: 6px;
}

.public-define-boundaries li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: rgba(143, 184, 255, 0.65);
}

/* Review categories: catalog rows */
.public-catalog-intro {
    margin-top: 8px;
}

.public-catalog {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    border-radius: 14px;
    border: 1px solid rgba(36, 50, 74, 0.55);
    overflow: hidden;
    background: rgba(8, 13, 24, 0.35);
}

.public-catalog-row {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    gap: 10px 20px;
    padding: 13px 20px;
    border-bottom: 1px solid rgba(36, 50, 74, 0.45);
}

.public-catalog-row:last-child {
    border-bottom: none;
}

.public-catalog-row--emphasis {
    background: rgba(143, 184, 255, 0.04);
}

.public-catalog-name {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.38;
    color: var(--text);
}

.public-catalog-desc {
    font-size: 0.86rem;
    line-height: 1.62;
    color: var(--text-muted);
}

/* Process: panel + three-step cards */
.public-section.public-section-process {
    max-width: min(1180px, calc(100% - 32px));
    padding-top: 60px;
    padding-bottom: 60px;
}

.public-process-panel {
    border-radius: 16px;
    border: 1px solid rgba(143, 184, 255, 0.16);
    background: linear-gradient(165deg, rgba(22, 32, 52, 0.72), rgba(10, 15, 26, 0.94));
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
    padding: 34px 32px 30px;
}

.public-process-intro-block {
    max-width: 720px;
    margin-bottom: 0;
}

.public-h2.public-h2-process {
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
}

.public-process-lede {
    margin: 0 auto;
    max-width: 52ch;
    text-align: center;
}

.public-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
    list-style: none;
    padding: 0;
}

.public-process-card {
    display: flex;
    flex-direction: column;
    padding: 24px 22px 26px;
    border-radius: 12px;
    border: 1px solid rgba(36, 50, 74, 0.58);
    background: rgba(6, 10, 20, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    min-height: 100%;
}

.public-process-card-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 999px;
    border: 1px solid rgba(143, 184, 255, 0.32);
    background: rgba(10, 15, 27, 0.9);
    color: var(--accent-strong);
    font-weight: 700;
    font-size: 0.84rem;
    flex-shrink: 0;
}

.public-process-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--text);
}

.public-process-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.89rem;
    line-height: 1.62;
}

.public-process-foot {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid rgba(36, 50, 74, 0.55);
}

.public-process-foot-text {
    margin: 0 auto;
    max-width: 54ch;
    text-align: center;
    font-size: 0.91rem;
    line-height: 1.65;
    color: rgba(186, 196, 214, 0.94);
}

/* Trust: assurance charter */
.public-section-trust {
    padding-top: 56px;
    padding-bottom: 56px;
}

.public-trust-assurance {
    max-width: 100%;
    padding: 26px 26px 24px;
    border-radius: 16px;
    border: 1px solid rgba(143, 184, 255, 0.18);
    background: linear-gradient(165deg, rgba(22, 32, 52, 0.75), rgba(10, 15, 26, 0.92));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.public-trust-assurance-head {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(36, 50, 74, 0.55);
}

.public-trust-title {
    margin-bottom: 8px;
}

.public-trust-tagline {
    margin: 0;
    max-width: 52ch;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.public-trust-assurance-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 22px 32px;
    align-items: center;
}

.public-trust-charter {
    padding: 16px 18px 15px;
    border-radius: 12px;
    background: rgba(6, 10, 20, 0.55);
    border: 1px solid rgba(36, 50, 74, 0.6);
}

.public-trust-charter-label {
    margin: 0 0 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.public-trust-charter-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.public-trust-charter-list li {
    padding: 6px 0 6px 14px;
    border-left: 2px solid rgba(143, 184, 255, 0.25);
    font-size: 0.88rem;
    line-height: 1.48;
    color: var(--text);
}

.public-trust-charter-list li + li {
    margin-top: 0;
}

.public-trust-narrative {
    padding-top: 0;
}

.public-trust-narrative .public-text {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.62;
}

.public-trust-narrative .public-text:last-child {
    margin-bottom: 0;
}

.public-recurring {
    padding-top: 56px;
    padding-bottom: 56px;
}

.public-recurring-heading {
    max-width: 44ch;
}

.public-recurring-copy {
    max-width: 760px;
}

.public-recurring-copy > p.public-text:not(.public-recurring-close) {
    margin-bottom: 10px;
}

.public-recurring-list {
    margin-top: 14px;
    margin-bottom: 4px;
}

.public-recurring-list li + li {
    margin-top: 6px;
}

.public-recurring-close {
    margin-top: 22px;
    margin-bottom: 0;
    line-height: 1.62;
}

/* Pricing: single composed block */
.public-pricing {
    padding-top: 52px;
    padding-bottom: 48px;
}

.public-pricing-panel {
    max-width: 720px;
    margin: 0 auto;
    padding: 30px 32px 28px;
    border-radius: 16px;
    border: 1px solid rgba(143, 184, 255, 0.14);
    background: linear-gradient(165deg, rgba(20, 30, 48, 0.58), rgba(10, 15, 26, 0.88));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.public-pricing-head {
    margin: 0 0 6px;
    padding-bottom: 4px;
}

.public-pricing-head .eyebrow {
    margin-bottom: 8px;
}

.public-h2.public-h2-pricing {
    max-width: 36ch;
    margin-bottom: 14px;
    text-wrap: wrap;
}

.public-pricing-amount {
    margin: 0 0 18px;
    font-size: clamp(1.32rem, 2.1vw, 1.58rem);
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.2;
    color: var(--text);
}

.public-pricing-intro {
    margin: 0 0 18px;
    max-width: 62ch;
}

.public-pricing-includes {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.public-pricing-includes li {
    position: relative;
    padding-left: 14px;
    font-size: 0.89rem;
    line-height: 1.55;
    color: rgba(186, 196, 214, 0.94);
}

.public-pricing-includes li + li {
    margin-top: 8px;
}

.public-pricing-includes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: rgba(143, 184, 255, 0.62);
}

.public-pricing-note {
    margin: 0 0 22px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(36, 50, 74, 0.52);
    font-size: 0.84rem;
    line-height: 1.55;
    color: rgba(168, 178, 198, 0.9);
    letter-spacing: 0.01em;
}

.public-pricing-actions {
    margin-top: 0;
    margin-bottom: 0;
}

/* How it works (public page) */
.hiw-page {
    padding-bottom: 8px;
}

.hiw-hero-band .hiw-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(240px, 320px);
    gap: clamp(24px, 3.5vw, 40px);
    align-items: start;
}

.hiw-hero-primary h1 {
    max-width: min(38ch, 100%);
    text-wrap: balance;
}

.hiw-hero-body {
    max-width: 52ch;
}

.hiw-hero-support {
    margin-top: 4px;
}

.hiw-hero-aside {
    align-self: start;
    justify-self: end;
    width: 100%;
    max-width: 320px;
    padding: 16px 18px 14px;
    border-radius: 12px;
    border: 1px solid rgba(143, 184, 255, 0.16);
    background: linear-gradient(168deg, rgba(17, 25, 42, 0.96) 0%, rgba(9, 14, 26, 0.99) 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    border-left: 3px solid rgba(143, 184, 255, 0.42);
}

.hiw-hero-aside-label {
    margin: 0 0 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(194, 215, 255, 0.88);
}

.hiw-hero-aside-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hiw-hero-aside-list li {
    position: relative;
    padding-left: 14px;
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(186, 196, 214, 0.94);
}

.hiw-hero-aside-list li + li {
    margin-top: 8px;
}

.hiw-hero-aside-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: rgba(143, 184, 255, 0.6);
}

.hiw-section {
    padding-top: 52px;
    padding-bottom: 52px;
}

.hiw-section-intro {
    max-width: 720px;
    margin-bottom: 24px;
}

.hiw-section-intro .public-text + .public-text {
    margin-top: 2px;
}

.hiw-h2 {
    max-width: 40ch;
    text-wrap: wrap;
}

.hiw-steps-panel {
    margin-top: 8px;
    border-radius: 16px;
    border: 1px solid rgba(143, 184, 255, 0.12);
    background: linear-gradient(165deg, rgba(18, 28, 46, 0.5), rgba(10, 15, 26, 0.82));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    padding: 26px 24px 28px;
}

.hiw-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hiw-step-card {
    padding: 20px 18px 22px;
    border-radius: 12px;
    border: 1px solid rgba(36, 50, 74, 0.55);
    background: rgba(6, 10, 20, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hiw-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    border-radius: 999px;
    border: 1px solid rgba(143, 184, 255, 0.3);
    background: rgba(10, 15, 27, 0.9);
    color: var(--accent-strong);
    font-weight: 700;
    font-size: 0.82rem;
}

.hiw-step-title {
    margin: 0 0 10px;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.28;
    color: var(--text);
}

.hiw-step-body {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.hiw-band-catalog {
    border-top: 1px solid rgba(36, 50, 74, 0.35);
}

.hiw-catalog {
    margin-top: 12px;
}

.hiw-section-split-wrap .hiw-section-intro {
    margin-bottom: 22px;
}

.hiw-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.hiw-split-card {
    padding: 22px 22px 24px;
    border-radius: 14px;
    border: 1px solid rgba(143, 184, 255, 0.14);
    background: linear-gradient(165deg, rgba(20, 30, 48, 0.55), rgba(10, 15, 26, 0.88));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.hiw-split-card--muted {
    border-color: rgba(36, 50, 74, 0.55);
    background: linear-gradient(165deg, rgba(14, 22, 38, 0.45), rgba(8, 13, 24, 0.78));
}

.hiw-split-title {
    margin: 0 0 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.hiw-split-list {
    margin: 0;
    padding-left: 18px;
    color: rgba(186, 196, 214, 0.92);
    font-size: 0.89rem;
    line-height: 1.58;
}

.hiw-split-list li + li {
    margin-top: 8px;
}

.hiw-band-output {
    background: linear-gradient(180deg, rgba(10, 16, 28, 0.42), rgba(8, 13, 24, 0.2));
    border-top: 1px solid rgba(36, 50, 74, 0.35);
    border-bottom: 1px solid rgba(36, 50, 74, 0.3);
}

.hiw-section-output .hiw-section-intro {
    margin-bottom: 22px;
}

.hiw-output-panel {
    border-radius: 16px;
    border: 1px solid rgba(143, 184, 255, 0.14);
    background: linear-gradient(165deg, rgba(22, 32, 52, 0.65), rgba(10, 15, 26, 0.9));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    padding: 26px 24px 28px;
}

.hiw-output-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hiw-output-block {
    padding: 18px 16px 20px;
    border-radius: 10px;
    border: 1px solid rgba(36, 50, 74, 0.5);
    background: rgba(6, 10, 20, 0.42);
}

.hiw-output-block-title {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.012em;
    line-height: 1.3;
    color: var(--text);
}

.hiw-output-block-body {
    margin: 0;
    font-size: 0.87rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.hiw-trust-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.88fr);
    gap: 28px 36px;
    align-items: start;
    padding: 30px 30px 28px;
    border-radius: 16px;
    border: 1px solid rgba(143, 184, 255, 0.15);
    background: linear-gradient(165deg, rgba(22, 32, 52, 0.72), rgba(10, 15, 26, 0.92));
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.hiw-trust-copy .eyebrow {
    margin-bottom: 8px;
}

.hiw-trust-copy .public-h2 {
    margin-bottom: 12px;
}

.hiw-trust-points {
    margin: 0;
    padding: 20px 20px 18px;
    list-style: none;
    border-radius: 12px;
    border: 1px solid rgba(36, 50, 74, 0.58);
    background: rgba(6, 10, 20, 0.48);
}

.hiw-trust-points li {
    position: relative;
    padding-left: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(186, 196, 214, 0.95);
}

.hiw-trust-points li + li {
    margin-top: 10px;
}

.hiw-trust-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: rgba(143, 184, 255, 0.55);
}

.hiw-section-editorial {
    padding-top: 60px;
    padding-bottom: 56px;
}

.hiw-editorial-inner {
    max-width: 720px;
}

.hiw-editorial-inner .public-text + .public-text {
    margin-top: 2px;
}

.hiw-editorial-close {
    margin-top: 18px;
    margin-bottom: 0;
    line-height: 1.62;
}

.hiw-final-wrap {
    padding-top: 40px;
    padding-bottom: 64px;
}

.security-scope-section .security-scope-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.security-scope-section .security-scope-list li {
    position: relative;
    padding-left: 14px;
    font-size: 0.89rem;
    line-height: 1.55;
    color: rgba(186, 196, 214, 0.94);
}

.security-scope-section .security-scope-list li + li {
    margin-top: 8px;
}

.security-scope-section .security-scope-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: rgba(143, 184, 255, 0.6);
}

/* Pricing (public page) */
.prc-hero-body .public-hero-lede {
    margin-bottom: 12px;
}

.prc-hero-price {
    margin: 0 0 10px;
    font-size: clamp(1.28rem, 2vw, 1.52rem);
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.2;
    color: var(--text);
}

.prc-hero-support {
    margin-top: 0;
}

.prc-section-model .prc-range-band {
    margin-top: 8px;
}

.prc-range-band {
    max-width: 520px;
    padding: 22px 24px 20px;
    border-radius: 14px;
    border: 1px solid rgba(143, 184, 255, 0.16);
    background: linear-gradient(165deg, rgba(20, 30, 48, 0.55), rgba(10, 15, 26, 0.88));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.prc-range-label {
    margin: 0 0 8px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(194, 215, 255, 0.88);
}

.prc-range-value {
    margin: 0 0 10px;
    font-size: clamp(1.2rem, 1.85vw, 1.42rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.22;
    color: var(--text);
}

.prc-range-note {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.prc-editorial-wide {
    max-width: 720px;
}

.prc-bullet-list {
    margin: 16px 0 18px;
    padding: 0;
    list-style: none;
}

.prc-bullet-list li {
    position: relative;
    padding-left: 14px;
    font-size: 0.89rem;
    line-height: 1.55;
    color: rgba(186, 196, 214, 0.94);
}

.prc-bullet-list li + li {
    margin-top: 8px;
}

.prc-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: rgba(143, 184, 255, 0.6);
}

.prc-section-close {
    margin-top: 6px;
    margin-bottom: 0;
}

.prc-fit-list {
    margin-top: 20px;
}

.prc-value-line {
    margin-top: 16px;
    margin-bottom: 0;
}

.prc-section-fit {
    padding-top: 58px;
    padding-bottom: 58px;
}

.prc-section-value {
    padding-bottom: 52px;
}

/* Contact / walkthrough (public page) */
.ctc-page .ctc-flash {
    max-width: min(1180px, calc(100% - 32px));
    margin: -8px auto 20px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.ctc-flash--success {
    border: 1px solid rgba(143, 184, 255, 0.28);
    background: rgba(14, 22, 40, 0.65);
    color: rgba(210, 220, 238, 0.96);
}

.ctc-flash--error {
    border: 1px solid rgba(220, 120, 120, 0.35);
    background: rgba(40, 18, 18, 0.35);
    color: rgba(238, 200, 200, 0.95);
}

.ctc-section-who {
    padding-top: 48px;
}

.ctc-who-list {
    margin-top: 14px;
}

.ctc-guidance-panel {
    max-width: 720px;
    margin: 0 auto;
    padding: 26px 28px 26px;
    border-radius: 16px;
    border: 1px solid rgba(143, 184, 255, 0.12);
    background: linear-gradient(165deg, rgba(18, 28, 46, 0.5), rgba(10, 15, 26, 0.82));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.ctc-guidance-panel .public-h2 {
    margin-bottom: 12px;
}

.ctc-guidance-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.ctc-guidance-list li {
    position: relative;
    padding-left: 14px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(186, 196, 214, 0.94);
}

.ctc-guidance-list li + li {
    margin-top: 8px;
}

.ctc-guidance-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 1px;
    background: rgba(143, 184, 255, 0.58);
}

.ctc-form-section {
    padding-top: 44px;
    padding-bottom: 40px;
}

.ctc-form-panel {
    max-width: 640px;
    margin: 0 auto;
    padding: 30px 32px 28px;
    border-radius: 16px;
    border: 1px solid rgba(143, 184, 255, 0.14);
    background: linear-gradient(165deg, rgba(22, 32, 52, 0.62), rgba(10, 15, 26, 0.9));
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.ctc-form-head {
    margin-bottom: 22px;
}

.ctc-form-intro {
    margin-bottom: 0;
}

.ctc-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.ctc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ctc-field--full {
    grid-column: 1 / -1;
}

.ctc-field label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(186, 196, 214, 0.88);
}

.ctc-field input,
.ctc-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid rgba(36, 50, 74, 0.75);
    background: rgba(6, 10, 20, 0.65);
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.45;
    font-family: inherit;
}

.ctc-field input::placeholder,
.ctc-field textarea::placeholder {
    color: rgba(140, 150, 170, 0.55);
}

.ctc-field input:focus,
.ctc-field textarea:focus {
    outline: none;
    border-color: rgba(143, 184, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(143, 184, 255, 0.12);
}

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

.ctc-form-actions {
    grid-column: 1 / -1;
    margin-top: 6px;
}

.ctc-form-note {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(36, 50, 74, 0.5);
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(168, 178, 198, 0.88);
}

.ctc-alt-contact {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(36, 50, 74, 0.45);
}

.ctc-alt-title {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.ctc-alt-body {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.ctc-alt-body a {
    color: var(--accent-strong);
    text-decoration: none;
}

.ctc-alt-body a:hover {
    text-decoration: underline;
}

.ctc-email-placeholder {
    color: var(--text);
    font-weight: 600;
}

.ctc-after-section {
    padding-top: 48px;
    padding-bottom: 64px;
}

.ctc-after-section .ctc-after-eyebrow,
.ctc-after-section .ctc-after-h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.ctc-after-h2 {
    max-width: 36ch;
    margin-bottom: 26px;
}

.ctc-after-grid {
    margin-top: 0;
}

.ctc-reassurance {
    margin: 32px auto 0;
    max-width: 42ch;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(186, 196, 214, 0.92);
}

/* FAQ: composed panel + accordion */
.public-section.public-section-faq {
    max-width: min(1040px, calc(100% - 32px));
    padding-top: 48px;
    padding-bottom: 44px;
}

.public-faq-panel {
    border-radius: 16px;
    border: 1px solid rgba(143, 184, 255, 0.14);
    background: linear-gradient(165deg, rgba(20, 30, 48, 0.58), rgba(10, 15, 26, 0.88));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
    padding: 26px 28px 6px;
}

.public-faq-header {
    margin: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(36, 50, 74, 0.55);
}

.public-faq-header .eyebrow {
    margin-bottom: 6px;
}

.public-h2.public-h2-faq {
    max-width: none;
    margin-bottom: 0;
    text-wrap: wrap;
    width: 100%;
}

@media (min-width: 900px) {
    .public-h2.public-h2-faq {
        white-space: nowrap;
    }
}

.public-faq-minimal {
    margin-top: 0;
    border-top: none;
}

.public-faq-row {
    border-bottom: 1px solid rgba(36, 50, 74, 0.42);
    transition: background-color 0.15s ease;
}

.public-faq-row:last-child {
    border-bottom: none;
}

.public-faq-row:hover {
    background: rgba(143, 184, 255, 0.035);
}

.public-faq-row[open] {
    background: rgba(6, 10, 20, 0.4);
}

.public-faq-row[open]:hover {
    background: rgba(6, 10, 20, 0.48);
}

.public-faq-row summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    list-style: none;
    padding: 17px 6px 17px 2px;
    user-select: none;
    transition: color 0.15s ease;
}

.public-faq-row summary:hover .public-faq-q {
    color: var(--text);
}

.public-faq-row summary::-webkit-details-marker {
    display: none;
}

.public-faq-row summary::after {
    content: "+";
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: 0.12em;
    border-radius: 8px;
    border: 1px solid rgba(143, 184, 255, 0.22);
    background: rgba(8, 13, 24, 0.65);
    color: rgba(186, 196, 214, 0.92);
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1;
}

.public-faq-row[open] summary::after {
    content: "\2212";
    color: var(--accent-strong);
    border-color: rgba(143, 184, 255, 0.32);
    background: rgba(10, 18, 34, 0.75);
}

.public-faq-q {
    flex: 1;
    min-width: 0;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
}

.public-faq-row p {
    margin: 0;
    padding: 0 6px 18px 2px;
    color: var(--text-muted);
    font-size: 0.89rem;
    line-height: 1.65;
    max-width: 68ch;
}

.public-faq-row[open] summary {
    padding-bottom: 8px;
}

/* Final CTA */
#final-cta.public-section-narrow,
#hiw-final-cta.public-section-narrow,
#sec-final-cta.public-section-narrow,
#prc-final-cta.public-section-narrow {
    max-width: min(1180px, calc(100% - 32px));
}

.public-cta-close {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 26px 28px 28px;
    border-radius: 16px;
    border: 1px solid rgba(36, 50, 74, 0.55);
    background: linear-gradient(180deg, rgba(18, 26, 44, 0.55), rgba(10, 15, 26, 0.85));
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
    border-top: 3px solid rgba(143, 184, 255, 0.35);
}

.public-cta-close .public-h2 {
    max-width: none;
}

@media (min-width: 960px) {
    .public-cta-close .public-h2 {
        white-space: nowrap;
    }
}

.public-cta-actions {
    margin-top: 18px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 16, 32, 0.84);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(36, 50, 74, 0.8);
}

.site-header-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 0;
    flex-wrap: nowrap;
}

.app-brand-slot {
    min-width: 0;
    flex: 0 0 auto;
    margin-right: 6px;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text);
    line-height: 0;
}

.brand-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    object-fit: contain;
}

.app-brand-text {
    display: inline-block;
    line-height: 1;
}

.brand-logo-app {
    height: 60px;
    max-width: 146px;
}

.workspace-chip {
    padding: 5px 10px 6px;
    border: 1px solid rgba(36, 50, 74, 0.64);
    border-radius: 10px;
    background: rgba(18, 26, 44, 0.34);
    text-align: left;
    min-width: 0;
}

.workspace-chip-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1px;
}

.workspace-chip strong {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
}

.header-context {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 1 auto;
    min-width: 0;
    margin-left: auto;
}

.auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.auth-inline-form {
    margin: 0;
}

.account-menu {
    position: relative;
}

.account-menu summary {
    list-style: none;
}

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

.account-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 200px;
    padding: 7px 12px 8px;
    border: 1px solid rgba(36, 50, 74, 0.72);
    border-radius: 10px;
    background: rgba(18, 26, 44, 0.34);
    cursor: pointer;
    text-align: left;
}

.account-menu-trigger:hover {
    border-color: rgba(143, 184, 255, 0.16);
    background: rgba(26, 37, 60, 0.42);
}

.account-menu[open] .account-menu-trigger {
    border-color: rgba(143, 184, 255, 0.18);
    background: rgba(26, 37, 60, 0.48);
}

.account-menu-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.account-menu-label {
    color: var(--text-muted);
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-menu-email {
    font-size: 0.88rem;
    line-height: 1.25;
    white-space: nowrap;
}

.account-menu-icon {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-right: 1.5px solid rgba(154, 167, 189, 0.9);
    border-bottom: 1.5px solid rgba(154, 167, 189, 0.9);
    transform: rotate(45deg) translateY(-1px);
}

.account-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    display: grid;
    gap: 4px;
    min-width: 220px;
    padding: 8px;
    border: 1px solid rgba(36, 50, 74, 0.86);
    border-radius: 12px;
    background: rgba(14, 21, 37, 0.98);
    box-shadow: 0 16px 36px rgba(5, 10, 20, 0.34);
}

.account-menu-item,
.account-menu-item-button {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--text);
    background: transparent;
    font: inherit;
    text-align: left;
}

.account-menu-item:hover,
.account-menu-item-button:hover {
    background: rgba(143, 184, 255, 0.08);
    border-color: rgba(143, 184, 255, 0.08);
}

.account-menu-form {
    margin: 0;
}

.account-menu-item-button {
    cursor: pointer;
}

.main-nav,
.workspace-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.main-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.main-nav a,
.workspace-links a {
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--text-muted);
    border: 1px solid transparent;
    font-size: 0.86rem;
}

.workspace-links {
    gap: 6px;
}

.workspace-links-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 2px;
}

.main-nav a.is-active,
.workspace-links a.is-active,
.main-nav a:hover,
.workspace-links a:hover {
    color: var(--text);
    background: rgba(143, 184, 255, 0.04);
    border-color: rgba(143, 184, 255, 0.08);
}

.page-shell {
    padding: 28px 0 48px;
}

.hero-card,
.panel,
.metric-card {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(24, 34, 55, 0.96), rgba(15, 23, 41, 0.94));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card,
.panel {
    padding: 20px 22px;
    margin-bottom: 18px;
}

.hero-card {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}

.hero-card-compact {
    padding: 18px 20px;
}

.hero-actions {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 0 0 auto;
}

.hero-actions-with-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    min-width: max-content;
}

.hero-action-buttons {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    color: var(--accent);
}

h1,
h2 {
    margin: 0 0 8px;
    line-height: 1.2;
}

h1 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
}

h2 {
    font-size: 1.15rem;
}

.lede,
.muted {
    color: var(--text-muted);
}

.lede {
    max-width: 68ch;
    margin: 0;
    font-size: 0.98rem;
}

.hero-summary {
    display: grid;
    gap: 6px;
}

.hero-metadata-line {
    margin: 4px 0 0;
    font-size: 0.86rem;
    line-height: 1.4;
}

.hero-metadata-line-right {
    margin-top: auto;
    text-align: right;
}

.hero-meta-stack {
    display: grid;
    gap: 2px;
}

.hero-meta-stack-right {
    justify-items: end;
    text-align: right;
    margin-top: 12px;
}

.hero-summary-line {
    margin: 0;
}

.summary-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.summary-card {
    border: 1px solid rgba(36, 50, 74, 0.84);
    background: rgba(13, 19, 34, 0.72);
    border-radius: 14px;
    padding: 14px 16px;
    display: grid;
    gap: 8px;
}

.export-body {
    background: #dfe6f0;
    color: #152033;
    line-height: 1.45;
}

.export-page {
    width: min(960px, calc(100% - 48px));
    margin: 32px auto 44px;
}

.export-sheet {
    background: #ffffff;
    color: #152033;
    border: 1px solid #b8c4d6;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(7, 12, 24, 0.14);
    padding: 30px 34px 36px;
}

.export-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #c7d1df;
}

.export-header .eyebrow {
    color: #2f4669;
}

.export-brand {
    margin-bottom: 10px;
}

.brand-logo-export {
    height: 26px;
    width: auto;
}

.export-header .lede,
.export-section .muted {
    color: #3f4d62;
}

.export-header-side {
    display: grid;
    gap: 14px;
    justify-items: end;
}

.export-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.export-meta,
.export-summary-grid,
.export-movement-grid {
    margin: 0;
    display: grid;
    gap: 12px;
}

.export-meta {
    min-width: 280px;
    grid-template-columns: 1fr;
}

.export-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.export-movement-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.export-meta div,
.export-summary-grid div,
.export-movement-grid div {
    padding: 13px 14px;
    border: 1px solid #bcc8d8;
    border-radius: 12px;
    background: #edf2f8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.export-meta dt,
.export-summary-grid dt,
.export-movement-grid dt {
    margin: 0 0 4px;
    color: #40516a;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.export-meta dd,
.export-summary-grid dd,
.export-movement-grid dd {
    margin: 0;
    color: #152033;
}

.export-summary-grid dd,
.export-movement-grid dd {
    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.3;
}

.export-section {
    margin-top: 26px;
}

.export-section-header {
    margin-bottom: 10px;
}

.export-section-header h2 {
    color: #152033;
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

.export-callout {
    padding: 15px 16px;
    border: 1px solid #bcc8d8;
    border-radius: 12px;
    background: #edf2f8;
}

.export-callout p {
    margin: 6px 0 0;
    color: #3f4d62;
}

.export-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.export-movement-note {
    margin-top: 10px;
    color: #37465d;
}

.export-priority-list {
    display: grid;
    gap: 14px;
}

.export-priority-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 22px;
    padding: 16px 18px;
    border: 1px solid #c7d1df;
    border-radius: 12px;
    background: #f7f9fc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.export-priority-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.export-priority-copy p {
    margin: 0;
}

.export-priority-heading {
    display: grid;
    gap: 8px;
}

.export-priority-heading strong {
    font-size: 1.02rem;
    color: #152033;
    line-height: 1.3;
}

.export-priority-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-self: center;
}

.export-posture {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border: 1px solid #7f97bb;
    border-radius: 999px;
    color: #23364f;
    background: #d7e1ee;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.export-value-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #b9852d;
    border-radius: 12px;
    color: #6b4300;
    background: #f2dfb2;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.export-metric-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 6px 10px;
    border: 1px solid #7ea5d8;
    border-radius: 999px;
    color: #224b7a;
    background: #d5e4fb;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.export-body .button {
    background: #29476d;
    color: #ffffff;
    border-color: #29476d;
}

.export-body .button:hover {
    background: #213c5d;
    color: #ffffff;
}

.export-body .button-secondary {
    background: #eef3f9;
    color: #1d324f;
    border-color: #bcc8d8;
}

.export-body .button-secondary:hover {
    background: #e2e9f2;
    color: #162842;
}

.summary-card-label {
    color: var(--text-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.summary-card-value {
    font-size: 1.28rem;
    line-height: 1.2;
}

.summary-card-detail {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.mono {
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: 0.92rem;
}

.hero-metadata,
.inline-metadata,
.detail-list {
    margin: 0;
    display: grid;
    gap: 12px;
}

.hero-metadata {
    min-width: 300px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inline-metadata {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metadata div,
.inline-metadata div,
.detail-list div {
    padding: 14px;
    border: 1px solid rgba(36, 50, 74, 0.86);
    border-radius: 14px;
    background: rgba(11, 16, 32, 0.46);
    min-width: 0;
}

dt {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

dd {
    margin: 0;
}

.detail-list dd,
.detail-list dd .mono {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.metric-grid,
.card-grid,
.two-column-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}

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

.card-grid,
.two-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
    padding: 18px 20px;
}

.metric-label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.metric-value {
    font-size: 1.65rem;
    font-weight: 700;
}

.metric-text {
    font-size: 1.05rem;
}

.metric-badge {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(143, 184, 255, 0.1);
    color: var(--accent-strong);
    border: 1px solid rgba(143, 184, 255, 0.18);
}

.panel-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--accent);
    color: #06111f;
    border: 1px solid rgba(143, 184, 255, 0.25);
    font: inherit;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

.button:hover {
    color: #06111f;
    background: var(--accent-strong);
}

.button-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.button-secondary:hover {
    color: var(--text);
    background: rgba(143, 184, 255, 0.08);
}

.button-danger {
    background: rgba(178, 93, 107, 0.18);
    color: #ffd9df;
    border-color: rgba(240, 165, 178, 0.34);
}

.button-danger:hover {
    background: rgba(178, 93, 107, 0.28);
    color: #fff1f4;
}

.status-list {
    display: grid;
    gap: 10px;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(11, 16, 32, 0.44);
    border: 1px solid rgba(36, 50, 74, 0.74);
}

.status-row-side {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.value-note,
.value-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(183, 145, 69, 0.26);
    background: rgba(183, 145, 69, 0.09);
    color: #f0ddb4;
}

.value-summary {
    flex-direction: column;
    align-items: flex-end;
}

.value-summary-label {
    color: var(--text-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.report-list dd {
    font-size: 1rem;
    font-weight: 600;
}

.movement-list {
    margin-top: 14px;
}

.movement-item dt {
    margin-bottom: 8px;
}

.movement-value {
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.1;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    border: 1px solid rgba(154, 167, 189, 0.2);
    background: rgba(154, 167, 189, 0.08);
    color: var(--text);
    text-transform: lowercase;
}

.pill.completed,
.pill.available,
.pill.open {
    background: rgba(58, 166, 118, 0.12);
    border-color: rgba(58, 166, 118, 0.32);
    color: #9be6c2;
}

.pill.completed_with_evidence_gaps,
.pill.unavailable_due_to_tenant_capability,
.pill.unavailable_due_to_permissions,
.pill.unavailable_due_to_api_error,
.pill.unknown {
    background: rgba(183, 145, 69, 0.12);
    border-color: rgba(183, 145, 69, 0.34);
    color: #eac78f;
}

.pill.failed,
.pill.resolved {
    background: rgba(178, 93, 107, 0.12);
    border-color: rgba(178, 93, 107, 0.34);
    color: #f0b4bf;
}

.filter-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-field {
    flex: 1 1 320px;
    min-width: 280px;
}

.filter-form label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 4px;
}

select,
input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(11, 16, 32, 0.8);
    color: var(--text);
}

.auth-hero-card {
    max-width: 760px;
}

.workspace-setup-hero {
    max-width: 840px;
}

.auth-panel {
    max-width: 560px;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-feedback {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(36, 50, 74, 0.7);
    font-size: 0.92rem;
}

.auth-feedback-error {
    border-color: rgba(178, 93, 107, 0.45);
    background: rgba(178, 93, 107, 0.12);
}

.auth-feedback-success {
    border-color: rgba(58, 166, 118, 0.4);
    background: rgba(58, 166, 118, 0.12);
}

.auth-footnote {
    margin: 16px 0 0;
}

.auth-secondary-link {
    margin-top: 14px;
}

.account-security-layout {
    display: grid;
    gap: 20px;
    max-width: 760px;
}

.account-security-section {
    margin-bottom: 0;
}

.account-readonly-field {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(36, 50, 74, 0.74);
    background: rgba(11, 16, 32, 0.36);
}

.account-readonly-label {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-readonly-field strong {
    font-size: 1rem;
    line-height: 1.4;
}

.account-password-form {
    max-width: 460px;
}

.account-security-note {
    margin: 14px 0 0;
}

.billing-flow {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
    gap: 24px;
}

.billing-summary-panel {
    display: grid;
    gap: 22px;
}

.billing-entitlement-card {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(121, 159, 255, 0.38);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(34, 50, 85, 0.34), rgba(14, 20, 36, 0.82)),
        rgba(11, 16, 32, 0.58);
    box-shadow: 0 22px 44px rgba(4, 8, 20, 0.24);
}

.billing-entitlement-header {
    display: grid;
    gap: 10px;
}

.billing-entitlement-header h2 {
    margin: 0;
}

.billing-entitlement-header .muted {
    margin: 0;
    max-width: 34rem;
}

.billing-entitlement-state-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 14px 0 2px;
}

.billing-entitlement-chip {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(120, 142, 188, 0.5);
    background: rgba(17, 24, 42, 0.88);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.billing-entitlement-chip-success {
    border-color: rgba(108, 186, 143, 0.38);
    background: rgba(13, 31, 24, 0.88);
}

.billing-entitlement-chip-attention {
    border-color: rgba(214, 179, 94, 0.42);
    background: rgba(38, 31, 16, 0.88);
}

.billing-entitlement-chip-warning {
    border-color: rgba(198, 114, 114, 0.42);
    background: rgba(43, 21, 23, 0.88);
}

.billing-entitlement-meta {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.billing-entitlement-body {
    padding-top: 4px;
}

.billing-entitlement-list {
    margin-top: 0;
}

.billing-transition-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
    padding: 20px 22px;
    border: 1px solid rgba(108, 186, 143, 0.3);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(24, 44, 35, 0.54), rgba(13, 20, 28, 0.9)),
        rgba(11, 16, 32, 0.7);
}

.billing-transition-copy {
    display: grid;
    gap: 8px;
}

.billing-transition-copy h2,
.billing-transition-copy p {
    margin: 0;
}

.billing-transition-eyebrow {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.billing-transition-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (min-width: 760px) {
    .billing-transition-panel {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

.billing-status-action-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

.billing-status-primary-action {
    margin-top: 14px;
}

.billing-portal-support {
    margin: 10px 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.billing-gate-panel {
    margin-bottom: 18px;
}

.billing-options-panel {
    scroll-margin-top: 92px;
    margin-bottom: 0;
}

.billing-context-card {
    margin-bottom: 0;
}

.billing-context-card .panel-header {
    margin-bottom: 12px;
}

.billing-options-panel-secondary {
    background: rgba(13, 19, 34, 0.46);
    border-color: rgba(36, 50, 74, 0.46);
}

.billing-options-panel-secondary .panel-header {
    margin-bottom: 14px;
}

.billing-options-panel-secondary .panel-header .muted {
    max-width: 38rem;
}

.billing-options-panel-secondary .billing-option-card {
    background: rgba(11, 16, 32, 0.2);
    border-color: rgba(36, 50, 74, 0.48);
}

.billing-options-panel:focus,
.billing-options-panel:focus-visible {
    outline: none;
}

.billing-option-grid {
    display: grid;
    gap: 16px;
}

.billing-option-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(36, 50, 74, 0.74);
    background: rgba(11, 16, 32, 0.34);
}

.billing-option-card h2 {
    margin: 0;
}

.billing-option-card p {
    margin: 0;
    color: var(--text-muted);
}

.billing-option-card .button {
    width: fit-content;
}

.billing-option-card .billing-option-price {
    margin: -2px 0 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.billing-option-card form {
    margin: 0;
}

.billing-option-card-wide {
    max-width: 520px;
}

.workspace-setup-flow {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
}

.workspace-setup-flow > .panel {
    margin-bottom: 0;
}

.workspace-setup-guidance {
    display: grid;
    gap: 12px;
}

.workspace-setup-guidance .marketing-list {
    margin: 0;
}

.workspace-setup-requirements {
    gap: 9px;
    margin-top: 8px;
}

.workspace-setup-action-panel {
    max-width: none;
    display: grid;
    gap: 12px;
}

.workspace-setup-action-panel .panel-header {
    margin-bottom: 2px;
}

.workspace-setup-form {
    gap: 15px;
    margin-bottom: 14px;
}

.workspace-setup-form .auth-actions-row {
    margin-top: 4px;
    padding-bottom: 18px;
}

.workspace-setup-submit-button.is-loading {
    cursor: wait;
    opacity: 0.92;
}

.workspace-setup-submit-button.is-loading::after {
    content: "";
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    margin-left: 0.6rem;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.72;
    vertical-align: middle;
}

.workspace-setup-submit-note {
    margin: -6px 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.workspace-setup-status-list {
    gap: 8px;
    margin-top: 12px;
}

.workspace-setup-status-list div {
    padding: 12px 14px;
    background: rgba(11, 16, 32, 0.34);
}

.workspace-setup-status-detail {
    margin: 6px 0 0;
}

.workspace-setup-status-card-error {
    border-color: rgba(178, 93, 107, 0.45);
    background: rgba(178, 93, 107, 0.1);
}

.workspace-setup-status-card-error dd {
    color: #ffd4dc;
}

.workspace-setup-status-card-limitations {
    border-color: rgba(190, 156, 92, 0.42);
    background: rgba(190, 156, 92, 0.08);
}

.workspace-setup-note {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.workspace-setup-note-list {
    margin: 6px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
    line-height: 1.55;
}

.workspace-setup-note-list li {
    margin: 0;
}

.workspace-setup-note-secondary {
    opacity: 0.84;
}

.workspace-setup-optional-note {
    margin-top: 4px;
    font-size: 0.84rem;
    opacity: 0.7;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(36, 50, 74, 0.72);
    text-align: left;
    vertical-align: top;
}

thead th {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

tbody tr:hover {
    background: rgba(143, 184, 255, 0.03);
}

.cell-stack {
    display: grid;
    gap: 5px;
}

.secondary-meta {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.notes-list,
.inline-list {
    margin: 0;
    padding-left: 18px;
}

.inline-list li + li,
.notes-list li + li {
    margin-top: 6px;
}

.compact-inline-list {
    padding-left: 16px;
}

.compact-inline-list li {
    color: var(--text-muted);
}

.finding-link {
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}

.finding-link:hover {
    color: var(--accent-strong);
}

.finding-posture {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(154, 167, 189, 0.2);
    background: rgba(154, 167, 189, 0.08);
    color: var(--text-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.finding-row-direct td {
    background: rgba(143, 184, 255, 0.02);
}

.finding-row-direct td:first-child {
    box-shadow: inset 3px 0 0 rgba(183, 145, 69, 0.48);
}

.finding-posture-direct {
    color: #e7d19b;
    border-color: rgba(183, 145, 69, 0.34);
    background: rgba(183, 145, 69, 0.12);
    font-weight: 700;
}

.priority-item-copy {
    display: grid;
    gap: 6px;
}

.priority-item-title {
    line-height: 1.3;
}

.filter-form .button,
.filter-form .button-secondary {
    margin-top: 0;
    flex: 0 0 auto;
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 0 12px;
    flex-wrap: wrap;
}

.filter-form-compact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    flex-wrap: nowrap;
}

.filter-form-compact select {
    width: auto;
    min-width: 320px;
}

.filter-inline-label {
    margin: 0;
    font-size: 0.82rem;
    white-space: nowrap;
}

.filter-form-compact .button,
.filter-form-compact .button-secondary {
    padding-top: 9px;
    padding-bottom: 9px;
}

.table-toolbar-note {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.4;
}

.findings-table td:nth-child(3) {
    min-width: 380px;
}

.findings-table td:nth-child(1) {
    min-width: 200px;
}

.findings-table td:nth-child(4) {
    min-width: 150px;
}

.findings-table td:nth-child(5) {
    min-width: 165px;
}

.findings-table td:nth-child(6) {
    min-width: 220px;
}

.finding-row td {
    padding-top: 16px;
    padding-bottom: 16px;
}

.finding-summary-text {
    line-height: 1.45;
}

.findings-table .finding-primary .cell-stack {
    gap: 8px;
}

.account-position {
    gap: 4px;
}

.review-timing {
    gap: 8px;
}

.review-timing strong {
    color: var(--text-muted);
    font-weight: 500;
}

.review-timing > span {
    line-height: 1.45;
}

.timing-time {
    display: block;
}

.runs-summary {
    gap: 4px;
}

.runs-reference {
    font-size: 0.84rem;
}

.runs-reference-id {
    font-size: 0.8rem;
    line-height: 1.35;
}

.runs-table td:nth-child(5),
.runs-table td:nth-child(6),
.runs-table td:nth-child(7) {
    min-width: 220px;
}

.detail-list.compact {
    margin-top: 18px;
}

.empty-state {
    text-align: center;
}

@media (max-width: 900px) {
    .hero-card,
    .panel-header {
        flex-direction: column;
        align-items: stretch;
    }

    /* App header: keep brand + account on one row; nav full-width below (avoids 3 tall stacked rows). */
    .site-header-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 10px;
        row-gap: 6px;
        padding: 4px 0 8px;
    }

    .site-header-bar .app-brand-slot {
        grid-column: 1;
        grid-row: 1;
        margin-right: 0;
    }

    .site-header-bar .header-context {
        grid-column: 2;
        grid-row: 1;
        margin-left: 0;
        justify-content: flex-end;
        justify-self: end;
        align-self: center;
    }

    .site-header-bar .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        flex: none;
        width: 100%;
    }

    .brand-logo-app {
        height: 40px;
        max-width: 120px;
    }

    .account-menu-trigger {
        min-width: 0;
        max-width: min(200px, 48vw);
        padding: 5px 8px 6px;
        gap: 8px;
    }

    .account-menu-email {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-meta-stack-right,
    .hero-metadata-line-right {
        justify-items: start;
        text-align: left;
    }

    .marketing-header-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "brand toggle";
        align-items: center;
        gap: 12px;
    }

    .marketing-brand {
        grid-area: brand;
    }

    .header-context {
        justify-content: flex-start;
    }

    .filter-form-compact {
        flex-wrap: wrap;
    }

    .marketing-menu {
        grid-area: toggle;
        position: relative;
        justify-self: end;
        align-self: center;
        margin-left: 0;
    }

    .marketing-menu-panel-desktop {
        display: none;
    }

    .marketing-menu-mobile {
        display: flex;
    }

    .marketing-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        list-style: none;
        appearance: none;
        -webkit-appearance: none;
        border: 1px solid rgba(36, 50, 74, 0.72);
        border-radius: 10px;
        background: rgba(18, 26, 44, 0.34);
        color: var(--text);
        cursor: pointer;
    }

    .marketing-menu-toggle-icon {
        width: 18px;
        height: 12px;
        display: grid;
        align-content: space-between;
        color: rgba(227, 234, 247, 0.92);
    }

    .marketing-menu-toggle-icon span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .marketing-menu:not([open]) .marketing-menu-panel {
        display: none;
    }

    .marketing-menu[open] .marketing-menu-panel {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        z-index: 25;
        display: grid;
        gap: 12px;
        width: min(320px, calc(100vw - 32px));
        padding: 14px;
        border: 1px solid rgba(36, 50, 74, 0.82);
        border-radius: 14px;
        background: rgba(10, 16, 30, 0.98);
        box-shadow: 0 20px 40px rgba(3, 8, 18, 0.36);
    }

    .marketing-nav,
    .marketing-actions {
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .marketing-nav a,
    .marketing-actions .button {
        justify-content: flex-start;
        width: 100%;
    }

    .page-footer-bar {
        justify-content: flex-start;
    }

    .cookie-banner {
        right: 16px;
        bottom: 16px;
        left: 16px;
        display: grid;
        gap: 14px;
        padding: 16px;
    }

    .cookie-banner-actions,
    .cookie-modal-actions {
        justify-content: flex-start;
    }

    .cookie-category {
        display: grid;
        justify-content: stretch;
    }

    .cookie-toggle-group {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .cookie-confirmation {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .public-hero-grid,
    .public-hero-grid--product,
    .public-proof-split,
    .hiw-proof-split,
    .hiw-steps-grid,
    .hiw-split,
    .hiw-output-grid,
    .hiw-trust-panel,
    .public-editorial-split,
    .public-editorial-layout,
    .public-why-layout,
    .public-catalog-row,
    .public-trust-assurance-body {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .hiw-hero-band .hiw-hero-grid {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .public-why-top {
        grid-column: 1;
        grid-row: auto;
        max-width: none;
    }

    .public-why-body,
    .public-why-layout .public-why-aside {
        grid-column: 1;
        grid-row: auto;
    }

    .public-hero-anchor,
    .hiw-hero-aside {
        justify-self: stretch;
        max-width: none;
    }

    .hiw-hero-aside {
        margin-top: 6px;
    }

    .public-hero-product-wrap {
        display: block;
        height: auto;
    }

    .public-product-shot--hero {
        display: block;
        flex: none;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        min-height: 0;
    }

    .public-product-shot--hero img {
        flex: none;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: initial;
        object-position: initial;
    }

    .public-proof-copy .public-h2 {
        max-width: none;
    }

    .public-proof-split--report .public-product-shot--document img {
        max-height: none;
        width: 100%;
        object-fit: initial;
        object-position: initial;
    }

    .public-product-shot--hiw-detail {
        max-width: none;
        margin-left: 0;
    }

    .hiw-h2 {
        max-width: none;
    }

    .hiw-steps-panel,
    .hiw-output-panel {
        padding: 22px 18px 24px;
    }

    .hiw-trust-panel {
        padding: 24px 20px 22px;
    }

    .public-h2,
    .public-h2-wide,
    .public-hero-primary h1 {
        max-width: none;
    }

    .public-section,
    .public-section-narrow {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .public-hero-band {
        padding-top: 28px;
        padding-bottom: 44px;
    }

    .public-hero-primary h1 {
        font-size: clamp(2.05rem, 7vw, 3.1rem);
    }

    .public-faq-panel {
        padding: 22px 18px 4px;
    }

    .ctc-form {
        grid-template-columns: 1fr;
    }

    .ctc-form-panel {
        padding: 24px 20px 22px;
    }

    .prc-range-band {
        padding: 20px 18px 18px;
    }

    .public-pricing-panel {
        padding: 24px 20px 22px;
    }

    .public-h2.public-h2-pricing {
        max-width: none;
    }

    .public-section.public-section-faq {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .public-process-panel {
        padding: 26px 20px 22px;
    }

    .public-process-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 24px;
    }

    .public-h2.public-h2-process {
        max-width: none;
    }

    .export-header,
    .export-two-column,
    .export-summary-grid,
    .export-movement-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .export-header-side {
        justify-items: stretch;
    }

    .export-actions {
        flex-wrap: wrap;
    }

    .metric-grid,
    .card-grid,
    .two-column-grid,
    .summary-card-grid,
    .hero-metadata,
    .inline-metadata {
        grid-template-columns: 1fr;
    }

    .workspace-chip {
        text-align: left;
    }
}

.admin-subnav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1.25rem 0 1.5rem;
}

.admin-subnav a {
    color: var(--text);
    text-decoration: none;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(24, 34, 55, 0.96);
    border: 1px solid rgba(143, 184, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(143, 184, 255, 0.04);
}

.admin-subnav a.is-active {
    background: rgba(143, 184, 255, 0.16);
    color: var(--accent-strong);
    border-color: rgba(143, 184, 255, 0.32);
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-kpi-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-kpi-label {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.admin-kpi-value {
    font-size: 2rem;
    color: var(--text);
}

.admin-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.admin-filter-form label,
.admin-filter-form select,
.admin-filter-form input[type="search"] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.admin-filter-search {
    grid-column: span 2;
    min-width: 0;
}

@media (max-width: 720px) {
    .admin-filter-search {
        grid-column: span 1;
    }
}

.admin-filter-form select,
.admin-filter-form input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(36, 50, 74, 0.6);
    border-radius: 8px;
    background: rgba(10, 16, 30, 0.4);
    color: var(--text);
    font: inherit;
}

.admin-filter-actions {
    display: flex;
    align-items: end;
    gap: 0.75rem;
}

.admin-workspace-health .admin-health-dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    column-gap: 1.5rem;
    row-gap: 0.9rem;
}

.admin-inline-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
}

.admin-inline-copy .mono,
.admin-inline-copy .button {
    flex: 0 0 auto;
}

.admin-table .cell-text-wrap {
    max-width: 16rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.admin-table-action {
    white-space: nowrap;
}

.admin-users-table {
    min-width: 0;
    table-layout: fixed;
}

.admin-users-table th,
.admin-users-table td {
    padding: 14px 10px;
}

.admin-users-table th:nth-child(1),
.admin-users-table td:nth-child(1) {
    width: 19%;
}

.admin-users-table th:nth-child(2),
.admin-users-table td:nth-child(2) {
    width: 13%;
}

.admin-users-table th:nth-child(3),
.admin-users-table td:nth-child(3),
.admin-users-table th:nth-child(4),
.admin-users-table td:nth-child(4) {
    width: 10%;
}

.admin-users-table th:nth-child(5),
.admin-users-table td:nth-child(5) {
    width: 10%;
}

.admin-users-table th:nth-child(6),
.admin-users-table td:nth-child(6) {
    width: 14%;
}

.admin-users-table th:nth-child(7),
.admin-users-table td:nth-child(7) {
    width: 11%;
}

.admin-users-table th:nth-child(8),
.admin-users-table td:nth-child(8) {
    width: 12%;
}

.admin-users-table td:nth-child(1),
.admin-users-table td:nth-child(2),
.admin-users-table td:nth-child(6) {
    overflow-wrap: anywhere;
}

.admin-users-table .admin-table-action {
    white-space: normal;
    text-align: center;
}

.admin-users-table .button {
    display: inline-flex;
    justify-content: center;
    min-width: 120px;
    white-space: nowrap;
}

.admin-detail-grid {
    align-items: start;
}

.admin-subtable-wrap {
    margin-top: 1rem;
}

.admin-subtable td,
.admin-subtable th {
    white-space: nowrap;
}

.admin-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.admin-timeline-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(168, 182, 208, 0.28);
}

.admin-timeline-item:first-child {
    border-top: none;
    padding-top: 0;
}

.admin-timeline-meta {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.admin-timeline-body p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
}

.admin-timeline-item-success strong {
    color: #8fd7b5;
}

.admin-timeline-item-error strong {
    color: #f0a5b2;
}

.admin-operator-section + .admin-operator-section {
    margin-top: 1.5rem;
}

.admin-operator-section h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
}

.admin-action-list,
.admin-reference-list {
    display: grid;
    gap: 0.75rem;
}

.admin-inline-form,
.admin-reference-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(168, 182, 208, 0.28);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(24, 34, 55, 0.98), rgba(15, 23, 41, 0.96));
    color: var(--text);
}

.admin-inline-form span {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-reference-row .mono {
    flex: 1;
    overflow-wrap: anywhere;
    color: var(--text);
}

.admin-copy-button {
    min-width: 84px;
}

.admin-inline-form .button-secondary,
.admin-reference-row .button-secondary,
.admin-table .button-secondary {
    background: rgba(143, 184, 255, 0.12);
    border-color: rgba(143, 184, 255, 0.22);
    color: var(--text);
}

.admin-inline-form .button-secondary:hover,
.admin-reference-row .button-secondary:hover,
.admin-table .button-secondary:hover {
    background: rgba(143, 184, 255, 0.2);
    border-color: rgba(143, 184, 255, 0.34);
    color: var(--accent-strong);
}

.admin-kpi-card .secondary-meta,
.admin-operator-section .muted,
.admin-reference-row span:first-child {
    color: var(--text-muted);
}

.admin-danger-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(240, 165, 178, 0.2);
    background: rgba(97, 26, 40, 0.18);
}

.admin-danger-form {
    display: grid;
    gap: 0.75rem;
}

.admin-danger-form input[type="text"] {
    width: 100%;
}

body.admin-user-modal-open {
    overflow: hidden;
}

.admin-user-modal-backdrop {
    z-index: 40;
}

.admin-user-modal {
    width: min(100%, 860px);
    max-height: min(90vh, 920px);
    overflow-y: auto;
}

.admin-user-modal-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.admin-user-detail-section {
    display: grid;
    gap: 0.85rem;
}

.admin-user-detail-section h3,
.admin-danger-panel h3 {
    margin: 0;
    font-size: 1rem;
}

.admin-user-workspace-list,
.admin-user-action-list {
    display: grid;
    gap: 0.75rem;
}

.admin-user-workspace-card {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(168, 182, 208, 0.24);
    border-radius: 16px;
    background: rgba(11, 16, 32, 0.58);
}

.admin-user-workspace-card p {
    margin: 0;
}

.admin-user-workspace-header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.admin-user-workspace-meta {
    color: var(--text);
}

.admin-template-list {
    display: grid;
    gap: 1rem;
}

.admin-template-card {
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(168, 182, 208, 0.24);
    background: linear-gradient(180deg, rgba(24, 34, 55, 0.98), rgba(15, 23, 41, 0.96));
}

.admin-template-card h3,
.admin-template-card p {
    margin: 0;
}

.admin-template-card > * + * {
    margin-top: 0.55rem;
}

.admin-template-card-wide {
    padding: 1.1rem;
}

.admin-template-preview {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(168, 182, 208, 0.24);
    background: rgba(11, 16, 32, 0.72);
    color: var(--text);
}

.admin-template-preview-grid {
    margin-top: 1rem;
    align-items: start;
}

.admin-template-pre,
.admin-template-html-preview {
    margin: 0;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(168, 182, 208, 0.24);
    background: rgba(11, 16, 32, 0.72);
    color: var(--text);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font: 0.92rem/1.55 Consolas, "SFMono-Regular", Menlo, monospace;
}

.admin-template-html-preview {
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.pill.archived,
.pill.suspended {
    background: rgba(183, 145, 69, 0.12);
    border-color: rgba(183, 145, 69, 0.34);
    color: #f0d39c;
}

.pill.active {
    background: rgba(58, 166, 118, 0.12);
    border-color: rgba(58, 166, 118, 0.32);
    color: #8fd7b5;
}

.admin-template-editor {
    display: grid;
    gap: 0.9rem;
}

.admin-template-editor label {
    display: grid;
    gap: 0.4rem;
}

.admin-template-editor textarea,
.admin-template-editor input[type="email"] {
    width: 100%;
}

.admin-checkline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
}

.admin-placeholder-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

@media (max-width: 780px) {
    .admin-subnav,
    .admin-filter-actions,
    .admin-inline-form,
    .admin-reference-row {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-timeline-item {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
}

@media print {
    body.export-body {
        background: #ffffff;
        color: #000000;
    }

    .export-page {
        width: auto;
        margin: 0;
    }

    .export-sheet {
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .export-actions {
        display: none;
    }

    .export-value-note,
    .export-metric-badge,
    .export-posture {
        border-color: #d6dbe5;
        background: #ffffff;
        color: #152033;
    }
}

/* Public SEO landing pages: cross-links, card grids, footer topics */
.public-seo-crosslinks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.public-seo-crosslinks a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.public-seo-crosslinks a:hover {
    color: var(--text);
}

.seo-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem 1.1rem;
    width: 100%;
}

a.seo-link-card {
    display: block;
    border: 1px solid rgba(36, 50, 74, 0.55);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: rgba(10, 16, 30, 0.35);
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.12s ease, background 0.12s ease;
}

a.seo-link-card:hover {
    border-color: rgba(143, 184, 255, 0.35);
    background: rgba(20, 30, 52, 0.45);
}

.seo-link-card-title {
    margin: 0;
    font: inherit;
    font-weight: 600;
    font-size: 0.95rem;
}

.public-seo-topics-band {
    background: linear-gradient(180deg, rgba(8, 13, 24, 0) 0%, rgba(8, 13, 24, 0.35) 100%);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.public-seo-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.9rem 1.1rem;
    margin-top: 0.5rem;
}

a.public-seo-topic-card {
    display: block;
    border: 1px solid rgba(36, 50, 74, 0.55);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: var(--text);
    background: rgba(10, 16, 30, 0.3);
    transition: border-color 0.12s ease, background 0.12s ease;
}

a.public-seo-topic-card:hover {
    border-color: rgba(143, 184, 255, 0.3);
    background: rgba(20, 30, 52, 0.4);
}

.public-seo-topic-title {
    margin: 0 0 0.45rem 0;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text);
}

.public-seo-topic-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Public marketing footer: brand, review topics, legal */
.public-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) minmax(0, 0.9fr);
    column-gap: clamp(1.5rem, 2.2vw, 2.5rem);
    row-gap: 1.75rem;
    align-items: start;
    padding: 1.65rem 0 1.9rem;
}

.public-footer-brand {
    min-width: 0;
    max-width: 32rem;
}

.public-footer-brand .public-footer-title {
    margin: 0 0 0.45rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
    text-transform: none;
    line-height: 1.25;
}

.public-footer-text {
    margin: 0;
    max-width: 32ch;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.public-footer-section {
    min-width: 0;
}

.public-footer-section .public-footer-title {
    margin: 0 0 0.65rem 0;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    line-height: 1.3;
}

.public-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    column-gap: 0.5rem;
    row-gap: 0.4rem;
}

.public-footer-links:not(.public-footer-links-legal) a {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: rgba(200, 213, 235, 0.2);
    text-underline-offset: 0.22em;
    font-size: 0.88rem;
    line-height: 1.4;
    max-width: 100%;
}

.public-footer-links:not(.public-footer-links-legal) a:hover {
    color: var(--text);
    text-decoration-color: rgba(200, 213, 235, 0.35);
}

.public-footer-links-legal {
    gap: 0.4rem;
}

.public-footer-links-legal .footer-link-button {
    display: inline;
    text-align: left;
    line-height: 1.4;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.public-footer-links-legal .footer-link-button:hover {
    color: var(--text);
}

@media (max-width: 900px) {
    .public-footer-grid {
        grid-template-columns: 1fr;
        row-gap: 1.5rem;
        padding: 1.3rem 0 1.65rem;
    }

    .public-footer-text {
        max-width: 44ch;
    }
}

/* Admin PostHog analytics (aggregate only) */
.analytics-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
}

.analytics-meta-row > span {
    flex: 1 1 12rem;
    min-width: 0;
}

.analytics-meta-row .button {
    flex-shrink: 0;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 1000px) {
    .analytics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

.analytics-card .analytics-delta {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.analytics-delta-positive {
    color: #6ab88a;
}

.analytics-delta-negative {
    color: #e0a080;
}

.analytics-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    table-layout: fixed;
}

.analytics-table-wide {
    table-layout: auto;
}

.analytics-table:not(.analytics-table-wide):not(.analytics-table-compact) th:first-child,
.analytics-table:not(.analytics-table-wide):not(.analytics-table-compact) td:first-child {
    width: 38%;
    overflow-wrap: anywhere;
}

.analytics-table:not(.analytics-table-wide):not(.analytics-table-compact) th:nth-child(2),
.analytics-table:not(.analytics-table-wide):not(.analytics-table-compact) td:nth-child(2),
.analytics-table:not(.analytics-table-wide):not(.analytics-table-compact) th:nth-child(3),
.analytics-table:not(.analytics-table-wide):not(.analytics-table-compact) td:nth-child(3) {
    width: 31%;
    white-space: nowrap;
}

.analytics-table th,
.analytics-table td {
    text-align: left;
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.analytics-table th {
    color: var(--text-muted);
    font-weight: 500;
}

.analytics-table:not(.analytics-table-wide) th:nth-child(2),
.analytics-table:not(.analytics-table-wide) th:nth-child(3),
.analytics-table:not(.analytics-table-wide) td:nth-child(2),
.analytics-table:not(.analytics-table-wide) td:nth-child(3) {
    text-align: right;
}

/* Compact KPI tables: full card width, fixed columns (used in stacked split layout). */
.analytics-table-compact {
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.analytics-table-compact th:first-child,
.analytics-table-compact td:first-child {
    width: 34%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.analytics-table-compact th:nth-child(2),
.analytics-table-compact td:nth-child(2),
.analytics-table-compact th:nth-child(3),
.analytics-table-compact td:nth-child(3) {
    width: 33%;
    white-space: nowrap;
}

.path-code {
    font-size: 0.88em;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.analytics-table code.path-code {
    white-space: normal;
}

.analytics-split .table-scroll {
    overflow-x: visible;
    max-width: 100%;
}

.analytics-bar-cell {
    min-width: 4rem;
    max-width: 8rem;
    vertical-align: middle;
}

.analytics-bar {
    height: 0.45rem;
    background: rgba(120, 160, 220, 0.45);
    border-radius: 2px;
    min-width: 2px;
    max-width: 100%;
}

.analytics-empty {
    padding: 1rem 0;
    color: var(--text-muted);
}

.analytics-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.4rem 0 0.8rem;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.analytics-kv p {
    margin: 0.25rem 0;
}

.analytics-funnel {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    min-width: 0;
}

.analytics-block {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.analytics-block-title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.analytics-block-lede {
    margin: 0 0 1rem;
    max-width: 70ch;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.analytics-kpi-caps {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.analytics-core-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 1100px) {
    .analytics-core-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .analytics-core-grid {
        grid-template-columns: 1fr;
    }
}

.analytics-core-card {
    border-top: 3px solid rgba(120, 160, 220, 0.35);
    min-width: 0;
}

.analytics-accent-blue {
    border-top-color: #5b9fd4;
}

.analytics-accent-green {
    border-top-color: #6ab88a;
}

.analytics-accent-amber {
    border-top-color: #d4b85b;
}

.analytics-accent-violet {
    border-top-color: #a78bfa;
}

.analytics-period-panel {
    margin-bottom: 2rem;
    max-width: 100%;
    min-width: 0;
}

.analytics-period-scroll {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding: 0 4px;
}

.analytics-period-chart {
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    gap: 0.4rem;
    min-height: 11rem;
    padding: 0.5rem 0 0.25rem;
    min-width: max(100%, 34rem);
}

.analytics-period-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.analytics-period-bar-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 9rem;
}

.analytics-period-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    text-align: center;
    word-break: break-word;
}

.analytics-period-bar {
    width: 100%;
    max-width: 2.5rem;
    margin: 0 auto;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, #5b9fd4, #3d7ab8);
    min-height: 3px;
}

.analytics-period-label {
    font-size: 0.68rem;
    margin-top: 0.35rem;
    text-align: center;
    word-break: break-word;
}

.analytics-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.analytics-split > .panel {
    min-width: 0;
    max-width: 100%;
}

.analytics-split-spaced {
    margin-top: 1rem;
}

@media (max-width: 720px) {
    .analytics-period-chart {
        min-width: max(100%, 28rem);
    }
}

.analytics-subhead {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    overflow-wrap: anywhere;
}
