/* =========================================================
   lead-magnet.css — Shared styles for email-gated download pages
   Depends on freelancers.css for base typography, buttons, nav, footer
   ========================================================= */

/* ── Hero ── */
.lm-hero-wrap {
  background: linear-gradient(160deg, #f7f9fc 0%, #eef3fb 100%);
  border-bottom: 1px solid #e4e9f0;
}

.lm-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 30px 72px;
  text-align: center;
}

.lm-badge {
  display: inline-block;
  background: #e8f4e8;
  color: #2a7a00;
  border-radius: 100px;
  padding: 5px 14px;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lm-hero-h1 {
  font-family: Inter, sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  color: #111;
  margin: 0 0 20px;
}

.lm-hero-sub {
  font-family: Inter, sans-serif;
  font-size: 19px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.lm-hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lm-hero-cta {
  background-color: #4baf00;
  color: #fff;
  border-radius: 12px;
  padding: 14px 32px;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease-in-out;
}

.lm-hero-cta:hover {
  background-color: #357c00;
  color: #fff;
}

.lm-hero-meta {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.lm-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lm-hero-meta-item::before {
  content: "✓";
  color: #4baf00;
  font-weight: 700;
  font-size: 13px;
}

/* ── Preview mockup section ── */
.lm-preview-section {
  padding: 64px 30px;
  background: #fff;
}

.lm-preview-inner {
  max-width: 960px;
  margin: 0 auto;
}

.lm-section-eyebrow {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4baf00;
  margin: 0 0 12px;
}

.lm-section-h2 {
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #111;
  margin: 0 0 14px;
  line-height: 1.25;
}

.lm-section-sub {
  font-family: Inter, sans-serif;
  font-size: 17px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 40px;
  max-width: 620px;
}

/* Tab navigator for spreadsheet preview */
.lm-tab-strip {
  display: flex;
  gap: 2px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.lm-tab {
  background: #e8ecf0;
  color: #666;
  padding: 7px 18px;
  border-radius: 8px 8px 0 0;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: default;
  white-space: nowrap;
}

.lm-tab.active {
  background: #fff;
  color: #111;
  font-weight: 600;
  border: 1px solid #dde2e8;
  border-bottom: 1px solid #fff;
}

/* Spreadsheet mockup */
.lm-sheet-wrap {
  border: 1px solid #dde2e8;
  border-radius: 0 12px 12px 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  background: #fff;
}

.lm-sheet-toolbar {
  background: #f5f7fa;
  border-bottom: 1px solid #e4e9f0;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lm-toolbar-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ddd;
}

.lm-toolbar-dot:nth-child(1) { background: #ff5f57; }
.lm-toolbar-dot:nth-child(2) { background: #febc2e; }
.lm-toolbar-dot:nth-child(3) { background: #28c840; }

.lm-sheet-label {
  margin-left: 10px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #888;
}

.lm-sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Inter, sans-serif;
  font-size: 13px;
}

.lm-sheet-table th {
  background: #f5f7fa;
  color: #888;
  font-weight: 500;
  padding: 8px 16px;
  text-align: left;
  border-bottom: 1px solid #e4e9f0;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.lm-sheet-table td {
  padding: 9px 16px;
  border-bottom: 1px solid #f0f2f5;
  color: #333;
  font-size: 13px;
}

.lm-sheet-table tr:last-child td {
  border-bottom: none;
}

.lm-sheet-table tr:nth-child(even) td {
  background: #fafbfc;
}

.lm-sheet-total td {
  background: #f0f8e8 !important;
  font-weight: 700;
  color: #2a7a00;
  border-top: 2px solid #c8e8a8;
}

.lm-amount-pos { color: #2ba845; font-weight: 500; }
.lm-amount-neg { color: #d97706; font-weight: 500; }
.lm-amount-neutral { color: #555; }

.lm-sheet-formula {
  color: #2196F3;
  font-size: 11px;
  font-family: monospace;
}

/* PDF checklist mockup */
.lm-pdf-wrap {
  background: #fff;
  border: 1px solid #dde2e8;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 4px 4px 0 #e4e9f0;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}

.lm-pdf-header {
  background: linear-gradient(135deg, #1a3a5c 0%, #006fe0 100%);
  padding: 28px 32px 24px;
  color: #fff;
}

.lm-pdf-title {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.lm-pdf-subtitle {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

.lm-pdf-body {
  padding: 24px 32px;
}

.lm-pdf-category {
  margin-bottom: 20px;
}

.lm-pdf-cat-label {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #006fe0;
  margin: 0 0 8px;
}

.lm-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f2f5;
}

.lm-check-item:last-child {
  border-bottom: none;
}

.lm-check-box {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1.5px solid #bbb;
  border-radius: 3px;
  margin-top: 2px;
  background: #fff;
}

.lm-check-box.checked {
  background: #4baf00;
  border-color: #4baf00;
  position: relative;
}

.lm-check-box.checked::after {
  content: "✓";
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
}

.lm-check-text {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}

.lm-check-note {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

/* ── Inside section ── */
.lm-inside-section {
  background: #f7f9fc;
  padding: 64px 30px;
  border-top: 1px solid #e4e9f0;
  border-bottom: 1px solid #e4e9f0;
}

.lm-inside-inner {
  max-width: 960px;
  margin: 0 auto;
}

.lm-tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.lm-tab-card {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  padding: 28px 28px 24px;
  position: relative;
}

.lm-tab-card-num {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
  margin: 0 0 10px;
}

.lm-tab-card-title {
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}

.lm-tab-card-body {
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.lm-tab-card-tag {
  display: inline-block;
  margin-top: 14px;
  background: #f0f8e8;
  color: #2a7a00;
  border-radius: 100px;
  padding: 3px 10px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.lm-deduction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.lm-deduction-card {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  padding: 22px 24px;
}

.lm-deduction-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome Solid", Arial, sans-serif;
  font-size: 15px;
  margin-bottom: 12px;
}

.lm-icon-home   { background: #fff3e6; color: #d97706; }
.lm-icon-laptop { background: #e8f2ff; color: #006fe0; }
.lm-icon-car    { background: #f5f0ff; color: #7c3aed; }
.lm-icon-book   { background: #fff0f0; color: #dc2626; }
.lm-icon-chart  { background: #e8f8e8; color: #2a7a00; }
.lm-icon-health { background: #fff3e6; color: #d97706; }
.lm-icon-misc   { background: #f5f7fa; color: #555; }

.lm-icon-home::before   { content: "\f015"; }
.lm-icon-laptop::before { content: "\f109"; }
.lm-icon-car::before    { content: "\f1b9"; }
.lm-icon-book::before   { content: "\f02d"; }
.lm-icon-chart::before  { content: "\f201"; }
.lm-icon-health::before { content: "\f21e"; }
.lm-icon-misc::before   { content: "\f0ad"; }

.lm-deduction-title {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
}

.lm-deduction-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lm-deduction-items li {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #555;
  padding: 4px 0;
  border-bottom: 1px solid #f0f2f5;
  line-height: 1.4;
  margin-bottom: 0;
}

.lm-deduction-items li:last-child {
  border-bottom: none;
}

/* ── Email gate section ── */
.lm-gate-section {
  background: #fff;
  padding: 72px 30px;
}

.lm-gate-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.lm-gate-card {
  background: #f7f9fc;
  border: 1px solid #e4e9f0;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.lm-gate-h2 {
  font-family: Inter, sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111;
  margin: 0 0 12px;
  line-height: 1.25;
}

.lm-gate-sub {
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: #555;
  margin: 0 0 28px;
  line-height: 1.5;
}

.lm-gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lm-gate-input {
  border: 1.5px solid #d0d7e0;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: #111;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
}

.lm-gate-input:focus {
  outline: none;
  border-color: #4baf00;
  box-shadow: 0 0 0 3px rgba(75,175,0,0.1);
}

.lm-gate-input::placeholder {
  color: #aaa;
}

.lm-gate-submit {
  background-color: #4baf00;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  width: 100%;
}

.lm-gate-submit:hover {
  background-color: #357c00;
}

.lm-gate-privacy {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #888;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.lm-gate-privacy::before {
  content: "\f023";
  font-family: "Font Awesome Solid", Arial, sans-serif;
  font-size: 11px;
  color: #aaa;
}

.lm-gate-items {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}

.lm-gate-items li {
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: #333;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #e8ecf0;
  margin-bottom: 0;
}

.lm-gate-items li:last-child {
  border-bottom: none;
}

.lm-gate-items li::before {
  content: "✓";
  color: #4baf00;
  font-weight: 700;
  font-size: 14px;
  min-width: 16px;
  margin-top: 1px;
}

/* ── Upgrade section (Balance Pro CTA) ── */
.lm-upgrade-section {
  background: linear-gradient(160deg, #f0f6ff 0%, #e8f2ff 100%);
  border-top: 1px solid #d0ddf0;
  border-bottom: 1px solid #d0ddf0;
  padding: 72px 30px;
}

.lm-upgrade-inner {
  max-width: 860px;
  margin: 0 auto;
}

.lm-upgrade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lm-upgrade-badge {
  display: inline-block;
  background: #e8f2ff;
  color: #006fe0;
  border-radius: 100px;
  padding: 5px 14px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.lm-upgrade-h2 {
  font-family: Inter, sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111;
  margin: 0 0 16px;
  line-height: 1.25;
}

.lm-upgrade-body {
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin: 0 0 20px;
}

.lm-upgrade-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.lm-upgrade-list li {
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: #333;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #d8e4f4;
  margin-bottom: 0;
}

.lm-upgrade-list li:last-child {
  border-bottom: none;
}

.lm-upgrade-list li::before {
  content: "✓";
  color: #006fe0;
  font-weight: 700;
  font-size: 14px;
  min-width: 16px;
  margin-top: 1px;
}

.lm-upgrade-cta {
  background-color: #006fe0;
  color: #fff;
  border-radius: 12px;
  padding: 13px 28px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease-in-out;
}

.lm-upgrade-cta:hover {
  background-color: #0059b3;
  color: #fff;
}

.lm-upgrade-price {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

.lm-upgrade-visual {
  display: flex;
  justify-content: center;
}

/* Comparison: manual vs automated */
.lm-compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  font-family: Inter, sans-serif;
}

.lm-compare-table thead tr th {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.lm-compare-table thead th:first-child {
  background: #f5f7fa;
  color: #555;
}

.lm-compare-table thead th:nth-child(2) {
  background: #f5f7fa;
  color: #888;
}

.lm-compare-table thead th:last-child {
  background: #006fe0;
  color: #fff;
}

.lm-compare-table tbody tr td {
  padding: 12px 20px;
  font-size: 14px;
  border-bottom: 1px solid #f0f2f5;
}

.lm-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.lm-compare-table tbody td:first-child {
  font-weight: 500;
  color: #333;
  background: #fafbfc;
}

.lm-compare-table tbody td:nth-child(2) {
  color: #888;
  background: #fff;
  font-size: 13px;
}

.lm-compare-table tbody td:last-child {
  background: #f0f6ff;
  color: #006fe0;
  font-weight: 500;
}

.lm-check-yes { color: #2ba845; font-weight: 700; }
.lm-check-no  { color: #aaa; }
.lm-check-bp  { color: #006fe0; font-weight: 700; }

/* ── FAQ section ── */
.lm-faq-section {
  background: #fff;
  padding: 72px 30px;
}

.lm-faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.lm-faq-item {
  border-bottom: 1px solid #e4e9f0;
  padding: 24px 0;
}

.lm-faq-item:first-child {
  border-top: 1px solid #e4e9f0;
}

.lm-faq-q {
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}

.lm-faq-a {
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

/* ── Hero byline (author + freshness) ── */
.fl-hero-byline {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #888;
  margin: -8px 0 22px;
  letter-spacing: 0.01em;
}

.fl-hero-byline a {
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #d8dde4;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.fl-hero-byline a:hover {
  color: #4baf00;
  border-bottom-color: #4baf00;
}

/* ── 30-day plan grid ── */
.lm-day-section {
  margin-top: 40px;
}

.lm-week-label {
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4baf00;
  margin: 32px 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lm-week-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(75,175,0,0.3), rgba(75,175,0,0));
}

.lm-week-label:first-child {
  margin-top: 0;
}

.lm-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.lm-day-cell {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 10px;
  padding: 14px 14px 12px;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.lm-day-cell:hover {
  border-color: #c8e8a8;
  transform: translateY(-2px);
}

.lm-day-num {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
  margin: 0;
}

.lm-day-task {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 6px 0 0;
  font-weight: 500;
}

.lm-day-cell.lm-day-milestone {
  background: linear-gradient(160deg, #f0f8e8 0%, #e8f4d8 100%);
  border-color: #c8e8a8;
}

.lm-day-cell.lm-day-milestone .lm-day-num {
  color: #4baf00;
}

@media (max-width: 1024px) {
  .lm-day-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 640px) {
  .lm-day-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Detailed deduction sections (full reference content) ── */
.lm-detail-block {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(20,30,50,0.04);
}

.lm-detail-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid #f0f2f5;
}

.lm-detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome Solid", Arial, sans-serif;
  font-size: 19px;
}

.lm-detail-num {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin: 0 0 2px;
}

.lm-detail-title {
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #111;
  margin: 0;
  line-height: 1.2;
}

.lm-detail-desc {
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin: 0 0 18px;
}

.lm-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lm-detail-list > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f2f5;
  margin-bottom: 0;
}

.lm-detail-list > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lm-detail-list > li:first-child {
  padding-top: 4px;
}

.lm-detail-check {
  color: #4baf00;
  font-weight: 700;
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.lm-detail-content {
  flex: 1;
}

.lm-detail-item {
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin: 0;
  line-height: 1.4;
}

.lm-detail-note {
  font-family: Inter, sans-serif;
  font-size: 13.5px;
  color: #666;
  line-height: 1.55;
  margin: 4px 0 0;
}

@media (max-width: 768px) {
  .lm-detail-block { padding: 24px 22px; }
  .lm-detail-title { font-size: 20px; }
  .lm-detail-head { gap: 14px; padding-bottom: 16px; }
  .lm-detail-icon { width: 40px; height: 40px; min-width: 40px; font-size: 16px; }
}

/* ── Two-column category list (income + expense categories) ── */
.lm-cat-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.lm-cat-col {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  padding: 28px 30px;
}

.lm-cat-col-eyebrow {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4baf00;
  margin: 0 0 6px;
}

.lm-cat-col-eyebrow.lm-eyebrow-orange { color: #d97706; }

.lm-cat-col h3 {
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin: 0 0 16px;
}

.lm-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lm-cat-list li {
  font-family: Inter, sans-serif;
  font-size: 14px;
  color: #333;
  padding: 9px 0;
  border-bottom: 1px solid #f0f2f5;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 0;
}

.lm-cat-list li:last-child {
  border-bottom: none;
}

.lm-cat-list .lm-cat-suggested {
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #999;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .lm-cat-columns { grid-template-columns: 1fr; }
}

/* ── Method cards (3-up budgeting approaches) ── */
.lm-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.lm-method-card {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  padding: 28px 28px 26px;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.lm-method-card:hover {
  border-color: #c8e8a8;
  transform: translateY(-3px);
}

.lm-method-num {
  font-family: Inter, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #4baf00;
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.lm-method-title {
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.3;
}

.lm-method-body {
  font-family: Inter, sans-serif;
  font-size: 14.5px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 14px;
}

.lm-method-formula {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  background: #f5f7fa;
  border-left: 3px solid #4baf00;
  padding: 9px 12px;
  color: #333;
  border-radius: 4px;
  display: block;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .lm-method-grid { grid-template-columns: 1fr; }
}

/* ── Mistake list (numbered, larger) ── */
.lm-mistake-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  counter-reset: mistake-counter;
}

.lm-mistake-list > li {
  counter-increment: mistake-counter;
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  padding: 24px 28px 24px 80px;
  margin-bottom: 12px;
  position: relative;
}

.lm-mistake-list > li::before {
  content: counter(mistake-counter, decimal-leading-zero);
  position: absolute;
  left: 28px;
  top: 24px;
  font-family: Inter, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #d97706;
  letter-spacing: -0.02em;
}

.lm-mistake-title {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
}

.lm-mistake-body {
  font-family: Inter, sans-serif;
  font-size: 14.5px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .lm-mistake-list > li {
    padding: 60px 22px 22px;
  }
  .lm-mistake-list > li::before {
    left: 22px;
    top: 18px;
  }
}

/* ── Print rules — both pages should print cleanly ── */
@media print {
  .nav-section, .footer-section, .footer, .lm-upgrade-section,
  .fl-hero-actions, .lm-section-eyebrow, .fl-section-label {
    display: none !important;
  }
  body { background: #fff !important; }
  .lm-hero-wrap, .fl-alt-bg, .lm-inside-section, .lm-preview-section,
  .lm-faq-section, .lm-gate-section {
    background: #fff !important;
    padding: 16px 0 !important;
    border: none !important;
  }
  .lm-detail-block, .lm-day-cell, .lm-method-card, .lm-cat-col,
  .lm-mistake-list > li {
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .lm-hero-h1 { font-size: 28px !important; }
}

/* ── Disclaimer ── */
.lm-disclaimer {
  background: #f7f9fc;
  border: 1px solid #e4e9f0;
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 32px;
}

.lm-disclaimer p {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #777;
  line-height: 1.55;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .lm-hero-h1 {
    font-size: 30px;
  }

  .lm-hero-sub {
    font-size: 17px;
  }

  .lm-tab-grid,
  .lm-deduction-grid,
  .lm-upgrade-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lm-upgrade-grid {
    gap: 40px;
  }

  .lm-gate-card {
    padding: 28px 24px;
  }

  .lm-section-h2 {
    font-size: 24px;
  }

  .lm-pdf-body {
    padding: 20px 20px;
  }

  .lm-sheet-table {
    font-size: 12px;
  }

  .lm-sheet-table th,
  .lm-sheet-table td {
    padding: 7px 10px;
  }

  .lm-hero-meta {
    flex-direction: column;
    gap: 8px;
  }
}
