:root {
    --landing-bg: #f7f5ef;
    --landing-panel: #fbfaf6;
    --landing-text: #171713;
    --landing-muted: #6f6b63;
    --landing-line: #d9d3ca;
    --landing-soft-line: #e7e1d8;
    --landing-accent: #d66b42;
    --landing-black: #11110f;
    --landing-card: rgba(251, 250, 246, 0.92);
    --landing-shadow: 0 24px 60px rgba(30, 25, 18, 0.10);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    margin: 0;
    background: var(--landing-bg);
    color: var(--landing-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

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

.landing-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background:
        radial-gradient(circle at 22% 34%, rgba(214, 107, 66, 0.10), transparent 22rem),
        linear-gradient(180deg, #fbfaf6 0%, var(--landing-bg) 100%);
}

.landing-nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: min(1410px, calc(100% - 44px));
    margin: 0 auto;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: max-content;
}

.landing-brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-block;
    background: #62b754;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 0 0 8px rgba(98, 183, 84, 0.08),
        0 8px 18px rgba(0, 0, 0, 0.10);
    animation: onquedTalk 3.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes onquedTalk {
    0% {
        background: #62b754;
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.04),
            0 0 0 8px rgba(98, 183, 84, 0.08),
            0 8px 18px rgba(0, 0, 0, 0.10);
        transform: scale(1);
    }
    20% {
        background: #3ca3d9;
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.04),
            0 0 0 8px rgba(60, 163, 217, 0.12),
            0 8px 18px rgba(0, 0, 0, 0.10);
        transform: scale(1.14);
    }
    40% {
        background: #e0bc4d;
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.04),
            0 0 0 8px rgba(224, 188, 77, 0.12),
            0 8px 18px rgba(0, 0, 0, 0.10);
        transform: scale(0.96);
    }
    60% {
        background: #dc6b5d;
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.04),
            0 0 0 8px rgba(220, 107, 93, 0.12),
            0 8px 18px rgba(0, 0, 0, 0.10);
        transform: scale(1.18);
    }
    80% {
        background: #3ca3d9;
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.04),
            0 0 0 8px rgba(60, 163, 217, 0.10),
            0 8px 18px rgba(0, 0, 0, 0.10);
        transform: scale(1.02);
    }
    100% {
        background: #62b754;
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.04),
            0 0 0 8px rgba(98, 183, 84, 0.08),
            0 8px 18px rgba(0, 0, 0, 0.10);
        transform: scale(1);
    }
}

.landing-brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    font-size: 15px;
    flex: 1;
}

.landing-nav-links a {
    text-decoration: none;
    color: #222019;
    white-space: nowrap;
}

.landing-nav-links a span {
    color: var(--landing-muted);
    margin-left: 4px;
    font-size: 13px;
}

.landing-console-btn,
.landing-secondary-btn {
    border: 1px solid #bfb8ad;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--landing-text);
    padding: 11px 18px;
    font-weight: 760;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    transition: background .16s ease, transform .16s ease, border-color .16s ease;
}

.landing-console-btn:hover,
.landing-secondary-btn:hover {
    background: #fff;
    border-color: #9d9589;
    transform: translateY(-1px);
}

.landing-main {
    width: min(1210px, calc(100% - 44px));
    margin: 0 auto;
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: minmax(380px, 0.92fr) minmax(480px, 1.08fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    padding: 42px 0 64px;
}

.landing-copy {
    justify-self: center;
    width: min(560px, 100%);
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--landing-soft-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    color: #5f574c;
    font-size: 13px;
    font-weight: 780;
    margin-bottom: 24px;
}

.landing-copy h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 5.6vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.07em;
    font-weight: 500;
}

.landing-copy .landing-subhead {
    margin: 22px 0 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 2.2vw, 27px);
    line-height: 1.3;
    color: #252019;
}

.landing-login-card,
.console-login-card {
    border: 1px solid var(--landing-line);
    border-radius: 28px;
    background: var(--landing-card);
    box-shadow: var(--landing-shadow);
    padding: 28px;
    backdrop-filter: blur(12px);
}

.landing-login-card {
    width: min(440px, 100%);
}

.oauth-btn,
.email-submit,
.console-submit {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    font: inherit;
    font-weight: 780;
    cursor: pointer;
}

.oauth-btn {
    border: 1px solid #bfb8ad;
    background: #fffdf9;
    color: #171713;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.oauth-btn[disabled] {
    cursor: not-allowed;
    opacity: .82;
}

.google-g {
    font-weight: 900;
    color: #4285f4;
    letter-spacing: -0.08em;
}

.landing-or {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    color: #5d574f;
    font-size: 12px;
    text-transform: uppercase;
}

.landing-or::before,
.landing-or::after {
    content: "";
    height: 1px;
    background: var(--landing-soft-line);
}

.email-line,
.console-field {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
}

.email-line input,
.console-field input {
    width: 100%;
    height: 48px;
    border: 1px solid #cbc3b7;
    border-radius: 10px;
    background: #fffdf9;
    padding: 0 14px;
    font: inherit;
    outline: none;
}

.email-line input:focus,
.console-field input:focus {
    border-color: var(--landing-black);
    box-shadow: 0 0 0 3px rgba(17, 17, 15, .06);
}

.console-field span {
    font-size: 13px;
    color: #403b34;
    font-weight: 740;
}

.email-submit,
.console-submit {
    border: 0;
    background: var(--landing-black);
    color: #fff;
}

.email-submit:hover,
.console-submit:hover {
    opacity: .92;
}

.landing-disclaimer {
    margin: 15px 0 0;
    color: var(--landing-muted);
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.landing-quick-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.landing-mini-note {
    color: var(--landing-muted);
    font-size: 13px;
}

.landing-demo-panel {
    min-height: min(78vh, 780px);
    border: 1px solid var(--landing-line);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.08)),
        #faf8f2;
    display: grid;
    place-items: center;
    padding: clamp(32px, 5vw, 68px);
    overflow: hidden;
    position: relative;
}

.landing-demo-panel::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(217, 211, 202, .55);
    border-radius: 18px;
    opacity: .55;
}

.landing-demo-copy {
    position: relative;
    text-align: center;
    max-width: 690px;
    z-index: 1;
}

.landing-demo-kicker {
    color: var(--landing-accent);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 20px;
}

.landing-demo-copy h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(46px, 6vw, 86px);
    line-height: 1.06;
    letter-spacing: -0.075em;
}

.rotating-line {
    display: inline-block;
    min-height: 1.1em;
}

.landing-demo-caption {
    margin: 28px auto 0;
    color: var(--landing-muted);
    font-size: 16px;
    line-height: 1.55;
    max-width: 560px;
}

.console-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(430px, 0.78fr) minmax(460px, 1.22fr);
    background: var(--landing-bg);
}

.console-left {
    display: grid;
    place-items: center;
    padding: 34px;
}

.console-login-card {
    width: min(470px, 100%);
}

.console-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 42px;
}

.console-login-card h1 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -0.07em;
    font-weight: 500;
}

.console-login-card p {
    color: var(--landing-muted);
    line-height: 1.55;
    margin: 0 0 24px;
}

.console-error,
.console-note {
    border-radius: 14px;
    padding: 12px 14px;
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.45;
}

.console-error {
    background: #fff0ed;
    border: 1px solid #ffd2ca;
    color: #9f281d;
}

.console-note {
    background: #fff8e8;
    border: 1px solid #efdfb9;
    color: #5b4421;
}

.console-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: var(--landing-muted);
    font-size: 14px;
}

.console-links a {
    text-decoration: none;
    font-weight: 750;
    color: var(--landing-text);
}

.console-links a:hover { text-decoration: underline; }

.console-right {
    margin: 72px 72px 72px 0;
    border: 1px solid var(--landing-line);
    border-radius: 18px;
    background: #faf8f2;
    display: grid;
    place-items: center;
    padding: clamp(32px, 6vw, 80px);
    position: relative;
    overflow: hidden;
}

.console-right::after {
    content: "";
    position: absolute;
    width: 54vw;
    height: 54vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,107,66,.14), transparent 65%);
    right: -24vw;
    bottom: -28vw;
}

.console-right-copy {
    position: relative;
    z-index: 1;
    max-width: 650px;
    text-align: center;
}

.console-right-copy h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 90px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.075em;
}

.console-right-copy p {
    color: var(--landing-muted);
    font-size: 17px;
    line-height: 1.55;
    margin: 26px auto 0;
    max-width: 540px;
}

@media (prefers-reduced-motion: no-preference) {
    .landing-demo-panel,
    .landing-login-card,
    .console-login-card,
    .console-right {
        animation: pageRise .55s ease both;
    }

    .landing-login-card { animation-delay: .06s; }
    .landing-demo-panel, .console-right { animation-delay: .10s; }

    @keyframes pageRise {
        from { opacity: 0; transform: translateY(16px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (max-width: 1060px) {
    .landing-nav-links { display: none; }
    .landing-main,
    .console-shell {
        grid-template-columns: 1fr;
    }
    .landing-main {
        align-items: start;
        padding-top: 38px;
    }
    .landing-copy {
        justify-self: start;
    }
    .landing-demo-panel {
        min-height: 480px;
    }
    .console-right {
        margin: 0 24px 34px;
        min-height: 420px;
    }
    .console-left {
        padding: 28px 24px;
    }
}

@media (max-width: 640px) {
    .landing-nav {
        width: calc(100% - 28px);
        height: 64px;
    }
    .landing-brand-name { font-size: 23px; }
    .landing-console-btn { padding: 9px 12px; font-size: 14px; }
    .landing-main {
        width: calc(100% - 28px);
        min-height: auto;
        padding: 24px 0 34px;
    }
    .landing-copy h1,
    .console-login-card h1 { font-size: 48px; }
    .landing-copy .landing-subhead { font-size: 20px; }
    .landing-login-card,
    .console-login-card { padding: 20px; border-radius: 22px; }
    .landing-demo-panel { min-height: 390px; padding: 24px; }
    .landing-demo-panel::before { inset: 14px; }
    .landing-demo-copy h2,
    .console-right-copy h2 { font-size: 46px; }
    .console-right { margin: 0 14px 20px; padding: 24px; }
    .console-links { flex-direction: column; }
}

/* v26.2 public information pages */
.info-shell {
    grid-template-rows: auto minmax(0, 1fr);
}

.landing-nav-links a.active {
    font-weight: 800;
    color: var(--landing-black);
}

.info-main {
    width: min(1210px, calc(100% - 44px));
    margin: 0 auto;
    padding: 42px 0 72px;
}

.info-hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.98fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    min-height: 420px;
    margin-bottom: 34px;
}

.info-hero h1,
.section-title-row h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.07em;
    color: var(--landing-text);
}

.info-hero h1 {
    font-size: clamp(48px, 6vw, 84px);
    line-height: 0.98;
    max-width: 780px;
}

.info-hero p {
    color: var(--landing-muted);
    font-size: 18px;
    line-height: 1.58;
    max-width: 680px;
    margin: 22px 0 0;
}

.info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.info-callout-card,
.info-card,
.timeline-card,
.code-card,
.check-panel,
.resource-card,
.faq-list details,
.scope-grid article,
.mirror-node {
    border: 1px solid var(--landing-line);
    border-radius: 22px;
    background: var(--landing-card);
    box-shadow: var(--landing-shadow);
    backdrop-filter: blur(12px);
}

.info-callout-card {
    padding: 30px;
}

.info-callout-card h2,
.info-card h3,
.resource-card h3,
.scope-grid strong,
.mirror-node strong {
    margin: 0 0 10px;
    color: var(--landing-text);
}

.info-callout-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 500;
}

.info-callout-card p,
.info-card p,
.resource-card p,
.scope-grid p,
.mirror-node p {
    color: var(--landing-muted);
    line-height: 1.55;
    margin: 0;
}

.info-section-block {
    margin-top: 42px;
}

.section-title-row {
    margin-bottom: 18px;
}

.section-title-row span {
    display: inline-flex;
    border: 1px solid var(--landing-soft-line);
    border-radius: 999px;
    background: rgba(255,255,255,.50);
    color: var(--landing-accent);
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

.section-title-row h2 {
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.02;
}

.info-grid,
.resource-grid,
.scope-grid {
    display: grid;
    gap: 18px;
}

.info-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scope-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.info-card,
.resource-card,
.scope-grid article {
    padding: 22px;
}

.resource-card {
    text-decoration: none;
    display: block;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.resource-card:hover,
.info-card:hover,
.scope-grid article:hover {
    transform: translateY(-2px);
    border-color: #bfb8ad;
    background: rgba(255,255,255,.72);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 11px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--landing-muted);
    line-height: 1.45;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #62b754;
    box-shadow: 0 0 0 5px rgba(98,183,84,.10);
}

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

.faq-list details {
    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 820;
    color: var(--landing-text);
}

.faq-list p {
    color: var(--landing-muted);
    line-height: 1.55;
    margin: 12px 0 0;
}

.timeline-card,
.code-card,
.check-panel {
    padding: 26px;
}

.timeline-card ol {
    margin: 0;
    padding-left: 22px;
    color: var(--landing-muted);
    line-height: 1.75;
}

.timeline-card li + li { margin-top: 10px; }
.timeline-card strong { color: var(--landing-text); }

.code-card pre {
    margin: 0;
    overflow: auto;
    white-space: pre-wrap;
    color: var(--landing-text);
    line-height: 1.6;
}

.code-card code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
}

.status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 850;
    border: 1px solid var(--landing-soft-line);
    background: #fff;
}
.status::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-right: 7px;
}
.status.green::before { background: #62b754; }
.status.blue::before { background: #3ca3d9; }
.status.yellow::before { background: #e0bc4d; }
.status.red::before { background: #dc6b5d; }

.mirror-diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 18px;
}

.mirror-node {
    padding: 22px;
}

.mirror-arrow {
    display: grid;
    place-items: center;
    color: var(--landing-accent);
    font-size: 28px;
    font-weight: 900;
}

@media (prefers-reduced-motion: no-preference) {
    .info-hero,
    .info-section-block {
        animation: pageRise .55s ease both;
    }
    .info-section-block:nth-of-type(2) { animation-delay: .04s; }
    .info-section-block:nth-of-type(3) { animation-delay: .08s; }
}

@media (max-width: 1060px) {
    .info-hero,
    .info-grid.two,
    .info-grid.three,
    .info-grid.four,
    .resource-grid,
    .scope-grid,
    .mirror-diagram {
        grid-template-columns: 1fr;
    }
    .mirror-arrow { transform: rotate(90deg); }
    .info-hero { min-height: auto; }
}

@media (max-width: 640px) {
    .info-main {
        width: calc(100% - 28px);
        padding: 26px 0 44px;
    }
    .info-hero h1 { font-size: 48px; }
    .info-hero p { font-size: 16px; }
    .info-callout-card,
    .info-card,
    .timeline-card,
    .code-card,
    .check-panel,
    .resource-card,
    .scope-grid article,
    .mirror-node {
        padding: 20px;
        border-radius: 18px;
    }
}
