:root {
    color-scheme: light;
    --bg: #f4f1ea;
    --surface: #fffdf8;
    --surface-alt: #f8f4ec;
    --text: #1f2933;
    --muted: #5f6c7b;
    --border: #ddd2c2;
    --brand-blue: #0f4c81;
    --brand-green: #2ead4b;
    --brand-orange: #f97316;
    --accent-dark: #0b3a62;
    --danger: #b42318;
    --danger-bg: #fff1ef;
    --success: #166534;
    --warning: #9a6700;
    --shadow: 0 18px 42px rgba(49, 40, 28, 0.10);
    --headline-font: "Avenir Next Condensed", "Franklin Gothic Demi Cond", "Arial Narrow", "Trebuchet MS", sans-serif;
    --press-font: "Franklin Gothic Demi Cond", "Arial Narrow", "Trebuchet MS", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background:
        radial-gradient(circle at top left, rgba(15, 76, 129, 0.14), transparent 30%),
        radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.10), transparent 24%),
        var(--bg);
    color: var(--text);
}

.shell {
    width: min(1040px, calc(100% - 32px));
    margin: 48px auto;
}
.h2-custom {
    font-family: var(--headline-font);
    margin-top: 2px;
    margin-bottom: 2px;
}
.hero,
.overview,
.panel,
.error-card,
.pricing,
.roadmap,
.saved-feeds {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.hero,
.overview,
.pricing,
.roadmap,
.saved-feeds {
    padding: 30px 32px;
}

.hero-rebuilt {
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}


.hero-copy,
.hero-panel-card,
.value-card,
.benefit-card,
.issue,
.plan-card,
.phase-card,
.account-card,
.feed-card,
.gate-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.96));
}

.issue:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(238, 230, 210, 0.98));
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 76, 129, 0.13);
}


.brand-lockup {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 10px;
}


.brand-logo {
    width: clamp(76px, 10vw, 180px);
    height: auto;
    flex: 0 0 auto;
    filter: drop-shadow(0 10px 18px rgba(15, 76, 129, 0.20));
}

h1,
.overview h2,
.status,
.section-copy h2,
.pricing h2,
.roadmap h2,
.saved-feeds h2,
.account-card h2,
.hero-panel-card h2 {
    font-family: var(--headline-font);
    letter-spacing: 0.01em;
}

h1 {
    margin: 0;
    font-size: clamp(3.5rem, 3.5vw, 2.0rem);
    line-height: 0.98;
    color: var(--brand-blue);

}


.lead {
    margin: 0;
    max-width: 58rem;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.68;
}


.hero-badges,
.plan-metrics,
.feed-meta,
.meta,
.share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badges {
    margin-top: 18px;
}

.hero-badges > span {
    padding: 0;
    border-radius: 20px;
    background: #ffffff;
}

.feed-meta span,
.plan-metrics span,
.meta span {
    padding: 8px 12px;
    border-radius: 999px;
    /*background: rgba(15, 76, 129, 0.06);
    border: 1px solid rgba(15, 76, 129, 0.12);*/
    background: #ffffff;

    font-size: 0.88rem;
}

.logo-orange {
    color: var(--brand-orange);
}

.hero-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    background: #f5f7fa;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    font-weight: bold;
    flex-grow: 1;
    /* Keep badges feeling informational, not clickable. */
    cursor: default;
    justify-content: center;
}

.hero-badges .badge {
    padding: 6px 12px;
    font-size: 13px;
    gap: 7px;
}

.hero-badges .badge::before {
    font-size: 15px;
}

/* Icon base */
.badge::before {
    font-size: 16px;
    display: inline-block;
}

/* Icons */
.badge-feed::before {
    content: "\01F4E5";
    margin-top: -5px;
}

.badge-fix::before {
    content: "\01F6E0";
}

.badge-url::before {
    content: "\01F517";
}

/* Optional subtle hover (NOT button-like) */
.badge:hover {
    background: #eef2f7;
}

.hero-tip {
    position: relative;
    display: inline-flex;
    flex: 1 1 0;
    min-width: 220px;
}
.hero-tip button {
    background: #ffffff;
}
.hero-tip-trigger {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: help;
    user-select: none;
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.hero-tip-trigger:focus-visible {
    outline: 2px solid rgba(15, 76, 129, 0.28);
    outline-offset: 3px;
}

.hero-tip-panel {
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    z-index: 30;
    width: min(360px, calc(100vw - 48px));
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    background: linear-gradient(180deg, rgba(18, 31, 45, 0.96), rgba(15, 23, 42, 0.96));
    background:var(--brand-blue);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.28);
    color: #f8fbff;
    font-size: 0.9rem;
    line-height: 1.5;
    transform: translateX(-50%) translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-tip-panel::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 12px;
    height: 12px;
    background: rgba(15, 23, 42, 0.96);
    background: var(--brand-blue);;
    border-left: 1px solid rgba(148, 163, 184, 0.18);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    transform: translateX(-50%) translateY(6px) rotate(45deg);
}

.hero-tip-panel strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.hero-tip:hover .hero-tip-panel,
.hero-tip:focus-within .hero-tip-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.hero-tip:hover .hero-tip-trigger,
.hero-tip:focus-within .hero-tip-trigger {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.10);
    background: #eef2f7;
}

@media (prefers-reduced-motion: reduce) {
    .hero-tip-trigger,
    .hero-tip-panel {
        transition: none;
    }
}






@media (max-width: 600px) {
    .hero-badges {
        flex-direction: column;
    }

    .hero-badges .badge {
        white-space: normal;
    }
}
.value-strip,
.benefit-grid,
.account-grid,
.issue-grid,
.inspection-grid,
.plan-grid,
.phase-grid {
    display: grid;
    gap: 14px;
}

.value-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
}

.value-card,
.benefit-card {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(15, 76, 129, 0.12);
}

.value-card strong,
.share-label,
.eyebrow,
.account-kicker,
.plan-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-green);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#feed-form .first-one {
    font-size: 1.00rem;
    font-weight: bold;
    font-family: var(--press-font);
}

.value-card span,
.benefit-card p,
.hero-panel-copy,
.account-card p,
.gate-card p,
.plan-summary,
.phase-card p,
.issue p {
    color: var(--muted);
    line-height: 1.62;
}

.hero-panel-card {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(15, 76, 129, 0.12);
    box-shadow: inset 0 0 0 1px rgba(15, 76, 129, 0.04);
}


.hero-panel-card h2,
.account-card h2,
.plan-card h3,
.phase-card h3,
.issue h3,
.feed-card h3,
.gate-card h3,
.notice-card h3 {
    margin: 0;
    color: var(--brand-blue);
}

.hero-panel-card h2 {
    font-size: 1.8rem;
}

.hero-panel-copy {
    margin: 12px 0 0;
}

.hero-form {
    margin-top: 20px;
}

.field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.field-row-hero {
    grid-template-columns: 1fr;
}

input[type="url"],
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 1rem;
}

input[type="url"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: 2px solid rgba(15, 76, 129, 0.22);
    border-color: var(--brand-blue);
}

button,
.button-link,
.share-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 16px 22px;
    background: linear-gradient(135deg, var(--brand-orange), #e65d00);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    min-height: 56px;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
    text-decoration: none;
}
.analyzer-tabs button,
.button-secondary,
.share-copy {
    background: linear-gradient(135deg, var(--brand-blue), var(--accent-dark));
    box-shadow: 0 12px 24px rgba(15, 76, 129, 0.22);
}

.analyzer-tabs button {
    background: var(--muted);
    box-shadow: 0 12px 24px rgba(15, 76, 129, 0.22);
}

.analyzer-tabs button {
    margin-right: 6px;
    font-size: 0.7rem;
    padding: 6px 8px;
    min-height: 30px;
    text-shadow: none;
    font-family: Arial;
}

.analyzer-tabs button:hover {
    background: var(--brand-blue);
}

.analyzer-tabs button:first-child {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 1.0rem;
    border-radius: 9px;
    background: var(--brand-blue);
    box-shadow: 0 8px 16px rgba(15, 76, 129, 0.10);
}

.analyzer-tabs button:first-child:hover {
    background: var(--brand-blue);
}

button:hover,
.button-link:hover,
.share-links a:hover,
.share-copy:hover {
    filter: brightness(1.03);
}



button[disabled] {
    cursor: wait;
    opacity: 0.85;
}

.hint,
.storage-status {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.live-plan-banner {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(15, 76, 129, 0.08);
    border: 1px solid rgba(15, 76, 129, 0.14);
    color: var(--brand-blue);
    line-height: 1.6;
}

.share-bar {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed rgba(15, 76, 129, 0.16);
}

.share-links a,
.share-copy {
    width: auto;
    min-height: 0;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
}

.share-links a {
    background: rgba(15, 76, 129, 0.06);
    border: 1px solid rgba(15, 76, 129, 0.14);
    color: var(--brand-blue);
    text-decoration: none;
    box-shadow: none;
}

.inline-flash {
    margin-top: 16px;
}

.flash-stack {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.flash-card {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    box-shadow: var(--shadow);
}

.flash-card p {
    margin: 0;
    line-height: 1.6;
}

.flash-success {
    background: linear-gradient(180deg, rgba(239, 252, 242, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(46, 173, 75, 0.22);
}

.flash-warning {
    background: linear-gradient(180deg, rgba(255, 247, 224, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(154, 103, 0, 0.24);
}

.flash-error {
    background: linear-gradient(180deg, rgba(255, 241, 239, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(180, 35, 24, 0.22);
}

.saved-feeds,
.overview,
.pricing,
.roadmap {
    margin-top: 22px;
}

.section-copy h2,
.overview h2,
.pricing h2,
.roadmap h2,
.saved-feeds h2 {
    margin: 0;
    font-size: clamp(1.45rem, 1.8vw, 1.95rem);
    line-height: 1.08;
    color: var(--brand-blue);
}

.section-copy p,
.overview-lead {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.68;
    max-width: 54rem;
}

.benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
}

.account-access {
    margin-top: 22px;
}

.account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.account-card,
.gate-card,
.feed-card,
.notice-card,
.error-card,
.issue,
.plan-card,
.phase-card {
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(15, 76, 129, 0.14);
}

.account-card-live {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(180deg, rgba(239, 252, 242, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(46, 173, 75, 0.22);
}

.account-card-muted {
    background: linear-gradient(180deg, rgba(15, 76, 129, 0.05), rgba(255, 255, 255, 0.98));
}

.account-card-exit {
    border-style: dashed;
}

.account-card-exit[hidden] {
    display: none !important;
}

.account-card-exit.is-visible {
    display: block;
}

.account-exit-trigger {
    width: auto;
    min-width: 0;
}

.account-exit-note {
    font-size: 0.92rem;
    color: var(--muted);
}

.account-action-row-compact {
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.compact-quiet-button {
    width: auto;
    min-width: 0;
    padding: 10px 14px;
}


.account-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.account-form label,
.feed-save-form label {
    display: block;
}

.account-form span,
.feed-save-form span,
.label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.saved-feeds-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.feed-save-form {
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 76, 129, 0.05), rgba(255, 255, 255, 0.94));
    border: 1px solid rgba(15, 76, 129, 0.12);
}

.feed-save-form label + label {
    /*margin-top: 14px;*/
}

.feed-save-form [data-account-source-panel][hidden] {
    display: none !important;
}

.feed-save-form button,
.feed-card-actions button,
.plan-action-form button,
.account-inline-form button {
    width: 100%;
}

.feed-list,
.notices,
.errors {
    display: grid;
    gap: 14px;
}

.feed-card-empty {
    border-style: dashed;
}

.feed-card-highlighted {
    border-color: rgba(15, 76, 129, 0.28);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.08), var(--shadow);
    scroll-margin-top: 24px;
}

.feed-inline-status {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
}

.feed-inline-status p {
    margin: 0;
    line-height: 1.55;
}

.feed-inline-status-success {
    background: linear-gradient(180deg, rgba(239, 252, 242, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(46, 173, 75, 0.22);
}

.feed-inline-status-warning {
    background: linear-gradient(180deg, rgba(255, 247, 224, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(154, 103, 0, 0.24);
}

.feed-inline-status-error {
    background: linear-gradient(180deg, rgba(255, 241, 239, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(180, 35, 24, 0.22);
}

.feed-inline-status-info {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(15, 76, 129, 0.16);
}

.feed-proxy-state {
    display: inline-flex;
    align-items: center;
    margin: 12px 0 0;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.feed-proxy-state-ready {
    background: rgba(46, 173, 75, 0.12);
    color: var(--success);
}

.feed-proxy-state-queued,
.feed-proxy-state-running,
.feed-proxy-state-warming,
.feed-proxy-state-waiting {
    background: rgba(249, 115, 22, 0.12);
    color: var(--warning);
}

.feed-card-header,
.plan-header,
.inspection-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.feed-url,
.feed-note,
.summary,
.value,
.inspection-message,
.inspection-detail {
    margin: 10px 0 0;
    line-height: 1.6;
    color: var(--muted);
    word-break: break-word;
}

.feed-status {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(46, 173, 75, 0.12);
    color: var(--success);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.feed-card-header-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.feed-card-delete-form-inline {
    margin: 0;
}

.feed-delete-link {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--muted);
    font: inherit;
    font-size: 0.82rem;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 0.14em;
    cursor: pointer;
}

.feed-delete-link:hover,
.feed-delete-link:focus-visible {
    color: var(--danger);
}

.feed-card-actions,
.plan-action-form {
    margin-top: 16px;
}

.issue-grid,
.inspection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 15px;
}

.issue-grid {
    align-items: start;
   
}

.issue-dropdown {
    padding: 0;
    overflow: hidden;
    align-self: start;
}

.issue-shell {
    display: block;
}

.issue-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 6px;
    align-items: stretch;
}

.issue-summary::-webkit-details-marker {
    display: none;
}

.issue-summary-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.issue-summary-copy h3 {
    margin: 0;
}

.issue-summary-copy p {
    margin: 10px 0 0;
}

.issue-summary-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;


}

.issue-summary-hint {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.issue-body {
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(15, 76, 129, 0.12);
}

.issue-body > p:first-child {
    margin-top: 0;
}

.issue-example-block {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 76, 129, 0.12);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.82), rgba(255, 255, 255, 0.96));
}

.issue-example-label {
    margin: 0;
    color: var(--brand-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.issue-example-code {
    margin: 10px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(31, 41, 51, 0.96);
    color: #f8f4ec;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.86rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}

.issue-fixer-plug {
    margin-bottom: 0;
    color: var(--text);
    font-weight: 600;
}

.issue:nth-child(2n) {
    border-color: rgba(46, 173, 75, 0.22);
}

.issue:nth-child(3n) {
    border-color: rgba(249, 115, 22, 0.26);
}

.panel {
    margin-top: 28px;
    padding: 24px;
    scroll-margin-top: 20px;
}

.status {
    margin: 0;
    font-size: 1.24rem;
}

.status.success {
    color: var(--success);
}

.status.error {
    color: var(--danger);
}

.status.partial {
    color: var(--brand-blue);
}

.inspection-panel {
    margin-top: 22px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 76, 129, 0.05), rgba(255, 255, 255, 0.94));
    border: 1px solid rgba(15, 76, 129, 0.12);
}

.inspection-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.inspection-pass {
    border-color: rgba(46, 173, 75, 0.22);
    background: linear-gradient(180deg, rgba(239, 252, 242, 0.98), rgba(255, 255, 255, 0.98));
}

.inspection-pass .inspection-badge {
    background: rgba(46, 173, 75, 0.16);
    color: var(--success);
}

.inspection-fail {
    border-color: rgba(180, 35, 24, 0.22);
    background: linear-gradient(180deg, rgba(255, 241, 239, 0.98), rgba(255, 255, 255, 0.98));
}

.inspection-fail .inspection-badge {
    background: rgba(180, 35, 24, 0.14);
    color: var(--danger);
}

.inspection-warning,
.inspection-partial {
    border-color: rgba(154, 103, 0, 0.24);
    background: linear-gradient(180deg, rgba(255, 247, 224, 0.98), rgba(255, 255, 255, 0.98));
}

.inspection-warning .inspection-badge,
.inspection-partial .inspection-badge {
    background: rgba(154, 103, 0, 0.14);
    color: var(--warning);
}

.notice-card {
    background: linear-gradient(180deg, rgba(15, 76, 129, 0.08), rgba(255, 255, 255, 0.98));
}

.error-card {
    background: var(--danger-bg);
    border-color: rgba(180, 35, 24, 0.18);
}

.error-card h3 {
    color: var(--danger);
}

.error-line {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.94rem;
}

.label {
    margin-top: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7a2e23;
}

.plan-grid,
.phase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
}

.plan-card-featured {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.12);
}

.plan-card .button-link {
    margin-top: 8px;
}


.plan-price {
    margin: 0;
    color: var(--brand-orange);
    font-family: var(--headline-font);
    font-size: 1.45rem;
    white-space: nowrap;
}

.plan-highlights {
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--text);
}

.plan-highlights li + li {
    margin-top: 8px;
}

.plan-action-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    min-height: 56px;
    padding: 16px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2ead4b, #1f8f3a);
    box-shadow: 0 12px 24px rgba(46, 173, 75, 0.2);
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.plan-action-indicator-muted {
    background: linear-gradient(180deg, rgba(230, 236, 241, 0.96), rgba(244, 247, 250, 0.98));
    box-shadow: none;
    color: var(--muted);
}

.loading-note {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: var(--brand-blue);
    font-size: 0.95rem;
    font-weight: 700;
}

.loading-note.visible {
    display: inline-flex;
}

.spinner {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(15, 76, 129, 0.20);
    border-top-color: var(--brand-orange);
    animation: spin 0.8s linear infinite;
}

.success-panel {
    background: linear-gradient(180deg, #effcf2, #f8fdf9);
    border-color: rgba(46, 173, 75, 0.22);
}

.partial-panel {
    border-color: rgba(15, 76, 129, 0.24);
    box-shadow: 0 18px 42px rgba(15, 76, 129, 0.12);
}

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

@media (max-width: 840px) {
    .hero-grid,
    .benefit-grid,
    .value-strip,
    .account-grid,
    .saved-feeds-layout,
    .issue-grid,
    .inspection-grid,
    .plan-grid,
    .phase-grid,
    .account-card-live {
        grid-template-columns: 1fr;
    }

    .account-card-live {
        display: grid;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 20px, 1040px);
        margin: 20px auto 36px;
    }

    .hero,
    .overview,
    .pricing,
    .roadmap,
    .saved-feeds,
    .panel,
    .error-card {
        border-radius: 16px;
        padding: 22px;
    }

    .brand-lockup {
        align-items: flex-start;
        gap: 18px;
    }

    .brand-logo {
        width: 72px;
    }

    h1 {
        margin: 0;
        font-size: clamp(2rem, 3.2vw, 2.9rem);
        line-height: 0.98;
        color: var(--brand-blue);
        max-width: 16ch;
    }


    .progress-shell {
        display: grid;
        gap: 8px;
    }

    .progress-bar {
        width: 100%;
        height: 10px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(15, 76, 129, 0.10);
    }

    .progress-bar span {
        display: block;
        width: 45%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
        animation: progress-slide 1.2s ease-in-out infinite;
    }

    .progress-label {
        margin: 0;
        color: var(--muted);
        font-size: 0.92rem;
    }

    .results-shell {
        margin-top: 24px;
        padding: 26px 28px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 22px;
        box-shadow: var(--shadow);
    }

    .results-success {
        border-color: rgba(46, 173, 75, 0.24);
    }

    .results-warning {
        border-color: rgba(15, 76, 129, 0.22);
    }

    .results-header-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
    }

    .results-source {
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(15, 76, 129, 0.08);
        color: var(--brand-blue);
        font-size: 0.88rem;
        font-weight: 700;
    }

    .summary-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 20px;
    }

    .summary-card {
        padding: 16px;
        border-radius: 16px;
        border: 1px solid rgba(15, 76, 129, 0.12);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 244, 236, 0.96));
    }

    .summary-label {
        display: block;
        margin-bottom: 8px;
        color: var(--muted);
        font-size: 0.82rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .tone-success {
        border-color: rgba(46, 173, 75, 0.22);
    }

    .tone-warning {
        border-color: rgba(154, 103, 0, 0.24);
    }

    .results-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-top: 20px;
    }

    .results-column {
        display: grid;
        gap: 16px;
    }

    .results-block {
        padding: 18px;
        border-radius: 18px;
        border: 1px solid rgba(15, 76, 129, 0.12);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.96));
    }

    .results-block-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 12px;
    }

    .results-block-header h3,
    .issue-row-top h4 {
        margin: 0;
        color: var(--brand-blue);
    }

    .severity-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 0.76rem;
        font-weight: 700;
    }

    .severity-critical {
        border-color: rgba(180, 35, 24, 0.20);
    }

    .severity-warning {
        border-color: rgba(154, 103, 0, 0.22);
    }

    .severity-info {
        border-color: rgba(15, 76, 129, 0.18);
    }

    .severity-pill.severity-critical {
        background: rgba(180, 35, 24, 0.12);
        color: var(--danger);
    }

    .severity-pill.severity-warning {
        background: rgba(154, 103, 0, 0.12);
        color: var(--warning);
    }

    .severity-pill.severity-info {
        background: rgba(15, 76, 129, 0.10);
        color: var(--brand-blue);
    }

    .issue-row {
        padding: 14px 0;
        border-top: 1px solid rgba(15, 76, 129, 0.10);
    }

    .issue-row:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .issue-row-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
    }

    .issue-row p {
        margin: 8px 0 0;
        color: var(--muted);
        line-height: 1.6;
    }

    .issue-detail {
        color: var(--text);
    }

    .empty-row p {
        margin: 0;
    }

    .fixed-output-preview {
        margin: 0;
        white-space: pre-wrap;
        word-break: break-word;
        font: 0.93rem/1.6 Consolas, "SFMono-Regular", Menlo, monospace;
        color: var(--muted);
    }

    @keyframes progress-slide {
        0% {
            transform: translateX(-110%);
        }
        100% {
            transform: translateX(240%);
        }
    }

    @media (max-width: 840px) {
        .summary-grid,
        .results-grid {
            grid-template-columns: 1fr;
        }
    }

    .hero-badges-compact {
        margin-top: 14px;
    }

    .value-strip-secondary {
        margin-top: 16px;
    }

    .value-strip-secondary .value-card {
        padding: 14px 16px;
    }

    .hero-panel {
        max-width: 720px;
    }

    .progress-shell {
        margin-top: 4px;
    }

    .progress-bar {
        height: 6px;
        background: rgba(15, 76, 129, 0.08);
    }

    .progress-bar span {
        width: 32%;
    }

    .live-plan-banner,
    .storage-status,
    .inline-flash {
        max-width: 720px;
    }

    @media (max-width: 720px) {
        .brand-logo {
            width: 56px;
        }

        h1 {
            max-width: none;
        }
    }
}

/* Refinement pass: clearer hero, stronger input focus, cleaner SaaS result cards */
.shell > section + section {
    margin-top: 34px;
}

.hero-refined {
    padding: 42px 42px 36px;
}

.hero-stack {
    display: grid;
    gap: 24px;
}

.brand-mini {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-self: center;
    padding: 10px 14px;
    border: 1px solid rgba(15, 76, 129, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 24px rgba(15, 76, 129, 0.08);
}

.brand-mini .brand-logo {
    width: 40px;
    filter: none;
}

.brand-mark {
    font-family: var(--headline-font);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-blue);
}

.hero-copy-centered {
    text-align: center;
}

.hero-copy-centered .eyebrow,
.results-header-row .eyebrow,
.spotlight-header .eyebrow {
    margin-bottom: 10px;
}

.hero-refined h1 {
    max-width: 14ch;
    margin: 0 auto;
    font-size: clamp(2.7rem, 6vw, 4.7rem);
    line-height: 0.95;
    color: #123b63;
}

.hero-refined .lead {
    max-width: 52rem;
    margin: 16px auto 0;
    font-size: 1.08rem;
}

.hero-panel-wide {
    width: 100%;
}

.spotlight-card {
    padding: 30px;
    border-radius: 26px;
    box-shadow: 0 20px 40px rgba(15, 76, 129, 0.10);
}

.spotlight-header {
    text-align: center;
    margin-bottom: 18px;
}

.spotlight-header h2 {
    font-size: 2.1rem;
}

.spotlight-header .hero-panel-copy {
    max-width: 46rem;
    margin: 12px auto 0;
}

.hero-input-label,
.input-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--brand-blue);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.field-row-spotlight {
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: stretch;
}


.field-row-spotlight input[type="url"] {
    min-height: 68px;
    padding: 20px 22px;
    border-radius: 18px;
    border: 1px solid rgba(15, 76, 129, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 12px 28px rgba(15, 76, 129, 0.08);
    font-size: 1.08rem;
}

.field-row-spotlight button,
.analyzer-form > button,
.plan-action-form button {
    border-radius: 18px;
    min-height: 68px;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.hero-microcopy {
    margin: 14px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.96rem;
}

.progress-shell {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 76, 129, 0.05);
    border: 1px solid rgba(15, 76, 129, 0.08);
}

.progress-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.10);
    overflow: hidden;
}

.progress-bar span {
    display: block;
    width: 34%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-orange), #ff9a4a);
    animation: feedfixer-progress 1.2s ease-in-out infinite;
}

.progress-label {
    margin: 10px 0 0;
    color: var(--brand-blue);
    font-weight: 600;
}

@keyframes feedfixer-progress {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 22px;
}

.trust-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(46, 173, 75, 0.08);
    border: 1px solid rgba(46, 173, 75, 0.16);
    color: #1e6b37;
    font-size: 0.92rem;
    font-weight: 600;
}

.results-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.96));
    border: 1px solid rgba(15, 76, 129, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.example-preview {
    margin-top: 24px;
}

.results-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.results-header-row h2 {
    margin: 0;
    color: var(--brand-blue);
    font-family: var(--headline-font);
    font-size: 1.8rem;
}

.results-intro {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.results-source {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.06);
    border: 1px solid rgba(15, 76, 129, 0.12);
    color: var(--brand-blue);
    font-size: 0.9rem;
    word-break: break-all;
}

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

.summary-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.10);
    box-shadow: 0 10px 24px rgba(15, 76, 129, 0.06);
}

.summary-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.35rem;
    color: var(--brand-blue);
}

.summary-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tone-critical { border-color: rgba(180, 35, 24, 0.18); background: #f9e6e1; }
.tone-warning { border-color: rgba(154, 103, 0, 0.18); background: #fff4de; }
.tone-info { border-color: rgba(15, 76, 129, 0.18); background: #ebf5ff; }
.tone-success { border-color: rgba(22, 101, 52, 0.18); background: #e7ffee; }

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

.results-column {
    display: grid;
    gap: 18px;
}

.results-block {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 76, 129, 0.10);
}

.results-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.results-block-header h3 {
    margin: 0;
    color: var(--brand-blue);
}

.severity-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.severity-pill.severity-critical {
    color: var(--danger);
    background: var(--danger-bg);
}

.severity-pill.severity-warning {
    color: var(--warning);
    background: #fff4d6;
}

.severity-pill.severity-info {
    color: var(--brand-blue);
    background: #eaf4ff;
}

.issue-row {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(15, 76, 129, 0.08);
    box-shadow: 0 8px 18px rgba(15, 76, 129, 0.05);
}

.issue-row + .issue-row {
    margin-top: 12px;
}

.issue-row-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.issue-row h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

.issue-row-top span {
    flex: 0 0 auto;
}

.issue-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.issue-badge-neutral {
    background: rgba(15, 76, 129, 0.06);
    color: var(--brand-blue);
    border-color: rgba(15, 76, 129, 0.12);
}

.issue-badge-warning {
    background: #fff4d6;
    color: var(--warning);
    border-color: rgba(154, 103, 0, 0.18);
}

.issue-badge-success {
    background: rgba(46, 173, 75, 0.10);
    color: var(--success);
    border-color: rgba(46, 173, 75, 0.18);
}

.issue-badge-error {
    background: rgba(180, 35, 24, 0.10);
    color: var(--danger);
    border-color: rgba(180, 35, 24, 0.18);
}

.issue-badge-hosted {
    background: rgba(124, 58, 237, 0.10);
    background: none;
    color: #a87979;
    color: #666666;
    border-color: rgba(124, 58, 237, 0.22);
    border: 0;
    padding: 5px 8px;
    font-size: 0.54rem;
}

.issue-row p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.issue-detail {
    margin-top: 10px !important;
    color: var(--brand-blue) !important;
}

.issue-row.severity-critical {
    border-left: 4px solid var(--danger);
}

.issue-row.severity-warning {
    border-left: 4px solid #d9a514;
}

.issue-row.severity-info {
    border-left: 4px solid var(--brand-blue);
}

.empty-row {
    border-style: dashed;
    background: rgba(255, 255, 255, 0.74);
}

.fixed-output-preview {
    margin: 0;
    padding: 16px;
    border-radius: 16px;
    background: #0f2234;
    color: #d8ecff;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.93rem;
    overflow: auto;
}

.share-bar {
    margin-top: 22px;
    justify-content: center;
}

.share-links a,
.share-copy {
    width: auto;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 999px;
}

.button-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: feedfixer-spin 0.8s linear infinite;
}

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

@media (max-width: 900px) {
    .hero-refined {
        padding: 30px 22px;
    }

    .hero-refined h1 {
        max-width: none;
        font-size: clamp(2.3rem, 11vw, 3.5rem);
    }

    .summary-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .field-row-spotlight {
        grid-template-columns: 1fr;
    }

    .results-header-row,
    .issue-row-top {
        flex-direction: column;
    }

    .trust-strip,
    .share-links {
        justify-content: flex-start;
    }
}

/* Utility-first refinement: smaller hero, tighter spacing, developer tool feel */
body {
    background:
        linear-gradient(180deg, rgba(15, 76, 129, 0.04), transparent 180px),
        #f6f8fb;
}

.shell {
    width: min(1100px, calc(100% - 24px));
    margin: 18px auto 28px;
}

.hero,
.overview,
.pricing,
.roadmap,
.saved-feeds,
.results-shell,
.panel {
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.hero-refined {
    padding: 18px 20px 16px;
}

.hero-stack {
    gap: 14px;
}

.shell > section + section {
    margin-top: 18px;
}

.brand-mini {
    justify-self: start;
    padding: 6px 10px;
    gap: 10px;
    box-shadow: none;
}

.brand-mini .brand-logo {
    width: 30px;
}

.brand-mark {
    font-size: 0.88rem;
}

.hero-copy-centered {
    text-align: left;
}

.hero-refined h1 {
    max-width: 18ch;
    margin: 0;
    font-size: clamp(1.7rem, 2.5vw, 2.35rem);
    line-height: 1.02;
}

.hero-refined .lead {
    max-width: 46rem;
    margin: 10px 0 0;
    font-size: 0.96rem;
    line-height: 1.55;
}

.value-strip,

.share-bar,
.share-links,
.trust-strip,
.live-plan-banner,
.storage-status,
.hero-badges-primary,
.value-strip-secondary {
    display: none !important;
}

.spotlight-card {
    padding: 18px;
    border-radius: 18px;
    box-shadow: none;
    border: 1px solid rgba(15, 76, 129, 0.10);
    background: #fbfcfe;
}

.spotlight-header {
    text-align: left;
    margin-bottom: 12px;
}

.spotlight-header h2 {
    font-size: 1.28rem;
}

.spotlight-header .hero-panel-copy {
    max-width: none;
    margin: 8px 0 0;
    font-size: 0.93rem;
    line-height: 1.5;
}

.analyzer-tabs {
    margin-top: 12px;
    gap: 8px;
}

.analyzer-tab {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.88rem;
    box-shadow: none;
}

.hero-form,
.analyzer-form {
    margin-top: 14px;
}

.hero-input-label,
.input-label {
    margin-bottom: 8px;
    font-size: 0.76rem;
}

.field-row-spotlight {
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 10px;
}

.field-row-spotlight input[type="url"] {
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: none;
    font-size: 0.98rem;
}

.field-row-spotlight button,
.analyzer-form > button,
.plan-action-form button,
button,
.button-link,
.share-copy {
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: none;
    font-size: 0.94rem;
}

.hero-microcopy,
.hint,
.progress-label,
#file-meta,
#paste-meta {
    font-size: 0.88rem;
}

.hero-microcopy {
    text-align: left;
    margin-top: 10px;
}

.progress-shell {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
}

.progress-bar {
    height: 6px;
}

.results-shell {
    padding: 18px;
    border-radius: 16px;
}

.example-preview {
    margin-top: 16px;
}

.results-header-row {
    margin-bottom: 14px;
}

.results-header-row h2 {
    font-size: 1.2rem;
}

.results-intro,
.results-source {
    font-size: 0.88rem;
}

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

.summary-card {
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: none;
}

.summary-card strong {
    margin-top: 6px;
    font-size: 1.02rem;
}

.summary-label {
    font-size: 0.7rem;
}

.results-grid,
.results-column,
.plan-grid,
.phase-grid,
.issue-grid,
.benefit-grid,
.account-grid {
    gap: 12px;
}

.results-block {
    padding: 14px;
    border-radius: 14px;
}

.results-block-header {
    margin-bottom: 10px;
}

.results-block-header h3,
.overview h2,
.section-copy h2,
.pricing h2,
.roadmap h2,
.saved-feeds h2 {
    font-size: 1.08rem;
}

.severity-pill {
    padding: 5px 8px;
    font-size: 0.68rem;
}

.issue-row {
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: none;
}

.issue-row + .issue-row {
    margin-top: 8px;
}

.issue-row h4 {
    font-size: 0.95rem;
}

.issue-row p,
.issue-detail,
.plan-summary,
.phase-card p,
.issue p,
.account-card p,
.gate-card p,
.value-card span,
.benefit-card p,
.hero-panel-copy {
    font-size: 0.9rem;
    line-height: 1.5;
}

.fixed-output-preview {
    padding: 12px;
    border-radius: 12px;
    font-size: 0.84rem;
}

.overview,
.pricing,
.roadmap,
.saved-feeds {
    padding: 18px 20px;
}

.overview-lead,
.section-copy p,
.feed-note,
.plan-action-indicator,
.meta span,
.feed-meta span,
.plan-metrics span {
    font-size: 0.9rem;
}

.plan-card,
.phase-card,
.issue,
.benefit-card,
.account-card,
.feed-card,
.gate-card,
.value-card {
    border-radius: 14px;
}

.plan-header {
    margin-bottom: 10px;
}

.plan-card h3,
.phase-card h3,
.issue h3,
.feed-card h3,
.gate-card h3,
.notice-card h3,
.account-card h2 {
    font-size: 1rem;
}

.plan-price {
    font-size: 1rem;
}

.plan-highlights {
    margin: 10px 0 0;
    padding-left: 18px;
}

.account-form,
.feed-save-form {
    gap: 10px;
}

textarea {
    min-height: 180px;
    border-radius: 12px;
    padding: 14px 16px;
}

.file-drop {
    padding: 16px;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .summary-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 16px, 1100px);
        margin-top: 10px;
    }

    .hero-refined {
        padding: 14px;
    }

    .hero-refined h1 {
        font-size: 1.5rem;
    }

    .field-row-spotlight {
        grid-template-columns: 1fr;
    }
}

/* Header and tool sizing refinement */
.hero-topline {
    display: flex;
    align-items: center;
}

.brand-mini-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 8px 12px;
}

.brand-mini-hero .brand-logo {
    width: 92px;
    height: auto;
}

.brand-heading {
    display: grid;
    gap: 4px;
}

.brand-heading h1 {
    max-width: none;
    margin: 0;
}

.hero-copy-centered .eyebrow {
    margin-top: 2px;
}

.analyzer-tabs {
    align-items: stretch;
}

.analyzer-tab {
    width: auto;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 10px;
}

.field-row-spotlight {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 8px;
}

.field-row-spotlight button,
.analyzer-form > button {
    min-height: 48px;
    padding: 10px 14px;
}

.analyzer-pane[data-pane="upload"] .analyzer-form > button,
.analyzer-pane[data-pane="paste"] .analyzer-form > button {
    width: auto;
    min-width: 150px;
}

.analyzer-pane[data-pane="paste"] textarea {
    display: block;
    width: 100%;
    min-height: 320px;
    resize: vertical;
}

.analyzer-pane[data-pane="paste"] label {
    display: block;
}

@media (max-width: 720px) {
    .brand-mini-hero {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .brand-mini-hero .brand-logo {
        width: 72px;
    }
}

/* Utility-first compact pass */
body {
    background: #f4f7fb;
}

.shell {
    width: min(1180px, calc(100% - 20px));
    margin: 10px auto 18px;
}

.shell > section + section {
    margin-top: 12px;
}

.hero-refined {
    padding: 10px 12px 12px;
    border-radius: 14px;
}

.tool-first-stack {
    gap: 10px;
}

.hero-topline {
    margin-bottom: 0;
}

.brand-mini,
.brand-mini-hero {
    padding: 4px 6px;
    border: 0;
    background: transparent;
}

.brand-mini-hero {
    gap: 10px;
}

.brand-mini-hero .brand-logo {
    width: 72px;
}

.brand-mark {
    font-size: 0.82rem;
}

.brand-heading {
    gap: 2px;
}

.hero-refined h1,
.brand-heading h1 {
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    line-height: 1.05;
}

.hero-copy {
    margin-top: 0;
}

.hero-copy-centered {
    display: grid;
    gap: 4px;
}

.hero-copy-centered .eyebrow {
    margin: 0;
    font-size: 0.68rem;
}

.hero-refined .lead {
    margin: 0;
    max-width: 64rem;
    font-size: 0.88rem;
    line-height: 1.45;
}

.hero-panel-wide {
    width: 100%;
}

.spotlight-card {
    padding: 12px;
    border-radius: 14px;
    background: #fbfdff;
}

.spotlight-header {
    margin-bottom: 8px;
}

.spotlight-header .eyebrow {
    margin-bottom: 4px;
}

.spotlight-header h2 {
    font-size: 1rem;
}

.spotlight-header .hero-panel-copy {
    margin-top: 4px;
    font-size: 0.84rem;
}

.analyzer-tabs {
    margin-top: 8px;
    margin-bottom: 8px;
    gap: 6px;
}

.analyzer-tab {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.8rem;
    border-radius: 9px;
}

.analyzer-pane {
    margin-top: 0;
}

.hero-form,
.analyzer-form {
    margin-top: 18px;
}

.field-row-spotlight {
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 8px;
}

.field-row-spotlight input[type="url"] {
    min-height: 46px;
    padding: 12px 14px;
    font-size: 0.94rem;
    border-radius: 10px;
}

.field-row-spotlight button,
.analyzer-form > button,
button,
.button-link,
.share-copy {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.86rem;
    border-radius: 10px;
}
.field-row-spotlight button {
    font-size: 1.6rem;
    padding: 10px 12px;
    font-family: var(--headline-font);
}
.analyzer-pane[data-pane="upload"] .analyzer-form > button,
.analyzer-pane[data-pane="paste"] .analyzer-form > button {
    min-width: 140px;
}

.hero-input-label,
.input-label {
    margin-bottom: 8px;
    font-size: 0.7rem;
}

.hero-microcopy,
.hint,
.progress-label,
#file-meta,
#paste-meta,
.file-drop-copy,
.file-drop-title {
    font-size: 0.82rem;
}

.hero-microcopy {
    margin-top: 10px;
}

.hint {
    margin-top: 6px;
}

.info-tip {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    vertical-align: middle;
}
.plan-metrics .info-tip {
    padding: 1px 1px;
}
.info-tip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(15, 76, 129, 0.22);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(15, 76, 129, 0.14), rgba(15, 76, 129, 0.06));
    color: var(--brand-blue);
    font-family: var(--press-font);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    padding: 1px 8px;
    min-height: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.plan-metrics .info-tip-trigger {
    width: 16px;
    height: 16px;
}
.plan-metrics span .info-tip-panel {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(18, 31, 45, 0.96);
}
.info-tip-trigger:focus-visible {
    outline: 2px solid rgba(15, 76, 129, 0.28);
    outline-offset: 2px;
}

.info-tip-panel {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 30;
    width: min(280px, 70vw);
    padding: 12px 14px;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-radius: 14px;
    background: rgba(18, 31, 45, 0.96);
    color: #f8fbff;
    box-shadow: 0 18px 32px rgba(18, 31, 45, 0.22);
    font-size: 0.86rem;
    line-height: 1.5;
    transform: translateX(-50%) translateY(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease;
}

.info-tip-panel::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 12px;
    height: 12px;
    background: rgba(18, 31, 45, 0.96);
    border-right: 1px solid rgba(15, 76, 129, 0.14);
    border-bottom: 1px solid rgba(15, 76, 129, 0.14);
    transform: translateX(-50%) rotate(45deg);
}

.info-tip:hover .info-tip-panel,
.info-tip:focus-within .info-tip-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.info-tip-panel strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
}

.metric-with-tip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.progress-shell {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
}

.file-drop {
    padding: 18px 12px 18px 6px;
    border-radius: 10px;
}

.analyzer-pane[data-pane="paste"] textarea,
textarea {
    width: 100%;
    min-height: 260px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.input-meta-row {
    margin-top: 12px;
}

.persistent-results,
.results-shell,
.client-results,
.live-results-shell {
    margin-top: 10px;
    padding: 12px;
    border-radius: 14px;
}

.results-header-row {
    margin-bottom: 10px;
    gap: 10px;
}

.results-header-row .eyebrow {
    margin-bottom: 4px;
    font-size: 0.68rem;
}

.results-header-row h2 {
    font-size: 1.3rem;
}

.results-intro,
.results-source {
    font-size: 0.82rem;
}

.summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.summary-card {
    padding: 10px 12px;
    border-radius: 10px;
}

.summary-card strong {
    font-size: 0.95rem;
}

.summary-label {
    font-size: 0.66rem;
}

.results-grid {
    padding-top: 8px;
    gap: 10px;
}

.results-column {
    gap: 10px;
}

.results-block {
    padding: 10px;
    border-radius: 12px;
}

.results-block-header {
    margin-bottom: 8px;
}

.results-block-header h3 {
    font-size: 0.92rem;
}

.severity-pill {
    padding: 4px 7px;
    font-size: 0.64rem;
}

.issue-row {
    padding: 10px 11px;
    border-radius: 10px;
}

.issue-row + .issue-row {
    margin-top: 6px;
}

.issue-row h4 {
    font-size: 0.88rem;
}

.issue-row p,
.issue-detail {
    font-size: 0.82rem;
    line-height: 1.42;
}

.issue-row-top {
    margin-bottom: 6px;
}

.issue-row-top span {
    font-size: 0.68rem;
}

.fixed-output-preview {
    padding: 10px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.overview,
.pricing,
.roadmap,
.saved-feeds {
    padding: 12px;
    border-radius: 14px;
}

.overview h2 {
    font-size: 1.4rem;
}
.section-copy h2,
.pricing h2,
.roadmap h2,
.saved-feeds h2,
.results-block-header h3,
.plan-card h3,
.phase-card h3,
.issue h3,
.feed-card h3,
.gate-card h3,
.notice-card h3,
.account-card h2 {
    font-size: 1.2rem;
}

.overview-lead,
.section-copy p,
.feed-note,
.plan-summary,
.account-card p,
.gate-card p,
.phase-card p,
.issue p,
.benefit-card p {
    font-size: 1.00rem;
    line-height: 1.45;
}

.plan-grid,
.phase-grid,
.issue-grid,
.benefit-grid,
.account-grid {
    gap: 10px;
}

.plan-card,
.phase-card,
.issue,
.benefit-card,
.account-card,
.feed-card,
.gate-card,
.value-card {
    padding: 12px;
    border-radius: 12px;
}

.plan-price,
.plan-action-indicator,
.meta span,
.feed-meta span,
.plan-metrics span {
    font-size: 0.8rem;
}

.plan-highlights {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .summary-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .shell {
        width: calc(100% - 12px);
        margin-top: 6px;
    }

    .hero-refined {
        padding: 8px;
    }

    .brand-mini-hero {
        grid-template-columns: auto 1fr;
    }

    .brand-mini-hero .brand-logo {
        width: 58px;
    }

    .field-row-spotlight {
        grid-template-columns: 1fr;
    }

    .issue-summary,
    .issue-body {
        padding-left: 12px;
        padding-right: 12px;
    }

    .issue-summary {
        flex-direction: column;
    }

    .issue-summary-side {
        align-items: flex-start;
    }
}

/* Split-page layout */
.tool-shell,
.subpage-shell {
    width: min(1180px, calc(100% - 20px));
    margin: 10px auto 20px;
}

.tool-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    padding: 8px 0;
}

.tool-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}

.tool-brand img {
    width: 400px;
    height: auto;
}

.tool-brand strong {
    display: block;
    color: var(--brand-blue);
    font-family: var(--headline-font);
    font-size: 1.5rem;
    line-height: 1;
}

.tool-brand span {
    display: block;
    color: var(--muted);
    font-size: 1.2rem;
    margin-top: 2px;
}

.tool-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(15, 76, 129, 0.12);
    background: #fff;
    color: var(--brand-blue);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
}

.tool-workbench,
.compact-pricing-page,
.compact-account-page,
.subpage-intro {
    display: grid;
    gap: 10px;
}

.tool-intro h1,
.subpage-intro h1 {
    margin: 0;
    color: var(--brand-blue);
    font-family: var(--headline-font);
    font-size: 1.8rem;
    line-height: 1.05;
}
.tool-intro  .hero-lede {
    font-size: 1.0rem;
    color: #000000;
    line-height: 1.45;
}
.tool-intro p,
.subpage-intro p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}
.tool-intro {
    padding-left: 8px;
}
.tool-panel {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 76, 129, 0.10);
    background: #fbfdff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    background: linear-gradient(180deg, rgba(239, 252, 242, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(46, 173, 75, 0.22);
}

.tool-input-row {
    grid-template-columns: minmax(0, 1fr) 192px;
}

.compact-inline-flash {
    margin: 0;
}

.persistent-results {
    margin-top: 0;
}

.compact-subpage-intro {
    margin-bottom: 2px;
}

.compact-pricing-page .plan-grid,
.compact-account-page .account-grid,
.compact-account-page .saved-feeds-layout {
    gap: 12px;
}

.compact-button-link {
    width: auto;
}

.compact-account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.compact-saved-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 12px;
}

.subpage-shell .pricing,
.subpage-shell .saved-feeds {
    padding: 12px;
}

.subpage-shell .plan-grid,
.subpage-shell .feed-list,
.subpage-shell .account-grid {
    gap: 12px;
}

@media (max-width: 900px) {
    .compact-saved-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .tool-shell,
    .subpage-shell {
        width: calc(100% - 12px);
        margin-top: 6px;
    }

    .tool-header,
    .compact-account-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-input-row {
        grid-template-columns: 1fr;
    }
}

/* Blue result-surface refinement */
#example-preview,
.client-results,
.live-results-shell {
    background: rgba(2, 74, 136, 0.08);
    border: 1px solid rgba(2, 74, 136, 0.22);
    box-shadow: 0 12px 28px rgba(2, 74, 136, 0.10);
}

#example-preview {
    border-style: dotted;
    border-width: 2px;
}

#example-preview .demo-pill {
    background: rgba(46, 173, 75, 0.12);
    border-color: rgba(46, 173, 75, 0.30);
    color: #1e6b37;
    font-weight: 800;
    letter-spacing: 0.12em;
}

#example-preview .results-header-row h2,
.client-results .results-header-row h2,
.live-results-shell .results-header-row h2 {
    color: #024A88;
}

#example-preview .results-source,
.client-results .results-source,
.live-results-shell .results-source {
    background: rgba(2, 74, 136, 0.08);
    border-color: rgba(2, 74, 136, 0.18);
    color: #024A88;
}

#example-preview .results-block,
.client-results .results-block,
.live-results-shell .results-block {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(2, 74, 136, 0.10);
}

#example-preview .summary-card,
.client-results .summary-card,
.live-results-shell .summary-card {
    border-color: rgba(2, 74, 136, 0.14);
}

.mode-picker {
    margin-top: 0.85rem;
}

.mode-picker .input-label,
.mode-picker > span {
    display: block;
    margin-bottom: 0.35rem;
}

.mode-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.mode-option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    line-height: 1.2;
}

.mode-option input[type="radio"] {
    margin: 0;
}

.results-shell,
.client-results,
.live-results-shell,
.results-block,
.summary-card,
.issue-row,
.fixed-output-preview {
    min-width: 0;
}

.results-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.results-heading-copy {
    min-width: 0;
    flex: 1 1 420px;
}

.results-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.results-source {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.results-meta-copy {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.results-meta-copy span {
    color: var(--text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.results-grid,
.results-column {
    min-width: 0;
}

.issue-row-top h4,
.issue-row p,
.issue-detail {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.fixed-output-preview {
    max-width: 100%;
    overflow-x: auto;
}

.compact-account-grid {
    margin-top: 12px;
}

.account-action-row {
    margin-top: 14px;
}

.feed-card-actions {
    display: grid;
    gap: 10px;
}

.feed-card-form-stack {
    display: grid;
    gap: 10px;
}

.feed-health {
    display: inline-flex;
    align-items: center;
    margin: 10px 0 0;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.feed-health-healthy {
    background: rgba(46, 173, 75, 0.12);
    color: var(--success);
}

.feed-health-updating {
    background: rgba(249, 115, 22, 0.12);
    color: var(--warning);
}

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

.feed-health-updating::before {
    content: '';
    width: 0.85em;
    height: 0.85em;
    border-radius: 999px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    box-sizing: border-box;
    margin-right: 8px;
    animation: feedfixer-spin 0.85s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .feed-health-updating::before {
        animation: none;
    }
}

.feed-health-error {
    background: rgba(180, 35, 24, 0.12);
    color: #b42318;
}

.feed-health-copy {
    margin: 10px 0 0;
    color: var(--text);
    font-weight: 600;
}

.feed-card-header-side .feed-health {
    margin: 0;
}

.feed-service-summary {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 76, 129, 0.12);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.82), rgba(255, 255, 255, 0.96));
}

.feed-summary-grid,
.feed-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px 14px;
}

.feed-summary-grid p,
.feed-details-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.feed-summary-grid strong,
.feed-details-grid strong {
    color: var(--text);
}

.feed-meta-emphasis {
    margin-top: 12px;
}

.feed-hosted-callout {
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(46, 173, 75, 0.18);
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.98), rgba(255, 255, 255, 0.98));
}

.feed-hosted-label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.feed-hosted-url {
    margin: 8px 0 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
    word-break: break-word;
}

.feed-hosted-url a {
    color: var(--text);
    text-decoration-thickness: 0.08em;
}

.feed-details {
    margin-top: 14px;
    padding-top: 4px;
}

.feed-details summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 700;
}

.feed-details-grid {
    margin-top: 12px;
}

.feed-card-shell {
    display: block;
}

.feed-card-summary {
    list-style: none;
    cursor: pointer;
}

.feed-card-summary::-webkit-details-marker {
    display: none;
}

.feed-card-summary .feed-card-header {
    margin: 0;
}

.feed-card-summary-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feed-card-body {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 76, 129, 0.12);
}

.feed-card-utility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

@media (max-width: 720px) {
    .feed-card-utility {
        flex-direction: column;
        align-items: flex-start;
    }
}

.feed-card-delete-form button {
    box-shadow: none;
}

@media (max-width: 720px) {
    .feed-card-header-side {
        align-items: flex-start;
    }
}

.file-drop-trigger {
    display: block;
    cursor: pointer;
}

.preview-source-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.preview-mode-chip {
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

#example-preview[data-preview-mode='merchant'] .preview-mode-chip {
    background: #fff4d6;
    border-color: rgba(154, 103, 0, 0.22);
    color: var(--warning);
}

#example-preview[data-preview-mode='merchant'] {
    border-color: rgba(154, 103, 0, 0.22);
    box-shadow: 0 14px 32px rgba(154, 103, 0, 0.08);
}


.preview-insight-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 0.95rem;
}

.preview-insight-card {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(154, 103, 0, 0.16);
    background: linear-gradient(180deg, rgba(255, 248, 230, 0.96), rgba(255, 243, 214, 0.88));
}

.preview-insight-card span {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.preview-insight-card strong {
    display: block;
    margin-top: 0.45rem;
    color: var(--warning);
    font-size: 1.2rem;
}

@media (max-width: 720px) {
    .preview-insight-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


.subpage-shell-info {
    margin-bottom: 12px;
}
.subpage-shell section {
    margin-bottom: 15px;
}

.subpage-shell .issue-grid {
    grid-template-columns: 1fr;
}
.info-page-intro {
    padding-left: 0;
}

.info-page-intro p:last-child {
    max-width: 56rem;
}

.info-page-card {
    margin-top: 0;
    background: #f4f7fb;
}

.hero-badges-expanded {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.hero-badge-card {
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 76, 129, 0.12);
    display: grid;
    gap: 10px;
}

.hero-badges-expanded .badge {
    padding: 10px 16px;
    font-size: 15px;
    justify-content: flex-start;
    flex-grow: 0;
    height: 43px;
}

.hero-badge-card > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.64;
}

.hero-badge-card .page-list {
    margin-top: 0;
}

@media (max-width: 900px) {
    .hero-badges-expanded {
        grid-template-columns: 1fr;
    }
}

.legal-stack {
    display: grid;
    gap: 18px;
}

.legal-section {
    display: grid;
    gap: 10px;
}

.legal-section h2,
.contact-note-block h3,
.info-feature-card h2 {
    margin: 0;
    color: var(--brand-blue);
    font-family: var(--headline-font);
    font-size: 1.18rem;
}

.legal-section p,
.contact-note-block,
.contact-card > p,
.info-feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.64;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
    gap: 12px;
}

.contact-card {
    height: 100%;
}

.contact-form {
    margin-top: 14px;
}

.contact-form textarea {
    min-height: 220px;
}

.contact-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-note-block {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 76, 129, 0.12);
}

.page-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.page-list li + li {
    margin-top: 6px;
}

.page-flash {
    margin-bottom: 12px;
}

.info-action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.info-text-link {
    color: var(--brand-blue);
    font-weight: 600;
    text-underline-offset: 0.16em;
}

.site-footer {
    width: min(1180px, calc(100% - 20px));
    margin: 18px auto 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 76, 129, 0.12);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr));
    gap: 18px;
}

.site-footer__brand,
.site-footer__column {
    display: grid;
    gap: 8px;
    align-content: start;
}

.site-footer__brand-link {
    color: var(--brand-blue);
    font-family: var(--headline-font);
    font-size: 1.25rem;
    text-decoration: none;
}

.site-footer__tagline,
.site-footer__column a,
.site-footer__meta p {
    color: var(--muted);
    line-height: 1.55;
}

.site-footer__tagline,
.site-footer__meta p {
    margin: 0;
}

.site-footer__column h2 {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
}

.site-footer__column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.site-footer__column a {
    text-decoration: none;
}

.site-footer__brand-link:hover,
.site-footer__brand-link:focus-visible,
.site-footer__column a:hover,
.site-footer__column a:focus-visible,
.info-text-link:hover,
.info-text-link:focus-visible {
    color: var(--brand-blue);
}

.site-footer__meta {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 76, 129, 0.08);
}

.site-footer__meta p {
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .contact-grid,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }
}



.feed-card-title-link {
    color: inherit;
    text-decoration: none;
}

.feed-card-title-link:hover,
.feed-card-title-link:focus-visible {
    text-decoration: underline;
}

.feed-detail-stack {
    display: grid;
    gap: 16px;
}

.feed-detail-grid,
.feed-history-list,
.feed-issue-list {
    display: grid;
    gap: 12px;
}

.feed-detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.feed-detail-grid p,
.feed-history-item p,
.feed-issue-item p,
.feed-fix-list li {
    margin: 0;
}

.feed-history-item,
.feed-issue-item {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(15, 76, 129, 0.12);
    background: rgba(255, 255, 255, 0.94);
}

.feed-issue-group {
    display: grid;
    gap: 10px;
}

.feed-issue-group h3,
.feed-history-item h3,
.feed-latest-run h2,
.feed-fixes h2,
.feed-history h2,
.feed-issues h2 {
    margin: 0;
}

.feed-issue-meta,
.feed-history-meta {
    color: var(--muted);
    font-size: 0.88rem;
}

.feed-fix-list {
    margin: 0;
    padding-left: 20px;
}


.section-subtle {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.feed-trust-line {
    margin: 16px 0 0;
    color: var(--text);
    font-weight: 600;
}

.feed-issue-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.feed-issue-meta-error {
    background: rgba(180, 35, 24, 0.12);
    color: #b42318;
}

.feed-issue-meta-warning {
    background: rgba(249, 115, 22, 0.12);
    color: var(--warning);
}

.feed-issue-meta-notice {
    background: rgba(15, 76, 129, 0.1);
    color: #0f4c81;
}

.feed-history-line {
    color: var(--text);
    font-weight: 600;
}


.results-cta,
.results-cta-secondary,
.results-fixer-preview {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(15, 76, 129, 0.12);
    background: rgba(255, 255, 255, 0.94);
}

.results-cta-secondary {
    text-align: center;
}

.cta-subtle {
    margin: 10px 0 0;
    color: var(--muted);
}

.results-fixer-preview h3 {
    margin: 0;
}

.results-fixer-preview ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.results-fixer-preview li {
    margin: 0;
}

.results-details {
    margin-top: 6px;
}

.results-details summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 700;
}

.results-details .fixed-output-preview {
    margin-top: 12px;
}


.results-status-note {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(15, 76, 129, 0.12);
    background: rgba(255, 255, 255, 0.94);
}

.results-status-note p {
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

