/* ============================================================================
   ac-framework.css  —  The Karmic Cleanse V2 preview skin.

   REUSED FROM v1.4 (AK/Arcana/US/CLA/AC/, read-only):
     - the design tokens + component shapes of build_oto2.py's CSS (the
       "skin of record" for the OTO ladder: dark-purple hero, gold guarantee,
       .video-frame, .parts, .get-list, .disc, .primary-cta, .price-block)
     - the readability/order-path numbers of build_slo_v5.py's override layer
       (19px body / 14px floor, Lato, gold CTA with ink label + 68px target,
       ink-on-green, 3:1 input border, single-column FAQ, sticky order bar)
   WRITTEN NEW here: the review-note / placeholder boxes (this deploy exists to
   share the copy WITH its placeholders visible), the reviewer nav strip, the
   fake (non-posting) order fields, and the letter components the OTO skin has
   no equivalent for (fascination bullets, step boxes, stack rows, FAQ).

   Phone first: buyers are 62-75 and read on a phone.
   ========================================================================== */

:root {
  --ink: #141222;
  --ink-body: #3f3b4d;
  --muted: #68657a;
  --paper: #ffffff;
  --wash: #f7f7f9;
  --night: #0b0920;
  --night-2: #17132f;
  --purple: #7c32f5;
  --purple-dark: #6422d0;
  --purple-soft: #9b68ff;
  --green: #29c85a;
  --green-ink: #126d31;
  --green-wash: #e2f8e9;
  --red: #ef274b;
  --red-ink: #c4162f;
  --gold: #f2b51e;
  --gold-hover: #dba318;
  --gold-wash: #fff2c7;
  --gold-edge: #b8860b;
  --line: #e9e7ed;
  --line-input: #8d889b;
  --flag: #b2530a;
  --flag-wash: #fff4e5;
  --flag-edge: #f0c48a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 19px/1.63 Lato, "Avenir Next", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 120px;
}

p { margin: 0 0 18px; padding: 0 20px; color: var(--ink-body); }
em { color: var(--purple); font-style: normal; }
strong { color: var(--ink); }

/* ---- hero -------------------------------------------------------------- */
.dark-hero {
  color: #fff;
  background: radial-gradient(100% 58% at 50% 0%, #281a63 0%, rgba(40, 26, 99, 0) 62%), var(--night);
  padding: 30px 20px 30px;
  text-align: center;
}
.dark-hero p { color: #e3dfed; }
.dark-hero .eyebrow {
  display: table;
  margin: 0 auto 16px;
  padding: 7px 16px;
  color: var(--ink);
  background: var(--gold-wash);
  border-radius: 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}
.dark-hero h1 {
  margin: 0 0 16px;
  font-weight: 900;
  font-size: clamp(27px, 5.6vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #fff;
}
.dark-hero .hero-sub { font-size: 20px; line-height: 1.5; color: #ddd9eb; }
.dark-hero .hero-line { font-size: 19px; color: #e3dfed; }
.dark-hero .headline { color: #fff; }

.video-frame {
  position: relative;
  max-width: 640px;
  margin: 0 auto 10px;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  border: 1px solid rgba(128, 145, 230, 0.22);
  border-radius: 8px;
  background: linear-gradient(145deg, #20387e, #202e70 48%, #101735);
  box-shadow: inset 0 0 80px rgba(60, 86, 195, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame .play {
  width: 76px; height: 76px;
  border: 6px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
}

/* ---- headlines --------------------------------------------------------- */
.headline {
  font-weight: 900;
  font-size: clamp(25px, 4.4vw, 31px);
  line-height: 1.28;
  margin: 44px 20px 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.subhead {
  font-weight: 900;
  font-size: 22px;
  line-height: 1.36;
  margin: 30px 20px 12px;
  color: var(--ink);
}

/* ---- lists ------------------------------------------------------------- */
ul.bullets, ol.steps { margin: 0 20px 22px; padding: 0 0 0 4px; list-style: none; }
ul.bullets li, ol.steps li {
  position: relative;
  margin: 0 0 13px;
  padding-left: 34px;
  color: var(--ink-body);
  font-size: 19px;
  line-height: 1.6;
}
ul.bullets li::before {
  content: "\2713";
  position: absolute; left: 0; top: -2px;
  color: var(--green-ink);
  font-size: 22px; font-weight: 900;
}
ol.steps { counter-reset: s; }
ol.steps li { counter-increment: s; }
ol.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 1px;
  width: 25px; height: 25px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--purple); color: #fff;
  font-size: 15px; font-weight: 900;
}

ul.fascinations { margin: 0 20px 24px; padding: 0; list-style: none; }
ul.fascinations li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 34px;
  color: var(--ink-body);
  font-size: 19px; line-height: 1.6;
}
ul.fascinations li::before {
  content: "\2713";
  position: absolute; left: 0; top: -2px;
  color: var(--green-ink); font-size: 22px; font-weight: 900;
}

/* ---- boxed blocks ------------------------------------------------------ */
.doom-list, .step-box, .stack-box {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 4px 6px;
  margin: 0 20px 24px;
}
.doom-list p, .step-box p, .stack-box p { font-size: 18px; }
.step-box .step-head { color: var(--ink); font-weight: 900; font-size: 20px; margin-bottom: 8px; }
.stack-box .stack-row { margin-bottom: 14px; }
.stack-box .stack-row strong { display: block; color: var(--ink); font-weight: 900; }

blockquote.pull {
  margin: 28px 20px;
  padding: 0 0 0 18px;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  font-size: 23px; font-weight: 700; line-height: 1.4;
}
blockquote.pull p { padding: 0; color: inherit; font: inherit; }

.sig { margin: 0 20px 6px; padding: 0; font-weight: 700; color: var(--ink); font-size: 19px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 34px 20px; }

/* ---- order box --------------------------------------------------------- */
.order-box {
  margin: 30px 20px;
  padding: 22px 18px 18px;
  background: #fff;
  border: 2px solid var(--purple-soft);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20, 18, 34, 0.09);
  text-align: center;
}
.order-box .urgent {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  color: var(--red-ink);
  font-size: 16px; font-weight: 900; letter-spacing: 0.03em; text-transform: uppercase;
}
/* only the FIRST urgency line becomes the pulled-out ribbon; a second one
   (the copy stacks two) stays an in-box line instead of a second ribbon. */
.order-box .urgent:first-child {
  margin: -22px -18px 14px;
  padding: 10px;
  background: var(--night-2); color: #fff;
  border-radius: 12px 12px 0 0;
  font-size: 15px;
}
.order-box .price { margin: 0 0 6px; padding: 0; color: var(--red-ink); font-size: 40px; font-weight: 900; line-height: 1.1; }
.order-box .price-sub { margin: 0 0 14px; padding: 0; color: var(--ink-body); font-size: 17px; }
.order-box .offer-line { margin: 0 0 16px; padding: 0; color: var(--ink-body); font-size: 17px; line-height: 1.5; }
.order-box .avail { margin: 0 0 14px; padding: 0; color: var(--green-ink); font-size: 15px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.order-box .secure { margin: 12px 0 0; padding: 0; color: var(--muted); font-size: 14px; }

.field {
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 0 0 12px;
  padding: 15px 16px;
  border: 2px solid var(--line-input);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 18px;
  text-align: left;
}
.field-note {
  margin: -6px 0 14px; padding: 0;
  color: var(--flag); font-size: 13px; font-weight: 700; text-align: left;
}

.primary-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 68px;
  margin: 0 0 12px;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--gold);
  border: 0; border-radius: 10px;
  box-shadow: 0 4px 0 var(--gold-edge);
  text-decoration: none;
  font: 900 21px/1.2 Lato, "Avenir Next", Arial, sans-serif;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.primary-cta:hover { background: var(--gold-hover); }
.primary-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-edge); }
.cta-wrap { margin: 26px 20px; }
.cta-sentinel {
  display: block; margin: 6px 0 0;
  color: var(--flag); font-size: 13px; font-weight: 700; letter-spacing: 0.03em;
}

.decline-link {
  display: block;
  margin: 8px 20px 26px;
  color: var(--muted);
  font-size: 17px; text-align: center; text-decoration: underline;
}

.guarantee {
  display: flex; align-items: center; gap: 14px;
  margin: 0 20px 24px;
  padding: 16px;
  background: var(--gold-wash);
  border: 1px solid #f0d786;
  border-radius: 10px;
}
.guarantee > span {
  width: 60px; height: 60px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffe48c, #d9a019);
  color: #614202; font-size: 13px; font-weight: 900; text-align: center; line-height: 1.1;
}
.guarantee p { margin: 0; padding: 0; color: #4d4858; font-size: 16px; line-height: 1.45; font-weight: 700; }
.order-box .guarantee { margin: 14px 0 0; text-align: left; }

.disc {
  margin: 0 20px 20px;
  padding: 0;
  color: var(--muted);
  font-size: 15px; line-height: 1.55; font-style: italic;
}

/* ---- FAQ --------------------------------------------------------------- */
.faq { margin: 0 20px 26px; }
.faq details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 20px; font-weight: 900; line-height: 1.4;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "\002B  "; color: var(--purple); font-weight: 900; }
.faq details[open] summary::before { content: "\2212  "; }
.faq details p { margin: 10px 0 0; padding: 0; font-size: 19px; }

/* ---- review / placeholder surfaces (NEW for this preview) -------------- */
.review-note {
  position: relative;
  margin: 0 20px 22px;
  padding: 16px 16px 14px;
  background: var(--flag-wash);
  border: 2px dashed var(--flag-edge);
  border-radius: 10px;
  color: #6b3d10;
  font-size: 16px; line-height: 1.5;
}
.review-note .tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 9px;
  background: var(--flag); color: #fff;
  border-radius: 4px;
  font-size: 11px; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase;
}
.review-note p { margin: 0; padding: 0; color: #6b3d10; font-size: 16px; }
.ph-inline {
  background: var(--flag-wash);
  border-bottom: 2px dotted var(--flag);
  color: #6b3d10;
  font-weight: 700;
  padding: 0 2px;
}

.media-box {
  margin: 0 20px 22px;
  padding: 26px 18px;
  background: #f1eef9;
  border: 2px dashed var(--purple-soft);
  border-radius: 12px;
  color: #4a3b78;
  font-size: 16px; line-height: 1.5; text-align: center;
}
.media-box .tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 9px;
  background: var(--purple-dark); color: #fff;
  border-radius: 4px;
  font-size: 11px; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase;
}
.video-note { margin: 0 auto 16px; padding: 0 20px; color: #c8c4d9; font-size: 13px; text-align: center; }

/* ---- preview banner + reviewer nav (NEW) ------------------------------- */
.preview-bar {
  padding: 10px 18px calc(10px + env(safe-area-inset-top, 0px));
  background: #2b1442; color: #ffd9a8;
  font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center;
}
.preview-bar a { color: #ffd9a8; }
.nav-strip {
  margin: 40px 20px 0;
  padding: 18px 16px;
  background: var(--night-2); color: #ddd9eb;
  border-radius: 12px;
  font-size: 16px; line-height: 1.5;
}
.nav-strip b { display: block; margin-bottom: 10px; color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-strip a {
  display: inline-block;
  margin: 0 10px 8px 0;
  padding: 11px 16px;
  min-height: 44px;
  background: #ffffff1a; color: #fff;
  border: 1px solid var(--purple-soft); border-radius: 8px;
  text-decoration: none; font-weight: 700;
}
.site-footer {
  margin-top: 36px;
  padding: 26px 20px calc(26px + env(safe-area-inset-bottom, 0px));
  background: var(--night); color: #a8a3bd;
  font-size: 14px; line-height: 1.55; text-align: center;
}

/* ---- index page (reviewer map) ----------------------------------------- */
.index-card {
  margin: 0 20px 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--purple);
  border-radius: 10px;
}
.index-card h3 { margin: 0 0 6px; font-size: 21px; font-weight: 900; }
.index-card h3 a { color: var(--purple-dark); }
.index-card p { margin: 0; padding: 0; font-size: 16px; }
.index-card .meta { display: inline-block; margin-top: 8px; padding: 3px 9px; background: var(--green-wash); color: var(--green-ink); border-radius: 4px; font-size: 13px; font-weight: 900; }

/* ---- sticky order bar (v5 pattern) ------------------------------------- */
.sticky-bar {
  position: fixed; z-index: 50; inset: auto 0 0;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--night-2); color: #fff;
  border-top: 1px solid var(--purple-soft);
  transition: transform 0.2s;
}
.sticky-bar.is-hidden { transform: translateY(115%); }
.sticky-bar p { margin: 0; padding: 0; color: #ddd9eb; font-size: 15px; font-weight: 700; line-height: 1.3; }
.sticky-bar p b { display: block; color: #fff; font-size: 18px; font-weight: 900; }
.sticky-bar .primary-cta { min-height: 54px; min-width: 250px; width: auto; margin: 0; font-size: 18px; }

/* ---- phone ------------------------------------------------------------- */
@media (max-width: 620px) {
  html, body { font-size: 18px; }
  .dark-hero h1 { font-size: 27px; }
  .dark-hero .hero-sub { font-size: 18px; }
  .headline { font-size: 25px; margin: 36px 18px 14px; }
  .subhead { font-size: 21px; }
  p, ul.bullets li, ol.steps li, ul.fascinations li, .faq details p { font-size: 18px; line-height: 1.6; }
  .order-box { margin: 26px 14px; padding: 20px 14px 16px; }
  .order-box .price { font-size: 36px; }
  .primary-cta { font-size: 19px; min-height: 64px; }
  .sticky-bar { gap: 10px; padding-inline: 12px; }
  .sticky-bar p span { display: none; }
  .sticky-bar .primary-cta { flex: 1; min-width: 0; min-height: 52px; font-size: 17px; }
}

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--purple-dark); outline-offset: 2px; }
.dark-hero a:focus-visible, .site-footer a:focus-visible, .sticky-bar a:focus-visible { outline-color: #fff; }
