/* ============================================================
   FinToolSet — Pages & Components CSS (v2)
   Covers: front-page, all singles, all archives, supplementary pages
   ============================================================ */

/* ============================================================
   SHARED BUTTONS (extended)
   ============================================================ */
.btn-hero-ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
    border-color: rgba(255,255,255,.7);
}
.btn-accent {
    background: var(--color-accent, #f59e0b);
    color: #000;
    font-weight: 700;
}
.btn-accent:hover {
    background: color-mix(in srgb, var(--color-accent, #f59e0b) 85%, #000);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245,158,11,.35);
}
.btn-accent svg { vertical-align: middle; margin-left: .3rem; }
.btn-outline-secondary {
    background: transparent;
    color: var(--color-secondary, #0f172a);
    border: 2px solid var(--color-secondary, #0f172a);
    font-weight: 700;
}
.btn-outline-secondary:hover {
    background: var(--color-secondary, #0f172a);
    color: #fff;
}
.btn-xl { padding: .9rem 2.25rem; font-size: 1.05rem; }
.btn-lg { padding: .75rem 1.75rem; font-size: .97rem; }
.btn-sm { padding: .45rem 1rem; font-size: .83rem; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: .6rem; }
.section-sub { color: #64748b; font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.section-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: .6rem;
}
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   PAGE HEROES
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--hero-from, #075985) 0%, var(--hero-to, #0284c7) 100%);
    color: #fff;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__eyebrow {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: .3rem 1rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.9);
    margin-bottom: 1rem;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: .875rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.page-hero__updated { color: rgba(255,255,255,.6); font-size: .875rem; margin-top: .5rem; }

/* Hero search bar */
.page-hero__search {
    display: flex;
    align-items: center;
    gap: .75rem;
    max-width: 480px;
    margin: 1.75rem auto 0;
    background: rgba(255,255,255,.14);
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: .6rem;
    padding: .6rem 1rem;
    transition: border-color .2s, background .2s;
}
.page-hero__search:focus-within {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.6);
}
.page-hero__search svg { color: rgba(255,255,255,.7); flex-shrink: 0; }
.page-hero__search input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: .95rem;
    width: 100%;
}
.page-hero__search input::placeholder { color: rgba(255,255,255,.55); }

/* Coloured variants */
.page-hero--calcs  { background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%); }
.page-hero--guides { background: linear-gradient(135deg, #14532d 0%, #16a34a 100%); }
.page-hero--deals  { background: linear-gradient(135deg, #78350f 0%, #d97706 100%); }
.page-hero--legal  { background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%); }
.page-hero--archive{ background: linear-gradient(135deg, #1e293b 0%, #475569 100%); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    background: var(--color-secondary, #0f172a);
    padding: .8rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-bar__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.trust-bar__label {
    font-size: .73rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .07em;
    white-space: nowrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: #94a3b8;
    white-space: nowrap;
}

/* ============================================================
   ARCHIVE STATS BAR
   ============================================================ */
.archive-stats-bar {
    background: #fff;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
    padding: .85rem 0;
}
.archive-stats-bar__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.archive-stat {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .875rem;
    color: #64748b;
}
.archive-stat strong { color: var(--color-secondary, #0f172a); font-weight: 700; }

/* ============================================================
   HERO SECTION (front-page)
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 4.5rem;
    color: #fff;
}
.hero__pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 1.5rem;
}
.hero__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent, #f59e0b);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:.55; transform:scale(.8); }
}
.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
}
.hero__sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.82);
    max-width: 540px;
    line-height: 1.72;
    margin-bottom: 2rem;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero__stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat strong { font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero__stat span { font-size: .73rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .07em; margin-top: .1rem; }
.hero__stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.2); flex-shrink: 0; }

/* Hero Visual Cards */
.hero__visual { position: relative; height: 340px; }
.hv-card {
    position: absolute;
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
    color: var(--color-secondary, #0f172a);
    animation: float 6s ease-in-out infinite;
}
.hv-card--b { animation-delay: -2s; }
.hv-card--c { animation-delay: -4s; }
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hv-card--a { top: 0;   right: 50px; width: 220px; }
.hv-card--b { top: 125px; right: 0;    width: 200px; }
.hv-card--c { top: 215px; right: 120px; width: 160px; }
.hv-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #64748b; margin-bottom: .3rem; }
.hv-value { font-size: 1.7rem; font-weight: 800; line-height: 1; }
.hv-value span { font-size: 1rem; font-weight: 500; color: #64748b; }
.hv-value--green { color: #16a34a; }
.hv-icon { font-size: 1.4rem; display: block; margin-bottom: .3rem; }
.hv-bar { height: 6px; background: #e2e8f0; border-radius: 999px; margin-top: .75rem; overflow: hidden; }
.hv-bar div { height: 100%; background: linear-gradient(90deg, #0284c7, #38bdf8); border-radius: 999px; }
.hv-chips { display: flex; gap: .4rem; margin-top: .6rem; flex-wrap: wrap; }
.hv-chips span { background: #f1f5f9; border-radius: 999px; padding: .18rem .6rem; font-size: .7rem; font-weight: 600; color: #475569; }

/* ============================================================
   CALCULATOR GRID (front-page)
   ============================================================ */
.calc-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.calc-tile {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border-radius: .875rem;
    padding: 1.25rem;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.calc-tile:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 28px rgba(2,132,199,.12);
    transform: translateY(-2px);
    color: inherit;
}
.calc-tile__icon {
    width: 48px;
    height: 48px;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.calc-tile__body { flex: 1; min-width: 0; }
.calc-tile__body h3 { font-size: .95rem; font-weight: 700; color: var(--color-secondary, #0f172a); margin-bottom: .25rem; line-height: 1.3; }
.calc-tile__body p { font-size: .8rem; color: #64748b; margin: 0; line-height: 1.5; }
.calc-tile__arrow { color: #cbd5e1; flex-shrink: 0; margin-top: .3rem; transition: color .2s, transform .2s; }
.calc-tile:hover .calc-tile__arrow { color: var(--color-primary); transform: translateX(3px); }

/* ============================================================
   HOW IT WORKS STEPS
   ============================================================ */
.steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    position: relative;
}
.steps-row::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 16.67%;
    right: 16.67%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--color-primary) 0, var(--color-primary) 8px, transparent 8px, transparent 20px);
    opacity: .18;
    pointer-events: none;
}
@media (max-width: 680px) { .steps-row::before { display: none; } }
.step-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1.5px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    position: relative;
    z-index: 1;
    transition: box-shadow .2s, transform .2s;
}
.step-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-2px); }
.step-card__num { font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--color-primary); text-transform: uppercase; margin-bottom: .75rem; }
.step-card__icon { font-size: 2.25rem; display: block; margin-bottom: .75rem; }
.step-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary, #0f172a); margin-bottom: .5rem; }
.step-card p { font-size: .875rem; color: #64748b; line-height: 1.65; margin: 0; }

/* ============================================================
   BENTO FEATURES GRID
   ============================================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 900px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento-grid { grid-template-columns: 1fr; } }
.bento-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    border: 1.5px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: box-shadow .2s, transform .2s;
}
.bento-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-2px); }
.bento-card--wide { grid-column: span 2; }
@media (max-width: 900px) { .bento-card--wide { grid-column: span 2; } }
@media (max-width: 560px) { .bento-card--wide { grid-column: span 1; } }
.bento-card__icon { font-size: 2rem; display: block; margin-bottom: .875rem; }
.bento-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary, #0f172a); margin-bottom: .5rem; }
.bento-card p { font-size: .875rem; color: #64748b; line-height: 1.65; margin: 0; }

/* ============================================================
   GUIDES GRID (front-page & archive)
   ============================================================ */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: .5rem;
}
.guide-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.guide-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.1); transform: translateY(-3px); }
.guide-card__thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark, #075985) 100%);
}
.guide-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.guide-card:hover .guide-card__thumb img { transform: scale(1.04); }
.guide-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.guide-card__badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: var(--color-primary);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: .22rem .65rem;
    border-radius: 999px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.guide-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.guide-card__meta { display: flex; gap: .6rem; font-size: .78rem; color: #94a3b8; margin-bottom: .75rem; }
.guide-card__title { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary, #0f172a); line-height: 1.35; margin-bottom: .5rem; }
.guide-card__title a { color: inherit; }
.guide-card__title a:hover { color: var(--color-primary); }
.guide-card__excerpt { font-size: .875rem; color: #64748b; line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.guide-card__read { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 700; color: var(--color-primary); margin-top: auto; }
.guide-card__read:hover { color: var(--color-primary-dark, #075985); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--color-secondary, #0f172a); }
.testimonials-section .section-header h2 { color: #fff; }
.testimonials-section .section-sub { color: #94a3b8; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.tcard {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 1rem;
    padding: 1.75rem;
    transition: background .2s;
}
.tcard:hover { background: rgba(255,255,255,.09); }
.tcard__stars { color: var(--color-accent, #f59e0b); font-size: 1rem; letter-spacing: .1em; margin-bottom: .875rem; }
.tcard__quote { font-size: .95rem; color: #cbd5e1; line-height: 1.72; margin-bottom: 1.25rem; font-style: italic; }
.tcard__author { display: flex; align-items: center; gap: .75rem; }
.tcard__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .95rem;
    flex-shrink: 0;
}
.tcard__author strong { display: block; font-size: .875rem; color: #f1f5f9; }
.tcard__author span { display: block; font-size: .78rem; color: #64748b; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { position: relative; overflow: hidden; padding: 5rem 0; }
.cta-banner__pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}
.cta-banner__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (max-width: 720px) { .cta-banner__inner { grid-template-columns: 1fr; text-align: center; } }
.cta-banner__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent, #f59e0b); margin-bottom: .75rem; }
.cta-banner__body h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: #fff; margin-bottom: .875rem; font-weight: 800; }
.cta-banner__body p { color: rgba(255,255,255,.72); font-size: 1rem; margin-bottom: 1.75rem; max-width: 520px; }
.cta-badge {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--color-accent, #f59e0b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000;
    text-align: center;
    flex-shrink: 0;
}
.cta-badge span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.cta-badge strong { font-size: 2.5rem; font-weight: 900; line-height: 1; }

/* ============================================================
   CHIPS
   ============================================================ */
.chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .22rem .75rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}
.chip--free    { background: #dcfce7; color: #15803d; }
.chip--instant { background: #fef3c7; color: #92400e; }
.chip--private { background: #ede9fe; color: #6d28d9; }

/* ============================================================
   ENTRY HERO (guides, calculators)
   ============================================================ */
.entry-hero {
    background: linear-gradient(135deg, var(--color-secondary, #0f172a) 0%, #1e3a5f 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
}
.entry-hero__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 900px) { .entry-hero__inner { grid-template-columns: 1fr; } .entry-hero__thumbnail { display: none; } }
.entry-hero__thumbnail img { border-radius: 1rem; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.entry-hero__breadcrumb { margin-bottom: 1rem; }
.entry-hero__breadcrumb .breadcrumbs { background: transparent; padding: 0; border: none; }
.entry-hero__breadcrumb .breadcrumb-list { color: rgba(255,255,255,.6); }
.entry-hero__breadcrumb a { color: rgba(255,255,255,.75); }
.entry-hero__breadcrumb .breadcrumb-list svg { stroke: rgba(255,255,255,.5); }
.entry-hero__tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.entry-tag {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: .22rem .75rem;
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    text-decoration: none;
}
.entry-tag--guide { background: rgba(34,197,94,.2); border-color: rgba(34,197,94,.3); }
.entry-hero__title { font-size: clamp(1.75rem, 4vw, 3rem); color: #fff; font-weight: 800; line-height: 1.15; margin-bottom: .875rem; }
.entry-hero__excerpt { color: rgba(255,255,255,.75); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.5rem; }
.entry-hero__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.entry-meta-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar__img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); flex-shrink: 0; }
.entry-meta-author__name { font-weight: 700; color: #fff; font-size: .9rem; display: block; }
.entry-meta-chips { display: flex; gap: .75rem; margin-top: .25rem; flex-wrap: wrap; }
.entry-meta-chips span { display: flex; align-items: center; gap: .3rem; font-size: .78rem; color: rgba(255,255,255,.6); }

/* Share pills */
.entry-share-bar { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.entry-share-bar__label { font-size: .78rem; color: rgba(255,255,255,.55); white-space: nowrap; }
.share-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .15s, transform .15s;
}
.share-pill:hover { opacity: .85; transform: translateY(-1px); }
.share-pill--tw { background: #000; color: #fff; }
.share-pill--fb { background: #1877f2; color: #fff; }
.entry-share-bar--footer .entry-share-bar__label { color: #64748b; }

/* ============================================================
   ENTRY LAYOUT (guide single: content + TOC)
   ============================================================ */
.entry-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    padding: 3rem 0 4rem;
    align-items: start;
}
@media (max-width: 1024px) { .entry-layout { grid-template-columns: 1fr; } .entry-toc { display: none; } }

/* TOC sidebar */
.entry-toc { position: sticky; top: 90px; }
.toc-inner {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: .875rem;
    padding: 1.25rem 1.5rem;
}
.toc-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--color-secondary, #0f172a);
    margin-bottom: .875rem;
}
#toc-nav ol { list-style: none; padding: 0; margin: 0; }
#toc-nav > ol > li { margin-bottom: .25rem; }
#toc-nav > ol > li > ol { padding-left: 1rem; margin-top: .2rem; }
#toc-nav a {
    display: block;
    font-size: .83rem;
    color: #64748b;
    padding: .25rem .5rem;
    border-radius: .35rem;
    text-decoration: none;
    line-height: 1.45;
    transition: background .15s, color .15s;
}
#toc-nav a:hover { background: #f8fafc; color: var(--color-primary); }
#toc-nav a.toc-active { background: #eff6ff; color: var(--color-primary); font-weight: 600; }

/* Article prose */
.prose { line-height: 1.8; color: #374151; }
.prose h2 { font-size: 1.5rem; color: var(--color-secondary, #0f172a); margin: 2.5rem 0 .875rem; padding-top: .5rem; }
.prose h3 { font-size: 1.15rem; color: var(--color-secondary, #0f172a); margin: 2rem 0 .6rem; }
.prose p { margin-bottom: 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1.15rem 1.5rem; }
.prose li { margin-bottom: .45rem; }
.prose blockquote {
    border-left: 4px solid var(--color-primary);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #f0f9ff;
    border-radius: 0 .5rem .5rem 0;
    color: #0c4a6e;
    font-style: italic;
}
.prose img { border-radius: .75rem; margin: 1.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.prose th { background: var(--color-secondary, #0f172a); color: #fff; padding: .75rem 1rem; text-align: left; font-weight: 600; }
.prose td { padding: .65rem 1rem; border-bottom: 1px solid #e2e8f0; }
.prose tr:nth-child(even) td { background: #f8fafc; }
.prose code { background: #f1f5f9; border-radius: .35rem; padding: .15rem .45rem; font-size: .88em; color: #be185d; }
.prose pre { background: #0f172a; color: #e2e8f0; border-radius: .75rem; padding: 1.5rem; overflow-x: auto; margin: 1.5rem 0; }
.prose pre code { background: none; color: inherit; padding: 0; }

/* Entry footer */
.entry-footer-block {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.entry-footer-tags { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: #64748b; }
.tag-chip {
    background: #f1f5f9;
    color: #475569;
    border-radius: 999px;
    padding: .22rem .75rem;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
}
.tag-chip:hover { background: #e2e8f0; }

/* Author box */
.author-box {
    display: flex;
    gap: 1.25rem;
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1.5px solid #e2e8f0;
    margin-top: 2rem;
    align-items: flex-start;
}
.author-box__avatar img { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.author-box__name { font-size: 1rem; font-weight: 700; color: var(--color-secondary, #0f172a); margin-bottom: .35rem; }
.author-box__name a { color: inherit; }
.author-box__bio { font-size: .875rem; color: #64748b; line-height: 1.65; margin: 0; }

/* Related calcs strip */
.related-calcs-block { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #e2e8f0; }
.related-calcs-block h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.related-calcs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.related-calc-card {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: .75rem;
    padding: .875rem 1rem;
    text-decoration: none;
    color: var(--color-secondary, #0f172a);
    font-size: .875rem;
    font-weight: 600;
    transition: border-color .2s, box-shadow .2s;
}
.related-calc-card:hover { border-color: var(--color-primary); box-shadow: 0 4px 12px rgba(2,132,199,.12); color: var(--color-primary); }
.related-calc-card__icon { font-size: 1.3rem; flex-shrink: 0; }
.related-calc-card__name { flex: 1; }
.related-calc-card svg { color: #cbd5e1; flex-shrink: 0; }

/* Post navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}
.post-nav__item {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: .875rem;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: var(--color-secondary, #0f172a);
    transition: border-color .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.post-nav__item:hover { border-color: var(--color-primary); box-shadow: 0 4px 12px rgba(2,132,199,.1); color: var(--color-secondary, #0f172a); }
.post-nav__item--next { text-align: right; }
.post-nav__dir { display: flex; align-items: center; gap: .3rem; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--color-primary); }
.post-nav__item--next .post-nav__dir { justify-content: flex-end; }
.post-nav__title { font-size: .88rem; font-weight: 600; line-height: 1.35; }

/* ============================================================
   CALCULATOR SINGLE LAYOUT
   ============================================================ */
.calc-single-hero {
    background: linear-gradient(135deg, var(--color-secondary, #0f172a) 0%, #1a3a5c 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
}
.calc-single-hero__inner {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.calc-single-hero__icon {
    width: 72px;
    height: 72px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.calc-single-hero h1 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); color: #fff; margin-bottom: .5rem; }
.calc-single-hero__desc { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 1rem; }
.calc-single-hero__chips { display: flex; gap: .6rem; flex-wrap: wrap; }

.calc-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    padding: 2.5rem 0 4rem;
    align-items: start;
}
@media (max-width: 960px) { .calc-single-layout { grid-template-columns: 1fr; } }

.calc-disclaimer {
    display: flex;
    gap: .75rem;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: .75rem;
    padding: .875rem 1rem;
    margin-top: 1.5rem;
    font-size: .82rem;
    color: #78350f;
    line-height: 1.55;
}
.calc-disclaimer svg { flex-shrink: 0; color: #d97706; margin-top: .05rem; }

/* Sidebar cards */
.calc-sidebar-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: .875rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}
.calc-sidebar-card__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--color-secondary, #0f172a);
    margin-bottom: 1rem;
}
.calc-sidebar-steps { padding-left: 1.25rem; margin: 0; }
.calc-sidebar-steps li { font-size: .85rem; color: #64748b; margin-bottom: .6rem; line-height: 1.5; }
.calc-sidebar-list { list-style: none; padding: 0; margin: 0; }
.calc-sidebar-list li { border-bottom: 1px solid #f1f5f9; }
.calc-sidebar-list li:last-child { border-bottom: none; }
.calc-sidebar-list a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 0;
    font-size: .85rem;
    color: #475569;
    text-decoration: none;
    transition: color .15s;
}
.calc-sidebar-list a:hover { color: var(--color-primary); }
.calc-sidebar-list__icon { font-size: 1.1rem; }
.calc-sidebar-guides { list-style: none; padding: 0; margin: 0; }
.calc-sidebar-guides li { border-bottom: 1px solid #f1f5f9; }
.calc-sidebar-guides li:last-child { border-bottom: none; }
.calc-sidebar-guides a { display: flex; flex-direction: column; padding: .65rem 0; gap: .2rem; text-decoration: none; }
.calc-sidebar-guides__title { font-size: .85rem; font-weight: 600; color: var(--color-secondary, #0f172a); line-height: 1.35; }
.calc-sidebar-guides__meta { font-size: .75rem; color: #94a3b8; }

/* ============================================================
   DEAL SINGLE LAYOUT
   ============================================================ */
.deal-hero {
    background: linear-gradient(135deg, #1c1917 0%, #44403c 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
}
.deal-hero__inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 900px) { .deal-hero__inner { grid-template-columns: 1fr; } .deal-hero__image { display: none; } }
.deal-hero__image img { border-radius: 1rem; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.deal-hero__badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.deal-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .8rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.deal-badge--hot { background: var(--color-accent, #f59e0b); color: #000; }
.deal-badge--cat { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.deal-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); color: #fff; margin-bottom: .875rem; }
.deal-hero__excerpt { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.65; margin-bottom: 1.5rem; }
.deal-hero__cta { margin-bottom: 1.25rem; }
.deal-hero__disclaimer { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: .6rem; }

.deal-coupon {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: rgba(255,255,255,.08);
    border: 1.5px dashed rgba(255,255,255,.3);
    border-radius: .75rem;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.deal-coupon__label { font-size: .8rem; color: rgba(255,255,255,.6); }
.deal-coupon__code {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent, #f59e0b);
    background: none;
    border: none;
    cursor: pointer;
    letter-spacing: .08em;
    padding: 0;
}
.deal-coupon__feedback { font-size: .78rem; color: #4ade80; }
.deal-expires { font-size: .82rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: .4rem; }

.deal-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    padding: 2.5rem 0 4rem;
    align-items: start;
}
@media (max-width: 960px) { .deal-layout { grid-template-columns: 1fr; } }

.deal-bottom-cta {
    margin-top: 2.5rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1.5px solid #e2e8f0;
    text-align: center;
}
.deal-bottom-cta h3 { margin-bottom: 1rem; }

/* Deal summary card */
.deal-summary-card {
    background: var(--color-secondary, #0f172a);
    color: #e2e8f0;
    border-radius: 1rem;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
}
.deal-summary-card h3 { color: #fff; margin-bottom: 1.25rem; font-size: 1rem; }
.deal-summary-list { list-style: none; padding: 0; margin: 0; }
.deal-summary-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .65rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .875rem;
}
.deal-summary-list li:last-child { border-bottom: none; }
.deal-summary-list span { color: #94a3b8; }
.deal-summary-list strong { color: #f1f5f9; }
.deal-summary-list .mono { font-family: monospace; color: var(--color-accent, #f59e0b); letter-spacing: .06em; }
.deal-verified { color: #4ade80; }

/* ============================================================
   CALCULATOR ARCHIVE
   ============================================================ */
.calc-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1rem;
}
.calc-archive-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.calc-archive-card:hover { border-color: var(--color-primary); box-shadow: 0 8px 28px rgba(2,132,199,.1); transform: translateY(-2px); }
.calc-archive-card__icon { width: 56px; height: 56px; border-radius: .875rem; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.calc-archive-card__title { font-size: 1.05rem; font-weight: 700; margin: 0; }
.calc-archive-card__title a { color: var(--color-secondary, #0f172a); }
.calc-archive-card__title a:hover { color: var(--color-primary); }
.calc-archive-card__desc { font-size: .875rem; color: #64748b; line-height: 1.6; margin: 0; flex: 1; }
.calc-archive-card__chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.calc-archive-card__btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

/* ============================================================
   GUIDES ARCHIVE
   ============================================================ */
.guides-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.guide-archive-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.guide-archive-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.1); transform: translateY(-3px); }
.guide-archive-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
    max-height: 360px;
}
@media (max-width: 768px) { .guide-archive-card--featured { flex-direction: column; max-height: none; } }
.guide-archive-card__thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark, #075985) 100%);
}
.guide-archive-card--featured .guide-archive-card__thumb {
    flex: 0 0 50%;
    aspect-ratio: auto;
}
.guide-archive-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.guide-archive-card:hover .guide-archive-card__thumb img { transform: scale(1.04); }
.guide-archive-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.guide-archive-card--featured .guide-archive-card__body { justify-content: center; }
.guide-archive-card__title { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary, #0f172a); line-height: 1.35; margin-bottom: .5rem; }
.guide-archive-card--featured .guide-archive-card__title { font-size: 1.5rem; }
.guide-archive-card__title a { color: inherit; }
.guide-archive-card__title a:hover { color: var(--color-primary); }
.guide-archive-card__excerpt { font-size: .875rem; color: #64748b; line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }
.guide-archive-card--featured .guide-archive-card__excerpt { font-size: .95rem; }

/* ============================================================
   DEALS ARCHIVE
   ============================================================ */
.deals-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.deal-archive-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.deal-archive-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.1); transform: translateY(-3px); }
.deal-archive-card__image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #1c1917 0%, #78350f 100%);
}
.deal-archive-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.deal-archive-card:hover .deal-archive-card__image img { transform: scale(1.04); }
.deal-archive-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.deal-archive-card__image .deal-badge { position: absolute; top: .75rem; left: .75rem; }
.deal-archive-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.deal-cat-tag {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--color-primary);
}
.deal-archive-card__title { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary, #0f172a); line-height: 1.35; margin: 0; }
.deal-archive-card__title a { color: inherit; }
.deal-archive-card__title a:hover { color: var(--color-primary); }
.deal-archive-card__excerpt { font-size: .875rem; color: #64748b; line-height: 1.6; flex: 1; margin: 0; }
.deal-code-pill { display: inline-flex; align-items: center; gap: .5rem; background: #fef3c7; border-radius: 999px; padding: .25rem .75rem; font-size: .78rem; }
.deal-code-pill__label { color: #92400e; font-weight: 600; }
.deal-code-pill__code { font-family: monospace; color: #78350f; font-weight: 800; letter-spacing: .06em; }
.deal-archive-card__actions { display: flex; gap: .75rem; margin-top: auto; padding-top: .75rem; flex-wrap: wrap; }

/* ============================================================
   BLOG ARCHIVE GRID
   ============================================================ */
.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.blog-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.1); transform: translateY(-3px); }
.blog-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
}
@media (max-width: 768px) { .blog-card--featured { flex-direction: column; } }
.blog-card__thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e293b, #475569);
}
.blog-card--featured .blog-card__thumb { flex: 0 0 50%; aspect-ratio: auto; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }
.blog-card__thumb--placeholder { display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card--featured .blog-card__body { padding: 2rem; justify-content: center; }
.blog-card__meta { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: #94a3b8; margin-bottom: .75rem; flex-wrap: wrap; }
.blog-card__cat {
    background: #eff6ff;
    color: var(--color-primary);
    border-radius: 999px;
    padding: .18rem .65rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-decoration: none;
}
.blog-card__title { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary, #0f172a); line-height: 1.35; margin-bottom: .5rem; }
.blog-card--featured .blog-card__title { font-size: 1.5rem; }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--color-primary); }
.blog-card__title--lg { font-size: 1.5rem; }
.blog-card__excerpt { font-size: .875rem; color: #64748b; line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }
.blog-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; flex-wrap: wrap; }
.blog-card__author { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: #64748b; }
.blog-card__avatar { width: 28px; height: 28px; border-radius: 50%; }
.blog-card__reading { font-size: .78rem; color: #94a3b8; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 900px) { .about-mission-grid { grid-template-columns: 1fr; } }
.about-mission-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.about-mission-content p { color: #475569; line-height: 1.75; margin-bottom: 1rem; }
.about-mission-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.about-stat { text-align: center; }
.about-stat strong { display: block; font-size: 2.25rem; font-weight: 800; color: var(--color-primary); line-height: 1.1; }
.about-stat span { font-size: .8rem; color: #64748b; text-transform: uppercase; letter-spacing: .07em; }
.about-visual-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.about-visual-icon { font-size: 1.5rem; flex-shrink: 0; }
.about-visual-card h3 { font-size: .95rem; font-weight: 700; color: var(--color-secondary, #0f172a); margin-bottom: .35rem; }
.about-visual-card p { font-size: .85rem; color: #64748b; margin: 0; line-height: 1.6; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.value-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem;
    border: 1.5px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: box-shadow .2s, transform .2s;
}
.value-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-2px); }
.value-card__icon { font-size: 1.75rem; margin-bottom: .75rem; display: block; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--color-secondary, #0f172a); margin-bottom: .4rem; }
.value-card p { font-size: .875rem; color: #64748b; margin: 0; line-height: 1.6; }

.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.offer-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}
.offer-card__num { font-size: 2.5rem; }
.offer-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary, #0f172a); }
.offer-card p { font-size: .875rem; color: #64748b; line-height: 1.6; flex: 1; margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-header h2 { margin-bottom: .35rem; }
.contact-form { margin-top: 1.75rem; }
.contact-form__row { display: flex; gap: 1rem; flex-wrap: wrap; }
.contact-form__row--2 > * { flex: 1 1 220px; }
.contact-form__group { margin-bottom: 1.25rem; }
.contact-form__group label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-secondary, #0f172a);
    margin-bottom: .4rem;
}
.contact-form__group label span { color: #ef4444; }
.contact-form__group input,
.contact-form__group textarea,
.contact-form__group select {
    display: block;
    width: 100%;
    padding: .7rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: .6rem;
    font-size: .95rem;
    color: var(--color-text, #374151);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
    appearance: none;
}
.contact-form__group input:focus,
.contact-form__group textarea:focus,
.contact-form__group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(2,132,199,.15);
}
.contact-form__group textarea { min-height: 145px; resize: vertical; }
.contact-submit { width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.contact-form__privacy { font-size: .78rem; color: #94a3b8; margin-top: .75rem; text-align: center; }
.contact-form__privacy a { color: var(--color-primary); }

.contact-success-msg {
    text-align: center;
    padding: 3rem 2rem;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 1rem;
}
.contact-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-success-msg h2 { color: #14532d; margin-bottom: .5rem; }
.contact-success-msg p { color: #166534; margin-bottom: 1.5rem; }

.contact-info-panel { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
    background: var(--color-secondary, #0f172a);
    color: #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
}
.contact-info-card h3 { color: #fff; margin-bottom: 1.5rem; font-size: 1.05rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item__icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.08);
    border-radius: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-item h4 { font-size: .85rem; color: #f8fafc; font-weight: 700; margin-bottom: .2rem; }
.contact-info-item p { font-size: .82rem; color: #94a3b8; margin: 0; }
.contact-info-social h4 { font-size: .82rem; color: #94a3b8; margin-bottom: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-top: 1.5rem; }
.contact-social { display: flex; gap: .6rem; }
.contact-social .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    transition: background .15s;
}
.contact-social .social-link:hover { background: var(--color-primary); }
.contact-social svg { width: 16px; height: 16px; }

.contact-faq { display: flex; flex-direction: column; gap: .75rem; }
.contact-faq h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.faq-item {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: .75rem;
    overflow: hidden;
}
.faq-item summary {
    padding: 1rem 1.25rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--color-secondary, #0f172a);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .15s;
}
.faq-item summary:hover { background: #f8fafc; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--color-primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.25rem 1rem; font-size: .875rem; color: #64748b; line-height: 1.65; margin: 0; }

/* ============================================================
   ARCHIVE CALCULATOR STRIP (bottom of blog archive)
   ============================================================ */
.archive-calc-strip { padding: 2.5rem 0; }
.archive-calc-strip h3 { margin-bottom: 1rem; }
.archive-calc-strip__grid { display: flex; gap: .75rem; flex-wrap: wrap; }
.archive-calc-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    padding: .45rem 1.1rem;
    font-size: .84rem;
    font-weight: 600;
    color: var(--color-secondary, #0f172a);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
.archive-calc-chip:hover { border-color: var(--color-primary); box-shadow: 0 2px 8px rgba(2,132,199,.12); color: var(--color-primary); }
.archive-calc-chip--more { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.archive-calc-chip--more:hover { background: var(--color-primary-dark, #075985); border-color: var(--color-primary-dark, #075985); color: #fff; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
}
.empty-state__icon { font-size: 4rem; display: block; margin-bottom: 1.25rem; }
.empty-state h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.empty-state p { color: #64748b; margin-bottom: 1.75rem; }

/* ============================================================
   404 ERRORS
   ============================================================ */
.error-404 {
    text-align: center;
    padding: 7rem 1.5rem 5rem;
}
.big-num {
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 900;
    color: var(--color-primary);
    opacity: .1;
    line-height: 1;
    display: block;
    margin-bottom: -.5em;
}
.error-404 h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: .75rem; }
.error-404 p { color: #64748b; margin-bottom: 2rem; max-width: 460px; margin-left: auto; margin-right: auto; }
.error-404__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.error-404__calcs { margin-top: 1rem; }

/* ============================================================
   ABOUT BOTTOM CTA
   ============================================================ */
.archive-bottom-cta { padding: 4rem 0; }
.archive-bottom-cta h2 { margin-bottom: .6rem; }
.archive-bottom-cta p { color: #64748b; margin-bottom: 1.75rem; }

/* ============================================================
   LEGAL CONTENT (privacy/terms)
   ============================================================ */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: .875rem;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}
.legal-toc h3 { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--color-secondary, #0f172a); margin-bottom: .875rem; }
.legal-toc ol { margin-left: 1.25rem; margin-bottom: 0; }
.legal-toc ol li { font-size: .875rem; margin-bottom: .4rem; }
.legal-toc ol li a { color: var(--color-primary); }
.legal-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #e5e7eb; }
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: 1.35rem; color: var(--color-secondary, #0f172a); margin-bottom: 1rem; }
.legal-section p { color: #475569; font-size: .95rem; line-height: 1.8; margin-bottom: .875rem; }
.legal-section ul { margin: 0 0 .875rem 1.5rem; color: #475569; font-size: .95rem; }
.legal-section ul li { margin-bottom: .4rem; }

/* ============================================================
   NOTICE BOXES
   ============================================================ */
.notice { border-radius: .75rem; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: .9rem; display: flex; gap: .75rem; align-items: flex-start; line-height: 1.6; }
.notice-info    { background: #eff6ff; border-left: 4px solid #3b82f6; color: #1e3a5f; }
.notice-warning { background: #fffbeb; border-left: 4px solid #f59e0b; color: #78350f; }
.notice-success { background: #f0fdf4; border-left: 4px solid #22c55e; color: #14532d; }
.notice-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .05rem; }

/* ============================================================
   UTILITY & OVERRIDES
   ============================================================ */
.outline-dark-btn { background: transparent; color: var(--color-secondary, #0f172a); border: 2px solid currentColor; font-weight: 700; }
.outline-dark-btn:hover { background: var(--color-secondary, #0f172a); color: #fff; }
.mono { font-family: 'Courier New', Courier, monospace; }
