/* Localize sales page — sits on editions cinematic dark system.
 * Contrast: every text color is explicit on its surface. No black-on-black.
 * Color tiles: 50% intensity (same rule as homepage principles).
 */

/* full dark page — no light paper from other sheets */
body.ed-loc {
  background: var(--bg);
  color: var(--ink);
  padding-bottom: 110px;
}

/* hero sales */
.ed-loc-hero {
  position: relative;
  min-height: min(100svh, 980px);
  padding: calc(28px + 100px) 24px 80px;
  overflow: hidden;
  text-align: center;
}
.ed-loc-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.ed-loc-hero .ed-orb { z-index: 1; }
.ed-loc-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 138, 61, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(5,5,7,0.2) 0%, rgba(5,5,7,0.75) 70%, #050507 100%);
}
.ed-loc-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}
.ed-loc-hero h1 {
  margin: 0 auto 18px;
  max-width: 14ch;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 650;
  color: #f7f7f8;
}
.ed-loc-hero .lead {
  margin: 0 auto 28px;
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}
.ed-loc-hero .ed-hero-actions {
  justify-content: center;
  margin-bottom: 16px;
}
.ed-loc-hero .fine {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--faint);
}

/* listing mock */
.ed-listing {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: left;
  background: var(--elev);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ed-listing-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.ed-listing-hd img {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
}
.ed-listing-hd b {
  display: block;
  font-size: 15px;
  color: var(--ink);
}
.ed-listing-hd span {
  font-size: 13px;
  color: var(--muted);
}
.ed-listing-badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-2);
  background: rgba(255, 138, 61, 0.14);
  border: 1px solid rgba(255, 138, 61, 0.28);
  border-radius: 999px;
  padding: 4px 10px;
}
.ed-loc-row {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.ed-loc-row:last-of-type { border-bottom: 0; }
.ed-loc-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.ed-flag {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--faint);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 2px 7px;
  flex: none;
}
.ed-loc-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.ed-loc-sub {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--muted);
}
.ed-kw {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ed-kw span {
  font-size: 12.5px;
  color: #d4d4da;
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 4px 9px;
}
.ed-listing-ft {
  padding: 12px 18px;
  background: rgba(0,0,0,0.28);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--faint);
}

.ed-locales {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  list-style: none;
  margin: 36px auto 0;
  padding: 0;
  max-width: 820px;
}
.ed-locales li {
  font-size: 14px;
  color: var(--faint);
}

/* chapters — always dark surface + light type */
.ed-loc .ed-chapter {
  background: var(--bg);
  color: var(--ink);
}
.ed-loc .ed-chapter.is-elev {
  background: var(--bg-2);
}
.ed-loc .ed-chapter-head {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.ed-loc .ed-chapter-head h2 {
  max-width: 18ch;
  margin-inline: auto;
  color: var(--ink);
}
.ed-loc .ed-chapter-head p {
  margin-inline: auto;
  color: var(--muted);
}

/* why three — muted 50% color cards */
.ed-why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}
@media (max-width: 860px) {
  .ed-why { grid-template-columns: 1fr; }
}
.ed-why-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  padding: 26px 22px;
  min-height: 180px;
  background: #16161a;
  border: 1px solid var(--line-2);
  color: #f5f5f7;
  text-align: left;
  box-shadow: var(--shadow);
}
.ed-why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.ed-why-card.w1::before { background: linear-gradient(145deg, #ff9a4a, #e85d1a); }
.ed-why-card.w2::before { background: linear-gradient(145deg, #6aa8ff, #3b6fe0); }
.ed-why-card.w3::before { background: linear-gradient(145deg, #3ecf8e, #1a9f63); }
.ed-why-card > * { position: relative; z-index: 1; }
.ed-why-card .num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.ed-why-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.ed-why-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(245,245,247,0.82);
}

/* pricing — elevated dark cards, light text, accent CTAs */
.ed-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
  text-align: left;
}
@media (max-width: 980px) {
  .ed-tiers { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}
.ed-tier {
  display: flex;
  flex-direction: column;
  background: var(--elev);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 26px 22px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.ed-tier.feat {
  border-color: rgba(255, 138, 61, 0.4);
  box-shadow: 0 24px 60px rgba(255, 138, 61, 0.12), var(--shadow);
}
.ed-tier-name {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ed-tier-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--orange-2);
  background: rgba(255, 138, 61, 0.14);
  border-radius: 999px;
  padding: 3px 9px;
}
.ed-tier-price {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ed-tier-price sup {
  font-size: 0.45em;
  font-weight: 600;
  position: relative;
  top: -0.55em;
  margin-right: 1px;
}
.ed-tier-for {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
.ed-tier ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.ed-tier li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--muted);
}
.ed-tier li svg {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  color: var(--orange-2);
}
.ed-tier li b { color: var(--ink); font-weight: 600; }
.ed-tier .ed-pill { width: 100%; margin-top: auto; }
.ed-tiers-note {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--faint);
}

/* steps */
.ed-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
  text-align: left;
}
@media (max-width: 1000px) {
  .ed-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ed-steps { grid-template-columns: 1fr; }
}
.ed-step {
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.ed-step .num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 10px;
}
.ed-step h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--ink);
}
.ed-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* proof tiles — dark elev only, single accent icon, no rainbow */
.ed-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
  text-align: left;
}
@media (max-width: 860px) {
  .ed-proof { grid-template-columns: 1fr; }
}
.ed-proof-card {
  background: var(--elev);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 20px;
  color: var(--ink);
}
.ed-proof-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(255, 138, 61, 0.12);
  border: 1px solid rgba(255, 138, 61, 0.22);
  color: var(--orange-2);
}
.ed-proof-ico svg { width: 18px; height: 18px; }
.ed-proof-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ink);
}
.ed-proof-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
.ed-honest {
  margin: 32px auto 0;
  max-width: 62ch;
  text-align: center;
  font-size: 14px;
  color: var(--faint);
}

/* FAQ */
.ed-faq {
  max-width: 780px;
  margin: 40px auto 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.ed-faq details {
  border-bottom: 1px solid var(--line);
}
.ed-faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 20px 44px 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.ed-faq summary::-webkit-details-marker { display: none; }
.ed-faq summary:hover { color: var(--orange-2); }
.ed-faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 28px;
  width: 9px;
  height: 9px;
  border-right: 1.6px solid var(--faint);
  border-bottom: 1.6px solid var(--faint);
  transform: rotate(45deg);
  transition: transform .2s;
}
.ed-faq details[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--orange-2);
}
.ed-faq details p {
  margin: 0;
  padding: 0 36px 20px 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.ed-faq-after {
  margin-top: 28px;
  text-align: center;
}
.ed-faq-after a {
  color: var(--orange-2);
  font-weight: 600;
  text-decoration: none;
}
.ed-faq-after a:hover { text-decoration: underline; }

/* final CTA — fully centered (title, copy, buttons) */
.ed-loc-final {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ed-loc-final .ed-chapter-tag {
  margin-left: auto;
  margin-right: auto;
}
.ed-loc-final h2 {
  color: var(--ink);
  margin-left: auto;
  margin-right: auto;
  max-width: 18ch;
  text-wrap: balance;
}
.ed-loc-final p {
  color: var(--muted);
  margin-left: auto;
  margin-right: auto;
  max-width: 48ch;
}
.ed-loc-final .ed-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* footer */
.ed-loc-footer {
  margin-top: 40px;
  padding: 40px 24px 100px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.ed-loc-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--faint);
}
.ed-loc-footer a { color: var(--muted); }
.ed-loc-footer-links { margin-top: 10px; }

/* rail for sales sections */
.ed-loc .ed-rail {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 640px) {
  .ed-loc .ed-rail { grid-template-columns: 1fr 1fr; }
  .ed-loc-hero {
    padding: calc(28px + 88px) 18px 64px;
    min-height: auto;
  }
  .ed-loc-hero h1 {
    max-width: none;
    font-size: clamp(2.1rem, 10vw, 3rem);
  }
  .ed-listing {
    margin-top: 32px;
  }
  .ed-loc-footer {
    padding: 32px 18px 120px;
  }
  body.ed-loc {
    padding-bottom: 130px;
  }
}
