body { font-family: var(--font-body); background: var(--surface); color: var(--ink); }

.fx-topbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  max-width: 1360px; margin: 0 auto; padding: 24px 24px 0; box-sizing: border-box;
}
.fx-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); text-decoration: none; }
.fx-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.fx-nav a {
  font-size: 13.5px; color: var(--ink-soft); text-decoration: none; padding: 8px 14px;
  border-radius: 999px; transition: background .15s, color .15s;
}
.fx-nav a:hover { background: var(--surface-alt); color: var(--ink); }
.fx-nav a.active { background: var(--accent-pale); color: var(--accent-ink); font-weight: 600; }
.fx-nav .fx-nav-login { border: 1px solid var(--border-strong); margin-left: 6px; }

.fx-main { max-width: 1360px; margin: 0 auto; padding: 48px 24px 24px; box-sizing: border-box; }

.fx-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 14px;
}
.fx-hero { max-width: none; margin-bottom: 40px; }
.fx-hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12; letter-spacing: -0.6px; margin: 0 0 16px; color: var(--ink);
}
.fx-hero p { font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

.fx-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 36px; align-items: start; }
.fx-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm); padding: 28px;
}
.fx-card h2 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin: 0 0 18px; color: var(--ink); }

.fx-field { margin-bottom: 18px; }
.fx-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.fx-field .fx-hint { display: block; font-size: 11.5px; color: var(--grey-mid); font-weight: 400; margin-top: 2px; }
.fx-input-wrap { position: relative; }
.fx-input-wrap input, .fx-input-wrap select {
  width: 100%; box-sizing: border-box; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 11px 44px 11px 14px; outline: none; transition: border-color .15s, background .15s;
}
.fx-input-wrap select { padding-right: 14px; }
.fx-input-wrap input:focus, .fx-input-wrap select:focus { border-color: var(--ink); background: var(--surface); }
.fx-unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--grey-mid); pointer-events: none; }
.fx-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; cursor: pointer; }
.fx-check input { margin-top: 3px; accent-color: var(--accent); }

.fx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  font-family: var(--font-body); font-size: 14px; font-weight: 700; border: none; cursor: pointer;
  border-radius: 999px; padding: 14px 26px; transition: opacity .15s, transform .15s;
}
.fx-btn:hover { opacity: .9; }
.fx-btn-primary { background: var(--accent); color: var(--accent-ink); }
.fx-btn-block { width: 100%; }

.fx-empty { border: 1px dashed var(--border-strong); border-radius: var(--radius-2xl); padding: 40px 28px; text-align: center; color: var(--grey-txt); font-size: 14px; line-height: 1.6; }

.fx-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.fx-option { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 22px; background: var(--surface); position: relative; }
.fx-option.best { border-color: var(--accent-line); background: var(--accent-pale); }
.fx-option .fx-tag {
  position: absolute; top: -11px; left: 18px; font-size: 10.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); padding: 4px 10px; border-radius: var(--radius-sm);
}
.fx-option h3 { font-size: 13px; font-weight: 700; margin: 0 0 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1px; }
.fx-big { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.5px; color: var(--ink); line-height: 1.1; }
.fx-big-label { font-size: 12px; color: var(--grey-txt); margin: 4px 0 14px; }
.fx-lines { list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--ink-soft); }
.fx-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--border); }
.fx-lines strong { color: var(--ink); font-weight: 600; text-align: right; }

.fx-verdict {
  border-radius: var(--radius-xl); padding: 18px 22px; background: var(--surface-alt); border: 1px solid var(--border);
  font-size: 14.5px; line-height: 1.6; color: var(--ink); margin-bottom: 18px;
}
.fx-verdict strong { font-weight: 700; }
.fx-note { font-size: 12.5px; color: var(--grey-txt); line-height: 1.6; }
.fx-inline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-xl); background: var(--accent-pale);
  font-size: 13.5px; color: var(--accent-ink);
}
.fx-inline-cta a { color: var(--accent-ink); font-weight: 700; }

.fx-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.fx-stat { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 18px; background: var(--surface); }
.fx-stat.hero { background: var(--accent-pale); border-color: var(--accent-line); }
.fx-stat .fx-big { font-size: 24px; }

.fx-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 44px; }
.fx-tile {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit;
  border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 26px; background: var(--surface);
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.fx-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-line); }
.fx-tile.soon { opacity: .6; pointer-events: none; }
.fx-tile .fx-tile-kind { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent-text); }
.fx-tile h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 0; color: var(--ink); }
.fx-tile p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.fx-tile .fx-tile-go { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.fx-section-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0 0 16px; color: var(--ink); }

.fx-article { max-width: none; }
.fx-article h2 { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin: 40px 0 12px; color: var(--ink); scroll-margin-top: 24px; }
.fx-article h3 { font-size: 15px; font-weight: 700; margin: 22px 0 8px; color: var(--ink); }
.fx-article p, .fx-article li { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.fx-article ul, .fx-article ol { padding-left: 22px; }
.fx-article li { margin-bottom: 8px; }
.fx-article strong { color: var(--ink); }
.fx-article a { color: var(--accent-text); }
.fx-keypoints { border: 1px solid var(--accent-line); background: var(--accent-pale); border-radius: var(--radius-xl); padding: 18px 22px; margin: 20px 0 30px; }
.fx-keypoints p { margin: 0 0 6px; font-weight: 700; color: var(--ink); font-size: 14px; }
.fx-keypoints ul { margin: 0; }
.fx-example { border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; margin: 18px 0; }
.fx-example table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fx-example th, .fx-example td { padding: 11px 16px; text-align: left; border-top: 1px solid var(--border); color: var(--ink-soft); }
.fx-example thead th { border-top: none; background: var(--surface-alt); color: var(--ink); font-weight: 700; font-size: 12.5px; }
.fx-example td:last-child, .fx-example th:last-child { text-align: right; }
.fx-example tr.total td { font-weight: 700; color: var(--ink); background: var(--accent-pale); }
.fx-tool-link {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  border: 1px solid var(--accent-line); background: var(--accent-pale); border-radius: var(--radius-xl);
  padding: 18px 22px; margin: 26px 0; text-decoration: none; color: var(--accent-ink);
}
.fx-tool-link strong { color: var(--accent-ink); font-size: 15px; }

.fx-faq { max-width: 760px; margin-top: 56px; }
.fx-faq h2, .fx-sources h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0 0 14px; color: var(--ink); }
.fx-faq-list { border-top: 1px solid var(--border); }
.fx-faq-item { border-bottom: 1px solid var(--border); }
.fx-faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-size: 15px; font-weight: 600; color: var(--ink);
}
.fx-faq-item summary::-webkit-details-marker { display: none; }
.fx-chevron { flex-shrink: 0; color: var(--grey-mid); transition: transform .2s; }
.fx-faq-item[open] .fx-chevron { transform: rotate(180deg); }
.fx-faq-item p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 20px; padding-right: 34px; }

.fx-sources { max-width: 760px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.fx-sources ul { padding-left: 20px; margin: 0 0 16px; }
.fx-sources li { font-size: 13.5px; line-height: 1.6; margin-bottom: 6px; }
.fx-sources a { color: var(--accent-text); word-break: break-word; }
.fx-disclaimer { font-size: 12.5px; line-height: 1.6; color: var(--grey-txt); }

.fx-cta { background: var(--accent); text-align: center; padding: 72px 24px; margin-top: 64px; }
.fx-cta h2 { font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; color: var(--accent-ink); margin: 0 0 12px; letter-spacing: -0.4px; }
.fx-cta p { font-size: 15px; color: var(--accent-ink); opacity: .8; margin: 0 0 26px; }
.fx-cta .fx-btn-primary { background: var(--ink-solid); color: #fff; }
.fx-footer { text-align: center; padding: 28px 24px; font-size: 12px; color: var(--grey-mid); }
.fx-footer a { color: var(--grey-mid); }

@media (max-width: 900px) {
  .fx-grid { grid-template-columns: 1fr; }
  .fx-stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fx-compare { grid-template-columns: 1fr; }
  .fx-main { padding-top: 32px; }
}

.fx-steps { list-style: none; counter-reset: fxstep; padding: 0; margin: 18px 0; }
.fx-steps li { counter-increment: fxstep; position: relative; padding: 0 0 22px 52px; margin: 0; }
.fx-steps li::before {
  content: counter(fxstep); position: absolute; left: 0; top: 0; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md);
  background: var(--accent-pale); color: var(--accent-ink); font-weight: 700; font-size: 14px;
}
.fx-steps li h3 { margin: 4px 0 6px; }
.fx-steps li p { margin: 0; }
.fx-table-wide { overflow-x: auto; }
.fx-table-wide table { min-width: 620px; }
.fx-table-wide th, .fx-table-wide td { text-align: left !important; vertical-align: top; font-size: 13.5px; line-height: 1.55; }
.fx-table-wide td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.fx-article a.fx-btn { color: var(--accent-ink); text-decoration: none; }
.fx-article .fx-steps { padding-left: 0; }

.fx-faq, .fx-sources { max-width: none; }
.fx-faq-item p { max-width: 980px; }
.fx-sources ul, .fx-disclaimer { max-width: 1000px; }

.fx-guide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.fx-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; max-width: 340px; margin-left: auto; width: 100%; }
.fx-toc { border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 20px 22px; background: var(--surface); }
.fx-toc-label { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--grey-txt); margin-bottom: 12px; }
.fx-toc nav { display: flex; flex-direction: column; gap: 2px; }
.fx-toc a { font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); text-decoration: none; padding: 8px 10px; border-radius: var(--radius-md); transition: color .15s, background .15s; }
.fx-toc a:hover { color: var(--ink); background: var(--surface-alt); }
.fx-aside-cta { border: 1px solid var(--accent-line); background: var(--accent-pale); border-radius: var(--radius-xl); padding: 20px 22px; }
.fx-aside-cta strong { display: block; font-size: 15px; color: var(--accent-ink); margin-bottom: 6px; }
.fx-aside-cta p { font-size: 13px; line-height: 1.55; color: var(--accent-ink); margin: 0 0 14px; }
.fx-aside-cta .fx-btn { width: 100%; padding: 12px 20px; }

@media (max-width: 960px) {
  .fx-guide { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fx-aside { position: static; max-width: none; margin-left: 0; }
  .fx-toc { display: none; }
}
