:root {
    --bg: #f4f7fb;
    --bg-elevated: #ffffff;
    --bg-subtle: #eef3f8;
    --bg-strong: #0f172a;
    --bg-accent: #e6f5f5;
    --text: #0f172a;
    --text-muted: #475569;
    --text-soft: #64748b;
    --border: #dbe4ee;
    --border-strong: #c0cedd;
    --accent: #0f766e;
    --accent-strong: #0b5e58;
    --accent-soft: #ccfbf1;
    --success: #15803d;
    --success-soft: #dcfce7;
    --warning: #b45309;
    --warning-soft: #fef3c7;
    --danger: #b91c1c;
    --danger-soft: #fee2e2;
    --info: #1d4ed8;
    --info-soft: #dbeafe;
    --shadow-sm: 0 10px 20px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 32px 72px rgba(15, 23, 42, 0.12);
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --container: 1180px;
    --transition: 180ms ease;
    --focus-ring: 0 0 0 3px rgba(15, 118, 110, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Public Sans", system-ui, sans-serif;
    line-height: 1.5;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, var(--bg) 24%, var(--bg) 100%);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.legal-prose a,
.data-table a,
.source-item__meta a,
.cta-banner a,
.notice a {
    color: var(--accent);
}

button,
input,
select,
textarea {
    font: inherit;
}

input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--accent);
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-strong);
    color: white;
    z-index: 999;
}

.skip-link:focus {
    top: 1rem;
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    padding: 2.5rem 0 4rem;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.stack-sm > * + * {
    margin-top: 0.5rem;
}

.stack-md > * + * {
    margin-top: 1rem;
}

.stack-lg > * + * {
    margin-top: 1.5rem;
}

.muted {
    color: var(--text-muted);
}

.eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(248, 251, 255, 0.9);
    border-bottom: 1px solid rgba(192, 206, 221, 0.7);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.75rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand__mark {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, var(--accent), #12394a);
    color: white;
    font-weight: 700;
}

.brand__copy {
    display: flex;
    flex-direction: column;
}

.brand__name {
    font-weight: 700;
    color: var(--text);
}

.brand__tag {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-nav__link,
.mobile-nav__link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    transition: color var(--transition), background var(--transition);
}

.site-nav__link:hover,
.mobile-nav__link:hover,
.site-nav__link.is-active,
.mobile-nav__link.is-active {
    color: var(--text);
    background: rgba(15, 118, 110, 0.08);
}

.site-nav__identity {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.site-nav__identity-meta {
    font-size: 0.76rem;
    color: var(--text-soft);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    background: var(--bg-elevated);
    color: var(--text);
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
}

.mobile-nav__inner {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 0 1.25rem;
}

.mobile-nav__button {
    border: 0;
    background: transparent;
    text-align: left;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 0 2rem;
}

.site-footer__brand {
    margin: 0;
    font-weight: 700;
}

.site-footer__copy {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    max-width: 32rem;
}

.site-footer__nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer__nav a {
    color: var(--text-muted);
    text-decoration: none;
}

.site-footer__nav a:hover {
    color: var(--accent);
}

.page-shell {
    display: grid;
    gap: 1.5rem;
}

.page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.page-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.page-title {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.page-subtitle {
    margin: 0.6rem 0 0;
    max-width: 44rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.9rem;
    padding: 0.75rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

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

.button[disabled],
.button.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.button--primary {
    background: linear-gradient(135deg, var(--accent) 0%, #134e4a 100%);
    color: white;
    box-shadow: var(--shadow-sm);
}

.button--primary:hover {
    box-shadow: var(--shadow-md);
}

.button--secondary {
    background: var(--bg-elevated);
    color: var(--text);
    border-color: var(--border);
}

.button--ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border);
}

.button--danger {
    background: var(--danger);
    color: white;
}

.button--sm {
    min-height: 2.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.92rem;
}

.button--lg {
    min-height: 3.3rem;
    padding: 0.95rem 1.35rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.pill--neutral {
    background: rgba(100, 116, 139, 0.12);
    color: var(--text-muted);
}

.pill--success {
    background: var(--success-soft);
    color: var(--success);
}

.pill--warning {
    background: var(--warning-soft);
    color: var(--warning);
}

.pill--info {
    background: var(--info-soft);
    color: var(--info);
}

.panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.panel--tint {
    background: linear-gradient(180deg, rgba(230, 245, 245, 0.72), rgba(255, 255, 255, 0.92));
}

.panel__header,
.panel__body {
    padding: 1.35rem 1.4rem;
}

.panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.panel__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.panel__copy {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
}

.panel-grid,
.stats-grid,
.feature-grid,
.pricing-grid,
.detail-grid,
.trust-grid {
    display: grid;
    gap: 1rem;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-sm);
}

.stat-card__label {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.stat-card__value {
    margin: 0.45rem 0 0;
    font-size: 1.9rem;
    font-weight: 700;
}

.stat-card__meta {
    margin: 0.45rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-card--success {
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.7), white);
}

.stat-card--warning {
    background: linear-gradient(180deg, rgba(254, 243, 199, 0.8), white);
}

.stat-card--info {
    background: linear-gradient(180deg, rgba(219, 234, 254, 0.75), white);
}

.logo-bar {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.logo-bar__label {
    margin: 0 0 1rem;
    text-align: center;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
    font-weight: 600;
}

.logo-bar__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.logo-bar__logos img {
    height: 1.6rem;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity var(--transition);
}

.logo-bar__logos img:hover {
    opacity: 0.8;
}

.hero {
    padding: 2rem 0 0.5rem;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 2rem;
    align-items: stretch;
}

.hero__copy,
.hero__aside {
    display: grid;
    gap: 1.25rem;
}

.hero__copy {
    padding: 2.4rem;
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.09), rgba(255, 255, 255, 0.95)),
        var(--bg-elevated);
    border: 1px solid rgba(15, 118, 110, 0.16);
    box-shadow: var(--shadow-md);
}

.hero__title {
    margin: 0;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.hero__subtitle {
    margin: 0;
    max-width: 38rem;
    color: var(--text-muted);
    font-size: 1.15rem;
}

.hero__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero__note {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.hero-card {
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.hero-card h3,
.feature-card h3,
.pricing-card h3,
.detail-card h3,
.signal-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.hero-metrics,
.trust-grid,
.feature-grid,
.pricing-grid,
.detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.trust-card,
.detail-card,
.signal-card {
    padding: 1.3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
}

.signal-card {
    background: linear-gradient(180deg, rgba(204, 251, 241, 0.45), white);
}

.feature-card p,
.trust-card p,
.detail-card p,
.signal-card p,
.feature-card li,
.trust-card li,
.detail-card li {
    margin: 0;
    color: var(--text-muted);
}

.pricing-card {
    padding: 1.45rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 1rem;
}

.pricing-card--featured {
    border-color: rgba(15, 118, 110, 0.32);
    background: linear-gradient(180deg, rgba(230, 245, 245, 0.85), white);
    box-shadow: var(--shadow-md);
}

.pricing-card__price {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1;
}

.pricing-card__meta,
.list-check,
.panel-list,
.signal-list {
    display: grid;
    gap: 0.8rem;
}

.list-check {
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-check li,
.signal-list li,
.panel-list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.list-check li::before,
.signal-list li::before,
.panel-list li::before {
    content: "•";
    color: var(--accent);
    font-weight: 700;
}

.cta-banner {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #103040 0%, #0f766e 100%);
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-banner p,
.cta-banner li {
    color: rgba(255, 255, 255, 0.8);
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
}

.notice--warning {
    border-color: rgba(180, 83, 9, 0.22);
    background: var(--warning-soft);
}

.notice--success {
    border-color: rgba(21, 128, 61, 0.22);
    background: var(--success-soft);
}

.notice--info {
    border-color: rgba(29, 78, 216, 0.18);
    background: var(--info-soft);
}

.field {
    display: grid;
    gap: 0.55rem;
}

.field__label {
    font-weight: 600;
}

.field__hint,
.field__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: white;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--accent);
    box-shadow: var(--focus-ring);
}

.textarea {
    resize: vertical;
    min-height: 8rem;
}

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

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.meter {
    height: 0.65rem;
    border-radius: 999px;
    background: var(--bg-subtle);
    overflow: hidden;
}

.meter__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, #12394a 100%);
    border-radius: inherit;
}

.empty-state {
    padding: 2rem;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.empty-state__badge {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.empty-state h2 {
    margin: 0 0 0.65rem;
    font-size: 1.55rem;
}

.empty-state p {
    margin: 0;
    color: var(--text-muted);
}

.empty-state__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.filter-bar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.filter-chip {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    background: white;
    color: var(--text-muted);
}

.filter-chip.is-active,
.filter-chip:hover {
    border-color: rgba(15, 118, 110, 0.2);
    color: var(--text);
    background: rgba(15, 118, 110, 0.08);
}

.event-list {
    display: grid;
    gap: 1rem;
}

.event-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.event-card--highlight {
    border-color: rgba(15, 118, 110, 0.22);
    box-shadow: var(--shadow-md);
}

.event-card--declined {
    opacity: 0.7;
}

.event-card__date {
    width: 4.75rem;
    padding: 0.85rem 0.7rem;
    border-radius: var(--radius-md);
    background: rgba(15, 118, 110, 0.08);
    text-align: center;
}

.event-card__month {
    color: var(--accent);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.event-card__day {
    margin: 0.3rem 0 0.1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.event-card__time {
    color: var(--text-soft);
    font-size: 0.86rem;
}

.event-card__title {
    margin: 0;
    font-size: 1.05rem;
}

.event-card__meta {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.event-card__copy {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
}

.event-card__footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
}

.attendee-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.attendee-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-size: 0.84rem;
    text-decoration: none;
    border: 1px solid transparent;
    background: var(--bg-subtle);
    color: var(--text-muted);
}

.attendee-pill--ready {
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent);
}

.attendee-pill--pending {
    background: rgba(180, 83, 9, 0.1);
    color: var(--warning);
}

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

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

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 1rem;
}

.identity-card {
    display: grid;
    gap: 1rem;
}

.identity-card__header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.avatar,
.avatar--lg {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, var(--accent) 0%, #12394a 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    overflow: hidden;
    object-fit: cover;
}

.avatar--lg {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.45rem;
}

.identity-card__title {
    margin: 0;
    font-size: 1.35rem;
}

.identity-card__headline,
.identity-card__meta {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: white;
    text-decoration: none;
}

.social-link__badge {
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
}

.summary-copy {
    color: var(--text-muted);
    white-space: pre-line;
}

.disclosure {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
}

.disclosure__summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    cursor: pointer;
    padding: 1rem 1.1rem;
}

.disclosure__summary::-webkit-details-marker {
    display: none;
}

.disclosure__title {
    display: block;
    font-weight: 700;
}

.disclosure__subtitle {
    display: block;
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.disclosure__chevron {
    color: var(--text-soft);
    font-size: 1.25rem;
    transition: transform var(--transition);
}

.disclosure[open] .disclosure__chevron {
    transform: rotate(45deg);
}

.disclosure__body {
    padding: 0 1.1rem 1.1rem;
}

.panel__body > .disclosure + .disclosure,
.stack-md > .disclosure + .disclosure,
.stack-lg > .disclosure + .disclosure {
    margin-top: 1rem;
}

.trait-list {
    display: grid;
    gap: 0.9rem;
}

.trait-item {
    display: grid;
    gap: 0.35rem;
}

.trait-item__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.trait-meter {
    position: relative;
    height: 0.6rem;
    border-radius: 999px;
    background: var(--bg-subtle);
    overflow: hidden;
}

.trait-meter__fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent) 0%, #12394a 100%);
}

.trait-item__labels {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-soft);
    font-size: 0.82rem;
}

.source-list {
    display: grid;
    gap: 0.75rem;
}

.source-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
}

.source-item__domain {
    font-weight: 700;
}

.source-item__meta {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    background: white;
}

.data-table th,
.data-table td {
    padding: 0.95rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.data-table th {
    color: var(--text-soft);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.toast-region {
    position: fixed;
    top: 5.5rem;
    right: 1rem;
    width: min(26rem, calc(100% - 2rem));
    display: grid;
    gap: 0.75rem;
    z-index: 70;
}

.toast {
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: white;
    color: var(--text);
    box-shadow: var(--shadow-md);
}

.toast--success {
    border-color: rgba(21, 128, 61, 0.2);
    background: var(--success-soft);
}

.toast--warning {
    border-color: rgba(180, 83, 9, 0.2);
    background: var(--warning-soft);
}

.toast--error {
    border-color: rgba(185, 28, 28, 0.2);
    background: var(--danger-soft);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 90;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.modal__dialog {
    position: relative;
    width: min(100% - 2rem, 42rem);
    margin: 6vh auto;
    max-height: 88vh;
    overflow: auto;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid rgba(192, 206, 221, 0.7);
    box-shadow: var(--shadow-lg);
}

.modal__header,
.modal__body,
.modal__actions {
    padding: 1.3rem 1.35rem;
}

.modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.modal__header h2 {
    margin: 0.25rem 0 0;
    font-size: 1.25rem;
}

.modal__close {
    border: 0;
    background: transparent;
    color: var(--text-soft);
}

.modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    border-top: 1px solid var(--border);
}

.legal-page {
    display: grid;
    gap: 1.5rem;
}

.legal-hero {
    padding: 1.6rem 1.8rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.09), white);
    border: 1px solid rgba(15, 118, 110, 0.14);
    box-shadow: var(--shadow-sm);
}

.legal-meta {
    color: var(--text-soft);
}

.legal-prose {
    padding: 1.7rem 1.8rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.legal-prose section + section {
    margin-top: 2rem;
}

.legal-prose h2,
.legal-prose h3 {
    color: var(--text);
}

.legal-prose p,
.legal-prose li {
    color: var(--text-muted);
}

.legal-prose ul {
    padding-left: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 1040px) {
    .stats-grid,
    .detail-grid--three,
    .hero-metrics,
    .feature-grid,
    .pricing-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero__grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 880px) {
    .site-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .mobile-nav {
        display: block;
    }

    .page-header,
    .site-footer__inner,
    .event-card,
    .panel__header,
    .event-card__footer,
    .form-actions {
        grid-template-columns: none;
        flex-direction: column;
        align-items: flex-start;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-card__date {
        width: auto;
        display: inline-block;
    }
}

@media (max-width: 720px) {
    .site-main {
        padding-top: 1.5rem;
    }

    .logo-bar__logos {
        gap: 1.5rem;
    }

    .logo-bar__logos img {
        height: 1.3rem;
    }

    .hero__copy,
    .hero-card,
    .panel__header,
    .panel__body,
    .cta-banner,
    .legal-hero,
    .legal-prose,
    .empty-state,
    .modal__header,
    .modal__body,
    .modal__actions {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .stats-grid,
    .detail-grid,
    .feature-grid,
    .pricing-grid,
    .trust-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: clamp(1.9rem, 9vw, 2.8rem);
    }

    .hero__title {
        font-size: clamp(2.3rem, 11vw, 3.6rem);
    }

    .toast-region {
        top: auto;
        bottom: 1rem;
    }
}
