/* Earn with TagVomo (/earn). Builds on home.css tokens (--h-*). */
.e-hero { background: radial-gradient(900px 420px at 85% 10%, rgba(200, 255, 61, .28), transparent 70%), var(--h-paper); padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--h-line); }
.e-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.e-open { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 15px/1.3 var(--h-font); color: #0f6e3d; }
.e-open span { width: 10px; height: 10px; border-radius: 50%; background: var(--h-green); box-shadow: 0 0 0 5px rgba(20, 160, 90, .18); flex: none; }
.e-h1 { font: 800 clamp(36px, 5.6vw, 68px)/1.02 var(--h-font); letter-spacing: -.03em; margin: 0 0 20px; color: var(--h-ink); max-width: 14ch; }
.e-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* The one memorable element: where one car-tag sale goes. */
.e-split { margin: 0; background: var(--h-dark); color: #fff; border-radius: var(--h-radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--h-shadow); }
.e-split figcaption { font: 600 17px/1.45 var(--h-font); color: #dbe3ee; margin-bottom: 20px; }
.e-split figcaption b { color: var(--h-lime); font-weight: 800; }
.e-bar { display: flex; height: 54px; border-radius: 14px; overflow: hidden; gap: 3px; background: var(--h-dark-2); }
.e-seg { display: block; min-width: 6px; flex: 1 1 0; }
.e-agency { background: var(--h-lime); }
.e-dist { background: #5ee0a0; }
.e-cnf { background: #8fb7ff; }
.e-tv { background: #4b5a72; }
.e-legend { margin: 20px 0 0; display: grid; gap: 10px; }
.e-legend div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.e-legend div:last-child { border-bottom: 0; padding-bottom: 0; }
.e-legend dt { display: flex; align-items: center; gap: 10px; color: #dbe3ee; font-weight: 600; }
.e-legend dt i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.e-legend dd { margin: 0; font: 800 20px var(--h-font); font-variant-numeric: tabular-nums; }
.e-legend div:first-child dd { color: var(--h-lime); font-size: 26px; }
.e-note { font-size: 13.5px; line-height: 1.55; color: var(--h-muted); margin: 14px 0 0; }
.e-split .e-note { color: #9fb0c6; }
.e-note a { color: inherit; font-weight: 700; }

/* Roles */
.e-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.e-role { background: #fff; border: 1px solid var(--h-line); border-radius: 22px; padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 18px; }
.e-role-main { border: 2px solid var(--h-ink); }
.e-role h3 { font: 800 24px var(--h-font); margin: 0 0 8px; letter-spacing: -.01em; }
.e-earn { margin: 0; font: 700 17px/1.4 var(--h-font); color: #0f6e3d; }
.e-earn span { display: block; font-weight: 600; font-size: 14.5px; color: var(--h-muted); margin-top: 4px; }
.e-role dl { margin: 0; display: grid; gap: 12px; }
.e-role dl div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
.e-role dt { font-weight: 700; color: var(--h-ink); font-size: 14.5px; }
.e-role dd { margin: 0; color: var(--h-ink-2); line-height: 1.5; font-size: 15px; }
.e-role .h-btn { margin-top: auto; align-self: flex-start; min-height: 46px; font-size: 15px; }

/* Calculator */
.e-calc-sec { background: #fff; border-block: 1px solid var(--h-line); }
.e-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 36px; border: 1px solid var(--h-line); border-radius: var(--h-radius); overflow: hidden; }
.e-calc-in { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; align-content: start; }
.e-seg-ctl { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.e-seg-ctl legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.e-seg-ctl label { position: relative; }
.e-seg-ctl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.e-seg-ctl label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--h-line); font-weight: 700; cursor: pointer; }
.e-seg-ctl label:has(input:checked) { background: var(--h-ink); color: #fff; border-color: var(--h-ink); }
.e-seg-ctl label:has(input:focus-visible) { outline: 3px solid var(--h-green); outline-offset: 2px; }
.e-field { display: grid; gap: 6px; font-weight: 600; color: var(--h-ink-2); }
.e-field input { font: 700 18px var(--h-font); padding: 12px 14px; border: 1.5px solid var(--h-line); border-radius: 12px; width: 100%; max-width: 240px; color: var(--h-ink); background: #fff; }
.e-field input:focus { outline: 3px solid rgba(20, 160, 90, .35); border-color: var(--h-green); }
[data-agency-only] { display: grid; gap: 18px; }
[data-agency-only][hidden] { display: none; }
.e-calc-out { background: var(--h-dark); color: #fff; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; justify-content: center; }
.e-out-label { margin: 0; color: #c3cdda; font-weight: 600; }
.e-out-big { margin: 6px 0; font: 800 clamp(40px, 6vw, 64px)/1 var(--h-font); color: var(--h-lime); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.e-out-sub { margin: 0; color: #dbe3ee; line-height: 1.5; }
.e-calc-out .e-note { color: #9fb0c6; }

/* Why it sells */
.e-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 36px; }
.e-why h3 { font: 800 19px var(--h-font); margin: 0 0 8px; color: #fff; }
.e-why p { margin: 0; color: #c3cdda; line-height: 1.55; }
.e-sub { font: 800 19px var(--h-font); margin: 52px 0 16px; color: var(--h-lime); }
.e-kit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 26px; }
.e-kit li { color: #dbe3ee; padding-left: 22px; position: relative; line-height: 1.5; }
.e-kit li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--h-lime); }

/* States */
.e-states { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.e-states li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--h-line); font-weight: 600; font-size: 14.5px; color: var(--h-ink-2); }

/* Apply */
.e-apply-sec { background: var(--h-paper); border-top: 1px solid var(--h-line); }
.e-steps { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.e-steps li { counter-increment: step; position: relative; padding-top: 54px; }
.e-steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--h-ink); color: var(--h-lime); font: 800 17px var(--h-font); }
.e-steps h3 { font: 800 18px var(--h-font); margin: 0 0 6px; }
.e-steps p { margin: 0; color: var(--h-ink-2); line-height: 1.55; }
.e-apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.e-docs, .e-apply-cta { background: #fff; border: 1px solid var(--h-line); border-radius: 22px; padding: clamp(22px, 2.6vw, 30px); }
.e-docs h3, .e-apply-cta h3 { font: 800 20px var(--h-font); margin: 0 0 14px; }
.e-docs ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--h-ink-2); line-height: 1.5; }
.e-apply-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.e-apply-btns .h-btn { justify-content: center; min-height: 48px; font-size: 15px; }

@media (max-width: 960px) {
  .e-hero-grid, .e-calc, .e-apply-grid { grid-template-columns: 1fr; }
  .e-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-kit { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .e-roles, .e-why, .e-steps, .e-kit { grid-template-columns: 1fr; }
  .e-role dl div { grid-template-columns: 1fr; gap: 2px; }
  .e-role .h-btn { align-self: stretch; }
  .e-actions .h-btn { flex: 1 1 100%; }
  .e-apply-btns { grid-template-columns: 1fr; }
  .e-field input { max-width: none; }
}

/* % off MRP headline, GST lines and billing table */
.e-off { margin: 0 0 10px; font: 600 15px var(--h-font); color: var(--h-muted); display: flex; align-items: baseline; gap: 8px; }
.e-off b { font: 800 clamp(44px, 5vw, 60px)/1 var(--h-font); color: var(--h-ink); letter-spacing: -.03em; }
.e-role dd b { color: var(--h-ink); font-weight: 800; }
.e-role dd small, .e-table td small { display: block; font-size: 13.5px; color: var(--h-muted); margin-top: 2px; line-height: 1.45; }
.e-bill-sec { padding-top: 0; }
.e-table-wrap { overflow-x: auto; margin-top: 26px; border: 1px solid var(--h-line); border-radius: 18px; background: #fff; }
.e-table-wrap:focus-visible { outline: 3px solid #0f6e3d; outline-offset: 3px; }
.e-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.e-table caption { text-align: left; padding: 16px 20px 4px; color: var(--h-muted); font-size: 14px; }
.e-table th, .e-table td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--h-line); vertical-align: top; }
.e-table thead th { border-top: 0; font-size: 13.5px; color: var(--h-muted); font-weight: 700; white-space: nowrap; }
.e-table tbody th { font-weight: 800; color: var(--h-ink); white-space: nowrap; }
.e-table td b { font-weight: 800; color: var(--h-ink); }
.e-gst-notes { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.e-gst-notes li { color: var(--h-ink-2); line-height: 1.55; font-size: 15px; }
.e-gst-notes b { color: var(--h-ink); }
@media (max-width: 760px) {
  .e-table-wrap { border: 0; background: none; overflow: visible; }
  .e-table, .e-table tbody, .e-table tr, .e-table th, .e-table td { display: block; width: auto; min-width: 0; }
  .e-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .e-table caption { display: block; padding: 0 0 10px; }
  .e-table tr { background: #fff; border: 1px solid var(--h-line); border-radius: 16px; padding: 6px 0; margin-bottom: 12px; }
  .e-table tbody th { border-top: 0; padding: 12px 18px 6px; font-size: 17px; }
  .e-table td { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 8px 18px; }
  .e-table td::before { content: attr(data-l); color: var(--h-muted); font-size: 14px; }
  .e-table td:has(small)::before { grid-row: span 2; }
  .e-table td small { grid-column: 2; margin-top: -6px; }
  .e-gst-notes { grid-template-columns: 1fr; }
}
