/* StakeClaimer dark SaaS design system */

:root {
    --bg: #0b0f16;
    --bg-soft: #101722;
    --bg-elevated: #151d28;
    --bg-card: #18212d;
    --border: #2a3645;
    --border-strong: #3a4a5f;
    --text: #edf4fb;
    --text-muted: #94a3b8;
    --text-soft: #cbd5e1;
    --accent: #37d861;
    --accent-hover: #62e47e;
    --accent-dim: rgba(55, 216, 97, 0.14);
    --info: #50b4ff;
    --info-dim: rgba(80, 180, 255, 0.14);
    --danger: #ff5d5d;
    --warning: #f6b84b;
    --radius: 8px;
    --radius-sm: 6px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Sora", "IBM Plex Sans", system-ui, sans-serif;
    --max-width: 1160px;
    --nav-height: 72px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.58;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(80, 180, 255, 0.04), transparent 360px),
        var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
    max-width: 100vw;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--accent);
    color: #08100b;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    z-index: 1000;
    transition: top 0.15s var(--ease);
}

.skip-link:focus {
    top: 1rem;
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--info);
    outline-offset: 3px;
    border-radius: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 22, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
}

.btn-header-install {
    display: none;
    padding: 0.5rem 0.9rem;
    font-size: 0.88rem;
    white-space: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    color: var(--text);
    font-size: 1.24rem;
    font-weight: 800;
    text-decoration: none;
}

.logo:hover {
    color: var(--text);
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    background: #0b0f16;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.14),
        0 10px 28px rgba(80, 180, 255, 0.12);
}

.logo-word {
    letter-spacing: -0.02em;
    font-family: var(--font-display);
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.site-nav a {
    color: var(--text-muted);
    font-size: 0.96rem;
    text-decoration: none;
    position: relative;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
    text-decoration: none;
}

@media (min-width: 769px) {
    .site-nav a[aria-current="page"]::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -25px;
        height: 2px;
        background: var(--info);
    }
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    font-size: 0;
}

.nav-toggle::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 13px;
    height: 2px;
    background: var(--text);
    box-shadow: 0 7px 0 var(--text), 0 14px 0 var(--text);
}

.btn-nav {
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
    margin-left: 0.15rem;
    white-space: nowrap;
}

main {
    flex: 1;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.25rem 1.25rem 4rem;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding: 2rem 1.25rem;
    margin-top: auto;
    background: rgba(8, 12, 18, 0.42);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 2rem;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-disclaimer {
    width: 100%;
    margin: 0;
    max-width: 70rem;
    font-size: 0.82rem;
    color: #7f8da3;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 4.2vw, 3.55rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 1rem;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.page-title {
    margin-bottom: 0.55rem;
}

.lead {
    font-size: 1.12rem;
    line-height: 1.55;
    color: var(--text-soft);
    max-width: 40rem;
}

.muted {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--info);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.74rem 1.25rem;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 760;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--accent);
    color: #06110a;
    box-shadow: 0 10px 28px rgba(55, 216, 97, 0.24);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #06110a;
    box-shadow: 0 14px 34px rgba(55, 216, 97, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--border-strong);
    color: var(--text);
    background: var(--bg-elevated);
}

.btn-block {
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006)), var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    margin: 1rem 0;
}

.hero {
    padding: 2.4rem 0 1.6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
    gap: 2rem;
    align-items: center;
}

.hero-content {
    max-width: 640px;
}

.hero .lead {
    margin: 0 0 1.15rem;
}

.hero h1 {
    margin-bottom: 0.75rem;
}

.hero .btn-row {
    margin-top: 0.15rem;
}

.badge-up .dot,
.badge-unknown .dot {
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(55, 216, 97, 0.12);
}

.badge-down .dot {
    background: var(--danger);
}

.cta-note {
    margin: 0.75rem 0 0;
    max-width: 36rem;
}

.hero-content .proof-strip {
    margin-top: 1.1rem;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.trust-strip span {
    color: var(--text-soft);
    border: 1px solid var(--border);
    background: rgba(21, 29, 40, 0.62);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    font-size: 0.84rem;
}

.hero-install-cue {
    margin: 0.7rem 0 0;
}

.visual-icon {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.7rem;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.visual-icon-small {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.58rem;
    margin-bottom: 0.85rem;
}

.social-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 0.5rem 0 2rem;
}

.social-proof-hero {
    margin: 0.9rem 0 0;
    gap: 0.55rem;
}

.social-proof-hero .proof-stat {
    min-width: 0;
    flex: 1 1 140px;
    padding: 0.65rem 0.8rem;
}

.proof-stat {
    position: relative;
    min-width: 170px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    background: var(--bg-soft);
    text-decoration: none;
}

.proof-stat strong {
    display: block;
    color: var(--text);
    font-size: 1.1rem;
}

.proof-stat span {
    display: block;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.proof-stat:hover {
    text-decoration: none;
}

.proof-stat-uptime {
    padding-right: 2.15rem;
}

.proof-status-dot {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
}

.product-demo {
    display: grid;
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
    gap: 1.5rem;
    align-items: start;
    margin: 2.2rem 0 1.7rem;
    padding: 1.35rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.demo-copy h2 {
    margin-bottom: 0.55rem;
}

.demo-copy .muted {
    margin: 0;
}

.demo-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.demo-step {
    display: grid;
    grid-template-rows: 3.7rem 3.1rem 1fr;
    row-gap: 0.5rem;
    align-items: start;
    min-height: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.018);
}

.demo-step .visual-icon {
    margin: 0;
    align-self: start;
}

.demo-step > div {
    display: contents;
}

.demo-index,
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: var(--info-dim);
    color: var(--info);
    font-weight: 760;
    font-size: 0.82rem;
}

.demo-label {
    margin: 0;
    color: var(--text);
    font-weight: 760;
    line-height: 1.22;
    align-self: start;
}

.demo-detail {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.42;
}

.product-panel {
    border: 1px solid rgba(80, 180, 255, 0.18);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(80, 180, 255, 0.05), transparent 42%),
        #0d131d;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(55, 216, 97, 0.06),
        0 28px 70px rgba(0, 0, 0, 0.45);
    padding: 1.05rem 1.05rem 1rem;
}

.hero-product {
    display: grid;
    gap: 1rem;
    justify-items: end;
}

.hero-product .product-panel {
    transform: translateY(0);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
    .hero-product .product-panel:hover {
        transform: translateY(-4px);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.06),
            0 0 0 1px rgba(55, 216, 97, 0.1),
            0 34px 80px rgba(0, 0, 0, 0.5);
    }
}

.script-panel-preview {
    width: 100%;
    max-width: 440px;
    margin-left: auto;
}

.script-card-header,
.script-footer,
.script-log-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.script-card-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.9rem;
    margin-bottom: 1rem;
}

.claimer-brand-preview {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.brand-mark-preview {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 0.42rem;
    box-shadow: 0 0 0 4px rgba(55, 216, 97, 0.08);
    object-fit: cover;
    flex: 0 0 auto;
}

.claimer-brand-preview strong,
.claimer-brand-preview a,
.claimer-brand-preview .preview-site {
    display: block;
}

.claimer-brand-preview strong {
    color: var(--text);
}

.claimer-brand-preview small,
.claimer-brand-preview a,
.claimer-brand-preview .preview-site {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.codes-icon-preview {
    width: 1.45rem;
    height: 1.2rem;
    border: 2px solid var(--accent);
    border-radius: 0.28rem;
    position: relative;
    flex: 0 0 auto;
}

.codes-icon-preview::before,
.codes-icon-preview::after {
    content: "";
    position: absolute;
    top: 0.22rem;
    bottom: 0.22rem;
    width: 0.16rem;
    background: var(--accent);
    border-radius: 999px;
}

.codes-icon-preview::before {
    left: 0.32rem;
}

.codes-icon-preview::after {
    right: 0.32rem;
}

.script-status-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}

.script-chip {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.45rem;
    align-items: center;
}

.script-chip-wide {
    grid-column: 1 / -1;
}

.script-dot {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: var(--text-muted);
}

.script-chip[data-state="live"] .script-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(55, 216, 97, 0.1);
}

.script-chip span:not(.script-dot),
.checkout-summary span {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.script-chip strong,
.checkout-summary strong {
    display: block;
    margin-top: 0.1rem;
    grid-column: 2;
}

.script-log-toolbar {
    margin-top: 0.9rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 760;
}

.script-log-toolbar div,
.script-footer {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.script-log-toolbar button,
.script-footer button,
.script-action-chip {
    border: 1px solid var(--border);
    border-radius: 0.35rem;
    background: var(--bg-soft);
    color: var(--text-muted);
    padding: 0.25rem 0.45rem;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 760;
}

.script-action-chip {
    display: inline-flex;
    align-items: center;
    pointer-events: none;
    user-select: none;
}

.script-log {
    min-height: 6.5rem;
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    background: #080d14;
    padding: 0.75rem;
    display: grid;
    gap: 0.5rem;
}

.script-log p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.script-log .claim-step {
    display: none;
}

.script-log .claim-step.is-active {
    display: block;
}

.script-log span {
    display: inline-block;
    min-width: 3.2rem;
    color: var(--accent);
    font-weight: 760;
}

.script-footer {
    margin-top: 0.85rem;
    border-top: 1px solid var(--border);
    padding-top: 0.85rem;
    flex-wrap: wrap;
}

.script-username {
    margin-right: auto;
    color: var(--text);
    font-weight: 760;
}

.account-status-preview {
    color: var(--accent);
    background: var(--accent-dim);
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-size: 0.74rem;
    font-weight: 760;
}

.section {
    margin: 4rem 0;
}

.section-header {
    margin-bottom: 1.5rem;
    max-width: 46rem;
}

.section-header-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-trust .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-pricing {
    scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.section-link {
    text-align: center;
    margin-top: 1.2rem;
}

.section-cta-band {
    text-align: center;
    padding: 2.4rem 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
}

.section-cta-band .btn-row {
    justify-content: center;
}

.section-capabilities .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-capabilities .capability-footnote {
    text-align: center;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.capability-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
}

.capability-list li {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
    padding: 1rem 1.1rem;
}

.capability-list strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.capability-list .muted {
    margin: 0;
    display: block;
    font-size: 0.92rem;
    line-height: 1.45;
}

.capability-footnote {
    margin: 1.1rem 0 0;
}

.trust-grid,
.steps-grid,
.expectation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.steps-grid,
.expectation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-card,
.step-card,
.expectation-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.3rem;
}

.expectation-card .visual-icon {
    margin-bottom: 0.9rem;
}

.trust-card h3,
.step-card h3,
.expectation-card h3 {
    margin: 0 0 0.45rem;
}

.trust-card p,
.step-card p,
.expectation-card p {
    margin: 0;
}

.step-num {
    margin-bottom: 0.8rem;
    background: var(--accent-dim);
    color: var(--accent);
}

.included-list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.included-list li {
    margin: 0.35rem 0;
}

.card-included {
    max-width: 48rem;
}

.card-included h2 {
    font-size: 1.18rem;
}

.plan-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.45rem;
}

.plan-grid {
    display: grid;
    gap: 1rem;
}

.plan-grid-primary,
.plan-grid-checkout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 1.55rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.plan-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(55, 216, 97, 0.16);
}

.plan-card.popular {
    border-color: rgba(80, 180, 255, 0.72);
}

.plan-card.trial-card {
    border-color: rgba(55, 216, 97, 0.72);
}

.plan-card:not(.plan-card-select):hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.plan-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    color: #06110a;
    background: var(--accent);
    border-radius: 999px;
    padding: 0.18rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.plan-cue {
    position: absolute;
    top: -1.45rem;
    left: 0;
    margin: 0;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 760;
    white-space: nowrap;
}

.plan-cue a {
    color: inherit;
}

.popular .plan-badge {
    background: var(--info);
    color: #071019;
}

.plan-name {
    margin: 0 0 0.45rem;
    padding-right: 5.25rem;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 760;
}

.plan-price {
    margin: 0.45rem 0;
    font-size: 2.15rem;
    line-height: 1;
    font-weight: 820;
}

.plan-price small {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.plan-meta {
    flex: 1;
    margin: 0.3rem 0 1.15rem;
    color: var(--text-muted);
}

.short-pass-note {
    text-align: center;
    margin: 0.2rem 0 0;
}

.plan-card-select {
    min-height: 170px;
    cursor: pointer;
}

.plan-card-select.is-selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-dim);
}

.plan-card-select.is-selected::before {
    content: "";
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-dim);
}

label {
    display: block;
    margin: 1rem 0 0.4rem;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 760;
}

input:not([type]),
input[type="text"],
input[type="email"],
select {
    width: 100%;
    max-width: 32rem;
    padding: 0.72rem 0.8rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--info);
    box-shadow: 0 0 0 3px var(--info-dim);
}

.field-help {
    margin: 0.4rem 0 0;
}

.form-actions {
    margin-top: 1.3rem;
}

.form-note {
    margin: 0.8rem 0 0;
    text-align: center;
}

.checkout-form {
    max-width: 980px;
}

.checkout-summary {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}

.lookup-form {
    max-width: 36rem;
}

.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 2.4rem;
    margin-bottom: 1rem;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 760;
}

.faq-list {
    margin: 1rem 0;
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 1rem 2rem 1rem 0;
    color: var(--text);
    background: none;
    border: none;
    font: inherit;
    font-weight: 760;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.faq-item.is-open .faq-question::after {
    content: "-";
}

.faq-answer {
    display: none;
    padding: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 760;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}

.status-badge.active {
    border-color: var(--accent);
    color: var(--accent);
}

.status-badge.expired {
    color: var(--warning);
}

.success-hero {
    text-align: center;
    padding: 1.5rem 0;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    margin-bottom: 0.8rem;
    color: var(--accent);
    background: var(--accent-dim);
    font-weight: 820;
}

.prose {
    max-width: 44rem;
}

.prose h2 {
    margin-top: 2rem;
}

.prose ul {
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.prose li {
    margin: 0.35rem 0;
}

code {
    background: var(--bg-soft);
    padding: 0.16rem 0.4rem;
    border-radius: 4px;
    font-size: 0.88em;
    word-break: break-all;
}

.copy-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.url-wrap,
.url-wrap a,
.url-wrap code,
.copy-row code {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.start-here {
    border-color: rgba(80, 180, 255, 0.35);
    background:
        linear-gradient(180deg, rgba(80, 180, 255, 0.08), transparent 70%),
        var(--bg-card);
}

.start-here-steps {
    margin: 0.75rem 0 0.5rem;
}

.region-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin: 1rem 0;
}

.region-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    background: var(--bg-elevated);
    min-width: 0;
}

.region-panel-ok {
    border-color: rgba(55, 216, 97, 0.35);
}

.region-label {
    margin: 0 0 0.35rem;
    font-weight: 760;
    color: var(--text);
}

.region-tab {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    color: var(--info);
}

.region-fail-callout {
    margin: 0.85rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(246, 184, 75, 0.4);
    background: rgba(246, 184, 75, 0.1);
}

.plan-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin: 1rem 0 0.75rem;
}

.plan-boundary {
    margin: 0 0 1.35rem;
}

.plan-boundary-compact {
    width: 100%;
    max-width: none;
    margin: 0 0 1.5rem;
}

.plan-boundary-lead {
    margin: 0 0 0.85rem;
    text-align: center;
}

.plan-boundary-matrix {
    display: grid;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-elevated);
}

.plan-boundary-row {
    display: grid;
    grid-template-columns: minmax(8rem, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.1rem;
    border-top: 1px solid var(--border);
}

.plan-boundary-row:first-child {
    border-top: 0;
}

.plan-boundary-row > :not(.plan-boundary-feature) {
    text-align: center;
    justify-self: center;
}

.plan-boundary-head {
    background: rgba(148, 163, 184, 0.08);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.plan-boundary-feature {
    color: var(--text-soft);
    font-size: 0.95rem;
    text-align: left;
    justify-self: start;
}

.plan-boundary-yes {
    color: var(--accent);
    font-weight: 700;
}

.plan-boundary-no {
    color: var(--text-muted);
    font-weight: 600;
}

.plan-boundary .plan-compare-note {
    margin-top: 0.95rem;
}

.plan-trial-link {
    margin-top: 1.1rem;
    text-align: center;
}

.plan-compare-col {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    background: var(--bg-elevated);
    min-width: 0;
}

.plan-compare-col-paid {
    border-color: rgba(55, 216, 97, 0.4);
    background:
        linear-gradient(180deg, rgba(55, 216, 97, 0.08), transparent 65%),
        var(--bg-elevated);
}

.plan-compare-label {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 760;
    color: var(--text);
}

.plan-compare-tagline {
    margin: 0.2rem 0 0.85rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.plan-compare-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.plan-compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    line-height: 1.35;
    color: var(--text-soft);
}

.plan-mark {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.12rem;
    border-radius: 999px;
    border: 2px solid currentColor;
    position: relative;
}

.plan-compare-list .is-included {
    color: var(--text);
}

.plan-compare-list .is-included .plan-mark {
    color: var(--accent);
    background: rgba(55, 216, 97, 0.14);
}

.plan-compare-list .is-included .plan-mark::after {
    content: "";
    position: absolute;
    left: 0.22rem;
    top: 0.08rem;
    width: 0.28rem;
    height: 0.5rem;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.plan-compare-list .is-missing {
    color: var(--text-muted);
}

.plan-compare-list .is-missing .plan-mark {
    color: #7b8798;
    background: rgba(148, 163, 184, 0.08);
}

.plan-compare-list .is-missing .plan-mark::before,
.plan-compare-list .is-missing .plan-mark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.55rem;
    height: 2px;
    background: currentColor;
}

.plan-compare-list .is-missing .plan-mark::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.plan-compare-list .is-missing .plan-mark::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.plan-compare-note {
    margin: 0.85rem 0 0;
    font-size: 0.9rem;
}

.compare-footnote {
    margin: 0.75rem 0 0;
}

.compare-cta {
    margin-top: 1rem;
}

.free-vs-paid-compact .plan-compare-col {
    padding: 0.9rem 1rem;
}

.free-vs-paid-compact .plan-compare-list {
    gap: 0.45rem;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0.85rem 0;
}

.compare-table {
    width: 100%;
    min-width: 32rem;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
    border: 1px solid var(--border);
    padding: 0.7rem 0.85rem;
    text-align: left;
    vertical-align: top;
}

.compare-table thead th {
    background: var(--bg-elevated);
    color: var(--text-soft);
    font-weight: 700;
}

.compare-table tbody th {
    font-weight: 600;
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.flow-steps {
    list-style: none;
    margin: 1rem 0 0.5rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.flow-steps li {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated);
    position: relative;
}

.flow-steps li strong {
    color: var(--accent);
}

.flow-steps li span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.flow-fail {
    margin-top: 0.85rem;
}

.checklist-boxes {
    list-style: none;
    padding-left: 0;
}

.checklist-boxes li {
    position: relative;
    padding-left: 1.7rem;
    margin: 0.55rem 0;
}

.checklist-boxes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--accent);
    border-radius: 3px;
    background: rgba(55, 216, 97, 0.08);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.guide-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: inherit;
    text-decoration: none;
    min-width: 0;
    transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}

.guide-card:hover {
    border-color: var(--border-strong);
    color: inherit;
    text-decoration: none;
    transform: translateY(-1px);
}

.guide-card strong {
    color: var(--text);
}

.related-link-list {
    margin: 0.5rem 0 0;
    padding-left: 1.15rem;
}

.related-link-list li {
    margin: 0.35rem 0;
}

@media (max-width: 1000px) {
    h1 {
        font-size: 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-product .script-panel-preview {
        margin-left: auto;
        margin-right: auto;
    }

    .product-demo {
        grid-template-columns: 1fr;
    }

    .demo-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .plan-grid-primary,
    .plan-grid-checkout,
    .steps-grid,
    .expectation-grid {
        grid-template-columns: 1fr;
    }

    .plan-card,
    .plan-card-select {
        min-height: 0;
    }
}

.sticky-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    gap: 0.55rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 15, 22, 0.94);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.sticky-cta .btn {
    flex: 1;
    min-height: 48px;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.55rem;
    }

    main {
        padding-top: 1.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .header-actions {
        display: flex;
    }

    .btn-header-install {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: var(--nav-height);
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.25rem;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 0.55rem 0;
    }

    .site-nav a[aria-current="page"] {
        color: var(--info);
        font-weight: 760;
    }

    .btn-nav {
        margin: 0.35rem 0 0;
        text-align: center;
    }

    .hero {
        padding: 1.2rem 0 1.5rem;
    }

    .btn-row {
        flex-direction: column;
    }

    .btn-row .btn {
        width: 100%;
    }

    .trust-strip {
        gap: 0.5rem;
    }

    .trust-strip span {
        width: 100%;
        text-align: center;
    }

    .region-visual,
    .guides-grid,
    .plan-compare {
        grid-template-columns: 1fr;
    }

    .compare-table {
        min-width: 28rem;
    }

    .product-demo {
        padding: 1.25rem;
    }

    .demo-flow {
        grid-template-columns: 1fr;
    }

    .script-panel-preview {
        margin-left: auto;
        margin-right: auto;
    }

    .script-status-strip {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .section {
        margin: 3rem 0;
    }

    .section-cta-band {
        padding: 1.6rem 1rem;
    }

    .social-proof {
        display: grid;
        grid-template-columns: 1fr;
    }

    .social-proof-hero {
        display: flex;
        flex-wrap: wrap;
    }

    .social-proof-hero .proof-stat {
        flex: 1 1 calc(50% - 0.55rem);
    }

    .capability-list {
        grid-template-columns: 1fr;
    }

    .sticky-cta {
        display: flex;
    }

    main {
        padding-bottom: 5.5rem;
    }
}

.footer-guides {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    width: 100%;
}

.footer-guides a {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.script-panel-preview-compact {
    max-width: 360px;
    margin: 1rem 0 0;
}

.install-browser-hint {
    margin: 0.35rem 0 0.15rem;
}

.install-browser-hint:not([hidden]) {
    display: block;
}

.trial-panel-cta {
    padding: 1rem 0 0.25rem;
    text-align: center;
}

.trial-panel-cta .btn {
    pointer-events: none;
}

.trial-panel-cta .muted {
    margin: 0.65rem 0 0;
}

.install-steps li,
.trial-steps li {
    margin-bottom: 1.25rem;
}

.install-steps strong,
.trial-steps strong {
    display: block;
    margin-bottom: 0.25rem;
}

.install-steps .muted,
.trial-steps .muted {
    display: block;
}

.install-steps .btn-row,
.trial-steps .btn-row {
    margin-top: 0.75rem;
}

/* Campaign landing (/install) — thinner chrome, install-first */
.layout-campaign .campaign-header .header-inner {
    gap: 1rem;
}

.campaign-nav {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: auto;
}

.campaign-nav a {
    color: var(--text-muted);
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
}

.campaign-nav a:hover {
    color: var(--text);
    text-decoration: none;
}

.campaign-nav .btn {
    margin-left: 0.15rem;
}

.campaign-hero {
    max-width: 46rem;
}

.campaign-hero .btn-row {
    margin: 1.1rem 0 0;
}

.campaign-hero .trust-strip {
    margin-top: 1rem;
}

.campaign-next {
    margin-top: 2rem;
}

.campaign-help {
    margin-top: 1.25rem;
}

@media (max-width: 768px) {
    .campaign-nav a:not(.btn) {
        display: none;
    }

    .campaign-nav .btn {
        padding: 0.45rem 0.8rem;
        font-size: 0.86rem;
        min-height: 40px;
    }

    .layout-campaign .sticky-cta {
        display: flex;
    }

    .layout-campaign main {
        padding-bottom: 5.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .script-log .claim-step {
        display: block;
    }

    .script-log .claim-step.is-active {
        font-weight: 700;
    }
}
