/* ==========================================================================
   Offer pages (first: /reels-leads/). Built on site.css tokens only:
   graphite neutrals, one lime signal, Archivo / Instrument Sans / JetBrains Mono.
   Classes are prefixed of- so nothing here touches the agency pages.
   ========================================================================== */

/* Header: this page has its own short nav, so the agency nav rules do not apply */
.of-nav { margin-left: auto; }
.of-actions { margin-left: 8px; }
@media (max-width: 860px) { .of-nav { display: none; } .of-actions { margin-left: auto; } }

/* Hero */
.of-hero { padding-top: clamp(28px, 5vw, 72px); }
.of-tag {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 26px;
  font: 500 .8rem/1.3 var(--f-mono); letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2);
  padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-chip); background: var(--surface);
}
.of-tag .pulse { background: var(--signal-text); box-shadow: none; }
.of-tag-sep { color: var(--line-2); }
.of-under { margin-top: 18px; color: var(--muted); font-size: .98rem; max-width: 44ch; }

/* The weekly read: the page's one picture, drawn in markup */
.of-read { padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 14px; }
.of-read-top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.of-sample { font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--stage-muted); padding: 6px 8px; border: 1px dashed var(--stage-line); border-radius: var(--r-chip); }
.of-reels { position: relative; display: grid; gap: 10px; }
.of-reel { border: 1px solid var(--stage-line); border-radius: 14px; background: var(--stage-2); padding: 14px 16px; display: grid; gap: 12px; }
.of-reel.win { border-color: rgb(198 241 53 / .55); background: linear-gradient(180deg, rgb(198 241 53 / .08), transparent 70%), var(--stage-2); }
.of-reel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.of-key { font: 500 .78rem/1 var(--f-mono); letter-spacing: .06em; padding: 6px 8px; border-radius: var(--r-chip); background: rgb(255 255 255 / .07); color: var(--stage-ink); }
.of-reel.win .of-key { background: var(--signal); color: var(--signal-ink); }
.of-reel-name { font-size: .92rem; color: var(--stage-muted); }
.of-stamp { margin-left: auto; }
.of-counts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.of-counts dt { font-size: .74rem; color: var(--stage-muted); }
.of-counts dd { margin: 2px 0 0; font: 500 1.5rem/1.1 var(--f-mono); letter-spacing: -.02em; color: var(--stage-ink); font-variant-numeric: tabular-nums; }
.of-reel:not(.win) .of-counts dd { color: #c9cfd8; }
.of-counts div:last-child dd { color: var(--signal); }
.of-read-foot { position: relative; font-size: .82rem; color: var(--stage-muted); }

/* Problem: our own numbers */
.of-facts { margin-top: 44px; border-top: 1px solid var(--line); }
.of-facts li { display: grid; grid-template-columns: minmax(96px, 220px) minmax(0, 1fr); gap: 10px 40px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.of-num { font-family: var(--f-display); font-stretch: 116%; font-weight: 800; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.of-fact { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.4; color: var(--ink-2); max-width: 44ch; }
.of-fact b { color: var(--ink); background: linear-gradient(var(--signal), var(--signal)) no-repeat 0 88% / 100% .3em; }
.of-voices { margin-top: clamp(44px, 6vw, 72px); }
.of-voices-h { font: 500 .8rem/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.of-voices ul { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.of-voices li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 16px; align-content: space-between; }
.of-voices li p { font-size: 1.08rem; line-height: 1.45; color: var(--ink); }
.of-voices li a { font-size: .9rem; color: var(--muted); }
.of-voices li a:hover { color: var(--signal-text); }
.of-note { margin-top: 16px; font-size: .9rem; color: var(--muted); max-width: 70ch; }

/* Copy-source notes: a review aid, shown only with ?sources=1 */
.of-src { display: none; margin-top: 22px; font: 400 .78rem/1.5 var(--f-mono); color: var(--muted); padding: 8px 10px; border: 1px dashed var(--line-2); border-radius: var(--r-chip); max-width: max-content; }
.show-sources .of-src { display: block; }

/* Before and after */
.of-ba { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.of-ba-col { border-radius: var(--r); padding: clamp(24px, 3vw, 38px); display: grid; gap: 18px; align-content: start; }
.of-ba-col.before { border: 1px dashed var(--line-2); color: var(--muted); }
.of-ba-col.before .h3 { color: var(--muted); }
.of-ba-col.before ul { display: grid; gap: 12px; }
.of-ba-col.before li { text-decoration: line-through; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; }
.of-ba-col.after { background: var(--signal-soft); }
.of-ba-col.after .list li { color: var(--ink); font-weight: 500; }
.of-ba-col li { font-size: 1.08rem; line-height: 1.45; }

/* Steps */
.of-steps { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); counter-reset: none; }
.of-steps li { padding: 22px 24px 8px 0; display: grid; gap: 12px; align-content: start; }
.of-steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.of-step-n { font: 500 .82rem/1 var(--f-mono); color: var(--signal-text); letter-spacing: .04em; }
.of-steps p { color: var(--ink-2); font-size: 1rem; }
.of-runs { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 12px 40px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.of-runs p { color: var(--ink-2); max-width: 68ch; }

/* Value stack */
.of-stack { margin-top: 44px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.of-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 12px; align-content: start; grid-column: span 2; }
.of-item:nth-last-child(-n+2) { grid-column: span 3; }
.of-item.core { grid-column: span 6; background: var(--stage); color: var(--stage-ink); border-color: transparent; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: clamp(24px, 5vw, 72px); box-shadow: var(--shadow-stage); }
.of-item.core > * { grid-column: 1; }
.of-item.core dl { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.of-item.core .h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.of-item-tag { font: 500 .74rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--signal-text); }
.of-item.core .of-item-tag { color: var(--signal); }
.of-item-what { color: var(--ink-2); }
.of-item.core .of-item-what { color: var(--stage-muted); font-size: 1.08rem; }
.of-item dl { margin: 6px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.of-item dl div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.of-item dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.of-item dt { color: var(--muted); }
.of-item dd { margin: 0; color: var(--ink-2); }
.of-item.core dl, .of-item.core dl div { border-color: var(--stage-line); }
.of-item.core dt { color: var(--stage-muted); }
.of-item.core dd { color: var(--stage-ink); }

/* You vs */
.of-vs { margin-top: 40px; border-top: 1px solid var(--ink); }
.of-vs-row { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1.25fr; border-bottom: 1px solid var(--line); }
.of-vs-row > span { padding: 18px 20px 18px 0; color: var(--ink-2); }
.of-vs-row > [role="rowheader"] { font-weight: 600; color: var(--ink); }
.of-vs-row.head > span { font: 500 .78rem/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 14px; padding-bottom: 14px; }
.of-vs-row > .us, .of-vs-row.head > span:last-child { background: var(--signal-soft); color: var(--ink); padding-left: 20px; font-weight: 500; }
.of-vs-row.head > span:last-child { color: var(--signal-text); }

/* Price ladder */
.of-ladder { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.of-rung { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.of-rung.main { background: var(--stage); color: var(--stage-ink); border-color: transparent; box-shadow: var(--shadow-stage); }
.of-rung-step { font: 500 .76rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.of-rung.main .of-rung-step { color: var(--signal); }
.of-rung-price { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.03em; }
.of-rung-price span { font: 500 .95rem/1 var(--f-body); letter-spacing: 0; color: var(--muted); }
.of-rung.main .of-rung-price span { color: var(--stage-muted); }
.of-rung-what { color: var(--ink-2); font-size: .98rem; }
.of-rung.main .of-rung-what { color: var(--stage-muted); }

/* Limits and promise */
.of-two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.of-limits { margin-top: 30px; border-top: 1px solid var(--line); }
.of-limits li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); font-size: 1.06rem; }
.of-limits li::before { content: ""; position: absolute; left: 2px; top: 1.72em; width: 14px; height: 2px; background: var(--muted); }
.of-promise { background: var(--signal-soft); border-radius: var(--r); padding: clamp(24px, 3vw, 38px); display: grid; gap: 14px; }
.of-promise p { color: var(--ink-2); }
.of-promise p:first-of-type { font-size: 1.16rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.of-cap { padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--signal-text) 30%, transparent); }
.of-cap b { color: var(--ink); }

/* Questions */
.of-faq { margin-top: 40px; max-width: 900px; }
.of-faq .ans a { color: var(--signal-text); }

/* Join */
.of-join-grid { padding-top: clamp(72px, 10vw, 130px); padding-bottom: clamp(72px, 10vw, 130px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.of-join-copy { display: grid; gap: 24px; }
.of-ps { color: var(--stage-muted); font-size: .98rem; max-width: 46ch; padding-top: 22px; border-top: 1px solid var(--stage-line); }
.of-ps b { color: var(--stage-ink); }
.of-form, .of-done { background: var(--stage-2); border: 1px solid var(--stage-line); border-radius: 22px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 20px; }
.of-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.of-field > label, .of-picks legend { font-weight: 600; font-size: .98rem; color: var(--stage-ink); padding: 0; }
.of-picks legend { margin-bottom: 10px; }
.of-picks legend span { display: block; font-weight: 400; font-size: .88rem; color: var(--stage-muted); margin-top: 2px; }
.of-form input[type="email"], .of-form textarea {
  width: 100%; min-height: 50px; padding: 13px 14px; border-radius: var(--r-ctl); border: 1px solid #454c58;
  background: #0e1013; color: var(--stage-ink); font: 400 1rem/1.4 var(--f-body); resize: vertical;
  transition: border-color var(--t-glide), box-shadow var(--t-glide);
}
.of-form ::placeholder { color: #7f8896; opacity: 1; }
.of-form input[type="email"]:focus-visible, .of-form textarea:focus-visible { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgb(198 241 53 / .25); }
.of-form [aria-invalid="true"] { border-color: #ff8f7a; }
.of-err { color: #ffb3a4; font-size: .9rem; }
.of-picks label { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 12px; border: 1px solid var(--stage-line); border-radius: var(--r-ctl); cursor: pointer; color: var(--stage-ink); font-size: .98rem; transition: border-color var(--t-glide), background-color var(--t-glide); }
.of-picks label + label { margin-top: 6px; }
.of-picks label:hover { border-color: #56606e; }
.of-picks label:has(input:checked) { border-color: var(--signal); background: rgb(198 241 53 / .08); }
.of-picks label:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.of-picks input { width: 18px; height: 18px; margin: 0; accent-color: var(--signal); flex: none; }
.of-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.of-form .btn { width: 100%; }
.of-form .btn[disabled] { opacity: .65; cursor: progress; }
.of-form-note { font-size: .86rem; color: var(--stage-muted); }
.of-form-note a { color: var(--stage-ink); }
.of-form-fail { color: #ffb3a4; font-size: .95rem; }
.of-done { justify-items: start; gap: 14px; }
.of-done .stamp { margin-left: 0; font-size: .9rem; }
.of-done-h { font-family: var(--f-display); font-stretch: 108%; font-weight: 750; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; color: var(--stage-ink); }
.of-done p:last-child { color: var(--stage-muted); }
.of-done:focus { outline: none; }
[hidden] { display: none !important; }

/* Tablet */
@media (max-width: 1080px) {
  .of-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .of-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .of-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-item, .of-item:nth-last-child(-n+2) { grid-column: span 1; }
  .of-item.core, .of-item:last-child { grid-column: span 2; }
  .of-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .of-hero .hero-grid { grid-template-columns: 1fr; }
  .of-two, .of-join-grid { grid-template-columns: 1fr; }
  .of-voices ul { grid-template-columns: 1fr; }
  .of-item.core { grid-template-columns: 1fr; }
  .of-item.core dl { grid-column: 1; grid-row: auto; }
}
/* Phone */
@media (max-width: 720px) {
  .of-facts li { grid-template-columns: 1fr; gap: 10px; }
  .of-ba, .of-stack, .of-ladder, .of-steps { grid-template-columns: 1fr; }
  .of-item, .of-item.core, .of-item:nth-last-child(-n+2), .of-item:last-child { grid-column: auto; }
  .of-steps li, .of-steps li + li { padding: 20px 0 16px; border-left: 0; border-top: 1px solid var(--line); }
  .of-steps li:first-child { border-top: 0; }
  .of-runs { grid-template-columns: 1fr; }
  .of-stamp { margin-left: 0; }
  .of-counts dd { font-size: 1.25rem; }
  .of-counts { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 6px; }
  .of-counts dt { font-size: .7rem; }
  .of-item dl div { grid-template-columns: 96px minmax(0, 1fr); }
  /* The comparison becomes one card per question */
  .of-vs { border-top: 0; display: grid; gap: 12px; }
  .of-vs-row.head { display: none; }
  .of-vs-row { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
  .of-vs-row > span { padding: 12px 16px; }
  .of-vs-row > [role="rowheader"] { padding-top: 16px; font-size: 1.08rem; }
  .of-vs-row > [data-l]::before { content: attr(data-l); display: block; font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
  .of-vs-row > .us { padding-left: 16px; padding-bottom: 16px; }
  .of-vs-row > .us::before { color: var(--signal-text); }
}
@media (prefers-reduced-motion: reduce) { .of-tag .pulse { animation: none; } }
