/* ============================================
   PivotReset.com — v2.0 Redesign
   Polished corporate: Blue / Green / Cream
   Fonts: Playfair Display + Source Sans 3
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --blue-900: #0f2440;
  --blue-800: #163356;
  --blue-700: #1a3f6b;
  --blue: #2166a8;
  --blue-400: #4a8fd4;
  --blue-200: #b8d4f0;
  --blue-100: #dce9f5;
  --blue-50: #f0f5fb;

  --green-700: #1e6b3a;
  --green: #28845a;
  --green-400: #3da872;
  --green-100: #d4f0e0;
  --green-50: #edf8f1;

  --white: #ffffff;
  --cream: #fafbfd;
  --gray-50: #f5f6f8;
  --gray-100: #eceef2;
  --gray-200: #d8dbe2;
  --gray-300: #b8bcc8;
  --gray-500: #6b7280;
  --gray-700: #3d4451;
  --gray-900: #1f2937;

  --text: #1f2937;
  --text-mid: #3d4451;
  --text-light: #6b7280;
  --border: #e0e3e8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --section-pad: clamp(3.5rem, 7vw, 6rem);
  --container: min(70rem, 90vw);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15,36,64,.06);
  --shadow-md: 0 4px 16px rgba(15,36,64,.08);
  --shadow-lg: 0 8px 32px rgba(15,36,64,.1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.72; font-size: 1.0625rem; font-weight: 400; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
ul, ol { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--blue-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { max-width: 68ch; color: var(--text-mid); }

.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.section-intro { font-size: 1.15rem; color: var(--text-light); max-width: 52ch; }

/* === LAYOUT === */
.container { width: var(--container); margin: 0 auto; }
section { padding: var(--section-pad) 0; }

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 700; color: var(--blue);
  display: flex; align-items: center; gap: 0.6rem;
}
.logo .mark {
  width: 2.25rem; height: 2.25rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-400) 100%);
  border-radius: 50% 50% 50% 8px;
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(33,102,168,.3);
}
.logo .mark svg { width: 1.1rem; height: 1.1rem; }
.logo .tagline {
  font-family: var(--font-body);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.06em; line-height: 1.2;
  color: var(--green);
}

.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--gray-700);
  padding: 0.5rem 0.85rem; border-radius: var(--radius);
  transition: all .2s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-50); }
.nav-cta {
  background: var(--green) !important; color: #fff !important;
  padding: 0.55rem 1.3rem !important; border-radius: var(--radius) !important;
  font-weight: 600 !important; margin-left: 0.5rem;
  box-shadow: 0 2px 8px rgba(40,132,90,.25);
  transition: all .2s !important;
}
.nav-cta:hover { background: var(--green-700) !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(40,132,90,.3) !important; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle svg { width: 1.6rem; height: 1.6rem; color: var(--blue-900); }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  background: linear-gradient(175deg, var(--blue-50) 0%, var(--white) 65%);
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(1rem, 2vw, 2rem);
  overflow: hidden;
}
.hero-inner {
  width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 3rem; align-items: center;
}
.hero-text h1 { margin-bottom: 0.75rem; line-height: 1.15; }
.hero-subtitle {
  font-size: 1.2rem; color: var(--text-light); font-weight: 300;
  margin-bottom: 2rem; font-style: italic;
  letter-spacing: 0.01em;
}
.hero-select-label {
  font-size: 0.85rem; font-weight: 600; color: var(--text-light);
  margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.25rem;
}
.hero-actions {
  display: flex; gap: 0.85rem; align-items: stretch; flex-wrap: wrap;
}
.hero-actions select {
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  background: var(--white); color: var(--text);
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%236b7280' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  transition: border-color .2s;
}
.hero-actions select:focus { border-color: var(--blue); outline: none; }
.hero-visual { position: relative; }

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.8rem 1.75rem; border-radius: var(--radius);
  border: none; cursor: pointer; transition: all .25s;
  text-decoration: none;
}
.btn svg { width: 1.1rem; height: 1.1rem; }
.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: 0 2px 8px rgba(40,132,90,.2);
}
.btn-primary:hover { background: var(--green-700); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(40,132,90,.3); }
.btn-outline {
  background: transparent; color: var(--blue); border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); background: var(--blue-50); }

/* ===================================================================
   FEATURES BAR (3 icons)
   =================================================================== */
.features-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 3.5rem 0;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem; text-align: center;
}
.feature-card { padding: 0.75rem; }
.feature-icon { width: 5rem; height: 5rem; margin: 0 auto 1rem; }
.feature-card h3 {
  color: var(--blue); margin-bottom: 0.35rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.1rem;
}
.feature-card p { font-size: 0.95rem; color: var(--gray-500); margin: 0 auto; }

/* ===================================================================
   EMBEDDED CALCULATOR PREVIEW
   =================================================================== */
.calc-preview-section { background: var(--blue-50); padding: var(--section-pad) 0; }
.calc-preview {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); max-width: 44rem; margin: 0 auto;
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-md);
}
.calc-preview h2 { text-align: center; margin-bottom: 0.3rem; color: var(--blue); font-size: 1.6rem; }
.calc-preview-sub { text-align: center; font-size: 0.95rem; color: var(--gray-500); margin-bottom: 1.75rem; }
.calc-preview hr { border: none; border-top: 1px solid var(--gray-100); margin-bottom: 1.75rem; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.calc-field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.calc-field input {
  width: 100%; padding: 0.75rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1.05rem;
  background: var(--white); transition: border-color .2s;
}
.calc-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,102,168,.1); }
.calc-result-box {
  background: var(--green-50); border: 2px dashed var(--green-400);
  border-radius: var(--radius); padding: 1rem 1.25rem; text-align: center;
  margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--green-700);
}
.calc-result-box strong { font-size: 1.5rem; color: var(--green); font-family: var(--font-display); }
.calc-preview .btn { display: flex; width: fit-content; margin: 0 auto; font-size: 1.05rem; }

/* ===================================================================
   COMMUNITY BAR
   =================================================================== */
.community-bar {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 1.25rem 2rem;
  display: flex; align-items: center; gap: 1.25rem;
  max-width: 44rem; margin: 2rem auto 0;
  box-shadow: var(--shadow-sm);
}
.community-icon svg { width: 2.75rem; height: 2.75rem; color: var(--blue-400); }
.community-bar p { font-size: 1.05rem; color: var(--text-mid); margin: 0; }
.community-bar strong { color: var(--blue); font-size: 1.3rem; font-family: var(--font-display); }

/* ===================================================================
   TOOL CARDS
   =================================================================== */
.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.tool-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column;
  transition: all .3s ease; box-shadow: var(--shadow-sm);
}
.tool-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-200); }
.tool-icon {
  width: 3rem; height: 3rem; border-radius: var(--radius);
  background: var(--blue-50); display: grid; place-items: center;
  margin-bottom: 1rem;
}
.tool-icon svg { width: 1.4rem; height: 1.4rem; color: var(--blue); }
.tool-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--text); }
.tool-card p { font-size: 0.95rem; color: var(--text-light); flex: 1; line-height: 1.6; }
.tool-card .card-link {
  margin-top: 1rem; font-weight: 700; font-size: 0.9rem;
  color: var(--green); display: inline-flex; align-items: center; gap: 0.3rem;
}
.tool-card .card-link svg { width: 1rem; height: 1rem; transition: transform .2s; }
.tool-card:hover .card-link svg { transform: translateX(4px); }

/* ===================================================================
   LIFE EVENT CARDS
   =================================================================== */
.events-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-top: 2.5rem;
}
.event-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; gap: 1.5rem; align-items: flex-start;
  transition: all .3s; box-shadow: var(--shadow-sm);
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-icon {
  width: 3.25rem; height: 3.25rem; border-radius: var(--radius);
  display: grid; place-items: center; flex-shrink: 0;
}
.event-icon svg { width: 1.4rem; height: 1.4rem; }
.event-icon.divorce { background: #fce4ec; } .event-icon.divorce svg { color: #c62828; }
.event-icon.baby { background: #e8f5e9; } .event-icon.baby svg { color: #2e7d32; }
.event-icon.job { background: #fff3e0; } .event-icon.job svg { color: #e65100; }
.event-icon.career { background: #e3f2fd; } .event-icon.career svg { color: #1565c0; }
.event-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--text); }
.event-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* ===================================================================
   E-E-A-T BLOCK
   =================================================================== */
.eeat {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 3.5rem 3rem;
}
.eeat h2 { color: #fff; font-size: 1.75rem; }
.eeat p { color: rgba(255,255,255,.72); font-size: 1.05rem; margin-top: 0.5rem; }
.eeat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 2.5rem;
}
.eeat-item { text-align: center; }
.eeat-item .num { font-family: var(--font-display); font-size: 2.75rem; font-weight: 700; color: var(--blue-200); }
.eeat-item .label { font-size: 0.95rem; color: rgba(255,255,255,.55); margin-top: 0.25rem; }

/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green) 100%);
  border-radius: var(--radius-lg); padding: 3.5rem 3rem; text-align: center; color: #fff;
  box-shadow: 0 8px 32px rgba(40,132,90,.15);
}
.cta-banner h2 { color: #fff; font-size: 1.75rem; margin-bottom: 0.6rem; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0 auto 1.75rem; font-size: 1.1rem; }
.cta-banner .btn-primary { background: #fff; color: var(--green-700); font-size: 1.05rem; padding: 0.9rem 2rem; }
.cta-banner .btn-primary:hover { background: var(--cream); box-shadow: 0 4px 16px rgba(0,0,0,.15); }

/* ===================================================================
   FAQ
   =================================================================== */
.faq-list { margin-top: 2rem; max-width: 48rem; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; cursor: pointer;
  font-weight: 600; font-size: 1.05rem;
  background: none; border: none; width: 100%; text-align: left;
  font-family: var(--font-body); color: var(--text);
  transition: color .2s;
}
.faq-q:hover { color: var(--blue); }
.faq-q svg { width: 1.25rem; height: 1.25rem; color: var(--gray-300); transition: transform .3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 0 1.25rem; font-size: 1rem; color: var(--text-light); line-height: 1.7; }

/* ===================================================================
   NEWSLETTER
   =================================================================== */
.newsletter-form {
  display: flex; gap: 0.75rem; justify-content: center;
  flex-wrap: wrap; max-width: 28rem; margin: 0 auto;
}
.newsletter-form input {
  flex: 1; min-width: 12rem; padding: 0.75rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--blue); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--blue-900); color: rgba(255,255,255,.65);
  padding: 4rem 0 2rem;
}
.footer-inner {
  width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand p { font-size: 0.95rem; margin-top: 0.75rem; max-width: 28ch; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 0.85rem;
}
.footer-col a { display: block; font-size: 0.95rem; color: rgba(255,255,255,.6); margin-bottom: 0.5rem; transition: color .2s; }
.footer-col a:hover { color: var(--blue-200); }
.footer-bottom {
  width: var(--container); margin: 2.5rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255,255,255,.3);
}

/* ===================================================================
   DISCLAIMER
   =================================================================== */
.disclaimer {
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  font-size: 0.88rem; color: var(--text-light); margin-top: 2rem; line-height: 1.65;
}

/* ===================================================================
   CALCULATOR PAGES
   =================================================================== */
.calc-hero {
  background: linear-gradient(175deg, var(--blue-50) 0%, var(--white) 65%);
  padding: clamp(3rem, 5vw, 5rem) 0 2rem;
}
.breadcrumb {
  font-size: 0.88rem; color: var(--text-light); margin-bottom: 1.5rem;
  display: flex; gap: 0.4rem; align-items: center;
}
.breadcrumb a { color: var(--text-light); } .breadcrumb a:hover { color: var(--blue); }
.breadcrumb svg { width: 0.8rem; height: 0.8rem; }

.calc-container {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 2.25rem;
  margin: 2rem 0; box-shadow: var(--shadow-md);
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select {
  padding: 0.75rem 0.9rem; border: 2px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem;
  background: var(--white); transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33,102,168,.1); }
.form-hint { font-size: 0.82rem; color: var(--text-light); }

.results-panel {
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 2.25rem; margin-top: 1.5rem; display: none;
  box-shadow: var(--shadow-sm);
}
.results-panel.visible { display: block; }
.result-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-100); font-size: 1rem;
}
.result-row:last-child { border-bottom: none; }
.result-label { color: var(--text-light); }
.result-value { font-weight: 700; color: var(--blue-900); }
.result-highlight { font-size: 1.5rem; font-family: var(--font-display); color: var(--green); }

/* === CONTENT BODY === */
.content-body { max-width: 48rem; }
.content-body h2 { margin: 2.75rem 0 0.75rem; }
.content-body h3 { margin: 2rem 0 0.5rem; }
.content-body p { margin-bottom: 1.1rem; font-size: 1.0625rem; }
.content-body ul, .content-body ol { padding-left: 1.75rem; margin-bottom: 1.1rem; }
.content-body li { margin-bottom: 0.5rem; list-style: disc; color: var(--text-mid); font-size: 1.0625rem; line-height: 1.65; }
.content-body ol li { list-style: decimal; }

/* === TOC === */
.toc {
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg); padding: 1.75rem 2rem; margin: 2.5rem 0;
}
.toc h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 0.85rem; color: var(--blue-900); }
.toc ol { padding-left: 1.5rem; }
.toc li { margin-bottom: 0.45rem; list-style: decimal; }
.toc a { font-size: 1rem; color: var(--text-mid); transition: color .2s; }
.toc a:hover { color: var(--blue); }

/* === AUTHOR BIO === */
.author-bio {
  display: flex; gap: 1.25rem; align-items: center;
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem; margin: 3rem 0;
}
.author-avatar {
  width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--blue-100);
  display: grid; place-items: center; flex-shrink: 0;
}
.author-avatar svg { width: 1.4rem; height: 1.4rem; color: var(--blue); }
.author-name { font-weight: 700; font-size: 1rem; color: var(--text); }
.author-title { font-size: 0.88rem; color: var(--text-light); }

/* === SHARE === */
.share-row { display: flex; gap: 0.75rem; margin: 2rem 0; }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1rem; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600;
  border: 1px solid var(--gray-100); color: var(--text-light);
  background: var(--white); cursor: pointer; transition: all .2s;
}
.share-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.share-btn svg { width: 1rem; height: 1rem; }

/* === PAGE GRID (content + sidebar) === */
.page-grid {
  width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 18rem;
  gap: 3.5rem; padding: var(--section-pad) 0;
  align-items: start;
}
/* === SECTION-ALIGNED SIDEBAR === */
.content-row {
  display: grid;
  grid-template-columns: 1fr 18rem;
  gap: 3.5rem;
  width: var(--container);
  margin: 0 auto;
}
.content-row .row-side {
  align-self: start;
  position: sticky;
  top: 5rem;
}
.content-row .row-side > *:last-child { margin-bottom: 0; }
@media (max-width: 64rem) {
  .content-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .content-row .row-side { position: static; }
}

.sidebar-card {
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 1.35rem; margin-bottom: 1.5rem;
}
.sidebar-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.75rem; color: var(--text); }
.sidebar-card a { display: block; font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--text-light); transition: color .2s; }
.sidebar-card a:hover { color: var(--blue); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
/* === INLINE ARTICLE HIGHLIGHTS === */
.article-highlight {
  background: linear-gradient(135deg, var(--blue-50), rgba(220,233,245,.5));
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.article-highlight .hl-icon {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  background: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(15,36,64,.08);
}
.article-highlight .hl-icon svg { width: 1.2rem; height: 1.2rem; color: var(--blue); }
.article-highlight .hl-body { flex: 1; }
.article-highlight .hl-stat {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.article-highlight .hl-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0;
}
.article-highlight .hl-source {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}
.article-highlight.green { background: linear-gradient(135deg, var(--green-50), rgba(212,240,224,.5)); border-left-color: var(--green); }
.article-highlight.green .hl-icon svg { color: var(--green); }
.article-highlight.green .hl-stat { color: var(--green-700); }
.article-highlight.orange { background: linear-gradient(135deg, #fff8f0, rgba(255,243,224,.5)); border-left-color: #e65100; }
.article-highlight.orange .hl-icon svg { color: #e65100; }
.article-highlight.orange .hl-stat { color: #e65100; }
.article-highlight.red { background: linear-gradient(135deg, #fef2f2, rgba(252,228,236,.4)); border-left-color: #c62828; }
.article-highlight.red .hl-icon svg { color: #c62828; }
.article-highlight.red .hl-stat { color: #c62828; }

/* === SIDEBAR PULL QUOTES === */
.sidebar-quote {
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-quote .quote-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--blue-900);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.sidebar-quote .quote-source {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sidebar-quote.accent-green { border-left-color: var(--green); }
.sidebar-quote.accent-orange { border-left-color: #e65100; }
.sidebar-quote.accent-red { border-left-color: #c62828; }

.sidebar-stat {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.sidebar-stat .stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-200);
  line-height: 1.1;
}
.sidebar-stat .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  margin-top: 0.35rem;
  line-height: 1.4;
}
.sidebar-stat.green-bg {
  background: linear-gradient(135deg, var(--green-700), var(--green));
}
.sidebar-stat.green-bg .stat-number { color: var(--green-100); }

/* affiliate placeholder */
.sidebar-ad {
  background: var(--gray-50);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
  min-height: 5rem;
}

@media (max-width: 64rem) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-select-label { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .page-grid { grid-template-columns: 1fr; }
  .eeat-grid { grid-template-columns: 1fr; text-align: left; }
  .eeat { padding: 2.5rem 2rem; }
  .cta-banner { padding: 2.5rem 2rem; }
}
@media (max-width: 48rem) {
  body { font-size: 1rem; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; gap: 2rem; }
  .events-grid { grid-template-columns: 1fr; }
  .calc-grid, .calc-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .calc-preview { padding: 1.75rem 1.5rem; }
  .eeat-grid { grid-template-columns: repeat(3, 1fr); text-align: center; }
  .tools-grid { grid-template-columns: 1fr; }
}
