/* MRKT 2.0 sheets: one static page per Cheat sheet article, laid out like the
   TTrades Whop welcome image. No motion, no tilts. Titles are Geist 600, the
   landing page's heading font; app text in pictures is Figtree. See SHEETS.md. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #050816; overflow-x: clip; }
body { color: #fff; font-family: Geist, ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
b { font-weight: 650; }

.page { position: relative; max-width: 1000px; margin: 0 auto; padding: 72px 64px 100px; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    radial-gradient(70% 700px at 70% 0, rgba(80,70,200,.45), transparent 75%),
    radial-gradient(60% 900px at 20% 2200px, rgba(40,60,160,.28), transparent 80%),
    radial-gradient(60% 900px at 80% 4400px, rgba(60,50,170,.25), transparent 80%),
    radial-gradient(60% 900px at 20% 6600px, rgba(40,60,160,.25), transparent 80%),
    linear-gradient(180deg, #0d1233 0, #080c22 2400px, #060918 100%); }

/* small label over a title */
.kick { display: flex; align-items: center; gap: 8px; font: 700 12px/1 Figtree, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #c4b5fd; }

/* page head */
.top .title, .top .welcome { font-size: 64px; line-height: 1; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.top p { margin-top: 22px; font-size: 19px; line-height: 1.4; max-width: 720px; }
.lock { margin-top: 10px; display: inline-flex; align-items: baseline; gap: .2em; font-size: 104px; line-height: 1; font-weight: 500; letter-spacing: -.03em; }
.lock .wm { display: block; height: .7em; width: auto; flex: none; }
/* the MRKT 2.0 lockup's gradient lives in welcome.html, the only page that shows the lockup */
.lock .two { color: #a78bfa; padding: 0 .04em .04em 0; }
.by .two { color: #a78bfa; }

/* a section: text with a violet rule on the left, a glossy tile on the right */
.sec { margin-top: 104px; display: grid; grid-template-columns: 1fr 132px; gap: 40px; align-items: center; }
.sec.solo { grid-template-columns: 1fr; }
.txt { border-left: 2px solid #a78bfa; padding: 4px 0 4px 22px; }
.txt h2 { font-size: 32px; line-height: 1.08; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.txt ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.txt li { position: relative; padding-left: 16px; font-size: 16px; line-height: 1.45; }
.txt li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 1px; background: #a78bfa; }
.txt p { margin-top: 12px; font-size: 16px; line-height: 1.45; }
.link { margin-top: 14px; font: 600 14px/1.3 Figtree, sans-serif; color: #c4b5fd; }

.tile, .num { width: 132px; height: 132px; border-radius: 30px; display: grid; place-items: center; position: relative;
  background: radial-gradient(110% 80% at 50% 0, #2b3566 0, #121735 55%, #090c1f 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28), inset 0 2px 0 rgba(255,255,255,.35), 0 0 0 1px rgba(0,0,0,.6), 0 20px 50px rgba(0,0,0,.6); }
.num { font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.tile svg { width: 62px; height: 62px; }
.tile img { width: 92px; height: 92px; border-radius: 50%; }
.tile .coin { width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fde68a, #d4a017 55%, #a16207); box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); }
.tile .n123 { font: 800 15px/1 Figtree, sans-serif; display: grid; gap: 4px; }
.tile .n123 span { display: flex; align-items: center; gap: 6px; }
.tile .n123 i { width: 34px; height: 9px; border-radius: 2px; display: block; }

/* an app picture: a real screenshot or one of the guide close-ups */
.pic { position: relative; margin: 36px auto 0; width: 88%; border-radius: 14px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 30px 70px rgba(0,0,0,.65); }
.pic.wide { width: 100%; }
.pic.pad { padding: 20px; }
.pic .in { position: relative; }
.pic img { width: 100%; height: auto; }
/* a guide close-up: never wider than its own pixels over its density; set --w in px */
.pic.close { width: min(100%, var(--w)); }

/* yellow number, outline, and a lifted piece */
.mk { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: #f5b301; color: #1a1200; font: 800 17px/34px Figtree, sans-serif; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,.6); z-index: 4; }
.mk.s { width: 22px; height: 22px; font-size: 12px; line-height: 22px; box-shadow: 0 2px 6px rgba(0,0,0,.6); z-index: 2; }
.ring { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border: 2.5px solid #f5b301; border-radius: 8px; z-index: 1; }
.ring.dash { border-style: dashed; border-width: 2px; box-shadow: none; }
/* .pop: a tile cut from the screenshot, shown bigger over a part of the picture
   the step does not talk about. Never tilted, never over another .pop or its source. */
.pop { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: 3; }
.pop img { border-radius: 10px; outline: 2.5px solid #f5b301; box-shadow: 0 26px 60px rgba(0,0,0,.85); }
.pop .mk { left: 0; top: 0; }
.pop .mk.side { left: -5.5%; }

/* cards side by side: clean close-ups with a caption, when lifting would cover too much */
.cards { margin: 36px auto 0; display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 20px; align-items: start; }
.cards figure .pic { margin: 0; width: 100%; }
.cards figcaption { margin-top: 14px; font-size: 15px; line-height: 1.45; padding: 0 4px; }
.cards figcaption b { display: block; font-size: 17px; letter-spacing: -.01em; margin-bottom: 3px; }
.cards figcaption .when { display: block; font: 600 13px/1.3 Figtree, sans-serif; color: #c4b5fd; margin-bottom: 6px; }

/* a scenario: a framed block holding a title and its pictures */
.case { margin: 36px auto 0; padding: 26px 26px 28px; border-radius: 18px; background: radial-gradient(90% 90% at 50% 0, rgba(70,80,190,.3), rgba(10,14,40,.4) 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.case + .case { margin-top: 24px; }
.case .when { font: 600 13px/1.3 Figtree, sans-serif; color: #c4b5fd; }
.case h3 { margin-top: 6px; font-size: 22px; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; }
.case p { margin-top: 8px; font-size: 16px; line-height: 1.45; }
.case .pic { margin-top: 20px; width: 100%; }
.case .row { margin-top: 20px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
.case .row .pic { margin-top: 0; }

/* walkthrough: numbered Step cards */
.steps { margin-top: 44px; display: grid; gap: 60px; }
.step { position: relative; margin: 0 auto; width: 92%; padding: 46px 30px 30px; border-radius: 18px;
  background: radial-gradient(90% 90% at 50% 0, rgba(70,80,190,.35), rgba(10,14,40,.4) 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.step .tag { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); background: #fff; color: #000; font-size: 20px; line-height: 1; font-weight: 600; letter-spacing: -.02em; padding: 12px 22px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.5); white-space: nowrap; }
.step h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.03em; font-weight: 600; text-align: center; }
.step p { margin: 8px auto 0; font-size: 16px; line-height: 1.45; text-align: center; max-width: 620px; }
.step .pic { margin-top: 24px; width: 100%; }
.step .pic.small { width: 62%; }
.step .pic.close { width: min(100%, var(--w)); }

/* the one red box, and a plain note */
.warn { margin: 76px auto 0; width: 88%; display: flex; gap: 16px; align-items: center; justify-content: center; text-align: center; padding: 18px 24px; border-radius: 10px; background: rgba(127,15,15,.45); box-shadow: inset 0 0 0 1px rgba(248,113,113,.35); font-size: 16px; font-weight: 600; line-height: 1.4; }
.warn svg { flex: none; width: 34px; height: 34px; color: #ef4444; }
.note { margin: 36px auto 0; width: 88%; padding: 16px 22px; border-radius: 10px; background: rgba(167,139,250,.1); box-shadow: inset 0 0 0 1px rgba(167,139,250,.35); font-size: 16px; line-height: 1.45; }

/* what each plan gets */
.plans { margin: 36px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plans div { padding: 18px 20px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); background: rgba(255,255,255,.03); font-size: 15px; line-height: 1.45; }
.plans b { display: block; font-size: 18px; letter-spacing: -.02em; font-weight: 600; margin-bottom: 6px; }

/* a simple two column table of plain facts */
.table { margin: 36px auto 0; width: 88%; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); background: rgba(0,0,0,.35); font-family: Figtree, sans-serif; }
.table .r { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 13px 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 16px; }
.table .r:first-child { border-top: 0; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 2px; font: 600 13px/1 Figtree, sans-serif; white-space: nowrap; }
.chip.hurts { background: rgb(185 28 28); }
.chip.helps { background: rgb(21 128 61); }
.chip.plain { box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

/* foot */
.by { margin-top: 110px; display: flex; align-items: center; gap: 10px; font: 600 14px/1 Figtree, sans-serif; }
.by .wm { height: 15px; width: auto; }

@media (max-width: 760px) {
  .page { padding: 48px 20px 64px; background-size: 40px 40px, 40px 40px, auto, auto, auto, auto, auto; }
  .top .title, .top .welcome { font-size: 40px; }
  .lock { font-size: 66px; }
  .top p { font-size: 17px; }
  .sec { margin-top: 68px; grid-template-columns: 1fr; gap: 18px; }
  .tile, .num { order: -1; width: 84px; height: 84px; border-radius: 20px; }
  .num { font-size: 40px; }
  .tile svg { width: 40px; height: 40px; }
  .tile img { width: 60px; height: 60px; }
  .tile .coin { width: 46px; height: 46px; }
  .tile .n123 { font-size: 11px; }
  .tile .n123 i { width: 22px; height: 6px; }
  .txt h2 { font-size: 26px; }
  .pic, .warn, .note, .table { width: 100%; }
  .pic { margin-top: 24px; }
  .mk { width: 24px; height: 24px; font-size: 13px; line-height: 24px; }
  .mk.s { width: 16px; height: 16px; font-size: 10px; line-height: 16px; }
  .cards, .plans, .case .row { grid-template-columns: 1fr; }
  .case { padding: 18px 14px 20px; }
  .steps { gap: 54px; }
  .step { width: 100%; padding: 40px 14px 18px; }
  .step .tag { font-size: 17px; padding: 10px 18px; }
  .step h3 { font-size: 19px; }
  .step .pic.small { width: 100%; }
  .warn { text-align: left; justify-content: flex-start; }
  .warn br { display: none; }
}

/* ── Inside the app (News Trader Cheat sheet): sheet.js adds .app when the page is opened
   with ?app=1. The app's own look: pure black, Figtree, hairlines, no glow. ── */
html.app { background: #000; }
html.app body { font-family: Figtree, ui-sans-serif, system-ui, sans-serif; }
html.app .page { background: none; max-width: 860px; padding: 28px 28px 72px; }
html.app .kick { letter-spacing: .14em; color: #a78bfa; }
html.app .top .title, html.app .top .welcome { font-size: 34px; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
html.app .lock { font-size: 56px; }
html.app .top p { margin-top: 12px; font-size: 17px; }
html.app .sec { margin-top: 64px; grid-template-columns: 1fr 76px; gap: 24px; }
html.app .sec.solo { grid-template-columns: 1fr; }
html.app .txt h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
html.app .tile, html.app .num { width: 76px; height: 76px; border-radius: 12px; background: #0b0b0d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
html.app .num { font-size: 34px; font-weight: 700; letter-spacing: 0; }
html.app .tile svg { width: 36px; height: 36px; }
html.app .tile img { width: 52px; height: 52px; }
html.app .tile .coin { width: 40px; height: 40px; }
html.app .tile .n123 { font-size: 11px; }
html.app .tile .n123 i { width: 22px; height: 6px; }
html.app .pic { margin-top: 24px; width: 100%; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
html.app .pic.close { width: min(100%, var(--w)); }
html.app .cards, html.app .case, html.app .note, html.app .warn, html.app .table, html.app .plans { margin-top: 24px; width: 100%; }
html.app .case, html.app .step { background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: 12px; }
html.app .case h3, html.app .step h3 { letter-spacing: -.01em; font-weight: 700; }
html.app .step { width: 100%; }
html.app .step .tag { font-weight: 700; letter-spacing: 0; font-size: 16px; padding: 9px 16px; border-radius: 6px; }
html.app .warn { margin-top: 40px; border-radius: 8px; }
html.app .by { display: none; }
@media (max-width: 760px) {
  html.app .page { padding: 20px 16px 56px; }
  html.app .top .title, html.app .top .welcome { font-size: 28px; }
  html.app .lock { font-size: 44px; }
  html.app .sec { margin-top: 48px; grid-template-columns: 1fr; gap: 14px; }
  html.app .tile, html.app .num { width: 56px; height: 56px; }
  html.app .num { font-size: 26px; }
  html.app .txt h2 { font-size: 21px; }
}


/* ── Colour looks: sheet.js sets data-look from ?look=. Violet is the look every sheet has with
   no ?look= (and with ?look=violet). The navy written above is now only ?look=navy; the others
   are the ones compared in panel-lab.html. None but navy has the grid. ── */
html[data-look="black"], html[data-look="panel"], html:is(:not([data-look]), [data-look="violet"]), html[data-look="graphite"] { color-scheme: dark; }
html[data-look="black"] .page, html[data-look="panel"] .page { background: none; }
html[data-look="black"] { background: #000; }
html[data-look="panel"], html[data-look="panel"] body { background: transparent; }
html[data-look="graphite"] { background: #0c0c0e; }
html[data-look="graphite"] .page { background: linear-gradient(180deg, #19191d 0, #0c0c0e 760px); }
html:is(:not([data-look]), [data-look="violet"]) { background: #07050d; }
html:is(:not([data-look]), [data-look="violet"]) .page { background: radial-gradient(80% 560px at 50% 0, rgba(124,92,255,.30), transparent 72%), linear-gradient(180deg, #130c26 0, #09060f 900px, #07050d 100%); }
html[data-look="black"] :is(.tile, .num), html[data-look="panel"] :is(.tile, .num), html[data-look="graphite"] :is(.tile, .num) {
  background: linear-gradient(180deg, #1c1c21, #0c0c0f);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 1px 0 rgba(255,255,255,.2), 0 16px 40px rgba(0,0,0,.6); }
html:is(:not([data-look]), [data-look="violet"]) :is(.tile, .num) { background: radial-gradient(110% 80% at 50% 0, #33276b 0, #150f2e 55%, #0a0716 100%); }
html[data-look="black"] :is(.case, .step), html[data-look="panel"] :is(.case, .step), html[data-look="graphite"] :is(.case, .step) { background: rgba(255,255,255,.035); }
html:is(:not([data-look]), [data-look="violet"]) :is(.case, .step) { background: rgba(124,92,255,.09); }
html[data-look="panel"] .page { padding-top: 28px; }

/* A picture only one width shows: the full shot on a wide page, a closer crop on a narrow one
   (phone, and the app's side panel). Crops that follow each other sit close together. */
.on-phone { display: none; }
@media (max-width: 760px) {
  .on-desk { display: none; }
  .on-phone { display: block; }
  .pic.on-phone + .pic.on-phone { margin-top: 10px; }
}

/* A tighter narrow layout for the app's side panel (?fit=compact): the number or icon sits beside
   its heading, and the first picture shows without a scroll. */
@media (max-width: 760px) {
  html[data-fit="compact"] .page { padding: 28px 18px 48px; }
  html[data-fit="compact"] .top .title, html[data-fit="compact"] .top .welcome { font-size: 30px; line-height: 1.08; }
  html[data-fit="compact"] .lock { font-size: 50px; }
  html[data-fit="compact"] .top p { margin-top: 12px; font-size: 16px; }
  html[data-fit="compact"] .warn { margin-top: 24px !important; padding: 12px 14px; gap: 12px; font-size: 14px; }
  html[data-fit="compact"] .warn svg { width: 24px; height: 24px; }
  html[data-fit="compact"] .sec { margin-top: 44px; grid-template-columns: 1fr 48px; gap: 12px; align-items: start; }
  html[data-fit="compact"] :is(.tile, .num) { order: 0; width: 48px; height: 48px; border-radius: 12px; }
  html[data-fit="compact"] .num { font-size: 24px; }
  html[data-fit="compact"] .tile svg { width: 24px; height: 24px; }
  html[data-fit="compact"] .tile img { width: 34px; height: 34px; }
  html[data-fit="compact"] .tile .coin { width: 26px; height: 26px; }
  html[data-fit="compact"] .txt { padding-left: 14px; }
  html[data-fit="compact"] .txt h2 { font-size: 22px; }
  html[data-fit="compact"] .txt li { font-size: 15px; }
  html[data-fit="compact"] .pic { margin-top: 18px; }
  html[data-fit="compact"] .cards { margin-top: 18px; gap: 14px; }
  html[data-fit="compact"] .by { margin-top: 56px; }
}
