/*
Theme Name: ComforTrade Brand Hub
Theme URI: https://comfortrade.net/
Author: ComforTrade.net
Description: Коммерческая бренд-тема ComforTrade.net для регистрации, входа, демо и торговой платформы.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: cft-hub
*/

:root {
  --cft-bg: #07111e;
  --cft-bg-2: #0b1728;
  --cft-panel: #0f1c2e;
  --cft-panel-2: #132238;
  --cft-line-dark: #25374d;
  --cft-text: #f7f9fc;
  --cft-muted-dark: #a7b7ca;
  --cft-green: #7be84a;
  --cft-green-2: #4fcd2f;
  --cft-white: #fff;
  --cft-ink: #102033;
  --cft-muted: #68798d;
  --cft-soft: #f6f8fb;
  --cft-soft-2: #eef3f7;
  --cft-blue: #2476ff;
  --cft-red: #d83d4c;
  --cft-red-soft: #fff0f1;
  --cft-amber: #b36b06;
  --cft-amber-soft: #fff7e8;
  --cft-line: #e1e7ee;
  --cft-shadow: 0 14px 36px rgba(20, 42, 66, .08);
  --cft-radius: 16px;
  --cft-container: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--cft-soft);
  color: var(--cft-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

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

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--cft-white);
  color: var(--cft-ink);
}

.container {
  width: min(var(--cft-container), 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(6, 14, 24, .94);
  backdrop-filter: blur(14px);
}

.site-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-brand {
  display: inline-flex;
  flex-direction: column;
  margin-right: auto;
  color: var(--cft-white);
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -.8px;
  line-height: 1;
}

.site-brand strong {
  font: inherit;
}

.site-brand em {
  color: var(--cft-green);
  font-style: normal;
}

.site-brand small {
  margin-top: 5px;
  color: #8597ac;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .8px;
}

.primary-menu,
.primary-menu ul {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu a {
  color: #c7d2de;
  font-size: 13px;
  font-weight: 650;
  transition: color .18s ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
  color: var(--cft-white);
}

.nav-actions,
.button-row,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 820;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(180deg, var(--cft-green), var(--cft-green-2));
  box-shadow: 0 10px 28px rgba(123, 232, 74, .14);
  color: #0a1308;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 36px rgba(123, 232, 74, .24);
}

.button-outline {
  border-color: #51647b;
  color: var(--cft-white);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: #8da0b7;
  background: rgba(255, 255, 255, .06);
}

.button-light {
  border-color: var(--cft-line);
  background: var(--cft-white);
  color: var(--cft-ink);
}

.button-light:hover,
.button-light:focus-visible {
  box-shadow: var(--cft-shadow);
}

.independent-bar {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  background: #101e33;
  color: #c1cedc;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}

.independent-bar a {
  color: var(--cft-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  padding: 72px 0 62px;
  background:
    radial-gradient(circle at 84% 10%, rgba(123, 232, 74, .08), transparent 28%),
    linear-gradient(135deg, #07111e 0%, #091624 58%, #0c1929 100%);
  color: var(--cft-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--cft-green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 58px);
  letter-spacing: -2px;
  line-height: 1.06;
}

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

.hero-lead {
  max-width: 660px;
  margin: 0;
  color: #c6d2df;
  font-size: 18px;
  line-height: 1.68;
}

.hero .button-row {
  margin: 30px 0 23px;
}

.trustline {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #a6b6c8;
  font-size: 12px;
}

.trustline b {
  color: var(--cft-white);
}

.regulator-note {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  max-width: 680px;
  padding: 14px 16px;
  margin-top: 24px;
  border: 1px solid rgba(255, 137, 147, .35);
  border-radius: 12px;
  background: rgba(216, 61, 76, .12);
  color: #ffd9dd;
  font-size: 12px;
  line-height: 1.55;
}

.regulator-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--cft-white);
}

.regulator-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #ff9ba4;
  font-weight: 900;
}

.platform-preview {
  overflow: hidden;
  border: 1px solid #304157;
  border-radius: 17px;
  background: linear-gradient(180deg, #0c1828, #091420);
  box-shadow: 0 28px 68px rgba(0, 0, 0, .3);
}

.preview-top {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  border-bottom: 1px solid #203047;
  color: #8294aa;
  font-size: 11px;
}

.preview-logo {
  margin-right: auto;
  color: var(--cft-white);
  font-weight: 850;
}

.preview-logo span {
  color: var(--cft-green);
}

.preview-body {
  min-height: 376px;
  display: grid;
  grid-template-columns: 120px 1fr 158px;
}

.preview-sidebar,
.preview-panel {
  padding: 13px;
}

.preview-sidebar {
  border-right: 1px solid #1c2c40;
}

.preview-panel {
  border-left: 1px solid #1c2c40;
}

.asset-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 7px;
  margin-bottom: 5px;
  border-radius: 8px;
  color: #91a4b9;
  font-size: 10px;
}

.asset-row.is-active {
  background: #14263d;
  color: var(--cft-white);
}

.chart-area {
  padding: 17px;
}

.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 11px;
}

.chart-pair {
  font-size: 19px;
  font-weight: 850;
}

.microcopy {
  color: #7f93aa;
  font-size: 10px;
}

.chart {
  position: relative;
  height: 246px;
  overflow: hidden;
  border: 1px solid #1a2a3e;
  border-radius: 11px;
  background:
    linear-gradient(#142338 1px, transparent 1px),
    linear-gradient(90deg, #142338 1px, transparent 1px);
  background-size: 40px 40px;
}

.chart svg {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
}

.chart-area-fill {
  fill: url(#cft-chart-area);
}

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

.chart-stop-top {
  stop-color: var(--cft-green);
  stop-opacity: .28;
}

.chart-stop-bottom {
  stop-color: var(--cft-green);
  stop-opacity: 0;
}

.preview-field,
.preview-feature {
  border: 1px solid #2a3a50;
  border-radius: 8px;
}

.preview-field {
  min-height: 39px;
  padding: 10px;
  margin-bottom: 8px;
  color: #93a5b8;
  font-size: 10px;
}

.preview-feature {
  min-height: 42px;
  padding: 9px 10px;
  margin-top: 9px;
}

.preview-feature b,
.preview-feature span {
  display: block;
}

.preview-feature b {
  color: #d8e2ec;
  font-size: 10px;
}

.preview-feature span {
  margin-top: 3px;
  color: #71859c;
  font-size: 9px;
}

.preview-caption {
  padding: 11px 16px;
  border-top: 1px solid #203047;
  color: #8092a8;
  font-size: 9px;
  letter-spacing: .7px;
  text-align: right;
  text-transform: uppercase;
}

.quick-wrap {
  background: var(--cft-white);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
  transform: translateY(16px);
  border: 1px solid var(--cft-line);
  border-radius: 16px;
  background: var(--cft-white);
  box-shadow: 0 10px 28px rgba(18, 38, 63, .07);
}

.quick-links a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border-right: 1px solid #edf1f5;
  transition: background-color .18s ease;
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links a:hover,
.quick-links a:focus-visible {
  background: #f8fbfd;
}

.icon-box {
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 900;
}

.icon-green { background: #eaf9ef; color: #169650; }
.icon-blue { background: #edf3ff; color: #2d74ff; }
.icon-purple { background: #f0edff; color: #7656f0; }
.icon-amber { background: #fff4e7; color: #b36b06; }
.icon-teal { background: #e9f9f6; color: #237f77; }
.icon-red { background: #ffedf0; color: #c93a4a; }

.quick-links b,
.quick-links span {
  display: block;
}

.quick-links b {
  font-size: 12px;
}

.quick-links span {
  margin-top: 3px;
  color: #7f8ea1;
  font-size: 10px;
  line-height: 1.35;
}

.section {
  padding: 84px 0;
}

.section-compact {
  padding-top: 0;
}

.section-dark {
  background: #0a1524;
  color: var(--cft-white);
}

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

.section-head h2,
.content-page h2 {
  margin: 0;
  font-size: clamp(29px, 3.4vw, 38px);
  letter-spacing: -1.1px;
  line-height: 1.15;
}

.section-head p {
  margin: 7px 0 0;
  color: #74859a;
  font-size: 13px;
}

.more-link {
  color: var(--cft-blue);
  font-size: 13px;
  font-weight: 800;
}

.more-link:hover,
.more-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.overview-grid,
.two-column,
.money-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 19px;
}

.card,
.content-card,
.money-card {
  padding: 26px;
  border: 1px solid var(--cft-line);
  border-radius: var(--cft-radius);
  background: var(--cft-white);
  box-shadow: 0 7px 22px rgba(22, 40, 63, .035);
}

.card h3,
.content-card h2,
.content-card h3,
.money-card h3 {
  margin-top: 0;
  color: var(--cft-ink);
  letter-spacing: -.55px;
  line-height: 1.25;
}

.card h3,
.money-card h3 {
  margin-bottom: 11px;
  font-size: 23px;
}

.card p,
.money-card p {
  margin: 0;
  color: var(--cft-muted);
  font-size: 14px;
  line-height: 1.72;
}

.fact-table,
.content-page table {
  width: 100%;
  margin-top: 19px;
  overflow: hidden;
  border: 1px solid #e4e9ef;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  background: var(--cft-white);
  font-size: 13px;
}

.fact-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f5;
}

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

.fact-row span:first-child {
  color: #78889a;
}

.fact-row span:last-child {
  font-weight: 700;
}

.warning-card {
  border-color: #f0c5ca;
  background: linear-gradient(145deg, #fff5f6, #fff0f1);
}

.label {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #ffe0e3;
  color: #a92b38;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.clean-list,
.check-list,
.source-list,
.footer-links,
.toc-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.clean-list {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.clean-list li {
  position: relative;
  padding-left: 23px;
  color: #43556a;
  font-size: 13px;
}

.clean-list li::before {
  position: absolute;
  left: 0;
  color: var(--cft-red);
  content: "!";
  font-weight: 900;
}

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

.intent-card {
  min-height: 186px;
  padding: 22px;
  border: 1px solid var(--cft-line);
  border-radius: 15px;
  background: var(--cft-white);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.intent-card:hover,
.intent-card:focus-visible {
  transform: translateY(-4px);
  border-color: #cdd7e1;
  box-shadow: var(--cft-shadow);
}

.intent-card .icon-box {
  margin-bottom: 15px;
}

.intent-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
}

.intent-card p {
  margin: 0;
  color: #75869a;
  font-size: 12px;
  line-height: 1.6;
}

.intent-card .more-link {
  display: inline-block;
  margin-top: 14px;
}

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

.platform-copy h2 {
  margin: 8px 0 15px;
  font-size: clamp(32px, 4vw, 42px);
  letter-spacing: -1.3px;
  line-height: 1.12;
}

.platform-copy > p {
  color: #a9b9ca;
  font-size: 15px;
  line-height: 1.75;
}

.bullet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.bullet {
  padding: 14px;
  border: 1px solid #25364c;
  border-radius: 11px;
  color: #bcc9d7;
  font-size: 12px;
}

.bullet b {
  display: block;
  margin-bottom: 4px;
  color: var(--cft-white);
}

.step-list {
  display: grid;
  gap: 13px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--cft-line);
  border-radius: 14px;
  background: var(--cft-white);
}

.step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f8ef;
  color: #168e50;
  font-weight: 900;
}

.step h3 {
  margin: 1px 0 5px;
  color: var(--cft-ink);
  font-size: 15px;
}

.step p {
  margin: 0;
  color: #718399;
  font-size: 12px;
  line-height: 1.6;
}

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

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tag {
  padding: 7px 11px;
  border-radius: 999px;
  background: #f1f5f8;
  color: #55667a;
  font-size: 10px;
  font-weight: 750;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.faq-grid details,
.content-page details {
  padding: 16px 18px;
  border: 1px solid var(--cft-line);
  border-radius: 13px;
  background: var(--cft-white);
}

.faq-grid summary,
.content-page summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.faq-grid p,
.content-page details p {
  color: #6d7f94;
  font-size: 13px;
  line-height: 1.65;
}

.source-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.source-card {
  padding: 19px;
  border: 1px solid var(--cft-line);
  border-radius: 13px;
  background: var(--cft-white);
}

.source-card b {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.source-card span {
  color: #73859a;
  font-size: 11px;
  line-height: 1.55;
}

.source-card a {
  color: var(--cft-blue);
}

.final-cta {
  width: min(var(--cft-container), 92vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 32px;
  margin: 0 auto 78px;
  border: 1px solid #22354b;
  border-radius: 18px;
  background: linear-gradient(135deg, #0c1a2b, #0b1726);
  color: var(--cft-white);
}

.final-cta h2 {
  margin: 0 0 7px;
  font-size: 29px;
  line-height: 1.2;
}

.final-cta p {
  max-width: 720px;
  margin: 0;
  color: #aab9ca;
  font-size: 13px;
}

.site-footer {
  padding: 48px 0 23px;
  background: #081220;
  color: #d7e0ea;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 30px;
}

.footer-about p {
  max-width: 320px;
  color: #8194aa;
  font-size: 11px;
  line-height: 1.75;
}

.footer-column h2 {
  margin: 0 0 13px;
  font-size: 12px;
}

.footer-column a {
  display: block;
  margin: 8px 0;
  color: #91a3b8;
  font-size: 11px;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--cft-white);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-top: 19px;
  margin-top: 32px;
  border-top: 1px solid #18283a;
  color: #788ba1;
  font-size: 10px;
  line-height: 1.55;
}

/* Universal content-page components for Classic Editor HTML. */
.page-hero {
  padding: 64px 0 58px;
  background:
    radial-gradient(circle at 82% 16%, rgba(123, 232, 74, .08), transparent 26%),
    linear-gradient(135deg, var(--cft-bg), var(--cft-bg-2));
  color: var(--cft-white);
}

.page-hero .breadcrumb {
  margin-bottom: 18px;
  color: #91a4b9;
  font-size: 12px;
}

.page-hero .breadcrumb a {
  color: #d6e0ea;
}

.page-hero p {
  max-width: 800px;
  margin: 0;
  color: #b8c6d6;
  font-size: 18px;
}

.content-page {
  width: min(920px, 92vw);
  padding: 58px 0 82px;
  margin-inline: auto;
}

.content-page.is-wide {
  width: min(var(--cft-container), 92vw);
}

.content-page > * + * {
  margin-top: 24px;
}

.content-page h2 {
  margin-top: 48px;
}

.content-page h3 {
  margin-top: 31px;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
}

.content-page p,
.content-page li {
  color: #475b71;
  font-size: 16px;
  line-height: 1.78;
}

.content-page a:not(.button) {
  color: #125bc5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-page ul,
.content-page ol {
  padding-left: 24px;
}

.content-page li + li {
  margin-top: 8px;
}

.content-page blockquote {
  padding: 18px 22px;
  margin: 28px 0;
  border-left: 4px solid var(--cft-green-2);
  border-radius: 0 12px 12px 0;
  background: #eff8f1;
}

.content-page blockquote p {
  margin: 0;
}

.content-card > :first-child,
.notice > :first-child {
  margin-top: 0;
}

.content-card > :last-child,
.notice > :last-child {
  margin-bottom: 0;
}

.notice {
  padding: 20px 22px;
  border: 1px solid;
  border-radius: 13px;
}

.notice-warning {
  border-color: #efd8ab;
  background: var(--cft-amber-soft);
}

.notice-danger {
  border-color: #f0c5ca;
  background: var(--cft-red-soft);
}

.notice-info {
  border-color: #c9dcf7;
  background: #eef6ff;
}

.notice-success {
  border-color: #cbe7d4;
  background: #eef9f2;
}

.notice-title {
  display: block;
  margin-bottom: 6px;
  color: var(--cft-ink);
  font-weight: 850;
}

.toc {
  padding: 22px;
  border: 1px solid var(--cft-line);
  border-radius: 13px;
  background: var(--cft-white);
}

.toc-title {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 850;
}

.toc-list {
  display: grid;
  gap: 7px;
}

.toc-list a {
  font-size: 13px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0 !important;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  list-style: none;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: #168e50;
  content: "✓";
  font-weight: 900;
}

.pros-cons,
.contact-grid,
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.content-page table th,
.content-page table td {
  padding: 13px 15px;
  border-bottom: 1px solid #edf1f5;
  text-align: left;
  vertical-align: top;
}

.content-page table tr:last-child th,
.content-page table tr:last-child td {
  border-bottom: 0;
}

.content-page table th {
  background: #f6f9fb;
  color: #506276;
  font-size: 12px;
}

.meta-line {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #91a4b9;
  font-size: 12px;
}

.author-box {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: center;
}

.author-avatar {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cft-bg-2);
  color: var(--cft-green);
  font-weight: 900;
}

.source-list {
  display: grid;
  gap: 10px;
}

.source-list li {
  padding: 13px 15px;
  border: 1px solid var(--cft-line);
  border-radius: 10px;
  background: var(--cft-white);
}

.error-page {
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: 70px 0;
  text-align: center;
}

.error-code {
  color: var(--cft-green-2);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 1080px) {
  .primary-menu {
    display: none;
  }

  .hero-grid,
  .overview-grid,
  .platform-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .container,
  .content-page,
  .content-page.is-wide,
  .final-cta {
    width: min(94vw, var(--cft-container));
  }

  .site-nav {
    min-height: 66px;
    gap: 12px;
  }

  .site-brand {
    font-size: 22px;
  }

  .site-brand small {
    font-size: 7px;
  }

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

  .nav-actions .button-primary {
    min-height: 40px;
    padding: 0 13px;
    font-size: 11px;
  }

  .independent-bar {
    padding: 9px 14px;
    font-size: 10px;
  }

  .hero {
    padding: 42px 0 46px;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 37px;
    letter-spacing: -1.2px;
  }

  .hero-lead,
  .page-hero p {
    font-size: 15px;
  }

  .hero .button-row,
  .page-hero .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button-row .button {
    width: 100%;
  }

  .trustline {
    display: grid;
    gap: 8px;
  }

  .preview-top {
    height: 45px;
    gap: 10px;
  }

  .preview-top span:not(.preview-logo) {
    display: none;
  }

  .preview-body {
    min-height: 292px;
    grid-template-columns: 78px 1fr;
  }

  .preview-panel {
    display: none;
  }

  .preview-sidebar {
    padding: 8px;
  }

  .asset-row {
    padding: 8px 5px;
    font-size: 8px;
  }

  .asset-row span:last-child {
    display: none;
  }

  .chart-area {
    padding: 10px;
  }

  .chart {
    height: 198px;
  }

  .quick-wrap {
    padding-top: 15px;
  }

  .quick-links {
    grid-template-columns: 1fr 1fr;
    transform: none;
  }

  .quick-links a {
    padding: 14px 10px;
  }

  .section {
    padding: 62px 0;
  }

  .section-compact {
    padding-top: 0;
  }

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

  .intent-grid,
  .money-grid,
  .faq-grid,
  .source-strip,
  .pros-cons,
  .contact-grid,
  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .card,
  .content-card,
  .money-card {
    padding: 21px;
  }

  .fact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    flex-direction: column;
  }

  .page-hero {
    padding: 45px 0;
  }

  .content-page {
    padding: 42px 0 62px;
  }

  .content-page table {
    display: block;
    overflow-x: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}


/* ============================================================
   ComforTrade commercial brand hub — homepage v2.0
   ============================================================ */

.commercial-nav {
  display: flex;
  align-items: center;
  gap: 21px;
}

.commercial-nav a {
  color: #c7d2de;
  font-size: 13px;
  font-weight: 680;
  transition: color .18s ease;
}

.commercial-nav a:hover,
.commercial-nav a:focus-visible {
  color: #fff;
}

.market-bar {
  border-bottom: 1px solid rgba(255,255,255,.04);
  background: #0d1a2c;
  color: #aebdd0;
}

.market-bar-inner {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 10px;
}

.market-bar-inner b {
  color: #fff;
}

.commercial-hero {
  padding-top: 66px;
  padding-bottom: 60px;
}

.hero-copy .hero-lead {
  max-width: 670px;
}

.hero-facts {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: #9fb0c4;
  font-size: 11px;
}

.hero-facts span {
  position: relative;
  padding-left: 13px;
}

.hero-facts span::before {
  position: absolute;
  top: .58em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cft-green);
  content: "";
}

.hero-facts b {
  color: #fff;
}

.preview-trade {
  min-height: 39px;
  display: grid;
  place-items: center;
  margin-top: 9px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
}

.preview-trade-up {
  background: var(--cft-green);
  color: #091308;
}

.preview-trade-down {
  background: #d94e5b;
  color: #fff;
}

.commercial-strip {
  background: #fff;
}

.commercial-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  transform: translateY(18px);
  border: 1px solid var(--cft-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18,38,63,.07);
}

.commercial-strip-grid > div {
  min-height: 91px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 17px 20px;
  border-right: 1px solid #edf1f5;
}

.commercial-strip-grid > div:last-child {
  border-right: 0;
}

.commercial-strip-grid b {
  color: #16314b;
  font-size: 20px;
  letter-spacing: -.5px;
}

.commercial-strip-grid span {
  margin-top: 4px;
  color: #78899c;
  font-size: 10px;
  line-height: 1.45;
}

.commercial-quick {
  margin-top: 38px;
  transform: none;
}

.section-kicker {
  margin-bottom: 7px;
  color: #168e50;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.section-kicker-dark {
  color: var(--cft-green);
}

.section-soft {
  background: #eef3f7;
}

.official-site-box {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 32px;
  align-items: center;
  padding: 30px;
  border: 1px solid #dce5ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20,42,66,.055);
}

.official-site-box p {
  margin: 0;
  color: #5b6f84;
  font-size: 14px;
  line-height: 1.76;
}

.official-site-box p + p {
  margin-top: 14px;
}

.official-site-box .large-copy {
  color: #344b62;
  font-size: 16px;
}

.official-actions {
  display: grid;
  gap: 10px;
}

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

.benefit-grid article {
  min-height: 190px;
  padding: 21px;
  border: 1px solid #dce5ed;
  border-radius: 15px;
  background: #fff;
}

.benefit-grid article > span {
  color: #168e50;
  font-size: 10px;
  font-weight: 900;
}

.benefit-grid h3 {
  margin: 14px 0 8px;
  color: #173049;
  font-size: 17px;
}

.benefit-grid p {
  margin: 0;
  color: #74869a;
  font-size: 12px;
  line-height: 1.65;
}

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

.center-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 25px;
}

.center-cta span {
  color: #7d8da0;
  font-size: 11px;
}

.split-feature,
.demo-grid,
.beginner-grid,
.review-home-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
}

.split-feature h2,
.demo-copy h2,
.beginner-grid h2,
.review-home-grid h2 {
  margin: 7px 0 14px;
  font-size: clamp(31px, 3.8vw, 42px);
  letter-spacing: -1.3px;
  line-height: 1.12;
}

.large-copy {
  color: #465c72;
  font-size: 16px;
  line-height: 1.78;
}

.split-feature > div > p:not(.large-copy),
.demo-copy p,
.beginner-grid > div > p,
.review-home-grid > div > p {
  color: #667a90;
  font-size: 14px;
  line-height: 1.76;
}

.mini-panel {
  padding: 25px;
  border: 1px solid var(--cft-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cft-shadow);
}

.mini-panel h3 {
  margin: 0 0 17px;
  font-size: 21px;
}

.feature-checks {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-checks li {
  position: relative;
  padding-left: 24px;
  color: #506479;
  font-size: 13px;
}

.feature-checks li::before {
  position: absolute;
  left: 0;
  color: #209b58;
  content: "✓";
  font-weight: 900;
}

.platform-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin: 22px 0;
}

.platform-features > div {
  padding: 14px;
  border: 1px solid #25364c;
  border-radius: 11px;
  background: rgba(255,255,255,.025);
}

.platform-features b,
.platform-features span {
  display: block;
}

.platform-features b {
  color: #fff;
  font-size: 13px;
}

.platform-features span {
  margin-top: 3px;
  color: #93a5ba;
  font-size: 10px;
}

.platform-explainer {
  display: grid;
  gap: 12px;
}

.explainer-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 17px;
  border: 1px solid #25364c;
  border-radius: 13px;
  background: #0f1d30;
}

.explainer-row > span {
  color: var(--cft-green);
  font-size: 12px;
  font-weight: 900;
}

.explainer-row h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 14px;
}

.explainer-row p {
  margin: 0;
  color: #8fa2b8;
  font-size: 11px;
  line-height: 1.55;
}

.demo-grid {
  grid-template-columns: .82fr 1.18fr;
}

.demo-visual {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border: 1px solid #27394f;
  border-radius: 18px;
  background:
    radial-gradient(circle at 75% 15%, rgba(123,232,74,.18), transparent 28%),
    linear-gradient(145deg,#0b1728,#10223a);
  color: #fff;
  box-shadow: 0 24px 58px rgba(14,31,52,.16);
}

.demo-badge {
  width: fit-content;
  padding: 6px 10px;
  margin-bottom: auto;
  border: 1px solid rgba(123,232,74,.35);
  border-radius: 999px;
  color: var(--cft-green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.demo-visual strong {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.demo-visual span {
  margin-top: 10px;
  color: #9fb0c4;
  font-size: 12px;
}

.commercial-money .money-card {
  position: relative;
  overflow: hidden;
}

.money-value {
  margin-bottom: 10px;
  color: #168e50;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1;
}

.commercial-money .money-card p + p {
  margin-top: 12px;
}

.commercial-money .button {
  margin-top: 18px;
}

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

.instrument-grid article {
  min-height: 190px;
  padding: 21px;
  border: 1px solid var(--cft-line);
  border-radius: 15px;
  background: #fff;
}

.instrument-grid article > span {
  min-width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding-inline: 8px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #ecf8f0;
  color: #168e50;
  font-size: 11px;
  font-weight: 900;
}

.instrument-grid h3 {
  margin: 0 0 7px;
  font-size: 16px;
}

.instrument-grid p {
  margin: 0;
  color: #77889c;
  font-size: 11px;
  line-height: 1.6;
}

.beginner-grid {
  grid-template-columns: 1.05fr .95fr;
}

.beginner-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.beginner-cards > div {
  padding: 18px;
  border: 1px solid #dce5ec;
  border-radius: 13px;
  background: #fff;
}

.beginner-cards b,
.beginner-cards span {
  display: block;
}

.beginner-cards b {
  color: #173049;
  font-size: 13px;
}

.beginner-cards span {
  margin-top: 4px;
  color: #8090a2;
  font-size: 10px;
  line-height: 1.5;
}

.review-home-grid {
  grid-template-columns: 1.1fr .9fr;
}

.review-home-card {
  padding: 26px;
  border: 1px solid #dce5ed;
  border-radius: 16px;
  background: linear-gradient(145deg, #f2fbf6, #ecf7f1);
}

.review-home-label {
  display: inline-block;
  margin-bottom: 13px;
  color: #168e50;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.review-home-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.commercial-faq details[open] {
  border-color: #cfe4d8;
}

.commercial-final {
  margin-top: 5px;
}

.homepage-disclosure {
  margin-top: -48px;
  margin-bottom: 52px;
}

.homepage-disclosure p {
  margin: 0;
  color: #7a8a9c;
  font-size: 10px;
  line-height: 1.6;
}

.footer-main-cta {
  display: inline-block;
  margin-top: 8px;
  color: var(--cft-green);
  font-size: 11px;
  font-weight: 800;
}

.footer-secondary a {
  color: #75879d;
}

@media (max-width: 1120px) {
  .commercial-nav {
    display: none;
  }
}

@media (max-width: 1080px) {
  .commercial-strip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .commercial-strip-grid > div:nth-child(2) {
    border-right: 0;
  }

  .commercial-strip-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid #edf1f5;
  }

  .benefit-grid,
  .start-grid-four,
  .instrument-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-feature,
  .demo-grid,
  .beginner-grid,
  .review-home-grid,
  .official-site-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .market-bar-inner {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .market-bar-inner::-webkit-scrollbar {
    display: none;
  }

  .commercial-strip-grid,
  .benefit-grid,
  .start-grid-four,
  .instrument-grid,
  .platform-features,
  .beginner-cards {
    grid-template-columns: 1fr;
  }

  .commercial-strip-grid > div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #edf1f5;
  }

  .commercial-strip-grid > div:last-child {
    border-bottom: 0;
  }

  .center-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .center-cta .button {
    width: 100%;
  }

  .demo-visual {
    min-height: 270px;
  }

  .demo-visual strong {
    font-size: 25px;
  }

  .homepage-disclosure {
    margin-top: -42px;
    margin-bottom: 42px;
  }
}
