/* ═══════════════════════════════════════════════════
   ILLINOIS PAYCHECK CALCULATOR — PROFESSIONAL THEME
   Colour palette: Deep charcoal + emerald + warm white
   ═══════════════════════════════════════════════════ */
:root {
  /* Backgrounds */
  --bg-base:    #0e0f11;
  --bg-card:    #16181d;
  --bg-card2:   #1c1f26;
  --bg-input:   #1f2229;
  --bg-hover:   rgba(255,255,255,0.04);

  /* Brand */
  --emerald:    #10b981;
  --emerald2:   #34d399;
  --emerald-bg: rgba(16,185,129,0.08);
  --emerald-bd: rgba(16,185,129,0.2);

  /* Accent */
  --amber:      #f59e0b;
  --amber2:     #fbbf24;
  --amber-bg:   rgba(245,158,11,0.08);
  --amber-bd:   rgba(245,158,11,0.2);

  /* Danger / deduction */
  --rose:       #f43f5e;
  --rose-light: #fda4af;

  /* Text */
  --tx-primary: #f0f2f5;
  --tx-secondary:#a0aab8;
  --tx-muted:   #5c6474;
  --tx-white:   #ffffff;

  /* Borders */
  --bd:         rgba(255,255,255,0.07);
  --bd-strong:  rgba(255,255,255,0.12);

  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  18px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.45);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--tx-primary);
  min-height: 100vh;
  line-height: 1.6;
}

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  height: 64px;
  background: rgba(14,15,17,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { font-size: 22px; }
.logo-text {
  font-weight: 700;
  font-size: 15px;
  color: var(--tx-primary);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.logo-text span { color: var(--emerald); }
.logo-sub {
  font-size: 10px;
  color: var(--tx-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-btn {
  padding: 6px 13px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--tx-secondary);
  transition: all 0.15s ease;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-btn:hover {
  background: var(--bg-hover);
  color: var(--tx-primary);
}
.nav-btn.active {
  background: var(--emerald-bg);
  color: var(--emerald2);
  border: 1px solid var(--emerald-bd);
}

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.hero {
  padding: 64px 44px 48px;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-bd);
  color: var(--emerald2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: '●'; font-size: 6px; opacity: 0.8; }

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--tx-white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero h1 em {
  color: var(--emerald);
  font-style: normal;
  position: relative;
}

.hero-desc {
  font-size: 16px;
  color: var(--tx-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--bd-strong);
  color: var(--tx-secondary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.badge.green {
  background: var(--emerald-bg);
  border-color: var(--emerald-bd);
  color: var(--emerald2);
}

.hero-right {
  background: var(--bg-card);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════
   MAIN LAYOUT
══════════════════════════════════════ */
.main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 44px 96px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}

/* ══════════════════════════════════════
   CALCULATOR CARD
══════════════════════════════════════ */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.calc-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card2);
}
.calc-header-icon { font-size: 22px; }
.calc-header-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tx-white);
  letter-spacing: -0.02em;
}
.calc-header-sub {
  font-size: 12px;
  color: var(--tx-muted);
  margin-top: 2px;
}

.calc-body { padding: 28px; }

/* ── TOGGLE ── */
.toggle-wrap {
  display: flex;
  background: var(--bg-base);
  border: 1px solid var(--bd);
  border-radius: var(--r-md);
  padding: 4px;
  margin-bottom: 26px;
  gap: 3px;
}
.toggle-btn {
  flex: 1;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  border: none;
  background: transparent;
  color: var(--tx-secondary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: -0.01em;
}
.toggle-btn.active {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 2px 10px rgba(16,185,129,0.3);
  font-weight: 600;
}

/* ── FORM ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.span2 { grid-column: 1 / -1; }

label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tx-muted);
}

.input-wrap { position: relative; }
.pfx {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--tx-muted);
  font-size: 14px;
  pointer-events: none;
  font-weight: 500;
}
.sfx {
  position: absolute;
  right: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--tx-muted);
  font-size: 13px;
  pointer-events: none;
}

input[type=number], select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-md);
  color: var(--tx-primary);
  font-family: inherit;
  font-size: 15px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
input[type=number]:focus, select:focus {
  border-color: var(--emerald);
  background: rgba(16,185,129,0.04);
}
input.pfx-pad { padding-left: 28px; }
input.sfx-pad { padding-right: 36px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%235c6474' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 32px;
  cursor: pointer;
}
select option { background: var(--bg-card2); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tx-muted);
  margin: 22px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bd);
}

.calc-btn {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: var(--emerald);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(16,185,129,0.25);
}
.calc-btn:hover {
  background: var(--emerald2);
  box-shadow: 0 6px 20px rgba(16,185,129,0.35);
  transform: translateY(-1px);
}
.calc-btn:active { transform: scale(0.99); }

/* ══════════════════════════════════════
   RESULTS
══════════════════════════════════════ */
.results {
  margin-top: 24px;
  border-top: 1px solid var(--bd);
  padding-top: 24px;
  display: none;
}
.results.show {
  display: block;
  animation: riseIn 0.3s cubic-bezier(.2,0,.2,1);
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-hero {
  text-align: center;
  padding: 28px 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(16,185,129,0.04) 100%);
  border: 1px solid var(--emerald-bd);
  border-radius: var(--r-lg);
}
.result-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald2);
  margin-bottom: 8px;
}
.result-hero-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--tx-white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.result-hero-sub { font-size: 13px; color: var(--tx-secondary); }

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.result-item {
  background: var(--bg-card2);
  border: 1px solid var(--bd);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.result-item-label {
  font-size: 11px;
  color: var(--tx-muted);
  font-weight: 500;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}
.result-item-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--tx-primary);
  letter-spacing: -0.02em;
}
.result-item-value.neg { color: var(--rose-light); }
.result-item-value.pos { color: var(--emerald2); }

.bar-wrap { margin-top: 6px; }
.bar-label { font-size: 12px; color: var(--tx-muted); margin-bottom: 10px; font-weight: 500; }
.bar-track {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
}
.bar-seg { height: 100%; transition: width 0.7s cubic-bezier(.4,0,.2,1); }
.bar-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.bar-legend-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--tx-secondary); }
.bar-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ══════════════════════════════════════
   SIDEBAR
══════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

.fact-card {
  background: linear-gradient(145deg, #0f2818 0%, #0a1f14 100%);
  border: 1px solid var(--emerald-bd);
  border-radius: var(--r-lg);
  padding: 22px;
}
.fact-card-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald2);
  margin-bottom: 10px;
  opacity: 0.8;
}
.fact-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--tx-white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.fact-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}
.fact-card strong { color: var(--emerald2); }

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-lg);
  padding: 20px;
}
.info-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--tx-primary);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rate-list { display: flex; flex-direction: column; gap: 9px; }
.rate-item { display: flex; justify-content: space-between; align-items: center; }
.rate-name { font-size: 13px; color: var(--tx-secondary); }
.rate-val { font-size: 13px; font-weight: 700; color: var(--amber); }
.divider { height: 1px; background: var(--bd); margin: 4px 0; }

.tip-card {
  background: var(--amber-bg);
  border: 1px solid var(--amber-bd);
  border-radius: var(--r-lg);
  padding: 16px 18px;
}
.tip-card p { font-size: 13px; color: var(--tx-secondary); line-height: 1.65; }
.tip-card strong { color: var(--amber2); }
.tip-card a { color: var(--amber2); text-decoration: none; font-weight: 500; }
.tip-card a:hover { text-decoration: underline; }

.other-calcs {
  background: var(--bg-card);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-lg);
  padding: 18px 20px;
}
.other-calcs h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--tx-primary);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.oc-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--bd);
  text-decoration: none;
  transition: opacity 0.15s;
}
.oc-link:last-child { border-bottom: none; padding-bottom: 0; }
.oc-link:hover .oc-title { color: var(--emerald2); }
.oc-icon {
  width: 32px; height: 32px;
  background: var(--bg-input);
  border: 1px solid var(--bd);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.oc-title { font-size: 13px; font-weight: 500; color: var(--tx-secondary); line-height: 1.3; }

/* ══════════════════════════════════════
   EMPLOYER RESULTS
══════════════════════════════════════ */
.er-table { width: 100%; margin-top: 16px; }
.er-row {
  display: flex; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--bd); font-size: 14px;
}
.er-row:last-child { border-bottom: none; }
.er-label { color: var(--tx-secondary); }
.er-val { font-weight: 700; color: var(--tx-primary); }
.er-total-row {
  background: var(--amber-bg);
  border: 1px solid var(--amber-bd);
  border-radius: var(--r-md);
  padding: 14px 18px; margin-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.er-total-label { font-size: 13px; font-weight: 700; color: var(--amber2); }
.er-total-val { font-size: 26px; font-weight: 800; color: var(--amber2); letter-spacing: -0.03em; }

/* ══════════════════════════════════════
   BLOG SECTION
══════════════════════════════════════ */
.blog-section { max-width: 1140px; margin: 0 auto; padding: 0 44px 96px; }
.section-heading {
  font-size: 30px; font-weight: 800; color: var(--tx-white);
  margin-bottom: 6px; letter-spacing: -0.02em;
}
.section-heading em { color: var(--emerald); font-style: normal; }
.section-sub { font-size: 15px; color: var(--tx-secondary); margin-bottom: 30px; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 20px; }
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: block;
}
.blog-card:hover {
  border-color: var(--emerald-bd);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  width: 100%; height: 140px;
  background: linear-gradient(135deg, #0f1c13, #0a1410);
  display: flex; align-items: center; justify-content: center; font-size: 44px;
}
.blog-card-body { padding: 20px 22px; }
.blog-card-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--emerald2); margin-bottom: 8px;
  background: var(--emerald-bg); padding: 3px 8px; border-radius: 4px;
}
.blog-card-title { font-size: 17px; font-weight: 700; color: var(--tx-white); margin-bottom: 8px; line-height: 1.35; letter-spacing: -0.01em; }
.blog-card-excerpt { font-size: 13px; color: var(--tx-secondary); line-height: 1.65; margin-bottom: 14px; }
.blog-card-meta { font-size: 12px; color: var(--tx-muted); }

/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.breadcrumb {
  max-width: 1140px; margin: 0 auto;
  padding: 14px 44px 0;
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--tx-muted); flex-wrap: wrap;
}
.breadcrumb a { color: var(--tx-muted); text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--emerald2); }
.breadcrumb .sep { color: var(--bd-strong); }
.breadcrumb span { color: var(--tx-secondary); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  border-top: 1px solid var(--bd);
  padding: 32px 44px;
  background: var(--bg-card);
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.footer-left { font-size: 13px; color: var(--tx-muted); line-height: 1.7; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--tx-muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--emerald2); }

/* ══════════════════════════════════════
   BLOG POST
══════════════════════════════════════ */
.post-wrap { max-width: 780px; margin: 0 auto; padding: 0 44px 96px; }
.post-header { padding: 40px 0 30px; }
.post-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--emerald-bg); color: var(--emerald2);
  padding: 4px 10px; border-radius: var(--r-sm); margin-bottom: 16px;
}
.post-title {
  font-size: 38px; font-weight: 800; color: var(--tx-white);
  line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.03em;
}
.post-meta { display: flex; gap: 20px; font-size: 13px; color: var(--tx-muted); margin-bottom: 30px; flex-wrap: wrap; }
.post-intro {
  font-size: 17px; color: var(--tx-secondary); line-height: 1.8;
  margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--bd);
}
.post-body h2 {
  font-size: 25px; font-weight: 800; color: var(--tx-white);
  margin: 44px 0 14px; letter-spacing: -0.02em;
}
.post-body h3 { font-size: 18px; font-weight: 700; color: var(--tx-primary); margin: 30px 0 10px; }
.post-body p { font-size: 16px; color: var(--tx-secondary); line-height: 1.82; margin-bottom: 18px; }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 18px; }
.post-body li { font-size: 16px; color: var(--tx-secondary); line-height: 1.8; margin-bottom: 6px; }
.post-body a { color: var(--emerald2); text-decoration: none; font-weight: 500; }
.post-body a:hover { text-decoration: underline; }
.post-body strong { color: var(--tx-primary); font-weight: 600; }

.post-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--bd); }
.post-table th { background: var(--bg-card2); color: var(--tx-primary); padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.post-table td { padding: 12px 16px; border-bottom: 1px solid var(--bd); color: var(--tx-secondary); background: var(--bg-card); }
.post-table tr:last-child td { border-bottom: none; }
.post-table td:last-child, .post-table th:last-child { color: var(--amber2); font-weight: 700; text-align: right; }
.post-table th:last-child { text-align: right; }

.callout {
  background: rgba(16,185,129,0.07);
  border: 1px solid var(--emerald-bd);
  border-radius: var(--r-md);
  padding: 18px 22px; margin: 26px 0;
}
.callout-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald2); margin-bottom: 6px; }
.callout p { font-size: 15px; color: var(--tx-secondary); margin: 0; line-height: 1.72; }
.callout a { color: var(--emerald2); font-weight: 500; text-decoration: none; }

.placeholder-box {
  background: var(--amber-bg);
  border: 1.5px dashed var(--amber-bd);
  border-radius: var(--r-md);
  padding: 22px 24px; margin: 24px 0;
}
.placeholder-box-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber2); margin-bottom: 8px; }
.placeholder-box p { font-size: 15px; color: var(--tx-muted); margin: 0; font-style: italic; line-height: 1.72; }
.placeholder-box a { color: var(--amber2); text-decoration: none; }

.cta-box {
  background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(16,185,129,0.04) 100%);
  border: 1px solid var(--emerald-bd);
  border-radius: var(--r-xl);
  padding: 32px; margin: 44px 0; text-align: center;
}
.cta-box h3 { font-size: 22px; font-weight: 800; color: var(--tx-white); margin-bottom: 8px; letter-spacing: -0.02em; }
.cta-box p { font-size: 15px; color: var(--tx-secondary); margin-bottom: 22px; }
.cta-btn {
  display: inline-block; padding: 13px 32px;
  background: var(--emerald); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700;
  border-radius: var(--r-md); text-decoration: none;
  box-shadow: 0 4px 14px rgba(16,185,129,0.25);
  transition: all 0.15s; letter-spacing: -0.01em;
}
.cta-btn:hover { background: var(--emerald2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,185,129,0.35); }

.toc {
  background: var(--bg-card);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-lg);
  padding: 22px 24px; margin: 0 0 36px;
}
.toc-title { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-muted); margin-bottom: 14px; }
.toc ol { padding-left: 18px; margin: 0; }
.toc li { margin-bottom: 7px; }
.toc a { font-size: 14px; color: var(--tx-secondary); text-decoration: none; font-weight: 500; }
.toc a:hover { color: var(--emerald2); }

.related-links {
  background: var(--bg-card);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-lg);
  padding: 20px 24px; margin-top: 44px;
}
.related-links h4 { font-size: 12px; font-weight: 700; color: var(--tx-primary); margin-bottom: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.related-links a {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--tx-secondary);
  text-decoration: none; padding: 8px 0;
  border-bottom: 1px solid var(--bd);
  transition: color 0.15s; font-weight: 500;
}
.related-links a:last-child { border-bottom: none; padding-bottom: 0; }
.related-links a:hover { color: var(--emerald2); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
  nav { padding: 0 18px; }
  .nav-links { gap: 1px; }
  .nav-btn { padding: 6px 8px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding: 36px 20px 28px; gap: 28px; }
  .hero h1 { font-size: 32px; }
  .hero-right { display: none; }
  .main { grid-template-columns: 1fr; padding: 0 20px 64px; }
  .blog-section { padding: 0 20px 64px; }
  .form-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  footer { padding: 24px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .breadcrumb { padding: 12px 20px 0; }
  .post-wrap { padding: 0 20px 64px; }
  .post-title { font-size: 28px; }
}
