﻿:root {
  --ink: #18202a;
  --muted: #5f6c7b;
  --line: #d8e0e7;
  --paper: #f7f8f8;
  --surface: #ffffff;
  --teal: #1f8a7a;
  --teal-soft: #dff3ef;
  --coral: #d96a4b;
  --amber: #d6a545;
  --blue: #2f6f9f;
  --shadow: 0 20px 55px rgba(24, 32, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  gap: 10px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: rgba(247, 248, 248, .94);
  border-bottom: 1px solid rgba(216, 224, 231, .8);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.hero-actions,
.filter-bar,
.support-links {
  display: flex;
  align-items: center;
}

.brand {
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
}

.wordmark {
  font-size: 1.35rem;
  line-height: 1;
}
.main-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: .94rem;
}

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

.hero-section,
.section,
.legal-band,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 7vw, 84px) 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: 8rem;
  line-height: .86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 3.1rem;
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-text,
.section-heading p,
.split-section p,
.support-section p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.button,
.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
}

.button.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.button.secondary,
.filter-button {
  background: var(--surface);
  color: var(--ink);
}

.market-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel-topline,
.panel-metrics,
.intro-strip,
.radar-table [role="row"] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}

.panel-topline {
  grid-template-columns: 1fr auto;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.panel-topline strong {
  color: var(--ink);
}

.chart-preview {
  position: relative;
  min-height: 300px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(216, 224, 231, .45) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, rgba(216, 224, 231, .45) 1px, transparent 1px) 0 0 / 72px 72px,
    #fbfcfc;
}

.chart-preview svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 260px;
}

.grid-line {
  fill: none;
  stroke: #d8e0e7;
  stroke-width: 1;
}

.area-line {
  fill: url("#areaFill");
}

.price-line {
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-width: 7;
}

.zone {
  position: absolute;
  left: 9%;
  right: 11%;
  z-index: 1;
  border: 1px solid;
}

.zone-supply {
  top: 56px;
  height: 44px;
  background: rgba(217, 106, 75, .14);
  border-color: rgba(217, 106, 75, .36);
}

.zone-demand {
  bottom: 58px;
  height: 50px;
  background: rgba(31, 138, 122, .13);
  border-color: rgba(31, 138, 122, .34);
}

.signal {
  position: absolute;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 6px;
  color: white;
  font-size: .78rem;
  font-weight: 800;
}

.signal.buy {
  right: 22%;
  top: 62px;
  background: var(--teal);
}

.signal.sell {
  left: 21%;
  bottom: 70px;
  background: var(--coral);
}

.panel-metrics span {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: #fbfcfc;
  color: var(--muted);
  font-size: .9rem;
}

.panel-metrics strong {
  color: var(--ink);
  font-size: .78rem;
  text-transform: uppercase;
}

.section {
  padding: 74px 0;
}

.intro-strip {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.intro-strip div {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.intro-strip div:last-child {
  border-right: 0;
}

.intro-strip span {
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 2px;
  margin-bottom: 26px;
}

.filter-bar {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-button {
  padding: 8px 13px;
}

.filter-button.active,
.filter-button:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.catalog-grid,
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  min-height: 205px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-card p {
  color: var(--muted);
}

.product-card.is-hidden {
  display: none;
}

.product-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--teal-soft);
  color: #0f665b;
  font-size: .76rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.feature-list,
.topic-grid,
.support-links {
  gap: 10px;
}

.feature-list {
  display: grid;
}

.feature-list span,
.topic-grid span,
.support-links a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}


.topic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.radar-section {
  padding-top: 34px;
}

.radar-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.radar-table span {
  padding: 15px;
  border-bottom: 1px solid var(--line);
}

.radar-table [role="row"]:first-child span {
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.radar-table [role="row"]:last-child span {
  border-bottom: 0;
}

.support-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.support-links {
  flex-wrap: wrap;
}

.legal-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 40px 0 72px;
}

.legal-band article {
  padding: 18px;
  border-left: 4px solid var(--amber);
  background: #fffaf0;
}

.legal-band h2 {
  font-size: 1.1rem;
}

.legal-band p {
  color: #6c5a35;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 900px) {
  .main-nav {
    justify-content: flex-start;
  }

  .hero-section,
  .split-section,
  .support-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  h1 {
    font-size: 6.2rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .catalog-grid,
  .legal-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

  .intro-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .hero-section,
  .section,
  .legal-band,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .catalog-grid,
  .topic-grid,
  .legal-band,
  .panel-metrics,
  .radar-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .market-panel {
    min-width: 0;
  }

  .chart-preview {
    min-height: 245px;
    padding: 14px;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .chart-preview svg {
    height: 220px;
  }

  .radar-table [role="row"]:first-child {
    display: none;
  }

  .radar-table span {
    border-bottom: 0;
  }

  .radar-table [role="row"] {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .radar-table [role="row"]:last-child {
    border-bottom: 0;
  }
}

.profile-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 800;
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-link {
  display: grid;
  height: 100%;
  gap: 10px;
  padding: 14px;
}

.product-link:hover h3,
.product-link:focus-visible h3,
.product-link:hover strong,
.product-link:focus-visible strong {
  color: var(--teal);
}

.product-link strong {
  margin-top: auto;
  color: var(--blue);
  font-size: .86rem;
}

.product-shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(216, 224, 231, .55) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, rgba(216, 224, 231, .55) 1px, transparent 1px) 0 0 / 42px 42px,
    #fbfcfc;
}

.product-shot span {
  position: absolute;
  inset: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(31, 138, 122, .1), rgba(217, 106, 75, .08));
}

.product-shot svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.product-shot path,
.product-shot polyline {
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.product-shot path:first-child {
  stroke: rgba(95, 108, 123, .25);
  stroke-width: 1;
}

.product-shot rect,
.product-shot circle {
  fill: rgba(31, 138, 122, .18);
  stroke: rgba(31, 138, 122, .58);
  stroke-width: 2;
}

.shot-fvg rect,
.shot-blocks rect,
.shot-premium rect,
.shot-zones rect {
  fill: rgba(217, 106, 75, .13);
  stroke: rgba(217, 106, 75, .48);
}

.shot-volume rect,
.shot-pressure rect,
.shot-sessions rect,
.shot-matrix rect {
  fill: rgba(47, 111, 159, .16);
  stroke: rgba(47, 111, 159, .48);
}

.shot-sweep circle,
.shot-turtle circle,
.shot-pullback circle {
  fill: rgba(217, 106, 75, .28);
  stroke: var(--coral);
}

.product-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coming-soon {
  border-style: dashed;
}

.coming-soon .product-shot {
  opacity: .78;
}

.coming-soon .product-tag {
  background: #fff3d6;
  color: #8a5d12;
}

.coming-soon .product-link {
  cursor: default;
}

.coming-soon .product-link:hover h3,
.coming-soon .product-link:focus-visible h3,
.coming-soon .product-link:hover strong,
.coming-soon .product-link:focus-visible strong {
  color: var(--ink);
}

.education-section {
  border-top: 1px solid var(--line);
}

.education-tracks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.education-track {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.education-track p {
  color: var(--muted);
}

.track-label {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--teal-soft);
  color: #0f665b;
  font-size: .76rem;
  font-weight: 800;
}

.compact-topics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 4px;
}

.compact-topics span {
  min-height: 48px;
}

@media (max-width: 900px) {
  .education-tracks {
    grid-template-columns: 1fr;
  }
}







.education-subtracks {
  display: grid;
  gap: 18px;
}

.education-subtracks h4 {
  margin: 4px 0 10px;
  font-size: .95rem;
}



.education-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.education-pillar {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.pillar-heading {
  display: grid;
  gap: 8px;
}

.pillar-heading p,
.education-subcard p {
  color: var(--muted);
}

.education-subcards {
  display: grid;
  gap: 12px;
}

.education-subcard {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.education-subcard h4 {
  margin: 0 0 12px;
  font-size: .98rem;
}

@media (max-width: 900px) {
  .education-pillars {
    grid-template-columns: 1fr;
  }
}

.topic-link {
  display: block;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
}

.topic-link:hover,
.topic-link:focus-visible {
  border-color: rgba(31, 138, 122, .45);
  color: var(--teal);
}

.article-shell {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 80px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 800;
}

.article-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.article-section h1 {
  margin-bottom: 18px;
  font-size: 3.4rem;
  line-height: 1;
}

.article-section h2 {
  margin: 30px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.article-section p {
  color: var(--muted);
}

.article-lead {
  color: var(--ink) !important;
  font-size: 1.16rem;
}

.article-note {
  margin-top: 32px;
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  background: #fffaf0;
  color: #6c5a35 !important;
}

@media (max-width: 620px) {
  .article-section {
    padding: 22px;
  }

  .article-section h1 {
    font-size: 2.35rem;
  }
}

.article-visual {
  margin: 26px 0 30px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.visual-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.visual-heading strong {
  font-size: 1rem;
}

.visual-heading span,
.article-visual p {
  color: var(--muted);
}

.article-visual svg {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(216, 224, 231, .45) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, rgba(216, 224, 231, .45) 1px, transparent 1px) 0 0 / 56px 56px,
    #ffffff;
}

.article-visual text {
  fill: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.example-grid {
  fill: none;
  stroke: rgba(95, 108, 123, .22);
  stroke-width: 1;
}

.example-price {
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 7;
}

.example-price.thin {
  stroke: rgba(24, 32, 42, .5);
  stroke-width: 4;
}

.support-zone,
.resistance-zone,
.breakout-zone,
.channel-fill {
  fill: rgba(31, 138, 122, .12);
  stroke: rgba(31, 138, 122, .42);
  stroke-width: 2;
}

.resistance-zone,
.breakout-zone {
  fill: rgba(217, 106, 75, .13);
  stroke: rgba(217, 106, 75, .46);
}

.example-point {
  stroke: #fff;
  stroke-width: 3;
}

.example-point.bullish {
  fill: var(--teal);
}

.example-point.bearish {
  fill: var(--coral);
}

.channel-line,
.pattern-line {
  fill: none;
  stroke: var(--blue);
  stroke-dasharray: 8 8;
  stroke-linecap: round;
  stroke-width: 4;
}

.channel-line.muted {
  stroke: rgba(47, 111, 159, .55);
}

.ma-fast,
.ma-slow {
  fill: none;
  stroke-linecap: round;
  stroke-width: 5;
}

.ma-fast {
  stroke: var(--teal);
}

.ma-slow {
  stroke: var(--blue);
}

.candles line {
  stroke: rgba(24, 32, 42, .55);
  stroke-width: 3;
}

.candles rect,
.volume-bars rect {
  stroke-width: 0;
}

.candles .bull,
.volume-bars rect {
  fill: rgba(31, 138, 122, .72);
}

.candles .bear {
  fill: rgba(217, 106, 75, .72);
}

.pattern-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 28px;
}

.pattern-rules span {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  color: var(--muted);
}

.pattern-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.pattern-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.pattern-card span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: .74rem;
  font-weight: 800;
}

.bullish-card span {
  background: var(--teal-soft);
  color: #0f665b;
}

.bearish-card span {
  background: #fde6dc;
  color: #9b3f2d;
}

.pattern-card h3 {
  margin: 0;
}

.pattern-card p {
  margin-bottom: 0;
}

.pattern-card svg {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.mini-grid {
  fill: none;
  stroke: rgba(95, 108, 123, .2);
  stroke-width: 1;
}

.mini-price {
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.bearish-card .mini-price {
  stroke: var(--coral);
}

.neckline,
.pattern-boundary {
  fill: none;
  stroke: var(--blue);
  stroke-dasharray: 7 7;
  stroke-linecap: round;
  stroke-width: 3;
}

@media (max-width: 760px) {
  .pattern-pair,
  .pattern-rules {
    grid-template-columns: 1fr;
  }
}

.single-candle line,
.mini-candles line {
  stroke: rgba(24, 32, 42, .55);
  stroke-width: 3;
}

.single-candle rect,
.mini-candles rect {
  stroke-width: 0;
}

.single-candle .bull,
.mini-candles .bull {
  fill: rgba(31, 138, 122, .76);
}

.single-candle .bear,
.mini-candles .bear {
  fill: rgba(217, 106, 75, .76);
}

.candle-pair .pattern-card svg {
  max-height: 190px;
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

@media (max-width: 900px) {
  .header-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
.header-ticker {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.header-ticker .tradingview-widget-container,
.header-ticker .tradingview-widget-container__widget {
  min-height: 44px;
}

