@font-face{font-family:Manrope;src:url('./assets/fonts/manrope-cyrillic-400-normal.woff2') format('woff2');font-weight:400;unicode-range:U+0400-052F; font-display:swap}
@font-face{font-family:Manrope;src:url('./assets/fonts/manrope-latin-400-normal.woff2') format('woff2');font-weight:400;unicode-range:U+0000-03FF; font-display:swap}
@font-face{font-family:Manrope;src:url('./assets/fonts/manrope-cyrillic-700-normal.woff2') format('woff2');font-weight:700;unicode-range:U+0400-052F; font-display:swap}
@font-face{font-family:Manrope;src:url('./assets/fonts/manrope-latin-700-normal.woff2') format('woff2');font-weight:700;unicode-range:U+0000-03FF; font-display:swap}
@font-face{font-family:Unbounded;src:url('./assets/fonts/unbounded-cyrillic-700-normal.woff2') format('woff2');font-weight:700;unicode-range:U+0400-052F; font-display:swap}
@font-face{font-family:Unbounded;src:url('./assets/fonts/unbounded-latin-700-normal.woff2') format('woff2');font-weight:700;unicode-range:U+0000-03FF; font-display:swap}
:root {
  --ink: #011423;
  --muted: #15616d;
  --teal: #15616d;
  --paper: #ffecd1;
  --orange: #ff7d00;
  --clay: #78290f;
  --line: var(--teal);
  --tint: color-mix(in srgb, var(--teal) 9%, var(--paper));
  --tint-hover: color-mix(in srgb, var(--teal) 16%, var(--paper));
  --button-ease: cubic-bezier(.22,.8,.25,1);
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, p { margin: 0; }
body { min-width: 280px; }
h1, h2, .brand { font-family: Unbounded, Manrope, sans-serif; letter-spacing: -.035em; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
button, summary, input[type=range] { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.site-header a:focus-visible { outline-color: var(--orange); }
::selection { color: var(--ink); background: var(--orange); }
input { color: var(--ink); caret-color: var(--teal); }
input[type=number] { appearance: textfield; -moz-appearance: textfield; }
input::-webkit-inner-spin-button, input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.storefront {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--paper);
  background:
    radial-gradient(ellipse 54% 440px at 18% 255px, rgb(21 97 109 / .32), transparent 83%),
    radial-gradient(ellipse 42% 360px at 86% 180px, rgb(120 41 15 / .23), transparent 86%),
    var(--ink);
}
.storefront::before, .storefront::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  width: 720px; aspect-ratio: 1;
  opacity: .28;
  background: url('./assets/press-lines.svg') center / contain no-repeat;
}
.storefront::before { left: calc(50% - 1180px); top: 24%; transform: rotate(-22deg); }
.storefront::after { right: calc(50% - 1200px); top: -37%; transform: rotate(27deg); }
.site-header {
  height: 74px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--teal);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; font-size: 1.22rem; font-weight: 700; }
.brand span { color: var(--orange); }
.brand-mark { display: block; flex: none; width: 2.1em; height: auto; margin-right: .47em; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { white-space: nowrap; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .9rem; font-weight: 700; }
.site-header nav a:hover, .brand:hover { color: var(--orange); }
.hero-heading { text-align: center; padding: 43px 16px 32px; }
.hero-heading h1 { font-size: clamp(2.7rem, 5.35vw, 4.7rem); line-height: 1.15; }
.hero-heading p { margin-top: 9px; font-size: 1.02rem; color: var(--paper); }
.calc-stage { width: min(658px, calc(100% - 72px)); position: relative; margin: 0 auto; scroll-margin-top: 16px; }
.token { position: absolute; pointer-events: none; z-index: 2; aspect-ratio: 1;; }
.token-left { width: 225px; right: calc(100% - 23px); top: -59px; }
.token-right { width: 180px; left: calc(100% - 20px); top: -69px; }
.checkout { background: var(--paper); color: var(--ink); border-radius: 16px; padding: 29px 34px 28px;  }
.panel-head, .checkout-bottom, .order-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-head { margin-bottom: 20px; }
.panel h2, .help-intro h2 { font-size: 1.4rem; line-height: 1.3; }
.rate { color: var(--muted); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.amount-grid { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); align-items: center; }
.exchange-field {
  min-width: 0; background: var(--tint); border: 0; border-radius: 10px;
  padding: 11px 16px 10px; display: flex; flex-direction: column; gap: 2px; cursor: text;
}
.exchange-field > span:first-child { color: var(--teal); font-size: .82rem; font-weight: 700; }
.exchange-field:hover { border-color: var(--teal); }
.exchange-field:focus-within { outline: 2px solid var(--teal); outline-offset: 1px; }
.figure { display: flex; align-items: baseline; gap: 3px; }
.figure input, .figure b { font-size: 2.25rem; line-height: 1.2; letter-spacing: -.035em; font-weight: 700; }
.figure input { outline: none; width: 100%; min-width: 0; padding: 0; margin: 0; border: 0; background: transparent; font-variant-numeric: tabular-nums; }
.figure b { color: var(--teal); font-size: 1.35rem; }
.arrow, .exchange-arrow { position: relative; display: inline-block; width: 18px; height: 2px; background: currentColor; flex: none; }
.arrow::after, .exchange-arrow::after { content: ""; position: absolute; width: 8px; height: 8px; border-top: 2px solid; border-right: 2px solid; right: 0; top: 50%; transform: translateY(-50%) rotate(45deg); }
.exchange-arrow { color: var(--teal); width: 12px; margin: auto; }
.exchange-arrow::after { width: 5px; height: 5px; }
.amount-range {
  --filled: 9.09%;
  display: block; width: 100%; height: 34px; margin: 6px 0 2px; appearance: none; background: transparent; accent-color: var(--teal);
}
.amount-range::-webkit-slider-runnable-track { height: 5px; border-radius: 4px; background: linear-gradient(to right,var(--teal) var(--filled),transparent var(--filled)); border: 1px solid var(--teal); }
.amount-range::-moz-range-track { height: 3px; border-radius: 4px; border: 1px solid var(--teal); background: transparent; }
.amount-range::-moz-range-progress { height: 5px; background: var(--teal); }
.amount-range::-webkit-slider-thumb { appearance: none; width: 19px; height: 19px; margin-top: -7px; border: 3px solid var(--teal); border-radius: 50%; background: var(--paper); }
.amount-range::-moz-range-thumb { width: 13px; height: 13px; border: 3px solid var(--teal); border-radius: 50%; background: var(--paper); }
.quick-amounts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.quick-amounts button {
  min-height: 42px; background: var(--tint); color: var(--ink); font-size: .88rem; font-weight: 700; white-space: nowrap;
  border: 0; border-radius: 7px;
}
.checkout-bottom { margin-top: 26px; }
.total { display: flex; flex-direction: column; gap: 1px; }
.total > span { font-size: .83rem; color: var(--muted); }
.total strong { font-size: 1.55rem; line-height: 1.25; white-space: nowrap; font-variant-numeric: tabular-nums; }
.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 0 22px;
  border: 0; border-radius: 8px; font-weight: 700; text-align: center;
}
.primary-button { background: var(--orange); color: var(--ink); width: 100%; }
.primary-button:active:not(:disabled) { background: var(--clay); color: var(--paper); }
.advance { width: auto; min-width: 190px; justify-content: space-between; }
.secondary-button { background: transparent; color: var(--teal); border: 1px solid var(--teal); }
.availability { display: flex; justify-content: center; align-items: baseline; gap: 9px; max-width: 658px; margin: 17px auto 0; padding: 0 20px 39px; font-size: .85rem; line-height: 1.5; color: var(--paper); }
.availability i { font: 700 .7rem/15px Manrope,sans-serif; width: 17px; height: 17px; border: 1px solid currentColor; text-align: center; border-radius: 50%; flex: none; }
.order-line { padding-bottom: 13px; color: var(--muted); font-size: .88rem; }
.order-line strong { color: var(--ink); }
.muted { color: var(--teal); margin-inline: 3px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 3px; background: var(--tint); padding: 4px; border-radius: 12px; margin-bottom: 24px; }
.step-marker { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 38px; padding: 0 3px; border: 0; border-radius: 8px; background: transparent; color: var(--teal); font-size: .82rem; }
.step-marker b { font-size: .75rem; }
.step-marker.current { background: var(--teal); color: var(--paper); font-weight: 700; }
.step-marker:disabled { color: var(--ink); opacity: .58; }
.reset-button, .back-button, .cancel-request, .guide-link, .pass-price button, .manual-place summary, .recent-searches button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 14px;
  border: 0; border-radius: 9px; background: var(--tint); color: var(--teal); text-decoration: none; font-size: .84rem; font-weight: 700;
}
.reset-button { display: block; margin: 20px auto 0; }
.back-button { float: right; min-height: 34px; margin: -2px 0 5px 10px; padding: 6px 10px; font-size: .76rem; }
.back-button::before { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 0 1.6px 1.6px; transform: rotate(45deg); }
.cancel-request { margin-top: 12px; }
.step-copy { clear: both; color: var(--muted); font-size: .92rem; line-height: 1.55; margin: 8px 0 18px; }
.input-group { display: grid; gap: 7px; min-width: 0; font-size: .85rem; font-weight: 700; }
.input-shell input { width: 100%; border: 0; padding: 13px 15px; border-radius: 10px; min-height: 49px; background: var(--tint); font-size: 1rem; font-weight: 400; }
.input-shell input:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
.input-shell input::placeholder { color: var(--teal); }
.recent-searches { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.recent-searches > span { color: var(--teal); font-size: .78rem; margin-right: 2px; }
.recent-searches button { min-height: 32px; padding: 4px 10px; overflow-wrap: anywhere; }
.lookup-status { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; color: var(--teal); font-size: .84rem; }
.lookup-status:empty { display: none; }
.lookup-status.busy::before { content: ''; flex: 0 0 auto; width: 11px; height: 11px; border: 2px solid var(--tint-hover); border-top-color: var(--teal); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .lookup-status.busy::before { animation: lookup-spin .85s linear infinite; } }
@keyframes lookup-spin { to { transform: rotate(360deg); } }
.field-message { margin: 12px 0; color: var(--clay); font-size: .88rem; line-height: 1.5; }
.choice-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
.choice-list:not(:empty) { margin-top: 12px; }
.result-card { width: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 13px; min-height: 72px; padding: 10px 14px 10px 10px; border: 0; border-radius: 12px; color: var(--ink); background: var(--tint); text-align: left; }
.result-picture { position: relative; display: grid; place-items: center; width: 52px; height: 52px; background: var(--teal); color: var(--paper); font-weight: 700; font-size: 1.1rem; border-radius: 10px; overflow: hidden; }
.account-choice .result-picture { border-radius: 50%; }
.result-picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--tint-hover); }
.result-identity { display: grid; justify-items: start; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.result-identity strong { font-size: .97rem; line-height: 1.3; }
.result-identity small { font-size: .77rem; color: var(--teal); }
.pass-tag { color: var(--teal); font-size: .72rem; font-weight: 700; }
.pass-tag::before { content: ''; display: inline-block; vertical-align: .09em; margin-right: 5px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.card-action { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-size: .81rem; font-weight: 700; }
.card-action::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); }
.more-button { margin-top: 12px; width: 100%; }
.manual-place { margin-bottom: 16px; }
.manual-place summary { list-style: none; }
.manual-place summary::-webkit-details-marker { display: none; }
.manual-place summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); }
.manual-place[open] summary::after { transform: translateY(2px) rotate(225deg); }
.manual-place .input-group { margin-top: 12px; }
.pass-price { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; background: var(--tint); border-radius: 12px; padding: 16px; margin: 14px 0; }
.pass-price>span { font-size: .85rem; color: var(--teal); }
.pass-price strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.pass-price button { background: var(--paper); }
.guide-link { margin-bottom: 12px; }
.sales-guide { margin: 8px 0 12px; max-width: 450px; }
.sales-guide figcaption { margin-bottom: 12px; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.sales-guide figcaption strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
.sales-guide-screen { container-type: inline-size; isolation: isolate; position: relative; overflow: hidden; border-radius: 10px; background: #121216; }
.sales-guide-screen img { position: relative; display: block; width: 100%; height: auto; }
/* The GIF reveals this value through its Price field at the paste frame. */
.sales-guide-value { position: absolute; left: 13.43%; top: 34.05%; transform: translateY(-50%); color: #f7f7f8; font: 600 3.94cqw/1 "Segoe UI", Arial, sans-serif; }
#step-pass:has(.sales-guide) #pass-setup > .step-copy { display: none; }
#pass-verify { margin-top: 12px; }
.final-details { display: grid; gap: 8px; padding: 16px; margin: 12px 0; background: var(--tint); border-radius: 12px; }
.final-details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .88rem; }
.final-details dt { color: var(--teal); }
.final-details dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.success-panel > p { font-size: .88rem; line-height: 1.5; margin-bottom: 14px; }
#pass-status:has(+ #pass-setup[hidden]) { font-weight: 700; }
.buyer-info { display: grid; grid-template-columns: 35% 1fr; gap: 5%; padding-block: 48px 58px; }
.help-intro h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.help-intro p { max-width: 28ch; color: var(--muted); font-size: .96rem; line-height: 1.6; margin-top: 10px; }
.help-list details { border-bottom: 1px solid var(--line); }
.help-list details:first-child { border-top: 1px solid var(--line); }
.help-list summary { min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-weight: 700; list-style: none; padding-block: 11px; }
.help-list summary::-webkit-details-marker { display: none; }
.help-list summary::after { content: ""; width: 9px; height: 9px; margin: 0 5px; transform: translateY(-2px) rotate(45deg); border: solid var(--teal); border-width: 0 2px 2px 0; flex: none; }
.help-list [open] summary::after { transform: translateY(2px) rotate(225deg); }
.help-list summary:hover, .help-list a { color: var(--teal); }
.help-list details p { color: var(--muted); font-size: .92rem; line-height: 1.6; padding: 0 25px 16px 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 20px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: .81rem; }
.site-footer .brand { font-size: .97rem; color: var(--ink); }
.site-footer .brand span { color: var(--teal); }
@media (max-width: 1000px) {
  .calc-stage { width: min(658px, calc(100% - 152px)); }
  .token-left { width: clamp(62px,13vw,130px); right: calc(100% - 14px); }
  .token-right { width: clamp(55px,11vw,110px); left: calc(100% - 14px); }
}
@media (max-width: 800px) {
  .hero-heading { padding-block: 34px 40px; }
  .token-left { top: -42px; right: calc(100% - 22px); }
  .token-right { top: -46px; left: calc(100% - 22px); }
  .buyer-info { grid-template-columns: 28% 1fr; gap: 7%; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .site-header { height: 59px; }
  .brand { font-size: 1rem; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: .81rem; }
  .hero-heading { padding: 31px 10px 44px; }
  .hero-heading h1 { font-size: clamp(1.85rem, 7.8vw, 3rem); }
  .hero-heading p { font-size: .89rem; margin-top: 7px; }
  .calc-stage { width: calc(100% - 34px); max-width: 470px; }
  .token-left { width: 74px; right: auto; left: -16px; top: -54px; }
  .token-right { width: 63px; left: auto; right: -12px; top: -53px; }
  .checkout { padding: 23px 18px 19px; border-radius: 12px; }
  .panel h2 { font-size: 1.12rem; }
  .panel-head { margin-bottom: 15px; }
  .rate { font-size: .79rem; }
  .amount-grid { grid-template-columns: minmax(0,1fr) 21px minmax(0,1fr); }
  .exchange-field { padding: 10px; }
  .figure input { font-size: clamp(1.28rem, 5.8vw, 1.9rem); }
  .figure b { font-size: 1rem; }
  .exchange-field > span:first-child { font-size: .76rem; }
  .quick-amounts { gap: 5px; }
  .quick-amounts button { font-size: .77rem; padding: 0 2px; }
  .checkout-bottom { margin-top: 17px; padding-top: 16px; }
  .advance { min-width: 0; padding-inline: 16px; }
  .availability { margin-top: 13px; padding-bottom: 24px; max-width: 405px; font-size: .8rem; }
  .buyer-info { grid-template-columns: 1fr; gap: 17px; padding-block: 27px 38px; }
  .help-intro p { max-width: none; font-size: .87rem; margin-top: 4px; }
  .help-list summary { font-size: .93rem; min-height: 54px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 5px; }
  .steps { grid-template-columns: 1fr 1.16fr 1fr 1.2fr; }
  .step-marker { font-size: .75rem; gap: 4px; white-space: nowrap; }
  .pass-price { grid-template-columns: 1fr auto; row-gap: 2px; }
  .pass-price button { grid-column: 1 / -1; justify-self: start; padding-left: 0; }
  .result-card { gap: 9px; padding: 10px; }
  .result-picture { width: 46px; height: 46px; }
  .card-action { gap: 3px; font-size: .76rem; }
  .back-button { min-height: 34px; font-size: .72rem; }
  .pass-price button { padding-inline: 12px; margin-top: 6px; }
}
@media (max-width: 480px) {
  .site-header nav a[href="#calculator"] { display: none; }
}
@media (max-width: 360px) {
  .checkout { padding-inline: 13px; }
  .exchange-field { padding-inline: 7px; }
  .quick-amounts button { font-size: .73rem; }
  .step-marker b { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.token > img, .token > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.token > canvas { visibility: hidden; }
.token.rendered img { visibility: hidden; }
.token.rendered canvas { visibility: visible; pointer-events: auto; touch-action: pan-y; cursor: grab; }
.token.rendered canvas:active { cursor: grabbing; }
@media (max-width:650px) {
  .figure input.long-value { font-size: clamp(1rem,4.4vw,1.4rem); }
}

@media (hover: hover) and (pointer: fine) {
  .quick-amounts button:enabled:hover { background: var(--tint-hover); }
  :is(.primary-button, .secondary-button):enabled:hover { box-shadow: inset 0 0 0 2px currentColor; }
  .step-marker:enabled:hover:not(.current) { background: var(--tint-hover); }
  :is(.back-button, .reset-button, .cancel-request, #copy-price, .recent-searches button, .guide-link, .manual-place summary, .result-card):hover { background: var(--tint-hover); }
}
.quick-amounts button:enabled:active { background: var(--clay); color: var(--paper); }
:is(.secondary-button, .step-marker):enabled:active { box-shadow: inset 0 0 0 2px currentColor; }
:is(.back-button, .reset-button, .cancel-request, #copy-price, .result-card):enabled:active { background: var(--teal); color: var(--paper); }
.result-card:active :is(small,.pass-tag,.card-action) { color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  .advance .arrow { transition: transform 180ms var(--button-ease); }
  .advance:enabled:focus-visible .arrow { transform: translateX(4px); }
  @media (hover: hover) and (pointer: fine) {
    .advance:enabled:hover .arrow { transform: translateX(4px); }
  }
  .advance:enabled:active .arrow { transform: translateX(6px); transition-duration: 80ms; }
  :is(.primary-button, .secondary-button, .step-marker):enabled {
    transition: box-shadow 130ms var(--button-ease), border-color 130ms ease-out;
  }
  :is(.quick-amounts button, .back-button, .reset-button, .cancel-request, #copy-price, .result-card, .recent-searches button):enabled {
    transition: background-color 140ms ease-out, color 120ms ease-out;
  }
  .help-list summary::after { transition: transform 180ms var(--button-ease); }
}
