/* buckme: neon sunset on the strip */
:root {
  --night: #110b1a;
  --night-2: #1b1228;
  --night-3: #251935;
  --magenta: #ff2e97;
  --cyan: #22e4ff;
  --grape: #c77ffc;      /* the purple from the buckme logo */
  --tangerine: #ff8a4c;
  --gold: #ffd27a;
  --text: #fbf3ff;
  --muted: #c3b3d6;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Outfit', system-ui, sans-serif;
  --script: 'Yellowtail', cursive;
  --brand: 'Righteous', 'Outfit', sans-serif;
  --cut: 22px 6px 22px 6px;
  --title-shadow: 0 2px 0 rgba(34, 228, 255, .28), 0 0 18px rgba(255, 46, 151, .32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 16.5px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #8ff1ff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6rem; }
p { margin: 0 0 1rem; max-width: 68ch; }
code { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .9em; overflow-wrap: anywhere; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.muted, .hint { color: var(--muted); font-size: .94rem; }
.center { text-align: center; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--cyan); color: #04131a; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.icon, .icon svg { width: 20px; height: 20px; display: inline-block; flex: none; }

/* ── Titles ─────────────────────────────────────────────────────────── */
.display, .heading {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .012em;
  color: var(--grape);
  text-shadow: var(--title-shadow);
}
.display { font-size: clamp(2.4rem, 5.4vw, 3.9rem); line-height: 1.08; text-wrap: balance; }
.heading { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-bottom: 1.1rem; }
.script {
  font-family: var(--script);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.2;
  color: var(--magenta);
  text-shadow: 0 0 16px rgba(255, 46, 151, .35);
  transform: rotate(-2deg);
  transform-origin: left center;
  margin: .1rem 0 1.1rem;
}
.lede { font-size: 1.12rem; color: #eadcf7; max-width: 54ch; }

/* ── Header & footer ────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(17, 11, 26, .92); backdrop-filter: blur(8px); }
.topbar::after { content: ''; display: block; height: 2px; background: linear-gradient(90deg, var(--magenta), var(--grape), var(--cyan)); }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 12px 4px 12px 4px; }
.brand__name { font-family: var(--brand); font-size: 1.75rem; color: var(--grape); text-shadow: var(--title-shadow); line-height: 1; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 10px 3px 10px 3px; }
.nav a:hover { background: var(--night-3); color: var(--text); }
.nav a[aria-current='page'] { color: var(--cyan); background: var(--night-3); box-shadow: inset 0 -2px 0 var(--magenta); }

.footer { border-top: 1px solid rgba(199, 127, 252, .28); padding: 32px 0 40px; margin-top: 40px; font-size: .92rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer__brand, .footer__solana { display: flex; align-items: center; gap: 9px; margin: 0; }
.footer__brand img { border-radius: 9px 3px 9px 3px; }
.footer__brand span { font-family: var(--brand); color: var(--grape); font-size: 1.15rem; }
.footer__note { flex: 1 1 360px; margin: 0; }
.footer__x { color: var(--text); display: inline-flex; }

/* ── Buttons & panels ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1.2 var(--body);
  padding: 12px 22px;
  color: #19040f;
  background: var(--magenta);
  border: 2px solid #ff86c4;
  border-radius: 14px 4px 14px 4px;
  box-shadow: 4px 4px 0 var(--cyan);
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { color: #19040f; transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--cyan); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--cyan); }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: 3px 3px 0 #5b4b70; }
.btn--ghost { background: var(--night); color: var(--cyan); border-color: var(--cyan); box-shadow: 4px 4px 0 rgba(255, 46, 151, .85); }
.btn--ghost:hover { color: #9ff3ff; box-shadow: 6px 6px 0 rgba(255, 46, 151, .85); }
.btn--small { font-size: .9rem; padding: 8px 14px; box-shadow: 3px 3px 0 var(--cyan); }
.btn--wide { width: 100%; }
.btn--x { background: var(--text); border-color: #fff; }
.link-button { background: none; border: 0; padding: 4px 0; color: var(--cyan); font: inherit; font-size: .92rem; text-decoration: underline; cursor: pointer; }

.panel {
  border: 2px solid transparent;
  border-radius: var(--cut);
  background:
    linear-gradient(var(--night-2), var(--night-2)) padding-box,
    linear-gradient(135deg, rgba(255, 46, 151, .9), rgba(199, 127, 252, .45) 50%, rgba(34, 228, 255, .85)) border-box;
}

/* ── Sunset scenery ─────────────────────────────────────────────────── */
.hero, .page-head { position: relative; isolation: isolate; overflow: hidden; }
.scenery {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 8%, rgba(76, 29, 122, .42) 42%, rgba(196, 37, 130, .42) 66%, rgba(255, 138, 76, .5) 80%, transparent 80.2%);
}
.scenery__sun {
  position: absolute; left: 68%; bottom: 20%; width: clamp(220px, 34vw, 460px); aspect-ratio: 2 / 1;
  translate: -50% 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--gold), var(--tangerine) 45%, var(--magenta));
  -webkit-mask: linear-gradient(#000 0 52%, transparent 52% 55%, #000 55% 66%, transparent 66% 70%, #000 70% 79%, transparent 79% 84%, #000 84% 91%, transparent 91% 96%, #000 96%);
  mask: linear-gradient(#000 0 52%, transparent 52% 55%, #000 55% 66%, transparent 66% 70%, #000 70% 79%, transparent 79% 84%, #000 84% 91%, transparent 91% 96%, #000 96%);
  opacity: .9;
  animation: sunrise 1.4s cubic-bezier(.2, .7, .3, 1) both;
}
@keyframes sunrise { from { transform: translateY(40px); opacity: 0; } }
.scenery__grid {
  position: absolute; left: 0; right: 0; top: 80%; bottom: 0;
  background:
    linear-gradient(180deg, transparent, var(--night) 92%),
    repeating-linear-gradient(180deg, rgba(34, 228, 255, .28) 0 1px, transparent 1px 11px),
    linear-gradient(180deg, rgba(89, 33, 120, .55), transparent);
  border-top: 2px solid rgba(255, 210, 122, .75);
}
.scenery__palm { position: absolute; bottom: 12%; fill: #0b0611; width: clamp(130px, 18vw, 250px); aspect-ratio: 200 / 320; }
.scenery__palm--left { left: -3%; transform: scaleX(-1); opacity: .85; }
.scenery__palm--right { right: -2%; }

.hero { padding: 56px 0 120px; }
.hero .scenery__sun { left: 54%; width: clamp(300px, 46vw, 620px); }
.hero .scenery__palm { width: clamp(150px, 22vw, 320px); }
.hero .scenery__palm--left { left: -4%; }
.hero .scenery__palm--right { right: -3%; }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero__copy { text-shadow: 0 1px 10px rgba(17, 11, 26, .85); }
.hero__copy .display { text-shadow: var(--title-shadow); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; margin: 24px 0 26px; }
.hero__actions .btn { text-shadow: none; }
.price-line { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 9px 16px; background: rgba(17, 11, 26, .85); border-radius: 12px 3px 12px 3px; border: 1px solid rgba(34, 228, 255, .35); }

.page-head { padding: 52px 0 84px; text-shadow: 0 1px 10px rgba(17, 11, 26, .9); }
.page-head .display { text-shadow: var(--title-shadow); }
.page-head .scenery__sun { left: 76%; width: clamp(180px, 24vw, 330px); }
.page-head .scenery__palm { width: clamp(90px, 11vw, 160px); }
.page-head .scenery__palm--left { display: none; }
.page-head--compact { padding: 32px 0 54px; }
.page-head--compact .display { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-head--tall { min-height: 62vh; }
.page-head .btn { text-shadow: none; }

/* ── Browser mock / live preview ────────────────────────────────────── */
.mock {
  --bg: #0e0b16; --text: #fff8fc; --p: #ff2e97; --s: #22e4ff; --p-text: #ff2e97; --s-text: #22e4ff; --on-p: #140a1c;
  --title-font: var(--display); --body-font: var(--body);
  margin: 0; overflow: hidden;
  border-radius: var(--cut);
  border: 2px solid rgba(34, 228, 255, .75);
  box-shadow: 9px 9px 0 rgba(255, 46, 151, .8), 0 24px 60px rgba(0, 0, 0, .5);
  background: var(--night-2);
  text-shadow: none;
}
.mock__bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: var(--night-3); }
.mock__dots { display: flex; gap: 5px; }
.mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); }
.mock__dots i:nth-child(2) { background: var(--gold); }
.mock__dots i:nth-child(3) { background: var(--cyan); }
.mock__url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: var(--night); border-radius: 99px; padding: 3px 12px; font-size: .85rem; color: var(--muted); }
.mock__screen { background: var(--bg); color: var(--text); font-family: var(--body-font); text-align: center; padding-bottom: 20px; }
.mock__sky { position: relative; height: 108px; overflow: hidden; background: linear-gradient(180deg, #3a1670, #b4237f, #ff2e97, #ff8a5b, #ffd27a); }
.mock__sun { position: absolute; left: 50%; bottom: -46px; width: 124px; height: 124px; translate: -50% 0; border-radius: 50%; background: rgba(255, 244, 214, .55); }
.mock__logo { position: relative; width: 78px; height: 78px; margin: -42px auto 8px; border-radius: 50%; border: 4px solid var(--bg); background: var(--p); color: var(--on-p); display: grid; place-items: center; font: 1.5rem var(--display); overflow: hidden; }
.mock__logo img { width: 100%; height: 100%; object-fit: cover; }
.mock__name { font-family: var(--title-font); font-size: 1.65rem; line-height: 1.2; margin: 0 auto; padding: 0 16px; overflow-wrap: anywhere; text-shadow: 0 2px 12px color-mix(in srgb, var(--p) 45%, transparent); }
.mock__symbol { margin: 2px auto 8px; color: var(--s-text); font-weight: 700; font-size: .95rem; }
.mock__text { margin: 0 auto 12px; padding: 0 22px; font-size: .86rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mock__socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; color: var(--s-text); }
.mock__socials:not(:has(> :not([hidden]))) { display: none; }
.mock__ca { margin: 0 18px 12px; padding: 7px 10px; font-size: .78rem; border: 1px dashed var(--s); border-radius: 10px; overflow-wrap: anywhere; }
.mock__buy { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; background: var(--p); color: var(--on-p); font-weight: 700; font-size: .88rem; }
.mock__buy img { border-radius: 6px; }
.mock__features { display: flex; gap: 8px; margin: 14px 18px 0; }
.mock__features:not(:has(> img:not([hidden]))) { display: none; }
.mock__features img { flex: 1; min-width: 0; height: 74px; object-fit: cover; border-radius: 10px; }
.mock__credit { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 16px; font-size: .74rem; opacity: .85; }
.mock__credit img { border-radius: 5px; }
.hero .mock { rotate: 1.4deg; }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding: 48px 0; }
.section--tight { padding-top: 12px; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; padding: 22px 20px 8px; position: relative; }
.steps li::after { content: counter(step); position: absolute; top: 8px; right: 18px; font: 2.6rem/1 var(--display); color: rgba(199, 127, 252, .42); }
.steps h3 { font-size: 1.14rem; margin-top: 14px; }
.steps p { color: var(--muted); font-size: .97rem; }
.steps__icon { width: 44px; height: 44px; display: grid; place-items: center; }
.steps__icon img { max-width: 42px; max-height: 42px; border-radius: 10px; }
.steps__icon--swatch { border-radius: 12px 4px 12px 4px; background: linear-gradient(180deg, #3a1670, #ff2e97 55%, #ff8a5b 78%, #ffd27a); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.ticks li { position: relative; padding: 0 0 12px 30px; }
.ticks li::before { content: ''; position: absolute; left: 3px; top: .55em; width: 13px; height: 13px; border-radius: 6px 2px 6px 2px; background: linear-gradient(135deg, var(--magenta), var(--cyan)); }

.addresses { padding: 24px; }
.address-pill { background: var(--night); border-radius: 99px; padding: 10px 18px; border: 1px solid rgba(34, 228, 255, .4); overflow-wrap: anywhere; }
.address-pill b { color: var(--magenta); }

.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 20px; }
.price { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.price h3 { font-size: 1.25rem; }
.price__amount { font: 2.8rem/1.2 var(--display); color: var(--cyan); text-shadow: 0 0 18px rgba(34, 228, 255, .35); margin-bottom: .5rem; }
.price__amount span { font-size: 1.25rem; color: var(--text); }
.price--alt .price__amount { color: var(--magenta); text-shadow: 0 0 18px rgba(255, 46, 151, .35); }
.price .btn { margin-top: auto; }

.sunsets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sunsets li { display: flex; flex-direction: column; gap: 8px; font-weight: 500; font-size: .95rem; }
.sunsets__chip { display: block; height: 108px; border-radius: var(--cut); background: var(--g); }

/* ── Site cards ─────────────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.site-card { display: block; overflow: hidden; color: var(--text); text-decoration: none; background: var(--night-2); border-radius: var(--cut); border: 2px solid rgba(199, 127, 252, .4); transition: border-color .15s, translate .15s; }
.site-card:hover { color: var(--text); border-color: var(--cyan); translate: 0 -3px; }
.site-card__sky { height: 90px; background: var(--g); }
.site-card__logo { display: block; width: 72px; height: 72px; object-fit: cover; margin: -36px 0 0 18px; border-radius: 50%; border: 4px solid var(--night-2); background: var(--night); position: relative; }
.site-card__body { padding: 8px 18px 18px; }
.site-card h3 { font-size: 1.18rem; margin: 0; overflow-wrap: anywhere; }
.site-card__symbol { color: var(--magenta); font-weight: 700; margin: 0 0 8px; }
.site-card__url { color: var(--cyan); font-size: .9rem; margin: 0 0 4px; overflow-wrap: anywhere; }
.site-card__date { color: var(--muted); font-size: .84rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 36px; }
.empty { padding: 40px 24px; text-align: center; }
.empty p { margin-inline: auto; margin-bottom: 20px; }

/* ── About & receipt ────────────────────────────────────────────────── */
.about-card { padding: 26px; }
.about-card h2, .receipt h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; background: var(--night); border: 1px solid rgba(34, 228, 255, .35); border-radius: 12px 3px 12px 3px; padding: 12px 14px; margin-bottom: 16px; }
.copy-box code, .copy-box a { overflow-wrap: anywhere; min-width: 0; flex: 1 1 220px; }
.exchanges { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.exchange { display: flex; align-items: center; gap: 16px; padding: 18px; height: 100%; color: var(--text); text-decoration: none; transition: translate .15s; }
a.exchange:hover { color: var(--text); translate: 0 -3px; }
.exchange img { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; flex: none; }
.exchange__text { display: flex; flex-direction: column; }
.exchange__text strong { font-size: 1.14rem; }
.exchange__text span { color: var(--muted); font-size: .93rem; line-height: 1.4; }
.exchange--soon { opacity: .75; }
.receipt { display: grid; gap: 28px; max-width: 820px; }
.receipt article { padding: 26px; min-width: 0; }
.receipt h3 { font-size: 1.05rem; margin-top: 1.3rem; }
.table-scroll { overflow-x: auto; margin-bottom: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 10px 12px; border: 1px solid rgba(199, 127, 252, .3); vertical-align: top; }
th { background: var(--night-3); }
td:first-child { width: 80px; font-weight: 700; color: var(--cyan); }

/* ── Builder ────────────────────────────────────────────────────────── */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 390px; grid-template-areas: 'form preview' 'checkout preview'; grid-template-rows: auto 1fr; gap: 26px 36px; align-items: start; }
.builder__form { grid-area: form; display: grid; gap: 26px; min-width: 0; }
fieldset { margin: 0; padding: 20px 22px 22px; min-width: 0; }
legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font: 1.45rem/1.2 var(--display); text-transform: uppercase; color: var(--grape); text-shadow: var(--title-shadow); }
legend + * { clear: both; }
label { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 6px; }
input[type='text'], textarea {
  width: 100%; min-width: 0; font: 400 1rem/1.4 var(--body); color: var(--text); background: var(--night);
  border: 2px solid #4a3566; border-radius: 12px 3px 12px 3px; padding: 11px 13px;
}
input[type='text']:focus, textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(34, 228, 255, .2); }
input::placeholder, textarea::placeholder { color: #8f7da8; }
input:disabled { opacity: .5; }
textarea { resize: vertical; }
input[type='file'] { font: inherit; font-size: .9rem; color: var(--muted); max-width: 100%; }
input[type='file']::file-selector-button { font: 600 .9rem var(--body); color: var(--cyan); background: var(--night); border: 2px solid var(--cyan); border-radius: 10px 3px 10px 3px; padding: 6px 12px; margin-right: 10px; cursor: pointer; }
input[type='checkbox'], input[type='radio'] { accent-color: var(--magenta); width: 18px; height: 18px; flex: none; }
.row { display: flex; gap: 14px; align-items: center; }
.row .btn { flex: none; padding-block: 10px; }

.status { margin: 10px 0 0; font-size: .95rem; color: var(--muted); overflow-wrap: anywhere; }
.status:empty { display: none; }
.status[data-tone='good'] { color: #6dffc0; }
.status[data-tone='bad'] { color: #ff8da8; }
.status[data-tone='warn'] { color: var(--gold); }
#token-status { margin-bottom: 16px; }
.notice { background: var(--night-3); border-left: 4px solid var(--gold); border-radius: 4px 12px 12px 4px; padding: 14px 16px; font-size: .95rem; max-width: none; }
.notice p:last-child { margin-bottom: 0; }

.wallet { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wallet img { border-radius: 12px; }
.wallet__text { display: flex; flex-direction: column; flex: 1; min-width: 150px; }
.wallet__text span { color: var(--muted); font-size: .92rem; }

.token-chip { display: flex; align-items: center; gap: 12px; background: var(--night); border-radius: 14px 4px 14px 4px; padding: 10px 14px; margin-bottom: 18px; border: 1px solid rgba(109, 255, 192, .45); }
.token-chip div { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.token-chip span { color: var(--muted); font-size: .9rem; }
.token-chip img { border-radius: 8px; }

.presets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 20px; }
.preset { display: flex; flex-direction: column; gap: 6px; padding: 5px 5px 8px; font: 500 .8rem/1.25 var(--body); color: var(--text); background: var(--night); border: 2px solid transparent; border-radius: 14px 4px 14px 4px; cursor: pointer; text-align: center; }
.preset:hover { border-color: #6d5290; }
.preset[aria-pressed='true'] { border-color: var(--cyan); box-shadow: 3px 3px 0 var(--magenta); }
.preset__chip { display: block; height: 46px; border-radius: 10px 3px 10px 3px; background: var(--g); }
.colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.color__inputs { display: flex; gap: 8px; }
input[type='color'] { width: 46px; height: 46px; flex: none; padding: 2px; background: var(--night); border: 2px solid #4a3566; border-radius: 10px; cursor: pointer; }
.color__hex { font-family: ui-monospace, Menlo, Consolas, monospace !important; }

.upload { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.upload > div:last-child { min-width: 0; }
.upload .hint { margin: 0 0 8px; }
.upload__preview { width: 82px; height: 82px; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--night); border: 2px dashed #5c447d; border-radius: 14px 4px 14px 4px; color: #8f7da8; font-size: .8rem; text-align: center; }
.upload__preview--round { border-radius: 50%; }
.upload__preview img { width: 100%; height: 100%; object-fit: cover; }

.font-field { margin-top: 14px; }
.font-field__label { font-weight: 600; margin-bottom: 8px; }
.font-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; max-height: 250px; overflow-y: auto; padding: 10px; background: var(--night); border: 2px solid #4a3566; border-radius: 12px 3px 12px 3px; }
.font-list__group { grid-column: 1 / -1; margin: 4px 0 0; font-size: .86rem; font-weight: 600; color: var(--cyan); }
.font-option { margin: 0; padding: 7px 9px; font-weight: 400; border: 1px solid #3a2a52; border-radius: 9px 3px 9px 3px; cursor: pointer; min-height: 46px; }
.font-option:has(input:checked) { border-color: var(--magenta); background: var(--night-3); }
.font-option:has(input:focus-visible) { outline: 3px solid var(--cyan); }
.font-option span { font-size: 1.02rem; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.font-option input[value='press-start-2p'] + span { font-size: .68rem; }

.socials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.check { align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { margin-top: 3px; }
.domain-fields { margin-top: 16px; }
.domain-fields .notice { margin-top: 14px; }
.domain-fields ul { margin: 0 0 12px; padding-left: 20px; }

.builder__side { grid-area: preview; position: sticky; top: 90px; padding: 0 10px 10px 0; max-height: calc(100vh - 96px); overflow-y: auto; scrollbar-width: thin; }
.mock--live { box-shadow: 6px 6px 0 rgba(255, 46, 151, .8); }
.checkout { grid-area: checkout; padding: 22px; }
.checkout h2 { font: 1.45rem/1.2 var(--display); text-transform: uppercase; color: var(--grape); text-shadow: var(--title-shadow); }
.checkout dl { margin: 0 0 16px; }
.checkout__line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.checkout dd { margin: 0; font-weight: 600; text-align: right; }
.checkout__total { border-top: 1px solid rgba(199, 127, 252, .4); margin-top: 6px; padding-top: 12px; font-size: 1.15rem; }
.checkout__total dd { color: var(--cyan); font-weight: 700; }
.checkout .check { font-size: .9rem; margin-bottom: 16px; }
.checkout .muted { margin: 14px 0 0; font-size: .86rem; }

/* ── Error & unknown host ───────────────────────────────────────────── */
.error-stack { overflow: auto; background: #000; padding: 16px; font-size: .8rem; text-shadow: none; margin-top: 24px; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .builder { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'form' 'preview' 'checkout'; grid-template-rows: none; }
  .builder__side { position: static; max-height: none; overflow: visible; width: min(440px, 100%); margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .sunsets { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .hero { padding-top: 32px; }
  .hero__inner, .split, .split--even, .prices { grid-template-columns: minmax(0, 1fr); }
  .hero__inner { gap: 38px; }
  .hero .mock { width: min(400px, 100% - 12px); margin-inline: auto; rotate: 0deg; }
  .scenery__sun { left: 50%; opacity: .55; }
  .scenery__palm { opacity: .6; }
  .page-head .scenery__sun { left: 80%; opacity: .45; }
}
@media (max-width: 640px) {
  .topbar__inner { flex-wrap: wrap; gap: 6px; padding: 10px 0 6px; }
  .topbar__cta { display: none; }
  .nav { width: 100%; margin: 0; justify-content: space-between; }
  .nav a { padding: 6px 10px; }
  .topbar { position: static; }
  .presets { grid-template-columns: repeat(3, 1fr); }
  .colors, .socials-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .sunsets { grid-template-columns: 1fr 1fr; }
  .row { flex-direction: column; align-items: stretch; }
  fieldset { padding: 18px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
