/* TradeShot's Journal website - preview build */
:root {
  --bg: #141b2d;
  --bg-2: #18203a;
  --panel: #1c2540;
  --panel-2: #222c4a;
  --line: #2c3654;
  --ink: #e6eaf2;
  --ink-2: #c9d1e2;
  --muted: #8a97b4;
  --dim: #6f7c99;
  --blue: #5b97f8;
  --blue-2: #4f8ef7;
  --blue-3: #3979e5;
  --green: #46dc8a;
  --red: #f87272;
  --amber: #f0a04b;
  --violet: #a77bf0;
  --radius: 14px;
  --max: 1160px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
h3 { font-size: clamp(19px, 2.2vw, 22px); font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.em { color: var(--blue); font-style: normal; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Preview bar */
.preview-bar { background: #2a1f0b; color: #f6c97c; font-size: 13px; text-align: center; padding: 6px 12px; border-bottom: 1px solid #4d3a14; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20,27,45,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.menu-btn { display: block; color: var(--ink-2); padding: 10px 12px; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer; }
.nav-links a:hover, .nav-links button.menu-btn:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--panel); text-decoration: none; }
.menu-btn::after { content: ""; display: inline-block; margin-left: 7px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dropdown { position: absolute; top: calc(100% + 6px); left: -8px; width: 300px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; list-style: none; margin: 0; box-shadow: 0 18px 40px rgba(0,0,0,.4); display: none; }
.dropdown.open { display: block; }
.dropdown a { padding: 9px 12px; }
.dropdown small { display: block; color: var(--dim); font-size: 12.5px; font-weight: 400; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .2s ease, border-color .2s ease; font-family: inherit; }
.btn-primary { background: var(--blue-2); color: #fff; }
.btn-primary:hover { background: var(--blue-3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); }
.nav .btn { padding: 9px 16px; font-size: 14px; }
.nav-links a.btn-primary { background: var(--blue-2); color: #fff; }
.nav-links a.btn-primary:hover { background: var(--blue-3); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); width: 42px; height: 40px; border-radius: 9px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; gap: 2px; }
  .nav-links.open { display: flex; }
  .dropdown { position: static; width: auto; box-shadow: none; border: 0; background: var(--bg-2); margin: 2px 0 6px; }
  .nav-links .btn { margin-top: 8px; }
}

/* Sections */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 720px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 span { display: block; }
.hero .lede { margin: 18px auto 28px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-shot { margin-top: 52px; }

/* Screenshot frame */
.shot { position: relative; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0d1220; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.shot img { width: 100%; cursor: zoom-in; }
.shot .badge { display: block; text-align: right; background: #0d1220; color: #f6c97c; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 12px; border-top: 1px solid var(--line); }
.shot.tall { max-width: 460px; margin: 0 auto; }
.shot.mid { max-width: 640px; margin: 0 auto; }
.shot.narrow { max-width: 300px; margin: 0 auto; }
figcaption { font-size: 13px; color: var(--dim); text-align: center; margin-top: 10px; }

/* Trailer */
.trailer { aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto; border: 1px dashed #3b4a72; border-radius: var(--radius); display: grid; place-items: center; background: radial-gradient(ellipse at center, #1f2a4a, #141b2d 70%); color: var(--muted); }
.trailer .play { width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--blue); display: grid; place-items: center; margin: 0 auto 12px; }
.trailer .play::before { content: ""; border-left: 22px solid var(--blue); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: rgba(91,151,248,.15); color: var(--blue); font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step p { color: var(--ink-2); margin: 0; }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (min-width: 1101px) { .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent, var(--blue)); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none !important; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: #3b4a72; }
.card .thumb { aspect-ratio: 16 / 9; background: #0d1220; overflow: hidden; border-bottom: 1px solid var(--line); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0 0 14px; flex: 1; }
.card .more { color: var(--blue); font-weight: 600; font-size: 14.5px; }
.card .more::after { content: " \2192"; }

/* Feature rows */
.page-hero { padding: 64px 0 24px; }
.page-hero .lede { margin-top: 10px; }
.rows { padding-top: 24px; }
.row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row.flip .text { order: -1; }
.row .text p { color: var(--ink-2); }
.row ul, .ticks { padding: 0; margin: 0 0 1em; list-style: none; }
.row li, .ticks li { position: relative; padding-left: 24px; margin: 7px 0; color: var(--ink-2); }
.row li::before, .ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.row.wide { grid-template-columns: 1fr; gap: 24px; }
.row.wide .text { max-width: 760px; }
.row.textonly { padding: 36px 0; }

/* Notes */
.note { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 10px; padding: 16px 18px; color: var(--ink-2); font-size: 14.5px; }
.note strong { color: var(--ink); }
.note.blue { border-left-color: var(--blue); }

/* Two columns */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.box h3 { margin-bottom: 14px; }
.box.no li::before { border: 0; width: 12px; height: 2px; background: var(--red); transform: none; top: 12px; }

/* Pricing */
.price-card { max-width: 520px; margin: 40px auto 0; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 18px; padding: 34px 32px; text-align: left; }
.price { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.draft { display: inline-block; background: #3a2a0d; color: #f6c97c; border: 1px solid #5b4416; border-radius: 6px; font-size: 12px; font-weight: 600; padding: 1px 7px; vertical-align: middle; }

/* FAQ */
.faq { max-width: 820px; margin: 30px auto 0; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 22px; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }
.faq h2 { font-size: 20px; margin: 36px 0 14px; color: var(--muted); letter-spacing: 0; }

/* Waitlist (function must not change: form method, action and field names) */
.waitlist { margin: 0 auto; width: 100%; max-width: 520px; text-align: center; }
.waitlist h2 { margin: 0 0 8px; }
.waitlist p { margin: 0 0 18px; color: #aebbd4; }
.waitlist-form { display: flex; gap: 10px; width: 100%; }
.waitlist-form input[type="email"] { min-width: 0; flex: 1; padding: 14px 15px; border: 1px solid #354363; border-radius: 9px; background: var(--panel); color: var(--ink); font: inherit; outline: none; }
.waitlist-form input[type="email"]::placeholder { color: #8290ad; }
.waitlist-form input[type="email"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,151,248,.16); }
.waitlist-form button { flex: none; padding: 0 20px; border: 0; border-radius: 9px; background: var(--blue-2); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.waitlist-form button:hover { background: var(--blue-3); }
.waitlist-note { margin-top: 12px !important; margin-bottom: 0 !important; font-size: 12.5px !important; color: #7f8ca8 !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cta-band { text-align: center; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 36px; }
.prose p, .prose li { color: var(--ink-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--dim); font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: var(--ink-2); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.foot-logo { width: 170px; margin-bottom: 14px; }
.fine { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; line-height: 1.6; }
.fine p { margin: 0 0 6px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(5,8,16,.92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }

@media (max-width: 900px) {
  section { padding: 60px 0; }
  .steps, .cards { grid-template-columns: 1fr 1fr; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .row.flip .text { order: 0; }
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .steps, .cards { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { min-height: 48px; }
  .foot-grid { grid-template-columns: 1fr; }
  .price-card { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }

/* Tutorials */
.vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 20px; }
.vcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vcard .body { padding: 16px 20px 18px; }
.vcard p { color: var(--ink-2); margin: 0; font-size: 15px; }
.video { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(ellipse at center, #1f2a4a, #0d1220 75%); display: grid; place-items: center; color: var(--muted); border-bottom: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .soon { text-align: center; font-size: 14px; }
.video .play { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--blue); display: grid; place-items: center; margin: 0 auto 10px; }
.video .play::before { content: ""; border-left: 17px solid var(--blue); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.helpgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.helpgrid .box { padding: 20px; }
.helpgrid h3 { margin-bottom: 6px; }
@media (max-width: 900px) { .helpgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .vgrid, .helpgrid { grid-template-columns: 1fr; } }

/* Quick Start Guide */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--ink-2); }
.qlayout { display: grid; grid-template-columns: 230px 1fr; gap: 48px; align-items: start; }
.qtoc { position: sticky; top: 90px; }
.qtoc ol { list-style: none; padding: 0; margin: 0; counter-reset: q; }
.qtoc li { counter-increment: q; margin: 0; }
.qtoc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); font-size: 14.5px; }
.qtoc a::before { content: counter(q) ". "; color: var(--dim); }
.qtoc a:hover { background: var(--panel); text-decoration: none; color: var(--ink); }
.qsec { padding: 0 0 56px; scroll-margin-top: 90px; }
.qsec h2 { font-size: clamp(24px, 3vw, 32px); }
.qsec h3 { margin-top: 24px; }
.qsec p, .qsec li { color: var(--ink-2); }
.qfig { margin: 24px 0; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1em; }
.steps-list li { counter-increment: s; position: relative; padding: 2px 0 12px 44px; color: var(--ink-2); }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: rgba(91,151,248,.15); color: var(--blue); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); border: 1px solid #5b4416; border-radius: 6px; padding: 1px 6px; vertical-align: middle; margin-left: 6px; }
.qsec .split { margin-top: 18px; align-items: start; }
@media (max-width: 900px) { .qlayout { grid-template-columns: 1fr; gap: 8px; } .qtoc { position: static; } .qtoc ol { display: flex; flex-wrap: wrap; gap: 4px; } .qtoc a::before { content: ""; } .qtoc a { background: var(--panel); font-size: 13px; padding: 6px 10px; } }

/* Disclosures: body-size text on every page (NinjaTrader vendor guidelines) */
.disclosures { border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 0 36px; }
.disclosures h2 { font-size: 20px; letter-spacing: 0; margin-bottom: 16px; }
.disclosures p { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; max-width: 980px; margin: 0 0 14px; }
.disclosures strong { color: var(--ink); }
.disclosures .draft { margin-left: 4px; }

/* NinjaTrader wordmark: at least 18 px clear space on every side (media kit rule) */
.nt-logo { display: inline-block; padding: 28px; margin-top: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.nt-logo img { width: 400px; max-width: 100%; height: auto; display: block; }
.nt-logo a { display: block; }

/* Kinetick block (media kit logo is gray on transparent, so it sits on a white plate; 18px+ clear space) */
.kt-box { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 24px; }
.kt-logo { background: #fff; padding: 24px; border-radius: 12px; }
.kt-logo img { width: 320px; max-width: 100%; height: auto; display: block; }
.kt-logo a { display: block; }
@media (max-width: 760px) { .kt-box { grid-template-columns: 1fr; } }

/* Legal pages (v1.07) */
.legal h1 { font-size: clamp(30px, 4.4vw, 42px); }
.legal h2 { font-size: 21px; margin-top: 32px; }
.legal ol, .legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; line-height: 1.6; }
.legal p strong { color: var(--ink); }

/* Home: recommended trading platform section */
.nt-home { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.nt-home .nt-logo { margin-top: 0; }
.nt-home .nt-logo img { width: 320px; }
.nt-home h2 { margin: 6px 0 10px; }
@media (max-width: 860px) { .nt-home { grid-template-columns: 1fr; gap: 22px; padding: 24px; } }

/* Feature pages: previous / next */
.fnav { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.fnav-count { text-align: center; color: var(--muted, #8a97b4); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.fnav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fnav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .15s, transform .15s; }
.fnav a:hover { border-color: #4f8ef7; transform: translateY(-1px); text-decoration: none; }
.fnav a span { color: #8a97b4; font-size: 13px; }
.fnav a strong { color: var(--ink); font-size: 18px; }
.fnav-next { text-align: right; align-items: flex-end; }
@media (max-width: 600px) { .fnav-links { grid-template-columns: 1fr; } .fnav-next { text-align: left; align-items: flex-start; } }
.fnav-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; }
.fnav-top a { color: #8a97b4; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.fnav-top a:hover { color: var(--ink); border-color: #4f8ef7; }
.fnav-top span { color: #6f7c99; font-size: 13px; }

/* Home hero: tab carousel */
.tabshow-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.tabshow-tabs button { position: relative; overflow: hidden; background: #1a2238; color: #aebbd4; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tabshow-tabs button:hover { color: var(--ink); border-color: #3d4a70; }
.tabshow-tabs button.active { color: #fff; border-color: #4f8ef7; background: #1d2b4d; }
.tabshow-tabs button:focus-visible { outline: 2px solid #5b97f8; outline-offset: 2px; }
.tabshow-tabs button.active::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #4f8ef7; transform-origin: left; animation: tabshow-progress var(--tabshow-d, 5s) linear forwards; }
.tabshow.paused .tabshow-tabs button.active::after, .tabshow.static .tabshow-tabs button.active::after { animation-play-state: paused; transform: scaleX(1); animation: none; }
@keyframes tabshow-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tabshow-stack { display: grid; }
.tabshow-slide { grid-area: 1 / 1; width: 100%; height: auto; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.tabshow-slide.active { opacity: 1; pointer-events: auto; }
.tabshow-cap { text-align: center; color: var(--dim, #8a97b4); font-size: 14px; margin: 12px 0 0; min-height: 1.5em; }
@media (max-width: 700px) {
  .tabshow-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .tabshow-tabs::-webkit-scrollbar { display: none; }
  .tabshow-tabs button { flex: none; font-size: 13px; padding: 7px 11px; }
}
@media (prefers-reduced-motion: reduce) { .tabshow-slide { transition: none; } }

.price .draft { letter-spacing: normal; word-spacing: normal; font-size: 12px; font-weight: 600; vertical-align: middle; }
.hero-ctas .draft { align-self: center; }
.tabshow picture { display: contents; }
.blog-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.blog-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s; }
.blog-card:hover { border-color: var(--blue); }
.blog-card img { width: 100%; height: 180px; object-fit: cover; object-position: top; display: block; }
.blog-card > div { padding: 16px 18px 20px; }
.blog-card h3 { margin: 4px 0 8px; font-size: 19px; color: var(--ink); }
.blog-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.blog-card .muted { color: var(--muted); font-size: 13px; }
.blog-post .eyebrow a { color: inherit; text-decoration: none; }
.blog-post h2 { margin-top: 34px; }
.blog-shot { margin: 22px 0; }
.blog-shot .cap { color: var(--muted); font-size: 14px; margin-top: 8px; }
.blog-more { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.blog-card .badge { display: block; text-align: right; background: #0d1220; color: #f6c97c; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 12px; border-top: 1px solid var(--line); }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 16px 0 0; }
.social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); transition: color .2s, border-color .2s; }
.social a:hover, .social a:focus-visible { color: var(--blue); border-color: var(--blue); }
/* Margin Notes tables (Nov 6, 2026) */
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: .95rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--panel-2); font-weight: 700; }
.prose tr:last-child td { border-bottom: none; }
.prose td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .prose td:first-child { white-space: normal; } }

/* Free Tools page (Nov 6, 2026) */
.tool-jump { font-size: 14px; color: var(--ink-2); margin-top: 18px; line-height: 1.9; }
.tool-jump a { white-space: nowrap; }
.ft-all { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 22px 24px; }
.ft-all h2 { font-size: 22px; margin: 0 0 6px; }
.ft-all p { margin: 0; color: var(--ink-2); }
.ft-info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.ft-info h3 { font-size: 18px; margin: 0 0 10px; }
.ft-info ol, .ft-info ul { margin: 0 0 10px; padding-left: 20px; color: var(--ink-2); }
.ft-info li { margin: 6px 0; }
.ft-note { font-size: 13.5px; margin-top: 18px; }
.tool-group { padding-top: 36px; padding-bottom: 8px; }
.tool-group h2 { font-size: 24px; margin: 0 0 18px; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 22px; }
.tool { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 90px; }
.tool-shot { display: block; background: #000; border-bottom: 1px solid var(--line); }
.tool-shot img { display: block; width: 100%; height: auto; }
.tool-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tool-body h3 { font-size: 19px; margin: 0 0 8px; }
.tool-body > p { color: var(--ink-2); font-size: 15px; margin: 0 0 12px; }
.tool-tip { color: #f6c97c !important; font-size: 14px !important; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: auto 0 14px; }
.chips li { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.chips li.chip-of { border-color: #a77bf0; color: #cdb5f7; }
.tool-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tool-actions .muted { font-size: 13px; }
.tool-settings { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.tool-settings summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: 14.5px; }
.tool-settings img { display: block; max-width: 100%; height: auto; margin: 12px auto 0; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 760px) { .ft-info { grid-template-columns: 1fr; } }
/* nav: ten items since Free Tools (Nov 6, 2026); keep every label on one line */
.nav-links a, .nav-links button.menu-btn { white-space: nowrap; }
@media (min-width: 1201px) and (max-width: 1440px) { .nav { gap: 14px; } .nav-links { gap: 0; } .nav-links a, .nav-links button.menu-btn { padding: 10px 8px; font-size: 14.5px; } .nav .btn { padding: 9px 12px; } }
/* Related guides at the end of each Margin Notes post (Nov 6, 2026) */
.blog-post .related { margin-top: 36px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.blog-post .related h2 { font-size: 18px; margin: 0 0 8px; }
.blog-post .related ul { margin: 0; padding-left: 20px; }
.blog-post .related li { margin: 6px 0; }
/* Launch countdown bar and pricing (Nov 6, 2026) */
.launch-bar { background: linear-gradient(90deg, #1c4096, #2b5dc4); color: #e6eaf2; font-size: 14px; text-align: center; }
.launch-bar a { display: block; color: inherit; text-decoration: none; padding: 8px 14px; }
.launch-bar b { color: #fff; }
.launch-bar .lb-timer { font-variant-numeric: tabular-nums; font-weight: 700; color: #46dc8a; white-space: nowrap; }
.launch-bar .lb-on, .launch-timer .lb-on, .launch-bar.is-on .lb-pre, .launch-timer.is-on .lb-pre { display: none; }
.launch-bar.is-on .lb-on, .launch-timer.is-on .lb-on { display: inline; }
.launch-tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #46dc8a; border: 1px solid #2c6e4a; border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.price-note { color: var(--ink-2); font-size: 14px; margin: 8px 0 0; }
.launch-timer { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.launch-timer .lb-timer { font-variant-numeric: tabular-nums; font-weight: 700; color: #46dc8a; }
@media (max-width: 560px) { .launch-bar .lb-x { display: none; } .launch-bar { font-size: 13px; } }
@media (max-width: 560px) { .launch-tag { letter-spacing: .03em; font-size: 11.5px; } }
.waitlist-status { display: none; margin: 12px 0 0 !important; font-size: 14px; color: #f0c36b !important; }
.waitlist-status.show { display: block; }
.waitlist-form.busy button { opacity: .7; cursor: progress; }
.cf-step { display: none; }
.cf-step.on { display: block; }
.trailer.video { position: relative; border: 1px solid var(--line); overflow: hidden; }

/* YouTube click-to-play: thumbnail first, the player loads on click */
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #0d1220; cursor: pointer; display: block; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity .2s ease; }
.yt-facade:hover img, .yt-facade:focus-visible img { opacity: 1; }
.yt-facade:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; border-radius: 14px; background: rgba(13,18,32,.82); border: 2px solid var(--blue); transition: background .2s ease; }
.yt-play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -7px; border-left: 20px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { background: var(--blue-2); }
.yt-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; text-align: left; color: #fff; font-weight: 700; font-size: 15px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }

/* Free Tools: picture gallery inside a tool card (Nov 24, 2026) */
.tool-gallery { background: #000; border-bottom: 1px solid var(--line); }
.tool-gallery .tg-slide { display: none; border-bottom: 0; }
.tool-gallery .tg-slide.active { display: block; }
.tool-gallery .tg-slide img { max-height: 640px; width: auto; max-width: 100%; margin: 0 auto; }
.tg-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--panel); border-top: 1px solid var(--line); }
.tg-cap { flex: 1; margin: 0; font-size: 13px; color: var(--ink-2); text-align: center; line-height: 1.4; }
.tg-btn { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.tg-btn:hover, .tg-btn:focus-visible { border-color: var(--accent, #3b82f6); }

/* Free Tools: full-screen picture viewer with arrows (Nov 25, 2026) */
.tool-shot { cursor: zoom-in; }
.tv { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; background: rgba(5,8,16,.94); padding: 56px 72px 24px; }
.tv.open { display: flex; }
.tv-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; }
.tv-fig img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.6); background: #000; }
.tv-cap { color: #dbe2f0; font-size: 14px; line-height: 1.45; text-align: center; max-width: 900px; }
.tv-nav, .tv-x { position: absolute; border: 1px solid rgba(255,255,255,.25); background: rgba(20,26,40,.75); color: #fff; border-radius: 50%; cursor: pointer; line-height: 1; }
.tv-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 30px; }
.tv-prev { left: 14px; } .tv-next { right: 14px; }
.tv-x { top: 12px; right: 14px; width: 40px; height: 40px; font-size: 18px; }
.tv-nav:hover, .tv-x:hover, .tv-nav:focus-visible, .tv-x:focus-visible { border-color: var(--accent, #3b82f6); background: rgba(30,40,64,.9); }
@media (max-width: 700px) {
  .tv { padding: 56px 8px 16px; }
  .tv-nav { top: auto; bottom: 14px; transform: none; width: 44px; height: 44px; }
  .tv-fig { padding-bottom: 60px; }
  .tv-fig img { max-height: calc(100vh - 200px); }
}

/* Launch week: the LaunchShot promo code stands out wherever it appears (Nov 25, 2026) */
.promo-code { display: inline-block; color: #ffbf5a; font-weight: 700; letter-spacing: .02em; background: rgba(240,160,75,.14); border: 1px dashed rgba(255,191,90,.75); border-radius: 6px; padding: 0 7px; line-height: 1.5; white-space: nowrap; }
.launch-bar .promo-code { background: rgba(10,20,50,.35); }
.hero-code { margin: 16px 0 0; color: var(--ink-2); font-size: 16px; text-align: center; }

.cta-note { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; text-align: center; }
