:root {
    --bg: #07111f;
    --bg-soft: #0d1b2f;
    --panel: rgba(255, 255, 255, 0.08);
    --panel-strong: rgba(255, 255, 255, 0.13);
    --text: #f6f8fb;
    --muted: #aab7ca;
    --line: rgba(255, 255, 255, 0.14);
    --primary: #6ee7b7;
    --primary-dark: #10b981;
    --accent: #8b5cf6;
    --warning: #fbbf24;
    --danger: #fb7185;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius: 24px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.28), transparent 34rem),
        radial-gradient(circle at 70% 10%, rgba(16, 185, 129, 0.22), transparent 28rem),
        linear-gradient(180deg, #07111f 0%, #0a1322 52%, #f6f8fb 52%, #f6f8fb 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

code {
    padding: 0.15rem 0.35rem;
    border-radius: 8px;
    color: #d1fae5;
    background: rgba(16, 185, 129, 0.16);
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(760px, calc(100% - 40px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 17, 31, 0.82);
    backdrop-filter: blur(18px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    color: #04120d;
    background: linear-gradient(135deg, var(--primary), #d9f99d);
    box-shadow: 0 12px 32px rgba(110, 231, 183, 0.24);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #dbe5f4;
    font-weight: 650;
}

.nav-links a:hover,
.back-link:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 11px 16px;
    border: 1px solid rgba(110, 231, 183, 0.38);
    border-radius: 999px;
    color: #d1fae5;
    background: rgba(16, 185, 129, 0.12);
}

.nav-form {
    margin: 0;
}

.nav-form button {
    padding: 0;
    border: 0;
    color: #dbe5f4;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 650;
}

.nav-form button:hover {
    color: var(--primary);
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid #dbe6f1;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.app-nav {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 14px 0;
}

.app-brand {
    color: #0b1628;
}

.app-nav-links {
    justify-content: center;
    gap: 8px;
    color: #526273;
}

.app-nav-links a {
    padding: 10px 12px;
    border-radius: 999px;
}

.app-nav-links a:hover,
.app-nav-links a.is-active {
    color: #065f46;
    background: #d1fae5;
}

.app-account-menu {
    position: relative;
    min-width: 0;
}

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

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

.app-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 850;
    white-space: nowrap;
}

.app-user-chip::after {
    content: "▾";
    color: #64748b;
    font-size: 0.75rem;
}

.app-user-chip {
    max-width: 180px;
    overflow: hidden;
    color: #102033;
    background: #f1f5f9;
    text-overflow: ellipsis;
}

.app-account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 40;
    display: grid;
    min-width: 190px;
    padding: 8px;
    border: 1px solid #dbe6f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.app-account-dropdown a,
.app-account-dropdown button {
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    padding: 0 10px;
    border-radius: 11px;
    color: #334155;
    text-align: left;
    font: inherit;
    font-weight: 800;
}

.app-account-dropdown a:hover,
.app-account-dropdown button:hover {
    color: #065f46;
    background: #d1fae5;
}

.app-header .nav-form button {
    color: #526273;
}

.app-header .nav-form button:hover {
    color: var(--primary-dark);
}

.nav-toggle {
    display: none;
}

.hero,
.page-hero {
    padding: 92px 0 70px;
}

.hero-grid,
.split-grid,
.app-grid,
.footer-grid,
.app-heading {
    display: grid;
    gap: 34px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    align-items: center;
}

.hero-visual {
    position: relative;
    display: grid;
    min-height: 420px;
    place-items: center;
    overflow: hidden;
    border-radius: calc(var(--radius) + 18px);
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.split-grid h2 {
    margin: 0;
    font-size: clamp(2.35rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
}

.page-hero h1,
.section-heading h2,
.split-grid h2 {
    font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.hero-copy p,
.page-hero p,
.lead {
    max-width: 660px;
    font-size: 1.14rem;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #04120d;
    background: linear-gradient(135deg, var(--primary), #d9f99d);
    box-shadow: 0 18px 38px rgba(110, 231, 183, 0.22);
}

.hero-cta {
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid rgba(217, 249, 157, 0.72);
    box-shadow:
        0 20px 44px rgba(110, 231, 183, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.hero-cta::after {
    content: "->";
    margin-left: 10px;
    font-weight: 900;
    transition: transform 0.2s ease;
}

.hero-cta:hover {
    box-shadow:
        0 24px 54px rgba(110, 231, 183, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.hero-cta:hover::after {
    transform: translateX(3px);
}

.button-ghost {
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.section .button-ghost,
.article .button-ghost {
    border-color: #d8e1eb;
    color: #102033;
    background: #fff;
}

.button-danger {
    color: #fff;
    background: #be123c;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.text-link {
    color: var(--primary-dark);
    font-weight: 800;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    color: rgba(207, 225, 247, 0.76);
    font-size: 0.92rem;
    font-weight: 750;
}

.trust-list span {
    display: inline-flex;
    align-items: center;
}

.trust-list span + span::before {
    content: "|";
    margin: 0 12px;
    color: rgba(110, 231, 183, 0.62);
}

.badge {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #cfe1f7;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
}

.hero-card,
.panel,
.monitor-card,
.feature-card,
.price-card,
.post-card,
.mini-pricing {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--panel-strong), var(--panel));
    box-shadow: var(--shadow);
}

.hero-card {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.055));
    backdrop-filter: blur(4px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-card.is-scanning {
    border-color: rgba(110, 231, 183, 0.32);
    box-shadow: var(--shadow), 0 0 42px rgba(110, 231, 183, 0.12);
}

.scan-streams {
    position: absolute;
    inset: 10px 0;
    display: grid;
    align-content: center;
    gap: 18px;
    opacity: 0.58;
    pointer-events: none;
    transform: rotate(-5deg);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

.scan-stream {
    display: flex;
    width: max-content;
    min-width: 100%;
    animation: scan-marquee 26s linear infinite;
}

.scan-stream:nth-child(2) {
    animation-duration: 32s;
}

.scan-stream:nth-child(3) {
    animation-duration: 29s;
}

.scan-stream-reverse {
    animation-name: scan-marquee-reverse;
}

.scan-stream-group {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    padding-right: 12px;
}

.scan-stream span {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid rgba(110, 231, 183, 0.24);
    border-radius: 999px;
    color: rgba(209, 250, 229, 0.86);
    background: rgba(255, 255, 255, 0.075);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

@keyframes scan-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scan-marquee-reverse {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.scan-header,
.monitor-top,
.monitor-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 10px rgba(110, 231, 183, 0.13);
}

.hero-card.is-scanning .pulse {
    animation: scan-pulse 1.1s ease-in-out infinite;
}

.scan-target {
    display: block;
    max-width: 240px;
    margin-top: 5px;
    overflow: hidden;
    color: rgba(207, 225, 247, 0.74);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score-ring {
    display: grid;
    width: 160px;
    height: 160px;
    margin: 32px auto;
    place-items: center;
    border: 14px solid rgba(110, 231, 183, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    font-size: 3rem;
    font-weight: 900;
    transition: border-color 0.35s ease, color 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.hero-card.is-scanning .score-ring {
    color: rgba(246, 248, 251, 0.62);
    opacity: 0.82;
    transform: scale(0.96);
    animation: score-scan 1.15s ease-in-out infinite;
}

.scan-list,
.price-card ul,
.issue-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.scan-list li,
.issue-list li {
    display: flex;
    gap: 10px;
    color: #dce8f7;
}

.scan-list {
    min-height: 90px;
}

.scan-list li {
    animation: scan-result-in 0.42s ease both;
}

.scan-list li:nth-child(2) {
    animation-delay: 0.06s;
}

.scan-list li:nth-child(3) {
    animation-delay: 0.12s;
}

.ok,
.warn {
    width: 10px;
    height: 10px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--primary);
}

.warn {
    background: var(--warning);
}

.danger-dot {
    width: 10px;
    height: 10px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--danger);
}

@keyframes scan-pulse {
    50% {
        box-shadow: 0 0 0 15px rgba(110, 231, 183, 0.08);
        transform: scale(0.86);
    }
}

@keyframes score-scan {
    50% {
        border-color: rgba(110, 231, 183, 0.36);
        border-top-color: #d9f99d;
        box-shadow: inset 0 0 26px rgba(110, 231, 183, 0.08);
    }
}

@keyframes scan-result-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    padding: 76px 0;
    color: #102033;
    background: #f6f8fb;
}

.section p {
    color: #526273;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading .eyebrow,
.split-section .eyebrow,
.price-card .eyebrow {
    color: var(--primary-dark);
}

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

.feature-grid.large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.price-card,
.post-card,
.panel,
.monitor-card,
.empty-state,
.mini-pricing {
    color: #102033;
    background: #fff;
    box-shadow: 0 20px 60px rgba(20, 32, 51, 0.09);
}

.feature-card,
.price-card,
.post-card {
    padding: 28px;
}

.feature-card h2,
.feature-card h3,
.price-card h2,
.post-card h2,
.monitor-card h2 {
    margin: 0 0 12px;
    color: #0b1628;
    letter-spacing: -0.03em;
}

.icon {
    display: inline-grid;
    min-width: 46px;
    height: 46px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 15px;
    color: #042016;
    background: #d1fae5;
    font-weight: 900;
}

.split-section {
    padding-top: 30px;
}

.split-grid {
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
}

.mini-pricing {
    display: grid;
    gap: 12px;
    padding: 14px;
}

.mini-pricing div {
    display: grid;
    gap: 8px;
    padding: 22px;
    border-radius: 18px;
    background: #f1f5f9;
}

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

.step-list article,
.use-case-grid article,
.final-cta {
    border: 1px solid #dce6f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(20, 32, 51, 0.08);
}

.step-list article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    padding: 22px;
}

.step-list span {
    grid-row: span 2;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    color: #042016;
    background: #d1fae5;
    font-weight: 900;
}

.step-list strong,
.use-case-grid strong {
    color: #0b1628;
    font-size: 1.05rem;
}

.step-list p,
.use-case-grid p {
    margin: 0;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.use-case-grid article {
    padding: 24px;
}

.final-cta-section {
    padding-top: 24px;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    background:
        radial-gradient(circle at top right, rgba(110, 231, 183, 0.18), transparent 24rem),
        #fff;
}

.final-cta h2 {
    margin: 0;
    color: #0b1628;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.final-cta p {
    max-width: 640px;
    margin-bottom: 0;
}

.mini-pricing span,
.price {
    color: #0b1628;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.price span {
    font-size: 1rem;
    color: #64748b;
}

.price-card.highlighted {
    border: 2px solid var(--primary-dark);
    transform: translateY(-10px);
}

.price-card ul {
    margin: 22px 0;
    color: #43566d;
}

.price-card li::before {
    content: "✓ ";
    color: var(--primary-dark);
    font-weight: 900;
}

.post-card span,
.post-card time {
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 800;
}

.post-card h2 a:hover {
    color: var(--primary-dark);
}

.article {
    padding: 78px 0;
    color: #102033;
    background: #f6f8fb;
}

.article h1 {
    margin: 18px 0;
    color: #0b1628;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.article h2 {
    color: #0b1628;
}

.back-link {
    color: var(--primary-dark);
    font-weight: 800;
}

.app-hero {
    padding-bottom: 44px;
}

.app-heading {
    grid-template-columns: 1fr auto;
    align-items: end;
}

.app-grid {
    grid-template-columns: 360px 1fr;
    align-items: start;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 24px;
    align-items: stretch;
}

.auth-card,
.auth-side {
    min-height: 100%;
}

.check-list,
.setup-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
    padding-left: 1.2rem;
    color: #43566d;
    line-height: 1.6;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card {
    padding: 22px;
    border: 1px solid #dce6f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(20, 32, 51, 0.08);
}

.stat-card span,
.stat-card small {
    display: block;
    color: #64748b;
    font-weight: 700;
}

.stat-card strong {
    display: block;
    margin: 8px 0;
    color: #0b1628;
    font-size: 1.7rem;
    letter-spacing: -0.04em;
}

.panel,
.monitor-card,
.empty-state {
    padding: 24px;
}

.panel {
    position: sticky;
    top: 96px;
}

.form {
    display: grid;
    gap: 16px;
}

.form label {
    display: grid;
    gap: 8px;
    color: #34465c;
    font-weight: 800;
}

.form input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d8e1eb;
    border-radius: 14px;
    color: #102033;
    font: inherit;
}

.form input:focus {
    outline: 3px solid rgba(16, 185, 129, 0.16);
    border-color: var(--primary-dark);
}

.flash {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 800;
}

.flash.success {
    color: #065f46;
    background: #d1fae5;
}

.flash.error {
    color: #9f1239;
    background: #ffe4e6;
}

.monitor-list {
    display: grid;
    gap: 18px;
}

.monitor-card {
    border-left: 6px solid #94a3b8;
}

.monitor-card.healthy {
    border-left-color: var(--primary-dark);
}

.monitor-card.warning {
    border-left-color: var(--warning);
}

.monitor-card.critical {
    border-left-color: var(--danger);
}

.monitor-card.pending {
    border-left-color: #94a3b8;
}

.monitor-card.is-paused {
    opacity: 0.72;
}

.monitor-top a {
    color: #526273;
    overflow-wrap: anywhere;
}

.status-pill {
    flex: none;
    padding: 8px 12px;
    border-radius: 999px;
    color: #0b1628;
    background: #e2e8f0;
    font-weight: 900;
}

.monitor-meta {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 18px 0;
    color: #526273;
    font-size: 0.92rem;
}

.issue-list {
    margin-bottom: 18px;
}

.result-box {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #dce6f0;
    border-radius: 18px;
    background: #f8fafc;
}

.result-box strong {
    display: block;
    margin-bottom: 12px;
    color: #0b1628;
}

.issue-list li {
    color: #3d4f63;
}

.issue-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 0.55rem;
    border-radius: 50%;
    background: var(--accent);
}

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

.monitor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.monitor-actions form {
    margin: 0;
}

.app-shell {
    min-height: calc(100vh - 72px);
    padding: 30px 0 64px;
    color: #102033;
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 28rem),
        linear-gradient(180deg, #f5f8fc 0%, #fff 100%);
}

.app-dashboard {
    width: min(1240px, calc(100% - 40px));
}

.app-nav {
    width: min(1240px, calc(100% - 40px));
}

.app-shell .flash {
    margin-bottom: 20px;
}

.app-topbar {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #dbe6f1;
}

.app-topbar h1,
.panel-heading h2,
.dashboard-sidebar h2 {
    margin: 0;
    color: #0b1628;
    letter-spacing: -0.05em;
}

.app-topbar h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.app-topbar p {
    max-width: 760px;
    margin: 10px 0 0;
    color: #526273;
}

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

.panel-kicker,
.table-count,
.url-table th {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-shell .button-ghost {
    border-color: #d8e1eb;
    color: #102033;
    background: #fff;
}

.app-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 28px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.app-stat-grid .stat-card {
    padding: 18px 20px;
    border: 0;
    border-right: 1px solid #e2e8f0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.app-stat-grid .stat-card:last-child {
    border-right: 0;
}

.stat-card.is-critical strong {
    color: #be123c;
}

.account-hub {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.account-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid #dbe6f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.account-card span {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-card strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 1.1rem;
}

.account-card p {
    margin: 8px 0 12px;
    color: #526273;
}

.app-page {
    max-width: 1240px;
}

.app-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.app-page-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #dbe6f1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.app-page-card h2 {
    margin: 8px 0 10px;
    color: #0f172a;
    letter-spacing: -0.04em;
}

.app-page-card p {
    color: #526273;
}

.app-check-list {
    margin-top: 16px;
}

.profile-list {
    display: grid;
    gap: 16px;
    margin: 0;
}

.profile-list div {
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.profile-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.profile-list dt {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-list dd {
    margin: 6px 0 0;
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 800;
}

.app-shell .panel {
    position: static;
}

.add-url-drawer {
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid #dbe6f1;
    border-radius: 18px;
    background: #f8fafc;
}

.inline-add-form {
    display: grid;
    grid-template-columns: minmax(170px, 0.7fr) minmax(240px, 1fr) minmax(190px, auto) auto;
    gap: 14px;
    align-items: end;
}

.inline-add-form .add-url-name {
    grid-column: 1;
}

.inline-add-form .add-url-url {
    grid-column: 2 / -1;
}

.inline-add-form .checkbox-field {
    grid-column: 1;
}

.inline-add-form .sitemap-field {
    grid-column: 2 / 4;
}

.inline-add-form .button {
    grid-column: 4;
}

.inline-add-form label {
    display: grid;
    gap: 8px;
    color: #34465c;
    font-weight: 800;
}

.inline-add-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #d8e1eb;
    border-radius: 14px;
    color: #102033;
    font: inherit;
}

.inline-add-form input:focus {
    outline: 3px solid rgba(16, 185, 129, 0.16);
    border-color: var(--primary-dark);
}

.checkbox-field {
    min-height: 46px;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #d8e1eb;
    border-radius: 14px;
    background: #fff;
}

.checkbox-field input {
    width: 18px;
    min-height: 18px;
    padding: 0;
    accent-color: var(--primary-dark);
}

.sitemap-field[hidden] {
    display: none;
}

.dashboard-panel {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dbe6f1;
    border-radius: 20px;
    background: #fff;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px;
    border-bottom: 1px solid #e2e8f0;
}

.table-count {
    padding: 8px 12px;
    border-radius: 999px;
    color: #0f766e;
    background: #ccfbf1;
}

.url-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.url-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.url-table th,
.url-table td {
    padding: 16px 14px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
}

.url-table tbody tr:hover {
    background: #f8fafc;
}

.url-row[data-row-href] {
    cursor: pointer;
}

.url-row[data-row-href]:focus-visible {
    outline: 3px solid rgba(16, 185, 129, 0.24);
    outline-offset: -3px;
}

.url-table tbody tr:last-child td {
    border-bottom: 0;
}

.url-cell {
    min-width: 240px;
}

.url-cell strong,
.url-table td > strong {
    display: block;
    color: #0f172a;
}

.url-cell a,
.url-table small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.site-cell {
    min-width: 150px;
}

.url-row.is-paused {
    opacity: 0.68;
}

.status-pill.status-healthy {
    color: #065f46;
    background: #d1fae5;
}

.status-pill.status-warning {
    color: #92400e;
    background: #fef3c7;
}

.status-pill.status-critical {
    color: #9f1239;
    background: #ffe4e6;
}

.score-badge,
.issue-summary {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    color: #0f172a;
    background: #e2e8f0;
    font-weight: 900;
    white-space: nowrap;
}

.score-badge.is-empty,
.issue-summary.is-muted {
    color: #64748b;
    background: #f1f5f9;
}

.issue-summary.is-ok {
    color: #065f46;
    background: #d1fae5;
}

.issue-summary.is-error {
    color: #9f1239;
    background: #ffe4e6;
}

.url-actions {
    display: flex;
    min-width: 132px;
    flex-wrap: wrap;
    gap: 8px;
}

.url-actions form {
    margin: 0;
}

.monitor-detail-page {
    width: min(1280px, calc(100% - 40px));
}

.monitor-detail-hero,
.detail-panel,
.detail-stat-card {
    border: 1px solid #dbe6f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.monitor-detail-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding: 26px;
    border-left: 7px solid #94a3b8;
}

.monitor-detail-hero.healthy {
    border-left-color: var(--primary-dark);
}

.monitor-detail-hero.warning {
    border-left-color: var(--warning);
}

.monitor-detail-hero.critical {
    border-left-color: var(--danger);
}

.monitor-detail-hero.is-paused {
    opacity: 0.76;
}

.monitor-detail-hero h1 {
    margin-bottom: 8px;
}

.monitor-detail-hero a {
    color: #526273;
    overflow-wrap: anywhere;
}

.monitor-detail-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

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

.detail-stat-card {
    padding: 18px;
}

.detail-stat-card span,
.detail-meta-list dt {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-stat-card strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.detail-stat-card small {
    display: block;
    margin-top: 4px;
    color: #64748b;
}

.monitor-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
    gap: 18px;
    align-items: start;
}

.detail-panel {
    padding: 22px;
}

.detail-panel-primary,
.detail-settings-panel {
    min-width: 0;
}

.detail-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.detail-panel-heading h2 {
    margin: 4px 0 0;
}

.detail-panel-heading form,
.detail-action-stack form {
    margin: 0;
}

.detail-empty,
.detail-alert,
.detail-success {
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
}

.detail-alert {
    color: #9f1239;
    background: #ffe4e6;
}

.detail-success {
    color: #065f46;
    background: #d1fae5;
}

.detail-issue-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-issue-list li {
    padding: 12px 14px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    color: #92400e;
    background: #fff7ed;
    font-weight: 800;
}

.detail-action-stack {
    display: grid;
    gap: 10px;
}

.detail-action-stack .button,
.detail-settings-form .button {
    width: 100%;
}

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

.detail-settings-form label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-weight: 800;
}

.detail-settings-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #d8e1eb;
    border-radius: 14px;
    color: #102033;
    font: inherit;
}

.detail-settings-form input:focus {
    outline: 3px solid rgba(16, 185, 129, 0.16);
    border-color: var(--primary-dark);
}

.detail-settings-form .detail-checkbox {
    display: grid;
}

.detail-settings-form .checkbox-field input {
    width: 18px;
    min-height: 18px;
    padding: 0;
}

.detail-meta-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.detail-meta-list div {
    min-width: 0;
}

.detail-meta-list dd {
    margin: 5px 0 0;
    color: #0f172a;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.icon-button {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 12px;
}

.action-icon {
    display: block;
    width: 16px;
    height: 16px;
    color: currentColor;
}

.app-empty-state {
    margin: 24px;
    border: 1px dashed #cbd5e1;
    box-shadow: none;
}

.muted-note {
    color: #64748b;
}

.error-text {
    margin-bottom: 0;
    color: #be123c;
    font-weight: 800;
}

.setup-panel {
    padding: 30px;
}

.footer {
    padding: 54px 0;
    color: #dce8f7;
    background: #07111f;
}

.footer-grid {
    grid-template-columns: 1.5fr 0.5fr 0.5fr;
}

.footer p {
    max-width: 460px;
}

.footer a {
    display: block;
    margin-top: 10px;
    color: #b9c7d9;
}

.footer a.brand {
    display: inline-flex;
    margin-top: 0;
    color: var(--text);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
        padding: 9px 13px;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--text);
        background: rgba(255, 255, 255, 0.07);
    }

    .nav-links {
        position: absolute;
        top: 74px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(7, 17, 31, 0.96);
    }

    .nav-links.is-open {
        display: flex;
    }

    .hero-grid,
    .split-grid,
    .app-grid,
    .app-heading,
    .auth-grid,
    .dashboard-stats,
    .app-stat-grid,
    .account-hub,
    .app-page-grid,
    .monitor-detail-summary,
    .monitor-detail-grid,
    .inline-add-form,
    .footer-grid,
    .feature-grid,
    .feature-grid.large,
    .pricing-grid,
    .blog-grid,
    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .panel {
        position: static;
    }

    .app-nav {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .app-nav-links {
        top: 68px;
        border-color: #dbe6f1;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    }

    .app-account-menu {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .app-account-dropdown {
        right: auto;
        left: 0;
    }

    .app-stat-grid .stat-card {
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .app-stat-grid .stat-card:last-child {
        border-bottom: 0;
    }

    .price-card.highlighted {
        transform: none;
    }

    .inline-add-form .add-url-name,
    .inline-add-form .add-url-url,
    .inline-add-form .checkbox-field,
    .inline-add-form .sitemap-field,
    .inline-add-form .button {
        grid-column: auto;
    }

    .hero-visual {
        min-height: 390px;
    }

    .final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .monitor-detail-hero,
    .detail-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .monitor-detail-hero-actions {
        justify-content: flex-start;
    }

}

@media (max-width: 560px) {
    .container,
    .narrow {
        width: min(100% - 28px, 1120px);
    }

    .hero,
    .page-hero {
        padding: 62px 0 44px;
    }

    .section,
    .article {
        padding: 54px 0;
    }

    .monitor-top,
    .scan-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .step-list article {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 360px;
    }

    .scan-streams {
        inset: 4px -18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scan-stream {
        animation: none;
    }
}
