:root {
  --jupiter-plugin-primary: 48, 172, 222;
  --jupiter-plugin-background: 242, 249, 253;
  --jupiter-plugin-primaryText: 23, 54, 80;
  --jupiter-plugin-warning: 251, 191, 36;
  --jupiter-plugin-interactive: 225, 240, 249;
  --jupiter-plugin-module: 255, 255, 255;
  --ink: #18334e;
  --muted: #617a91;
  --sky-700: #087fa8;
  --sky-600: #119dcc;
  --sky-100: #e5f5fc;
  --line: #dce8ef;
  --gold: #ffd14d;
  --gold-shadow: #eab925;
  --paper: #f7fbfe;
  --white: #fff;
  --purple: #9b81ed;
  --aqua: #64e7d5;
  --green: #168c71;
  --shadow: 0 18px 46px rgba(47, 104, 137, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { min-height: 76px; display: flex; align-items: center; gap: 26px; padding: 10px clamp(16px, 4vw, 58px); background: rgba(255,255,255,.97); border-bottom: 1px solid #e6edf2; position: sticky; top: 0; z-index: 10; }
.brand { min-width: 240px; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { display: block; width: 48px; height: 48px; object-fit: cover; border-radius: 50%; animation: logo-spin 18s linear infinite; transform-origin: center; }
@keyframes logo-spin { to { transform: rotate(360deg); } }
.brand__copy { display: grid; gap: 3px; }
.brand__copy strong { color: #172d47; font-size: 14px; letter-spacing: .015em; }
.brand__copy small { color: #73869a; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.2vw, 30px); flex: 1; }
.main-nav a { color: #64798d; font-size: 11px; font-weight: 650; text-decoration: none; transition: color .18s ease; }
.main-nav a:hover, .mobile-nav a:hover { color: var(--sky-700); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; border-radius: 8px; padding: 0 17px; font-size: 11px; font-weight: 800; text-decoration: none; cursor: pointer; transition: filter .16s ease, transform .16s ease; }
.button:hover { filter: brightness(.98); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #755be7; outline-offset: 2px; }
.button--gold { color: #233c51; background: var(--gold); box-shadow: 0 4px 0 var(--gold-shadow); }
.button--blue { color: white; background: var(--sky-600); box-shadow: 0 4px 0 #087fa8; }
.button--small { min-height: 38px; padding: 0 13px; font-size: 10px; }
.button--wide { width: 100%; min-height: 43px; }
.menu-button { display: none; width: 38px; height: 38px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border: 1px solid #dbe6ed; background: white; border-radius: 8px; }
.menu-button span { width: 15px; height: 2px; background: #426078; border-radius: 2px; }
.mobile-nav { position: sticky; top: 76px; z-index: 9; padding: 10px 18px 15px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px #34536c14; }
.mobile-nav a { display: block; padding: 11px 3px; color: #617a91; text-decoration: none; font-size: 12px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(118deg, #a8def8 0%, #c6ecfa 53%, #e0f6fc 100%); padding: 54px clamp(18px, 5vw, 72px) 52px; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 510px; height: 510px; top: -235px; right: 2%; border: 1px solid #fff9; border-radius: 50%; background: #ffffff3c; box-shadow: 0 0 0 28px #ffffff2b, 0 0 0 74px #ffffff18; }
.hero::after { content: ""; position: absolute; z-index: -1; width: 430px; height: 290px; right: 26%; bottom: -190px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: #63b9e0; opacity: .42; }
.shape { position: absolute; z-index: -1; pointer-events: none; }
.shape--triangle { left: 38%; top: -135px; width: 180px; height: 180px; background: #5db7df50; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: rotate(180deg); }
.shape--sun { right: -32px; top: 0; width: 130px; height: 130px; background: #ffe47c; clip-path: polygon(0 0, 100% 0, 100% 100%); opacity: .84; }
.shape--diamond { left: -64px; bottom: 43px; width: 112px; height: 112px; background: #fff9dc; border-radius: 27px; transform: rotate(45deg); }
.shape--soft-circle { left: 49%; top: 35px; width: 190px; height: 190px; background: #ffffff28; border-radius: 50%; }
.hero__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 410px); gap: clamp(26px, 4.5vw, 66px); align-items: center; }
.hero__copy { padding: 8px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 11px; color: #087ba4; background: #ffffffa8; border: 1px solid #ffffffce; border-radius: 999px; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.eyebrow__dot, .status-pill i { width: 7px; height: 7px; display: inline-block; background: #14b99f; border-radius: 50%; }
h1 { margin: 20px 0 13px; max-width: 670px; color: #153854; font-size: clamp(37px, 5vw, 64px); letter-spacing: -.055em; line-height: 1.01; }
h1 span { color: #098ebd; }
.hero__lead { max-width: 540px; margin: 0; color: #355973; font-size: 13px; line-height: 1.75; }
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 23px; }
.text-link { padding: 8px 1px; color: #12688c; font-size: 10px; font-weight: 750; text-decoration: none; }
.hero__note { margin: 16px 0 0; color: #4e7188; font-size: 9px; line-height: 1.55; }

.deal-preview { padding: 21px; background: rgba(255,255,255,.97); border: 1px solid #d5e6f1; border-radius: 14px; box-shadow: var(--shadow); }
.swap-intro { margin: -6px 0 16px; color: #61798d; font-size: 12px; line-height: 1.6; }
.swap-widget { min-height: 430px; width: 100%; overflow: hidden; border-radius: 16px; }
.swap-widget > * { max-width: 100%; }
.deal-preview__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.section-kicker { margin: 0 0 6px; color: #138db3; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.deal-preview h2 { margin: 0; color: #173650; font-size: 15px; letter-spacing: -.02em; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; color: #977316; background: #fff6d7; font-size: 8px; font-weight: 800; }
.status-pill i { width: 6px; height: 6px; background: #e5b425; }
.field-label { display: block; margin: 12px 0 6px; color: #74889b; font-size: 8px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.deal-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; padding: 6px 8px 6px 11px; background: #f9fcfe; border: 1px solid #dae6ee; border-radius: 7px; }
.deal-field input { min-width: 0; width: 100%; border: 0; outline: 0; color: #223f58; background: transparent; font-size: 11px; }
.deal-field select { max-width: 95px; border: 1px solid #dce7ee; border-radius: 5px; padding: 6px 7px; color: #38566d; background: white; font-size: 9px; }
.swap-arrow { height: 19px; display: grid; place-items: center; color: #12a1bf; font-size: 14px; }
.deal-meta { display: flex; justify-content: space-between; gap: 8px; margin: 11px 0 12px; color: #74889b; font-size: 8px; }
.deal-preview__foot { margin: 10px 0 0; color: #718599; font-size: 8px; line-height: 1.5; }

.token-strip { position: relative; z-index: 2; width: min(1190px, calc(100% - 40px)); min-height: 74px; display: flex; align-items: center; gap: 18px; margin: -1px auto 0; padding: 13px 17px; background: white; border: 1px solid #e0eaf0; border-radius: 0 0 12px 12px; box-shadow: 0 10px 25px #244a6310; }
.token-identity { min-width: 194px; display: flex; align-items: center; gap: 9px; }
.token-identity__mark { width: 34px; height: 34px; display: grid; place-items: center; color: #173a52; background: linear-gradient(135deg, var(--aqua), #a78bfa); border-radius: 50%; font-weight: 850; font-size: 12px; }
.token-identity strong { display: block; color: #203e57; font-size: 10px; }
.token-identity small { display: block; margin-top: 3px; color: #8292a0; font-size: 8px; }
.token-ca { min-width: 0; display: flex; align-items: center; gap: 9px; flex: 1; }
.token-ca__label { color: #83919e; font-size: 8px; font-weight: 750; letter-spacing: .08em; white-space: nowrap; }
.token-ca code { min-width: 0; overflow-wrap: anywhere; color: #435b6e; font-size: 9px; }
.copy-button { flex: 0 0 auto; border: 1px solid #d9e5ec; border-radius: 5px; padding: 7px 9px; color: #3d6880; background: #f8fbfd; font-size: 8px; font-weight: 750; cursor: pointer; }
.token-buy { white-space: nowrap; }

.content-section { max-width: 1190px; margin: 49px auto 0; padding: 0 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.section-heading h2, .content-section h2, .how-section h2 { margin: 0; color: #183751; font-size: 20px; letter-spacing: -.035em; }
.section-subtitle { max-width: 550px; margin: 7px 0 0; color: #728699; font-size: 10px; line-height: 1.65; }
.search-box { display: flex; align-items: center; gap: 7px; width: 215px; min-height: 36px; border: 1px solid #d9e5ec; border-radius: 7px; padding: 0 10px; color: #7991a4; background: white; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: #294860; background: transparent; font-size: 9px; }
.market-tools { display: flex; align-items: center; gap: 8px; }
.refresh-button { min-height: 36px; padding: 0 11px; border: 1px solid #d9e5ec; border-radius: 7px; background: white; color: #38647b; font-size: 9px; font-weight: 750; cursor: pointer; }
.refresh-button:disabled { opacity: .62; cursor: wait; }
.market-list { border-top: 1px solid #dfe8ee; }
.market-row { min-height: 68px; display: grid; grid-template-columns: minmax(180px, 1.35fr) repeat(4, minmax(76px, .62fr)) auto; align-items: center; gap: 13px; padding: 10px 12px; background: white; border-bottom: 1px solid #e8eff3; }
.market-row__asset { display: flex; align-items: center; gap: 9px; min-width: 0; }
.market-row__logo { width: 31px; height: 31px; display: block; object-fit: cover; border-radius: 50%; }
.market-row__asset strong { display: block; color: #243f56; font-size: 10px; }
.market-row__asset small { display: block; margin-top: 3px; color: #8594a2; font-size: 8px; }
.market-row__metric { display: grid; gap: 4px; min-width: 0; }
.market-row__metric small { color: #8b98a4; font-size: 7px; font-weight: 750; letter-spacing: .09em; }
.market-row__metric strong { overflow: hidden; color: #304c63; font-size: 9px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.market-row__metric strong.is-positive { color: #138464; }
.market-row__metric strong.is-negative { color: #c34f5b; }
.market-row__link, .inline-link { color: #087fa8; font-size: 9px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.feed-note { margin: 10px 0 0; color: #75899a; font-size: 8px; }
.feed-note.is-error { color: #a23e4c; }
.feed-attribution { margin: 7px 0 0; color: #8b98a4; font-size: 8px; }
.feed-attribution a { color: #427a93; text-decoration: underline; text-underline-offset: 2px; }
.empty-state { padding: 20px 12px; background: white; color: #728699; font-size: 10px; }

.lower-grid { max-width: 1190px; display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin: 45px auto 0; padding: 0 20px; }
.content-section--compact { margin: 0; padding: 0; }
.content-section--compact h2 { font-size: 18px; }
.empty-card { min-height: 62px; display: flex; align-items: center; gap: 11px; margin-top: 15px; padding: 11px 13px; background: white; border: 1px solid #e1eaf0; border-radius: 8px; }
.empty-card__icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #168baa; background: #e7f7fb; font-size: 16px; }
.empty-card strong { display: block; color: #304c64; font-size: 9px; }
.empty-card small { display: block; margin-top: 4px; color: #8293a0; font-size: 8px; }
.inline-link { display: inline-block; margin-top: 15px; }

.how-section { margin-top: 54px; padding: 31px clamp(18px, 4vw, 52px) 33px; background: linear-gradient(110deg, #e6f5fa, #eff8fb 62%, #f3eefb); border-top: 1px solid #dcebf1; }
.how-section__heading, .steps { max-width: 1150px; margin: 0 auto; }
.how-section h2 { font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.steps article { padding-right: 20px; }
.steps article > span { color: #138db3; font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.steps h3 { margin: 7px 0 5px; color: #29445b; font-size: 10px; }
.steps p { max-width: 260px; margin: 0; color: #718596; font-size: 9px; line-height: 1.6; }
.site-footer { min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px clamp(18px, 4vw, 52px); color: #798b9b; background: white; font-size: 8px; }
.site-footer a { color: #3c6c83; font-weight: 700; text-decoration: none; }
.footer-brand { color: #23425a !important; font-size: 10px; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 20px; max-width: calc(100% - 32px); transform: translate(-50%, 14px); opacity: 0; pointer-events: none; border: 1px solid #bfd5e0; border-radius: 9px; padding: 11px 15px; background: #17354e; color: white; box-shadow: 0 12px 32px #16365035; font-size: 10px; transition: opacity .18s ease, transform .18s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

@media (max-width: 980px) {
  .site-header { gap: 15px; }
  .brand { min-width: 205px; }
  .main-nav { gap: 15px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); gap: 25px; }
  .token-strip { flex-wrap: wrap; }
  .token-ca { order: 3; flex-basis: 100%; }
}
@media (max-width: 720px) {
  .site-header { min-height: 66px; padding: 8px 12px; gap: 8px; }
  .brand { min-width: 0; flex: 1; gap: 8px; }
  .brand__logo { width: 39px; height: 39px; }
  .brand__copy strong { font-size: 11px; }
  .brand__copy small { font-size: 7px; }
  .main-nav { display: none; }
  .header-actions { gap: 7px; }
  .button--small { min-height: 35px; padding: 0 9px; font-size: 9px; }
  .menu-button { display: flex; }
  .mobile-nav { top: 66px; }
  .hero { padding: 36px 16px 32px; }
  .hero__inner { grid-template-columns: 1fr; gap: 23px; }
  h1 { font-size: clamp(36px, 9vw, 48px); }
  .hero__lead { font-size: 12px; }
  .deal-preview { padding: 17px; }
  .token-strip { width: calc(100% - 24px); gap: 11px; padding: 12px; border-radius: 0 0 10px 10px; }
  .token-identity { min-width: 0; flex: 1; }
  .token-ca { min-width: 100%; order: 3; flex-wrap: wrap; }
  .token-ca code { flex: 1 1 190px; font-size: 8px; }
  .token-buy { width: 100%; }
  .content-section { margin-top: 36px; padding: 0 13px; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 12px; }
  .search-box { width: 100%; }
  .market-tools { width: 100%; }
  .market-tools .search-box { flex: 1; }
  .market-row { grid-template-columns: minmax(0, 1fr) auto; gap: 9px 12px; padding: 12px 8px; }
  .market-row__asset { grid-column: 1 / -1; }
  .market-row__metric { min-width: 0; }
  .market-row__link { grid-column: 1 / -1; padding-top: 2px; }
  .lower-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 37px; padding: 0 13px; }
  .how-section { margin-top: 39px; padding: 25px 16px; }
  .steps { grid-template-columns: 1fr; gap: 17px; }
  .steps article { padding-right: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 9px; padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand__logo { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
