:root {
    color-scheme: dark;
    --bg: #111111;
    --surface: #19191c;
    --raised: #222226;
    --border: #333338;
    --text: #f5f5f7;
    --muted: #aaaab5;
    --accent: #b498ff;
    --action: #7950df;
    --sans: 'Satoshi', system-ui, sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --mono: 'IBM Plex Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #7950df; color: white; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px; background: var(--surface); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid #ffffff0b; }
.nav { min-height: 88px; display: flex; align-items: center; gap: 36px; }
.brand { font-size: 20px; font-weight: 700; letter-spacing: -.6px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { background: var(--accent); color: #111; border-radius: 8px; width: 29px; height: 29px; display: inline-grid; place-items: center; font-size: 25px; line-height: 1; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--muted); }
.nav-links a:hover, .hero-secondary:hover { color: var(--text); }
.nav-links a:has(svg) { display: inline-flex; align-items: center; padding: 4px 0; }
.nav-links a:hover svg { color: var(--text); }
.button { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 11px 20px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.4; transition: background .15s, border-color .15s; }
.button-primary { background: var(--action); color: white; }
.button-primary:hover { background: #6940ca; }
@property --hero-cta-border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}
@keyframes hero-cta-border-travel {
    to { --hero-cta-border-angle: 360deg; }
}
.landing-page .hero #analyze .analysis-controls {
    border-color: #ad96ef;
    box-shadow: 0 0 14px #a783f044;
    transition: box-shadow .2s ease;
}
@supports (background: conic-gradient(from 0deg, #a98cff, #c9baff)) {
    .landing-page .hero #analyze .analysis-controls {
        border-color: transparent;
        background:
            linear-gradient(var(--landing-panel, var(--surface)), var(--landing-panel, var(--surface))) padding-box,
            conic-gradient(from var(--hero-cta-border-angle), #a58aff, #d5bdff 18%, #e8afd9 34%, #a9bdf1 51%, #cbbaff 68%, #efbf9b 82%, #a58aff) border-box;
        animation: hero-cta-border-travel 5.5s linear infinite;
    }
    .landing-page .hero #analyze .analysis-controls:hover,
    .landing-page .hero #analyze .analysis-controls:focus-within {
        box-shadow: 0 0 17px #b298ff66;
    }
    .landing-page .hero #analyze .analysis-controls:has(button:disabled) {
        animation: none;
        background:
            linear-gradient(var(--landing-panel, var(--surface)), var(--landing-panel, var(--surface))) padding-box,
            linear-gradient(135deg, #b09af0, #d0c2ff) border-box;
        box-shadow: 0 0 5px #a783f01f;
    }
}
@media (prefers-reduced-motion: reduce) {
    .landing-page .hero #analyze .analysis-controls {
        animation: none;
        border-color: #b09af0;
        background: var(--landing-panel, var(--surface));
        box-shadow: 0 0 5px #a783f01f;
    }
    .landing-page .hero #analyze .analysis-controls:hover,
    .landing-page .hero #analyze .analysis-controls:focus-within {
        box-shadow: 0 0 13px #b298ff55;
    }
}
.button-quiet { background: var(--surface); border-color: var(--border); color: var(--text); }
.button-quiet:hover { background: var(--raised); border-color: #55555e; }
.button:disabled { opacity: .65; cursor: wait; }
.hero { padding: 40px 0 64px; text-align: center; }
.eyebrow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.hero .eyebrow { display: inline-flex; gap: 9px; align-items: center; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 24px 0 25px; font-size: clamp(48px, 6.3vw, 82px); font-weight: 500; line-height: 1.04; letter-spacing: -.055em; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
h1 em { color: var(--accent); }
.hero-copy { max-width: 510px; margin: 0 auto 32px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.analysis-form { max-width: 704px; margin: 0 auto; scroll-margin-top: 32px; }
.analysis-form label { display: block; text-align: left; margin-bottom: 9px; font-size: 13px; font-weight: 500; }
.analysis-controls { display: flex; gap: 8px; padding: 7px; border: 1px solid #4b4657; border-radius: 12px; background: var(--surface); box-shadow: 0 8px 28px #0003; }
.analysis-controls:focus-within { border-color: var(--accent); }
.website-field { min-width: 0; display: flex; align-items: center; gap: 13px; flex: 1; padding-left: 14px; }
.website-field > span { color: var(--muted); font-size: 22px; }
.website-field input { background: transparent; color: var(--text); border: 0; min-width: 0; width: 100%; height: 50px; font-size: 17px; outline-offset: 0; }
.website-field input:focus-visible { outline: none; }
.website-field input::placeholder { color: #92929c; opacity: 1; }
.analysis-controls .button { min-height: 50px; white-space: nowrap; font-size: 15px; }
.form-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-error { color: #ffb4b4; font-size: 14px; text-align: left; margin: 10px 0; }
.form-error:empty { display: none; }
.hero-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin: 28px 0 25px; font-size: 13px; color: #c5c5cd; }
.hero-details span::before { content: '✓'; color: var(--accent); margin-right: 7px; }
.hero-secondary { color: var(--muted); font-size: 13px; }
.hero-secondary span { color: var(--text); margin-left: 5px; }
.section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
h2 { margin: 12px 0 0; font-size: clamp(32px, 4vw, 44px); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
.section-heading > p { max-width: 350px; margin: 0 0 3px; color: var(--muted); font-size: 15px; }
.result-section { padding: 18px 0 80px; border-bottom: 1px solid var(--border); }
.result-preview { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.preview-bar { display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 13px; }
.preview-bar > span:first-child { display: flex; align-items: center; gap: 10px; }
.example-label { color: var(--muted); font-size: 12px; }
.preview-body { display: grid; grid-template-columns: 270px 1fr; }
.preview-outline { padding: 30px 20px; border-right: 1px solid var(--border); }
.small-label { display: block; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .075em; color: var(--muted); }
.preview-outline > .small-label { margin: 0 12px 22px; }
.preview-outline > div { font-size: 13px; padding: 12px; color: var(--muted); border-radius: 6px; margin-bottom: 6px; }
.preview-outline > div > span { font-family: var(--mono); font-size: 11px; margin-right: 8px; }
.preview-outline .outline-active { background: #b498ff12; color: #ddceff; }
.preview-outline > p { font-size: 12px; color: var(--muted); margin: 24px 12px 0; }
.finding { padding: 30px 36px; }
.finding-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; }
.finding-tag { color: #ddceff; background: #b498ff12; padding: 3px 8px; border-radius: 5px; }
.finding h3 { margin: 20px 0 12px; font-size: 26px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.finding > p { font-size: 14px; color: var(--muted); max-width: 540px; }
.evidence-pair { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 8px; margin: 23px 0; }
.evidence-pair > div { padding: 16px; }
.evidence-pair > div + div { border-left: 1px solid var(--border); }
.evidence-pair p { font-size: 13px; margin: 8px 0 0; }
.finding-next { display: flex; gap: 12px; font-size: 13px; color: var(--muted); }
.finding-next > span { color: var(--accent); font-size: 22px; }
.finding-next p { margin: 0; }
.finding-next strong { display: block; color: var(--text); margin-bottom: 4px; font-weight: 500; }
.steps { list-style: none; padding: 0; margin: 42px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-number { font-family: var(--mono); color: var(--accent); font-size: 13px; }
.steps h3 { font-size: 19px; font-weight: 500; margin: 20px 0 10px; }
.steps p, .workflow-card p, .pricing-section p { font-size: 15px; color: var(--muted); margin-bottom: 0; }
.workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.workflow-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 30px; }
.workflow-card h3 { font-size: 23px; line-height: 1.3; font-weight: 500; margin: 18px 0 12px; letter-spacing: -.02em; }
.workflow-card .button { margin-top: 26px; }
.workflow-card .card-note { margin-top: 12px; font-size: 12px; }
.skill-install { margin-top: 30px; padding: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.skill-install h3 { font-size: 15px; font-weight: 500; margin: 0 0 4px; }
.skill-install p { font-size: 13px; color: var(--muted); margin: 0; }
.command { display: flex; flex: 1; align-items: center; gap: 14px; min-width: 0; }
.command code { font: 11px/1.6 var(--mono); color: #c5c5cd; overflow-wrap: anywhere; }
.command button { flex-shrink: 0; font-size: 12px; }
#copy-status { font-size: 12px; color: var(--accent); }
.pricing-section { display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.pricing-section > div:first-child { max-width: 550px; }
.pricing-section h2 { margin-bottom: 20px; }
.pricing-section .form-note { font-size: 12px; }
.price-action { display: grid; gap: 22px; flex-shrink: 0; }
.price { font-size: 50px; line-height: 1; letter-spacing: -.04em; }
.price > span { color: var(--muted); font-size: 14px; letter-spacing: 0; margin-left: 8px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--border); }
.faq details:first-child { padding-top: 0; }
.faq details:last-child { border: 0; }
.faq summary { font-size: 16px; font-weight: 500; }
.faq p { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.closing { text-align: center; padding: 90px 0; }
.closing h2 { font-size: 52px; margin-bottom: 28px; }
.preview-main { max-width: 880px; }
.preview-intro { padding: 32px 0 24px; text-align: center; }
.preview-intro .eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.preview-intro h1 { font-size: clamp(32px, 4vw, 44px); margin: 18px 0; }
.preview-intro .hero-copy { max-width: 600px; font-size: 16px; margin-bottom: 20px; }
.has-preview .preview-intro { padding: 12px 0 8px; }
.has-preview .preview-intro h1 { margin: 5px 0; font-size: clamp(24px, 3vw, 32px); }
.has-preview .preview-intro .hero-copy { margin-bottom: 0; font-size: 14px; }
.has-preview .preview-retry-toggle { margin-top: 5px; }
.preview-retry-toggle { margin-top: 12px; }
.preview-retry-toggle summary { width: fit-content; margin-inline: auto; color: #d7c9ff; font-size: 13px; }
.preview-retry-toggle[open] .preview-retry { margin-top: 18px; }
.preview-retry { max-width: 704px; }
.preview-error { display: flex; gap: 14px; text-align: left; max-width: 704px; margin: 0 auto 28px; padding: 18px 20px; border: 1px solid #864c55; border-radius: 10px; background: #321d22; color: #ffe2e5; }
.preview-error-icon { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border: 1px solid #f0aab4; border-radius: 50%; font-weight: 700; }
.preview-error strong { font-size: 14px; }
.preview-error p { margin: 5px 0 0; color: #e9bdc2; font-size: 13px; }
.preview-result { padding-bottom: 50px; }
.preview-source { display: flex; justify-content: space-between; gap: 24px; padding: 18px 20px; margin-bottom: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.has-preview .preview-source { padding-block: 12px; margin-bottom: 14px; }
.preview-source > div { min-width: 0; display: grid; gap: 5px; }
.preview-source > div:last-child { flex: 0 0 auto; text-align: right; }
.preview-source a, .preview-source > div:last-child > span:last-child { color: var(--text); font: 12px/1.5 var(--mono); overflow-wrap: anywhere; }
.preview-source a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.preview-limitation { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 30px; padding: 16px 18px; border: 1px solid #65533a; border-radius: 9px; background: #28231a; }
.preview-limitation > span { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #d7b775; border-radius: 50%; color: #efd397; font-size: 12px; flex: 0 0 auto; }
.preview-limitation p { margin: 0; color: #d8c9a8; font-size: 13px; }
.preview-limitation strong { color: #f1dfb9; font-weight: 500; }
.preview-checks-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 48px 0 24px; }
.has-preview .preview-checks-heading { margin: 14px 0 8px; }
.preview-checks-heading h2, .preview-next h2 { font-size: clamp(32px, 4vw, 42px); }
.has-preview .preview-checks-heading h2 { font-size: clamp(22px, 2.5vw, 30px); }
.preview-checks-heading h2 { max-width: 680px; overflow-wrap: anywhere; }
.preview-checks-heading > p { max-width: 320px; margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.preview-check-list { display: grid; gap: 12px; }
.preview-more-checks { margin-top: 14px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.preview-more-checks summary { padding: 14px 18px; color: #ded4fa; font-size: 13px; list-style-position: inside; }
.preview-more-checks[open] summary { border-bottom: 1px solid var(--border); }
.preview-more-checks .preview-check-list { padding: 12px; }
.preview-more-checks .preview-check { background: #111111; }
.preview-check { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr) minmax(0, 1.2fr); gap: 20px; padding: 21px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.preview-first-check { padding: 13px 16px; gap: 14px; }
.check-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.check-heading h3 { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 500; }
.check-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 5px; font-size: 11px; font-weight: 500; }
.observed .check-status { color: #d3c6ff; background: #b498ff16; }
.needs-review .check-status { color: #f1d49b; background: #f1c46b16; }
.check-detail, .check-action { min-width: 0; }
.check-detail p, .check-action p { margin: 7px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.check-action { padding-left: 17px; border-left: 1px solid var(--border); }
.check-action p { color: #d1d1d8; }
.preview-scope { margin-top: 22px; padding: 20px 22px; border: 1px solid var(--border); border-radius: 10px; }
.preview-scope p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.preview-context-details { margin-top: 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.preview-context-details > summary { padding: 13px 2px; color: var(--muted); font-size: 12px; }
.preview-context-content { padding-bottom: 18px; }
.onboard-panel { margin-top: 18px; padding: 18px; border: 1px solid #51466e; border-radius: 12px; background: linear-gradient(130deg, #201c2a, #19191c 60%); }
.onboard-intro { max-width: 610px; }
.preview-checks-heading h2, .onboard-intro h2, .hosted-next h2 { font-size: clamp(32px, 4vw, 42px); }
.has-preview .onboard-intro h2 { margin: 4px 0 8px; font-size: 26px; }
.onboard-intro h2, .hosted-next h2 { margin-bottom: 14px; }
.onboard-intro > p, .hosted-next > div:first-child > p { margin: 0; color: var(--muted); font-size: 14px; }
.onboard-form { max-width: 720px; margin-top: 18px; }
.onboard-progress { color: #ddceff; font-family: var(--mono); font-size: 12px; margin: 0 0 14px; }
.onboard-step { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: 9px; background: #11111188; }
.onboard-step[hidden] { display: none; }
.onboard-step legend { padding: 0 8px; font-size: 17px; font-weight: 500; }
.onboard-step legend .step-number { margin-right: 9px; }
.step-help { max-width: 600px; margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.onboard-step label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 13px; }
.field-optional { color: var(--muted); font-size: 11px; font-weight: 400; }
.onboard-step textarea { display: block; width: 100%; min-height: 68px; resize: vertical; padding: 10px 12px; border: 1px solid #484852; border-radius: 7px; background: var(--surface); color: var(--text); line-height: 1.5; }
.onboard-step textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.onboard-step textarea::placeholder { color: #92929c; }
.step-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.onboard-reassurance { margin: 0; padding: 13px 15px; border: 1px solid var(--border); border-radius: 7px; color: #d5d1df; font-size: 12px; }
.hosted-next { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 24px; padding: 24px 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.hosted-next > div:first-child { max-width: 460px; }
.hosted-next h2 { font-size: clamp(26px, 3vw, 34px); }
.preview-next-actions { display: grid; justify-items: stretch; gap: 9px; flex: 0 0 auto; }
.preview-next-actions .button { width: 100%; }
.preview-next-actions form { margin: 0; }
.preview-next-actions .form-note { text-align: center; margin: 4px 0 0; }
.website-preview-page footer .brand { display: inline-flex; }
footer { padding: 38px 0; border-top: 1px solid var(--border); }
footer .inner { width: min(1120px, calc(100% - 64px)); margin: auto; }
footer .brand { margin-bottom: 28px; }
footer .links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
footer .links a { font-size: 12px; color: var(--muted); }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .copy { font-size: 12px; color: var(--muted); margin-top: 30px; }
@media (max-width: 800px) {
    .nav { gap: 20px; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 12px; }
    .hero { padding-top: 60px; }
    .section-heading { gap: 24px; }
    .section-heading > p { max-width: 300px; }
    .preview-body { grid-template-columns: 205px 1fr; }
    .preview-outline { padding-inline: 10px; }
    .finding { padding: 24px; }
    .evidence-pair { grid-template-columns: 1fr; }
    .evidence-pair > div + div { border-left: 0; border-top: 1px solid var(--border); }
    .steps { gap: 22px; }
    .workflow-card { padding: 24px; }
    .preview-check { grid-template-columns: minmax(130px, .65fr) minmax(0, 1fr); }
    .check-action { grid-column: 2; padding: 13px 0 0; border-left: 0; border-top: 1px solid var(--border); }
    .hosted-next { gap: 24px; padding: 24px; }
}
@media (max-width: 620px) {
    .wrap, footer .inner { width: calc(100% - 40px); }
    .nav { min-height: 74px; flex-wrap: wrap; gap: 12px; padding-block: 16px; }
    .nav-signin { margin-left: auto; }
    .nav-links { order: 3; width: 100%; justify-content: center; gap: 26px; margin: 4px 0 0; }
    .brand { font-size: 18px; }
    .hero { padding: 32px 0 48px; }
    .hero .eyebrow { font-size: 10px; }
    h1 { font-size: clamp(43px, 11vw, 64px); margin-top: 22px; }
    .hero-copy { font-size: 16px; max-width: 340px; }
    .analysis-controls { flex-direction: column; }
    .analysis-controls .button { width: 100%; }
    .website-field { padding-right: 12px; }
    .form-note { font-size: 12px; }
    .hero-details { gap: 8px 14px; font-size: 11px; }
    .hero-secondary { display: block; max-width: 280px; margin: auto; }
    .hero-secondary span { display: block; margin: 4px 0 0; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 20px; max-width: none; }
    .section, .result-section { padding-block: 52px; }
    .result-section { padding-top: 0; }
    .preview-bar { flex-direction: column; gap: 6px; padding: 16px 20px; }
    .preview-body { display: block; }
    .preview-outline { display: none; }
    .finding { padding: 24px 20px; }
    .finding h3 { font-size: 24px; }
    .steps, .workflow-grid, .faq-section { grid-template-columns: 1fr; gap: 28px; }
    .steps { margin-top: 30px; }
    .steps h3 { margin-top: 10px; }
    .skill-install { display: block; }
    .command { margin-top: 16px; flex-direction: column; align-items: start; }
    .pricing-section { display: block; }
    .price-action { margin-top: 30px; justify-items: start; }
    .closing { padding-block: 60px; }
    .closing h2 { font-size: 42px; }
    .preview-intro { padding: 48px 0 32px; }
    .has-preview .preview-intro { padding: 10px 0 6px; }
    .preview-source { flex-direction: column; gap: 13px; }
    .preview-source > div:last-child { text-align: left; }
    .preview-checks-heading { display: block; margin-top: 36px; }
    .preview-checks-heading > p { margin-top: 16px; }
    .preview-check { display: block; padding: 19px; }
    .check-heading { flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 17px; }
    .check-action { margin-top: 16px; }
    .onboard-panel { margin-top: 32px; padding: 23px 20px; }
    .onboard-step { padding: 18px 14px; }
    .step-actions { justify-content: stretch; }
    .step-actions .button { flex: 1 1 auto; }
    .hosted-next { display: block; margin-top: 18px; padding: 22px 20px; }
    .preview-next-actions { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}

/* A focused setup flow, shared by each public onboarding step. */
.website-preview-page .onboarding-header { padding: 24px 32px; }
.website-preview-page .preview-main { max-width: 760px; padding: 40px 24px 32px; }
.website-preview-page .preview-result { max-width: none; margin: 0; }
.onboarding-site-preview { margin-bottom: 38px; }
.site-preview-url { display: block; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.onboarding-site-preview h1 { margin: 12px 0; color: var(--accent); font-size: clamp(23px, 3vw, 29px); line-height: 1.3; letter-spacing: -.025em; }
.site-preview-description { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.website-preview-page .onboard-panel { margin: 0; padding: 0; border: 0; background: none; }
.website-preview-page .onboard-form { margin: 0; }
.website-preview-page .onboard-progress { color: var(--muted); font-size: 11px; margin-bottom: 18px; }
.website-preview-page .onboard-step { padding: 0; border: 0; background: none; }
.website-preview-page .onboard-step legend { padding: 0; margin-bottom: 12px; font-size: 23px; }
.website-preview-page .onboard-step textarea { min-height: 124px; padding: 14px 16px; font: inherit; line-height: 1.6; }
.website-preview-page .onboard-reassurance { padding: 0; border: 0; }
.website-preview-page .preview-context-details { margin-top: 32px; border: 0; }
.website-preview-page .preview-context-details > summary { display: list-item; width: fit-content; font-size: 13px; cursor: pointer; }
.website-preview-page .preview-check { display: block; margin-top: 12px; }
.website-preview-page .preview-check .check-action { border: 0; padding: 12px 0 0; }
.onboarding-legal { display: flex; justify-content: center; gap: 12px; padding: 20px; font-size: 12px; color: var(--muted); }
.onboarding-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.button .google-g, .wo-button .google-g { flex: 0 0 auto; }
.button-quiet .google-g { margin-right: 2px; }
@media (max-width: 600px) {
    .website-preview-page .onboarding-header { padding: 20px; }
    .website-preview-page .preview-main { padding: 24px 20px; }
    .onboarding-site-preview { margin-bottom: 28px; }
    .website-preview-page .step-actions { gap: 12px; }
}

.website-preview-page .step-actions { justify-content: flex-start; }

/* The standalone preview uses the shared RefreshAgent system without changing the homepage. */
.website-preview-page {
    --bg: var(--ra-bg);
    --surface: var(--ra-panel);
    --raised: var(--ra-raised);
    --border: var(--ra-line);
    --text: var(--ra-text);
    --muted: var(--ra-muted);
    --accent: var(--ra-lavender);
    --action: var(--ra-lavender);
    color: var(--ra-text);
    font-family: var(--ra-font-body);
}
.website-preview-page :focus-visible {
    outline-color: var(--ra-lavender);
    outline-offset: 3px;
}
.website-preview-page .onboarding-header {
    border-bottom: 1px solid var(--ra-line);
}
.website-preview-page .brand {
    color: var(--ra-text);
    font-family: var(--ra-font-display);
    letter-spacing: -.025em;
}
img.brand-mark { background: none; object-fit: contain; }
.website-preview-page .brand-mark {
    border-radius: var(--ra-radius);
    background: var(--ra-lavender);
    color: var(--ra-action-text);
}
.website-preview-page h1,
.website-preview-page h2,
.website-preview-page h3,
.website-preview-page .onboard-step legend {
    font-family: var(--ra-font-display);
    font-weight: 600;
    letter-spacing: -.025em;
}
.website-preview-page h1 em,
.website-preview-page h2 em {
    color: var(--ra-lavender);
    font-family: var(--ra-font-display);
    font-style: normal;
    font-weight: 600;
    letter-spacing: inherit;
}
.website-preview-page .small-label,
.website-preview-page .onboard-progress,
.website-preview-page .check-detail .small-label,
.website-preview-page .check-action .small-label {
    color: var(--ra-lavender-light);
    font-family: var(--ra-font-mono);
    letter-spacing: .025em;
}
.website-preview-page .preview-error,
.website-preview-page .preview-context-details,
.website-preview-page .onboard-step,
.website-preview-page .preview-check {
    border-color: var(--ra-line);
    border-radius: 3px;
    background: var(--ra-panel);
    box-shadow: none;
}
.website-preview-page .preview-error { border-left: 3px solid var(--ra-peach); }
.website-preview-page .onboard-step { padding: 20px; }
.website-preview-page .onboard-step legend { color: var(--ra-text); }
.website-preview-page .onboard-step textarea,
.website-preview-page .analysis-controls,
.website-preview-page .website-field input {
    border-color: var(--ra-line);
    border-radius: 3px;
    background: var(--ra-panel);
    color: var(--ra-text);
}
.website-preview-page .analysis-controls:focus-within,
.website-preview-page .onboard-step textarea:focus {
    border-color: var(--ra-lavender);
    outline-color: var(--ra-lavender);
}
.website-preview-page .button-primary {
    border-radius: 3px;
    background: var(--ra-lavender);
    color: #1a1422;
}
.website-preview-page .button-primary:hover { background: var(--ra-lavender-light); }
.website-preview-page .button-quiet {
    border-radius: 3px;
    border-color: var(--ra-line);
    background: var(--ra-raised);
    color: var(--ra-text);
}
.website-preview-page .site-preview-url,
.website-preview-page .form-note,
.website-preview-page .step-help,
.website-preview-page .site-preview-description { color: var(--ra-muted); }
.website-preview-page .preview-check .check-status { border-radius: 3px; }
.website-preview-page .preview-context-details > summary { color: var(--ra-lavender-light); }
@media (max-width: 600px) {
    .website-preview-page .onboard-step { padding: 16px 14px; }
}

.preview-spinner { display: inline-block; width: 28px; height: 28px; margin: 26px 0 10px; border: 3px solid #33333b; border-top-color: var(--accent); border-radius: 50%; animation: preview-spin .8s linear infinite; }
@keyframes preview-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .preview-spinner { animation-duration: 2.4s; } }

.landing-page { isolation: isolate; }
.landing-starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
}
.landing-page > .site-header,
.landing-page > main,
.landing-page > footer { position: relative; z-index: 1; }

/* Homepage art direction: technical, evidence-led, and scoped away from preview flows. */
.landing-page {
    --landing-bg: var(--ra-bg);
    --landing-panel: var(--ra-panel);
    --landing-raised: var(--ra-raised);
    --landing-line: var(--ra-line);
    --landing-text: var(--ra-text);
    --landing-muted: var(--ra-muted);
    --landing-lavender: var(--ra-lavender);
    --landing-lavender-light: var(--ra-lavender-light);
    --landing-peach: var(--ra-peach);
    --landing-blue: var(--ra-blue);
    --action: var(--ra-lavender);
    --hero-cta-hover: var(--ra-lavender-light);
    --display: var(--ra-display-font);
    --sans: var(--ra-body-font);
    --mono: var(--ra-mono-font);
    background: var(--landing-bg);
    color: var(--landing-text);
    font-family: var(--sans);
    line-height: 1.58;
}
.landing-page .wrap,
.landing-page footer .inner { width: min(1180px, calc(100% - 64px)); }
.landing-page :focus-visible { outline-color: var(--landing-lavender); }
.landing-page ::selection { background: var(--ra-lavender); color: var(--ra-action-text); }
.landing-page .site-header { border-bottom-color: var(--landing-line); }
.landing-page .nav { min-height: 72px; gap: 30px; }
.landing-page .nav-signin { min-height: 40px; padding: 8px 16px; font-size: 14px; line-height: 1.2; }
.landing-page .brand { font-family: var(--display); letter-spacing: -.025em; }
.landing-page .brand-mark { width: 27px; height: 27px; border-radius: 3px; background: var(--landing-lavender); color: var(--ra-action-text); }
.landing-page .nav-links { gap: 25px; }
.landing-page .nav-links a { color: var(--landing-muted); font: 500 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.landing-page .nav-links a:hover { color: var(--landing-lavender-light); }
.landing-page .button { border-radius: 3px; }
.landing-page .button-primary { background: var(--landing-lavender); color: #1a1422; }
.landing-page .button-primary:hover { background: var(--hero-cta-hover); }
.landing-page .hero { padding: 52px 0 53px; text-align: center; border-bottom: 1px solid var(--landing-line); }
.landing-page .eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--landing-lavender); font: 500 10px/1.5 var(--mono); letter-spacing: .105em; text-transform: uppercase; }
.landing-page h1 { max-width: 1120px; margin: 0 auto 21px; font: 600 clamp(52px, 6.4vw, 76px)/1.04 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.landing-page h1 em,
.landing-page h2 em { color: var(--landing-lavender); font-family: var(--display); font-style: normal; font-weight: 600; letter-spacing: inherit; }
.landing-page .hero-copy { max-width: 680px; margin: 0 auto 30px; color: var(--landing-muted); font-size: 17px; line-height: 1.65; }
.landing-page .analysis-form { max-width: 704px; margin: 0 auto; }
.landing-page .analysis-form label { margin-bottom: 8px; color: var(--landing-text); font: 500 12px/1.4 var(--mono); letter-spacing: .025em; }
.landing-page .analysis-controls { display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid #4b4858; border-radius: 3px; background: var(--landing-panel); box-shadow: 0 8px 28px #0003; }
.landing-page .analysis-controls:focus-within { border-color: var(--landing-lavender); }
.landing-page .website-field { min-height: 50px; padding: 0 13px; gap: 10px; border: 0; border-radius: 2px; background: transparent; }
.landing-page .website-field > span { color: var(--landing-peach); font: 20px/1 var(--mono); }
.landing-page .website-field input { height: 48px; font-size: 16px; }
.landing-page .analysis-controls .button { width: auto; min-height: 50px; white-space: nowrap; font-size: 14px; }
.landing-page .analysis-form .form-note { margin-top: 10px; color: #aaa7b5; font-size: 11px; }
.landing-page .hero-details { justify-content: center; gap: 9px 24px; margin: 23px 0 19px; color: var(--landing-muted); font-size: 12px; }
.landing-page .hero-details span::before { color: var(--landing-peach); }
.landing-page .hero-secondary { color: var(--landing-muted); font-size: 12px; }
.landing-page .hero-secondary span { color: var(--landing-lavender-light); }
.landing-page .result-preview.hero-example { position: relative; min-width: 0; overflow: visible; border: 1px solid #484351; border-radius: 3px; background: var(--landing-panel); box-shadow: 0 22px 70px #0005; }
.landing-page .hero-example::before,
.landing-page .hero-example::after,
.landing-page .hero-example .corner { position: absolute; z-index: 2; width: 13px; height: 13px; border-color: var(--landing-lavender); border-style: solid; content: ''; pointer-events: none; }
.landing-page .hero-example::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.landing-page .hero-example::after { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.landing-page .hero-example .corner-bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.landing-page .hero-example .corner-br { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.landing-page .hero-example .preview-bar { align-items: center; padding: 13px 17px; border-color: var(--landing-line); color: var(--landing-lavender-light); font: 500 10px/1.4 var(--mono); letter-spacing: .055em; text-transform: uppercase; }
.landing-page .hero-example .preview-bar > span:first-child { gap: 8px; }
.landing-page .hero-example .status-dot { background: var(--landing-peach); }
.landing-page .hero-example .example-label { color: var(--landing-peach); font: 500 9px/1.4 var(--mono); letter-spacing: .025em; text-align: right; }
.landing-page .hero-example .preview-body { grid-template-columns: 180px minmax(0, 1fr); }
.landing-page .hero-example .preview-outline { padding: 25px 12px; border-color: var(--landing-line); }
.landing-page .hero-example .preview-outline > .small-label { margin: 0 8px 16px; }
.landing-page .hero-example .small-label { color: #aaa7b5; font: 500 9px/1.5 var(--mono); letter-spacing: .075em; }
.landing-page .hero-example .preview-outline > div { padding: 9px 8px; border-radius: 2px; font-size: 11px; }
.landing-page .hero-example .preview-outline .outline-active { background: var(--ra-lavender-wash); color: var(--landing-lavender-light); }
.landing-page .hero-example .preview-outline > p { margin: 17px 8px 0; font-size: 10px; line-height: 1.6; }
.landing-page .hero-example .finding { padding: 24px 22px 19px; }
.landing-page .hero-example .finding-meta { gap: 9px; font: 10px/1.5 var(--mono); overflow-wrap: anywhere; }
.landing-page .hero-example .finding-tag { border-radius: 2px; background: #efbf9b16; color: var(--landing-peach); }
.landing-page .hero-example .finding h3 { max-width: 18ch; margin: 14px 0 8px; font: 600 22px/1.18 var(--display); letter-spacing: -.025em; }
.landing-page .hero-example .finding > p { margin-bottom: 0; color: var(--landing-muted); font-size: 12px; line-height: 1.55; }
.landing-page .hero-example .evidence-pair { grid-template-columns: 1fr 1fr; margin: 17px 0 13px; border-color: var(--landing-line); border-radius: 3px; }
.landing-page .hero-example .evidence-pair > div { padding: 12px; }
.landing-page .hero-example .evidence-pair > div + div { border-left-color: var(--landing-line); }
.landing-page .hero-example .evidence-pair .small-label { color: var(--landing-blue); font-size: 8px; }
.landing-page .hero-example .evidence-pair p { margin: 6px 0 0; color: #d0cdd7; font-size: 12px; line-height: 1.5; }
.landing-page .hero-example .finding-next { gap: 8px; color: var(--landing-muted); font-size: 10px; line-height: 1.5; }
.landing-page .hero-example .finding-next > span { color: var(--landing-peach); font-size: 17px; }
.landing-page .hero-example .finding-next strong { color: var(--landing-text); margin-bottom: 2px; }
.landing-page .example-source { padding: 9px 15px; border-top: 1px solid var(--landing-line); color: #8f8b9b; font: 9px/1.5 var(--mono); letter-spacing: .08em; }
.landing-page .result-section { padding: 24px 0 68px; border-bottom: 1px solid var(--landing-line); }
.landing-page .section { padding: 68px 0; border-color: var(--landing-line); }
.landing-page .section-heading { margin-bottom: 27px; }
.landing-page .section-heading h2,
.landing-page .pricing-section h2,
.landing-page .faq-section > h2 { margin-top: 0; }
.landing-page h2 { font: 600 clamp(31px, 3.4vw, 43px)/1.12 var(--display); letter-spacing: -.035em; }
.landing-page .section-heading > p,
.landing-page .steps p,
.landing-page .workflow-card p,
.landing-page .pricing-section p,
.landing-page .faq p { color: var(--landing-muted); }
.landing-page .steps { gap: 30px; margin-top: 30px; }
.landing-page .step-number { color: var(--landing-peach); }
.landing-page .steps h3,
.landing-page .workflow-card h3 { font-family: var(--display); }
.landing-page .workflow-grid { gap: 1px; border: 1px solid var(--landing-line); background: var(--landing-line); }
.landing-page .workflow-card { border: 0; border-radius: 0; background: var(--landing-bg); padding: 27px; }
.landing-page .workflow-card .small-label { color: var(--landing-blue); font: 500 10px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.landing-page .workflow-card h3 { font-size: 21px; }
.landing-page .workflow-card .button { border-radius: 3px; }
.landing-page .button-quiet { background: var(--landing-panel); border-color: var(--landing-line); }
.landing-page .button-quiet:hover { border-color: var(--landing-lavender); color: var(--landing-lavender-light); }
.landing-page .skill-install { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr); align-items: center; gap: 13px 22px; margin-top: 24px; padding: 17px 18px; border: 1px solid #413d4e; border-radius: 3px; background: var(--landing-panel); }
.landing-page .skill-intro { min-width: 0; }
.landing-page .skill-intro h3 { margin: 0 0 3px; font: 600 17px/1.25 var(--display); }
.landing-page .skill-intro p { margin: 0; color: var(--landing-muted); font-size: 12px; }
.landing-page .skill-command-area { display: flex; align-items: center; gap: 12px; min-width: 0; }
.landing-page .skill-install .command { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 6px; border: 1px solid var(--landing-line); border-radius: 3px; background: var(--landing-bg); }
.landing-page .skill-install .command code { min-width: 0; color: #d4cfdd; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.landing-page .skill-install .command button { min-height: 36px; padding: 7px 10px; font-size: 11px; white-space: nowrap; }
.landing-page .skill-guide { flex: 0 0 auto; color: var(--landing-lavender-light); font-size: 11px; }
.landing-page .skill-guide:hover { color: var(--landing-peach); text-decoration: underline; text-underline-offset: 3px; }
.landing-page #copy-status { grid-column: 2; min-height: 0; color: var(--landing-lavender-light); font-size: 11px; }
.landing-page .command code { color: #d4cfdd; }
.landing-page .pricing-section { border-top: 0; }
.landing-page .price { font-family: var(--display); }
.landing-page .faq-section { grid-template-columns: .8fr 1.2fr; }
.landing-page .faq details { border-color: var(--landing-line); }
.landing-page .faq summary { font-family: var(--display); }
.landing-page .faq summary::after { color: var(--landing-lavender); }
.landing-page .closing { padding: 76px 0; }
.landing-page .closing h2 { margin-top: 0; }
.landing-page .closing h2 { font-size: clamp(38px, 5vw, 55px); }
.landing-page footer { border-color: var(--landing-line); }
.landing-page footer .brand { color: var(--landing-text); }
.landing-page footer .star { color: var(--landing-lavender); }
.landing-page footer .links { gap: 10px 19px; }
.landing-page footer .links a,
.landing-page footer .copy { color: #9c98a8; }

@media (max-width: 980px) {
    .landing-page .hero { padding-top: 48px; }
    .landing-page .analysis-form { max-width: 704px; }
}
@media (max-width: 620px) {
    .landing-page .wrap,
    .landing-page footer .inner { width: calc(100% - 40px); }
    .landing-page .nav { min-height: 68px; flex-wrap: wrap; gap: 8px 10px; padding-block: 10px; }
    .landing-page .brand { font-size: 16px; gap: 7px; }
    .landing-page .brand-mark { width: 24px; height: 24px; font-size: 20px; }
    .landing-page .nav-signin { min-height: 40px; padding: 8px 13px; font-size: 13px; }
    .landing-page .nav-links { order: 3; width: 100%; justify-content: center; gap: 20px; margin: 2px 0 0; }
    .landing-page .nav-links a { font-size: 12px; letter-spacing: 0; }
    .landing-page .hero { padding: 38px 0 40px; }
    .landing-page .hero h1 { max-width: 100%; margin: 0 auto 15px; font-size: clamp(38px, 10vw, 54px); }
    .landing-page .hero-copy { margin-bottom: 21px; font-size: 15px; }
    .landing-page .analysis-controls { display: flex; flex-direction: column; align-items: stretch; padding: 7px; }
    .landing-page .analysis-controls .button { width: 100%; min-height: 50px; white-space: normal; font-size: 13px; }
    .landing-page .hero-details { gap: 8px 12px; font-size: 10px; }
    .landing-page .hero-secondary { max-width: 330px; margin-inline: auto; }
    .landing-page .hero-secondary span { display: inline; margin-left: 3px; }
    .landing-page .hero-example .preview-bar { align-items: flex-start; flex-direction: column; gap: 5px; padding: 11px 12px; }
    .landing-page .hero-example .example-label { text-align: left; }
    .landing-page .hero-example .preview-body { display: block; }
    .landing-page .hero-example .preview-outline { display: none; }
    .landing-page .hero-example .finding { padding: 20px 15px 17px; }
    .landing-page .hero-example .finding h3 { font-size: 20px; }
    .landing-page .hero-example .evidence-pair { grid-template-columns: 1fr; }
    .landing-page .hero-example .evidence-pair > div + div { border-top: 1px solid var(--landing-line); border-left: 0; }
    .landing-page .section { padding: 50px 0; }
    .landing-page .result-section { padding: 42px 0 50px; }
    .landing-page .section-heading { display: block; }
    .landing-page .section-heading > p { margin-top: 16px; }
    .landing-page .steps,
    .landing-page .workflow-grid,
    .landing-page .faq-section { grid-template-columns: 1fr; gap: 24px; }
    .landing-page .steps { margin-top: 24px; }
    .landing-page .steps h3 { margin: 9px 0 7px; }
    .landing-page .workflow-grid { gap: 1px; }
    .landing-page .workflow-card { padding: 22px 18px; }
    .landing-page .skill-install { grid-template-columns: 1fr; gap: 12px; padding: 15px; }
    .landing-page .skill-command-area { align-items: stretch; flex-direction: column; gap: 9px; }
    .landing-page .skill-guide { align-self: flex-start; }
    .landing-page #copy-status { grid-column: 1; }
    .landing-page .pricing-section { display: block; }
    .landing-page .price-action { margin-top: 24px; justify-items: start; }
    .landing-page .faq-section { gap: 17px; }
    .landing-page .closing { padding: 56px 0; }
    .landing-page .closing h2 { font-size: 39px; }
}


/* Public preview identity and result-page styling */
.site-preview-identity { display: flex; align-items: center; gap: 10px; }
.site-favicon { width: 34px; height: 34px; border-radius: 9px; background: #26262c; object-fit: contain; flex: 0 0 auto; }
.website-preview-page .site-copy-fallback { display: none; }

/* Public preview identity and result-page styling */
.site-preview-identity { display: flex; align-items: center; gap: 10px; }
.site-favicon { width: 34px; height: 34px; border-radius: 9px; background: #26262c; object-fit: contain; flex: 0 0 auto; }
.site-assessment { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.step-confirmation { margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; color: var(--text); font-size: 13px; background: var(--surface); }
.site-assessment, .step-confirmation { overflow-wrap: anywhere; }
