/* TrendScoutly — site styles
   Dark navy/black, mint accent (#2CE3C3), Poppins. Mobile-first where it matters. */

:root {
  --bg: #060b12;
  --bg-2: #08111b;
  --surface: #0c1622;
  --surface-2: #101d2b;
  --card: rgba(14, 26, 39, 0.78);
  --border: rgba(173, 216, 230, 0.12);
  --border-strong: rgba(173, 216, 230, 0.22);
  --text: #eef3f8;
  --muted: #a3b1c2;
  --faint: #7a8ba0;
  --mint: #2ce3c3;
  --mint-2: #19c9ab;
  --mint-soft: rgba(44, 227, 195, 0.12);
  --mint-glow: rgba(44, 227, 195, 0.45);
  --danger: #ff6b6b;
  --warn: #ffc857;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --container: 1440px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--mint); color: #04121a; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.mint { color: var(--mint); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.6em; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--mint); color: #04121a; box-shadow: 0 0 0 0 var(--mint-glow); }
.btn-primary:hover { background: #4cf0d3; box-shadow: 0 8px 30px -6px var(--mint-glow); }
.btn-outline { background: rgba(6, 11, 18, .5); color: var(--text); border-color: var(--border-strong); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--mint); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(255, 107, 107, .45); }
.btn-sm { min-height: 40px; padding: 0 1.2em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: not-allowed; }
.btn .play { width: 30px; height: 30px; margin-left: -.6em; }
.btn svg.arrow { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(6, 11, 18, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
/* No backdrop-filter while the menu is open: it would make the header the containing block
   of the fixed menu and squeeze the menu into the header's height. */
body.nav-open .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; text-decoration: none !important; }
.brand .logo-mark { width: 36px; height: 36px; color: var(--mint); }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: auto; }
.main-nav > a { color: var(--text); font-size: .95rem; font-weight: 400; opacity: .92; }
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: var(--mint); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.signin-link { color: var(--text); font-size: .95rem; }
.nav-actions-mobile { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; background: transparent; border: 1px solid var(--border-strong); border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 14px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-actions { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 12px var(--gutter) 32px; background: var(--bg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    overflow-y: auto;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--border); }
  .nav-actions-mobile { display: grid; gap: 12px; margin-top: 24px; }
}

/* ---------- Generic sections ---------- */
main { display: block; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.h-xl { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.h-lg { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.h-md { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(6, 11, 18, .55);
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text);
}
.badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; background: var(--mint-soft); color: var(--mint); border: 1px solid rgba(44, 227, 195, .25); }
.tag-muted { background: rgba(255,255,255,.06); color: var(--muted); border-color: var(--border); }
.tag-warn { background: rgba(255, 200, 87, .12); color: var(--warn); border-color: rgba(255, 200, 87, .3); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; container-type: inline-size; background: var(--bg); }
/* The artwork and the cards start just below the fixed header, so no card can slide under it. */
.hero { --hero-top: var(--header-h); }
.hero-media { position: absolute; inset: var(--hero-top) 0 auto 0; z-index: 0; pointer-events: none; }
.hero-media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 18%; background: linear-gradient(to bottom, var(--bg), rgba(6,11,18,0)); z-index: 1; }
.hero-media img { width: 100%; height: auto; }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to bottom, rgba(6,11,18,0), var(--bg)); }
.hero-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(6,11,18,.85) 0%, rgba(6,11,18,.45) 34%, rgba(6,11,18,0) 52%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; min-height: max(calc(46cqw + var(--hero-top)), 600px); display: flex; align-items: center; padding-top: var(--header-h); padding-bottom: 48px; }
.hero-copy { width: calc(min(41cqw, 620px) + max(var(--gutter), calc((100cqw - var(--container)) / 2 + var(--gutter)))); padding-left: max(var(--gutter), calc((100cqw - var(--container)) / 2 + var(--gutter))); }
.hero h1 { font-size: clamp(2.4rem, 3.75cqw, 4rem); line-height: 1.04; letter-spacing: -0.035em; margin: 26px 0 22px; font-weight: 600; }
.hero .lead { color: #d2dbe6; max-width: 460px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-ctas .btn { min-height: 54px; padding: 0 1.8em; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; font-size: .85rem; color: #d2dbe6; }
.hero-checks li { display: inline-flex; align-items: center; gap: 9px; }
.hero-checks svg { width: 20px; height: 20px; color: var(--mint); }

/* Floating cards positioned on the 16:9 hero image (cqw = % of hero width) */
.hero-visual { position: absolute; inset: var(--hero-top) 0 auto 0; height: 56.25cqw; z-index: 1; }
.hero-core {
  position: absolute; left: 72.3cqw; top: 18.5cqw; width: 8.6cqw; height: 8.6cqw; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center; color: var(--mint);
  background: radial-gradient(circle, rgba(6, 20, 26, .92) 55%, rgba(6, 20, 26, .4) 72%, transparent 73%);
  box-shadow: 0 0 0 2px rgba(44, 227, 195, .85), 0 0 26px 6px rgba(44, 227, 195, .45), inset 0 0 22px rgba(44, 227, 195, .35);
  animation: core-pulse 4s ease-in-out infinite;
}
.hero-core::before { content: ""; position: absolute; inset: -1.1cqw; border-radius: 50%; border: 1px solid rgba(44, 227, 195, .35); }
.hero-core svg { width: 52%; height: 52%; filter: drop-shadow(0 0 8px rgba(44, 227, 195, .8)); }
@keyframes core-pulse { 50% { box-shadow: 0 0 0 2px rgba(44, 227, 195, .95), 0 0 40px 10px rgba(44, 227, 195, .55), inset 0 0 26px rgba(44, 227, 195, .45); } }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines path { fill: none; stroke: rgba(44, 227, 195, .6); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; filter: drop-shadow(0 0 3px rgba(44, 227, 195, .8)); animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }

.fcard {
  position: absolute; width: var(--w, 12cqw); font-size: max(.66rem, .78cqw);
  background: linear-gradient(160deg, rgba(22, 38, 54, .86), rgba(9, 18, 28, .86));
  border: 1px solid rgba(173, 216, 230, .2); border-radius: max(10px, .9cqw); padding: max(12px, .9cqw) max(9px, .85cqw) max(9px, .8cqw);
  box-shadow: 0 1.2cqw 3cqw rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: perspective(900px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  animation: float 7s ease-in-out infinite; animation-delay: var(--d, 0s);
}
@keyframes float { 50% { translate: 0 -.45cqw; } }
.fcard-title { font-weight: 500; font-size: 1.12em; line-height: 1.25; margin-bottom: max(6px, .55cqw); padding-right: 0; white-space: nowrap; }
/* "Example" sits on the card's top-right edge, outside the content, so it never covers prices or titles. */
.ex { position: absolute; top: 0; right: 10px; transform: translateY(-50%); z-index: 2; font-size: max(9px, .58rem); line-height: 1; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); background: var(--bg); border: 1px solid var(--border-strong); padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.fcard-icons { display: flex; flex-wrap: wrap; row-gap: 4px; align-items: center; gap: max(6px, .55cqw); margin-bottom: max(6px, .6cqw); }
.fcard-icons svg { flex: none; width: max(13px, 1.3cqw); height: max(13px, 1.3cqw); }
.fcard-icons .meta { color: #0081fb; width: max(16px, 1.5cqw); height: max(16px, 1.5cqw); }
.fcard-icons .ig { color: #f56a9c; } .fcard-icons .tt { color: #e9f1f7; } .fcard-icons .yt { color: #ff3b3b; } .fcard-icons .gm { color: #ff6a5c; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: max(4px, .35cqw); }
.thumb { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: max(5px, .4cqw); border: 1px solid rgba(255,255,255,.08); background: #0e1b28; }
.thumb-wrap { position: relative; display: block; }
.thumb-wrap .pl { position: absolute; inset: 0; margin: auto; width: 38%; height: 38%; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.fcard-row { display: flex; gap: max(7px, .6cqw); align-items: center; }
.fcard-row .thumb { width: 42%; flex: none; aspect-ratio: 1; }
.fcard-note { color: #d6dee8; line-height: 1.35; min-width: 0; flex: 1; }
.spark { width: 100%; height: max(14px, 1.6cqw); margin-top: .3cqw; }
.spark path { fill: none; stroke: var(--mint); stroke-width: 1.6; }
.price-col { display: grid; gap: max(5px, .4cqw); justify-items: start; min-width: 0; }
.price-change { display: flex; flex-wrap: nowrap; align-items: baseline; gap: .35em; font-weight: 600; font-size: 1.15em; white-space: nowrap; }
.price-change s { color: var(--faint); font-weight: 400; }
.chip-down { background: rgba(44,227,195,.18); color: var(--mint); border-radius: 5px; padding: 2px 6px; font-size: max(11px, .9em); font-weight: 600; white-space: nowrap; }
.mini-mails { display: grid; grid-template-columns: 1fr 1fr; gap: max(5px, .4cqw); }
.mini-mail { position: relative; border-radius: max(5px, .4cqw); overflow: hidden; background: #0e1b28; border: 1px solid rgba(255,255,255,.08); }
.mini-mail img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.mini-mail span { position: absolute; left: 5%; bottom: 8%; max-width: 90%; font-size: max(11px, .82em); font-weight: 600; line-height: 1.15; padding: 2px 5px; border-radius: 5px; background: rgba(255,255,255,.94); color: #0b1622; }
/* Small example details inside the hero cards */
.fchip { display: inline-block; font-size: max(11px, .82em); font-weight: 600; line-height: 1.2; color: var(--mint); background: rgba(44,227,195,.14); border: 1px solid rgba(44,227,195,.3); border-radius: 999px; padding: 2px 7px; white-space: nowrap; }
.fcard-icons .fchip { margin-left: auto; }
.fcard .ex { font-size: 11px; letter-spacing: .05em; padding: 2px 6px; }
.launch-foot { margin-top: max(6px, .5cqw); text-align: center; }
.launch-foot .spark { display: block; margin-top: max(4px, .35cqw); }
.icon-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: max(4px, .35cqw); justify-items: center; }
.thumb-wrap .tag { position: absolute; left: 2px; right: 2px; bottom: 3px; font-size: max(11px, .72em); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; padding: 2px 0; border-radius: 4px; background: rgba(6,11,18,.82); color: #fff; text-align: center; overflow-wrap: anywhere; }
.thumb-wrap .tag-new { background: var(--mint); color: #04121a; }
.fcard-foot { margin-top: max(6px, .5cqw); text-align: center; font-size: .9em; font-weight: 600; color: var(--mint); white-space: nowrap; }
.fcard-sub { font-size: .86em; color: var(--muted); white-space: nowrap; }

.fc-ads { --w: 12.2cqw; left: 50.5cqw; top: 7.5cqw; --ry: 8deg; --d: -1s; }
.fc-social { --w: 14.8cqw; left: 64.2cqw; top: 2.2cqw; --d: -3s; }
.fc-pricing { --w: 12.6cqw; left: 82cqw; top: 9cqw; --ry: -10deg; --d: -2s; }
.fc-launch { --w: 13cqw; left: 46.5cqw; top: 20cqw; --ry: 8deg; --d: -4s; }
.fc-email { --w: 13cqw; left: 60.5cqw; top: 25.5cqw; --ry: 4deg; --d: -5s; }
/* Narrow desktops and tablets: cards get a minimum readable size, so spread them a little more. */
@media (max-width: 1040px) and (min-width: 901px) {
  .hero .fc-launch { left: 44.5cqw; top: 24cqw; --w: 17cqw; }
  .hero .fc-ads { top: 5.5cqw; }
  .hero .fc-email { top: 30cqw; --w: 17cqw; }
  .hero-copy { width: calc(40cqw + var(--gutter)); }
}
@media (max-width: 1240px) and (min-width: 901px) {
  .fc-ads { left: 48.5cqw; top: 6.5cqw; --w: 14.6cqw; }
  .fc-social { left: 64cqw; top: 1.5cqw; --w: 16cqw; }
  .fc-pricing { left: 82.5cqw; top: 9.5cqw; --w: 15cqw; }
  .fc-launch { left: 45.5cqw; top: 21cqw; --w: 15cqw; }
  .fc-email { left: 63cqw; top: 27cqw; --w: 16cqw; }
}


@media (max-width: 900px) {
  /* One set of hero cards: below 900 px they leave the artwork and flow under the text as a grid. */
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: 1; }
  .hero-visual { order: 2; position: relative; inset: auto; height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; width: 100%; margin: 0 auto; padding: 40px var(--gutter) 56px; box-sizing: border-box; }
  .hero-media, .hero-shade, .hero-lines { display: none; }
  .hero-mobile-bg { position: absolute; inset: 0; z-index: 0; }
  .hero-mobile-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
  /* Darker band behind the text so the glowing ring in the artwork never runs behind the paragraph. */
  .hero-mobile-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,11,18,.96) 0%, rgba(6,11,18,.9) 38%, rgba(6,11,18,.55) 62%, rgba(6,11,18,.2) 100%); }
  .hero-inner { min-height: 0; display: block; padding-top: calc(var(--header-h) + 28px); padding-bottom: 0; }
  .hero-copy { width: auto; padding: 0 var(--gutter); }
  .hero h1 { font-size: clamp(2.3rem, 9.5vw, 3.6rem); }
  .hero-ctas .btn { flex: 1 1 200px; }
  .hero-visual .hero-core { grid-column: 1 / -1; position: relative; left: auto; top: auto; transform: none; width: 112px; height: 112px; margin: 12px auto 28px; }
  .hero-visual .hero-core::before { inset: -14px; }
  .hero-visual .fcard { position: relative; left: auto; top: auto; width: auto; transform: none; font-size: .78rem; padding: 14px 12px 12px; border-radius: 14px; animation: none; }
  .hero-visual .fcard-title { margin-bottom: 8px; }
  .hero-visual .fcard-icons { gap: 8px; margin-bottom: 8px; }
  .hero-visual .fcard-icons svg { width: 18px; height: 18px; }
  .hero-visual .fcard-icons .meta { width: 20px; height: 20px; }
  .hero-visual .thumbs { gap: 5px; }
  .hero-visual .fcard-row { gap: 8px; }
  .hero-visual .spark { height: 20px; }
  .hero-visual .price-change { gap: 6px; }
  .hero-visual .fc-email { grid-column: 1 / -1; }
  .hero-visual .mini-mail img { aspect-ratio: 16 / 7; }
  .hero-visual .icon-cols { gap: 5px; }
}
@media (min-width: 901px) { .hero-mobile-bg { display: none; } }

/* ---------- Monitoring strip ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(12, 22, 34, .7); }
.strip-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; padding-block: 26px; text-align: center; }
.strip-stat { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.6; text-wrap: balance; }
.strip-sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: .9rem; color: #c4cfdb; max-width: 100%; }
.strip-sources span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.strip-sources svg { width: 18px; height: 18px; color: var(--muted); }
.strip-sources .meta { color: #0081fb; }
@media (max-width: 560px) { .strip-stat { letter-spacing: .1em; } .strip-sources { gap: 10px 16px; font-size: .85rem; padding-inline: 4px; } }

/* ---------- Features ---------- */
/* Intro takes the first cell of a 4-column grid; the 7 cards fill the rest (2 rows of 4). */
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.features-intro { padding: 8px 12px 8px 0; align-self: center; }
.features-intro .h-lg { margin-bottom: 18px; font-size: clamp(1.7rem, 2.3vw, 2.3rem); }
.feature {
  display: flex; flex-direction: column; min-width: 0; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 16px 16px;
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: rgba(44, 227, 195, .4); transform: translateY(-2px); }
.feature-icon { flex: none; width: 26px; height: 26px; color: var(--mint); margin: 0 0 12px; }
.feature-icon.violet { color: #a78bfa; }
.feature h3 { font-size: 1rem; margin: 0 0 4px; letter-spacing: -0.01em; }
.feature p { font-size: .82rem; color: var(--muted); line-height: 1.45; margin: 0 0 14px; min-height: 2.9em; }
.feature-visual { margin-top: auto; position: relative; border-radius: 10px; background: linear-gradient(160deg, #182a3c, #0b1622); border: 1px solid rgba(255,255,255,.07); aspect-ratio: 16 / 10; }
.feature-visual > img, .feature-visual .fv-video { border-radius: 7px; }
.feature-visual .chip { position: absolute; right: 8px; bottom: 8px; background: rgba(240, 246, 250, .95); color: #0b1622; font-size: .66rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
.fv-ad { position: absolute; top: 12%; bottom: 12%; left: 8%; width: 36%; height: 76%; object-fit: cover; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.fv-ad.b { left: 48%; top: 20%; height: 62%; width: 30%; }
.fv-source { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: .62rem; color: #d6dee8; background: rgba(6,11,18,.8); padding: 3px 7px; border-radius: 6px; }
.fv-source svg { width: 14px; height: 14px; color: #0081fb; }
.feature-visual .fv-source + .chip { bottom: auto; top: 50%; right: 6px; transform: translateY(-50%); }
.fv-video { position: absolute; top: 12%; bottom: 12%; left: 8%; width: 40%; overflow: hidden; display: grid; place-items: center; }
.fv-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fv-video svg { position: relative; width: 36%; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.fv-spark { position: absolute; right: 6%; top: 22%; width: 42%; height: 40%; }
.fv-spark path { fill: none; stroke: var(--mint); stroke-width: 2; }
.fv-spark .area { fill: rgba(44,227,195,.12); stroke: none; }
.fv-product { position: absolute; top: 12%; height: 76%; left: 8%; width: 38%; object-fit: cover; }
.fv-product.b { left: 50%; top: 20%; height: 62%; width: 30%; }
.fv-price { position: absolute; left: 52%; right: 6%; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; font-size: .9rem; font-weight: 600; }
.fv-price .row { white-space: nowrap; }
.fv-price s { color: var(--faint); font-weight: 400; }
.fv-price .tag { align-self: flex-start; }
.fv-price .small { font-size: .7rem; font-weight: 400; }
.fv-email { position: absolute; inset: 12% 8%; display: grid; grid-template-columns: 38% 1fr; border-radius: 7px; overflow: hidden; background: #eef3f8; color: #0b1622; }
.fv-email img { width: 100%; height: 100%; object-fit: cover; }
.fv-email > div { padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 4px; font-size: .7rem; line-height: 1.3; min-width: 0; }
.fv-email b { font-size: .8rem; }
.fv-list-wrap { display: flex; align-items: center; padding: 14px 12px; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; width: 100%; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: #d0d9e3; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 7px; padding: 6px 8px; line-height: 1.25; }
.feature-list svg { width: 15px; height: 15px; flex: none; color: var(--mint); }
.trend-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; width: 100%; counter-reset: tr; }
.trend-list li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; font-size: .74rem; color: #d0d9e3; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 7px; padding: 4px 8px 4px 4px; }
.trend-list img { width: 30px; height: 30px; object-fit: cover; border-radius: 5px; }
.trend-list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-list b { color: var(--mint); }

@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-intro { grid-column: 1 / -1; max-width: 640px; padding: 0 0 12px; }
  .feature-trending { grid-column: 1 / -1; }
  .feature-trending .feature-visual { aspect-ratio: auto; }
  .feature-visual { aspect-ratio: 16 / 8.5; }
  .feature-list li { padding: 9px 10px; font-size: .8rem; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature p { min-height: 0; }
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-size: .8rem; font-weight: 600; color: var(--mint); letter-spacing: .1em; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Stay ahead ---------- */
.stay { position: relative; overflow: hidden; min-height: clamp(460px, 42vw, 640px); display: flex; align-items: center; border-top: 1px solid var(--border); }
.stay-bg { position: absolute; inset: 0; z-index: 0; }
.stay-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 20% center; }
.stay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,11,18,0) 25%, rgba(6,11,18,.75) 55%, rgba(6,11,18,.92) 100%); }
.stay .container { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.stay-copy { width: min(560px, 100%); padding: 64px 0; }
.stay-copy .h-xl { font-size: clamp(2rem, 3.6vw, 3rem); }
.stay-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.stay-points li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.stay-points .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint); font-weight: 600; font-size: .9rem; border: 1px solid rgba(44,227,195,.3); }
.stay-points strong { display: block; }
.stay-points span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) {
  .stay { display: block; min-height: 0; }
  .stay-bg { position: relative; height: 62vw; max-height: 420px; }
  .stay::after { background: linear-gradient(180deg, rgba(6,11,18,0) 0, rgba(6,11,18,0) 30%, var(--bg) 62vw); }
  .stay .container { display: block; margin-top: -60px; }
  .stay-copy { padding: 0 0 24px; }
}
@media (max-width: 640px) {
  #how-it-works { padding-bottom: 28px; }
  .stay-bg { height: 50vw; }
  .stay-bg img { object-position: 20% 75%; }
  .stay::after { background: linear-gradient(180deg, rgba(6,11,18,0) 0, rgba(6,11,18,0) 25%, var(--bg) 50vw); }
  .stay + .section { padding-top: 40px; }
}

/* ---------- Sample report preview ---------- */
.preview { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.report-card { background: #0d1824; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.report-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.report-card-head .brand { font-size: 1rem; }
.report-card-head .brand .logo-mark { width: 24px; height: 24px; }
.report-card-body { padding: 22px; }
.action { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.action:last-child { border-bottom: 0; padding-bottom: 0; }
.action .n { width: 32px; height: 32px; border-radius: 50%; background: var(--mint); color: #04121a; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.action h3, .action h4 { font-size: 1rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.action p { color: var(--muted); font-size: .88rem; margin: 0; }
@media (max-width: 900px) { .preview { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.currency-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); }
.currency-toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); min-height: 40px; }
.currency-toggle button[aria-pressed="true"] { background: var(--mint); color: #04121a; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.plan { display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); position: relative; }
.plan.featured { border-color: rgba(44, 227, 195, .55); box-shadow: 0 0 0 1px rgba(44,227,195,.25), 0 24px 60px -20px rgba(44,227,195,.35); }
.plan .tag { position: absolute; top: -12px; left: 26px; background: var(--bg); }
.plan h3 { font-size: 1.35rem; margin-bottom: 6px; }
.plan .for { color: var(--muted); font-size: .9rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.price .amount { font-size: 2.8rem; font-weight: 600; letter-spacing: -0.03em; }
.price .per { color: var(--muted); }
.price-note { color: var(--faint); font-size: .8rem; margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: .92rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.plan li svg { width: 18px; height: 18px; color: var(--mint); margin-top: 3px; }
.plan .btn { margin-top: auto; }
/* Line up name, description, price, note, list and button across the three cards. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 961px) {
    .plans { grid-template-rows: repeat(6, auto); }
    .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
    .plan .for { min-height: 0; }
    .plan .btn { align-self: end; }
    .plan ul { align-content: start; }
  }
}
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

.compare-wrap { position: relative; margin-top: 64px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { background: var(--surface-2); font-size: 1rem; }
.compare tbody th { font-weight: 400; color: #d6dee8; width: 40%; }
.compare td { color: var(--muted); }
.compare td.yes { color: var(--mint); font-weight: 600; }
.compare td.no { color: var(--faint); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare-hint { display: none; }
@media (max-width: 639px) {
  .compare-hint { display: block; margin: 48px 0 8px; color: var(--muted); font-size: .85rem; text-align: right; }
  .compare-wrap { margin-top: 0; }
  .compare-scroller { position: relative; }
  .compare-scroller::after { content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 36px; pointer-events: none; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: linear-gradient(90deg, rgba(6,11,18,0), var(--bg)); }
  .compare { min-width: 560px; }
  .compare tbody th[scope="row"], .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface-2); width: 150px; min-width: 150px; }
  .compare .group th span { position: sticky; left: 18px; }
}
.compare .group th span { display: inline-block; }
.compare-sticky { position: fixed; z-index: 40; overflow: hidden; display: none; background: var(--surface-2); border-bottom: 1px solid var(--border-strong); box-shadow: 0 8px 18px rgba(0,0,0,.35); }
.compare-sticky.is-on { display: block; }
.compare-sticky .compare { min-width: 0; table-layout: fixed; }
.compare-sticky .compare thead th { border-bottom: 0; white-space: nowrap; background: var(--surface-2); }
.compare .group th { background: rgba(255,255,255,.02); color: var(--mint); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { border: 1px solid rgba(44,227,195,.35); border-radius: 28px; padding: clamp(36px, 6vw, 64px); text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(44,227,195,.18), rgba(6,11,18,0) 65%), var(--surface); }
.cta-band .lead { max-width: 620px; margin: 0 auto 28px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 340px; margin: 16px 0 10px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.footer-col a { color: var(--text); font-size: .92rem; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: grid; gap: 6px; color: var(--faint); font-size: .8rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(32px, 5vw, 56px); background: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(44,227,195,.12), rgba(6,11,18,0) 70%); }
.page-hero .lead { max-width: 680px; }

/* ---------- Forms & auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--header-h) + 32px) var(--gutter) 48px; background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(44,227,195,.12), rgba(6,11,18,0) 70%); }
.panel { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow); }
.panel-wide { max-width: 760px; }
.panel h1 { font-size: 1.7rem; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .label { font-size: .88rem; font-weight: 500; }
.field .hint { font-size: .8rem; color: var(--faint); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: #0a131d; color: var(--text); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(44,227,195,.18); }
.input[aria-invalid="true"] { border-color: var(--danger); }
form[data-auth-form] .input:disabled { opacity: .55; cursor: not-allowed; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: .8rem; margin: 6px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.btn-google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.btn-google:hover { background: #f4f6f8; }
.btn-google svg { width: 20px; height: 20px; }
.alert { padding: 12px 14px; border-radius: 12px; font-size: .92rem; border: 1px solid; }
.alert-error { background: rgba(255,107,107,.08); border-color: rgba(255,107,107,.4); color: #ffb3b3; }
.alert-success { background: rgba(44,227,195,.08); border-color: rgba(44,227,195,.4); color: #aaf5e7; }
.alert-info { background: rgba(120,170,255,.08); border-color: rgba(120,170,255,.35); color: #c8dbff; }
.form-foot { font-size: .9rem; color: var(--muted); text-align: center; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--mint); }
.cf-turnstile { min-height: 65px; display: flex; align-items: center; }
.cf-turnstile:empty::before { content: "Verifying…"; color: var(--faint); font-size: .85rem; padding-left: 4px; }
.cf-turnstile-failed { color: var(--muted); font-size: .9rem; }

/* ---------- Prose (legal, sample report text) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose p, .prose li { color: #c9d3de; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.ph { background: rgba(255, 200, 87, .14); color: var(--warn); padding: 0 4px; border-radius: 4px; }

/* ---------- Free report page ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.checklist svg { width: 20px; height: 20px; color: var(--mint); margin-top: 3px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); }
.progress { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.progress .stage { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--faint); font-size: .85rem; font-weight: 500; }
.progress .stage.done { color: var(--mint); border-color: rgba(44,227,195,.35); }
.progress .stage.current { color: #04121a; background: var(--mint); border-color: var(--mint); }
.progress .sep { width: 18px; height: 1px; background: var(--border-strong); }

/* ---------- Sample report ---------- */
.report { max-width: 1040px; margin: 0 auto; }
.sr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 12px; }
.sr-pdfs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.sr-pdfs .btn-sm.is-current { border-color: var(--mint); color: var(--mint); }
.sr-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 6px; padding: 5px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); width: max-content; max-width: 100%; }
.sr-tabs::-webkit-scrollbar { display: none; }
.sr-tabs button { flex: none; white-space: nowrap; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: .92rem; padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 42px; }
.sr-tabs button[aria-selected="true"] { background: var(--mint); color: #04121a; }
@media (max-width: 480px) {
  .sr-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: 0; padding: 3px; }
  .sr-tabs button { min-width: 0; padding: 9px 2px; font-size: .9rem; letter-spacing: -.01em; }
}
.sr { padding-top: 8px; }
.sr-head { padding: 28px 0 8px; }
.sr-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sr-title .brand { font-size: 1.15rem; }
.sr-title .brand .logo-mark { width: 28px; height: 28px; }
.sr-head h2 { margin-bottom: 8px; }
.sr-disclaimer { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.sr-comps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.sr-comps li { font-size: .82rem; color: #d0d9e3; border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; background: rgba(255,255,255,.02); }
.report-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 14px; }
.report-meta div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.report-meta dt { font-size: .7rem; color: var(--faint); letter-spacing: .14em; text-transform: uppercase; }
.report-meta dd { margin: 4px 0 0; font-weight: 500; }
@media (max-width: 760px) { .report-meta { grid-template-columns: 1fr 1fr; } }
.report-section { border-top: 1px solid var(--border); padding: 34px 0; }
.report-section > header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.report-section h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin: 0; }
.report-section h3 .idx { color: var(--mint); font-size: .8em; margin-right: 10px; }
.report-section .source { margin: 0 0 14px; }
.report-section .note { margin: 12px 0 0; }
.source { font-size: .8rem; color: var(--faint); }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { background: var(--surface-2); font-weight: 600; font-size: .8rem; color: #d6dee8; }
.table tr:last-child td { border-bottom: 0; }
.table td.num { font-variant-numeric: tabular-nums; }
.trend-table { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.trend-table li { display: grid; grid-template-columns: 28px 44px 1fr; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.trend-table .rank { font-weight: 700; color: var(--mint); text-align: center; font-variant-numeric: tabular-nums; }
.trend-table .t-img img { width: 44px; height: 44px !important; object-fit: cover; border-radius: 8px; display: block; }
.trend-table b { display: block; font-size: .95rem; }
.trend-table div span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) { .trend-table { grid-template-columns: 1fr; } }
.ad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .ad-grid { grid-template-columns: 1fr; max-width: 380px; } }
.ad-mock { position: relative; margin: 0; background: #fff; color: #0b1622; border-radius: 12px; border: 1px solid var(--border-strong); display: flex; flex-direction: column; }
.ad-mock .ex { right: 10px; }
.ad-head { display: flex; gap: 8px; align-items: center; padding: 12px 12px 6px; }
.ad-head .avatar { width: 30px; height: 30px; border-radius: 50%; background: #0b1622; color: var(--mint); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.ad-head b { display: block; font-size: .85rem; }
.ad-head small { color: #5d6f82; font-size: .72rem; }
.ad-mock > p { font-size: .82rem; margin: 0; padding: 0 12px 10px; line-height: 1.4; min-height: calc(2 * 1.4em + 10px); }
.ad-media { aspect-ratio: 4 / 5; background: #0b1622; overflow: hidden; }
.ad-media img { width: 100%; height: 100%; object-fit: cover; }
.ad-cta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; background: #f1f4f7; font-size: .75rem; color: #5d6f82; }
.btn-mini { display: inline-block; background: #e3e8ee; color: #0b1622; font-weight: 600; font-size: .75rem; padding: 6px 12px; border-radius: 6px; white-space: nowrap; }
.ad-mock figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-top: 1px solid #e3e8ee; font-size: .72rem; color: #5d6f82; border-radius: 0 0 12px 12px; }
.ad-mock figcaption span { display: inline-flex; align-items: center; gap: 4px; }
.ad-mock figcaption svg { width: 13px; height: 13px; color: #0081fb; }
.lp-wrap { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: 24px; align-items: center; }
.lp-wrap > p { color: var(--muted); margin: 0; }
.lp-mock { position: relative; margin: 0; display: grid; grid-template-columns: 44% 1fr; background: #fff; color: #0b1622; border-radius: 12px; border: 1px solid var(--border-strong); }
.lp-media { background: #0b1622; border-radius: 12px 0 0 12px; overflow: hidden; }
.lp-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.lp-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.lp-body small { color: #5d6f82; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.lp-body b { font-size: 1.05rem; line-height: 1.25; }
.lp-rating { font-size: .78rem; color: #b07a00; }
.lp-price { font-size: 1.4rem; font-weight: 700; }
.lp-offer { font-size: .78rem; color: #3b4f63; }
.lp-body .btn-mini { align-self: flex-start; margin-top: 6px; background: #0b1622; color: #fff; padding: 9px 16px; }
@media (max-width: 760px) { .lp-wrap { grid-template-columns: 1fr; } .lp-mock { max-width: 420px; } }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review { margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.review .tag { align-self: flex-start; }
.review p { margin: 0; color: #d0d9e3; font-style: italic; }
.review cite { font-style: normal; font-size: .78rem; color: var(--faint); }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } }
.nl-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.email-mock { position: relative; margin: 0; background: #fff; color: #0b1622; border-radius: 12px; border: 1px solid var(--border-strong); }
.em-head { padding: 12px 14px; border-bottom: 1px solid #e3e8ee; }
.em-head small { display: block; color: #5d6f82; font-size: .72rem; }
.em-head b { font-size: .88rem; }
.em-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.em-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; border-radius: 0 0 12px 12px; }
.em-body b { font-size: 1rem; }
.em-body .btn-mini { background: #0b1622; color: #fff; }
@media (max-width: 760px) { .nl-wrap { grid-template-columns: 1fr; } .email-mock { max-width: 380px; } }
.concepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.concept-card { padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.concept-card .eyebrow { margin-bottom: 6px; }
.concept-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.concept-card dl { margin: 0; display: grid; gap: 4px; }
.concept-card dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-top: 6px; }
.concept-card dd { margin: 0; color: #d0d9e3; font-size: .88rem; line-height: 1.45; }
@media (max-width: 900px) { .concepts { grid-template-columns: 1fr; } }
.market-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: #d0d9e3; }

/* Report tables become one card per row on phones; each cell shows its column name. */
@media screen and (max-width: 639px) {
  .table-wrap:has(.table-stack) { border: 0; overflow: visible; }
  .table-stack { min-width: 0; }
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 6px 14px; margin-bottom: 10px; }
  .table-stack td { display: grid; grid-template-columns: minmax(96px, 38%) 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); }
  .table-stack tr td:last-child { border-bottom: 0; }
  .table-stack td::before { content: attr(data-label); color: var(--faint); font-size: .76rem; font-weight: 600; }
  .table-stack td[data-label=""] { font-weight: 600; grid-template-columns: 1fr; }
  .table-stack td[data-label=""]::before { content: none; }
}
.ad-none { display: grid; place-content: center; text-align: center; gap: 6px; min-height: 220px; border: 1px dashed var(--border-strong); border-radius: 12px; padding: 20px; color: var(--muted); }
.ad-none p { margin: 0; }

/* ---------- Dashboard ---------- */
.dash { padding-top: var(--header-h); min-height: 100vh; }
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding-top: 32px; padding-bottom: 64px; }
.dash-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 4px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; }
.dash-nav a:hover { background: rgba(255,255,255,.04); color: var(--text); text-decoration: none; }
.dash-nav a[aria-current="page"] { background: var(--mint-soft); color: var(--mint); }
.dash-nav .who { font-size: .8rem; color: var(--faint); padding: 0 14px 14px; word-break: break-all; }
.dash-main h1 { font-size: 1.8rem; }
.swap-form { flex-basis: 100%; display: grid; gap: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.swap-form[hidden] { display: none; }
.swap-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .swap-fields { grid-template-columns: 1fr; } }
.dash-main section > * + * { margin-top: 18px; }
.dash-main [data-trial-block] > .card + .card { margin-top: 18px; }
.list { display: grid; gap: 10px; }
.list-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.015); }
.list-item .meta { color: var(--faint); font-size: .82rem; }
.list-item .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.comp-row { display: grid; grid-template-columns: 28px 1fr 1fr auto; gap: 10px; align-items: center; }
.comp-row .pos { color: var(--faint); font-weight: 600; text-align: center; }
.comp-row.over { opacity: .55; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent; color: var(--muted); cursor: pointer; display: inline-grid; place-items: center; }
.icon-btn:hover { color: var(--text); border-color: var(--mint); }
.report-viewer { width: 100%; min-height: 70vh; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 18px; font-size: .95rem; }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; }
.loader { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--mint); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .dash-layout { grid-template-columns: 1fr; gap: 16px; }
  .dash-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .dash-nav .who { display: none; }
  .dash-nav a { white-space: nowrap; padding: 9px 12px; border: 1px solid var(--border); }
  .comp-row { grid-template-columns: 24px 1fr auto; }
  .comp-row .input.site { grid-column: 2 / 3; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 24px) var(--gutter) 64px; background: var(--bg) url("/images/hero-mobile-sm.webp") center bottom / cover no-repeat; position: relative; }
.notfound::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,11,18,.9) 30%, rgba(6,11,18,.55)); }
.notfound > div { position: relative; }
.notfound .code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 700; line-height: 1; color: var(--mint); text-shadow: 0 0 40px rgba(44,227,195,.45); }

/* ---------- Print (sample report PDF) ---------- */
@media print {
  .site-header, .site-footer, .no-print, .skip-link { display: none !important; }
  @page { margin: 14mm 12mm; }
  :root { color-scheme: light; --text: #0b1622; --muted: #44566a; --faint: #5d6f82; --surface: #fff; --surface-2: #f1f5f8; --border: #d8e0e8; --border-strong: #cfd8e2; --mint-soft: #e6faf6; }
  html, body { background: #fff !important; color: #0b1622; font-size: 10pt; }
  main .container { padding: 0; }
  .sr-head { padding-top: 0; }
  .ad-grid { grid-template-columns: repeat(3, minmax(0, 200px)) !important; max-width: none !important; }
  .concepts { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .review-grid, .trend-table { grid-template-columns: 1fr 1fr !important; }
  .report-meta { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lp-wrap { grid-template-columns: 360px 1fr !important; }
  .nl-wrap { grid-template-columns: 1fr 220px !important; }
  .table { min-width: 0; font-size: 8.5pt; }
  .report-section { padding: 10px 0; border-color: #d8e0e8; }
  .table th, .table td { padding: 5px 8px; line-height: 1.35; }
  .report-section > header, .report-section > .source { break-after: avoid; }
  .table-wrap, .trend-table, .review-grid { break-before: avoid; }
  .report-section, .card, .table-wrap, .trend-table, .review-grid, .ad-grid, .concepts, .market-list, .lp-wrap, .nl-wrap, .action, .table tr, .ad-mock, .ad-none, .lp-mock, .email-mock, .concept-card, .review, .trend-table li, .report-meta, .sr-head { break-inside: avoid; page-break-inside: avoid; }
  /* Tighter trending grid so sections 03 and 04 can share a page; sections flow and never split. */
  .trend-table { gap: 4px 10px; }
  .trend-table li { grid-template-columns: 20px 32px 1fr; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 8px; }
  .trend-table .t-img img { width: 32px; height: 32px !important; border-radius: 6px; }
  .trend-table b { font-size: 8.5pt; }
  .trend-table div span { font-size: 7.5pt; line-height: 1.3; }
  .sr-pdfs, .sr-tabs { display: none !important; }
  .report-meta div, .card, .concept-card, .review, .trend-table li, .table-wrap, .sr-comps li { background: #fff; border-color: #d8e0e8; }
  .table thead th { background: #f1f5f8; color: #0b1622; }
  .table th, .table td { border-color: #e1e7ee; }
  .muted, .source, .report-meta dt, .action p, .trend-table div span, .review cite, .sr-disclaimer, .lp-wrap > p { color: #44566a !important; }
  .review p, .concept-card dd, .market-list, .sr-comps li { color: #1d2b3a !important; }
  .report-section h3 .idx, .eyebrow, .concept-card dt, .trend-table .rank { color: #0f8a74 !important; }
  .tag { background: #e6faf6; color: #0f7d6a; border-color: #b7eee3; }
  .tag-warn { background: #fff4dc; color: #8a5a00; border-color: #f3d48c; }
  .ex { background: #fff; color: #44566a; border-color: #cfd8e2; }
  a { color: #0f7d6a; }
}
