/* ================================================================
   Dealers Page — B2B pitch, different tone from consumer product pages
   Reuses base.css tokens (--paper, --ink, --accent, --bone, etc.)
   ================================================================ */

/* ---------------- Shared eyebrow / rule ---------------- */
.d-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-mono-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1.5rem;
}
.d-eyebrow--light { color: rgba(247, 245, 239, 0.6); }

/* ================================================================
   1. HERO
   ================================================================ */
.d-hero {
  position: relative;
  min-height: clamp(640px, 92vh, 940px);
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}
.d-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.d-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 1;
}
.d-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.45) 0%, rgba(11,11,12,0.05) 25%, rgba(11,11,12,0.05) 55%, rgba(11,11,12,0.9) 100%),
    linear-gradient(90deg, rgba(11,11,12,0.75) 0%, rgba(11,11,12,0.45) 30%, rgba(11,11,12,0.05) 55%, rgba(11,11,12,0) 100%);
  pointer-events: none;
}
.d-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(120px, 16vh, 180px) var(--gutter) clamp(60px, 10vh, 100px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.d-hero-crumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-mono-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.6);
}
.d-hero-crumbs a { color: inherit; text-decoration: none; }
.d-hero-crumbs a:hover { color: var(--accent); }
.d-hero-crumbs .sep { opacity: 0.5; }

.d-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-mono-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.d-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 16ch;
}
.d-hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: rgba(247, 245, 239, 0.85);
  max-width: 58ch;
  margin: 0;
}
.d-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ================================================================
   2. WHY NOW  (six-card grid)
   ================================================================ */
.d-why {
  background: var(--bone);
  color: var(--ink);
  padding: clamp(80px, 12vh, 140px) var(--gutter);
}
.d-why-header {
  max-width: 1240px;
  margin: 0 auto clamp(60px, 8vh, 100px);
}
.d-why-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  max-width: 22ch;
}
.d-why-lede {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 62ch;
  margin: 0;
}

.d-why-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.d-why-card {
  background: var(--bone);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--dur-2) var(--ease-out);
}
.d-why-card:hover { background: var(--paper); }
.d-why-num {
  font-family: var(--font-mono);
  font-size: var(--text-mono-sm);
  letter-spacing: 0.16em;
  color: var(--accent);
}
.d-why-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.d-why-card p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0;
}
.d-why-card b { color: var(--ink); font-weight: 600; }

/* ================================================================
   3. NUMBERS STRIP
   ================================================================ */
.d-numbers {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(60px, 9vh, 100px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(247, 245, 239, 0.08);
  border-bottom: 1px solid rgba(247, 245, 239, 0.08);
}
.d-numbers-item {
  padding: 0 2rem;
  border-right: 1px solid rgba(247, 245, 239, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.d-numbers-item:last-child { border-right: none; }
.d-num-big {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.d-num-big .pct {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--accent);
  margin-left: 0.15em;
  vertical-align: super;
}
.d-num-label {
  font-family: var(--font-mono);
  font-size: var(--text-mono-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.6);
  line-height: 1.5;
}

/* ================================================================
   4. WHO  (two-column: intro + qualifying list)
   ================================================================ */
.d-who {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(80px, 12vh, 140px) var(--gutter);
}
.d-who-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.d-who-copy { position: sticky; top: 100px; }
.d-who-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.d-who-copy p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 42ch;
  margin: 0;
}
.d-who-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.d-who-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.d-who-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.d-who-icon svg {
  width: 22px;
  height: 22px;
}
.d-who-item h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.d-who-item p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0;
}

/* ================================================================
   5. APPLY  (dark, prominent, single email field)
   ================================================================ */
.d-apply {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(100px, 15vh, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.d-apply::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.4;
}
.d-apply-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.d-apply-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.d-apply-lede {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: rgba(247, 245, 239, 0.75);
  max-width: 56ch;
  margin: 0 auto 3rem;
}

.d-apply-form { text-align: left; }
.d-apply-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-mono-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.6);
  margin-bottom: 0.75rem;
}
.d-apply-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.d-apply-input {
  flex: 1;
  padding: 1.1rem 1.25rem;
  background: rgba(247, 245, 239, 0.06);
  border: 1px solid rgba(247, 245, 239, 0.2);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0;
  transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
}
.d-apply-input::placeholder { color: rgba(247, 245, 239, 0.4); }
.d-apply-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(247, 245, 239, 0.09);
}
.d-apply-submit {
  padding: 1.1rem 2rem;
  white-space: nowrap;
}
.d-apply-fine {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(247, 245, 239, 0.45);
  line-height: 1.5;
}
.d-apply-alt {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 245, 239, 0.12);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: rgba(247, 245, 239, 0.7);
}
.d-apply-alt a {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 0.5rem;
}
.d-apply-alt a:hover { color: var(--accent-hot); }

/* ================================================================
   6. FAQ
   ================================================================ */
.d-faq {
  background: var(--bone);
  color: var(--ink);
  padding: clamp(80px, 12vh, 140px) var(--gutter);
}
.d-faq-header {
  max-width: 1240px;
  margin: 0 auto clamp(50px, 7vh, 80px);
}
.d-faq-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.d-faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.d-faq-item {
  border-bottom: 1px solid var(--line);
}
.d-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  transition: color var(--dur-1) var(--ease-out);
}
.d-faq-item summary::-webkit-details-marker { display: none; }
.d-faq-item summary:hover { color: var(--accent); }
.d-faq-plus {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}
.d-faq-plus::before,
.d-faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform var(--dur-1) var(--ease-out);
}
.d-faq-plus::before {
  width: 16px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.d-faq-plus::after {
  width: 1.5px;
  height: 16px;
  transform: translate(-50%, -50%);
}
.d-faq-item[open] .d-faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.d-faq-body {
  padding: 0 0 2rem;
  max-width: 68ch;
}
.d-faq-body p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-mute);
  margin: 0;
}
.d-faq-body p b { color: var(--ink); font-weight: 600; }

/* ================================================================
   7. FINAL CTA
   ================================================================ */
.d-final {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(100px, 15vh, 160px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.d-final-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.d-final-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-mono-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1.5rem;
}
.d-final-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
}
.d-final-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 54ch;
  margin: 0 auto 2.5rem;
}
.d-final-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.d-final-fine {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.d-final-fine a { color: var(--accent); text-decoration: none; }
.d-final-fine a:hover { color: var(--accent-hot); }

/* Larger button variant for final CTA */
.btn--large {
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
}

/* ================================================================
   TIER PRICING BLOCK (dark, three-card)
   ================================================================ */
.d-tiers {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  border-top: 1px solid rgba(247, 245, 239, 0.06);
}
.d-tiers-header {
  max-width: 1240px;
  margin: 0 auto clamp(40px, 6vh, 64px);
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(247, 245, 239, 0.12);
}
.d-tiers-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.d-tier {
  background: rgba(23, 23, 26, 0.6);
  border: 1px solid rgba(247, 245, 239, 0.10);
  padding: 2rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
  min-height: 100%;
}
.d-tier:hover {
  border-color: rgba(247, 245, 239, 0.24);
  background: rgba(36, 36, 42, 0.55);
}
.d-tier--top {
  border-color: rgba(61, 90, 117, 0.55);
}
.d-tier--top:hover {
  border-color: var(--accent-hot);
}
.d-tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.d-tier-num {
  font-family: var(--font-mono);
  font-size: var(--text-mono-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.55);
}
.d-tier-badge {
  font-family: var(--font-mono);
  font-size: var(--text-mono-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hot);
}
.d-tier-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: uppercase;
}
.d-tier-price {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.d-tier-figure {
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.d-tier-pct {
  font-size: 0.55em;
  font-weight: 500;
  margin-left: 0.05em;
  color: rgba(247, 245, 239, 0.72);
  vertical-align: baseline;
}
.d-tier-price-label {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(247, 245, 239, 0.55);
  letter-spacing: 0.02em;
}
.d-tier-rule {
  height: 1px;
  background: rgba(247, 245, 239, 0.10);
  margin: 0.75rem 0 0.25rem;
}
.d-tier-req-label {
  font-family: var(--font-mono);
  font-size: var(--text-mono-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 245, 239, 0.55);
  margin-bottom: 0.15rem;
}
.d-tier-req {
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(247, 245, 239, 0.85);
  margin: 0;
}
.d-tier-req b { color: var(--bone); font-weight: 600; }
.d-tiers-footnote {
  max-width: 1240px;
  margin: 2.5rem auto 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(247, 245, 239, 0.55);
  max-width: 74ch;
}

/* ================================================================
   SELL 10. GET ONE FREE. — Employee incentive section
   ================================================================ */
.d-spif {
  background: var(--ink-2);
  color: var(--bone);
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  border-top: 1px solid rgba(247, 245, 239, 0.06);
}
.d-spif-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.d-spif-header {
  max-width: 68ch;
  margin-bottom: clamp(40px, 6vh, 64px);
}
.d-spif-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}
.d-spif-lede {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: rgba(247, 245, 239, 0.82);
  margin: 0 0 1.25rem;
}
.d-spif-lede:last-child { margin-bottom: 0; }
.d-spif-lede b { color: var(--bone); font-weight: 600; }
.d-spif-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}
.d-spif-stat {
  background: rgba(11, 11, 12, 0.45);
  border: 1px solid rgba(247, 245, 239, 0.10);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.d-spif-big {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 4.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.d-spif-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(247, 245, 239, 0.60);
}
.d-spif-fine {
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(247, 245, 239, 0.5);
  max-width: 68ch;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .d-tiers-grid { grid-template-columns: 1fr; gap: 1rem; }
  .d-tier { max-width: 640px; margin: 0 auto; width: 100%; }
  .d-spif-stats { grid-template-columns: repeat(3, 1fr); }
  .d-why-grid { grid-template-columns: repeat(2, 1fr); }
  .d-numbers { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .d-numbers-item:nth-child(2) { border-right: none; }
  .d-numbers-item:nth-child(3), .d-numbers-item:nth-child(4) {
    border-top: 1px solid rgba(247, 245, 239, 0.12);
    padding-top: 2rem;
    margin-top: 2rem;
  }
  .d-numbers-item:nth-child(4) { border-right: none; }
  .d-who-inner { grid-template-columns: 1fr; gap: 3rem; }
  .d-who-copy { position: static; }
}

@media (max-width: 640px) {
  .d-hero-inner { padding: 120px var(--gutter) 60px; }
  .d-hero-title { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .d-tiers { padding: 60px var(--gutter); }
  .d-tier { padding: 1.75rem 1.5rem 2rem; }
  .d-tier-figure { font-size: 3.5rem; }
  .d-spif-stats { grid-template-columns: 1fr; }
  .d-spif-stat { padding: 1.5rem 1.5rem; }
  .d-spif-big { font-size: 3.25rem; }
  .d-why-grid { grid-template-columns: 1fr; }
  .d-numbers { grid-template-columns: 1fr; }
  .d-numbers-item {
    border-right: none;
    border-bottom: 1px solid rgba(247, 245, 239, 0.12);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
  .d-numbers-item:nth-child(2),
  .d-numbers-item:nth-child(3) {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }
  .d-numbers-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .d-apply-row { flex-direction: column; }
  .d-apply-submit { width: 100%; }
  .d-final-ctas { flex-direction: column; align-items: stretch; }
}
