/* Main-site pitch page. The swap screen remains shared with the Jupiter hub. */
.buy-page { color: var(--ink); }
.buy-wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.buy-page main section, .buy-page #swap { scroll-margin-top: 140px; }
.buy-hero { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: clamp(30px,5vw,76px); padding-block: 84px 72px; align-items: start; }
.buy-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.buy-dot { width: 8px; height: 8px; background: #5ca944; border-radius: 50%; box-shadow: 0 0 0 5px #e3f0d8; }
.buy-hero h1 { margin: 0; font-size: clamp(42px,4.8vw,68px); line-height: 1.08; letter-spacing: -.065em; font-weight: 780; }
.buy-hero > *, .buy-steps li > div { min-width: 0; }
.buy-page h1, .buy-page h2, .buy-page h3 { overflow-wrap: anywhere; }
.buy-page:lang(hi) h1, .buy-page:lang(hi) h2, .buy-page:lang(hi) h3,
.buy-page:lang(th) h1, .buy-page:lang(th) h2, .buy-page:lang(th) h3 { line-height: 1.4; letter-spacing: normal; }
.buy-page h1 em, .buy-page h2 em { color: var(--brand); font-family: var(--font-serif); font-weight: 400; letter-spacing: -.05em; }
.buy-lede { max-width: 590px; margin-block: 25px 26px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.buy-lede strong { color: var(--ink); }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-hero-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; padding-block: 27px; margin-top: 26px; border-block: 1px solid var(--line); }
.buy-hero-facts span { display: grid; gap: 5px; font-size: 12px; color: var(--muted); }
.buy-hero-facts b { color: var(--ink); font-size: 30px; letter-spacing: -.04em; }
.buy-caption { max-width: 590px; margin-top: 17px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.buy-swap, .buy-page .sheet {
  --text: #16211b; --muted: #56665a; --faint: #65736a; --panel: #fff; --panel-2: #f2f6ed; --panel-3: #e9efdf;
  --line: #dbe3d9; --line-2: #c8d3c5; --lime: #416924; --lime-hi: #31551b; --lime-ink: #122008;
  --card-grad-1: #fff; --card-grad-2: #f6f8f1; --card-edge: #edf1e8; --flip-ring: #f6f8f1; --flip-hover: #e3ebd8;
  --placeholder: #728071; --warn: #a14223; --gold: #846005; --cyan: #0d7686; --mono: var(--font-mono);
  --bg: #f5f8f3; --bg-2: #eef1e8; --swatch-cyan: #3cc6d8; --swatch-ink: #0b1206; color: var(--text);
}
.buy-swap { padding: 24px; border: 1px solid var(--line-2); border-radius: 28px; background: #edf3e5; box-shadow: 0 22px 65px #26391e12; }
.buy-swap .buy-eyebrow { margin-bottom: 9px; }
.buy-swap-intro { margin: 0 0 18px; font-size: 23px; letter-spacing: -.045em; }
.buy-swap .swap-card { box-shadow: 0 8px 28px #16211b0c; }
.buy-swap .swap-app { max-width: none; }
.buy-swap .swap-app::before { display: none; }
.buy-swap .swap-card-head h2 { margin: 0; }
.buy-page .swap-submit, .buy-page .sheet .btn { display: flex; align-items: center; justify-content: center; padding: 12px 18px; min-height: 48px; border: 1px solid #c8d3c5; border-radius: 12px; background: #c0f58a; color: #16211b; font: inherit; font-weight: 750; cursor: pointer; }
.buy-page .swap-submit:disabled { opacity: .65; cursor: default; }
.buy-page .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.buy-swap .wallet-btn { max-width: 68%; min-height: 44px; }
.buy-swap .swap-fine { margin-top: 8px; }
.buy-swap [data-fixed-pair] .token-btn:disabled { opacity: 1; color: var(--text); cursor: default; }
.buy-swap [data-fixed-pair] .chev { display: none; }
.buy-swap [data-fixed-pair] .flip { pointer-events: none; }
.buy-swap-note { margin-block: 17px 12px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.buy-swap-help { font-size: 12px; font-weight: 750; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.buy-page .sheet .sheet-close { width: 44px; height: 44px; }
.buy-page .sheet .wallet-actions { gap: 8px; }
.buy-chapters { position: sticky; top: 68px; z-index: 4; background: #f5f8f3f5; border-block: 1px solid var(--line); backdrop-filter: blur(10px); }
.buy-chapters > div { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: thin; }
.buy-chapters a { display: flex; align-items: center; flex: none; min-height: 60px; font-size: 12px; font-weight: 750; color: var(--muted); }
.buy-chapters a:hover { color: var(--brand); }
.buy-page a:focus-visible, .buy-page button:focus-visible, .buy-page summary:focus-visible { outline: 3px solid #699d3c; outline-offset: 4px; }
.buy-section { padding-block: 88px; }
.buy-section h2 { margin: 0; font-size: clamp(34px,4.2vw,56px); letter-spacing: -.05em; line-height: 1.12; font-weight: 760; }
.buy-section-lede { max-width: 700px; margin: 23px 0 35px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.buy-case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
.buy-case-grid article { padding: 29px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.buy-number { color: var(--brand); font: 14px var(--font-mono); }
.buy-case-grid h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.035em; margin-block: 32px 14px; }
.buy-case-grid p, .buy-product p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.buy-case-grid a { display: inline-block; margin-top: 24px; font-size: 12px; font-weight: 750; color: var(--brand); }
.buy-source { display: inline-block; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
.buy-night { color: #f1f5ed; background: #0d1811; }
.buy-night .buy-eyebrow, .buy-night h2 em { color: #c0f58a; }
.buy-wheel { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-block: 42px 36px; border: 1px solid #364734; border-radius: 22px; overflow: hidden; }
.buy-wheel article { position: relative; padding: 28px 23px; border-inline-end: 1px solid #364734; }
.buy-wheel article:last-child { border: 0; background: #1b2b19; }
.buy-wheel span { font: 11px var(--font-mono); color: #b7e48a; }
.buy-wheel h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.035em; margin: 29px 0 14px; }
.buy-wheel p, .buy-wheel-detail p { font-size: 14px; line-height: 1.8; color: #b2c1ad; }
.buy-wheel-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.buy-wheel-detail h3 { font-size: 20px; margin-bottom: 12px; }
.buy-wheel-detail .buy-source { color: #c0f58a; margin-top: 16px; }
.buy-wheel-detail .buy-small { margin-top: 18px; font-size: 12px; }
.buy-wheel-foot { color: #9fae9b; font-size: 12px; border-top: 1px solid #364734; margin-top: 34px; padding-top: 22px; }
.buy-product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.buy-product { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.buy-product:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.buy-product img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-bottom: 1px solid var(--line); }
.buy-product > div { padding: 23px; }
.buy-product span { color: var(--brand); font-size: 11px; font-weight: 750; }
.buy-product h3 { font-size: 21px; letter-spacing: -.03em; margin-block: 12px; }
.buy-start { border-block: 1px solid var(--line); background: #edf3e6; }
.buy-steps { padding: 0; list-style: none; margin-top: 40px; }
.buy-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 28px; padding-block: 32px; border-top: 1px solid #c8d3c5; }
.buy-step { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #16211b; color: #c0f58a; font-size: 22px; }
.buy-steps h3 { margin: 0 0 14px; font-size: 26px; letter-spacing: -.04em; }
.buy-steps p { margin-block: 12px; max-width: 870px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.buy-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-block: 20px; }
.buy-page .buy-small { font-size: 12px; }
.buy-steps details { margin-top: 20px; }
.buy-page summary { cursor: pointer; padding-block: 16px; font-weight: 700; font-size: 15px; }
.buy-page code { display: block; overflow-wrap: anywhere; font: 13px/1.8 var(--font-mono); }
.buy-mint { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 25px; margin-block: 34px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; }
.buy-mint > div { min-width: 0; }
.buy-mint span { font-size: 10px; font-weight: 800; color: var(--muted); letter-spacing: .1em; }
.buy-mint code { margin-top: 10px; }
.buy-mint a { flex: none; color: var(--brand); }
.buy-faq details { border-top: 1px solid var(--line-2); }
.buy-faq summary { padding-block: 24px; font-size: 18px; letter-spacing: -.025em; }
.buy-faq p { max-width: 870px; margin: 0 0 24px; color: var(--muted); line-height: 1.8; font-size: 15px; }
.buy-closing { display: grid; justify-items: center; text-align: center; gap: 24px; padding: 60px 20px; margin-top: 64px; border-radius: 24px; background: #e6f2d7; }
.buy-closing .buy-eyebrow { margin: 0; }
.buy-closing p:last-child { max-width: 560px; font-size: 12px; color: var(--muted); }
@media (max-width: 1000px) {
  .buy-hero { grid-template-columns: 1fr 1fr; gap: 30px; padding-block: 55px; }
  .buy-hero h1 { font-size: 43px; }
  .buy-swap { padding: 18px; }
  .buy-case-grid, .buy-product-grid { grid-template-columns: repeat(2,1fr); }
  .buy-case-grid article:last-child { grid-column: 1/-1; }
  .buy-wheel { grid-template-columns: repeat(2,1fr); }
  .buy-wheel article { border-bottom: 1px solid #364734; }
}
@media (max-width: 900px) {
  .buy-hero { grid-template-columns: 1fr; padding-block: 40px 48px; gap: 30px; }
  .buy-hero h1 { font-size: clamp(38px,7.5vw,54px); }
  .buy-swap { width: 100%; max-width: 540px; justify-self: center; }
  .buy-section { padding-block: 56px; }
  .buy-wheel-detail { grid-template-columns: 1fr; gap: 32px; }
  .buy-chapters > div { gap: 20px; }
  .buy-chapters a { min-height: 50px; }
  .buy-page main section, .buy-page #swap { scroll-margin-top: 125px; }
}
@media (max-width: 480px) {
  .buy-eyebrow { font-size: 9px; letter-spacing: .07em; }
  .buy-lede { font-size: 16px; }
  .buy-actions .button { width: 100%; }
  .buy-hero-facts { gap: 8px; }
  .buy-hero-facts span { font-size: 10px; }
  .buy-case-grid, .buy-product-grid, .buy-wheel { grid-template-columns: 1fr; }
  .buy-wheel article { border-inline-end: 0; }
  .buy-wheel h3 { margin-top: 18px; }
  .buy-case-grid h3 { margin-top: 20px; }
  .buy-steps li { grid-template-columns: 36px 1fr; gap: 15px; }
  .buy-step { width: 34px; height: 34px; border-radius: 10px; font-size: 18px; }
  .buy-steps h3 { font-size: 23px; }
  .buy-mint { flex-direction: column; align-items: start; padding: 20px; }
  .buy-swap { padding: 14px; }
  .buy-swap .wallet-btn { padding-inline: 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .buy-product { transition: none; } }
.swap-fees { margin-block: 8px; font-size: 12px; color: var(--ink-2); }
.swap-fees summary { cursor: pointer; padding-block: 6px; }
.swap-fees .quote { margin-block: 6px; }
