:root {
  color-scheme: light;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1c1930;
  background: #f8f8fc;
  --ink: #1c1930;
  --muted: #655f77;
  --purple: #5b37c6;
  --purple-dark: #4826ac;
  --purple-light: #eee8ff;
  --line: #e8e5ef;
  --sidebar-width: 226px;
  --gutter: clamp(22px, 3vw, 42px);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
button, input, select { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
button, a { color: inherit; }
button, select { cursor: pointer; }
a { text-decoration: none; }
button { border: 0; background: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #7854e0; outline-offset: 4px; }
html { scroll-behavior: smooth; }
.icon { width: 20px; height: 20px; display: block; flex: none; }
[data-icon] { display: inline-grid; place-items: center; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 5; top: 8px; left: 8px; background: white;
  padding: 12px 16px; border-radius: 8px; transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  padding: 29px 17px 19px;
  border-right: 1px solid var(--line);
  background: #fff;
  z-index: 2;
}
.wordmark { display: flex; align-items: center; gap: 11px; margin: 0 10px 48px; width: fit-content; }
.wordmark-icon {
  width: 43px; height: 43px; color: white; border-radius: 13px;
  background: linear-gradient(145deg, #8759f5 0%, #6137ce 65%, #5028b7 100%);
  box-shadow: 0 3px 9px #6335ce37, inset 0 1px 1px #ffffff4a;
}
.wordmark-icon .icon { width: 25px; height: 25px; }
.wordmark strong, .wordmark small { display: block; }
.wordmark strong { line-height: 1.05; font-size: 21px; font-weight: 800; letter-spacing: .045em; }
.wordmark small { font-size: 12px; color: #736b85; margin-top: 4px; font-weight: 650; letter-spacing: .03em; }
.main-nav, .nav-group { display: grid; gap: 6px; }
.main-nav { gap: 28px; }
.nav-label { font-size: 12px; color: #716981; padding-inline: 12px; margin-bottom: 4px; font-weight: 650; }
.nav-link {
  display: flex; align-items: center; gap: 11px; min-height: 46px;
  padding: 9px 12px; border-radius: 10px; text-align: start; color: #504961;
  font-size: 14px; font-weight: 620; white-space: nowrap; transition: background .16s, color .16s;
}
.nav-link .icon { width: 18px; height: 18px; }
.nav-link:hover { color: var(--purple); background: #f5f1fd; }
.nav-link[aria-current="page"] { color: #542dbd; background: #ede7fc; font-weight: 750; }
.nav-count { margin-inline-start: auto; font-size: 12px; padding: 2px 6px; border-radius: 6px; background: #f0ecf8; }
.source-tile {
  margin-top: auto; width: 100%; display: flex; align-items: center; gap: 9px;
  padding: 11px 9px; border-radius: 12px; border: 1px solid #e9e1fa; text-align: left;
  background: #f8f5ff; color: #40315e;
}
.source-tile:hover { background: #eee7fc; }
.source-symbol { background: #ece3ff; color: #633bc6; border-radius: 9px; width: 32px; height: 32px; }
.source-symbol .icon, .source-trailing .icon { width: 16px; height: 16px; }
.source-tile strong, .source-tile small { display: block; }
.source-tile strong { font-size: 13px; }
.source-tile small { font-size: 12px; color: var(--muted); margin-top: 2px; }
.source-trailing { margin-left: auto; }

.workspace { margin-inline-start: var(--sidebar-width); }
.topbar {
  height: 70px; padding-inline: var(--gutter); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff;
}
.breadcrumb { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.breadcrumb .icon { width: 17px; height: 17px; }
.breadcrumb-divider { color: #a09aaf; }
.breadcrumb strong { color: var(--ink); font-weight: 680; }
.toolbar { display: flex; align-items: center; gap: 9px; margin-inline-start: auto; min-width: 0; }
.search-box {
  display: flex; align-items: center; gap: 8px; border: 1px solid #e9e6f0;
  border-radius: 10px; height: 41px; width: 310px; min-width: 0; padding-inline: 11px;
  background: #f9f8fc; color: #716785;
}
.search-box:focus-within { background: #fff; border-color: #9b7de8; box-shadow: 0 0 0 2px #f0e7ff; }
.search-box .icon { width: 17px; height: 17px; }
.search-box input {
  min-width: 0; flex: 1; border: none; outline: none; background: transparent;
  color: var(--ink); font-size: 14px; height: 100%; padding: 0;
}
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box input::placeholder { color: #746d84; opacity: 1; }
.language-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none;
  min-height: 41px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px;
  background: white; color: #5432b7; font-size: 14px; font-weight: 730;
}
.language-button:hover { background: #f1ebff; border-color: #d8c9f5; }
.language-button .icon { width: 16px; height: 16px; }
.account-button { background: #f2ecff; border-color: #e3d9f8; white-space: nowrap; }
.account-button:disabled, .detail-button:disabled { cursor: wait; opacity: .6; }
kbd {
  font: inherit; font-weight: 600; font-size: 12px; line-height: 1.2; white-space: nowrap; color: #6c637e;
  background: #fff; border: 1px solid #e6e2ef; border-radius: 5px; padding: 3px 5px;
}

.content { max-width: 1550px; margin: 0 auto; padding: 30px var(--gutter) 0; }
.hero {
  min-height: 283px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 19px;
  display: flex;
  align-items: center;
  padding: 33px 36px;
  background:
    radial-gradient(ellipse at 81% 56%, #604095 0%, #372153 36%, transparent 67%),
    linear-gradient(112deg, #1b1431 9%, #2c1b4d 61%, #37205b 100%);
  color: #fff;
  box-shadow: 0 7px 23px #24133316;
}
.hero::before {
  position: absolute; content: ""; z-index: -1; inset: 0;
  background-image: radial-gradient(#d8bfff5d 1px, transparent 1.1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(108deg, transparent 27%, #000 85%);
  opacity: .45;
}
.hero-copy { position: relative; z-index: 1; }
.hero-kicker {
  color: #e7d9ff; border: 1px solid #bda0f243; background: #c0a2fa1c;
  padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center;
  gap: 6px; font-size: 13px; font-weight: 650; letter-spacing: .06em;
}
.hero-kicker .icon { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(31px, 3.7vw, 54px); line-height: 1.16; letter-spacing: .015em; font-weight: 800; margin: 13px 0 12px; }
.hero-description { color: #e0d5ef; font-size: 16px; line-height: 1.65; max-width: 22em; }
:lang(en) .hero-copy { max-width: 34rem; }
:lang(en) .hero h1 { font-size: clamp(30px, 3.25vw, 49px); letter-spacing: -.025em; }
:lang(en) .hero-description { max-width: 30em; }
.hero-button {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  background: #eae0ff; color: #342059; border-radius: 9px;
  min-height: 39px; padding: 8px 14px; font-size: 14px; font-weight: 750;
}
.hero-button:hover { background: #fff; }
.hero-button .icon { width: 17px; height: 17px; }
.hero-art {
  width: clamp(340px, 43vw, 590px);
  position: absolute;
  z-index: -1;
  right: clamp(-23px, 1.4vw, 21px);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 49%, #000d 63%, transparent 79%);
}
.hero-art img { display: block; width: 100%; height: auto; }
.hero.crypto-hero {
  background: radial-gradient(ellipse at 82% 54%, #48479b 0%, #2b245f 39%, transparent 72%), #1a1436;
}

.catalog { margin-top: 32px; scroll-margin-top: 16px; }
.catalog:first-child, .hero[hidden] + .catalog { margin-top: 8px; }
.catalog:focus { outline: none; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.section-head h2 { font-size: clamp(25px, 2.4vw, 33px); line-height: 1.2; letter-spacing: .015em; font-weight: 800; }
.section-head p:not(.verified-date) { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 6px; }
.verified-date {
  display: flex; align-items: center; gap: 6px; align-self: end; margin-bottom: 2px;
  color: #6d627f; font-size: 13px; white-space: nowrap;
}
.verified-date .icon { width: 15px; height: 15px; }
.verified-date time { color: #504461; font-variant-numeric: tabular-nums; }
.filter-bar { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.region-options { display: flex; gap: 8px; flex-wrap: wrap; }
.region-chip, .select-control {
  min-height: 39px; border-radius: 8px; border: 1px solid var(--line); background: white;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 14px; color: #544b68; font-weight: 620;
}
.region-chip { padding: 7px 12px; }
.region-chip .icon, .select-control .icon { width: 16px; height: 16px; }
.flag { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; line-height: 1; font-size: 16px; }
.region-chip:hover, .select-control:hover { background: #f6f2ff; border-color: #dbcdf7; color: var(--purple); }
.region-chip[aria-pressed="true"] { background: #633ccf; color: white; border-color: #633ccf; box-shadow: 0 2px 5px #5734b731; }
.select-control { position: relative; }
.select-control [data-icon]:first-child { position: absolute; left: 10px; pointer-events: none; }
.select-control [data-icon]:last-child { position: absolute; right: 8px; pointer-events: none; }
.select-control select { appearance: none; border: 0; border-radius: inherit; background: transparent; color: inherit; padding: 8px 29px 8px 34px; }
.result-bar {
  margin: 16px 0 12px; color: var(--muted); font-size: 13px; min-height: 21px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.result-bar strong { font-size: 14px; color: var(--ink); }
.reset-button { display: inline-flex; align-items: center; gap: 4px; color: var(--purple); padding: 0; font-weight: 650; }
.reset-button:hover { text-decoration: underline; }
.reset-button .icon { width: 14px; height: 14px; }

.offers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.offer-card {
  display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 16px;
  border: 1px solid #e6e3f0; border-radius: 14px; background: #fff;
  box-shadow: 0 2px 4px #2f1d5906;
  transition: border-color .16s, box-shadow .16s;
}
.offer-card:hover { border-color: #d8c9f5; box-shadow: 0 4px 15px #2c1d4e0c; }
.card-top, .card-bottom { display: flex; align-items: center; gap: 6px; }
.card-top { min-height: 27px; }
.card-region { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 670; color: #514863; }
.type-pill {
  display: inline-flex; align-items: center; padding: 3px 8px; min-height: 23px;
  border-radius: 6px; font-size: 12px; font-weight: 670; color: #5838a6; background: #f1ebff;
}
.type-pill.debit { color: #176251; background: #e7f7ef; }
.type-pill.prepaid { color: #785117; background: #fff3da; }
.type-pill.crypto { color: #34449a; background: #eef0ff; }
.bookmark-button { margin-left: auto; }
.icon-button {
  display: inline-grid; place-items: center; color: #716783;
  width: 32px; height: 32px; padding: 0; border-radius: 8px;
}
.icon-button .icon { width: 17px; height: 17px; }
.icon-button:hover { color: var(--purple); background: #f2edfb; }
.bookmark-button[aria-pressed="true"] { color: #5836bd; background: #f1ebff; }
.bookmark-button[aria-pressed="true"] .icon { fill: #9e81ef; }
.card-identity { display: flex; align-items: center; min-width: 0; gap: 11px; }
.brand-mark {
  height: 44px; width: 47px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; letter-spacing: -.025em;
  color: #fff; background: var(--mark, linear-gradient(140deg, #7961b9, #463275));
  box-shadow: inset 0 1px 1px #ffffff42;
}
.brand-mark.chase { --mark: linear-gradient(142deg, #3186dd, #154895); }
.brand-mark.gold { --mark: linear-gradient(141deg, #f8dfac, #b88039); color: #402b13; }
.brand-mark.cobalt { --mark: linear-gradient(141deg, #404966, #191f32); }
.brand-mark.capital { --mark: linear-gradient(141deg, #2b87b4, #0e4664); }
.brand-mark.lloyds { --mark: linear-gradient(141deg, #3b9e77, #11654b); }
.brand-mark.tangerine { --mark: linear-gradient(141deg, #fe8c33, #ac4812); }
.brand-mark.hsbc { --mark: linear-gradient(141deg, #ee6266, #a51d38); }
.brand-mark.sofi { --mark: linear-gradient(141deg, #1185a9, #006282); }
.brand-mark.schwab { --mark: linear-gradient(141deg, #258dca, #125381); }
.brand-mark.revolut { --mark: linear-gradient(141deg, #504571, #242033); }
.brand-mark.fidelity { --mark: linear-gradient(141deg, #47844f, #20592d); }
.brand-mark.za { --mark: linear-gradient(141deg, #6028ce, #2e1272); }
.brand-mark.boc { --mark: linear-gradient(141deg, #cf3d53, #8e1730); }
.brand-mark.monzo { --mark: linear-gradient(141deg, #dc6056, #9c293c); }
.brand-mark.wise { --mark: linear-gradient(141deg, #d1f88b, #92ce65); color: #263f2f; }
.brand-mark.wealthsimple { --mark: linear-gradient(141deg, #5b574f, #2e2c29); }
.brand-mark.eq { --mark: linear-gradient(141deg, #ffdb72, #eda648); color: #4d3015; }
.brand-mark.coinbase { --mark: linear-gradient(141deg, #5484fc, #1748de); font-size: 21px; }
.brand-mark.kraken { --mark: linear-gradient(141deg, #a080f2, #6038c7); font-size: 21px; }
.card-identity p { font-size: 12px; color: #675e78; font-weight: 630; margin-bottom: 3px; }
.card-identity h3 { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.22; font-weight: 790; overflow-wrap: anywhere; }
.card-requirements { display: grid; gap: 7px; color: #534a64; font-size: 13px; line-height: 1.42; }
.card-requirements > div { display: flex; align-items: start; gap: 7px; }
.card-requirements [data-icon] { color: var(--purple); margin-top: 2px; }
.card-requirements .icon { height: 15px; width: 15px; }
.card-requirements strong { display: block; color: var(--ink); font-weight: 730; }
.card-requirements p { min-width: 0; overflow-wrap: anywhere; }
.reward-box {
  padding: 10px 13px 11px; border-radius: 9px; background: #f5f1fe; color: #5731bb;
  border: 1px solid #eee6fc;
}
.reward-box.muted-reward { background: #f7f6fb; border-color: #f0edf7; color: #514766; }
.reward-label { display: flex; align-items: center; gap: 6px; color: #5b4288; font-size: 12px; font-weight: 700; }
.reward-label .icon { width: 14px; height: 14px; }
.reward-number {
  margin-top: 3px; font-size: clamp(24px, 2.2vw, 35px); font-weight: 790; line-height: 1.13;
  letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.reward-number.text-reward { font-size: clamp(21px, 2vw, 28px); letter-spacing: 0; }
.reward-unit { font-size: 13px; color: #654391; letter-spacing: 0; font-weight: 700; margin-left: 5px; white-space: nowrap; }
.card-notes { display: grid; gap: 7px; line-height: 1.42; color: #534a64; font-size: 13px; }
.card-notes p { display: flex; gap: 6px; align-items: start; }
.card-notes [data-icon] { margin-top: 2px; color: #7753bf; }
.card-notes .icon { width: 14px; height: 14px; }
.card-benefit strong { display: block; color: var(--ink); font-weight: 680; }
.card-benefit-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-bottom { margin-top: auto; padding-top: 11px; border-top: 1px solid #efecf5; justify-content: space-between; }
.card-cost { color: #61586e; font-size: 13px; }
.detail-button {
  flex: none; color: #5432b7; background: #f0eafd;
  font-weight: 720; font-size: 13px; border-radius: 7px; padding: 7px 10px; min-height: 34px;
}
.detail-button:hover { background: #633ccf; color: #fff; }

.roadmap { scroll-margin-top: 16px; }
.roadmap:focus { outline: none; }
.roadmap-header {
  padding: clamp(24px, 3.4vw, 43px); border-radius: 18px; overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 92% 111%, #6e49ae 0%, transparent 74%),
    linear-gradient(112deg, #22153d, #38225d);
}
.roadmap-header h1 {
  font-size: clamp(30px, 3.4vw, 49px); max-width: 25ch;
  font-weight: 800; line-height: 1.1; text-wrap: balance;
}
.roadmap-header p { max-width: 45em; margin-top: 13px; color: #efe6ff; font-size: 16px; line-height: 1.6; }
.roadmap-selector { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 10px; }
.roadmap-selector .region-chip { text-align: start; }
.roadmap-summary { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 22px; }
.card-path {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  list-style: none; padding: 0; margin: 0 0 14px;
}
.card-path-point {
  display: grid; text-align: start; gap: 4px; width: 100%; height: 100%;
  padding: 12px 14px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
}
.card-path-point span { font-size: 12px; color: var(--muted); }
.card-path-point strong { font-size: 15px; overflow-wrap: anywhere; }
.card-path-point:hover, .card-path-point[aria-current="step"] { background: #f2ebff; border-color: #c6b0ee; }
.roadmap-progress {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center;
  padding: 16px 19px; margin-bottom: 20px; border: 1px solid #e2d7f6; border-radius: 13px;
  background: #f4effe;
}
.progress-main { min-width: 0; }
.progress-main h2 { font-size: 14px; font-weight: 720; color: var(--purple-dark); }
#progress-status { margin-top: 5px; font-size: 16px; font-weight: 770; overflow-wrap: anywhere; }
#progress-meter { display: block; width: min(100%, 280px); height: 8px; margin: 9px 0 6px; accent-color: #7046d2; }
.progress-storage { font-size: 13px; color: var(--muted); }
.progress-error, .account-error { margin: 0; color: #a42d42; font-size: 14px; }
.progress-error { grid-column: 1 / -1; }
.progress-actions { display: flex; gap: 8px; }
.progress-actions .detail-button { background: #e9ddff; }
.roadmap-steps { list-style: none; padding: 0; margin: 0 0 19px; }
.roadmap-step { position: relative; display: grid; grid-template-columns: 39px minmax(0, 1fr); gap: 14px; }
.roadmap-step:not(:last-child) { padding-bottom: 13px; }
.roadmap-step:not(:last-child)::before {
  content: ""; position: absolute; top: 30px; bottom: -16px; left: 18px; border-inline-start: 2px solid #d9cdf5;
}
.step-number {
  position: relative; display: grid; place-items: center; margin-top: 15px;
  border: 2px solid #fff; border-radius: 50%; width: 38px; height: 38px;
  color: #5432b7; background: #e8ddff; font-size: 15px; font-weight: 790;
}
.step-content { padding: 16px 19px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.roadmap-step[data-status="current"] .step-content { border-color: #b69be9; box-shadow: 0 3px 12px #3b266414; }
.roadmap-step[data-status="current"] .step-number { background: #633ccf; color: white; }
.step-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.step-phase { color: var(--purple-dark); font-size: 13px; font-weight: 720; }
.step-status { background: #f2ecfc; color: #5d4782; border-radius: 6px; padding: 2px 7px; font-size: 12px; white-space: nowrap; }
.roadmap-step[data-status="current"] .step-status { background: #e9ddff; color: var(--purple-dark); font-weight: 720; }
.step-content h2 { margin-top: 4px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.25; font-weight: 800; }
.step-description { margin-top: 7px; max-width: 90ch; color: #514862; font-size: 15px; line-height: 1.64; }
.step-content .official-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 9px 0 0; font-size: 13px; }
.step-action { margin-top: 13px; }
.roadmap-step[data-status="current"] .step-action, .account-submit { background: #633ccf; color: white; }
.roadmap-step[data-status="current"] .step-action:hover, .account-submit:hover { background: #4c2aaf; }

.account-form { display: grid; gap: 13px; }
.account-form > label:not(.account-import) { display: grid; gap: 4px; font-weight: 670; }
.account-form input:not([type="checkbox"]) {
  color: var(--ink); background: #faf8ff; border: 1px solid #dfd5f2;
  border-radius: 8px; width: 100%; padding: 9px 12px;
}
.account-form .account-import { display: flex; align-items: start; gap: 7px; font-size: 14px; }
.account-import input { margin-top: 5px; accent-color: var(--purple); }
.account-email { overflow-wrap: anywhere; }
.account-submit { justify-self: start; min-height: 37px; padding-inline: 14px; }

.empty-state { text-align: center; color: var(--muted); border: 1px dashed #dcd1f0; border-radius: 14px; padding: 52px 15px; background: #fff; }
.empty-state [data-icon] { background: #f2ebff; color: var(--purple); border-radius: 12px; width: 44px; height: 44px; }
.empty-state h3 { color: var(--ink); margin: 12px 0 5px; }
.empty-state button { margin-top: 14px; }
.footer {
  margin-top: 28px; padding: 18px 0 23px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; color: var(--muted);
}
.footer p { display: flex; align-items: start; gap: 6px; }
.footer .icon { width: 15px; height: 15px; }
.footer button { flex: none; color: var(--purple); font-weight: 650; padding: 0; }
.footer button:hover { text-decoration: underline; }

.dialog {
  border: 1px solid #e7e1f4; border-radius: 18px; width: min(650px, calc(100% - 28px));
  max-height: calc(100% - 36px); padding: 0; color: var(--ink); background: white;
  box-shadow: 0 20px 90px #170d3c41; overscroll-behavior: contain;
}
.dialog::backdrop { background: #1a122d81; }
body:has(.dialog[open]) { overflow: hidden; }
.dialog-header {
  position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; gap: 10px;
  background: #faf8ff; padding: 19px 22px; border-bottom: 1px solid var(--line);
}
.dialog-header h2 { font-size: 22px; line-height: 1.3; font-weight: 800; }
.dialog-header p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.dialog-close { flex: none; }
.dialog-body { padding: 19px 22px 22px; color: #514861; font-size: 15px; line-height: 1.65; }
.dialog-body .reward-box { margin-bottom: 18px; }
.dialog-body h3 { color: var(--ink); font-size: 16px; margin-bottom: 5px; }
.dialog-body section + section { margin-top: 17px; }
.dialog-body ul, .dialog-body ol { padding-inline-start: 22px; margin: 3px 0 0; }
.dialog-body li + li { margin-top: 5px; }
.dialog-metadata { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 7px; font-size: 13px; color: #584176; }
.official-links { list-style: none; padding: 0 !important; }
.official-links a { text-decoration: underline; text-underline-offset: 3px; color: var(--purple-dark); }
.official-links a:hover { color: #714ce0; }
.dialog-help { margin-top: 17px; font-size: 13px; color: var(--muted); }
.glossary dt { color: var(--ink); font-weight: 740; margin-top: 11px; }
.glossary dd { margin-top: 2px; }
.source-list { margin-top: 15px; }
.source-list details { padding: 7px 0; border-bottom: 1px solid #eeeaf5; }
.source-list summary { cursor: pointer; font-weight: 680; color: #382c52; }
.source-list ul { margin: 7px 0; }

@media (max-width: 1220px) {
  :root { --sidebar-width: 195px; --gutter: 26px; }
  .sidebar { padding-inline: 14px; }
  .hero-art { width: clamp(360px, 42vw, 520px); right: -7px; }
  .hero { min-height: 260px; }
  .offers-grid { gap: 13px; }
}
@media (max-width: 1050px) {
  :root { --sidebar-width: 170px; --gutter: 20px; }
  .hero { padding-inline: 27px; }
  .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-tile { padding-inline: 7px; gap: 6px; }
  .source-symbol { width: 26px; height: 28px; }
  :lang(en) .wordmark { margin-inline: 4px; }
  :lang(en) .wordmark strong { font-size: 18px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .sidebar {
    position: relative; width: 100%; padding: 12px var(--gutter) 9px; border-right: 0;
    border-bottom: 1px solid var(--line); gap: 10px;
  }
  .wordmark { margin: 0; }
  .wordmark-icon { width: 33px; height: 33px; border-radius: 9px; }
  .wordmark-icon .icon { width: 20px; height: 20px; }
  .wordmark strong { font-size: 18px; }
  .wordmark small { font-size: 11px; margin-top: 2px; }
  .main-nav { display: flex; flex-wrap: wrap; gap: 3px; }
  .nav-group { display: flex; flex-wrap: wrap; gap: 3px; }
  .nav-label, .source-tile { display: none; }
  .nav-link { gap: 5px; min-height: 37px; padding: 6px 8px; font-size: 13px; }
  .nav-link .icon { width: 15px; height: 15px; }
  .nav-count { padding: 1px 3px; }
  .workspace { margin-inline-start: 0; }
  .topbar { height: 51px; }
  .breadcrumb { display: none; }
  .topbar:has(.search-box[hidden]) .breadcrumb { display: flex; }
  .topbar:has(.search-box[hidden]) .breadcrumb > :not(:first-child, #current-view) { display: none; }
  .toolbar { width: 100%; justify-content: flex-end; }
  .search-box { width: 100%; height: 36px; }
  .language-button { min-height: 36px; }
  kbd { display: none; }
  .content { padding-top: 16px; }
  .hero { min-height: 237px; padding: 20px; border-radius: 14px; }
  .hero h1 { font-size: clamp(29px, 6vw, 42px); }
  .hero-art { right: -26px; width: clamp(245px, 61vw, 400px); opacity: .67; mask-image: linear-gradient(90deg, transparent 2%, #000 44%); }
  .hero-description { font-size: 15px; }
  :lang(en) .hero-description { max-width: 23em; }
  .hero-button { margin-top: 15px; }
  .catalog { margin-top: 24px; }
  .section-head { align-items: start; flex-direction: column; gap: 7px; }
  .verified-date { align-self: start; }
  .filter-bar { margin-top: 14px; gap: 8px; }
  .region-options { gap: 6px; }
  .region-chip, .select-control { min-height: 36px; font-size: 13px; }
  .region-chip { padding-inline: 8px; }
}

@media (max-width: 520px) {
  .nav-link { font-size: 12px; padding-inline: 6px; }
  .hero { min-height: 232px; }
  .hero-art { right: -54px; top: 48%; opacity: .36; }
  .hero-description { max-width: 16em; }
  :lang(en) .hero-description { max-width: 20em; }
  .offers-grid { grid-template-columns: 1fr; }
  .offer-card { padding: 14px; gap: 12px; }
  .card-identity h3 { font-size: 19px; }
  .reward-number { font-size: 30px; }
  .footer { font-size: 12px; }
  .dialog-header, .dialog-body { padding-inline: 16px; }
  .roadmap-header { border-radius: 14px; }
  .roadmap-step { grid-template-columns: 27px minmax(0, 1fr); gap: 7px; }
  .roadmap-step:not(:last-child)::before { left: 12px; }
  .step-number { width: 27px; height: 27px; font-size: 13px; }
  .step-content { padding: 13px; }
  .toolbar { gap: 5px; }
  .language-button { padding-inline: 7px; gap: 4px; }
  .card-path { gap: 6px; }
  .card-path-point { padding: 9px 6px; }
  .card-path-point strong { font-size: 13px; }
  .roadmap-progress { grid-template-columns: 1fr; padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
