:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-muted: #eef2f6;
  --surface-dark: #101318;
  --surface-dark-2: #171b22;
  --text: #12161c;
  --text-soft: #5d6875;
  --text-faint: #84909c;
  --border: #dce2e8;
  --border-strong: #c8d0d9;
  --brand: #2356d8;
  --brand-strong: #173fa9;
  --brand-soft: #e8eefc;
  --positive: #0d9f74;
  --positive-soft: #e2f5ef;
  --negative: #d84d56;
  --negative-soft: #fbe9eb;
  --warning: #b76b08;
  --warning-soft: #fff3d9;
  --shadow: 0 18px 45px rgba(22, 30, 42, 0.09);
  --shadow-small: 0 8px 24px rgba(22, 30, 42, 0.07);
  --radius: 8px;
  --header-height: 72px;
}

[data-theme="dark"] {
  --bg: #0f1217;
  --surface: #171b21;
  --surface-muted: #1e242c;
  --text: #f5f7fa;
  --text-soft: #aab4bf;
  --text-faint: #737e8a;
  --border: #2b323b;
  --border-strong: #3b4551;
  --brand-soft: #1d2b51;
  --positive-soft: #123a31;
  --negative-soft: #45252a;
  --warning-soft: #493619;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  --shadow-small: 0 8px 28px rgba(0, 0, 0, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

::selection {
  background: #cbd9ff;
  color: #0e1c3c;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  transform: translateY(-160%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 700;
}

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

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

.section {
  padding: 96px 0;
}

.section-compact {
  padding: 64px 0;
}

.section-muted {
  background: var(--surface-muted);
}

.section-dark {
  background: var(--surface-dark);
  color: #f7f9fb;
}

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

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

.section-heading > div {
  max-width: 720px;
}

.section-heading h2,
.page-intro h1,
.hero h1 {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: 0;
}

.display-heading {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-heading p,
.page-intro p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.section-dark .section-heading p,
.section-dark .text-soft {
  color: #aab3bd;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: currentColor;
  content: "";
}

.text-soft {
  color: var(--text-soft);
}

.text-small {
  font-size: 0.84rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 146px;
  height: 37px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.nav-links a {
  position: relative;
  padding: 25px 0 23px;
  color: var(--text-soft);
  font-size: 0.91rem;
  font-weight: 650;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--brand);
  content: "";
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

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

.icon-button,
.menu-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.icon-button:hover,
.menu-button:hover {
  border-color: var(--border-strong);
  background: var(--surface-muted);
}

.icon-button svg,
.menu-button svg {
  width: 18px;
  height: 18px;
}

.menu-button {
  display: none;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 18px;
  font-size: 0.91rem;
  font-weight: 750;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
}

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

.button-primary {
  background: var(--brand);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--brand-strong);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--surface-muted);
}

.button-dark {
  background: #f7f9fb;
  color: #11151a;
}

.button-dark:hover {
  background: #dfe5eb;
}

.button-ghost {
  background: transparent;
  border-color: color-mix(in srgb, currentColor 24%, transparent);
}

.button-wide {
  width: 100%;
}

.button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hero {
  padding: 78px 0 70px;
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px),
    var(--surface);
  background-size: 56px 56px;
}

.hero-copy {
  max-width: 820px;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
}

.hero h1 span {
  color: var(--brand);
}

.hero-copy > p {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--text-soft);
  list-style: none;
  font-size: 0.86rem;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-facts svg {
  width: 16px;
  height: 16px;
  color: var(--positive);
}

.platform-preview {
  position: relative;
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid #2a313b;
  border-radius: 10px;
  background: #11151a;
  color: #f5f7f9;
  box-shadow: 0 36px 80px rgba(15, 20, 28, 0.22);
}

.preview-topbar {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 18px;
  border-bottom: 1px solid #29303a;
  background: #151a20;
}

.preview-brand,
.preview-source {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #2356d8;
  color: #ffffff;
  font-weight: 850;
}

.preview-title {
  font-size: 0.83rem;
  font-weight: 750;
}

.preview-source {
  color: #8e99a5;
  font-size: 0.74rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warning);
}

.status-dot.live {
  background: #28c594;
  box-shadow: 0 0 0 4px rgba(40, 197, 148, 0.12);
}

.preview-layout {
  min-height: 430px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 260px;
}

.preview-watchlist,
.preview-ticket {
  padding: 18px;
  background: #151a20;
}

.preview-watchlist {
  border-right: 1px solid #29303a;
}

.preview-ticket {
  border-left: 1px solid #29303a;
}

.preview-panel-label {
  margin-bottom: 14px;
  color: #77828e;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #262d36;
}

.watch-row:last-child {
  border-bottom: 0;
}

.watch-pair {
  font-size: 0.79rem;
  font-weight: 750;
}

.watch-price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
}

.watch-change {
  grid-column: 2;
  margin-top: -5px;
  text-align: right;
  font-size: 0.7rem;
}

.positive {
  color: #2acb99 !important;
}

.negative {
  color: #ee6b73 !important;
}

.preview-chart-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #11151a;
}

.preview-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.preview-symbol {
  color: #8e99a5;
  font-size: 0.75rem;
}

.preview-price {
  margin-top: 3px;
  font-size: 1.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.segment-control {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 3px;
  padding: 3px;
  border: 1px solid #2a323c;
  border-radius: 6px;
  background: #171c22;
}

.segment-control button {
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #8e99a5;
  padding: 6px 9px;
  font-size: 0.69rem;
  font-weight: 750;
  cursor: pointer;
}

.segment-control button.active {
  background: #26303b;
  color: #ffffff;
}

.chart-stage {
  position: relative;
  min-height: 245px;
  flex: 1;
  margin-top: 18px;
  overflow: hidden;
  border-top: 1px solid #252c35;
  border-bottom: 1px solid #252c35;
  background:
    linear-gradient(#222933 1px, transparent 1px),
    linear-gradient(90deg, #222933 1px, transparent 1px);
  background-size: 20% 25%;
}

.chart-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: #4b7cff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area {
  fill: rgba(75, 124, 255, 0.13);
}

.chart-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #7f8a96;
  font-size: 0.78rem;
}

.chart-loading.hidden {
  display: none;
}

.chart-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  color: #7f8a96;
  font-size: 0.69rem;
}

.ticket-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.ticket-choice {
  padding: 9px;
  border: 1px solid #303844;
  border-radius: 5px;
  background: #11151a;
  color: #8e99a5;
  text-align: center;
  font-size: 0.73rem;
  font-weight: 800;
}

.ticket-choice.active {
  border-color: #2acb99;
  color: #2acb99;
}

.preview-field {
  margin-bottom: 12px;
}

.preview-field label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #828d99;
  font-size: 0.69rem;
}

.preview-value {
  padding: 9px 10px;
  border: 1px solid #303844;
  border-radius: 5px;
  background: #11151a;
  font-size: 0.76rem;
}

.preview-risk {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  padding-top: 14px;
  border-top: 1px solid #29303a;
  color: #8c97a3;
  font-size: 0.7rem;
}

.preview-cta {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: #2356d8;
  color: #ffffff;
  padding: 11px;
  font-size: 0.76rem;
  font-weight: 800;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.trust-item {
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 24px;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--brand);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  font-size: 0.91rem;
}

.trust-item span {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

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

.market-toolbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.market-source,
.market-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.market-status {
  color: var(--warning);
}

.market-status.is-live {
  color: var(--positive);
}

.market-table-wrap {
  overflow-x: auto;
}

.market-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.market-table th,
.market-table td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

.market-table th {
  color: var(--text-faint);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.market-table td {
  font-size: 0.87rem;
}

.market-table tbody tr:last-child td {
  border-bottom: 0;
}

.market-table tbody tr:hover {
  background: var(--surface-muted);
}

.instrument {
  display: flex;
  align-items: center;
  gap: 12px;
}

.instrument-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 850;
}

.instrument strong,
.instrument span {
  display: block;
}

.instrument span {
  color: var(--text-faint);
  font-size: 0.72rem;
}

.numeric {
  font-variant-numeric: tabular-nums;
}

.change-pill,
.source-pill,
.availability-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.71rem;
  font-weight: 750;
}

.change-pill.positive {
  background: var(--positive-soft);
}

.change-pill.negative {
  background: var(--negative-soft);
}

.source-pill {
  background: var(--surface-muted);
  color: var(--text-soft);
}

.availability-pill {
  background: var(--brand-soft);
  color: var(--brand);
}

.data-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 18px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.76rem;
}

.data-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
}

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

.feature {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
}

.feature h3,
.account-card h3,
.content-card h3 {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.2rem;
  line-height: 1.3;
}

.feature p,
.content-card p {
  margin: 11px 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.feature small {
  display: block;
  margin-top: 20px;
  color: var(--text-faint);
  font-size: 0.74rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.content-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.content-card-dark {
  background: var(--surface-dark-2);
  border-color: #2b333d;
  color: #f5f7fa;
}

.content-card-dark p {
  color: #a9b3bd;
}

.process-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.process-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
}

.process-number {
  color: var(--brand);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
}

.process-item h3,
.process-item p {
  margin: 0;
}

.process-item p {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.scenario-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}

.scenario-form {
  padding: 34px;
  border-right: 1px solid var(--border);
}

.scenario-results {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  background: var(--surface-dark);
  color: #f5f7fa;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  color: var(--text-soft);
  font-size: 0.77rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}

.result-primary {
  padding-bottom: 24px;
  border-bottom: 1px solid #2b323b;
}

.result-label {
  color: #89949f;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.result-value {
  margin-top: 8px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.result-cell {
  padding-bottom: 14px;
  border-bottom: 1px solid #2b323b;
}

.result-cell strong {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.risk-meter {
  margin-top: 24px;
}

.risk-track {
  position: relative;
  height: 8px;
  margin: 10px 0 8px;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(90deg, #2acb99 0 38%, #e4b949 38% 70%, #ee6b73 70%);
}

.risk-marker {
  position: absolute;
  top: -3px;
  width: 3px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: #ffffff;
}

.scenario-disclaimer {
  margin: 24px 0 0;
  color: #87929e;
  font-size: 0.72rem;
  line-height: 1.55;
}

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

.account-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.account-card.featured {
  border-color: var(--brand);
  box-shadow: inset 0 3px 0 var(--brand);
}

.account-badge {
  align-self: flex-start;
  margin-bottom: 20px;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.69rem;
  font-weight: 800;
}

.account-price {
  margin: 24px 0 20px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.account-price span {
  color: var(--text-faint);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 550;
}

.account-list {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.account-list li {
  display: flex;
  gap: 9px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.account-list svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--positive);
}

.account-card .button {
  margin-top: auto;
}

.page-intro {
  padding: 74px 0 62px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.page-intro h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.page-intro p {
  max-width: 700px;
}

.page-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.category-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.category-card svg {
  width: 24px;
  height: 24px;
  margin-bottom: 38px;
  color: var(--brand);
}

.category-card h3,
.category-card p {
  margin: 0;
}

.category-card h3 {
  font-size: 1.04rem;
}

.category-card p {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.category-card strong {
  display: block;
  margin-top: 20px;
  color: var(--text);
  font-size: 0.75rem;
}

.widget-shell {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.widget-fallback {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  color: var(--text-soft);
}

.tradingview-widget-container {
  width: 100%;
  min-height: 520px;
}

.tradingview-widget-container__widget {
  width: 100%;
  min-height: 490px;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.83rem;
}

.comparison-table th {
  background: var(--surface-muted);
  color: var(--text-soft);
  font-size: 0.71rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.about-statement {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.about-statement h2 {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.about-copy {
  display: grid;
  gap: 18px;
  color: var(--text-soft);
  font-size: 1rem;
}

.about-copy p {
  margin: 0;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.principle {
  padding: 30px 28px 30px 0;
  border-right: 1px solid var(--border);
}

.principle + .principle {
  padding-left: 28px;
}

.principle:last-child {
  border-right: 0;
}

.principle span {
  color: var(--brand);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
}

.principle h3,
.principle p {
  margin: 0;
}

.principle h3 {
  margin-top: 36px;
  font-size: 1.04rem;
}

.principle p {
  margin-top: 9px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 48px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form .button {
  justify-self: start;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.form-status.success {
  color: var(--positive);
}

.form-status.error {
  color: var(--negative);
}

.contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--brand);
}

.contact-item strong,
.contact-item span {
  display: block;
}

.contact-item span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 23px;
  right: 4px;
  content: "+";
  color: var(--brand);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 780px;
  margin: 0;
  padding: 0 0 22px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 38px;
  border-radius: var(--radius);
  background: var(--surface-dark);
  color: #f7f9fb;
}

.cta-band h2,
.cta-band p {
  margin: 0;
}

.cta-band h2 {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
}

.cta-band p {
  max-width: 650px;
  margin-top: 10px;
  color: #a9b2bd;
}

.cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.site-footer {
  padding: 68px 0 26px;
  background: #0f1217;
  color: #f4f6f8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 54px;
}

.footer-brand img {
  width: 146px;
  height: 37px;
}

.footer-brand p {
  max-width: 330px;
  margin: 18px 0 0;
  color: #9ca6b1;
  font-size: 0.83rem;
}

.footer-column h3 {
  margin: 0 0 18px;
  color: #7d8792;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: #c6cdd4;
  font-size: 0.82rem;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid #292f37;
  color: #77818b;
  font-size: 0.72rem;
}

.risk-disclosure {
  padding: 20px 0;
  border-top: 1px solid #292f37;
  background: #0a0d11;
  color: #77818b;
  font-size: 0.69rem;
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .nav-links {
    gap: 19px;
  }

  .preview-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .preview-ticket {
    display: none;
  }

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

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

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .scenario-shell {
    grid-template-columns: 1fr;
  }

  .scenario-form {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

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

  .footer-column:last-child {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 66px;
  }

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

  .section {
    padding: 72px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    justify-content: start;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    background: var(--surface);
    padding: 20px 22px 100px;
  }

  .site-header {
    background: var(--surface);
    backdrop-filter: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 17px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    padding: 56px 0 58px;
    background-size: 40px 40px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 5rem);
  }

  .platform-preview {
    margin-top: 46px;
  }

  .preview-layout {
    grid-template-columns: 1fr;
  }

  .preview-watchlist {
    display: none;
  }

  .preview-chart-panel {
    min-height: 390px;
  }

  .feature-grid,
  .account-grid,
  .two-column,
  .about-statement,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle,
  .principle + .principle {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .principle h3 {
    margin-top: 20px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .brand img,
  .footer-brand img {
    width: 127px;
  }

  .icon-button,
  .menu-button {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.6vw, 3.3rem);
  }

  .hero {
    padding-top: 44px;
  }

  .hero-copy > p {
    margin-top: 14px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-facts {
    margin-top: 16px;
  }

  .platform-preview {
    margin-top: 16px;
  }

  .hero-actions,
  .page-intro-actions,
  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button,
  .page-intro-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-facts {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .preview-chart-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-chart-panel {
    min-height: 430px;
    padding: 16px;
  }

  .chart-stage {
    min-height: 220px;
  }

  .chart-foot {
    flex-direction: column;
    gap: 3px;
  }

  .trust-bar,
  .feature-grid,
  .account-grid,
  .category-grid,
  .form-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .feature {
    min-height: 0;
  }

  .feature-icon {
    margin-bottom: 24px;
  }

  .scenario-form,
  .scenario-results {
    padding: 24px;
  }

  .field-wide {
    grid-column: auto;
  }

  .result-value {
    font-size: 2.8rem;
  }

  .page-intro {
    padding: 54px 0 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
