/* ═══════════════════════════════════════════════════════════════════════════
   Pieces shared by the illustrated offer pages, on top of oto.css.

   These started life copy-pasted into three pages, which is how a funnel ends
   up with three slightly different versions of the same component. Each page
   now carries only its own backdrops and its one unique section; everything
   below belongs to all of them.

   Accent colour is set per page (the --accent-ish overrides live in each
   page's own <style>), so nothing here hardcodes a hue.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ---------- the illustrated walk ----------
   Alternating sides so the eye zig-zags down the section instead of running
   down one rail. The pictures carry the argument; none of them contain
   lettering, because generated text is gibberish and gibberish inside a
   screenshot-shaped image reads as a fake screenshot. */
.walk {
  display: grid;
  gap: clamp(20px, 3.5vh, 44px);
  margin: clamp(30px, 5vh, 50px) 0 0;
  padding: 0;
  list-style: none;
}

.wstep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.6vw, 44px);
  text-align: left;
}

.wstep:nth-child(even) .wstep__fig { order: 2; }

.wstep__fig {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-2);
  box-shadow: var(--card-lift);
}

.wstep__fig img { display: block; width: 100%; height: auto; }

.wstep__n {
  display: inline-grid;
  place-items: center;
  box-sizing: content-box;
  width: 19px;
  height: 19px;
  padding: 9px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}

.wstep__n .icon { width: 19px; height: 19px; }

.wstep b {
  display: block;
  margin-top: 13px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.028em;
}

.wstep p {
  margin: 11px 0 0;
  color: color-mix(in srgb, var(--text) 70%, transparent);
  font-size: clamp(13.5px, 1.4vw, 16px);
  font-weight: 500;
  line-height: 1.58;
}

.wstep ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.wstep ul li {
  padding: 5px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: clamp(11.5px, 1.15vw, 13px);
  font-weight: 600;
}

@media (max-width: 779px) {
  .wstep { grid-template-columns: 1fr; }
  .wstep:nth-child(even) .wstep__fig { order: 0; }
}

/* ---------- the honest note ----------
   Every page that could be read as promising an outcome carries one of these.
   Dashed and amber so it reads as the vendor speaking plainly rather than as
   another benefit box. */
.ohonest {
  width: min(840px, 100%);
  margin: clamp(26px, 4vh, 40px) auto 0;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px dashed color-mix(in srgb, var(--gold) 46%, transparent);
  border-radius: 22px;
  background: color-mix(in srgb, var(--gold) 7%, transparent);
  text-align: left;
}

.ohonest b {
  display: block;
  margin-bottom: 9px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(14.5px, 1.5vw, 17px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ohonest p {
  margin: 0;
  color: color-mix(in srgb, var(--text) 72%, transparent);
  font-size: clamp(13.5px, 1.35vw, 15.5px);
  font-weight: 500;
  line-height: 1.55;
}

/* ---------- a chip rail ----------
   Used for lists that are facts rather than features: the template packs, the
   share networks, the output languages. */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: clamp(24px, 3.5vh, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: clamp(12px, 1.2vw, 13.5px);
  font-weight: 600;
}

/* ---------- a plain data panel ----------
   The client table, the licence codes, the weekly email: things the product
   really shows, drawn at the size it shows them. */
.panel {
  width: min(760px, 100%);
  margin: clamp(28px, 4.5vh, 46px) auto 0;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%) padding-box,
    linear-gradient(170deg, var(--bevel-lit) 0%, var(--border) 38%, var(--bevel-dark) 100%) border-box;
  box-shadow: var(--card-lift);
  text-align: left;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border);
}

.panel__head b {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(14px, 1.45vw, 17px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel__head span {
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 16%, transparent);
  color: var(--green);
  font-size: clamp(11px, 1.1vw, 12.5px);
  font-weight: 700;
}

.panel__row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}

.panel__row:last-child { border-bottom: 0; }

.panel__av {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--green), #7fb02a);
  color: var(--green-ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.panel__who b {
  display: block;
  font-size: clamp(13px, 1.3vw, 14.5px);
  font-weight: 700;
  line-height: 1.25;
}

.panel__who small {
  display: block;
  color: var(--muted);
  font-size: clamp(11.5px, 1.15vw, 12.5px);
  font-weight: 600;
}

.panel__tag {
  padding: 4px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: clamp(11px, 1.1vw, 12.5px);
  font-weight: 700;
  white-space: nowrap;
}

.panel__cap {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(12px, 1.25vw, 13.5px);
  font-weight: 600;
  text-align: center;
}

/* A monospace row, for things that really are codes. */
.panel__code {
  font-family: "Space Grotesk", ui-monospace, monospace;
  font-size: clamp(12.5px, 1.3vw, 15px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- a simple bar list ----------
   Where visitors came from, and anything else that is a share of a whole. */
.bars { margin: 0; padding: 0; list-style: none; }

.bars li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  align-items: center;
  padding: 9px 0;
  font-size: clamp(12.5px, 1.3vw, 14.5px);
  font-weight: 600;
}

.bars span { grid-column: 1 / -1; height: 7px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 20%, transparent); overflow: hidden; }
.bars span i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green), #7fb02a); }

@media (prefers-reduced-motion: reduce) {
  .wstep__fig { transition: none; }
}
