:root {
  color-scheme: dark;
  --void: #05070c;
  --night: #0b1018;
  --panel: #111821;
  --panel-2: #161f2b;
  --line: rgba(182, 199, 224, 0.14);
  --line-strong: rgba(182, 199, 224, 0.26);
  --text: #f3f6fb;
  --text-soft: #c4cfdd;
  --muted: #7d8899;
  --green: #20c997;
  --blue: #2aa8ff;
  --violet: #8f64ff;
  --gold: #f3c969;
  --red: #ff5f75;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --max: 1180px;
  --section-y: clamp(56px, 8vw, 96px);
  --section-y-tight: clamp(32px, 5vw, 56px);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--void);
  color: var(--text);
}

:root[data-theme="light"] {
  color-scheme: light;
  --void: #f5f7fb;
  --night: #ffffff;
  --panel: #ffffff;
  --panel-2: #edf2f8;
  --line: rgba(19, 29, 45, 0.14);
  --line-strong: rgba(19, 29, 45, 0.26);
  --text: #111827;
  --text-soft: #2d3748;
  --muted: #65748a;
  --shadow: 0 24px 70px rgba(21, 31, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(42, 168, 255, 0.14), transparent 32rem),
    radial-gradient(circle at 42% 18%, rgba(143, 100, 255, 0.12), transparent 26rem),
    var(--void);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--panel);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--void) 86%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(42, 168, 255, 0.52);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(32, 201, 151, 0.22), transparent),
    radial-gradient(circle at 65% 20%, rgba(42, 168, 255, 0.65), rgba(17, 24, 33, 0.9));
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 0 34px rgba(42, 168, 255, 0.24);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.terminal-top button {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--panel) 76%, transparent);
  color: var(--text);
}

.theme-icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset -6px -4px 0 var(--green);
}

.nav-toggle {
  display: none;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(42, 168, 255, 0.48);
  border-radius: var(--radius);
  padding: 0 18px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #031017;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 18px 48px rgba(42, 168, 255, 0.17);
}

.button-secondary {
  background: color-mix(in srgb, var(--panel) 74%, transparent);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding-inline: 14px;
}

.hero {
  display: grid;
  justify-items: center;
  min-height: min(72vh, 760px);
  padding: clamp(72px, 9vw, 110px) 20px var(--section-y-tight);
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--blue);
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero p:not(.eyebrow),
.section-heading p,
.terminal-copy p,
.contact-section p,
.site-footer p {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.62;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.scope-chips,
.coverage-toolbar div,
.signal-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.scope-chips {
  margin-top: 26px;
}

.scope-chips span,
.coverage-toolbar button,
.signal-controls button,
.badge {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  width: min(820px, 100%);
  margin: -18px auto 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  filter: drop-shadow(0 40px 80px rgba(42, 168, 255, 0.16));
}

.coverage-section,
.section,
.freshness-section,
.scale-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-top: var(--section-y);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.56fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading.center {
  display: block;
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}

.section-heading.center p {
  margin-inline: auto;
}

.coverage-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 28px 0 12px;
}

input[type="search"],
input[type="email"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  color: var(--text);
}

.matrix-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: var(--shadow);
}

.coverage-matrix,
.market-terminal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.coverage-matrix {
  min-width: 900px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 16px 14px;
  text-align: left;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--panel-2) 96%, transparent);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

td,
tbody th {
  color: var(--text-soft);
}

tbody th {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

tbody th strong,
tbody th small,
td strong,
td span {
  display: block;
}

tbody th strong {
  color: var(--text);
}

tbody th small,
td span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.source-dot {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(42, 168, 255, 0.58);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--green), var(--blue));
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
}

.badge-delay {
  border-color: rgba(243, 201, 105, 0.28);
  background: rgba(243, 201, 105, 0.1);
  color: var(--gold);
}

.badge-free {
  border-color: rgba(32, 201, 151, 0.28);
  background: rgba(32, 201, 151, 0.1);
  color: var(--green);
}

.badge-premium {
  border-color: rgba(143, 100, 255, 0.3);
  background: rgba(143, 100, 255, 0.12);
  color: #cbb8ff;
}

.freshness-grid,
.stat-grid,
.post-grid,
.offer-grid {
  display: grid;
  gap: 14px;
}

.freshness-grid {
  grid-template-columns: repeat(6, 1fr);
}

.freshness-card,
.signal-card,
.post-card,
.market-terminal,
.premium-section,
.contact-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  box-shadow: var(--shadow);
}

.freshness-card {
  min-height: 126px;
  padding: 18px;
}

.freshness-card span,
.freshness-card small,
.offer-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.freshness-card strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 17px;
}

.scale-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: 40px;
  align-items: center;
}

.stat-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stat-grid p {
  margin: 0;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.stat-grid strong {
  display: block;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.stat-grid span {
  color: var(--muted);
  font-size: 13px;
}

.signal-controls {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.signal-controls input {
  max-width: 280px;
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-card {
  padding: 18px;
}

.profile {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.avatar,
.post-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #031017;
  font-weight: 900;
}

.avatar {
  width: 58px;
  height: 58px;
}

.profile p {
  margin: 0 0 4px;
  color: var(--muted);
}

.signal-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-card li {
  display: grid;
  grid-template-columns: 72px minmax(180px, 1fr) 64px minmax(130px, 0.7fr) minmax(110px, 0.7fr) minmax(100px, 0.6fr);
  gap: 12px;
  align-items: center;
  min-height: 54px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 14px;
}

.ticker,
.signal-card strong,
.positive {
  color: var(--green);
}

.negative {
  color: var(--red);
}

.post-grid {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  display: grid;
  min-height: 320px;
  padding: 20px;
}

.post-head {
  display: flex;
  gap: 12px;
}

.post-avatar {
  width: 52px;
  height: 52px;
  background: var(--blue);
}

.post-head strong,
.post-head span {
  display: block;
}

.post-head span {
  color: var(--muted);
}

.post-card p {
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
}

.stock-chip {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(120px, 0.6fr);
  gap: 10px;
  align-items: center;
  min-height: 82px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.stock-chip strong,
.stock-chip span {
  display: block;
}

.stock-chip span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 750;
}

.stock-chip svg {
  width: 100%;
  height: 56px;
}

.stock-chip path {
  fill: none;
  stroke: var(--green);
  stroke-width: 5;
  stroke-linecap: round;
}

.stock-chip.down path {
  stroke: var(--red);
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.market-terminal {
  overflow: hidden;
  padding: 24px;
}

.terminal-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.terminal-top small {
  color: var(--muted);
}

.terminal-top h3 {
  margin: 8px 0 0;
}

.terminal-top button {
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: baseline;
  margin: 18px 0 10px;
}

.price-row strong {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.price-row span {
  font-size: 20px;
  font-weight: 850;
}

.chart {
  height: 290px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(182, 199, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 199, 224, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.chart svg {
  width: 100%;
  height: 100%;
}

.chart .grid {
  stroke: var(--line);
  stroke-width: 1;
}

.chart .area {
  fill: url("#chartFill");
}

.chart .line {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
}

.premium-section {
  padding: 34px;
}

.offer-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 24px;
}

.offer-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.offer-grid p {
  color: var(--text-soft);
  line-height: 1.6;
}

.contact-section {
  padding: 42px;
  text-align: center;
}

.contact-section p,
.contact-section h2 {
  margin-inline: auto;
}

.contact-section form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(620px, 100%);
  margin: 28px auto 0;
  text-align: left;
}

.contact-section label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  width: min(var(--max), calc(100% - 40px));
  margin: 96px auto 0;
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  color: var(--text-soft);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: end;
}

.site-footer small {
  grid-column: 1 / -1;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: inline-grid;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions {
    justify-self: end;
  }

  .button-small {
    display: none;
  }

  .coverage-toolbar,
  .section-heading,
  .scale-section,
  .platform-section,
  .post-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .coverage-toolbar div,
  .signal-controls {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .freshness-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .signal-card li {
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 10px 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 14px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero p:not(.eyebrow),
  .section-heading p,
  .terminal-copy p,
  .contact-section p {
    font-size: 16px;
  }

  .freshness-grid,
  .stat-grid,
  .contact-section form {
    grid-template-columns: 1fr;
  }

  .coverage-section,
  .section,
  .freshness-section,
  .scale-section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .post-card {
    min-height: 300px;
  }

  .stock-chip {
    grid-template-columns: 1fr;
  }

  .market-terminal,
  .premium-section,
  .contact-section {
    padding: 18px;
  }

  .chart {
    height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
