/* ReelTemps public splash (index.html). Self-contained: shares the app's dark
   oceanic palette but carries its own layout so the marketing page and the
   chart viewer can evolve independently. */

:root {
  --bg: #070b11;
  --bg-2: #0b111a;
  --panel: rgba(13, 19, 28, 0.92);
  --panel-solid: #0d131c;
  --ink: #eaf2fb;
  --ink-dim: #9fb2c6;
  --ink-faint: #6b7d92;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #45c8ff;
  --accent-ink: #05141d;
  --warm: #ff8a3c;
  --hot: #ff5a3c;
  --maxw: 1120px;
  --thermal: linear-gradient(90deg, #2b3a8f 0%, #2f7fd0 22%, #45c8ff 40%, #7be0b0 55%, #ffd479 74%, #ff8a3c 88%, #ff5a3c 100%);
  font-synthesis-weight: none;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55; -webkit-font-smoothing: antialiased;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}
/* Faint nautical topography behind everything, like the dashboard. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url("../assets/topo-bg.jpg") center center / cover no-repeat;
  opacity: 0.22;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(69,200,255,0.14), transparent 60%),
    radial-gradient(900px 500px at 10% 4%, rgba(255,138,60,0.08), transparent 55%);
}
main, header, footer { position: relative; z-index: 1; }

a { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 11px; border: 1px solid transparent;
  transition: transform 0.08s ease, filter 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn.primary {
  color: var(--accent-ink); background: var(--accent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 8px 26px rgba(69,200,255,0.28);
}
.btn.primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn.ghost { color: var(--ink); background: rgba(255,255,255,0.05); border-color: var(--line-strong); }
.btn.ghost:hover { background: rgba(255,255,255,0.10); transform: translateY(-1px); }
.btn.lg { padding: 15px 26px; font-size: 16px; border-radius: 13px; }

/* ---- Top nav ---- */
#nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  height: 64px; padding: 0 22px;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(7,11,17,0.86), rgba(7,11,17,0.5));
  border-bottom: 1px solid var(--line);
}
#nav .brand { display: flex; align-items: center; margin-right: auto; }
#nav .brand img { height: 30px; width: auto; }
#nav .links { display: flex; align-items: center; gap: 6px; }
#nav .links a.txt {
  color: var(--ink-dim); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 8px 12px; border-radius: 8px;
}
#nav .links a.txt:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
#nav .signin { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line-strong); }
#nav .signin:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 760px) { #nav .links .txt { display: none; } #nav .brand img { height: 26px; } }

/* ---- Hero ---- */
.hero { padding: 66px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; }
.hero-logo { width: 260px; max-width: 66%; height: auto; margin: 0 0 22px; filter: drop-shadow(0 6px 22px rgba(0,0,0,0.45)); }
@media (max-width: 900px) { .hero-logo { width: 210px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); background: rgba(69,200,255,0.10);
  border: 1px solid rgba(69,200,255,0.28); border-radius: 999px; padding: 5px 12px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; margin: 18px 0 0; }
.hero h1 .tint { background: var(--thermal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: clamp(16px, 1.8vw, 19px); color: var(--ink-dim); margin: 18px 0 0; max-width: 33em; }
.hero .cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero .trust { margin-top: 26px; color: var(--ink-faint); font-size: 13px; }
.hero .trust b { color: var(--ink-dim); font-weight: 700; }

.shot {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 2px 0 rgba(255,255,255,0.05) inset;
  aspect-ratio: 4 / 3; background: var(--bg-2);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .tag {
  position: absolute; left: 12px; top: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--accent-ink); background: var(--accent);
  padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(69,200,255,0.35);
}
.shot .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(7,11,17,0.0), rgba(7,11,17,0.35)); text-decoration: none;
}
.shot .play span {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink); font-weight: 700; font-size: 15px;
  background: rgba(7,11,17,0.72); border: 1px solid var(--line-strong);
  padding: 11px 18px; border-radius: 999px; backdrop-filter: blur(6px);
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .shot { order: -1; aspect-ratio: 16 / 10; }
}

/* ---- Thermal divider ---- */
.thermal-bar { height: 3px; background: var(--thermal); opacity: 0.85; margin: 8px 0 0; }

/* ---- Logos / trust strip ---- */
.sources { padding: 26px 0; border-bottom: 1px solid var(--line); }
.sources .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center; color: var(--ink-faint); font-size: 13.5px; }
.sources b { color: var(--ink-dim); font-weight: 700; }
.sources .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); opacity: 0.6; }

/* ---- Sections ---- */
section.block { padding: 68px 0; }
.head { max-width: 40em; margin: 0 auto 40px; text-align: center; }
.head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.head p { color: var(--ink-dim); font-size: 17px; margin-top: 12px; }

/* Features grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.feat:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feat .ic { font-size: 22px; line-height: 1; margin-bottom: 12px; }
.feat h3 { font-size: 17px; font-weight: 700; }
.feat p { color: var(--ink-dim); font-size: 14.5px; margin: 8px 0 0; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Coverage */
.coverage { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.regcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.regcol h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 10px; }
.regcol ul { list-style: none; margin: 0; padding: 0; }
.regcol li { color: var(--ink-dim); font-size: 14px; padding: 3px 0; }
@media (max-width: 780px) { .regcols { grid-template-columns: repeat(2, 1fr); } }

/* Pricing */
.price-wrap { display: flex; justify-content: center; }
.price-card {
  width: min(460px, 100%); background: var(--panel-solid);
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative; overflow: hidden;
}
.price-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--thermal); }
.price-card .plan { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); }
.price-card .amt { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 2px; }
.price-card .amt .n { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.price-card .amt .per { color: var(--ink-dim); font-size: 16px; font-weight: 600; }
.price-card .promo { color: var(--ink-dim); font-size: 14px; margin: 6px 0 20px; }
.price-card .promo b { color: #7be0b0; }
.price-card ul { list-style: none; margin: 0 0 24px; padding: 0; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--ink); font-size: 15px; }
.price-card li .ck { color: #7be0b0; font-weight: 800; flex: none; }
.price-card .btn { width: 100%; }
.price-card .fine { color: var(--ink-faint); font-size: 12.5px; text-align: center; margin: 14px 0 0; }

/* Final CTA */
.final { text-align: center; }
.final h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.final p { color: var(--ink-dim); font-size: 17px; margin: 12px auto 26px; max-width: 34em; }
.final .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--ink-faint); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer a { color: var(--ink-dim); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .disc { color: var(--ink-faint); }

/* ============================================================================
   Landing redesign — showcase rows, testimonials, coverage stats, reveals.
   Added 2026-09-11. Reuses the tokens/buttons/.head/.wrap above.
   ========================================================================== */

/* Scroll-reveal (JS toggles .in; reduced-motion shows immediately) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Section kicker label */
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.head .kicker { margin-bottom: 8px; }

/* ---- Hero: demo emphasis ---- */
.hero-demo { position: relative; }
.demo-nudge {
  position: absolute; z-index: 3; top: -14px; right: 14px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.01em;
  color: #05141d; background: linear-gradient(90deg, #7be0b0, #45c8ff);
  padding: 6px 13px; border-radius: 999px; transform: rotate(2deg);
  box-shadow: 0 8px 22px rgba(69,200,255,0.35);
}
.shot { display: block; }
.shot-glow {
  position: absolute; inset: -2px; z-index: 0; border-radius: 18px; pointer-events: none;
  background: conic-gradient(from 180deg, rgba(69,200,255,0.0), rgba(69,200,255,0.55), rgba(123,224,176,0.45), rgba(255,138,60,0.4), rgba(69,200,255,0.0));
  filter: blur(11px); opacity: 0.55; animation: glowspin 7s linear infinite;
}
@keyframes glowspin { to { transform: rotate(360deg); } }
.shot img { position: relative; z-index: 1; }
.shot .play { z-index: 2; }   /* above the image (z-index 1) */
.shot .tag { z-index: 3; }    /* above the image and the play overlay */
.shot .tag { display: inline-flex; align-items: center; gap: 7px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #05141d; box-shadow: 0 0 0 0 rgba(5,20,29,0.6); animation: livepulse 1.8s ease-out infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(5,20,29,0.5); } 70% { box-shadow: 0 0 0 7px rgba(5,20,29,0); } 100% { box-shadow: 0 0 0 0 rgba(5,20,29,0); } }
.shot .play-btn { transition: transform .15s ease, background .15s ease; }
.shot:hover .play-btn { transform: scale(1.04); }
.shot:hover .shot-glow { opacity: 0.8; }
@media (prefers-reduced-motion: reduce) { .shot-glow, .live-dot { animation: none; } }

/* ---- Credibility strip ---- */
.sources .lead { color: var(--ink-dim); font-weight: 700; }
.sources { padding: 22px 0; }

/* ---- Showcase: alternating product rows ---- */
.showcase .head { text-align: center; }
.prow {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: center;
  padding: 34px 0;
}
.prow + .prow { border-top: 1px solid var(--line); }
.prow.rev .pcopy { order: 2; }
.prow.rev .pframe { order: 1; }
.pcopy h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 4px 0 0; }
.pcopy p { color: var(--ink-dim); font-size: 16px; margin: 14px 0 0; max-width: 34em; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li { position: relative; padding: 6px 0 6px 26px; color: var(--ink); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 6px; border-left: 2px solid #7be0b0; border-bottom: 2px solid #7be0b0; transform: rotate(-45deg); }

.pframe { margin: 0; }
.frame {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--bg-2);
  box-shadow: 0 26px 70px rgba(0,0,0,0.5), 0 2px 0 rgba(255,255,255,0.04) inset;
  aspect-ratio: 16 / 11;
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame-empty { display: grid; place-items: center; background:
  repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 12px, rgba(255,255,255,0.035) 12px 24px), var(--bg-2); }
.frame-hint { color: var(--ink-faint); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 10px 16px; }
/* Annotation over a screenshot: a ring + a label calling out the break */
.annot { position: absolute; transform: translate(-50%, -50%); }
.annot .ring { display: block; width: 74px; height: 74px; border: 2.5px solid #ffd479; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,212,121,0.18), 0 0 22px rgba(255,212,121,0.35); animation: annotpulse 2.4s ease-out infinite; }
@keyframes annotpulse { 0%,100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.08); opacity: .7; } }
.annot .lab { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 800; color: #241a00; background: #ffd479; padding: 4px 10px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,0.4); }
@media (prefers-reduced-motion: reduce) { .annot .ring { animation: none; } }
@media (max-width: 860px) {
  .prow { grid-template-columns: 1fr; gap: 22px; padding: 26px 0; }
  .prow.rev .pcopy { order: 1; } .prow.rev .pframe { order: 2; }
}

/* ---- Everything included ---- */
.included .incl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 34px; }
.incl-list li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.incl-list svg { flex: none; width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.incl-list b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.incl-list span { display: block; color: var(--ink-dim); font-size: 14px; margin-top: 2px; }
@media (max-width: 760px) { .included .incl-list { grid-template-columns: 1fr; } }

/* ---- Coverage stats ---- */
.cov-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 34px; }
.cst { text-align: center; padding: 20px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.02); }
.cst .n { display: block; font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; letter-spacing: -0.02em; background: var(--thermal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cst .l { display: block; color: var(--ink-dim); font-size: 13px; margin-top: 6px; }
@media (max-width: 680px) { .cov-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- Testimonials ---- */
.reviews { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { margin: 0; background: var(--panel-solid); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; position: relative; overflow: hidden; }
.tcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--thermal); opacity: 0.8; }
.tcard .stars { color: #ffd479; letter-spacing: 2px; font-size: 15px; }
.tcard blockquote { margin: 14px 0 20px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.tcard figcaption { display: flex; align-items: center; gap: 12px; }
.tcard .mono { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--accent-ink); background: linear-gradient(135deg, #45c8ff, #7be0b0); }
.tcard figcaption b { display: block; font-size: 15px; color: var(--ink); }
.tcard figcaption span { display: block; font-size: 13px; color: var(--ink-dim); }
.reviews-note { text-align: center; color: var(--ink-faint); font-size: 13px; margin: 26px 0 0; }
@media (max-width: 820px) { .tgrid { grid-template-columns: 1fr; } }

/* ---- Section rhythm ---- */
.included { background: transparent; }
.pricing .head, .reviews .head, .coverage .head { text-align: center; }
.foot-links a { white-space: nowrap; }

/* ---- Legal / 404 pages ---- */
.legal { max-width: 780px; margin: 0 auto; padding: 54px 22px 72px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.legal .updated { color: var(--ink-faint); font-size: 13.5px; margin: 10px 0 6px; }
.legal .draft { display: inline-block; font-size: 12px; font-weight: 700; color: #ffd479; background: rgba(255,212,121,0.10); border: 1px solid rgba(255,212,121,0.28); border-radius: 999px; padding: 4px 11px; margin-bottom: 22px; }
.legal h2 { font-size: 20px; font-weight: 800; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-dim); font-size: 15.5px; line-height: 1.62; }
.legal ul { padding-left: 20px; } .legal li { margin: 6px 0; }
.legal .callout { border: 1px solid var(--line-strong); border-left: 3px solid var(--warm); border-radius: 10px; background: rgba(255,138,60,0.06); padding: 16px 18px; margin: 20px 0; color: var(--ink); }
.legal a { color: var(--accent); }
.notfound { min-height: calc(100vh - 64px); display: grid; place-items: center; text-align: center; padding: 40px 22px; }
.notfound .code { font-size: clamp(66px, 13vw, 128px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; background: var(--thermal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 14px 0 8px; }
.notfound p { color: var(--ink-dim); max-width: 30em; margin: 0 auto 26px; }
.notfound .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* ---- Branded loading spinner (fishing hook) ---- */
.rt-spinner {
  display: inline-block; width: 34px; height: 34px; color: var(--accent);
  vertical-align: middle; flex: none;
  background-color: currentColor;
  -webkit-mask: url("../assets/brand/hook-spinner.png") center / contain no-repeat;
          mask: url("../assets/brand/hook-spinner.png") center / contain no-repeat;
  transform-origin: 50% 50%; animation: rt-spin .9s linear infinite;
}
.rt-spinner.sm { width: 17px; height: 17px; }
@keyframes rt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rt-spinner { animation-duration: 2.6s; } }

/* ============================================================
   Hero live chip · how-it-works · before/after · hero shimmer
   (added for the pre-launch polish pass)
   ============================================================ */

/* ---- Live break chip in the hero: real number, honest cadence ---- */
.live-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(69, 200, 255, 0.06); font-size: 13.5px; color: var(--ink-dim);
}
.live-chip .lc-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #37d67a; flex: none;
  box-shadow: 0 0 0 0 rgba(55, 214, 122, 0.55); animation: lcpulse 2s infinite;
}
.live-chip .lc-text b { color: var(--ink); font-weight: 700; }
.live-chip .lc-sep { margin: 0 8px; opacity: 0.5; }
@keyframes lcpulse {
  0% { box-shadow: 0 0 0 0 rgba(55, 214, 122, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(55, 214, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(55, 214, 122, 0); }
}
@media (prefers-reduced-motion: reduce) { .live-chip .lc-dot { animation: none; } }

/* ---- How it works: satellites -> models -> mark -> fish ---- */
.howto { padding: 30px 0; border-bottom: 1px solid var(--line); }
.howto .steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.howto .step {
  position: relative; padding: 18px 16px; border: 1px solid var(--line);
  border-radius: 14px; background: rgba(255, 255, 255, 0.02);
  display: flex; flex-direction: column; gap: 8px;
}
.howto .step .sn {
  position: absolute; top: 12px; right: 14px; font-size: 12px;
  font-weight: 800; color: var(--ink-faint);
}
.howto .step svg {
  width: 26px; height: 26px; fill: none; stroke: var(--accent);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.howto .step b { color: var(--ink); font-size: 15px; font-weight: 700; }
.howto .step span { color: var(--ink-dim); font-size: 13px; line-height: 1.45; }
@media (min-width: 781px) {
  .howto .step:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -11px; width: 8px; height: 8px;
    border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong);
    transform: translateY(-50%) rotate(45deg); z-index: 1;
  }
}
@media (max-width: 780px) { .howto .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .howto .steps { grid-template-columns: 1fr; } }

/* ---- Hero shimmer: a slow light-sweep down the chart ---- */
.shot .sweep {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; overflow: hidden;
}
.shot .sweep::before {
  content: ""; position: absolute; top: -30%; left: -60%; width: 42%; height: 160%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(8deg); animation: sweepmove 7s ease-in-out infinite;
}
@keyframes sweepmove { 0% { left: -60%; } 55% { left: 120%; } 100% { left: 120%; } }
@media (prefers-reduced-motion: reduce) { .shot .sweep { display: none; } }

/* ---- Before/after break slider ---- */
.compare-sec .head { margin-bottom: 22px; }
.ba {
  position: relative; margin: 0 auto; max-width: 640px; aspect-ratio: 506 / 420;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong);
  background: var(--panel-solid); user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.ba img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { position: absolute; inset: 0; }
.ba .ba-before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba .ba-lab {
  position: absolute; top: 10px; z-index: 3; font-size: 11px; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  background: rgba(7, 11, 17, 0.72); color: var(--ink);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.ba .ba-lab-l { left: 10px; }
.ba .ba-lab-r { right: 10px; color: var(--accent); }
.ba .ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; z-index: 4;
  transform: translateX(-1px); background: rgba(255, 255, 255, 0.9);
  border: 0; padding: 0; cursor: ew-resize;
}
.ba .ba-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5); display: grid; place-items: center;
}
.ba .ba-grip::before {
  content: "\2039\2009\203A"; color: var(--accent-ink); font-size: 15px; font-weight: 900;
}
.ba .ba-handle:focus-visible { outline: none; }
.ba .ba-handle:focus-visible .ba-grip { box-shadow: 0 0 0 3px rgba(69, 200, 255, 0.5); }
.ba-note { text-align: center; color: var(--ink-faint); font-size: 12.5px; margin: 14px auto 0; max-width: 46em; }

/* ---- Before/after "slide me" hint + glide on nudge ---- */
.ba .ba-handle { transition: left .5s cubic-bezier(.4, 0, .2, 1); }
.ba .ba-before { transition: clip-path .5s cubic-bezier(.4, 0, .2, 1); }
.ba.dragging .ba-handle, .ba.dragging .ba-before { transition: none; }
.ba .ba-hint {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46px);
  white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-ink); background: var(--accent);
  padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  pointer-events: none; animation: bahint 1.8s ease-in-out infinite;
}
.ba .ba-hint::after {
  content: ""; position: absolute; left: 50%; bottom: -4px;
  transform: translateX(-50%) rotate(45deg); width: 8px; height: 8px; background: var(--accent);
}
.ba .ba-hint.gone { opacity: 0; transition: opacity .3s ease; }
@keyframes bahint {
  0%, 100% { transform: translate(-50%, -46px); }
  50% { transform: translate(-50%, -52px); }
}
@media (prefers-reduced-motion: reduce) {
  .ba .ba-hint { animation: none; }
  .ba .ba-handle, .ba .ba-before { transition: none; }
}
