/* ============================================================
   Malaysia Move — design system
   Direction: songket (metallic gold thread on indigo ground)
   ============================================================ */

:root {
  /* Ground — warmed, used more sparingly */
  --ink:        #14203F;
  --ink-deep:   #0D1730;
  --ink-soft:   #223159;
  --ink-line:   #2E3D66;

  /* Thread */
  --gold:       #C9A227;
  --gold-light: #E6CB6E;
  --gold-dim:   #8A6E18;

  /* Action */
  --hibiscus:   #BE3A34;
  --hibiscus-d: #9C2C27;

  /* Paper — warm ivory, not cool white */
  --paper:      #FCFAF6;
  --paper-warm: #F5F1E9;
  --white:      #FFFFFF;

  /* Text — warm greys, not blue greys */
  --slate:      #4A4A52;
  --slate-soft: #7A7A85;
  --rule:       #E6E0D6;

  /* Semantic */
  --clear:      #2E7D5B;
  --clear-bg:   #E7F2EC;
  --near:       #B07A0C;
  --near-bg:    #FAF0DC;
  --short:      #98564F;
  --short-bg:   #F8EDEA;

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Space */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  --wrap: 1140px;
  --radius: 8px;
  --radius-lg: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 600;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); }
p  { margin: 0 0 var(--sp-4); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Utility ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-5); }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin: 0 0 var(--sp-3);
  font-weight: 500;
}
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white);
  padding: var(--sp-3) var(--sp-4); z-index: 200;
}
.skip:focus { left: var(--sp-4); top: var(--sp-4); }

/* Visually hidden but read by screen readers */
.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Songket weave — the signature texture */
.weave {
  background-image:
    repeating-linear-gradient(90deg, rgba(201,162,39,.11) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(0deg,  rgba(201,162,39,.07) 0 1px, transparent 1px 13px);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}
.nav__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: 78px;
}
.nav__logo { color: var(--white); flex-shrink: 0; }
.nav__logo svg { width: 196px; height: auto; }
.nav__links { display: none; align-items: center; gap: var(--sp-5); }
.nav__links a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 450;
  padding: var(--sp-2) 0;
  border-bottom: 1.5px solid transparent;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--white); border-bottom-color: var(--gold); }
.nav__cta {
  background: var(--gold); color: var(--ink) !important;
  padding: 10px var(--sp-5) !important;
  border-radius: 100px;
  font-weight: 600 !important;
  border-bottom: none !important;
}
.nav__cta:hover { background: var(--gold-light); }

.nav__toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 9px;
  background: transparent; border: 1px solid var(--ink-line);
  border-radius: var(--radius); cursor: pointer;
}
.nav__toggle span {
  display: block; height: 1.5px; background: var(--white);
  transition: transform .22s, opacity .22s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__drawer {
  display: none;
  background: var(--ink-deep);
  border-top: 1px solid var(--ink-line);
  padding: var(--sp-3) 0 var(--sp-5);
}
.nav__drawer.is-open { display: block; }
.nav__drawer a {
  display: block; color: rgba(255,255,255,.88);
  text-decoration: none; padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 1.02rem;
}
.nav__drawer a:last-child { border-bottom: none; }

@media (min-width: 940px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__drawer { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(168deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: rgba(255,255,255,.9);
  padding-block: var(--sp-8) var(--sp-9);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(201,162,39,.09) 0 1px, transparent 1px 15px),
    repeating-linear-gradient(0deg,  rgba(201,162,39,.055) 0 1px, transparent 1px 15px);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 80% at 78% 15%, #000 0%, transparent 68%);
          mask-image: radial-gradient(120% 80% at 78% 15%, #000 0%, transparent 68%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: var(--sp-7);
  grid-template-columns: 1fr;
  align-items: start;
}
.hero h1 { color: var(--white); margin-bottom: var(--sp-5); }
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
  border-bottom: 2px solid rgba(201,162,39,.4);
}
.hero__lede { font-size: 1.12rem; color: rgba(255,255,255,.76); max-width: 40ch; }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  border: 1px solid rgba(201,162,39,.42);
  color: var(--gold-light);
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px var(--sp-3); border-radius: 100px;
  margin-bottom: var(--sp-5);
}
.hero__badge b { color: var(--white); font-weight: 500; }

.hero__proof { display: flex; flex-wrap: wrap; gap: var(--sp-6); margin-top: var(--sp-7); }
.hero__proof div { border-left: 2px solid var(--gold); padding-left: var(--sp-3); }
.hero__proof dt {
  font-family: var(--mono); font-size: 1.32rem;
  color: var(--white); font-weight: 500;
}
.hero__proof dd {
  margin: 2px 0 0; font-size: 0.82rem;
  color: rgba(255,255,255,.6); max-width: 22ch; line-height: 1.4;
}

@media (min-width: 1000px) {
  .hero { padding-block: var(--sp-9) var(--sp-10); }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}

/* ---------- Finder (signature element) ---------- */
.finder {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 10px rgba(4,10,30,.18), 0 32px 70px -22px rgba(4,10,30,.6);
  overflow: hidden;
  color: var(--slate);
}
.finder__head {
  padding: var(--sp-5);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-warm);
}
.finder__head h2 { font-size: 1.22rem; margin-bottom: 3px; }
.finder__head p { margin: 0; font-size: 0.86rem; color: var(--slate-soft); }
.finder__body { padding: var(--sp-5); }

.field { margin-bottom: var(--sp-5); }
.field:last-child { margin-bottom: 0; }
.field > label,
.field > .field__label {
  display: block; font-size: 0.79rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink); margin-bottom: var(--sp-3);
}
.field__hint { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--slate-soft); }

.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 6px; }
.seg button {
  font-family: var(--body); font-size: 0.9rem; font-weight: 500;
  padding: 14px var(--sp-3);
  background: var(--white); color: var(--slate);
  border: 1.5px solid var(--rule); border-radius: 12px;
  cursor: pointer; transition: all .18s; line-height: 1.35;
}
.seg button:hover { border-color: var(--gold); color: var(--ink); }
.seg button[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink);
  color: var(--white); font-weight: 600;
}

.range { width: 100%; accent-color: var(--gold); margin: var(--sp-2) 0 0; }
.range-out {
  font-family: var(--mono); font-size: 1.42rem; color: var(--ink);
  font-weight: 500; display: block; margin-bottom: var(--sp-1);
}
.range-scale {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 0.68rem; color: var(--slate-soft);
  margin-top: 2px;
}

/* Results */
.results { border-top: 1px solid var(--rule); }
.results__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-3); padding: var(--sp-4) var(--sp-5) var(--sp-3);
}
.results__head h3 { font-size: 1rem; }
.results__count { font-family: var(--mono); font-size: 0.78rem; color: var(--slate-soft); }
.results__list { list-style: none; margin: 0; padding: 0 var(--sp-5) var(--sp-5); }
.results__list li {
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--sp-2) var(--sp-4); align-items: center;
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--rule);
}
.results__list li:last-child { border-bottom: none; }
.route__name { font-weight: 600; color: var(--ink); font-size: 0.97rem; }
.route__why { font-size: 0.81rem; color: var(--slate-soft); grid-column: 1 / -1; margin-top: -4px; }
.tag {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 4px var(--sp-2); border-radius: 100px; white-space: nowrap;
}
.tag--clear { background: var(--clear-bg); color: var(--clear); }
.tag--near  { background: var(--near-bg);  color: var(--near); }
.tag--short { background: var(--short-bg);  color: var(--short); }

.results__foot {
  padding: var(--sp-4) var(--sp-5);
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  font-size: 0.82rem; color: var(--slate-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--body); font-size: 1rem; font-weight: 600;
  padding: 14px var(--sp-6);
  border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .17s;
}
.btn--primary { background: var(--hibiscus); color: var(--white); box-shadow: 0 6px 18px -8px rgba(190,58,52,.55); }
.btn--primary:hover { background: var(--hibiscus-d); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Sections ---------- */
.section { padding-block: 112px; }
.section--warm { background: var(--paper-warm); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.82); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section__head { max-width: 62ch; margin-bottom: var(--sp-7); }
.section__head p { font-size: 1.06rem; margin-bottom: 0; }

/* Rule with a gold thread */
.thread {
  height: 1px; background: var(--rule);
  position: relative; margin-block: var(--sp-7);
}
.thread::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 64px; height: 1px; background: var(--gold);
}

/* ---------- Comparison matrix ---------- */
/* Comparison matrix.
   Deliberately server-rendered, not JS-hydrated: this table is the most
   citable asset on the page and must be readable by crawlers and LLM
   retrievers that do not run scripts. Rendering cost is deferred with
   content-visibility instead, which keeps the markup in the DOM. */
.matrix-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule); border-radius: var(--radius-lg);
  background: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
.matrix { border-collapse: collapse; width: 100%; min-width: 860px; font-size: 0.9rem; }
.matrix caption { text-align: left; padding: var(--sp-4) var(--sp-5); font-size: 0.84rem; color: var(--slate-soft); border-bottom: 1px solid var(--rule); }
.matrix th, .matrix td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.matrix thead th {
  background: var(--ink); color: var(--white);
  font-size: 0.73rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; position: sticky; top: 0;
}
.matrix tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.matrix tbody tr:hover { background: var(--paper-warm); }
.matrix td.num { font-family: var(--mono); font-size: 0.86rem; color: var(--ink); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: none; }

.matrix-note { font-size: 0.8rem; color: var(--slate-soft); margin-top: var(--sp-3); }

/* Lazy placeholder */
.lazy-slot { min-height: 220px; display: grid; place-items: center; color: var(--slate-soft); font-size: 0.88rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  text-decoration: none; color: inherit; display: block;
  box-shadow: 0 1px 2px rgba(20,32,63,.04), 0 8px 24px -16px rgba(20,32,63,.14);
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
a.card:hover {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(20,32,63,.05), 0 20px 40px -18px rgba(20,32,63,.26);
}
.card__k {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-dim); margin-bottom: var(--sp-3);
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { font-size: 0.92rem; margin-bottom: 0; color: var(--slate-soft); }

/* ---------- Stance ---------- */
.stance { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 860px) { .stance { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
.stance ul { list-style: none; padding: 0; margin: 0; }
.stance li {
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative; font-size: 0.96rem;
}
.stance li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 12px; height: 1px; background: var(--gold);
}
.stance li:last-child { border-bottom: none; }

/* ---------- Capture ---------- */
.capture {
  background: var(--white); border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  max-width: 620px;
}
.capture h2 { margin-bottom: var(--sp-3); }
.capture__form { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
@media (min-width: 560px) { .capture__form { grid-template-columns: 1fr auto; } }
.capture input[type="email"] {
  font-family: var(--body); font-size: 1rem; padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--rule); border-radius: var(--radius); width: 100%;
  color: var(--ink); background: var(--white);
}
.capture input[type="email"]:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201,162,39,.16); }
.consent { display: flex; gap: var(--sp-3); align-items: flex-start; margin-top: var(--sp-4); font-size: 0.8rem; color: var(--slate-soft); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.capture__msg { margin: var(--sp-4) 0 0; font-size: 0.9rem; font-weight: 500; }

/* ---------- Footer ---------- */
.foot { background: var(--ink-deep); color: rgba(255,255,255,.62); padding-block: var(--sp-8) var(--sp-6); font-size: 0.9rem; }
.foot__grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; margin-bottom: var(--sp-7); }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: var(--sp-5); } }
.foot h4 { color: var(--white); font-family: var(--body); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--sp-4); font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: var(--sp-3); }
.foot a { color: rgba(255,255,255,.62); text-decoration: none; }
.foot a:hover { color: var(--gold-light); }
.foot__logo { color: var(--white); margin-bottom: var(--sp-4); }
.foot__logo svg { width: 188px; }
.foot__legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--sp-5); font-size: 0.8rem; line-height: 1.65; }
.foot__legal strong { color: rgba(255,255,255,.85); }
.foot__langs { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-4); }
.foot__langs a {
  font-size: 0.8rem; padding: 4px var(--sp-3);
  border: 1px solid rgba(255,255,255,.16); border-radius: 100px;
}

/* ============================================================
   Article pages
   ============================================================ */
.crumb { font-size: 0.8rem; color: var(--slate-soft); padding-block: var(--sp-5) 0; }
.crumb a { color: var(--slate-soft); text-decoration: none; }
.crumb a:hover { color: var(--ink); }

.art { max-width: 720px; margin-inline: auto; padding-block: var(--sp-6) var(--sp-9); }
.art__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  font-size: 0.82rem; color: var(--slate-soft);
  padding-bottom: var(--sp-5); margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--rule);
}
.art__meta time { font-family: var(--mono); }
.art h1 { margin-bottom: var(--sp-4); }
.art h2 { font-size: clamp(1.5rem, 3vw, 1.95rem); margin: var(--sp-8) 0 var(--sp-4); }
.art h3 { margin: var(--sp-6) 0 var(--sp-3); }
.art p, .art li { font-size: 1.06rem; }
.art ul, .art ol { padding-left: var(--sp-5); margin-bottom: var(--sp-5); }
.art li { margin-bottom: var(--sp-2); }
.art a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.art a:hover { color: var(--hibiscus); }

.tldr {
  background: var(--paper-warm); border-left: 3px solid var(--gold);
  padding: var(--sp-5); border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: var(--sp-7);
}
.tldr p:last-child { margin-bottom: 0; }
.tldr strong { color: var(--ink); }

.fig { margin: var(--sp-7) 0; }
.fig svg { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--white); }
.fig figcaption { font-size: 0.82rem; color: var(--slate-soft); margin-top: var(--sp-3); }

.art .matrix-wrap { margin: var(--sp-6) 0; }
.art .matrix { min-width: 560px; }

.callout {
  border: 1px solid var(--rule); border-top: 3px solid var(--hibiscus);
  border-radius: var(--radius-lg); padding: var(--sp-5); margin: var(--sp-6) 0;
  background: var(--white);
}
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.faq { margin-top: var(--sp-8); }
.faq details {
  border-bottom: 1px solid var(--rule); padding: var(--sp-4) 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink);
  font-size: 1.02rem; list-style: none; display: flex;
  justify-content: space-between; gap: var(--sp-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--gold-dim); flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: var(--sp-3) 0 0; font-size: 1rem; }

.source-note {
  font-size: 0.84rem; color: var(--slate-soft);
  border-top: 1px solid var(--rule); margin-top: var(--sp-8); padding-top: var(--sp-5);
}
.next-read { margin-top: var(--sp-8); }
.next-read h2 { font-size: 1.2rem; margin-bottom: var(--sp-4); }

/* ============================================================
   Offer components
   ============================================================ */
.tiers { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.tier {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  display: flex; flex-direction: column; height: 100%;
  box-shadow: 0 1px 2px rgba(20,32,63,.04), 0 8px 24px -16px rgba(20,32,63,.14);
}
.tier--featured {
  border: 2px solid var(--gold); position: relative;
  box-shadow: 0 4px 12px rgba(20,32,63,.07), 0 24px 48px -20px rgba(20,32,63,.28);
}
.tier--featured::before {
  content: "Most people start here";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink);
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px var(--sp-4); border-radius: 100px; white-space: nowrap;
}
.tier__name { font-family: var(--display); font-size: 1.3rem; color: var(--ink); margin-bottom: var(--sp-2); }
.tier__price { font-family: var(--mono); font-size: 2.4rem; color: var(--ink); font-weight: 500; line-height: 1; margin-bottom: var(--sp-2); }
.tier__price small { font-size: 0.9rem; color: var(--slate-soft); font-weight: 400; }
.tier__for { font-size: 0.92rem; color: var(--slate-soft); margin-bottom: var(--sp-5); min-height: 3em; }
.tier ul { list-style: none; padding: 0; margin: 0 0 var(--sp-5); flex: 1; }
.tier li {
  position: relative; padding: 7px 0 7px var(--sp-5);
  font-size: 0.95rem; border-bottom: 1px solid var(--rule);
}
.tier li:last-child { border-bottom: none; }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); opacity: .85;
}

/* Guarantee — the offer's centrepiece */
.guarantee {
  background: var(--white);
  border: 2px solid var(--hibiscus);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-6);
  text-align: center; max-width: 720px; margin-inline: auto;
  position: relative;
}
.guarantee__seal {
  width: 56px; height: 56px; margin: 0 auto var(--sp-4);
  border-radius: 50%; background: var(--short-bg);
  display: grid; place-items: center;
}
.guarantee h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--sp-4); }
.guarantee p { max-width: 52ch; margin-inline: auto; }
.guarantee__terms {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate-soft);
  margin-top: var(--sp-5); padding-top: var(--sp-4);
  border-top: 1px solid var(--rule); margin-bottom: 0;
}

/* Inline offer prompt for article pages */
.offer-inline {
  background: var(--paper-warm); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--sp-5) var(--sp-6); margin: var(--sp-7) 0;
}
.offer-inline h3 { margin: 0 0 var(--sp-2); font-size: 1.15rem; }
.offer-inline p { font-size: 0.98rem; margin-bottom: var(--sp-4); }
.offer-inline .btn { font-size: 0.95rem; padding: 11px var(--sp-5); }

/* Bump */
.bump {
  border: 2px dashed var(--gold); border-radius: var(--radius-lg);
  padding: var(--sp-5); background: var(--near-bg); margin-top: var(--sp-5);
}
.bump label { display: flex; gap: var(--sp-3); align-items: flex-start; cursor: pointer; }
.bump input { margin-top: 5px; accent-color: var(--hibiscus); flex-shrink: 0; width: 18px; height: 18px; }
.bump strong { color: var(--ink); }
.bump p { font-size: 0.9rem; margin: var(--sp-2) 0 0; color: var(--slate); }

/* ============================================================
   Mid-article opt-in — deliberately hard to scroll past
   ============================================================ */
.optin {
  margin: var(--sp-8) 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, var(--ink) 0%, var(--ink-deep) 100%);
  position: relative; overflow: hidden;
  box-shadow: 0 4px 12px rgba(20,32,63,.1), 0 24px 48px -22px rgba(20,32,63,.4);
}
.optin::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(201,162,39,.13) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(0deg,  rgba(201,162,39,.08) 0 1px, transparent 1px 14px);
  -webkit-mask-image: radial-gradient(110% 90% at 88% 8%, #000 0%, transparent 70%);
          mask-image: radial-gradient(110% 90% at 88% 8%, #000 0%, transparent 70%);
  pointer-events: none;
}
.optin__body { position: relative; z-index: 1; padding: var(--sp-7) var(--sp-6); }
.optin__k {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-light); margin: 0 0 var(--sp-3);
}
.optin__h {
  color: var(--white) !important; font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0 0 var(--sp-3); line-height: 1.15;
}
.optin__p {
  color: rgba(255,255,255,.8); font-size: 1rem; max-width: 46ch;
  margin: 0 0 var(--sp-5);
}
.optin__form { display: grid; gap: var(--sp-3); }
@media (min-width: 560px) { .optin__form { grid-template-columns: 1fr auto; } }
.optin__form input[type="email"] {
  font-family: var(--body); font-size: 1rem; padding: 14px var(--sp-4);
  border: 1.5px solid rgba(255,255,255,.22); border-radius: 100px;
  background: rgba(255,255,255,.06); color: var(--white); width: 100%;
}
.optin__form input[type="email"]::placeholder { color: rgba(255,255,255,.42); }
.optin__form input[type="email"]:focus {
  outline: none; border-color: var(--gold);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(201,162,39,.22);
}
.optin__form .btn { white-space: nowrap; }
.optin__consent {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  margin-top: var(--sp-4); font-size: 0.82rem;
  color: rgba(255,255,255,.62); line-height: 1.5;
}
.optin__consent input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.optin__consent a { color: rgba(255,255,255,.82); }
.optin .capture__msg { color: var(--gold-light); margin: var(--sp-4) 0 0; }

/* ============================================================
   Full-bleed opt-in — homepage, directly under the finder
   ============================================================ */
/* Warm ground, not indigo — the hero above is already dark, and two dark
   sections back to back read as one endless block. */
.optin--full {
  margin: 0; border-radius: 0;
  background: var(--paper-warm);
  border-top: 3px solid var(--gold);
  box-shadow: none;
}
.optin--full::before {
  background-image:
    repeating-linear-gradient(90deg, rgba(20,32,63,.055) 0 1px, transparent 1px 15px),
    repeating-linear-gradient(0deg,  rgba(20,32,63,.035) 0 1px, transparent 1px 15px);
  -webkit-mask-image: radial-gradient(100% 85% at 12% 10%, #000 0%, transparent 68%);
          mask-image: radial-gradient(100% 85% at 12% 10%, #000 0%, transparent 68%);
}
.optin--full .optin__k { color: var(--gold-dim); }
.optin--full .optin__h { color: var(--ink) !important; }
.optin--full .optin__p { color: var(--slate); }
.optin--full .optin__p strong { color: var(--ink); }
.optin--full .optin__points li { color: var(--slate); border-bottom-color: var(--rule); }
.optin--full .optin__body {
  max-width: var(--wrap); margin-inline: auto;
  padding: var(--sp-9) var(--sp-5);
  display: grid; gap: var(--sp-7); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) {
  .optin--full .optin__body { grid-template-columns: 1.15fr 1fr; gap: var(--sp-8); }
}
.optin--full .optin__h { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: var(--sp-4); }
.optin--full .optin__p { font-size: 1.06rem; max-width: 42ch; margin-bottom: 0; }
.optin--full .optin__p strong { color: var(--gold-light); }

.optin__points { list-style: none; padding: 0; margin: var(--sp-5) 0 0; }
.optin__points li {
  position: relative; padding: 9px 0 9px var(--sp-6);
  color: rgba(255,255,255,.86); font-size: 0.98rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.optin__points li:last-child { border-bottom: none; }
.optin__points li::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 14px; height: 1.5px; background: var(--gold);
}
.optin__card {
  background: linear-gradient(158deg, var(--ink) 0%, var(--ink-deep) 100%);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: 0 4px 12px rgba(20,32,63,.12), 0 24px 48px -22px rgba(20,32,63,.4);
}
.optin__card .optin__lead {
  color: var(--white); font-family: var(--display);
  font-size: 1.15rem; margin: 0 0 var(--sp-4); line-height: 1.3;
}
.optin__card .optin__form { margin-top: 0; }
.optin__card .btn { width: 100%; }
@media (min-width: 560px) {
  .optin--full .optin__form { grid-template-columns: 1fr; }
}
.optin__reassure {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin: var(--sp-4) 0 0; text-align: center;
}
