/* ============================================================
   RESELLER INCOME PLAN — STYLES
   Mobile-first. White background, dark text, green accent.
   To change the accent color, edit --green below.
   ============================================================ */

:root {
  --ink: #12161c;          /* main text */
  --ink-soft: #5a626e;     /* secondary text */
  --green: #0e9f5b;        /* accent — positive numbers, buttons */
  --green-dark: #0b8049;   /* accent hover */
  --green-tint: #ecf9f2;   /* soft green background */
  --line: #e6e8ec;         /* borders */
  --bg: #ffffff;
  --card-radius: 18px;
  --shadow: 0 1px 2px rgba(18, 22, 28, 0.05), 0 8px 24px rgba(18, 22, 28, 0.06);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / footer ---------- */

.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}

.site-footer {
  margin-top: 56px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
}

.site-footer a { color: var(--ink-soft); }

/* ---------- Intro ---------- */

.intro {
  text-align: center;
  padding: 40px 0 8px;
}

h1 {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 12px;
}

.subheadline {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 46ch;
}

/* ---------- Progress bar ---------- */

.progress-wrap { margin: 28px 0 16px; }

.progress-track {
  height: 8px;
  background: #eef0f3;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.progress-label {
  margin: 8px 2px 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Cards & steps ---------- */

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  margin-bottom: 20px;
}

.step h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  line-height: 1.25;
}

.step-note {
  color: var(--ink-soft);
  margin: 0 0 18px;
  font-size: 0.95rem;
}

.hidden { display: none !important; }

/* ---------- Option buttons ---------- */

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.option-list {
  display: grid;
  gap: 12px;
}

.option-btn {
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 18px 14px;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}

.option-grid .option-btn span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.option-list .option-btn {
  text-align: left;
  font-size: 1rem;
}

.option-btn:hover { border-color: var(--green); }

.option-btn:active { transform: scale(0.98); }

.option-btn.selected {
  border-color: var(--green);
  background: var(--green-tint);
}

.option-btn:focus-visible,
.primary-btn:focus-visible,
.back-btn:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(14, 159, 91, 0.4);
  outline-offset: 2px;
}

/* ---------- Back button ---------- */

.back-btn {
  margin-top: 16px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 8px 4px;
}

.back-btn:hover { color: var(--ink); }

/* ---------- Form ---------- */

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  font-family: inherit;
  font-size: 1.05rem;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.field input:focus { border-color: var(--green); outline: none; }

.field.invalid input { border-color: #d33f3f; }

.field-error {
  display: none;
  color: #d33f3f;
  font-size: 0.85rem;
  margin: 6px 0 0;
}

.field.invalid .field-error { display: block; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  margin: 18px 0 8px;
  cursor: pointer;
}

.consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.fine-print {
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 12px 0 0;
}

.fine-print a { color: var(--ink-soft); }

/* Honeypot: visually removed but present for bots */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Primary button ---------- */

.primary-btn {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: var(--green);
  border: none;
  border-radius: 14px;
  padding: 18px;
  margin-top: 18px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}

.primary-btn:hover { background: var(--green-dark); }
.primary-btn:active { transform: scale(0.99); }

.primary-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-error {
  color: #d33f3f;
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 14px;
  text-align: center;
}

/* ---------- Result page ---------- */

.result-header {
  text-align: center;
  padding: 8px 0 20px;
}

.eyebrow {
  display: inline-block;
  background: var(--green-tint);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 14px;
}

.result-title {
  font-size: clamp(1.6rem, 5.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.15;
}

.plan-card { text-align: center; }

.plan-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
  margin: 0;
}

.plan-goal {
  font-size: clamp(2.6rem, 10vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green);
  margin: 4px 0 20px;
  line-height: 1;
}

.plan-math {
  border-top: 1px solid var(--line);
  text-align: left;
}

.plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.plan-row-label {
  font-size: 0.95rem;
  font-weight: 600;
}

.plan-row-label em {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.plan-value {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green);
  white-space: nowrap;
}

.plan-input-wrap {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green);
  white-space: nowrap;
}

.plan-input-wrap input {
  width: 84px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: right;
  margin-left: 4px;
}

.plan-input-wrap input:focus { border-color: var(--green); outline: none; }

/* Traditional way list */

.section-heading {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

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

.task-list li {
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
}

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

.task-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink-soft);
  border-radius: 3px;
}

/* Remote Retail card */

.highlight-card {
  border: 2px solid var(--green);
  background: linear-gradient(180deg, var(--green-tint) 0%, #ffffff 42%);
}

.model-tagline {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--green-dark);
  margin: 0 0 18px;
}

.model-grid { display: grid; gap: 14px; }

.model-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.model-item h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
}

.model-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cta-link { text-transform: uppercase; }

/* ---------- How Remote Retail Works ---------- */

.how-section { margin-top: 40px; }

.model-tagline.center { text-align: center; margin-bottom: 4px; }

.how-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.how-steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 18px 54px;
}

.how-steps li:last-child { padding-bottom: 0; }

.how-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-steps h4 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.how-steps p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Comparison cards */

.compare-grid { display: grid; gap: 14px; }

.compare-card { margin-bottom: 0; }

.compare-new-card {
  border: 2px solid var(--green);
  background: linear-gradient(180deg, var(--green-tint) 0%, #ffffff 55%);
}

.compare-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.compare-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  font-weight: 600;
  font-size: 0.93rem;
  border-bottom: 1px solid var(--line);
}

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

.compare-old li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--ink-soft);
}

.compare-new li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--green);
  font-weight: 800;
}

#interest-block { margin-top: 20px; }

.interest-confirm {
  text-align: center;
  margin-top: 20px;
}

.confirm-text {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.disclaimer {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.82rem;
  max-width: 52ch;
  margin: 24px auto 0;
  line-height: 1.55;
}

/* ---------- Legal pages ---------- */

.legal-page h1 {
  font-size: 1.8rem;
  text-align: left;
  padding-top: 32px;
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 28px 0 8px;
}

.legal-page p, .legal-page li {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.back-home {
  display: inline-block;
  margin-top: 28px;
  font-weight: 700;
  color: var(--green-dark);
}

/* ---------- Larger screens ---------- */

@media (min-width: 560px) {
  .card { padding: 32px 30px; }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .primary-btn { font-size: 1.15rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
