@font-face{font-family:Inter;src:url('fonts/Inter-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url('fonts/Inter-SemiBold.ttf') format('truetype');font-weight:500 700;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Symbols';src:url('fonts/InstrumentSans-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+0000-0040,U+005B-0060,U+007B-00BF,U+2000-206F,U+20A0-20CF,U+2190-22FF}
@font-face{font-family:'Instrument Symbols';src:url('fonts/InstrumentSans-SemiBold.ttf') format('truetype');font-weight:500 700;font-style:normal;font-display:swap;unicode-range:U+0000-0040,U+005B-0060,U+007B-00BF,U+2000-206F,U+20A0-20CF,U+2190-22FF}
:root{--fontBody:'Instrument Symbols',Inter,Arial,sans-serif;--lpStock:var(--rangeFill);--lpCash:#d8e4f2;--lpOnAsset:var(--ink);--lpFigure:var(--subtleText);--lpFee:var(--accentText);--lpFeeFill:var(--accentSoft);--lpFlow:var(--mutedText)}
.lp-explainer{max-width:720px;margin-top:28px}
.lp-intro{margin-bottom:40px}.lp-intro-analogy{padding:24px 28px;background:var(--panelBg);border-radius:var(--radiusMedium)}.lp-intro-analogy h3{font-size:15px;line-height:1.6;letter-spacing:0;font-weight:var(--weightMedium);margin:0 0 8px}.lp-intro-analogy p{font-size:15px;line-height:1.75;color:var(--mutedText);margin:0}.lp-intro-analogy .lp-intro-definition{margin-top:14px;color:var(--ink)}.lp-intro-definition strong{font-weight:var(--weightMedium)}.lp-intro .lp-intro-you{margin:24px 0 0;font-size:24px;line-height:1.4;letter-spacing:-.2px;font-weight:var(--weightStrong);color:var(--accentText)}.lp-intro-you span{white-space:nowrap}
.lp-scenes{display:grid;gap:40px}.lp-step{display:grid;gap:18px}.lp-stage{background:var(--panelBg);border-radius:var(--radiusMedium);overflow:hidden}.lp-stage svg{display:block;width:100%;height:auto}.lp-caption{display:grid;grid-template-columns:26px minmax(0,1fr);gap:6px 12px}.lp-step-num{grid-row:span 2;font-size:13px;line-height:30px;color:var(--subtleText);font-variant-numeric:tabular-nums}.lp-caption h3{font-size:23px;line-height:1.3;letter-spacing:-.2px;font-weight:var(--weightStrong)}.lp-caption p{grid-column:2;font-size:15px;line-height:1.7;color:var(--mutedText);max-width:640px}.lp-caption strong{color:var(--ink);font-weight:var(--weightMedium)}
.lp-stage text{font-family:var(--fontBody);font-variant-numeric:tabular-nums}.lp-stage .pool-label{fill:var(--mutedText);font-size:13px}.lp-stage .asset-name{fill:var(--lpOnAsset);font-size:22px;font-weight:var(--weightStrong)}.lp-stage .delta{fill:var(--lpOnAsset);font-size:13px}.lp-stage .person-label{fill:var(--mutedText);font-size:12px}.lp-stage .action-label{fill:var(--ink);font-size:13px;font-weight:var(--weightMedium)}.lp-stage .coin-label{fill:var(--ink);font-size:11px;font-weight:var(--weightStrong)}.lp-stage .fee-label{fill:var(--lpFee);font-size:13px;font-weight:var(--weightMedium)}.lp-stage .flow{stroke:var(--lpFlow);stroke-width:1.5;fill:none;stroke-linecap:round}
.lp-example,.lp-takeaways{margin-top:40px}.lp-example h3,.lp-takeaways h3{font-size:24px;line-height:1.3;font-weight:var(--weightStrong);letter-spacing:-.2px;margin-bottom:20px}.lp-calculation{background:var(--panelBg);padding:10px 24px;border-radius:var(--radiusMedium)}.lp-row{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:14px 0;font-size:15px;color:var(--mutedText)}.lp-row strong{color:var(--ink);font-size:22px;font-weight:var(--weightMedium);font-variant-numeric:tabular-nums;white-space:nowrap}.lp-row.lp-total{margin:4px -24px -10px;padding:18px 24px;background:var(--accentSoft);border-radius:0 0 var(--radiusMedium) var(--radiusMedium);color:var(--ink);font-weight:var(--weightMedium)}.lp-total strong{color:var(--accentText);font-size:30px}.lp-note{font-size:12px;color:var(--mutedText);line-height:1.65;margin-top:12px}.lp-takeaways ul{list-style:none;padding:0;margin:0;display:grid;gap:14px}.lp-takeaways li{font-size:15px;line-height:1.7;color:var(--mutedText)}.lp-takeaways li strong{color:var(--ink);font-weight:var(--weightMedium)}.lp-takeaways>a{display:inline-block;margin-top:20px;font-size:14px;color:var(--accentText);text-decoration:none}.lp-takeaways>a:hover{text-decoration:underline}
.lp-glossary{margin-top:28px;background:var(--panelBg);border-radius:var(--radiusMedium);padding:0 24px}.lp-glossary summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:18px 0;font-size:15px;font-weight:var(--weightMedium)}.lp-glossary summary:after{content:'+';font-size:22px;color:var(--mutedText)}.lp-glossary[open] summary:after{content:'−'}.lp-glossary dl{display:grid;grid-template-columns:140px 1fr;gap:14px 20px;margin:0;padding:8px 0 24px;font-size:14px;line-height:1.65}.lp-glossary dt{font-weight:var(--weightMedium)}.lp-glossary dd{margin:0;color:var(--mutedText)}
@media(max-width:600px){.lp-explainer{margin-top:24px}.lp-intro{margin-bottom:32px}.lp-intro-analogy{padding:20px}.lp-intro-analogy h3,.lp-intro-analogy p{font-size:14px}.lp-intro .lp-intro-you{font-size:22px;margin-top:22px}.lp-scenes{gap:32px}.lp-caption{grid-template-columns:22px 1fr;gap:8px}.lp-caption h3{font-size:21px}.lp-caption p{font-size:14px}.lp-stage .asset-name{font-size:16px}.lp-stage .pool-label,.lp-stage .fee-label{font-size:12px}.lp-stage .delta{font-size:12px}.lp-example h3,.lp-takeaways h3{font-size:22px}.lp-calculation{padding:6px 16px}.lp-row{font-size:14px;gap:16px}.lp-row strong{font-size:21px}.lp-row.lp-total{margin:4px -16px -6px;padding:16px}.lp-total strong{font-size:28px}.lp-glossary{padding:0 20px}.lp-glossary dl{grid-template-columns:1fr;gap:4px}.lp-glossary dd{margin-bottom:12px}}

.lp-stage .trader-fee-label{fill:var(--lpFee);font-size:11px;font-weight:var(--weightMedium)}

.lp-stage .active-current{font-size:13px;fill:var(--ink);font-weight:var(--weightMedium)}.lp-stage .active-row-label{font-size:13px;fill:var(--ink);font-weight:var(--weightMedium)}.lp-stage .active-status{fill:var(--accentText)}.lp-stage .inactive-status{fill:var(--mutedText)}.lp-stage .active-bound{font-size:12px;fill:var(--mutedText)}.lp-stage .active-note{font-size:11px;fill:var(--subtleText)}
.lp-price-picker{display:flex;gap:8px;padding:24px 24px 4px}.lp-price-picker button{border:1px solid var(--cardBorder);border-radius:var(--radiusSmall);background:var(--shellBg);padding:10px 18px;font-size:14px;color:var(--mutedText);font-weight:var(--weightMedium);font-variant-numeric:tabular-nums}.lp-price-picker button:hover{background:var(--hoverBg)}.lp-price-picker button[aria-pressed="true"]{background:var(--accentSoft);border-color:var(--accent);color:var(--accentText)}.lp-fee-results{padding:0 24px}.lp-fee-results h4{margin:0 0 16px;font-size:15px;line-height:1.5;font-weight:var(--weightMedium)}.lp-fee-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.lp-fee-grid>div{display:flex;flex-direction:column;gap:4px}.lp-fee-grid span{font-size:12px;color:var(--mutedText)}.lp-fee-grid strong{font-size:36px;line-height:1.3;font-weight:var(--weightStrong);color:var(--accentText);font-variant-numeric:tabular-nums}.lp-fee-grid strong.lp-fee-paused{color:var(--subtleText)}.lp-comparison-insight{font-size:14px;color:var(--mutedText);line-height:1.65;margin-top:20px}.lp-comparison-insight strong{font-weight:var(--weightMedium);color:var(--ink)}.lp-comparison-note{padding:0 24px 24px;margin-top:18px;font-size:11px;line-height:1.6;color:var(--subtleText)}
@media(max-width:600px){.lp-price-picker{padding:20px 16px 8px}.lp-price-picker button{flex:1;padding:10px 8px}.lp-fee-results{padding:0 16px}.lp-fee-grid{gap:16px}.lp-fee-grid strong{font-size:30px}.lp-fee-results h4{font-size:14px}.lp-comparison-insight{font-size:13px}.lp-comparison-note{padding:0 16px 20px}}
.lp-comparison-controls{padding:24px 24px 4px}.lp-control-label{display:block;font-size:12px;color:var(--mutedText);margin-bottom:10px}.lp-comparison-controls .lp-price-picker{padding:0;flex-wrap:wrap}.lp-comparison-controls .lp-price-picker button{min-width:68px}.lp-add-toggle{margin-top:16px;padding:8px 0;min-height:40px;background:transparent;border:0;color:var(--accentText);font-size:14px;font-weight:var(--weightMedium);text-align:left}.lp-add-toggle:hover{text-decoration:underline;text-underline-offset:4px}.lp-fee-grid.is-three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){.lp-comparison-controls{padding:20px 16px 4px}.lp-comparison-controls .lp-price-picker{gap:6px}.lp-comparison-controls .lp-price-picker button{min-width:0;padding:10px 6px;font-size:13px}.lp-fee-grid.is-three{gap:8px}.lp-fee-grid.is-three strong{font-size:24px}.lp-fee-grid.is-three span{font-size:11px}.lp-add-toggle{font-size:13px}}
:root{--liquidityA:#269f78;--liquidityB:#6698d1;--liquidityC:#9b8cd2}
.lp-chart-picker{display:flex;gap:6px;padding:24px 24px 0}.lp-chart-picker button{background:transparent;border:0;border-radius:var(--radiusSmall);padding:10px 16px;color:var(--mutedText);font-size:14px;font-weight:var(--weightMedium)}.lp-chart-picker button:hover{background:var(--hoverBg)}.lp-chart-picker button[aria-pressed="true"]{background:var(--ink);color:var(--shellBg)}.lp-chart-picker+.lp-comparison-controls{padding-top:20px}.lp-stage .hist-tick{font-size:11px;fill:var(--mutedText)}.lp-stage .hist-axis-title{font-size:12px;fill:var(--mutedText)}.lp-hist-legend{padding:0 24px;display:flex;flex-wrap:wrap;gap:16px 28px}.lp-hist-legend>div{display:flex;align-items:flex-start;gap:7px}.lp-series-dot{display:inline-block;flex-shrink:0;width:8px;height:8px;border-radius:2px;background:var(--series-color);margin-right:5px;vertical-align:middle}.lp-hist-legend .lp-series-dot{margin:5px 0 0}.lp-hist-legend strong{font-size:12px;font-weight:var(--weightMedium);color:var(--ink)}.lp-hist-legend small{display:block;font-size:11px;color:var(--mutedText);margin-top:3px}.lp-hist-caption{font-size:12px;line-height:1.6;color:var(--mutedText);margin:16px 24px 24px}.lp-fee-grid .lp-series-dot{width:7px;height:7px}
@media(max-width:600px){.lp-chart-picker{padding:20px 16px 0}.lp-chart-picker button{flex:1;padding:10px 8px;font-size:13px}.lp-hist-legend{padding:0 16px;gap:16px}.lp-hist-caption{margin:16px 16px 24px}.lp-fee-grid.is-three .lp-series-dot{display:none}}

.lp-relative-explanation{margin:28px 24px;font-size:13px;line-height:1.65;color:var(--mutedText)}.lp-relative-explanation h4{margin:0 0 8px;font-size:15px;font-weight:var(--weightMedium);color:var(--ink)}.lp-relative-explanation p{margin:0 0 10px}.lp-relative-explanation ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.lp-relative-explanation strong{font-weight:var(--weightMedium);color:var(--ink)}@media(max-width:600px){.lp-relative-explanation{margin:24px 16px}}

/* Keep the complete three-topic navigation visible on the mobile opening screen. */
.guide-menu-title{font-size:11px;letter-spacing:1px;font-weight:var(--weightStrong);text-transform:uppercase;color:var(--subtleText);margin:0}
@media(max-width:1000px){.guide-links{grid-template-columns:1fr}.guide-menu{padding:16px}.guide-links{margin-top:10px;gap:4px}}
@media(max-width:600px){.hero-intro{padding:16px 20px 20px}.hero-utilities{margin-bottom:18px}.hero-tail{margin-top:8px}.sidebar{padding-top:16px}.guide-links a{padding:10px 12px;min-height:44px}.guide-menu{padding:14px 16px}.guide-links{margin-top:8px;gap:2px}}

.position-animation{max-width:720px;margin-top:24px;background:var(--panelBg);border-radius:var(--radiusMedium);overflow:hidden}.position-animation img{display:block;width:100%;height:auto}

.lp-copy-example{display:block;margin-top:8px}.lp-intro-analogy .lp-intro-you{font-size:20px;line-height:1.5;margin-top:18px}@media(max-width:600px){.lp-intro-analogy .lp-intro-you{font-size:18px}.lp-intro-you span{white-space:normal}}

.example-context,.position-assumption{font-size:14px;line-height:1.65;color:var(--mutedText);margin-top:14px;max-width:720px}.position-assumption{margin-bottom:20px}.position-assumption strong{font-weight:var(--weightMedium);color:var(--ink)}

.lp-explainer>.example-context{margin:-20px 0 28px}@media(max-width:600px){.lp-explainer>.example-context{margin:-12px 0 24px}}
/* Strategy demo: one shared price control, position mix and accrued-fee pocket. */
.tr-panel{max-width:720px}.tr-drag-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;color:var(--mutedText);font-size:13px}.tr-reset{border:0;background:transparent;color:var(--accentText);font-size:13px;padding:8px 0}.tr-reset:hover{text-decoration:underline}.tr-panel .tr-plot{margin-top:10px}.tr-panel .tr-current,.tr-panel .tr-bound{transition:none}
#strategy-price{position:absolute;z-index:2;top:35px;left:-12px;width:calc(100% + 24px);height:54px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:ew-resize;touch-action:pan-y}
#strategy-price::-webkit-slider-runnable-track{height:4px;background:transparent}#strategy-price::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;margin-top:-10px;border:2px solid var(--chartMarker);border-radius:50%;background:var(--shellBg)}
#strategy-price::-moz-range-track{height:4px;background:transparent}#strategy-price::-moz-range-thumb{width:20px;height:20px;border:2px solid var(--chartMarker);border-radius:50%;background:var(--shellBg)}#strategy-price:focus-visible{outline:2px solid var(--focusRing);outline-offset:3px}
.tr-simulation{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 110px;align-items:start;gap:28px;margin-top:12px}.tr-position-label{font-size:13px;font-weight:var(--weightMedium);color:var(--mutedText);margin-bottom:12px}.tr-asset-mix{display:flex;height:116px;border-radius:var(--radiusMedium);overflow:hidden}.tr-stock,.tr-cash{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;overflow:hidden}.tr-stock{background:var(--lpStock)}.tr-cash{background:var(--lpCash)}.tr-asset-mix img{width:32px;height:32px;flex-shrink:0}.tr-asset-mix strong{font-size:24px;line-height:1.3;font-weight:var(--weightStrong);white-space:nowrap}.tr-small-slice img,.tr-small-slice strong{visibility:hidden}.tr-asset-legend{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:12px;color:var(--mutedText)}.tr-pocket{text-align:center}.tr-pocket-art{width:88px;height:82px;margin:auto}.tr-pocket-art svg{display:block;width:100%;height:100%;overflow:visible}.tr-fee-total{display:block;font-size:25px;line-height:1.4;color:var(--accentText);font-weight:var(--weightStrong);font-variant-numeric:tabular-nums}
.tr-flying-fee{position:absolute;z-index:4;pointer-events:none;width:25px;height:25px;display:grid;place-items:center;background:var(--accentSoft);border:1.5px solid var(--accentText);border-radius:50%;color:var(--accentText);font-weight:var(--weightStrong);font-size:15px;animation:tr-fee-flight .65s ease-out forwards;will-change:transform,opacity}@keyframes tr-fee-flight{0%{transform:translate(-50%,-50%) scale(.75);opacity:0}15%{opacity:1}55%{transform:translate(calc(var(--fee-dx)*.55 - 50%),calc(var(--fee-dy)*.55 - 35px)) scale(1);opacity:1}100%{transform:translate(calc(var(--fee-dx) - 50%),calc(var(--fee-dy) - 50%)) scale(.55);opacity:0}}
.tr-state{font-size:14px;color:var(--mutedText);line-height:1.6;margin-top:20px}.tr-buy-cost{margin-top:24px}.tr-buy-cost h3{font-size:14px;font-weight:var(--weightMedium);margin-bottom:10px}.tr-buy-cost>div{display:flex;align-items:center;gap:22px}.tr-buy-cost span{font-size:12px;color:var(--mutedText)}.tr-buy-cost strong{display:block;font-size:27px;line-height:1.45;font-weight:var(--weightStrong);color:var(--ink)}.tr-buy-cost span:last-child strong{color:var(--accentText)}.tr-buy-cost .tr-cost-arrow{font-size:22px;color:var(--mutedText)}.tr-panel .tr-benefit{margin-top:20px;font-size:16px;line-height:1.6}.tr-panel .tr-chart-note{line-height:1.65}
@media(max-width:600px){.tr-simulation{grid-template-columns:minmax(0,1fr) 84px;gap:14px}.tr-asset-mix{height:104px}.tr-asset-mix img{width:26px;height:26px}.tr-asset-mix strong{font-size:20px}.tr-pocket-art{width:72px;height:76px}.tr-fee-total{font-size:22px}.tr-drag-heading{font-size:12px;gap:12px}.tr-position-label{font-size:12px}.tr-state{font-size:13px}.tr-buy-cost strong{font-size:25px}.tr-buy-cost>div{gap:18px}}
@media(prefers-reduced-motion:reduce){.tr-flying-fee{display:none}}

.tr-asset-legend strong{display:none}@media(max-width:600px){.tr-asset-legend{align-items:baseline;font-size:11px;gap:8px}.tr-asset-legend strong{display:block;font-size:18px;line-height:1.5;color:var(--ink);font-weight:var(--weightStrong)}.tr-asset-mix strong{display:none}.tr-small-slice img{visibility:visible}.tr-stock,.tr-cash{gap:0}}

.tr-panel .tr-benefit{margin-top:10px}.tr-fee-label{display:block;margin-top:3px;font-size:11px;line-height:1.4;color:var(--mutedText)}.tr-drag-heading label{line-height:1.5}.tr-reset{flex-shrink:0}

.tr-drag-note{display:block}

/* Screenshot walkthrough: all six steps visible, with a clear next action. */
.setup-progress{font-size:13px;font-weight:var(--weightStrong);color:var(--accentText);margin:0 12px 14px}
.mobile-step-title{display:none}
.setup-panel{max-width:420px}
.setup-controls{gap:12px}
.setup-controls button{width:auto;min-height:46px;height:auto;padding:10px 14px;font-size:14px;font-weight:var(--weightMedium)}
.setup-controls #nextStep{flex:1;display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--accentText);color:var(--shellBg);border-color:transparent}
.setup-controls #nextStep:hover{background:var(--accentText);filter:brightness(.94)}
.setup-controls #nextStep span{color:inherit;font-size:20px;line-height:1}
.screenshot-crop{position:relative}.is-search .setup-focus{box-shadow:none;border-width:3px}
@media(max-width:600px){
 .walkthrough{gap:14px;padding:16px 12px;scroll-margin-top:12px}
 .setup-progress{margin:0 0 10px}
 .setup-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
 .setup-tabs button{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 0;border:1px solid var(--cardBorder);background:var(--shellBg)}
 .setup-tabs button[aria-selected="true"]{border-color:var(--accentText);background:var(--accentSoft)}
 .setup-tabs .step-number{font-size:14px}
 .setup-tabs button>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .mobile-step-title{display:block;font-size:18px;font-weight:var(--weightStrong);line-height:1.3;margin:14px 0 4px}
 .mobile-step-copy{margin:0;min-height:0;text-align:left;font-size:13px;line-height:1.45}
 .setup-panel{max-width:none}
 .setup-image-wrap{width:100%;margin:0;border-radius:12px}
 .setup-controls{position:sticky;bottom:8px;z-index:2;margin-top:14px;padding:8px 0;background:var(--panelBg);border-radius:var(--radiusSmall)}
 .setup-controls button{min-height:48px}
}

/* Main chapter transitions, distinct from the numbered concept and setup steps. */
.module-heading{display:flex;align-items:center;gap:20px;padding:20px 24px;margin-bottom:28px;background:var(--panelBg);border-radius:var(--radiusMedium)}
.module-number{font-size:36px;line-height:1;font-weight:var(--weightMedium);color:var(--accentText);font-variant-numeric:tabular-nums}
.module-name{font-size:24px;line-height:1.25;font-weight:var(--weightStrong);color:var(--ink);letter-spacing:-.2px}
#strategies,#open-position{padding-top:64px}
.module-next{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:720px;min-height:48px;margin-top:28px;padding:8px 0;color:var(--accentText);text-decoration:none;font-size:16px;border-radius:var(--radiusSmall)}
.module-next strong{font-weight:var(--weightStrong)}.module-next>span:last-child{font-size:26px;line-height:1}.module-next:hover strong{text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){
 .module-heading{gap:16px;padding:16px 18px;margin-bottom:22px}
 .module-number{font-size:30px}.module-name{font-size:22px}
 #strategies,#open-position{padding-top:48px}
 .module-next{margin-top:22px;font-size:15px}
}

/* A restrained sparkle guides the first interaction, then clears on input. */
.tr-drag-heading label{font-size:14px;font-weight:var(--weightStrong);color:var(--accentText);cursor:ew-resize}
.tr-drag-heading label>span{font-size:20px;vertical-align:-1px;margin-right:4px}
.tr-drag-cue{display:none;position:absolute;left:50%;top:60px;z-index:3;pointer-events:none;color:var(--accentText)}
.is-awaiting-drag .tr-drag-cue{display:block}
.tr-cue-ring{position:absolute;width:46px;height:46px;left:-23px;top:-23px;border:2px solid var(--accent);border-radius:50%;animation:tr-cue-pulse 2.4s ease-in-out infinite}
.tr-spark{position:absolute;line-height:1;font-size:21px;animation:tr-sparkle 2.4s ease-in-out infinite}
.tr-spark-one{left:23px;top:-27px}.tr-spark-two{left:-34px;top:9px;font-size:14px;animation-delay:.6s}
.tr-simulation-note{display:block;margin-bottom:6px;font-size:12px;color:var(--mutedText)}
@keyframes tr-cue-pulse{0%,100%{transform:scale(.86);opacity:.25}50%{transform:scale(1.08);opacity:.8}}
@keyframes tr-sparkle{0%,100%{transform:scale(.8);opacity:.35}50%{transform:scale(1.12);opacity:1}}
@media(prefers-reduced-motion:reduce){.tr-cue-ring,.tr-spark{animation:none}.tr-cue-ring{opacity:.5}}

/* Plain document heading; the product name needs no slogan or banner. */
.guide-intro.hero-intro{width:100%;max-width:1320px;margin:0 auto;padding:36px 24px 16px;background:transparent;border-radius:0}
.guide-intro .hero-utilities{margin-bottom:20px}
.guide-intro h1{font-size:48px;line-height:1.15;font-weight:var(--weightStrong);letter-spacing:-1px}
.guide-menu-title{text-transform:none;letter-spacing:0;font-size:13px;font-weight:var(--weightMedium);color:var(--mutedText)}
@media(max-width:1000px){.guide-intro.hero-intro{max-width:850px;padding:28px 28px 12px}}
@media(max-width:600px){.guide-intro.hero-intro{padding:28px 20px 12px}.guide-intro .hero-utilities{margin-bottom:18px}.guide-intro h1{font-size:36px;letter-spacing:-.7px}}

/* Language selection shares the existing logo row without adding a new banner. */
.language-switch{font-size:13px;color:var(--mutedText);text-decoration:none;padding:6px 0}
.language-switch:hover{text-decoration:underline;text-underline-offset:4px}
html[lang="zh-Hans"] body{font-family:"Inter","PingFang SC","Microsoft YaHei",sans-serif}
html[lang="zh-Hans"] h1,html[lang="zh-Hans"] h2,html[lang="zh-Hans"] h3{letter-spacing:0}
html[lang="zh-Hans"] .lp-stage text{font-family:"Inter","PingFang SC","Microsoft YaHei",sans-serif}
html[lang="zh-Hans"] .lp-intro-you span{white-space:nowrap}
/* Language choice stays quiet beside the DeGate logo. */
select.language-switch{font-family:inherit;background:transparent;border:0;max-width:112px;cursor:pointer;color:var(--mutedText);padding:6px 2px;font-size:13px}
select.language-switch:hover{text-decoration:none;color:var(--ink)}
html[lang="it"] .tr-current-label{white-space:nowrap}
html[lang="it"] .lp-intro-you span{white-space:normal}
@media(max-width:600px){html[lang="it"] .tr-buy-cost h3{font-size:18px}html[lang="it"] .lp-stage .trader-fee-label{font-size:10px}}

/* Longer translated labels retain readable wrapping on small screens. */
html:is([lang="es"],[lang="fr"]) .tr-choice strong{overflow-wrap:break-word}
@media(max-width:600px){html:is([lang="es"],[lang="fr"]) .tr-buy-cost h3{font-size:18px}html:is([lang="es"],[lang="fr"]) .lp-stage .person-label{font-size:10px}html:is([lang="es"],[lang="fr"]) .lp-stage .trader-fee-label{font-size:10px}}
