/* ============================================================
   Market Ranger — static landing styles
   Dark premium field + signal green. Saira Semi Condensed (display) + Figtree (body).
   ============================================================ */

:root {
  --mr-ink: #0b1210;
  --mr-charcoal: #121c18;
  --mr-charcoal-2: #0f1a15;
  --mr-mist: #f3f6f4;
  --mr-green: #1f9d6e;
  --mr-green-bright: #2ecf8f;
  --mr-green-deep: #0f6b4a;
  --mr-green-soft: #7ee6bb;
  --mr-body: #c5d0cb;
  --mr-muted: #8aa198;
  --mr-line: rgba(255, 255, 255, 0.1);

  --font-display: "Saira Semi Condensed", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--mr-ink);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--mr-ink);
  color: var(--mr-mist);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
canvas,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.accent {
  color: var(--mr-green-bright);
}
.accent-soft {
  color: var(--mr-green-soft);
}
.muted {
  color: var(--mr-muted);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}

.mt-8 {
  margin-top: 2rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-12 {
  margin-top: 3rem;
}

.scroll-mt {
  scroll-margin-top: 5rem;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--mr-green-bright);
  color: #062018;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border-radius: 0 0 0.5rem 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn .icon {
  width: 1rem;
  height: 1rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
}
.btn-lg {
  padding: 0.875rem 1.5rem;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--mr-green-bright);
  color: #062018;
  box-shadow: 0 0 30px -6px rgba(46, 207, 143, 0.7);
}
.btn-primary:hover {
  background: #41e0a0;
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(11, 18, 16, 0.4);
  color: #fff;
  font-weight: 600;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.link-quiet {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mr-body);
  transition: color 0.2s ease;
}
.link-quiet:hover {
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--mr-line);
  background: rgba(11, 18, 16, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.brand-mark {
  width: 2rem;
  height: 2rem;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.primary-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.primary-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mr-body);
  transition: color 0.2s ease;
}
.primary-nav a:hover {
  color: #fff;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.header-actions .link-quiet {
  display: none;
}

/* ---------- Backgrounds ---------- */
.grid-bg {
  background-image:
    radial-gradient(circle at 50% 0%, rgba(46, 207, 143, 0.14), transparent 55%),
    linear-gradient(to bottom, var(--mr-ink), var(--mr-ink));
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 4rem);
}
.signal-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--mr-ink),
    rgba(11, 18, 16, 0.85) 45%,
    transparent
  );
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 4rem);
  padding-block: 4rem;
}
.hero-copy {
  max-width: 42rem;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 207, 143, 0.3);
  background: rgba(46, 207, 143, 0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mr-green-soft);
}
.hero-title {
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: clamp(2.4rem, 6.4vw, 4rem);
  line-height: 1.22;
  letter-spacing: 0.03em;
  color: #fff;
  text-wrap: balance;
}
.hero-sub {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--mr-body);
  text-wrap: pretty;
}
.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.hero-stats {
  margin-top: 2.5rem;
  max-width: 28rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--mr-line);
  padding-top: 1.5rem;
}
.hero-stats dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mr-muted);
}
.hero-stats dd {
  margin-top: 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}

/* ---------- Sections ---------- */
.section {
  border-top: 1px solid var(--mr-line);
  padding-block: 5rem;
}
.section-ink {
  background: var(--mr-ink);
}
.section-shift {
  background: linear-gradient(to bottom, var(--mr-charcoal), var(--mr-ink));
}
.section-who {
  background: linear-gradient(to bottom, var(--mr-ink), var(--mr-charcoal));
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mr-green-soft);
}
.section-title {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: clamp(1.85rem, 4.2vw, 2.45rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: #fff;
  text-wrap: balance;
}
.section-lede {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: 0.9375rem;
  color: var(--mr-body);
}

/* ---------- Cards ---------- */
.card {
  border-radius: 1rem;
  border: 1px solid var(--mr-line);
  background: var(--mr-charcoal);
  padding: 1.5rem;
}
.card-body {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--mr-body);
}
.stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.stat {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--mr-muted);
}

/* ---------- Value / compare ---------- */
.shift-head {
  max-width: 48rem;
}
.shift-title {
  margin-top: 1rem;
  font-size: clamp(2.1rem, 5.2vw, 3.15rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.03em;
  color: #fff;
  text-wrap: balance;
}
.shift-lede {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--mr-body);
}
.compare-card {
  border-radius: 1.5rem;
  border: 1px solid var(--mr-line);
  background: var(--mr-ink);
  padding: 2rem;
}
.compare-card--mr {
  border-color: rgba(46, 207, 143, 0.4);
  background: var(--mr-charcoal-2);
  box-shadow: 0 0 60px -24px rgba(46, 207, 143, 0.6);
}
.compare-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.compare-price {
  margin-top: 0.75rem;
  font-size: 3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0.03em;
}
.compare-price .unit {
  font-size: 1.5rem;
  font-weight: 600;
}
.compare-note {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}
.compare-list {
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--mr-body);
}
.compare-list li {
  border-top: 1px solid var(--mr-line);
  padding-top: 0.75rem;
}
.compare-list li.strong {
  font-weight: 600;
  color: #fff;
}
.callout {
  border-radius: 1rem;
  border: 1px solid rgba(46, 207, 143, 0.3);
  background: rgba(46, 207, 143, 0.1);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.callout p {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  padding: 0;
}
.step {
  transition: border-color 0.2s ease;
}
.step:hover {
  border-color: rgba(46, 207, 143, 0.4);
}
.step-n {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mr-green-bright);
}
.step-title {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: #fff;
}

/* ---------- Who it's for ---------- */
.seg {
  background: var(--mr-ink);
  transition: border-color 0.2s ease;
}
.seg:hover {
  border-color: rgba(46, 207, 143, 0.4);
}
.seg-bar {
  display: block;
  height: 0.25rem;
  width: 2.5rem;
  border-radius: 999px;
  background: var(--mr-green-bright);
  margin-bottom: 1rem;
}
.seg-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: #fff;
}

/* ---------- Pricing ---------- */
.pricing-head {
  max-width: 40rem;
}
.plans {
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--mr-line);
  background: var(--mr-charcoal);
  padding: 2rem;
}
.plan--featured {
  border-color: rgba(46, 207, 143, 0.5);
  background: var(--mr-charcoal-2);
  box-shadow: 0 0 60px -24px rgba(46, 207, 143, 0.6);
}
.plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 2rem;
  border-radius: 999px;
  background: var(--mr-green-bright);
  color: #062018;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: #fff;
}
.plan-price {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #fff;
}
.plan-price .unit {
  font-size: 1.125rem;
  font-weight: 600;
}
.plan-leads {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--mr-body);
}
.feature-list {
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--mr-body);
}
.feature-list li {
  position: relative;
  padding-left: 1.625rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ecf8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.plan-micro {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.plan .btn {
  margin-top: 2rem;
}
.plan--featured .feature-list {
  order: 0;
}
.pricing-foot {
  margin-inline: auto;
  margin-top: 2.5rem;
  max-width: 48rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--mr-body);
}

/* Push plan CTA to the bottom for equal-height alignment */
.plan .btn-block {
  margin-top: auto;
}
.plan .plan-micro + .btn-block {
  margin-top: 1.25rem;
}

/* ---------- Final CTA ---------- */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.cta-title {
  font-size: clamp(1.85rem, 4.2vw, 2.45rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: #fff;
  text-wrap: balance;
}
.cta-sub {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--mr-body);
}
.link-mail {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mr-green-soft);
  transition: color 0.2s ease;
}
.link-mail:hover {
  color: #fff;
}
.link-mail .icon {
  width: 1rem;
  height: 1rem;
}

.cta-form {
  border-radius: 1.5rem;
  border: 1px solid var(--mr-line);
  background: var(--mr-charcoal);
  padding: 1.5rem;
}
.field + .field {
  margin-top: 1rem;
}
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mr-body);
}
.field input {
  margin-top: 0.375rem;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--mr-ink);
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder {
  color: #5f7268;
}
.field input:focus {
  outline: none;
  border-color: var(--mr-green-bright);
  box-shadow: 0 0 0 1px var(--mr-green-bright);
}
.cta-form .btn {
  margin-top: 1.5rem;
}
.form-help {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--mr-muted);
}
.form-help a {
  color: var(--mr-green-soft);
}
.form-help a:hover {
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--mr-line);
  background: var(--mr-ink);
  padding-block: 3.5rem;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-brand {
  max-width: 28rem;
}
.footer-desc {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--mr-body);
}
.footer-contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mr-muted);
}
.footer-contact a {
  margin-top: 0.5rem;
  display: inline-block;
  color: var(--mr-green-soft);
}
.footer-contact a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid var(--mr-line);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--mr-muted);
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-actions .link-quiet {
    display: inline-block;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 6rem;
  }
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .primary-nav {
    display: flex;
  }
  .cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-veil {
    background: linear-gradient(
      to right,
      var(--mr-ink),
      rgba(11, 18, 16, 0.6) 45%,
      transparent
    );
  }
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
