/*
 * RENO JOURNAL — advertorial house style.
 *
 * Matched to the Landra output page (getlandra.com/p/...): Sora throughout, white ground, near-black
 * text, a yellow highlighter behind the phrase that carries the headline, numbered badges on the
 * images with a dark caption bar, thin rules between sections, and a sticky black CTA with a trust
 * line under it.
 *
 * TWO DEVICES FROM THAT PAGE ARE DELIBERATELY ABSENT:
 *   - the countdown bar ("Save 13% on First Order · 02:58:42"). This page's promise is time to
 *     think, and a timer contradicting the promise converts the wrong people. The percentage would
 *     also fail this account's financial gate on its own.
 *   - a byline with an invented author. Fabricated authorship is the thing native-ad guidance warns
 *     about most specifically; the meta line carries a reading time and a date, which are true.
 *
 * TWO CONSTRAINTS OUTRANK AESTHETICS:
 *   1. THE DISCLOSURE STAYS ABOVE THE HEADLINE. The reference puts "ADVERTISEMENT" in the eyebrow
 *      row, which is the right position — but in grey, which is not prominent enough to lean on, so
 *      ours is full-contrast. check.mjs fails the page if it drops below the h1.
 *   2. THE READER IS 50-72 ON A PHONE. 17px body at 1.6, 17px inputs (under 16px makes iOS zoom on
 *      focus), 48px+ tap targets.
 */

/* ========================================================================== tokens */

:root {
  color-scheme: light;

  --bg:        #ffffff;
  --bg-soft:   #f6f6f4;
  --ink:       #1a1a1a;
  --ink-soft:  #4a4a48;
  --ink-faint: #8b8b87;
  --rule:      #e6e6e2;
  --hl:        #d8ff47;
  --badge:     #2f7cf6;
  --accent:    #1a1a1a;

  --measure: 40rem;
  --gutter: 22px;
  --radius: 12px;

  --sora: 'Sora', -apple-system, system-ui, 'Segoe UI', sans-serif;
}

*, *::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: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sora);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }

/* ========================================================================== eyebrow + disclosure */

/*
 * The eyebrow row: category, then the disclosure. Above the headline, which is where native-ad
 * guidance puts it — a footer disclosure on an editorial page is the classic miss, because the
 * reader acts before they ever see it. The reference greys this out; ours does not, because grey is
 * exactly the "technically present, practically unnoticed" failure the guidance describes.
 * "Advertisement" is the wording, not "Promoted" and not "Advertorial".
 */
.ad-label {
  display: block;
  margin: 26px 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.ad-label .cat { color: var(--ink-faint); margin-right: 10px; }
.ad-label .what {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

/* ========================================================================== type */

h1 {
  font-size: clamp(31px, 8vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.022em;
  font-weight: 700;
  margin: 0 0 16px;
  text-wrap: balance;
}

/* The highlighter, on the phrase the headline turns on. One per page. */
.hl {
  background: var(--hl);
  box-shadow: 0 0 0 4px var(--hl);
  border-radius: 1px;
}

.dek {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
  text-wrap: pretty;
}

/* Real facts only — a date and a reading time, never an invented author. */
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink-faint);
  margin: 0 0 26px;
}

h2 {
  font-size: clamp(26px, 6.6vw, 33px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 46px 0 16px;
  text-wrap: balance;
}
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 10px; }

p { margin: 0 0 20px; text-wrap: pretty; }
a { color: var(--ink); text-underline-offset: 3px; }
strong, b { font-weight: 700; }

.lede { font-size: 17.5px; }

/* Inline arrow CTA, as the reference uses between sections. */
.inline-cta {
  display: inline-block;
  margin: 4px 0 26px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-bottom: 2px solid var(--hl);
  padding-bottom: 2px;
}
.inline-cta::after { content: '  →'; white-space: pre; }
.inline-cta:hover { border-bottom-color: var(--ink); }

hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }

/* ========================================================================== figures */

figure { position: relative; margin: 34px 0; }
figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

/* Numbered badge, overlapping the image corner. */
figure[data-n]::before {
  content: attr(data-n);
  position: absolute;
  top: -14px;
  left: -8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--badge);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* Caption bar inside the foot of the image. */
figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 13px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(20, 20, 20, 0.86);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero .on-image {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.86);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ========================================================================== components */

ol.steps { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: step; }
ol.steps li { counter-increment: step; position: relative; padding: 0 0 0 46px; margin: 0 0 22px; }
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--badge);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
ol.steps strong { display: block; font-size: 17.5px; margin-bottom: 2px; }

.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.compare caption {
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 12px;
}
.compare th, .compare td {
  border-bottom: 1px solid var(--rule);
  padding: 13px 10px 13px 0;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.compare thead th {
  border-bottom: 2px solid var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare tbody th { font-weight: 600; width: 33%; }

.statrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0; }
.statrow div { background: var(--bg-soft); border-radius: var(--radius); padding: 16px 15px; }
.statrow .n { display: block; font-size: 27px; font-weight: 700; letter-spacing: -0.03em; }
.statrow .l { display: block; margin-top: 5px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }

.faq { margin: 26px 0; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  position: relative;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 15px;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-faint);
}
.faq details[open] summary::after { content: '–'; }
.faq details > :not(summary) { margin: 0 0 18px; font-size: 16.5px; }

ol.list-items { margin: 0; padding: 0; list-style: none; counter-reset: item; }
ol.list-items > li { counter-increment: item; border-top: 1px solid var(--rule); padding-top: 30px; margin-bottom: 36px; }
ol.list-items > li > h2 { margin-top: 0; }
ol.list-items > li > h2::before {
  content: counter(item);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 12px;
  vertical-align: 5px;
  border-radius: 999px;
  background: var(--badge);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.verdict {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 18px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.verdict b { color: var(--ink); }

.pull {
  margin: 34px 0;
  font-size: 23px;
  line-height: 1.32;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

.jump { display: none; }

/* Attributed proof. The name is not decoration here — it is the thing that makes the number
   checkable, and the gate fails a proof block that does not carry it. */
.proof {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 26px 0;
}
.proof p { margin: 0; }
.proof-score { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.proof-score .stars { color: #f0a202; margin-right: 4px; }
.proof-of { font-size: 15px; font-weight: 400; color: var(--ink-soft); margin-left: 4px; }
.proof-who { flex-basis: 100%; font-size: 13px; line-height: 1.5; color: var(--ink-faint); }

/* The offer rail. */
.rail { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 22px; margin: 32px 0; }
.rail ul { margin: 0 0 20px; padding-left: 20px; font-size: 16px; }
.rail li { margin-bottom: 9px; }
.rail p { font-size: 16px; }

.btn {
  display: block;
  width: 100%;
  text-align: center;
  min-height: 56px;
  padding: 17px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-family: var(--sora);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: opacity 0.14s ease;
}
.btn::after { content: '  →'; white-space: pre; }
.btn:hover { color: #fff; opacity: 0.86; }

/* ========================================================================== form */

.form-card { background: var(--bg-soft); border-radius: var(--radius); padding: 26px 22px 30px; margin: 16px 0 0; }
.form-card h2 { margin-top: 0; }
form { margin-top: 22px; }
.field { margin-bottom: 18px; }

label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
label .optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-faint); }

input, select, textarea {
  width: 100%;
  font: 400 17px/1.4 var(--sora);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #d9d9d4;
  border-radius: 10px;
  padding: 14px;
  min-height: 52px;
  transition: border-color 0.14s ease;
}
textarea { min-height: 100px; resize: vertical; }
select { appearance: none; background-image: none; }
input:hover, select:hover, textarea:hover { border-color: #b8b8b2; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible,
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--badge); outline-offset: 2px; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

button.submit {
  width: 100%;
  min-height: 58px;
  font: 700 17px/1.2 var(--sora);
  letter-spacing: -0.01em;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 10px;
  padding: 18px;
  cursor: pointer;
  transition: opacity 0.14s ease;
}
button.submit:hover { opacity: 0.86; }
button.submit[disabled] { opacity: 0.45; cursor: default; }

.reassure { font-size: 13px; line-height: 1.6; color: var(--ink-faint); margin: 14px 0 0; }
.form-error { font-size: 14.5px; color: #b3261e; margin: 14px 0 0; }

/* ========================================================================== confirmation */

.confirm { display: none; }
.confirm[data-visible='true'] { display: block; }
.confirm h2:first-child { margin-top: 26px; }
.next-list { margin: 0 0 22px; padding: 0 0 0 22px; }
.next-list li { margin-bottom: 11px; }

/* ========================================================================== sticky */

/* Wayfinding plus the one reassurance that matters. No timer, no scarcity — see the note up top. */
.sticky {
  position: sticky;
  bottom: 0;
  z-index: 5;
  margin: 0 calc(var(--gutter) * -1);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--rule);
  backdrop-filter: blur(10px);
  text-align: center;
}
.sticky a {
  display: block;
  min-height: 54px;
  padding: 16px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.sticky a::after { content: '  →'; white-space: pre; }
.sticky .trust {
  display: block;
  margin: 9px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
@media print { .sticky { display: none; } }

/* ========================================================================== footer */

footer {
  border-top: 1px solid var(--rule);
  margin-top: 46px;
  padding: 24px 0 70px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-faint);
}
footer p { margin: 0 0 11px; }

/* The standing disclaimer. Small, but never smaller than this and never lighter than --ink-soft:
   a disclaimer nobody can read is the failure mode the top label exists to avoid. */
.disclaimer {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.disclaimer b { color: var(--ink); }
footer a { color: var(--ink-soft); }

@media (min-width: 760px) {
  :root { --gutter: 28px; }
  body { font-size: 17.5px; }
}

/* ==========================================================================
   MULTI-STEP INTAKE
   One question per screen, mirroring the core Meta funnel. Options are big tap
   targets because the reader is 50-72 on a phone: 60px minimum, full width, and
   a tap both answers and advances so there is no second action to find.
   ========================================================================== */

.q-progress {
  height: 4px;
  background: #e6e6e2;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.q-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--badge);
  border-radius: 999px;
  transition: width 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) { .q-bar { transition: none; } }

.q-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.q-count {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.q-back {
  background: none;
  border: 0;
  padding: 6px 2px;
  min-height: 34px;
  font-family: var(--sora);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-faint);
  cursor: pointer;
}
.q-back:hover { color: var(--ink); }
.q-back::before { content: '← '; }

/* A fieldset, so the question is the legend and the options are grouped for a screen reader. */
.q-step { display: none; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.q-step[data-active] { display: block; }

.q-title {
  display: block;
  padding: 0;
  font-size: clamp(22px, 5.6vw, 27px);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 8px;
  outline: 0;
  text-wrap: balance;
}
.q-sub { font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 20px; }

.q-options { display: grid; gap: 10px; margin-bottom: 4px; }
.q-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 60px;
  padding: 15px 16px;
  text-align: left;
  background: #fff;
  border: 1.5px solid #d9d9d4;
  border-radius: 12px;
  font-family: var(--sora);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.q-opt:hover { border-color: var(--ink); }
.q-opt[aria-pressed='true'] { border-color: var(--badge); background: #f2f7ff; }
.q-ico { font-size: 21px; line-height: 1; flex: none; }
.q-opt .q-note {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-faint);
}

.q-next { margin-top: 16px; }

/* The ZIP field's label is carried by the legend above it; this keeps it for a screen reader
   without repeating it on screen. */
.q-vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.q-fielderr { font-size: 14px; color: #b3261e; margin: 10px 0 0; }

/* The disqualify end state. Not a dead end and not a consolation prize — it says why, plainly,
   because the alternative is somebody waiting for a call that is never coming. */
.dq { display: none; }
.dq[data-visible='true'] { display: block; }
.dq h2:first-child { margin-top: 26px; }
