/* landing.css -- LANDING owns this file. Loaded after ruby.css on /links/,
   /45-days-of-evidence/, /the-inside-flags/, /dashboard/ and the 404. No hex
   here: every color is a var() from ruby.css :root. */

/* ---------- /links/ (link in bio) ---------- */
.lp{max-width:560px;margin:0 auto;padding:48px var(--gut) 8px}
.lp-top{text-align:center;margin-bottom:var(--s7)}
.lp-top .frame{width:120px;margin:0 auto 20px;border-radius:var(--r-pill)}
.lp-top .frame .ph{aspect-ratio:1/1;object-position:50% 18%}
.lp-top h1{font-size:clamp(28px,22px + 2vw,38px);margin-bottom:6px}
.lp-top .lead{font-size:17px;max-width:38ch;margin:0 auto}
.lp-top .kicker{justify-content:center}
.lp-section{margin-bottom:var(--s7)}
.lp-section > .kicker{margin-bottom:12px}

/* a.lp-card -- kept name (analytics.js + test). Soft border card, no hard shadow. */
.lp-card{display:block;padding:18px 20px;margin-bottom:12px;border-radius:var(--r-md);
  background:var(--card);border:1px solid var(--line);text-decoration:none;color:var(--ink);
  transition:transform var(--out) var(--ease),box-shadow var(--out) var(--ease)}
.lp-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-1);transition-duration:var(--in)}
.lp-card .kicker{margin-bottom:6px}
.lp-card h3{font-family:var(--display);font-weight:500;font-size:20px;line-height:1.2;margin:0 0 4px}
.lp-card p{font-size:15px;color:var(--ink-2);margin:0;line-height:1.45}

/* .lp-card--product: compact row, cover thumbnail, price + proof */
.lp-card--product{display:grid;grid-template-columns:56px 1fr;gap:16px;align-items:center;padding:14px 16px}
.lp-card--product .lp-card__cover{width:56px;height:70px;border-radius:var(--r-sm);overflow:hidden;
  background:var(--paper-2);display:grid;place-items:center}
.lp-card--product .lp-card__cover img{max-width:100%;max-height:100%;object-fit:contain}
.lp-card--product .price{margin-top:4px}
.lp-card--product .proof{margin-top:2px}

@media(prefers-reduced-motion:reduce){ .lp-card:hover{transform:none} }

/* the small link row under the 2 big cards (redesign 24/09/2026: max 2 cards, per
   docs/explicacoes/2026-09-24-o-site-modelado-no-funil.html -- 5 blocks read as a menu) */
.lp-links{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;font-size:15px}
.lp-links a{color:var(--ink-2);text-decoration:underline;text-underline-offset:3px}
.lp-links a:hover{color:var(--ink)}
.lp-links--social{justify-content:flex-start}

/* ---------- lead-gate upsell (45-days-of-evidence, the-inside-flags) ---------- */
.lp-upsell{max-width:var(--read);margin:var(--s7) auto 0;padding:24px;border-radius:var(--r-md);
  background:var(--card);border:1px solid var(--line)}
.lp-upsell .kicker{margin-bottom:8px}
.lp-upsell h3{font-family:var(--display);font-size:22px;margin-bottom:8px}
.lp-upsell p{font-size:16px;color:var(--ink-2);line-height:1.5;margin-bottom:14px}
.lp-upsell .price{margin-bottom:6px}
.lp-upsell .proof{margin-bottom:14px}

/* the "More from Ruby" section: same shelf/product markup as the home */
.lp-more{padding:var(--section) 0 calc(var(--section) * .6)}

/* ---------- lead-gate opt-in checkbox (the-inside-flags) ---------- */
.lg-check{display:flex;align-items:center;gap:8px;font-size:var(--fs-meta);color:var(--mute);cursor:pointer}
.lg-check input{width:16px;height:16px;flex:none}

/* ---------- 404 ---------- */
.is-404 main{padding-bottom:var(--section)}
.is-404 .doors-grid{margin-top:var(--s6)}
.is-404 .lp-more{padding-top:0}
