/* GigWorkerFinance — shared styles. Page-specific styles live in each page's <style> block. */
:root {
  --lime: #C8F04B; --dark: #0F1410; --mid: #1C2218; --card: #1A1F17;
  --muted: #8A9485; --text: #E8EDE5; --accent: #4BF09A; --warn: #F0C94B; --red: #F04B4B;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--dark); color: var(--text); line-height: 1.6; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; }
[id] { scroll-margin-top: 84px; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,20,16,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,240,75,0.15);
  padding: 0 5%; display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1rem;
}
.logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; flex-shrink: 0; }
.logo span { color: var(--lime); }
.nav-links { display: flex; gap: 1.5rem; font-size: 0.9rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color 0.2s; white-space: nowrap; padding: 0.5rem 0; }
.nav-links a:hover, .nav-links a.active { color: var(--lime); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-cta {
  background: var(--lime); color: var(--dark); padding: 0.5rem 1.1rem; border-radius: 4px;
  font-weight: 700; font-size: 0.85rem; font-family: 'Syne', sans-serif; white-space: nowrap;
  min-height: 40px; display: inline-flex; align-items: center; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; cursor: pointer; background: none; border: none; padding: 8px; flex-shrink: 0; }
.nav-burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: rgba(15,20,16,0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,240,75,0.15); flex-direction: column; padding: 1rem 5% 1.5rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer a { color: var(--muted); font-size: 1rem; font-weight: 500; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: block; }
.nav-drawer a:hover, .nav-drawer a.active { color: var(--lime); }
.nav-drawer .drawer-cta { margin-top: 1rem; border-bottom: none; background: var(--lime); color: var(--dark); text-align: center; padding: 0.85rem; border-radius: 6px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; }
@media (max-width: 780px) { .nav-links, .nav-cta { display: none; } .nav-burger { display: flex; } }
@media (max-width: 400px) { .logo { font-size: 1.05rem; } }

/* ── BUTTONS ── */
.btn-primary { background: var(--lime); color: var(--dark); padding: 0.85rem 1.8rem; border-radius: 4px; font-weight: 700; font-family: 'Syne', sans-serif; font-size: 0.95rem; display: inline-block; transition: transform 0.15s, opacity 0.15s; }
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.2); color: var(--text); padding: 0.85rem 1.8rem; border-radius: 4px; font-weight: 500; font-size: 0.95rem; display: inline-block; transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ── PAGE HERO ── */
.page-hero { padding: 4rem 5% 3rem; background: linear-gradient(180deg, rgba(200,240,75,0.05) 0%, transparent 100%); border-bottom: 1px solid rgba(255,255,255,0.06); }
.page-hero-inner { max-width: 820px; }
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--lime); }
.page-tag { display: inline-block; background: rgba(200,240,75,0.1); border: 1px solid rgba(200,240,75,0.3); color: var(--lime); border-radius: 4px; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.page-hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem; }
.hero-meta { display: flex; gap: 0.5rem 2rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
.hero-desc { font-size: 1.05rem; color: var(--muted); max-width: 680px; line-height: 1.7; }

/* ── TOC BAR ── */
.toc-bar { background: var(--mid); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0 5%; display: flex; gap: 2rem; overflow-x: auto; scrollbar-width: none; }
.toc-bar a { display: block; padding: 1rem 0; font-size: 0.85rem; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: all 0.2s; }
.toc-bar a:hover { color: var(--lime); border-bottom-color: var(--lime); }

/* ── ARTICLE LAYOUT ── */
.content-wrap { max-width: 1100px; margin: 0 auto; padding: 3rem 5%; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; }
.content-wrap.no-sidebar { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
article h2 { font-family: 'Syne', sans-serif; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; margin: 2.5rem 0 0.9rem; line-height: 1.2; }
article > h2:first-child, article > .quick-answer + h2 { margin-top: 1.5rem; }
article h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--lime); margin: 1.75rem 0 0.6rem; }
article p { color: rgba(232,237,229,0.85); margin-bottom: 1rem; line-height: 1.85; font-size: 0.975rem; }
article ul, article ol { padding-left: 1.5rem; margin-bottom: 1rem; }
article li { color: rgba(232,237,229,0.85); margin-bottom: 0.5rem; line-height: 1.7; font-size: 0.975rem; }
article strong { color: var(--text); }
article p a, article li a, article td a, .callout a { color: var(--lime); text-decoration: underline; text-decoration-color: rgba(200,240,75,0.35); text-underline-offset: 2px; }
article p a:hover, article li a:hover { text-decoration-color: var(--lime); }
.updated-note { font-size: 0.8rem; color: var(--muted); border-top: 1px solid rgba(255,255,255,0.07); margin-top: 2.5rem; padding-top: 1rem; }

.quick-answer { background: rgba(200,240,75,0.06); border: 1px solid rgba(200,240,75,0.25); border-radius: 12px; padding: 1.5rem; margin: 0 0 2rem; }
.quick-answer h3 { font-family: 'Syne', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime); margin: 0 0 0.75rem; }
.quick-answer ul { list-style: none; padding: 0; margin: 0; }
.quick-answer li { padding: 0.35rem 0; font-size: 0.95rem; color: var(--text); border-bottom: 1px solid rgba(255,255,255,0.06); margin: 0; }
.quick-answer li:last-child { border-bottom: none; }
.quick-answer li::before { content: '✓ '; color: var(--lime); font-weight: 700; }

.callout { background: rgba(200,240,75,0.06); border-left: 3px solid var(--lime); border-radius: 0 8px 8px 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; color: rgba(232,237,229,0.85); font-size: 0.93rem; line-height: 1.7; }
.callout.warn { background: rgba(240,75,75,0.06); border-left-color: var(--red); }
.callout.new { background: rgba(75,240,154,0.06); border-left-color: var(--accent); }
.callout > strong:first-child { font-family: 'Syne', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--lime); display: block; margin-bottom: 0.4rem; }
.callout.warn > strong:first-child { color: var(--red); }
.callout.new > strong:first-child { color: var(--accent); }
.callout p { margin: 0 0 0.5rem; font-size: 0.93rem; }
.callout p:last-child { margin-bottom: 0; }

.data-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.data-table th { background: var(--mid); padding: 0.75rem 1rem; text-align: left; font-family: 'Syne', sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.data-table td { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; vertical-align: top; color: rgba(232,237,229,0.9); }
.data-table tr:last-child td { border-bottom: none; }
.data-table .highlight td { background: rgba(200,240,75,0.04); }
.data-table .val { color: var(--lime); font-family: 'Syne', sans-serif; font-weight: 700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.ded-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.ded-card { background: var(--card); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 1.25rem; }
.ded-card .ded-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
.ded-card h4 { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.ded-card p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.6; }
.ded-card .ded-amount { font-size: 0.78rem; color: var(--lime); font-weight: 600; margin-top: 0.5rem; }

.aff-cta-card { background: var(--card); border: 1px solid rgba(200,240,75,0.2); border-radius: 16px; padding: 1.75rem; margin: 2rem 0; display: flex; gap: 1.5rem; align-items: flex-start; }
.aff-cta-icon { font-size: 2.5rem; flex-shrink: 0; line-height: 1; }
.aff-cta-body h3 { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; margin: 0 0 0.4rem; color: var(--text); }
.aff-cta-body p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.6; }
.aff-btn { display: inline-block; background: var(--lime); color: var(--dark); padding: 0.65rem 1.4rem; border-radius: 6px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.88rem; transition: opacity 0.2s; }
.aff-btn:hover { opacity: 0.85; }
.aff-note { font-size: 0.7rem; color: var(--muted); margin-left: 0.75rem; }

/* product review cards (tools / roundups) */
.pick { background: var(--card); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 1.75rem; margin: 1.5rem 0; position: relative; }
.pick.top { border-color: rgba(200,240,75,0.35); }
.pick-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.75rem; flex-wrap: wrap; }
.pick-rank { font-family: 'Syne', sans-serif; font-weight: 800; color: var(--dark); background: var(--lime); border-radius: 8px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pick-head h3 { margin: 0; color: var(--text); font-size: 1.15rem; }
.pick-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2rem 0.55rem; border-radius: 4px; background: rgba(200,240,75,0.15); color: var(--lime); }
.pick-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.9rem; }
.pick-meta strong { color: var(--text); font-weight: 600; }
.pick p { font-size: 0.93rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.75rem 0 1.1rem; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li { font-size: 0.87rem; padding-left: 1.3rem; position: relative; margin-bottom: 0.35rem; }
.pros-cons .pros li::before { content: '+'; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
.pros-cons .cons li::before { content: '–'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.pros-cons h4 { font-family: 'Syne', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.4rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; padding: 1.1rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--lime); font-size: 1.3rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { font-size: 0.93rem; color: rgba(232,237,229,0.8); line-height: 1.75; padding-bottom: 1.1rem; }

/* related */
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0 0; }
.related-card { background: var(--card); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 1.25rem; transition: border-color 0.2s; display: block; }
.related-card:hover { border-color: rgba(200,240,75,0.3); }
.related-card .r-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--lime); margin-bottom: 0.4rem; }
.related-card h4 { font-family: 'Syne', sans-serif; font-size: 0.92rem; font-weight: 700; line-height: 1.3; color: var(--text); }

/* ── SIDEBAR ── */
.sidebar { position: relative; }
.sidebar-sticky { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-card { background: var(--card); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 1.5rem; }
.sidebar-card h3 { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }
.sidebar-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.75rem; }
.sb-cta { background: var(--lime); color: var(--dark); text-align: center; padding: 0.65rem; border-radius: 6px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; min-height: 44px; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s; }
.sb-cta:hover { opacity: 0.85; }
.sb-ghost { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid rgba(255,255,255,0.15); color: var(--text); text-align: center; padding: 0.65rem; border-radius: 6px; font-size: 0.85rem; transition: border-color 0.2s; }
.sb-ghost:hover { border-color: var(--lime); }
.aff-disclaimer { font-size: 0.7rem; color: rgba(138,148,133,0.6); text-align: center; margin-top: 0.4rem; }
.quick-links { list-style: none; padding: 0; }
.quick-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.quick-links li:last-child { border-bottom: none; }
.quick-links a { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.65rem 0; font-size: 0.85rem; color: var(--muted); transition: color 0.2s; min-height: 44px; }
.quick-links a:hover { color: var(--lime); }

/* email signup (MailerLite plain form) */
.signup input[type=email] { background: #161B13; color: var(--text); border: 1px solid #2A2F27; border-radius: 6px; font-family: 'DM Sans', Arial, sans-serif; font-size: 0.95rem; padding: 11px 12px; width: 100%; margin-bottom: 8px; display: block; }
.signup input[type=email]:focus { border-color: var(--lime); outline: none; }
.signup input[type=email]::placeholder { color: var(--muted); }
.signup button { background: var(--lime); border: none; border-radius: 6px; color: var(--dark); font-family: 'Syne', Arial, sans-serif; font-size: 0.88rem; font-weight: 700; padding: 11px; width: 100%; cursor: pointer; min-height: 44px; transition: opacity 0.2s; }
.signup button:hover { opacity: 0.85; }
.signup .signup-success { color: var(--lime); font-size: 0.9rem; text-align: center; padding: 0.5rem 0; display: none; }
.signup .signup-fine { font-size: 0.72rem; color: #6B7566; text-align: center; margin-top: 0.5rem; }
.signup.inline form { display: flex; gap: 0.6rem; }
.signup.inline input[type=email] { margin: 0; flex: 1; }
.signup.inline button { width: auto; padding: 11px 1.25rem; white-space: nowrap; }

/* newsletter band */
.newsletter-band { padding: 4.5rem 5%; background: linear-gradient(135deg, var(--mid) 0%, #111810 100%); border-top: 1px solid rgba(200,240,75,0.1); }
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter-inner .eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); font-weight: 600; margin-bottom: 0.6rem; }
.newsletter-inner h2 { font-family: 'Syne', sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.newsletter-inner > p { color: var(--muted); margin-bottom: 1.5rem; }

/* ── HUB / CARD GRIDS ── */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 3rem 5%; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 4rem; }
.filter-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn { background: var(--card); border: 1px solid rgba(255,255,255,0.07); color: var(--muted); border-radius: 20px; padding: 0.45rem 1rem; font-size: 0.85rem; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: all 0.2s; min-height: 38px; }
.filter-btn:hover { border-color: rgba(200,240,75,0.3); color: var(--text); }
.filter-btn.active { background: rgba(200,240,75,0.1); border-color: rgba(200,240,75,0.4); color: var(--lime); font-weight: 600; }
.search-wrap { position: relative; max-width: 480px; margin-top: 1.5rem; }
.search-wrap input { width: 100%; background: var(--card); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 0.85rem 1rem 0.85rem 2.75rem; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.95rem; }
.search-wrap input:focus { outline: none; border-color: rgba(200,240,75,0.4); }
.search-wrap input::placeholder { color: var(--muted); }
.search-icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.hub-section { margin-bottom: 3rem; }
.hub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.hub-head h2 { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; }
.hub-head span { font-size: 0.78rem; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.card { background: var(--card); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: rgba(200,240,75,0.3); transform: translateY(-2px); }
.card.featured { border-color: rgba(200,240,75,0.25); }
.card-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lime); margin-bottom: 0.6rem; }
.card h3 { font-family: 'Syne', sans-serif; font-size: 1.02rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.5rem; }
.card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; flex-grow: 1; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(138,148,133,0.75); }
.card-meta .arrow { color: var(--lime); font-weight: 700; }
.no-results { display: none; text-align: center; padding: 3rem; color: var(--muted); }
.popular-list { list-style: none; padding: 0; counter-reset: pop; }
.popular-list li { border-bottom: 1px solid rgba(255,255,255,0.06); counter-increment: pop; }
.popular-list li:last-child { border-bottom: none; }
.popular-list a { display: flex; gap: 0.75rem; padding: 0.7rem 0; min-height: 44px; font-size: 0.85rem; color: var(--muted); line-height: 1.4; transition: color 0.2s; }
.popular-list a::before { content: counter(pop); font-family: 'Syne', sans-serif; font-weight: 800; color: var(--lime); width: 16px; flex-shrink: 0; }
.popular-list a:hover { color: var(--lime); }

/* calculators */
.calc { background: var(--card); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 2rem; margin: 1.5rem 0; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.calc-row { display: flex; flex-direction: column; }
.calc-row.full { grid-column: 1 / -1; }
.calc-row label { font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--muted); }
.calc-row .hint { font-size: 0.75rem; color: rgba(138,148,133,0.75); margin-top: 0.3rem; }
.calc-row input, .calc-row select { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 0.75rem 1rem; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 1rem; }
.calc-row select option { background: var(--card); }
.calc-row input:focus, .calc-row select:focus { outline: none; border-color: var(--lime); }
.calc-results { background: rgba(200,240,75,0.06); border: 1px solid rgba(200,240,75,0.2); border-radius: 12px; padding: 1.25rem 1.5rem; margin-top: 1.5rem; }
.result-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(200,240,75,0.1); font-size: 0.92rem; }
.result-item:last-child { border-bottom: none; }
.result-item .amount { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--lime); white-space: nowrap; }
.result-item .amount.red { color: #F07A6B; }
.result-item.total { font-weight: 600; }
.calc-fine { font-size: 0.75rem; color: var(--muted); margin-top: 1rem; line-height: 1.6; }

/* ── FOOTER ── */
.site-footer { background: #0A0D09; border-top: 1px solid rgba(255,255,255,0.06); padding: 3rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto 2rem; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; line-height: 1.7; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.875rem; color: rgba(138,148,133,0.8); transition: color 0.2s; }
.footer-col a:hover { color: var(--lime); }
.footer-disclaimer { max-width: 1100px; margin: 0 auto 1.5rem; font-size: 0.75rem; color: rgba(138,148,133,0.55); line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.04); padding-top: 1.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.78rem; color: rgba(138,148,133,0.55); max-width: 1100px; margin: 0 auto; }
.footer-bottom a { margin-left: 1rem; }
.footer-bottom a:hover { color: var(--lime); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .content-wrap, .page-wrap { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .card-grid, .related-grid, .ded-grid, .pros-cons, .calc-grid { grid-template-columns: 1fr; }
  .aff-cta-card { flex-direction: column; gap: 0.75rem; }
  .data-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 0.85rem; }
  .data-table th, .data-table td { padding: 0.6rem 0.7rem; }
  .content-wrap, .page-wrap { padding: 2rem 5%; }
  article h2 { font-size: 1.3rem; }
  .page-hero { padding: 2.5rem 5% 2rem; }
  .toc-bar { gap: 1.25rem; }
  .calc { padding: 1.4rem; }
  .signup.inline form { flex-direction: column; }
  .signup.inline button { width: 100%; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom a { margin: 0 1rem 0 0; }
}
