/* Perkufo editorial home. The directory and comparison controls share the same surface. */
.dx-home {
  --dx-ink: #191932;
  --dx-muted: #55566e;
  --dx-line: #deddec;
  --dx-orange: #4939c7;
  --dx-peach: #eeebff;
  color: var(--dx-ink);
  background: #fbfaf8;
}
.dx-shell { width: min(1250px, calc(100% - 64px)); }
.dx-home .dx-eyebrow { color: #5543ad; letter-spacing: 1.7px; }
.dx-home .dx-eyebrow i { width: 7px; height: 7px; background: #7763ed; }
.dx-home :focus-visible { outline-color: #6952ea; }
.dx-hero {
  background: radial-gradient(ellipse at 0% 0%, #eae4fc 0%, transparent 65%), #f3f0fa;
  border-bottom: 1px solid #dfd8ed;
}
.dx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 86px);
  padding-block: 40px;
  align-items: center;
}
.dx-intro h1 {
  color: #1c1835;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -.062em;
  margin: 19px 0;
  text-wrap: balance;
}
.dx-intro h1 em { color: #503ac5; }
.dx-intro > p { color: #4f4967; font-size: 15px; max-width: 450px; }
.dx-search-modes { gap: 16px; margin-top: 28px; }
.dx-search-modes button { color: #625a76; padding: 8px 2px; }
.dx-search-modes button[aria-pressed=true] { color: #4531a7; border-color: #5944cd; }
.dx-search { border: 1px solid #d2c9ec; box-shadow: 0 5px 20px #3325680c; }
.dx-search input { font-size: 14px; }
.dx-search button { background: #4c39bd; padding: 12px 16px; }
.dx-search button:hover { background: #392697; }
.dx-examples { flex-wrap: wrap; gap: 8px; color: #645c78; font-size: 11px; }
.dx-examples a {
  border: 1px solid #dcd3ee;
  background: #faf8ff;
  color: #5542a5;
  border-radius: 6px;
  padding: 4px 8px;
}
.dx-proof { flex-wrap: wrap; gap: 6px 16px; color: #655d77; font-size: 11px; }
.dx-search-hint a { color: #503ac5; }
.dx-home .fx-jump { display: inline-block; color: #4935a5; font-size: 12px; font-weight: 700; margin-top: 12px; }

.fx-pulse {
  min-width: 0;
  background: #21194a;
  color: #f9f7ff;
  padding: 21px;
  border-radius: 19px;
  box-shadow: 0 16px 45px #2a18452a;
}
.fx-pulse-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fx-pulse-heading h2 { color: #fff; font-size: 17px; letter-spacing: -.4px; }
.fx-pulse-heading h2 span { color: #c9b7ff; margin-right: 3px; }
.fx-pulse-heading a { color: #e2d7ff; font-size: 11px; text-decoration: none; }
.fx-controls { display: grid; grid-template-columns: 1fr .78fr 1.15fr; gap: 8px; margin: 12px 0; }
.fx-controls label { min-width: 0; color: #c4bbdc; font-size: 10px; }
.fx-controls select {
  display: block;
  width: 100%;
  min-height: 35px;
  padding: 5px 6px;
  border: 1px solid #625389;
  border-radius: 6px;
  background: #322658;
  color: #fff;
  font-size: 11px;
}
.fx-series { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.fx-series button {
  background: #302454;
  border: 1px solid #57497f;
  border-radius: 7px;
  color: #e4dcff;
  padding: 5px 9px;
  font-size: 11px;
}
.fx-series button[aria-pressed=true] { background: #d7caff; color: #26164e; border-color: #d7caff; font-weight: 700; }
.fx-trend-card { min-width: 0; background: #2b2053; border: 1px solid #493a72; padding: 13px; border-radius: 12px; }
.fx-trend-top { display: flex; gap: 8px; align-items: center; }
.fx-trend-top .dx-icon { width: 30px; height: 30px; padding: 5px; border-radius: 8px; }
.fx-trend-top > a { text-decoration: none; min-width: 0; }
.fx-trend-top strong { color: #fff; font-size: 13px; }
.fx-trend-top small { display: block; color: #c4bbdc; font-size: 10px; }
.fx-change { margin-left: auto; background: #43356a; color: #f4ecff; padding: 4px 7px; border-radius: 6px; font-size: 10px; }
.fx-up { background: #204d49; color: #a5f3d9; }
.fx-trend-value { display: flex; align-items: baseline; gap: 8px; margin: 5px 0 0; }
.fx-trend-value strong { color: #fff; font-size: 27px; line-height: 1.2; letter-spacing: -.8px; }
.fx-trend-value span { color: #e0d4f7; font-size: 10px; }
.fx-trend-card svg { display: block; width: 100%; max-height: 177px; margin-top: 3px; }
.fx-trend-card svg text { fill: #d7caed; font: 11px "Segoe UI", sans-serif; }
.fx-gridline { stroke: #6b5d8e; stroke-opacity: .7; stroke-dasharray: 3 5; }
.fx-area { fill: #9a7cff; fill-opacity: .19; }
.fx-trend-card polyline { stroke: #ceb7ff; stroke-width: 2.4; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.fx-trend-card circle { fill: #e4d4ff; stroke: #2b2053; stroke-width: 1; }
.fx-trend-card circle:hover { stroke: #fff; stroke-width: 3; }
.fx-chart-foot { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 9px; color: #c4bbdc; font-size: 9px; }
.fx-chart-foot a { color: #e2d7ff; font-size: 10px; text-decoration: none; }
.dx-home .fx-chart-foot p { color: #c4bbdc; }
.dx-home .fx-daily { font-size: 10px; color: #e2d7ff; background: transparent; border: 0; padding: 0; margin: 0; box-shadow: none; }
.dx-home .fx-daily summary { cursor: pointer; padding: 4px 0; color: #e2d7ff; }
.dx-home .fx-daily table { width: 100%; color: inherit; background: transparent; border-collapse: collapse; }
.dx-home .fx-daily th, .dx-home .fx-daily td { color: inherit; background: transparent; padding: 3px 5px; border-bottom: 1px solid #59497e; text-align: left; }
.dx-home .fx-radar-note { color: #d2c5e9; font-size: 10px; margin-top: 10px; }
.fx-no-chart { color: #e2d7ff; padding: 10px 0; }
[data-fx-trends][aria-busy=true] { opacity: .5; }

.fx-questions { padding: 39px 0 36px; border-bottom: 1px solid var(--dx-line); }
.fx-questions-heading h2 { font-size: clamp(25px, 3vw, 36px); letter-spacing: -.045em; margin-top: 4px; }
.fx-questions-heading p { color: #5c5a70; font-size: 13px; margin-top: 4px; }
.fx-price-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 13px; font-size: 11px; }
.fx-price-links span { color: #5c5a70; }
.dx-home .fx-price-links a { background: #efebfb; color: #4a36ad; border-radius: 6px; text-decoration: none; padding: 5px 9px; }
.dx-home .fx-price-links a:hover { text-decoration: underline; }
.fx-question-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-top: 17px; }
.fx-question { background: #fff; border: 1px solid #e1deeb; border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; }
.fx-question-mark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 17px;
  min-height: 62px;
  background: #e7e0fa;
  color: #4a358e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
}
.fx-question-2 .fx-question-mark { background: #dff1ec; color: #225b4e; }
.fx-question-3 .fx-question-mark { background: #fae6db; color: #87452f; }
.fx-question-4 .fx-question-mark { background: #e3ebfa; color: #36568d; }
.fx-question-mark b { font-size: 32px; line-height: 1; opacity: .45; letter-spacing: -2px; }
.fx-question-body { padding: 17px; display: flex; flex-direction: column; flex: 1; }
.fx-question-icons { display: flex; gap: 6px; margin-bottom: 9px; }
.fx-question-icons .dx-icon { width: 28px; height: 28px; padding: 5px; border-radius: 7px; }
.fx-question h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.2px; }
.fx-question h3 a { text-decoration: none; }
.fx-question-body p { margin: 7px 0 14px; color: #5d5b71; font-size: 12px; }
.fx-question-action { font-size: 11px; font-weight: 700; color: #4a36ad !important; margin-top: auto; text-decoration: none; }
.fx-question a:hover, .fx-pulse a:hover { text-decoration: underline; }

.dx-content { grid-template-columns: 185px minmax(0, 1fr); gap: 30px; }
.fx-categories { border: 1px solid var(--dx-line); background: #fff; border-radius: 10px; padding: 12px; min-width: 0; }
.fx-categories h2 { font-size: 15px; margin: 5px 6px 10px; }
.fx-categories > button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 5px;
  padding: 8px 5px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: #55556c;
  text-align: left;
  font-size: 11px;
}
.fx-categories > button:hover { background: #f4f1fc; }
.fx-categories > button[aria-pressed=true] { background: #eee9ff; color: #4534a8; font-weight: 700; }
.dx-product { border-color: #e0deec; }
.dx-product-actions button { border: 0; background: none; color: #4d38aa; padding: 0; font-size: 11px; font-weight: 700; text-align: left; }
.dx-product-actions button:hover { text-decoration: underline; }
.dx-selection { background: #231a46; }
.dx-selection-actions > a { background: #ded4ff; color: #2b1b61; }
.dx-home .fx-preview {
  border: 1px solid var(--dx-line);
  border-radius: 15px;
  box-shadow: 0 22px 80px #21174645;
  max-width: 560px;
  width: calc(100% - 32px);
  padding: 27px;
  max-height: 85dvh;
  overflow: auto;
  background: #fff;
  color: var(--dx-ink);
}
.fx-preview::backdrop { background: #21174699; }
.fx-preview h2 { font-size: 27px; margin: 9px 0 12px; }
.fx-preview h3 { font-size: 14px; margin: 12px 0 5px; }
.fx-preview p { font-size: 13px; color: #53516b; }
.fx-close { position: absolute; top: 10px; right: 10px; border: 0; border-radius: 50%; width: 32px; height: 32px; background: #f2edfb; color: #473490; font-size: 21px; }
.fx-preview-note { margin-top: 12px !important; }
.fx-preview-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.fx-preview-actions > * { font-size: 11px; border: 1px solid #ded8ef; background: #fff; color: #473490; padding: 8px 11px; border-radius: 6px; text-decoration: none; }
.fx-preview-actions > a { background: #4c39bd; border-color: #4c39bd; color: #fff; }
.dx-home dialog:not([open]) { display: none; }
.fx-preview .dx-tags { min-height: 0; }

@media (max-width: 1000px) {
  .dx-hero-grid { gap: 24px; }
  .dx-shell { width: calc(100% - 44px); }
  .fx-question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dx-shell { width: calc(100% - 32px); }
  .dx-hero-grid { grid-template-columns: 1fr; padding-block: 26px; }
  .dx-intro h1 { font-size: clamp(34px, 8.8vw, 49px); }
  .dx-intro > p { font-size: 13px; }
  .dx-search-modes { margin-top: 16px; }
  .dx-search input { font-size: 12px; }
  .dx-search button { padding: 11px; }
  .fx-pulse { padding: 13px; border-radius: 14px; }
  .fx-controls select { font-size: 10px; }
  .fx-trend-card { padding: 9px; }
  .fx-trend-card svg text { font-size: 15px; }
  .fx-questions { padding: 27px 0; }
  .fx-question-grid { grid-template-columns: 1fr; gap: 10px; }
  .fx-question-mark { min-height: 38px; padding: 5px 12px; }
  .fx-question-mark b { font-size: 24px; }
  .fx-question-body { padding: 12px; }
  .fx-question-icons { display: none; }
  .dx-content { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .fx-categories { display: none; }
}

/* Three entry points and editorial head-to-head comparisons. */
.fx-choice-hero { padding-block: 40px 36px; }
.fx-choice-hero .dx-intro > p { max-width: 660px; }
.fx-choice-hero .dx-intro h1 { margin: 14px 0; }
.fx-choice-hero .dx-search { max-width: 690px; margin-top: 18px; }
.fx-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 25px;
}
.dx-home .fx-choice {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid #dfd6ef;
  border-radius: 12px;
  padding: 13px;
  color: #291e49;
  text-decoration: none;
  min-height: 67px;
  box-shadow: 0 3px 12px #49368408;
}
.dx-home .fx-choice:hover { border-color: #a28ce9; background: #fdfbff; }
.fx-choice-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: #4731a7; background: #eee7fe; font-size: 18px; font-weight: 700; }
.fx-choice:nth-child(2) .fx-choice-icon { background: #e0f1ea; color: #245e50; }
.fx-choice:nth-child(3) .fx-choice-icon { background: #fce8de; color: #83432c; }
.fx-choice strong { display: block; font-size: 14px; line-height: 1.3; }
.fx-choice small { display: block; margin-top: 3px; font-size: 11px; color: #5c5470; }
.fx-choice-arrow { color: #5743b1; font-size: 15px; }
.fx-matchups { padding: 34px 0 30px; border-bottom: 1px solid #deddec; scroll-margin-top: 12px; }
.fx-matchups h2 { font-size: clamp(24px, 3vw, 35px); line-height: 1.2; letter-spacing: -.035em; margin: 5px 0 15px; }
.fx-matchup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fx-matchup {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #e3deec;
  border-radius: 13px;
  background: #fff;
  padding: 18px;
}
.fx-matchup-top { display: flex; gap: 10px; justify-content: space-between; align-items: center; color: #5543ad; font-size: 11px; font-weight: 700; }
.fx-matchup-icons { display: flex; gap: 6px; }
.fx-matchup-icons .dx-icon { width: 31px; height: 31px; padding: 5px; border-radius: 7px; }
.fx-matchup h3 { color: #221a42; font-size: 18px; line-height: 1.3; margin: 8px 0 6px; }
.fx-matchup h3 a { text-decoration: none; }
.fx-matchup p { color: #57536b; font-size: 13px; margin: 0 0 10px; }
.fx-matchup ul { padding: 0 0 0 17px; margin: 0 0 13px; color: #443c5c; font-size: 12px; }
.fx-matchup li + li { margin-top: 3px; }
.fx-matchup .fx-matchup-link { color: #4a36ad; font-size: 12px; font-weight: 700; text-decoration: none; margin-top: auto; }
.fx-matchup a:hover { text-decoration: underline; }

.fx-wide-radar { margin-block: 28px 0; }
.fx-wide-radar .fx-controls { max-width: 560px; }
.fx-wide-radar .fx-trend-card svg { max-height: 315px; }
.fx-wide-radar .fx-trend-card svg text { font-size: 10px; }
.fx-wide-radar .fx-trend-value strong { font-size: 32px; }
.fx-wide-radar .fx-daily { max-width: 570px; }

.fx-comparison-page { color: #221a42; background: #fbfaf8; padding: 24px 0 72px; }
.fx-comparison-page * { box-sizing: border-box; }
.fx-pair-shell { max-width: 980px; }
.fx-pair-crumb { font-size: 12px; color: #5c5470; }
.fx-pair-crumb a, .fx-pair-bottom a, .fx-pair-sources a { color: #4a36ad; }
.fx-pair-intro {
  padding: 24px;
  border-radius: 16px;
  margin: 15px 0 24px;
  background: linear-gradient(125deg, #ece4fa, #f8f5fd);
}
.fx-pair-kicker { color: #5543ad; font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.fx-pair-intro h1 { font-size: clamp(28px, 5vw, 53px); line-height: 1.06; letter-spacing: -.045em; margin: 10px 0; }
.fx-pair-intro p { color: #4d4663; max-width: 620px; margin: 0; }
.fx-pair-intro .fx-checked { font-size: 11px; margin-top: 10px; }
.fx-comparison-page h2 { font-size: clamp(18px, 3vw, 26px); margin: 0 0 12px; line-height: 1.2; letter-spacing: -.02em; }
.fx-pair-details, .fx-pair-trial, .fx-pair-sources { margin-top: 27px; }
.fx-price-links [aria-current="page"] { font-weight: 750; text-decoration: underline; text-underline-offset: .2em; }
.fx-market-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  padding: 16px;
  border: 1px solid #cbd6ec;
  border-radius: 14px;
  background: #f3f7ff;
  color: #172344;
}
.fx-market-form label { display: grid; gap: 6px; min-width: 0; font-weight: 650; }
.fx-market-form select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #9caecf;
  border-radius: 8px;
  color: #172344;
  background: #fff;
  font: inherit;
}
.fx-market-form .fx-market-check { grid-column: 1 / -1; display: flex; align-items: center; min-height: 44px; }
.fx-market-check input { width: 20px; height: 20px; flex: 0 0 auto; }
.fx-market-apply {
  min-height: 44px;
  justify-self: start;
  color: #fff;
  background: #224dc7;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.fx-market-reset { min-height: 44px; display: inline-flex; align-items: center; justify-self: end; }
.fx-market-form :focus-visible { outline: 3px solid #224dc7; outline-offset: 3px; }
.fx-market-count { font-weight: 700; margin-block: 18px 10px; }
.fx-market-card-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.fx-market-card-links a { min-height: 44px; display: inline-flex; align-items: center; }
.fx-market-signal { font-size: .875rem; font-weight: 650; }
@media (max-width: 560px) {
  .fx-market-form { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fx-market-reset { justify-self: start; }
}
.fx-pair-facts { margin: 0; }
.fx-pair-row {
  display: grid;
  grid-template-columns: minmax(140px, .65fr) repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid #e7e1ef;
}
.fx-pair-row:nth-child(odd) { background: #f4effb; }
.fx-pair-row dt { font-size: 13px; font-weight: 700; }
.fx-pair-row dd { margin: 0; font-size: 13px; color: #514960; }
.fx-pair-row dd strong { display: block; color: #443199; margin-bottom: 3px; font-size: 12px; }
.fx-pair-note { color: #5b526b; font-size: 12px; margin: 12px 0 0; }
.fx-pair-trial { background: #e7f3ee; padding: 16px; border-radius: 11px; }
.fx-pair-trial p { margin: 0; font-size: 14px; }
.fx-pair-sources ul { padding-left: 18px; font-size: 13px; }
.fx-pair-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; font-size: 12px; }

@media (max-width: 760px) {
  .fx-choice-hero { padding-block: 26px 23px; }
  .fx-choices { grid-template-columns: 1fr; gap: 7px; margin-top: 16px; }
  .dx-home .fx-choice { min-height: 48px; grid-template-columns: 30px minmax(0, 1fr) auto; padding: 7px 10px; }
  .fx-choice-icon { width: 30px; height: 30px; font-size: 15px; }
  .fx-choice strong { font-size: 13px; }
  .fx-choice small { font-size: 10px; margin-top: 1px; }
  .fx-matchup-grid { grid-template-columns: 1fr; gap: 10px; }
  .fx-matchups { padding-block: 24px; }
  .fx-matchup { padding: 13px; }
  .fx-wide-radar .fx-trend-card svg text { font-size: 15px; }
  .fx-pair-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
  .fx-pair-row dt { grid-column: 1 / -1; }
  .fx-pair-row dd { font-size: 12px; }
  .fx-pair-intro { padding: 16px; }
}

/* Country is independent of language. Keep destination links easy to tap. */
.fx-market-control {
  display: grid;
  grid-template-columns: max-content minmax(135px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e1daee;
  background: #f4effb;
  border-radius: 9px;
}
.fx-market-control label { font-size: 12px; font-weight: 700; }
.fx-market-control select { min-width: 0; min-height: 37px; border: 1px solid #d9cdea; background: #fff; color: #2b1d54; border-radius: 6px; padding: 5px 8px; }
.fx-market-control p { font-size: 11px; color: #625477; }
.fx-market-control + .fx-price-links { margin: 10px 0 16px; }
.dx-home .dx-product-actions { flex-wrap: wrap; gap: 5px 10px; }
.dx-home .dx-product-actions .dx-provider-link,
.dx-home .fx-preview-actions .dx-provider-link,
.fx-comparison-page .fx-matchup-link[href^="https://"] {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #eae3fb;
  color: #3e2d99;
  font-weight: 700;
  text-decoration: none;
}
.dx-home .dx-provider-link:hover, .fx-comparison-page .fx-matchup-link[href^="https://"]:hover { background: #ddd2f7; text-decoration: underline; }
@media (max-width: 760px) {
  .fx-market-control { grid-template-columns: 1fr; gap: 6px; }
  .dx-home .dx-product-actions .dx-provider-link { min-height: 38px; }
}
