:root {
  --fixed-header: 130px;
  --top-logo-x: -7px;
  --footer-logo-x: -7px;
  --market-read-bg-opacity: 0.70;
  --hero-candles-opacity: 0.57;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --card: #ffffff;
  --text: #101827;
  --text-soft: #65748a;
  --line: #dfe6f0;
  --blue: #6878ff;
  --blue-2: #94a4ff;
  --green: #43a65a;
  --red: #e96767;
  --orange: #c5963d;
  --gold: #d6ad44;
  --gold-bg: rgba(214, 173, 68, 0.12);
  --shadow: 0 16px 36px rgba(15, 27, 46, 0.07);
  --radius: 14px;
  --container: 1440px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  --bg: #07111f;
  --bg-soft: #0b1525;
  --card: #0d192d;
  --text: #edf4ff;
  --text-soft: #a4b2c7;
  --line: rgba(145, 165, 193, 0.18);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

html.theme-animating,
html.theme-animating body,
html.theme-animating .top-shell,
html.theme-animating .site-nav,
html.theme-animating .card,
html.theme-animating .footer,
html.theme-animating .premium,
html.theme-animating .btn,
html.theme-animating .theme-toggle,
html.theme-animating .theme-knob,
html.theme-animating .theme-icon,
html.theme-animating .footer-logo img,
html.theme-animating .brand img {
  transition:
    background-color 360ms ease,
    color 360ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease,
    filter 360ms ease,
    opacity 360ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  padding-top: var(--fixed-header);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  transition: all 0.15s ease-in-out;
}

.tabular-data {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

main {
  position: relative;
  z-index: 3;
  background: var(--bg);
}

.top-shell {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: #061224;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .top-shell {
  background: #ffffff;
}

.market-strip {
  height: 54px;
  background: #061224;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
  overflow-y: hidden;
  color: #ffffff;
}

.ticker {
  min-width: 1260px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  height: 100%;
}

.ticker-item {
  padding: 6px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
}

.ticker-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 15px;
}

.ticker-label {
  font-size: 11px;
  font-weight: 700;
  color: #c9d4e5;
}

.ticker-value {
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.ticker-spark {
  width: 38px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.92;
}

.ticker-spark polyline {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ticker-spark.up-line polyline {
  stroke: #60d47d;
}

.ticker-spark.down-line polyline {
  stroke: #ff7b7b;
}

.up {
  color: #60d47d;
}

.down {
  color: #ff6b6b;
}

.site-nav {
  height: 76px;
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;
}

html[data-theme="light"] .site-nav {
  background: rgba(255, 255, 255, 0.96);
  color: #101827;
  border-bottom: 1px solid #dfe6f0;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 340px;
}

.brand img {
  width: 340px;
  height: auto;
  object-fit: contain;
  transform: translateX(var(--top-logo-x));
}

html[data-theme="light"] .brand img {
  filter: invert(1);
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

.nav-links a {
  position: relative;
  color: #f2f6ff;
  font-size: 15px;
  font-weight: 650;
  padding: 26px 0;
  white-space: nowrap;
}

html[data-theme="light"] .nav-links a {
  color: #172033;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.btn {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 180ms ease, border-color 180ms ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.12);
}

html[data-theme="light"] .btn-outline {
  color: #101827;
  border-color: #d8e0ee;
  background: #ffffff;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(107, 124, 255, 0.28);
}

.theme-toggle {
  position: relative;
  width: 84px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  cursor: pointer;
  background: #0d1626;
  color: #ffffff;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 10px 26px rgba(0,0,0,0.18);
}

html[data-theme="light"] .theme-toggle {
  background: #ffffff;
  color: #101827;
  border-color: #d8e0ee;
  box-shadow: 0 10px 26px rgba(15, 27, 46, 0.07);
}

.theme-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.theme-icon {
  position: relative;
  z-index: 3;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: rgba(255,255,255,0.46);
}

html[data-theme="light"] .theme-icon {
  color: rgba(16,24,39,0.42);
}

.theme-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffffff;
  z-index: 1;
  transition: transform 220ms ease, background-color 220ms ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

html[data-theme="dark"] .theme-knob {
  transform: translateX(44px);
  background: #050b14;
}

html[data-theme="light"] .theme-knob {
  transform: translateX(0);
  background: #ffffff;
}

html[data-theme="light"] .theme-icon.sun {
  color: #111111;
  transform: scale(1.05);
}

html[data-theme="dark"] .theme-icon.moon {
  color: #ffffff;
  transform: scale(1.05);
}

.hero,
html[data-theme="light"] .hero,
html[data-theme="dark"] .hero {
  position: relative;
  overflow: hidden;
  min-height: 630px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 12, 25, 0.96) 0%, rgba(4, 12, 25, 0.78) 42%, rgba(4, 12, 25, 0.48) 100%),
    #040c19;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.16;
  pointer-events: none;
}

.hero-candles {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../png/noise-to-candles.png");
  background-repeat: no-repeat;
  background-size: 99vw auto;
  background-position: 0% calc(57% + 90px);
  background-attachment: fixed;
  opacity: var(--hero-candles-opacity);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 630px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: start;
  padding: 44px 0 54px;
}

.eyebrow {
  margin-bottom: 22px;
  color: #a9beff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 730px;
  font-size: clamp(40px, 3.45vw, 63px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0.03em;
  word-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 .accent {
  color: var(--blue-2);
  display: block;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 34px;
  font-size: 18px;
  line-height: 1.72;
  font-weight: 500;
  color: rgba(239,244,255,0.92);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 34px;
}

.hero-actions .btn {
  min-height: 60px;
  padding-inline: 30px;
  font-size: 15px;
}

.hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.02);
}

.hero-proof {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: #dfe8f8;
  font-size: 14px;
  font-weight: 600;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.proof-item i {
  color: #90abff;
  font-size: 18px;
  width: 18px;
  text-align: center;
}

.market-card {
  width: min(100%, 606px);
  margin-top: 24px;
  margin-left: auto;
  background: rgb(6 20 42 / var(--market-read-bg-opacity));
  border: 1px solid rgba(151, 180, 233, 0.18);
  border-radius: 15px;
  padding: 24px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 22px 52px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.market-card h2 {
  margin: 0 0 15px;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.read-row {
  display: grid;
  grid-template-columns: 29px minmax(125px, 1fr) 54px minmax(190px, auto);
  align-items: center;
  min-height: 61px;
  margin-bottom: -1px;
  padding: 0 13px;
  border: 1px solid rgba(151, 180, 233, 0.12);
  background: rgb(9 25 53 / 0.24);
}

.read-row:first-of-type {
  border-radius: 11px 11px 0 0;
}

.read-row:last-of-type {
  border-radius: 0 0 11px 11px;
  margin-bottom: 15px;
}

.read-icon {
  display: grid;
  place-items: center;
  color: #e4edff;
  font-size: 17px;
}

.read-label {
  font-size: 15px;
  font-weight: 700;
  color: #f3f7ff;
}

.read-score {
  justify-self: center;
  min-width: 42px;
  color: #eaf1ff;
  font-size: 22px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.read-score.good {
  color: #8bd96f;
}

.read-score.neutral {
  color: #f2c85f;
}

.read-score.caution {
  color: #ff9d5c;
}

.spark {
  width: 128px;
  height: 25px;
}

.spark polyline {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spark.blue polyline {
  stroke: #6b8cff;
}

.spark.green polyline {
  stroke: #8bd96f;
}

.spark.white polyline {
  stroke: #dde7fb;
}

.status {
  justify-self: end;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.status.good,
.status.tech {
  color: #8bd96f;
}

.status.neutral {
  color: #f2c85f;
}

.status.caution {
  color: #ff9d5c;
}

.status.moderate {
  color: #e6c865;
}

.status.good {
  color: #8bd96f;
}

.status.neutral {
  color: #edf4ff;
}

.status.tech {
  color: #9bb4ff;
}

.market-note {
  margin: 0;
  color: #dbe4f2;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.section {
  padding: 42px 0;
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: 0.04em;
  word-spacing: 0.1em;
  text-transform: uppercase;
}

.section-subtitle {
  margin: 10px 0 0;
  text-align: center;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0 0 4px;
  font-size: 26px;
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: 0.04em;
  word-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
}

.text-link {
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 180ms ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
}

html[data-theme="light"] .card:hover {
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08), 0 4px 8px -4px rgba(0, 0, 0, 0.03);
}

html[data-theme="dark"] .card {
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-crown {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid rgba(221,178,75,0.18);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.path-grid {
  width: min(1160px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.path-card {
  min-height: 194px;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 22px;
  align-items: center;
  position: relative;
}

.path-icon {
  font-size: 62px;
  color: var(--blue);
  display: grid;
  place-items: center;
}

.path-icon.green {
  color: #53ae57;
}

.path-card h3,
.tool-card h3,
.pulse-card h3,
.step-card h3,
.premium-tool h3,
.diff-item h3 {
  font-weight: 650;
  letter-spacing: 0.01em;
}

.path-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.path-card p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  max-width: 440px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tool-card {
  min-height: 210px;
  padding: 28px 24px;
  position: relative;
}

.tool-card .tool-icon {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 38px;
  color: var(--blue);
}

.tool-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.tool-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.72;
  font-weight: 500;
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pulse-card {
  min-height: 236px;
  padding: 22px 20px 18px;
  position: relative;
  overflow: hidden;
}

.pulse-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.pulse-card h3 {
  margin: 0;
  font-size: 20px;
  text-transform: uppercase;
}

.pulse-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.state-dot.green {
  background: var(--green);
}

.state-dot.red {
  background: var(--red);
}

.pulse-meta {
  font-size: 14px;
  font-weight: 600;
  color: #4ca75c;
}

.pulse-meta.orange {
  color: var(--orange);
}

.pulse-value {
  margin: 5px 0 2px;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #33a657;
  font-variant-numeric: tabular-nums;
}

.pulse-value.orange {
  color: var(--orange);
}

.pulse-caption {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}

.map-wrap {
  position: absolute;
  right: 14px;
  top: 50px;
  width: 168px;
  height: 104px;
  opacity: 0.9;
  pointer-events: none;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.45) contrast(0.78);
  opacity: 0.72;
}

html[data-theme="dark"] .map-image {
  filter: grayscale(1) brightness(1.35) contrast(0.82);
  opacity: 0.78;
}

.map-dot-open,
.map-dot-closed {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.28);
  z-index: 2;
  transform: translate(-50%, -50%);
}

.map-dot-open {
  background: var(--green);
}

.map-dot-closed {
  background: var(--red);
}

.asia-dot {
  left: 70%;
  top: 56%;
}

.eu-dot {
  left: 49%;
  top: 45%;
}

.us-dot {
  left: 73%;
  top: 38%;
}

.pulse-line {
  position: absolute;
  right: 18px;
  bottom: 48px;
  width: 150px;
  height: 38px;
}

.pulse-line polyline {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-line.green polyline {
  stroke: #56a94d;
}

.pulse-line.orange polyline {
  stroke: var(--orange);
}

.signal {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.signal-dots {
  display: inline-flex;
  gap: 8px;
}

.signal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c6ced9;
}

html[data-theme="dark"] .signal-dots span {
  background: #4b5a71;
}

.signal-dots .on-green {
  background: #4fa95b;
}

.signal-dots .on-orange {
  background: var(--orange);
}

.steps-title {
  margin: 0 0 13px;
  font-size: 18px;
  font-weight: 650;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  align-items: center;
}

.step-card {
  min-height: 110px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
}

.step-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #ffffff;
  background: var(--blue);
}

.step-icon.purple {
  background: #6a34d7;
}

.step-icon.green {
  background: #38a653;
}

.step-icon.orange {
  background: #f06b30;
}

.step-card h3 {
  margin: 0 0 3px;
  font-size: 14px;
}

.step-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-soft);
  font-weight: 500;
}

.step-arrow {
  text-align: center;
  font-size: 24px;
  font-weight: 650;
  color: var(--text-soft);
}

.premium {
  background: #fbf7ee;
  border-top: 1px solid #e7dcc0;
  border-bottom: 1px solid #e7dcc0;
}

html[data-theme="dark"] .premium {
  background: linear-gradient(180deg, #131007, #0c1422);
  border-top-color: rgba(221,178,75,0.18);
  border-bottom-color: rgba(221,178,75,0.18);
}

.premium-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 70px;
  align-items: start;
}

.premium-intro .crown-large {
  margin-bottom: 10px;
  font-size: 28px;
  color: var(--gold);
}

.premium-intro h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: 0.04em;
  word-spacing: 0.1em;
  text-transform: uppercase;
}

.premium-intro p {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

.premium-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 56px;
}

.premium-tool {
  display: grid;
  grid-template-columns: 26px 1fr 16px;
  gap: 12px;
  align-items: start;
  min-height: 58px;
}

.premium-tool > i:first-child {
  color: var(--blue);
  font-size: 20px;
  margin-top: 2px;
}

.premium-tool .lock {
  color: var(--gold);
  font-size: 13px;
  margin-top: 3px;
}

.premium-tool h3 {
  margin: 0 0 3px;
  font-size: 14px;
}

.premium-tool p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-soft);
  font-weight: 500;
}

.difference {
  border-bottom: 1px solid var(--line);
}

.difference-grid {
  display: grid;
  grid-template-columns: 260px repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.difference h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: 0.04em;
  word-spacing: 0.1em;
  text-transform: uppercase;
}

.diff-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
}

.diff-item i {
  font-size: 30px;
  color: var(--blue);
}

.diff-item h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.diff-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-soft);
  font-weight: 500;
}

.footer {
  position: relative;
  z-index: 3;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 300px repeat(5, 1fr);
  gap: 36px;
  padding: 40px 0 34px;
}

.footer-copy {
  margin: 16px 0 24px;
  max-width: 240px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}

.footer-logo img {
  width: 280px;
  height: auto;
  transform: translateX(var(--footer-logo-x));
  filter: invert(1);
}

html[data-theme="dark"] .footer-logo img {
  filter: none;
}

.socials {
  display: flex;
  gap: 16px;
  font-size: 20px;
  color: var(--text);
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 650;
}

.footer-col a {
  display: block;
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-row {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

img:not(.brand img):not(.footer-logo img) {
  border-radius: 8px;
  transition: filter 0.3s ease;
}

html[data-theme="dark"] img:not(.brand img):not(.footer-logo img) {
  filter: brightness(0.85) contrast(1.05);
}

html[data-theme="dark"] img:not(.brand img):not(.footer-logo img):hover {
  filter: brightness(1) contrast(1);
}

@media (min-width: 2400px) {
  :root {
    --hero-candles-opacity: 0.57;
  }

  .hero-candles {
    background-size: 99vw auto;
    background-position: 0% calc(57% + 90px);
  }
}

@media (max-width: 1260px) {
  :root {
    --top-logo-x: -12px;
    --footer-logo-x: -12px;
  }

  .brand {
    min-width: 280px;
  }

  .brand img {
    width: 280px;
  }

  .nav-links {
    gap: 24px;
  }

  .tool-grid,
  .pulse-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-grid,
  .difference-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }

  .premium-tools {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  :root {
    --fixed-header: 186px;
    --top-logo-x: -10px;
    --footer-logo-x: -10px;
  }

  .site-nav {
    height: 132px;
  }

  .nav-inner {
    padding: 12px 0 10px;
    flex-wrap: wrap;
    align-content: center;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 240px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 24px;
    padding: 0 0 2px;
    border-top: 1px solid rgba(255,255,255,0.10);
  }

  html[data-theme="light"] .nav-links {
    border-top-color: #dfe6f0;
  }

  .nav-links a {
    padding: 10px 0 8px;
    font-size: 13px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(4, 12, 25, 0.76) 0%, rgba(4, 12, 25, 0.48) 56%, rgba(4, 12, 25, 0.22) 100%),
      linear-gradient(180deg, rgba(4, 12, 25, 0.10) 0%, rgba(4, 12, 25, 0.36) 100%);
    pointer-events: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 0 48px;
  }

  .hero-candles {
    background-size: 120vw auto;
    background-position: center top -25px;
    background-attachment: scroll;
    opacity: 0.77;
  }

  .market-card {
    margin: 0;
  }

  .path-grid,
  .tool-grid,
  .pulse-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 700px) {
  :root {
    --fixed-header: 161px;
    --top-logo-x: -8px;
    --footer-logo-x: -8px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .market-strip {
    height: 37px;
  }

  .ticker {
    min-width: 920px;
  }

  .ticker-item {
    padding: 4px 9px;
    gap: 1px;
  }

  .ticker-head {
    gap: 5px;
  }

  .ticker-label {
    font-size: 8px;
  }

  .ticker-value {
    font-size: 9px;
    gap: 4px;
  }

  .ticker-spark {
    width: 27px;
    height: 10px;
  }

  .site-nav {
    height: 124px;
    min-height: 124px;
  }

  .nav-inner {
    gap: 10px;
    padding: 8px 0 7px;
  }

  .brand img {
    width: 110px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-outline {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 11px;
  }

  .theme-toggle {
    width: 58px;
    height: 32px;
  }

  .theme-icon {
    height: 32px;
    font-size: 13px;
  }

  .theme-knob {
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
  }

  html[data-theme="dark"] .theme-knob {
    transform: translateX(26px);
  }

  .nav-links {
    gap: 18px;
    padding-top: 4px;
  }

  .nav-links a {
    font-size: 11px;
    padding: 6px 0 8px;
  }

  .nav-links a.active::after {
    height: 3px;
  }

  .hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  .hero::after {
    z-index: 1;
  }

  .hero-grid {
    position: relative;
    z-index: 2;
    gap: 20px;
    padding: 22px 0 34px;
  }

  .hero h1,
  .hero-copy,
  .eyebrow,
  .proof-item {
    text-shadow: 0 3px 18px rgba(0,0,0,0.82), 0 1px 2px rgba(0,0,0,0.92);
  }

  .hero-candles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 0;
    background-image: url("../png/noise-to-candles.png");
    background-repeat: no-repeat;
    background-size: 118vw auto;
    background-position: center top 110px;
    background-attachment: scroll;
    opacity: 0.77;
    pointer-events: none;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.14;
    letter-spacing: 0.03em;
    word-spacing: 0.08em;
  }

  .hero-copy {
    margin: 18px 0 20px;
    font-size: 13px;
    line-height: 1.62;
    max-width: 96%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 44px;
    padding-inline: 14px;
    font-size: 12px;
    border-radius: 8px;
  }

  .hero-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
  }

  .proof-item {
    gap: 8px;
  }

  .proof-item i {
    font-size: 14px;
    width: 14px;
  }

  .market-card {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: rgb(6 20 42 / var(--market-read-bg-opacity));
  }

  html[data-theme="dark"] .card {
    background: rgb(13 25 45 / 0.70);
  }

  .market-card h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .read-row {
    grid-template-columns: 22px 1fr 76px;
    gap: 6px;
    min-height: 49px;
    padding: 6px 8px;
  }

  .read-icon {
    font-size: 13px;
  }

  .read-label {
    font-size: 12px;
  }

  .spark {
    width: 74px;
    height: 20px;
    justify-self: end;
  }

  .spark polyline {
    stroke-width: 2.2;
  }

  .status {
    grid-column: 2 / 4;
    justify-self: start;
    font-size: 10px;
    margin-top: -6px;
  }

  .market-note {
    font-size: 11px;
    line-height: 1.55;
  }

  .section {
    padding: 32px 0;
  }

  .section-title {
    font-size: 19px;
    letter-spacing: 0.05em;
  }

  .section-subtitle {
    font-size: 11px;
    line-height: 1.55;
  }

  .section-head {
    align-items: flex-start;
    margin-bottom: 14px;
  }

  .section-head h2 {
    font-size: 18px;
    letter-spacing: 0.04em;
  }

  .section-head p {
    font-size: 11px;
  }

  .text-link {
    font-size: 10px;
    gap: 5px;
  }

  .path-grid {
    gap: 14px;
    margin-top: 18px;
  }

  .path-card {
    min-height: auto;
    grid-template-columns: 46px 1fr;
    padding: 18px 16px;
    gap: 14px;
  }

  .path-icon {
    font-size: 34px;
    align-self: start;
  }

  .path-card h3 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .path-card p {
    font-size: 11px;
    line-height: 1.55;
    margin-bottom: 8px;
  }

  .tool-grid {
    gap: 14px;
  }

  .tool-card {
    min-height: auto;
    padding: 18px 16px;
  }

  .tool-card .tool-icon {
    font-size: 25px;
    margin-bottom: 15px;
  }

  .tool-card h3 {
    font-size: 13px;
  }

  .tool-card p {
    font-size: 11px;
    line-height: 1.55;
  }

  .mini-crown {
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .pulse-grid {
    gap: 14px;
  }

  .pulse-card {
    min-height: 186px;
    padding: 16px 14px;
  }

  .pulse-card h3 {
    font-size: 15px;
  }

  .pulse-state {
    font-size: 10px;
  }

  .pulse-meta {
    font-size: 11px;
  }

  .pulse-value {
    font-size: 24px;
  }

  .pulse-caption {
    font-size: 11px;
  }

  .map-wrap {
    right: 10px;
    top: 52px;
    width: 104px;
    height: 72px;
  }

  .map-dot-open,
  .map-dot-closed {
    width: 8px;
    height: 8px;
    border-width: 1.5px;
  }

  .pulse-line {
    right: 12px;
    bottom: 40px;
    width: 94px;
    height: 28px;
  }

  .signal {
    left: 14px;
    bottom: 13px;
    font-size: 9px;
    gap: 6px;
  }

  .signal-dots {
    gap: 5px;
  }

  .signal-dots span {
    width: 5px;
    height: 5px;
  }

  .steps-title {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .steps-grid {
    gap: 8px;
  }

  .step-card {
    min-height: 72px;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 12px 14px;
  }

  .step-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .step-card h3 {
    font-size: 11px;
  }

  .step-card p {
    font-size: 9px;
    line-height: 1.45;
  }

  .step-arrow {
    font-size: 16px;
    line-height: 1;
  }

  .premium-grid {
    gap: 24px;
  }

  .premium-intro h2 {
    font-size: 20px;
  }

  .premium-intro p {
    font-size: 12px;
  }

  .premium-tools {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .difference-grid {
    gap: 18px;
  }

  .difference h2 {
    font-size: 17px;
  }

  .diff-item {
    grid-template-columns: 30px 1fr;
  }

  .diff-item i {
    font-size: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 26px 24px;
    padding: 30px 0;
  }

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-logo img {
    width: 190px;
  }

  .footer-copy {
    max-width: 100%;
    margin: 14px 0 18px;
  }

  .footer-col h3 {
    font-size: 13px;
  }

  .footer-col a {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .footer-bottom .container {
    align-items: flex-start;
    gap: 10px;
  }

  .legal-row {
    gap: 10px 14px;
  }
}

@media (max-width: 430px) {
  .section-head {
    align-items: center;
    gap: 10px;
  }

  .section-head h2 {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
    font-size: 13px;
    line-height: 1.12;
    letter-spacing: 0.045em;
    word-spacing: 0.02em;
    white-space: nowrap;
  }

  .section-head .text-link {
    flex: 0 0 auto;
    max-width: 42%;
    justify-content: flex-end;
    text-align: right;
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
  }

  .premium-intro h2 {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.15;
    letter-spacing: 0.055em;
    word-spacing: 0.02em;
    white-space: nowrap;
  }

  .premium-intro p {
    max-width: 96%;
    font-size: 11px;
    line-height: 1.55;
  }

  .premium-intro .btn {
    min-height: 42px;
    padding-inline: 18px;
    font-size: 12px;
    max-width: 245px;
  }

  .section-title {
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: 0.055em;
    word-spacing: 0.02em;
    white-space: nowrap;
  }

  .pulse-card h3 {
    font-size: 14px;
    letter-spacing: 0.05em;
  }

  .tool-card h3,
  .path-card h3,
  .premium-tool h3 {
    letter-spacing: 0.02em;
  }
}

@media (max-width: 390px) {
  .section-head h2 {
    font-size: 12px;
    letter-spacing: 0.035em;
  }

  .premium-intro h2 {
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .section-title {
    font-size: 14px;
    letter-spacing: 0.045em;
  }
}
