.swap-desk {
  --bg: #0b0d12;
  --surface: #12151d;
  --raised: #191e29;
  --line: #2b3342;
  --gold: #f2c63b;
  --fg: #f3f5fa;
  --muted: #b3bdcb;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: var(--sans);
  min-height: 100vh;
}
.swap-desk .l7-product-header { background: rgba(11, 13, 18, .94); }
.swap-desk .l7-product-header-inner { max-width: 1264px; }
.swap-skip {
  position: absolute;
  inset: 8px auto auto 12px;
  z-index: 60;
  transform: translateY(-150%);
  padding: 10px 15px;
  color: #0e0e0e;
  background: var(--gold);
}
.swap-skip:focus { transform: none; }
.swap-content {
  box-sizing: border-box;
  width: min(100%, 1200px);
  margin: auto;
  padding: clamp(20px, 4vw, 50px);
}
.swap-desk :is(h1, h2) { font-family: var(--display); font-weight: 650; letter-spacing: -.047em; }
.swap-hero {
  padding: clamp(25px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: radial-gradient(ellipse at 100% 0%, var(--raised), transparent 66%), var(--surface);
}
.swap-hero h1 { margin: .18em 0 .27em; font-size: clamp(2rem, 6vw, 4.1rem); line-height: 1.08; text-wrap: balance; }
.swap-hero h1 em { color: var(--gold); font-weight: inherit; }
.swap-kicker {
  margin: 0;
  color: var(--gold);
  font: 700 11px/1.5 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.swap-hero > p:last-of-type,
.swap-section > p { max-width: 68ch; color: var(--muted); line-height: 1.6; }
.swap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 26px; }
.swap-actions a, .swap-capabilities, .swap-footer a, .swap-profile a {
  box-sizing: border-box;
  color: var(--gold);
  text-underline-offset: 4px;
}
.swap-actions .swap-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: #241804;
  background: var(--gold);
  text-decoration: none;
  font-weight: 650;
}
.swap-actions .swap-primary:hover { background: #ffdd72; border-color: #ffdd72; }
.swap-section { margin-top: clamp(28px, 5vw, 56px); }
.swap-section h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.55rem); }
.swap-profiles, .swap-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
  align-items: start;
}
.swap-profile, .swap-checks > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px;
}
.swap-profile[open] { background: var(--raised); }
.swap-profile summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 42px; cursor: pointer; }
.swap-profile summary::after { content: "+"; color: var(--gold); }
.swap-profile[open] summary::after { content: "−"; }
.swap-profile summary::-webkit-details-marker { display: none; }
.swap-profile summary > span:first-child { min-width: 0; flex: 1; }
.swap-profile :is(small, strong) { display: block; }
.swap-profile small, .swap-profile p, .swap-checks dd { color: var(--muted); line-height: 1.55; }
.swap-profile p { margin: 10px 0 4px; }
.swap-label { padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; color: var(--gold); font: 11px/1.5 var(--mono); }
.swap-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.swap-checks dt { font-weight: 650; }
.swap-checks dd { margin: 6px 0 0; }
.swap-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  padding: 18px 24px 30px;
  border-top: 1px solid var(--line);
}
@media (max-width: 660px) {
  .swap-profiles, .swap-checks { grid-template-columns: 1fr; }
  .swap-desk .l7-product-header-inner { flex-wrap: wrap; gap: 6px 12px; padding-inline: 18px; }
  .swap-desk .l7-product-nav { flex-wrap: wrap; }
  .swap-content { padding-inline: 15px; }
  .swap-hero { padding: 20px; }
  .swap-actions .swap-primary { width: 100%; }
}
