:root {
    --site-bg: #f7f7f5;
    --site-surface: #ffffff;
    --site-text: #171717;
    --site-muted: #686868;
    --site-border: #e7e7e2;
    --site-accent: #dff36a;
}

body {
    background: var(--site-bg);
    color: var(--site-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.container {
    max-width: 1120px;
}

.navbar {
    min-height: 72px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    display: block;
    width: auto;
    height: 2.25rem;
}

.nav-link {
    border-radius: .5rem;
    color: var(--site-muted);
    font-size: .95rem;
    padding-inline: .8rem !important;
}

.nav-link:hover,
.nav-link.active {
    background: #f2f2ef;
    color: var(--site-text) !important;
}

.hero-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(223, 243, 106, .7), transparent 26rem),
        linear-gradient(180deg, #fff 0%, var(--site-bg) 100%);
    border-bottom: 1px solid var(--site-border);
}

.hero-section h1 {
    max-width: 12ch;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.hero-section .lead {
    max-width: 40rem;
}

.url-test-form {
    max-width: 46rem;
    padding: .75rem;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--site-border);
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(20, 20, 20, .07);
}

.url-test-form-row {
    display: flex;
    gap: .65rem;
}

.url-test-form .form-control {
    min-width: 0;
    border-color: transparent;
    background: #f5f5f2;
    font-size: 1rem;
}

.url-test-form .form-control:focus {
    border-color: #b7c957;
    background: #fff;
    box-shadow: 0 0 0 .2rem rgba(164, 189, 28, .16);
}

.form-hint {
    padding: .55rem .35rem 0;
    color: var(--site-muted);
    font-size: .78rem;
}

.eyebrow {
    display: inline-block;
    color: #5d5d55;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-card,
.feature-card,
.contact-card,
.dashboard-card,
.auth-card,
.info-panel,
.legal-content {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 1.25rem;
    box-shadow: 0 1rem 3rem rgba(20, 20, 20, .035);
}

.hero-card {
    padding: 2rem;
    transform: rotate(1.5deg);
}

.hero-card-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 3.5rem;
    place-items: center;
    border-radius: 50%;
    background: var(--site-accent);
    font-weight: 800;
}

.feature-card {
    padding: 1.75rem;
}

.feature-number {
    color: #94948a;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.home-content-section {
    border-top: 1px solid var(--site-border);
}

.home-section-heading {
    max-width: 46rem;
}

.home-section-heading h2,
.home-content-section > .container > .row h2 {
    letter-spacing: -.045em;
    line-height: 1.08;
}

.home-section-heading-sticky {
    position: sticky;
    top: 6rem;
}

.home-audit-card {
    padding: 1.5rem;
    border: 1px solid var(--site-border);
    border-radius: 1rem;
    background: var(--site-surface);
}

.home-audit-card-heading {
    display: flex;
    margin-bottom: .85rem;
    align-items: center;
    gap: .8rem;
}

.home-audit-card-heading .feature-number {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .6rem;
    background: #f1f4df;
    color: #65720f;
}

.home-check-list {
    display: grid;
    padding: 0;
    gap: .5rem;
    list-style: none;
}

.home-check-list li {
    position: relative;
    padding-left: 1.15rem;
    color: #44443f;
    font-size: .9rem;
}

.home-check-list li::before {
    position: absolute;
    top: .58em;
    left: 0;
    width: .38rem;
    height: .38rem;
    border-radius: 50%;
    background: #a9bd32;
    content: "";
}

.home-step-list {
    padding: 0;
    list-style: none;
}

.home-step {
    display: grid;
    padding: 1.35rem 0;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 1rem;
    border-bottom: 1px solid var(--site-border);
}

.home-step:first-child {
    padding-top: 0;
}

.home-step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.home-step-number {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 50%;
    background: var(--site-accent);
    font-size: .85rem;
    font-weight: 800;
}

.home-report-panel {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 1rem;
    background: var(--site-bg);
}

.home-report-item {
    display: grid;
    padding: 1.15rem;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: start;
    gap: .8rem;
    border-bottom: 1px solid var(--site-border);
}

.home-report-item:last-child {
    border-bottom: 0;
}

.home-report-marker {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--site-accent);
    font-size: .8rem;
    font-weight: 800;
}

.home-faq-list {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 1rem;
    background: var(--site-surface);
}

.home-faq-item {
    border-bottom: 1px solid var(--site-border);
}

.home-faq-item:last-child {
    border-bottom: 0;
}

.home-faq-item summary {
    display: flex;
    padding: 1.2rem 1.35rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-weight: 650;
    list-style: none;
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item summary:hover {
    background: #fafaf7;
}

.home-faq-item > p {
    max-width: 60rem;
    padding: 0 3.75rem 1.25rem 1.35rem;
    font-size: .95rem;
}

.home-faq-toggle {
    color: #77776e;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
    transition: transform .18s ease;
}

.home-faq-item[open] .home-faq-toggle {
    transform: rotate(45deg);
}

.home-cta {
    display: flex;
    padding: 1.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid #cedd76;
    border-radius: 1rem;
    background: linear-gradient(135deg, #f7fadf, #eef5b8);
}

.page-header {
    background: #fff;
    border-bottom: 1px solid var(--site-border);
}

.page-header h1 {
    letter-spacing: -.04em;
}

.report-header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
}

.report-header-copy {
    min-width: 0;
}

.report-title {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -.04em;
    line-height: 1.05;
}

.report-url {
    font-size: .9rem;
}

.report-action-panel {
    display: grid;
    padding: .75rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: .55rem;
    border: 1px solid var(--site-border);
    border-radius: .7rem;
    background: #f8f8f5;
}

.report-status-row {
    display: flex;
    flex-wrap: wrap;
    align-self: start;
    gap: .45rem;
}

.report-header-retest {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .25rem;
}

.report-header-retest .btn {
    width: 100%;
}

.report-header-countdown {
    color: var(--site-muted);
    font-size: .7rem;
    line-height: 1.4;
}

.report-export-button {
    grid-column: 1 / -1;
    width: 100%;
}

.report-privacy-action {
    display: grid;
    grid-column: 1 / -1;
    padding-top: .55rem;
    grid-template-columns: minmax(0, 1fr) minmax(7.5rem, auto);
    align-items: end;
    gap: .5rem;
    border-top: 1px solid var(--site-border);
}

.report-privacy-action strong,
.report-privacy-action span {
    display: block;
}

.report-privacy-action strong {
    margin-bottom: .15rem;
    font-size: .82rem;
}

.report-privacy-action span {
    color: var(--site-muted);
    font-size: .72rem;
    line-height: 1.45;
}

.btn-publish {
    border-color: #9caf25;
    background: var(--site-accent);
    color: #202400;
    font-weight: 700;
}

.btn-publish:hover,
.btn-publish:focus {
    border-color: #879918;
    background: #d4e95d;
    color: #171a00;
}

.report-layout.container {
    display: grid;
    max-width: 1440px;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
}

.report-content {
    min-width: 0;
}

.report-sidebar {
    position: sticky;
    z-index: 1000;
    top: 5rem;
    max-height: calc(100vh - 6rem);
    margin-top: 2rem;
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: .7rem;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 .45rem 1.4rem rgba(20, 20, 20, .06);
    backdrop-filter: blur(12px);
}

.report-sidebar-inner {
    display: flex;
    max-height: inherit;
    padding: .75rem;
    flex-direction: column;
}

.report-toolbar-heading {
    display: grid;
    margin-bottom: .5rem;
    gap: .18rem;
}

.report-toolbar-heading > strong {
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.report-toolbar-heading > span {
    color: var(--site-muted);
    font-size: .7rem;
}

.report-search {
    margin-bottom: .45rem;
}

.report-search .form-control {
    min-height: 2rem;
    padding: .3rem .55rem;
    border-color: var(--site-border);
    border-radius: .5rem;
    background: #fff;
    font-size: .72rem;
}

.report-search .form-control:focus {
    border-color: #aebe52;
    box-shadow: 0 0 0 .15rem rgba(182, 203, 54, .18);
}

.report-search-empty {
    margin: .5rem 0 0;
    color: var(--site-muted);
    font-size: .68rem;
    line-height: 1.35;
}

.report-status-filters {
    display: grid;
    padding-bottom: .6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .3rem;
    border-bottom: 1px solid var(--site-border);
}

.report-status-filter {
    display: inline-flex;
    min-width: 0;
    padding: .32rem .45rem;
    align-items: center;
    gap: .4rem;
    border: 1px solid transparent;
    border-radius: .55rem;
    background: #f4f4f1;
    color: var(--site-muted);
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    transition: opacity .15s ease, background-color .15s ease, border-color .15s ease;
}

.report-status-filter::before {
    width: .48rem;
    height: .48rem;
    flex: 0 0 .48rem;
    border-radius: 50%;
    background: currentColor;
    content: '';
}

.report-status-filter-fail[aria-pressed="true"] {
    border-color: #ebc0c0;
    background: #fff0f0;
    color: #9a2828;
}

.report-status-filter-warn[aria-pressed="true"] {
    border-color: #ead48c;
    background: #fff7d8;
    color: #725800;
}

.report-status-filter-pass[aria-pressed="true"] {
    border-color: #cee3ab;
    background: #eef8df;
    color: #3a6714;
}

.report-status-filter-info[aria-pressed="true"] {
    border-color: #cad8e7;
    background: #edf3fa;
    color: #35516f;
}

.report-status-filter[aria-pressed="false"] {
    border-color: #e6e6e1;
    background: #fff;
    color: #8c8c84;
    opacity: .48;
}

.report-status-filter:hover,
.report-status-filter:focus-visible {
    opacity: 1;
}

.report-toolbar-links {
    display: flex;
    min-height: 0;
    padding-top: .5rem;
    flex: 1 1 auto;
    flex-direction: column;
    gap: .15rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.report-toolbar-links a {
    display: block;
    width: 100%;
    padding: .3rem .45rem;
    border-radius: .5rem;
    color: var(--site-muted);
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
}

.report-toolbar-links a:hover,
.report-toolbar-links a.active {
    background: #eff3d5;
    color: #344000;
}

.report-nav-group-label {
    display: block;
    padding: .55rem .45rem .18rem;
    color: #99998f;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

[data-report-anchor] {
    scroll-margin-top: 5.5rem;
}

.report-filter-hidden {
    display: none !important;
}

.contact-card {
    display: flex;
    min-height: 160px;
    padding: 1.5rem;
    flex-direction: column;
    justify-content: space-between;
}

.contact-label {
    color: var(--site-muted);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

a.contact-value:hover,
.footer-link:hover {
    text-decoration: underline;
}

.info-panel {
    display: flex;
    padding: 1.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.legal-content {
    max-width: 820px;
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

.legal-content section + section {
    padding-top: 1.75rem;
    margin-top: 1.75rem;
    border-top: 1px solid var(--site-border);
}

.legal-content h2 {
    margin-bottom: .75rem;
    font-size: 1.15rem;
}

.legal-content p {
    margin-bottom: 0;
    color: var(--site-muted);
    line-height: 1.8;
}

.auth-section {
    display: grid;
    min-height: calc(100vh - 145px);
    place-items: center;
    background: radial-gradient(circle at 50% 15%, rgba(223, 243, 106, .45), transparent 24rem);
}

.error-page {
    display: grid;
    min-height: calc(100vh - 145px);
    padding: 2rem 0;
    place-items: center;
    background: radial-gradient(circle at 50% 20%, rgba(223, 243, 106, .38), transparent 22rem);
}

.error-card {
    max-width: 680px;
    padding: clamp(1.5rem, 5vw, 3rem);
    text-align: center;
}

.error-code {
    margin: .7rem 0 .9rem;
    color: #b6cb36;
    font-size: clamp(4.5rem, 16vw, 8rem);
    font-weight: 800;
    letter-spacing: -.09em;
    line-height: .9;
}

.error-card h1 {
    margin-bottom: .65rem;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    letter-spacing: -.035em;
}

.error-card p {
    max-width: 34rem;
    margin: 0 auto;
    color: var(--site-muted);
}

.error-actions {
    display: flex;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.auth-card {
    max-width: 470px;
    padding: clamp(1.5rem, 5vw, 3rem);
}

.oauth-button {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    border-radius: .7rem;
    font-weight: 600;
}

.oauth-google {
    background: #fff;
    border-color: #d7d7d2;
}

.oauth-google:hover {
    background: #f6f6f3;
    border-color: #bcbcb5;
}

.oauth-github,
.oauth-github:hover {
    background: #171717;
    border-color: #171717;
    color: #fff;
}

.oauth-demo {
    border-color: #9fb723;
    background: var(--site-accent);
}

.oauth-demo:hover {
    border-color: #8aa00e;
    background: #d4e95d;
}

.oauth-mark {
    display: inline-flex;
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 1.4rem;
    align-items: center;
    justify-content: center;
}

.oauth-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.oauth-mark-text {
    display: inline-grid;
    width: 1.75rem;
    height: 1.75rem;
    flex-basis: 1.75rem;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: .65rem;
    font-weight: 800;
}

.dashboard-card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.profile-avatar {
    display: grid;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    place-items: center;
    border: 1px solid var(--site-border);
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-fallback {
    background: var(--site-accent);
    font-size: 1.5rem;
    font-weight: 800;
}

.provider-row {
    display: flex;
    padding: .9rem 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--site-border);
}

.provider-row {
    justify-content: flex-start;
}

.dashboard-danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-color: #eccaca;
    background: #fffafa;
}

.dashboard-danger-label {
    color: #a03232;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.provider-dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    background: #222;
}

.provider-dot-google {
    background: #4285f4;
}

.provider-dot-demo {
    background: #a4bd1c;
}

.test-summary-card {
    max-width: 860px;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 1.25rem;
    box-shadow: 0 1rem 3rem rgba(20, 20, 20, .035);
}

.test-status-row {
    display: flex;
    padding-bottom: 1.25rem;
    align-items: center;
    gap: .65rem;
    border-bottom: 1px solid var(--site-border);
}

.test-status-dot {
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: #a4bd1c;
    box-shadow: 0 0 0 .3rem rgba(164, 189, 28, .13);
}

.test-details > div {
    display: grid;
    padding: 1rem 0;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1rem;
    border-bottom: 1px solid var(--site-border);
}

.test-details dt {
    color: var(--site-muted);
    font-weight: 500;
}

.test-details dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
}

.test-history-row {
    display: grid;
    padding: 1rem 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--site-border);
    text-decoration: none;
}

.test-history-row:hover span {
    text-decoration: underline;
}

.test-history-row time {
    color: var(--site-muted);
    font-size: .85rem;
}

.privacy-badge,
.visibility-status,
.run-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    border: 1px solid #ddddda;
    border-radius: 999px;
    background: #f2f2ef;
    color: #686868;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .28rem .55rem;
    text-transform: uppercase;
}

.visibility-status {
    padding: .38rem .65rem;
}

.run-status {
    padding: .38rem .65rem;
}

.run-status-pending,
.run-status-running {
    border-color: #d9c579;
    background: #fff6cf;
    color: #6e5900;
}

.run-status-completed {
    border-color: #bcd889;
    background: #edf8dc;
    color: #3e641b;
}

.run-status-failed {
    border-color: #e4aaaa;
    background: #fff0f0;
    color: #922c2c;
}

.privacy-badge-public,
.visibility-status-public {
    border-color: #cbdc6b;
    background: #eff8bc;
    color: #536000;
}

.share-panel {
    display: grid;
    margin-top: .75rem;
    padding: .9rem;
    gap: .75rem;
    border: 1px solid #d7d7d1;
    border-radius: .75rem;
    background: #f7f7f4;
}

.share-panel {
    border-color: #d5e284;
    background: #f8fbdc;
}

.publish-panel-label {
    color: var(--site-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.share-link-row {
    display: flex;
    gap: .6rem;
}

.analysis-progress-card,
.analysis-error-card {
    display: flex;
    max-width: 860px;
    padding: 1rem;
    align-items: center;
    gap: .8rem;
    border: 1px solid var(--site-border);
    border-radius: .8rem;
    background: #fff;
}

.analysis-error-card {
    display: block;
    border-color: #ebc0c0;
    background: #fffafa;
}

.analysis-spinner {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    border: .25rem solid #ecefcf;
    border-top-color: #879d0d;
    border-radius: 50%;
    animation: analysis-spin .85s linear infinite;
}

@keyframes analysis-spin {
    to { transform: rotate(360deg); }
}

.result-summary-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: .55rem;
}

.summary-card {
    display: flex;
    min-height: 98px;
    padding: .8rem;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--site-border);
    border-radius: .7rem;
    background: #fff;
}

.summary-card-main {
    justify-content: space-between;
    background: #191919;
    color: #fff;
}

.summary-card strong {
    font-size: 1.25rem;
    line-height: 1.1;
}

.summary-card span:last-child {
    margin-top: .2rem;
    color: #77776f;
    font-size: .82rem;
}

.summary-card-main span:last-child {
    color: #aaa;
}

.result-section {
    margin-top: .65rem;
    padding: .9rem;
    border: 1px solid var(--site-border);
    border-radius: .8rem;
    background: #fff;
}

.result-section-heading {
    display: flex;
    margin-bottom: .8rem;
    align-items: flex-start;
    gap: .65rem;
}

.result-section-heading h2 {
    font-size: 1.05rem;
    line-height: 1.25;
}

.result-section-heading p {
    font-size: .78rem;
    line-height: 1.4;
}

.result-section-number {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 1.9rem;
    place-items: center;
    border-radius: .5rem;
    background: #f0f2dc;
    color: #647300;
    font-size: .64rem;
    font-weight: 800;
}

.result-pill {
    display: inline-flex;
    width: max-content;
    align-items: center;
    border-radius: 999px;
    padding: .2rem .45rem;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.result-pill-pass,
.result-pill-passed {
    background: #e8f6d8;
    color: #3a6714;
}

.result-pill-warn,
.result-pill-warning {
    background: #fff1bf;
    color: #725800;
}

.result-pill-fail,
.result-pill-failed {
    background: #ffe1e1;
    color: #9a2828;
}

.result-pill-info {
    background: #e7eef8;
    color: #35516f;
}

.result-highlight {
    display: flex;
    padding: .7rem;
    align-items: flex-start;
    gap: .6rem;
    border: 1px solid var(--site-border);
    border-radius: .6rem;
    background: #f8f8f5;
}

.result-highlight-pass {
    border-color: #cee3ab;
    background: #f5faed;
}

.result-highlight-warn {
    border-color: #ead48c;
    background: #fffbec;
}

.result-highlight-fail {
    border-color: #ebc0c0;
    background: #fff6f6;
}

.result-highlight-info {
    border-color: #cad8e7;
    background: #f5f8fc;
}

.variant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
}

.variant-card {
    min-width: 0;
    padding: .7rem;
    border: 1px solid var(--site-border);
    border-radius: .6rem;
    background: #fafaf8;
}

.redirect-chain {
    display: grid;
    gap: .3rem;
}

.redirect-hop {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .6rem;
    color: var(--site-muted);
    font-size: .8rem;
}

.http-code {
    display: inline-grid;
    min-width: 2.8rem;
    padding: .18rem .35rem;
    place-items: center;
    border-radius: .4rem;
    background: #e8f6d8;
    color: #3a6714;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 700;
}

.http-code-bad {
    background: #ffe1e1;
    color: #9a2828;
}

.variant-meta {
    display: grid;
    margin-top: .6rem;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}

.variant-meta > div {
    padding-top: .45rem;
    border-top: 1px solid var(--site-border);
}

.variant-meta dt {
    color: var(--site-muted);
    font-size: .68rem;
    font-weight: 500;
}

.variant-meta dd {
    margin: .15rem 0 0;
    font-size: .78rem;
    font-weight: 700;
}

.result-table-wrap {
    border: 1px solid var(--site-border);
    border-radius: .6rem;
}

.result-table-wrap .table > :not(caption) > * > * {
    padding: .5rem .65rem;
    border-color: var(--site-border);
}

.result-table-wrap thead th {
    color: var(--site-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.header-importance {
    color: var(--site-muted);
    font-size: .78rem;
}

.header-value {
    max-width: 28rem;
    overflow-wrap: anywhere;
    font-size: .82rem;
}

.check-list {
    border: 1px solid var(--site-border);
    border-radius: .6rem;
    overflow: hidden;
}

.result-check {
    display: grid;
    padding: .6rem .7rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
}

.result-check + .result-check {
    border-top: 1px solid var(--site-border);
}

.result-check strong,
.result-check span:not(.result-pill, .result-dot) {
    display: block;
}

.result-check span:not(.result-pill, .result-dot) {
    margin-top: .15rem;
    color: var(--site-muted);
    font-size: .8rem;
}

.result-dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    background: #6a7e91;
}

.result-dot-pass { background: #77a63d; }
.result-dot-warn { background: #d9a91e; }
.result-dot-fail { background: #ce5151; }
.result-dot-info { background: #6a7e91; }

.certificate-meta {
    display: grid;
    margin-top: .65rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
}

.certificate-meta > div {
    padding: .6rem;
    border-radius: .55rem;
    background: #f6f6f3;
}

.certificate-meta dt {
    color: var(--site-muted);
    font-size: .7rem;
    font-weight: 500;
}

.certificate-meta dd {
    margin: .25rem 0 0;
    overflow-wrap: anywhere;
    font-size: .82rem;
    font-weight: 700;
}

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

.metric-grid > div {
    display: flex;
    min-height: 76px;
    padding: .65rem;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: .6rem;
    background: #f5f5f2;
}

.metric-grid strong {
    font-size: 1rem;
}

.metric-grid span {
    margin-top: .25rem;
    color: var(--site-muted);
    font-size: .75rem;
}

.preview-report {
    overflow: hidden;
}

.serp-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
    align-items: start;
    gap: .65rem;
}

.preview-device {
    min-width: 0;
    padding: .65rem;
    border: 1px solid #deded9;
    border-radius: .7rem;
    background: #f8f8f6;
}

.preview-device-mobile {
    max-width: 390px;
}

.preview-device-label,
.social-preview-platform {
    display: flex;
    margin-bottom: .5rem;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: var(--site-muted);
    font-size: .72rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.preview-device-label strong,
.social-preview-platform strong {
    color: var(--bs-body-color);
}

.google-result-preview {
    min-height: 150px;
    padding: .85rem;
    border: 1px solid #e7e7e4;
    border-radius: .6rem;
    background: #fff;
    font-family: Arial, sans-serif;
}

.preview-device-mobile .google-result-preview {
    min-height: 180px;
    padding: .8rem;
}

.google-result-source {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .65rem;
    color: #202124;
}

.google-result-source > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.google-result-source strong,
.google-result-source small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.google-result-source strong {
    font-size: .86rem;
    font-weight: 400;
}

.google-result-source small {
    color: #4d5156;
    font-size: .72rem;
}

.google-result-favicon {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    overflow: hidden;
    place-items: center;
    border-radius: 50%;
    background: #f1f3f4;
    color: #5f6368;
    font-size: .75rem;
    font-weight: 700;
}

.google-result-favicon img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

.google-result-preview h3 {
    display: -webkit-box;
    margin: .7rem 0 .3rem;
    overflow: hidden;
    color: #1a0dab;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.preview-device-mobile .google-result-preview h3 {
    font-size: 1.15rem;
    -webkit-line-clamp: 2;
}

.google-result-preview p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #4d5156;
    font-size: .88rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.preview-device-mobile .google-result-preview p {
    -webkit-line-clamp: 3;
}

.preview-notice {
    margin-top: .6rem;
    color: var(--site-muted);
    font-size: .75rem;
}

.social-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-items: start;
    gap: .75rem;
}

.social-preview-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #deded9;
    border-radius: .7rem;
    background: #fff;
}

.social-preview-facebook {
    max-width: 500px;
}

.social-preview-x {
    max-width: 550px;
}

.social-preview-discord {
    max-width: 520px;
}

.social-preview-platform {
    margin: 0;
    padding: .55rem .75rem;
    border-bottom: 1px solid #e4e4df;
    background: #f8f8f6;
}

.social-preview-image {
    display: grid;
    aspect-ratio: 1.91 / 1;
    overflow: hidden;
    place-items: center;
    background: #ecece8;
    color: var(--site-muted);
    font-size: .78rem;
    text-align: center;
}

.social-preview-image img,
.social-preview-discord-body > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-preview-content {
    display: flex;
    min-height: 105px;
    padding: .65rem .75rem;
    flex-direction: column;
    gap: .3rem;
    background: #f2f3f5;
}

.social-preview-content small,
.social-preview-discord-body small {
    color: #65676b;
    font-size: .68rem;
    letter-spacing: .03em;
}

.social-preview-content strong,
.social-preview-discord-body strong {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.social-preview-content p,
.social-preview-discord-body p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #65676b;
    font-size: .8rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.social-preview-x .social-preview-content {
    background: #fff;
}

.social-preview-discord {
    border-color: #34363c;
    background: #313338;
}

.social-preview-discord .social-preview-platform {
    border-color: #41434a;
    background: #2b2d31;
}

.social-preview-discord .social-preview-platform strong,
.social-preview-discord .social-preview-platform span {
    color: #f2f3f5;
}

.social-preview-discord-body {
    display: flex;
    margin: .7rem;
    padding: .65rem;
    flex-direction: column;
    gap: .35rem;
    border-left: .22rem solid #5865f2;
    border-radius: .25rem;
    background: #2b2d31;
    color: #f2f3f5;
}

.social-preview-discord-body small,
.social-preview-discord-body p {
    color: #b5bac1;
}

.social-preview-discord-body > img,
.social-preview-image-inline {
    height: auto;
    margin-top: .45rem;
    aspect-ratio: 1.91 / 1;
    border-radius: .35rem;
}

.seo-mode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
}

.seo-mode-grid > div {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .65rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .65rem;
    background: #fff;
}

.seo-mode-grid strong {
    font-size: 1rem;
}

.seo-mode-grid span:not(.seo-mode-label) {
    color: var(--bs-secondary-color);
    font-size: .75rem;
}

.seo-mode-label {
    color: var(--bs-secondary-color);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.seo-section-list {
    display: grid;
    gap: .45rem;
}

.seo-section-card {
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: .65rem;
    background: #fff;
}

.seo-section-card > summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .6rem;
    padding: .6rem .7rem;
    cursor: pointer;
    list-style: none;
}

.seo-section-card > summary::-webkit-details-marker {
    display: none;
}

.seo-section-card[open] > summary {
    border-bottom: 1px solid var(--bs-border-color);
    background: #fafbf4;
}

.seo-section-card > summary:hover {
    background: #f8f9f1;
}

.seo-section-index {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 50%;
    background: #f1f3f5;
    color: #495057;
    font-size: .65rem;
    font-weight: 800;
}

.seo-section-title,
.seo-section-summary,
.seo-item-row > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .15rem;
}

.seo-section-title small,
.seo-section-summary small,
.seo-item-row span:not(.result-pill) {
    color: var(--bs-secondary-color);
}

.seo-section-summary {
    align-items: flex-end;
}

.seo-section-toggle {
    width: .58rem;
    height: .58rem;
    margin: 0 .15rem .2rem .1rem;
    border-right: 2px solid #687400;
    border-bottom: 2px solid #687400;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.seo-section-card[open] .seo-section-toggle {
    margin-bottom: -.1rem;
    transform: rotate(225deg);
}

.seo-section-body {
    padding: .65rem;
}

.seo-metric-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    margin: 0 0 .65rem;
}

.seo-metric-list > div {
    min-width: 0;
    padding: .5rem;
    border-radius: .5rem;
    background: #f8f9fa;
}

.seo-metric-list dt {
    color: var(--bs-secondary-color);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.seo-metric-list dd {
    margin: .15rem 0 0;
    font-weight: 650;
}

.seo-item-list {
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: .6rem;
}

.seo-item-row {
    display: grid;
    grid-template-columns: minmax(5rem, auto) minmax(0, 1fr);
    align-items: start;
    gap: .5rem;
    padding: .5rem .6rem;
}

.seo-item-row + .seo-item-row {
    border-top: 1px solid var(--bs-border-color);
}

.empty-state {
    padding: 2rem 1rem;
    border-top: 1px solid var(--site-border);
    text-align: center;
}

.footer-link {
    color: var(--site-muted);
    font-size: .85rem;
    text-decoration: none;
}

.language-link {
    color: var(--site-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
}

.language-link:hover,
.language-link.active {
    color: var(--bs-dark);
}

@media (max-width: 991.98px) {
    .home-section-heading-sticky {
        position: static;
    }

    .report-header-grid {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .report-layout.container {
        display: block;
        max-width: 1120px;
    }

    .report-sidebar {
        top: 72px;
        max-height: none;
        margin: 0 calc(var(--bs-gutter-x) * -.5);
        overflow: visible;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: 0 .35rem 1rem rgba(20, 20, 20, .08);
    }

    .report-sidebar-inner {
        max-height: none;
        padding: .5rem calc(var(--bs-gutter-x) * .5);
    }

    .report-toolbar-heading {
        display: none;
    }

    .report-status-filters {
        display: flex;
        padding-bottom: .4rem;
        gap: .35rem;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    .report-status-filter {
        min-width: max-content;
        flex: 0 0 auto;
        padding: .38rem .6rem;
    }

    .report-toolbar-links {
        padding-top: .5rem;
        flex-direction: row;
        gap: .3rem;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
    }

    .report-toolbar-links a {
        width: auto;
        flex: 0 0 auto;
        padding: .35rem .55rem;
        white-space: nowrap;
    }

    .report-nav-group-label {
        display: none;
    }

    .report-content {
        padding-top: 1rem !important;
    }

    [data-report-anchor] {
        scroll-margin-top: 11rem;
    }
}

@media (max-width: 767.98px) {
    .home-audit-card {
        padding: 1.25rem;
    }

    .home-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .home-cta .btn {
        width: 100%;
    }

    .serp-preview-grid,
    .social-preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-device-mobile {
        max-width: none;
    }

    .page-header .display-5 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .report-action-panel,
    .report-header-retest,
    .report-privacy-action form {
        width: 100%;
    }

    .error-actions .btn {
        width: 100%;
    }

    .report-action-panel,
    .report-privacy-action {
        grid-template-columns: 1fr;
    }

    .report-header-retest,
    .report-privacy-action {
        grid-column: 1;
    }

    .result-section {
        padding: .75rem;
    }

    .result-section-heading {
        gap: .55rem;
    }

    .seo-mode-grid,
    .seo-metric-list {
        grid-template-columns: 1fr;
    }

    .seo-section-card > summary {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .seo-section-summary {
        grid-column: 2;
        align-items: flex-start;
    }

    .seo-section-toggle {
        grid-column: 3;
        grid-row: 1;
    }
    .hero-card {
        transform: none;
    }

    .info-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .url-test-form-row {
        flex-direction: column;
    }

    .test-details > div {
        grid-template-columns: 1fr;
        gap: .35rem;
    }

    .test-history-row {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .dashboard-danger-zone {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-danger-zone .btn {
        width: 100%;
    }

    .share-link-row {
        align-items: stretch;
        flex-direction: column;
    }

    .variant-grid,
    .certificate-meta,
    .metric-grid {
        grid-template-columns: 1fr;
    }

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

    .summary-card-main {
        grid-column: 1 / -1;
    }

    .result-summary-grid .summary-card:not(.summary-card-main) {
        min-height: 78px;
        padding: .65rem;
    }

    .result-highlight,
    .analysis-progress-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .result-check {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .result-check .result-pill {
        grid-column: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seo-section-toggle {
        transition: none;
    }
}
