/*
    dealverve public site design system
*/

:root {
    --bg-base: #f7f2e9;
    --bg-layer: #efe5d3;
    --surface: rgba(255, 252, 246, 0.8);
    --surface-strong: rgba(255, 252, 246, 0.94);
    --surface-dark: #171410;
    --border-soft: rgba(25, 20, 14, 0.08);
    --border-strong: rgba(25, 20, 14, 0.14);
    --ink-strong: #171410;
    --ink: #2d2820;
    --ink-muted: #64594c;
    --ink-soft: #8a7b6a;
    --accent-lime: #baf25d;
    --accent-orange: #ff9a62;
    --accent-gold: #f2d38d;
    --accent-deep: #223122;
    --gradient-accent: linear-gradient(135deg, #c8ff6f 0%, #ffba78 100%);
    --gradient-dark: linear-gradient(135deg, #171410 0%, #2f261f 100%);
    --shadow-soft: 0 30px 80px rgba(28, 23, 17, 0.12);
    --shadow-card: 0 20px 48px rgba(28, 23, 17, 0.08);
    --radius-lg: 34px;
    --radius-md: 24px;
    --radius-sm: 18px;
}

[data-theme="dark"] {
    --bg-base: #0f0f10;
    --bg-layer: #1a1a1c;
    --surface: rgba(28, 28, 31, 0.82);
    --surface-strong: rgba(32, 32, 36, 0.94);
    --surface-dark: #ecebe7;
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --ink-strong: #f5f5f5;
    --ink: #e4e4e7;
    --ink-muted: #a1a1aa;
    --ink-soft: #8d8d99;
    --accent-lime: #a3e635;
    --accent-orange: #fb923c;
    --accent-gold: #fbbf24;
    --accent-deep: #d4d4d8;
    --gradient-dark: linear-gradient(135deg, #f4f4f5 0%, #e4e4e7 100%);
    --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.42);
    --shadow-card: 0 20px 48px rgba(0, 0, 0, 0.34);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: linear-gradient(180deg, #fbf7ef 0%, #f3ebdd 48%, #eee3d4 100%);
    color: var(--ink);
    font-family: "Manrope", system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

[data-theme="dark"] body {
    background: linear-gradient(180deg, #0f0f10 0%, #151519 48%, #18181c 100%);
}

body::selection {
    background: rgba(186, 242, 93, 0.44);
    color: var(--ink-strong);
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    color: var(--ink-strong);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

p,
li,
span {
    color: var(--ink-muted);
}

.site-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(76px);
    opacity: 0.45;
}

.hero-glow-a {
    width: 360px;
    height: 360px;
    top: -80px;
    left: -40px;
    background: rgba(186, 242, 93, 0.28);
}

.hero-glow-b {
    width: 420px;
    height: 420px;
    top: 120px;
    right: -80px;
    background: rgba(255, 154, 98, 0.18);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 20, 16, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 20, 16, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
}

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

section {
    padding: 84px 0;
}

.section-shell {
    position: relative;
}

.glass-card,
.glass-panel {
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.54);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.glass-card::before,
.glass-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(247, 242, 233, 0.76);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(23, 20, 16, 0.06);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.logo-mark,
.footer-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--gradient-dark);
    color: #fbf7ef;
    font-size: 0.92rem;
    text-transform: lowercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a,
.footer-links a,
.sidebar-links a,
.sitemap-links a,
.sidebar-review-link,
.footer-disclosure {
    text-decoration: none;
    color: var(--ink-muted);
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.sidebar-links a:hover,
.sitemap-links a:hover,
.sidebar-review-link:hover,
.text-link:hover,
.footer-disclosure:hover {
    color: var(--ink-strong);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    cursor: pointer;
}

.theme-toggle {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink-strong);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

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

[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    color: var(--ink-strong);
    background: var(--gradient-accent);
    box-shadow: 0 16px 36px rgba(186, 242, 93, 0.22);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--ink-strong);
    background: rgba(255, 252, 246, 0.84);
    border: 1px solid var(--border-strong);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-strong);
    font-weight: 700;
    text-decoration: none;
}

.hero,
.page-hero {
    padding-top: 86px;
    padding-bottom: 42px;
}

.catalog-hero {
    position: relative;
    padding-top: 36px;
    padding-bottom: 48px;
    background:
        radial-gradient(circle at 12% 12%, rgba(186, 242, 93, 0.2), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(67, 97, 238, 0.16), transparent 34%),
        radial-gradient(circle at 72% 78%, rgba(255, 154, 98, 0.14), transparent 30%);
}

.catalog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 20, 16, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 20, 16, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 90%);
    pointer-events: none;
}

.catalog-hero .hero-shell {
    position: relative;
    display: block;
    align-items: center;
}

.catalog-hero .hero-copy {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    padding-top: 0;
}

.catalog-hero .hero-copy .hero-kicker,
.catalog-hero .hero-actions {
    justify-content: center;
}

.catalog-hero .hero-copy h1 {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.45rem, 4.4vw, 4.15rem);
    background: linear-gradient(135deg, #2b2d42 16%, #4361ee 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.catalog-hero .hero-copy p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: #8d99ae;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.catalog-hero .hero-actions {
    margin-top: 24px;
    justify-content: center;
}

.hero-shell,
.standards-layout,
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 30px;
    align-items: start;
}

.article-layout-wide {
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
}

.hero-copy,
.standards-copy {
    padding-top: 18px;
}

.hero-kicker,
.eyebrow-label,
.badge,
.trust-chip,
.sidebar-label,
.page-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(23, 20, 16, 0.08);
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
    margin-top: 18px;
    font-size: clamp(3.2rem, 8vw, 5.8rem);
    max-width: 820px;
}

.hero-copy p,
.page-hero p {
    margin-top: 20px;
    max-width: 660px;
    font-size: clamp(1.04rem, 2vw, 1.18rem);
}

.hero-actions,
.hero-trust,
.offer-tags,
.card-actions,
.footer-links,
.sitemap-links,
.sidebar-links,
.table-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-panel,
.feature-card,
.insight-card,
.step-card,
.choice-card,
.legal-card,
.sitemap-card,
.article-card,
.sidebar-card,
.faq-card,
.disclosure-card {
    padding: 28px;
}

.hero-panel {
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.96) 0%, rgba(244, 236, 220, 0.82) 100%);
}

.hero-panel-top,
.section-head,
.section-intro,
.choice-topline,
.pick-topline {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.hero-panel-top h2,
.section-head h2,
.section-intro h2,
.cta-strip h2,
.legal-card h2,
.sitemap-card h2,
.article-card h2,
.faq-card h3,
.guide-section h2 {
    margin-top: 14px;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.hero-panel-summary {
    margin-top: 18px;
    max-width: 560px;
}

.hero-score,
.offer-rating,
.sidebar-score {
    min-width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 20, 16, 0.95);
    color: #fbf7ef;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.offer-rating {
    min-width: 48px;
    height: 48px;
    font-size: 1rem;
}

.sidebar-score {
    margin-top: 18px;
    width: 100%;
    border-radius: 24px;
}

.signal-list,
.metric-grid,
.feature-grid,
.insights-grid,
.choice-grid,
.faq-grid,
.methodology-grid,
.sitemap-grid,
.legal-content {
    display: grid;
    gap: 18px;
}

.signal-list {
    margin-top: 28px;
}

.signal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(23, 20, 16, 0.08);
}

.signal-row strong,
.metric-card strong,
.choice-card h3,
.feature-card h3,
.insight-card h3,
.step-card h3,
.article-card h3,
.sidebar-card h3,
.table-provider strong,
.score-cell strong {
    color: var(--ink-strong);
}

.metric-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
}

.metric-card,
.methodology-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 20, 16, 0.05);
}

.metric-label {
    display: block;
    color: var(--ink-soft);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.metric-card strong,
.methodology-card strong {
    display: block;
    margin-top: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
}

.feature-grid,
.insights-grid,
.faq-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
}

.category-directory {
    padding-top: 72px;
    padding-bottom: 92px;
    background: rgba(255, 252, 246, 0.46);
}

.category-directory-head {
    justify-content: center;
    text-align: center;
}

.category-directory-head h2 {
    max-width: 860px;
    font-size: clamp(2.35rem, 4.8vw, 4.4rem);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 42px;
}

.category-card {
    min-height: 212px;
    padding: 28px;
    display: grid;
    align-content: start;
    gap: 16px;
    color: inherit;
    text-decoration: none;
    transform-style: preserve-3d;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 236, 0.84));
    border-color: rgba(23, 20, 16, 0.1);
    box-shadow: 0 22px 56px rgba(28, 23, 17, 0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 154, 98, 0.45);
    box-shadow: 0 30px 70px rgba(28, 23, 17, 0.14);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    color: var(--ink-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
}

.category-card strong {
    color: var(--ink-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.38rem;
    line-height: 1.12;
}

.category-card span:last-child {
    color: var(--ink-muted);
    font-size: 0.95rem;
}

.choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 28px;
}

.choice-card,
.pick-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform-style: preserve-3d;
}

.pick-best-for,
.choice-note {
    color: var(--ink-strong);
    font-weight: 600;
}

.offer-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(23, 20, 16, 0.08);
    color: var(--ink-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.card-actions {
    margin-top: auto;
}

.section-actions {
    margin-top: 24px;
    justify-content: flex-start;
}

.standards-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.standards-steps-shell {
    margin-top: 34px;
}

.homepage-metrics {
    margin-top: 0;
}

.compare-method-section {
    padding-top: 108px;
    padding-bottom: 106px;
    background:
        linear-gradient(135deg, rgba(80, 205, 185, 0.14), rgba(255, 211, 101, 0.16) 48%, rgba(255, 94, 118, 0.12)),
        rgba(255, 255, 255, 0.26);
}

.compare-method-section .standards-layout {
    gap: 60px;
    align-items: center;
}

.compare-method-section .standards-copy {
    padding-top: 0;
}

.compare-method-section .standards-copy h2 {
    max-width: 780px;
}

.compare-method-section .standards-copy p {
    max-width: 760px;
    font-size: 1.14rem;
}

.homepage-metrics {
    gap: 22px;
}

.homepage-metrics .metric-card {
    min-height: 150px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(23, 20, 16, 0.08);
    box-shadow: 0 20px 52px rgba(28, 23, 17, 0.08);
}

.homepage-metrics .metric-card:nth-child(1) {
    border-top: 5px solid #ff5e76;
}

.homepage-metrics .metric-card:nth-child(2) {
    border-top: 5px solid #ffd365;
}

.homepage-metrics .metric-card:nth-child(3) {
    border-top: 5px solid #50cdb9;
}

.homepage-metrics .metric-card strong {
    font-size: clamp(2rem, 4vw, 2.85rem);
}

.compare-method-section .step-card {
    min-height: 172px;
    padding: 34px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(23, 20, 16, 0.08);
}

.compare-method-section .step-number {
    color: var(--accent-orange);
    font-weight: 800;
}

.stacked-actions {
    flex-direction: column;
}

.comparison-table-wrap {
    margin-top: 30px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.comparison-table th,
.comparison-table td {
    padding: 22px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(23, 20, 16, 0.08);
}

.comparison-table th {
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rank-cell,
.score-cell {
    white-space: nowrap;
}

.table-provider {
    display: grid;
    gap: 6px;
}

.table-provider span,
.score-cell span {
    font-size: 0.84rem;
}

.table-feature-list {
    flex-direction: column;
    gap: 8px;
    list-style: none;
}

.action-cell {
    display: grid;
    gap: 12px;
}

.methodology-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 28px;
}

.disclosure-card,
.cta-strip-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.disclosure-card p,
.cta-strip-shell p {
    max-width: 760px;
}

.article-card {
    display: grid;
    gap: 22px;
}

.review-sidebar {
    display: grid;
    gap: 18px;
    align-self: start;
}

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

.glass-panel {
    padding: 22px;
}

.guide-section + .guide-section {
    padding-top: 8px;
}

.sidebar-card {
    display: grid;
    gap: 14px;
}

.sidebar-review-link {
    padding-top: 8px;
}

.faq-card p,
.feature-card p,
.insight-card p,
.step-card p,
.article-card p,
.legal-card p {
    margin-top: 12px;
}

.cta-strip {
    padding-top: 38px;
    padding-bottom: 108px;
}

.cta-strip-shell {
    padding: 34px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(23, 20, 16, 0.96), rgba(47, 38, 31, 0.92));
    box-shadow: var(--shadow-soft);
}

.cta-strip-shell h2,
.cta-strip-shell p,
.cta-strip-shell .eyebrow-label {
    color: #fbf7ef;
}

.cta-strip-shell .eyebrow-label {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.site-footer {
    padding: 52px 0 68px;
    background: rgba(255, 251, 245, 0.8);
    border-top: 1px solid rgba(23, 20, 16, 0.08);
}

.footer-shell,
.footer-brand,
.footer-copy {
    display: grid;
    gap: 16px;
}

.footer-brand p {
    max-width: 700px;
}

.footer-links {
    gap: 12px 22px;
}

.footer-links-primary a {
    color: var(--ink-strong);
    font-weight: 700;
}

.legal-section {
    padding-top: 18px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 110px;
    padding: 24px;
}

.sidebar-links,
.sitemap-links {
    display: grid;
    gap: 12px;
}

.page-hero {
    text-align: center;
}

.page-hero h1,
.page-hero p,
.page-meta {
    margin-left: auto;
    margin-right: auto;
}

.page-meta {
    margin-top: 18px;
    justify-content: center;
}

.legal-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-left: 20px;
}

.legal-list li::marker {
    color: var(--accent-orange);
}

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

.reduced-motion *,
.reduced-motion *::before,
.reduced-motion *::after {
    animation: none !important;
    transition: none !important;
}

@media (max-width: 1120px) {
    .hero-shell,
    .standards-layout,
    .article-layout,
    .section-head,
    .cta-strip-shell,
    .disclosure-card {
        grid-template-columns: 1fr;
        display: grid;
    }

    .feature-grid,
    .insights-grid,
    .faq-grid,
    .standards-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .nav-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .metric-grid,
    .pros-cons,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 32px, 1200px);
    }

    section {
        padding: 70px 0;
    }

    .site-nav {
        padding: 14px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .nav-cta,
    .card-actions .btn-primary,
    .card-actions .btn-secondary {
        width: 100%;
    }

    .catalog-hero {
        min-height: auto;
        padding-top: 38px;
        padding-bottom: 44px;
    }

    .catalog-hero .hero-copy h1 {
        font-size: clamp(2.05rem, 9vw, 3rem);
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.2rem);
    }

    .hero-panel,
    .feature-card,
    .insight-card,
    .step-card,
    .choice-card,
    .legal-card,
    .sitemap-card,
    .article-card,
    .sidebar-card,
    .faq-card,
    .disclosure-card,
    .glass-card,
    .glass-panel,
    .cta-strip-shell {
        padding: 24px;
        border-radius: 22px;
    }
}
