/* PANDI × ICANN87 AGM — free .id promo */

:root {
  --blue: #1b4489;
  --blue-2: #2f62b8;
  --blue-deep: #0e2550;
  --navy: #0a1a3a;
  --red: #e03c31;
  --red-2: #ec5545;
  --red-deep: #c61e22;
  --yellow: #ffc93c;
  --green: #17945a;
  --green-bg: #e8f7ef;
  --bg: #f0f0f0;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e6ee;
  --grad-red: linear-gradient(135deg, var(--red-2), var(--red-deep));
  --grad-blue: linear-gradient(135deg, var(--blue-2), var(--blue-deep));
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px -8px rgba(15, 23, 42, .14);
  --shadow-lg: 0 30px 60px -20px rgba(14, 37, 80, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
code { font-family: inherit; }
::selection { background: var(--red); color: #fff; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Logo (inline SVG, built in app.js) ---------- */
.logo { display: inline-block; width: 52px; aspect-ratio: 421 / 318; cursor: pointer; }
.logo svg { width: 100%; height: 100%; overflow: visible; }
.logo stop { transition: stop-color .5s var(--ease); }
.logo .lp { transform-box: fill-box; transform-origin: 50% 100%; }
.logo.hop .lp { animation: hop .62s var(--spring) both; }
.logo.hop .p-idot { animation-delay: .07s; }
.logo.hop .p-stem { animation-delay: .12s; }
.logo.hop .p-d { animation-delay: .18s; }
@keyframes hop {
  0% { transform: translateY(0) scale(1, 1); }
  30% { transform: translateY(0) scale(1.08, .88); }
  55% { transform: translateY(-14%) scale(.94, 1.06); }
  80% { transform: translateY(0) scale(1.04, .96); }
  100% { transform: translateY(0) scale(1, 1); }
}

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 14px; padding: 14px 24px; font-weight: 700; font-size: 16px; line-height: 1;
  color: #fff; background: var(--bg-btn); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  position: relative; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .65; cursor: progress; }
.btn-blue { background: var(--grad-blue); box-shadow: 0 8px 20px -8px rgba(27, 68, 137, .7); }
.btn-blue:hover { box-shadow: 0 12px 28px -8px rgba(27, 68, 137, .8); }
.btn-red { background: var(--grad-red); box-shadow: 0 8px 20px -8px rgba(224, 60, 49, .7); }
.btn-white { background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--blue); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.magnetic { will-change: transform; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav-h); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(240, 240, 240, .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 rgba(15, 23, 42, .06); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; min-height: 44px; padding: 4px 0; text-decoration: none; }
.brand .logo { width: 54px; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: 10px; position: relative; transition: color .2s, background .2s; }
.links a:hover { color: var(--blue); background: rgba(27, 68, 137, .07); }
.links a.on { color: var(--blue); }
.links a.on::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); transform: translateX(-50%); }
.nav-r { display: flex; align-items: center; gap: 12px; }
.menu-cta { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-sm); position: relative; flex: none; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--blue); transition: transform .35s var(--spring), opacity .2s; }
.menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 27px; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.lang { display: inline-flex; background: var(--card); border-radius: 999px; padding: 3px; box-shadow: var(--shadow-sm); position: relative; }
.lang button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); position: relative; z-index: 1; transition: color .25s; }
.lang button[aria-pressed="true"] { color: #fff; }
.lang::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--blue); transition: transform .35s var(--spring); }
.lang[data-on="id"]::before { transform: translateX(100%); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 80px; display: flex; align-items: center; overflow: hidden; overflow: clip; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-blob {
  position: absolute; width: 440px; height: 440px; left: -250px; bottom: -200px; border-radius: 50%;
  background: var(--grad-red); z-index: 0; animation: blob 14s ease-in-out infinite alternate;
}
.hero-sun {
  position: absolute; right: -8vw; top: 50%; width: 46vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; transform: translateY(-46%);
  background: radial-gradient(circle at 35% 35%, rgba(236, 85, 69, .22), rgba(198, 30, 34, .08) 60%, transparent 70%); z-index: 0;
}
@keyframes blob { 0% { transform: translate(0, 0) scale(1); border-radius: 50%; } 100% { transform: translate(40px, 30px) scale(1.08); border-radius: 46% 54% 52% 48%; } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 13px; font-weight: 500; background: var(--card); box-shadow: var(--shadow-sm); color: var(--ink-2); }
.pill-event b { background: var(--blue); color: #fff; padding: 3px 10px; border-radius: 999px; font-weight: 700; letter-spacing: .3px; }
.pill-live { padding-left: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pill-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); position: relative; }
.pill-live[data-s="live"] i { background: var(--green); }
.pill-live[data-s="live"] i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); animation: ping 1.6s ease-out infinite; }
.pill-live[data-s="over"] i { background: var(--muted); }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

h1 { margin: 0 0 20px; font-weight: 800; font-size: clamp(42px, 6vw, 86px); line-height: 1; letter-spacing: -.04em; color: var(--blue); }
h1 > span { display: block; }
.h1-rot { white-space: nowrap; width: max-content; max-width: 100%; transition: font-size .3s var(--ease); }
.rot { display: inline-block; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.rot.out { animation: rotOut .32s var(--ease) forwards; }
.rot.in { animation: rotIn .5s var(--spring) both; }
@keyframes rotOut { to { transform: translateY(-40%); opacity: 0; filter: blur(4px); } }
@keyframes rotIn { from { transform: translateY(45%); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }
.h1-tld { background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1-b { color: var(--ink); }
.lede { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--ink-2); max-width: 580px; margin: 0 0 30px; }

/* Search card */
.search { background: var(--card); border-radius: 26px; padding: 18px; box-shadow: var(--shadow-lg); position: relative; max-width: 640px; }
.journey { list-style: none; margin: 0 0 14px; padding: 0 4px; display: flex; gap: 6px; counter-reset: none; }
.journey li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); position: relative; min-width: 0; }
.journey li span { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #eef1f6; font-size: 11px; font-weight: 700; transition: background .3s, color .3s, transform .4s var(--spring); }
.journey li em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.journey li:not(:last-child)::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue) var(--fill, 0%), #e6e9f0 var(--fill, 0%)); min-width: 8px; transition: --fill .5s; }
.journey li.is-active { color: var(--blue); }
.journey li.is-active span { background: var(--blue); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 4px rgba(27, 68, 137, .14); }
.journey li.is-done { color: var(--green); }
.journey li.is-done span { background: var(--green); color: #fff; }
.journey li.is-done::after { --fill: 100%; background: var(--green); }

.field {
  display: flex; align-items: center; gap: 4px; background: #f6f7fa; border: 2px solid transparent; border-radius: 18px;
  padding: 6px 6px 6px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field:focus-within { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 6px rgba(27, 68, 137, .08); }
.field.shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.field-ico { width: 22px; height: 22px; color: var(--muted); flex: none; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 22px; font-weight: 600; color: var(--ink); padding: 12px 0 12px 6px; }
.field input::placeholder { color: #a3abba; font-weight: 500; }
.field-tld { font-size: 22px; font-weight: 800; background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 6px; }
.field .btn { padding: 16px 22px; border-radius: 13px; }

.ind { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 0 8px; white-space: nowrap; opacity: 0; transform: scale(.8); transition: opacity .2s, transform .3s var(--spring); }
.ind i { width: 9px; height: 9px; border-radius: 50%; background: #c3c9d4; }
.ind[data-s="checking"], .ind[data-s="available"], .ind[data-s="taken"], .ind[data-s="error"] { opacity: 1; transform: none; }
.ind[data-s="checking"] i { background: var(--blue-2); animation: pulse 0.9s ease-in-out infinite; }
.ind[data-s="checking"] b { color: var(--muted); }
.ind[data-s="available"] i { background: var(--green); } .ind[data-s="available"] b { color: var(--green); }
.ind[data-s="taken"] i { background: var(--red); } .ind[data-s="taken"] b { color: var(--red-deep); }
.ind[data-s="error"] i { background: #d48a00; } .ind[data-s="error"] b { color: #8a5a00; }
@keyframes pulse { 50% { transform: scale(.55); opacity: .5; } }

.hint { margin: 10px 6px 0; font-size: 12.5px; color: var(--muted); transition: color .2s; }
.hint.err { color: var(--red-deep); font-weight: 600; }

/* Results */
#result:empty { display: none; }
#result { margin-top: 14px; }
.r-in { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.r-head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; }
.r-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; }
.r-ico svg { width: 22px; height: 22px; stroke-width: 3; }
.r-dn { font-size: 20px; font-weight: 700; line-height: 1.2; word-break: break-all; }
.r-st { font-size: 13.5px; font-weight: 600; }
.r-ok { background: var(--green-bg); } .r-ok .r-ico { background: var(--green); animation: pop .5s var(--spring) both; } .r-ok .r-st { color: var(--green); }
.r-no { background: #fdecea; } .r-no .r-ico { background: var(--red); } .r-no .r-st { color: var(--red-deep); }
.r-warn { background: #fff5e0; } .r-warn .r-ico { background: #d48a00; } .r-warn .r-st { color: #8a5a00; }
.r-load { background: #eef2f8; } .r-load .r-ico { background: var(--blue); } .r-load .r-st { color: var(--blue); }
.r-load .r-ico svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(0); } }

.r-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .9px; color: var(--muted); margin: 18px 4px 10px; }
.r-regs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.r-reg {
  display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 10px 12px; border-radius: 14px;
  background: #fff; box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .2s, transform .25s var(--ease); animation: rise .45s var(--ease) both;
}
.r-reg:hover { box-shadow: inset 0 0 0 2px var(--blue), 0 10px 20px -10px rgba(27, 68, 137, .45); transform: translateY(-2px); }
.r-reg .mono { width: 38px; height: 38px; font-size: 13px; border-radius: 10px; }
.r-reg b { font-size: 14.5px; font-weight: 600; display: block; line-height: 1.2; }
.r-reg small { font-size: 11.5px; color: var(--muted); }
.r-reg svg { width: 18px; height: 18px; margin-left: auto; color: var(--blue); flex: none; transition: transform .25s var(--ease); }
.r-reg:hover svg { transform: translate(2px, -2px); }
.mono { display: grid; place-items: center; flex: none; font-weight: 800; color: #fff; letter-spacing: .3px; }

.ticket {
  margin-top: 12px; display: flex; align-items: stretch; border-radius: 16px; overflow: hidden; overflow: clip; position: relative;
  background: linear-gradient(135deg, #f1fbf5, #e3f5ea);
}
.ticket::before, .ticket::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--card); left: calc(100% - 128px); }
.ticket::before { top: -9px; } .ticket::after { bottom: -9px; }
.ticket-l { flex: 1; padding: 12px 16px; min-width: 0; }
.ticket-l small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.ticket-l code { font-size: 26px; font-weight: 800; letter-spacing: 2px; color: var(--green); line-height: 1.2; }
.ticket-r { width: 120px; flex: none; border-left: 2px dashed #a8dcbd; display: grid; place-items: center; padding: 8px; }
.copy-btn { border: 0; background: var(--green); color: #fff; border-radius: 10px; padding: 10px 14px; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; transition: transform .2s var(--spring), background .2s; }
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { transform: scale(1.05); }
.copy-btn.done { background: var(--blue); }

.r-fine { font-size: 12px; color: var(--muted); margin: 12px 4px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; transition: box-shadow .2s, transform .25s var(--spring); animation: rise .4s var(--ease) both; }
.chip:hover { box-shadow: inset 0 0 0 2px var(--green); transform: translateY(-2px); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chip.skel { width: 110px; height: 36px; background: linear-gradient(90deg, #eef1f6 0%, #f8f9fb 50%, #eef1f6 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; box-shadow: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.retry { margin-top: 10px; }

/* Mock browser */
.hero-r { perspective: 1200px; }
.mock-stage { position: relative; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.mock { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, .04); overflow: hidden; overflow: clip; transform: translateZ(0); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f5f6f9; border-bottom: 1px solid var(--line); }
.mock-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; }
.mock-bar > i:nth-child(2) { background: #ffbd2e; } .mock-bar > i:nth-child(3) { background: #28c941; }
.mock-url { margin-left: 10px; flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; background: #fff; border-radius: 9px; padding: 6px 10px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.mock-url svg { width: 13px; height: 13px; margin-right: 4px; color: var(--green); flex: none; }
.mock-url b { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.mock-url .red { color: var(--red); font-weight: 700; }
.mock-body { position: relative; padding: 38px 30px 30px; min-height: 360px; overflow: hidden; overflow: clip; background: linear-gradient(180deg, #f3f6fc 0%, #e6edf9 60%, #f9dcd7 100%); }
.mock-sun { position: absolute; left: 50%; bottom: -150px; width: 300px; height: 300px; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle at 50% 30%, #f26a5b, #d12c25); box-shadow: 0 0 80px rgba(236, 85, 69, .45); animation: sunrise 6s ease-in-out infinite alternate; }
@keyframes sunrise { to { transform: translate(-50%, -14px); } }
.mock-chip { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: #fff; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); color: var(--muted); transition: color .2s; z-index: 1; }
.mock-chip i { width: 8px; height: 8px; border-radius: 50%; background: #c3c9d4; }
.mock-chip[data-s="checking"] i { background: var(--blue-2); animation: pulse .9s infinite; }
.mock-chip[data-s="available"] { color: var(--green); } .mock-chip[data-s="available"] i { background: var(--green); }
.mock-chip[data-s="taken"] { color: var(--red-deep); } .mock-chip[data-s="taken"] i { background: var(--red); }
.mock-chip[data-s="error"] { color: #8a5a00; } .mock-chip[data-s="error"] i { background: #d48a00; }
.mock-hi { position: relative; margin: 26px 0 2px; font-weight: 600; color: var(--muted); font-size: 15px; }
.mock-name { position: relative; font-size: 46px; font-weight: 800; color: var(--blue); line-height: 1.15; letter-spacing: -.03em; white-space: nowrap; transition: transform .3s var(--spring); transform-origin: left center; }
.mock-name.wrap-any { white-space: normal; overflow-wrap: anywhere; }
.mock-name b { color: var(--red); }
.mock-name.bump { transform: scale(1.04); }
.mock-sub { position: relative; color: var(--ink-2); margin: 10px 0 22px; font-size: 14px; max-width: 280px; }
.mock-skel { position: relative; display: grid; gap: 8px; max-width: 260px; }
.mock-skel span { height: 10px; border-radius: 6px; background: rgba(27, 68, 137, .1); }
.mock-skel span:nth-child(2) { width: 80%; } .mock-skel span:nth-child(3) { width: 55%; }

.float { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; animation: bob 5s ease-in-out infinite; transform: translateZ(60px); }
.float svg { width: 20px; height: 20px; }
.f-ticket { left: -36px; top: 84px; color: var(--green); }
.f-free { right: -22px; top: 45%; flex-direction: column; gap: 0; align-items: flex-start; padding: 10px 16px; background: var(--grad-red); color: #fff; animation-delay: -1.6s; }
.f-free b { font-size: 26px; line-height: 1; }
.f-free span { font-size: 11px; font-weight: 600; opacity: .9; }
.f-badge { left: 22px; bottom: -22px; color: var(--blue); animation-delay: -3.2s; }
@keyframes bob { 50% { translate: 0 -10px; } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(27, 68, 137, .35); z-index: 1; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Ticker ---------- */
.ticker-clip { overflow: hidden; overflow: clip; padding: 24px 0; margin: -24px 0; position: relative; z-index: 2; }
.ticker { background: var(--blue); color: #fff; overflow: hidden; overflow: clip; padding: 16px 0; transform: rotate(-1.2deg) scaleX(1.04); position: relative; z-index: 2; box-shadow: 0 10px 30px -12px rgba(14, 37, 80, .6); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: 20px; font-weight: 700; white-space: nowrap; }
.ticker-track span em { font-style: normal; color: #ffb4ac; }
.ticker-track span i { width: 10px; height: 10px; border-radius: 50%; background: var(--red-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { position: relative; padding: 110px 0; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: #fff; background: var(--grad-red); padding: 6px 14px 6px 12px; border-radius: 0 999px 999px 0; margin-left: -24px; padding-left: 24px; margin-bottom: 16px; }
.tag-light { background: rgba(255, 255, 255, .12); color: #ffd1cc; }
h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -.03em; color: var(--blue); margin: 0 0 12px; font-weight: 800; }
.sec-head p, .card-l > p { color: var(--muted); font-size: 17px; margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 52px; height: 2px; background: repeating-linear-gradient(90deg, rgba(27, 68, 137, .25) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; background: var(--card); border-radius: 22px; padding: 26px 22px 24px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); z-index: 1; overflow: hidden; overflow: clip; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-blue); color: #fff; margin-bottom: 18px; transition: transform .4s var(--spring), background .3s; }
.step-ico svg { width: 26px; height: 26px; }
.step:hover .step-ico { transform: rotate(-8deg) scale(1.08); background: var(--grad-red); }
.step-n { position: absolute; top: 14px; right: 18px; font-size: 54px; font-weight: 900; line-height: 1; color: rgba(27, 68, 137, .07); transition: color .3s; }
.step:hover .step-n { color: rgba(224, 60, 49, .14); }
.step h3 { font-size: 18px; margin: 0 0 6px; font-weight: 700; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }
.step code { color: var(--green); font-weight: 800; }

/* Spotlight hover */
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 98, 184, .1), transparent 60%); }
.spot:hover::after { opacity: 1; }

/* Bento */
.sec-why { padding-top: 0; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.tile { position: relative; background: var(--card); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); overflow: hidden; overflow: clip; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .35s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; line-height: 1.25; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
.t-big { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #fff 40%, #eef3fb); }
.t-big h3 { font-size: clamp(24px, 2.6vw, 34px); color: var(--blue); }
.t-big p { font-size: 16px; max-width: 420px; }
.t-logo { flex: 1; display: grid; place-items: center; min-height: 200px; }
.t-logo .logo { width: min(300px, 70%); filter: drop-shadow(0 20px 30px rgba(14, 37, 80, .18)); }
.t-blue { background: var(--grad-blue); color: #fff; grid-column: span 2; }
.t-blue p { color: rgba(255, 255, 255, .78); }
.t-red { background: var(--grad-red); color: #fff; }
.t-red p { color: rgba(255, 255, 255, .85); }
.t-num { font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -.04em; margin-bottom: auto; padding-bottom: 18px; }
.t-num small { font-size: 16px; font-weight: 600; letter-spacing: 0; margin-left: 8px; opacity: .8; }
.t-ico { width: 52px; height: 52px; border-radius: 14px; background: #eef3fb; color: var(--blue); display: grid; place-items: center; margin-bottom: auto; }
.t-ico svg { width: 26px; height: 26px; }
.tile.t-blue::after, .tile.t-red::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 60%); }

/* Dark registrars */
.sec-dark { background: radial-gradient(1200px 600px at 80% -10%, #1f4b97 0%, transparent 60%), var(--navy); color: #fff; overflow: hidden; overflow: clip; }
.sec-dark h2 { color: #fff; }
.sec-dark .sec-head p { color: rgba(255, 255, 255, .7); }
.dark-net { position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.5px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%); }
.reg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.reg-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 22px; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); overflow: hidden; overflow: clip;
  transition: transform .4s var(--ease), box-shadow .3s, background .3s; transform-style: preserve-3d; min-height: 210px;
}
.reg-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .16), transparent 55%); opacity: 0; transition: opacity .3s; }
.reg-card:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 24px 40px -20px rgba(0, 0, 0, .6); }
.reg-card:hover::before { opacity: 1; }
.reg-card .mono { width: 56px; height: 56px; border-radius: 16px; font-size: 18px; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); }
.reg-card b { font-size: 20px; font-weight: 700; line-height: 1.2; }
.reg-card small { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.reg-go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.reg-go span.arr { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); transition: background .3s, transform .4s var(--spring); }
.reg-go svg { width: 18px; height: 18px; }
.reg-card:hover .reg-go span.arr { background: var(--red); transform: rotate(45deg); }
.all-reg { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 600; color: #ffd1cc; text-decoration: none; border-bottom: 1px solid rgba(255, 209, 204, .4); padding-bottom: 2px; }
.all-reg svg { width: 16px; height: 16px; }
.all-reg:hover { color: #fff; border-color: #fff; }

/* Buy step: registrar section after a name is confirmed available */
.r-go { margin-top: 12px; width: 100%; padding: 16px 22px; }
.r-go svg { animation: nudge 1.4s ease-in-out infinite; }
.r-go:hover svg { transform: none; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.reg-buy { display: flex; flex-wrap: wrap; gap: 14px; margin: -14px 0 22px; animation: rise .5s var(--ease) both; }
.reg-pill {
  flex: 1 1 340px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border-radius: 18px;
  background: rgba(23, 148, 90, .18); box-shadow: inset 0 0 0 1px rgba(90, 220, 150, .35);
}
.reg-pill i { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.reg-pill i svg { width: 20px; height: 20px; stroke-width: 3; }
.reg-pill-t { min-width: 0; flex: 1; }
.reg-pill small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: #8ff0bf; }
.reg-pill b { display: block; font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.reg-change { color: #ffd1cc; font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; border-bottom: 1px solid rgba(255, 209, 204, .4); padding: 4px 0; }
.reg-change:hover { color: #fff; border-color: #fff; }
.reg-buy .ticket { flex: 1 1 340px; margin-top: 0; }
.reg-buy .ticket::before, .reg-buy .ticket::after { background: var(--navy); }
.reg-grid.buy .reg-card { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.reg-grid.buy .reg-go { color: #fff; }
.reg-grid.buy .reg-go span.arr { background: var(--red); }
.reg-card.pop { animation: rise .55s var(--ease) both; animation-delay: var(--i, 0s); }
.reg-grid.flash .reg-card { animation: glow 1.6s var(--ease) both; animation-delay: calc(var(--i, 0s) + .5s); }
.reg-grid.flash .reg-card.pop { animation: rise .55s var(--ease) both, glow 1.6s var(--ease) both; animation-delay: var(--i, 0s), calc(var(--i, 0s) + .5s); }
@keyframes glow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
  35% { box-shadow: inset 0 0 0 2px #ff8a7d, 0 0 0 6px rgba(236, 85, 69, .25); }
}
.reg-next { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); animation: rise .45s var(--ease) both; }
.reg-next p { margin: 0; flex: 1; min-width: 200px; color: rgba(255, 255, 255, .88); font-weight: 500; }

/* Claim card */
.card-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.card-form { margin-top: 28px; background: var(--card); padding: 18px; border-radius: 22px; box-shadow: var(--shadow); }
.card-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0 4px 8px; }
.field-sm { padding: 4px 10px 4px 14px; }
.field-sm input { font-size: 19px; padding: 10px 0; }
.field-sm .field-tld { font-size: 19px; }
.card-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.card-btns .btn:hover svg { transform: translateY(2px); }
.tiny { font-size: 12.5px; color: var(--muted); margin: 12px 4px 0; }
.board-frame { position: relative; border-radius: 22px; padding: 12px; background: linear-gradient(135deg, #fff, #e9eef7); box-shadow: var(--shadow-lg); transform: rotate(1.6deg); transition: transform .5s var(--spring); }
.board-frame:hover { transform: rotate(0) scale(1.015); }
.board-frame canvas { width: 100%; height: auto; border-radius: 14px; }

/* Terms + FAQ */
.tf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.terms { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.terms li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); padding: 14px 16px; border-radius: 16px; box-shadow: var(--shadow-sm); font-size: 14.5px; color: var(--ink-2); transition: transform .25s var(--ease); }
.terms li:hover { transform: translateX(4px); }
.terms li b { flex: none; width: 28px; height: 28px; border-radius: 9px; background: #eef3fb; color: var(--blue); font-size: 13px; display: grid; place-items: center; }
.faq { margin-top: 20px; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; overflow: clip; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 600; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; flex: none; border-radius: 50%; background: #eef3fb; position: relative; transition: transform .35s var(--spring), background .25s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--blue); transform: translate(-50%, -50%); transition: background .25s; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(135deg); background: var(--red); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq .a { padding: 0 18px 16px; color: var(--muted); font-size: 14.5px; animation: rise .35s var(--ease) both; }
.faq .a code { color: var(--green); font-weight: 700; }

/* ---------- Footer ---------- */
.foot { position: relative; overflow: hidden; overflow: clip; background: var(--blue-deep); color: #fff; padding: 90px 0 30px; }
.foot-blob { position: absolute; width: 560px; height: 560px; left: -200px; bottom: -300px; border-radius: 50%; background: var(--grad-red); opacity: .95; }
.foot-big { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot-thanks { margin: 0; font-size: clamp(56px, 11vw, 150px); font-weight: 800; line-height: .9; letter-spacing: -.05em; }
.foot-thanks span { color: var(--red-2); }
.foot-row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 0 18px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand .logo { width: 56px; }
.foot-brand b { display: block; font-size: 15px; }
.foot-brand span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.foot-links { display: flex; gap: 6px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); transition: background .2s; }
.foot-links a:hover { background: rgba(255, 255, 255, .18); }
.foot-legal { position: relative; margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .55); }

/* ---------- Floating bits ---------- */
.sticky-code {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; border: 0;
  background: #fff; color: var(--ink); padding: 10px 12px 10px 14px; border-radius: 16px; box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform .45s var(--spring);
}
.sticky-code.show { transform: none; }
.sticky-code svg { width: 20px; height: 20px; color: var(--green); }
.sticky-code b { font-size: 15px; letter-spacing: 1px; color: var(--green); }
.sticky-code span { font-size: 12px; font-weight: 700; background: var(--green); color: #fff; padding: 5px 10px; border-radius: 8px; }
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 24px) scale(.96); opacity: 0; pointer-events: none; z-index: 60;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  transition: opacity .25s, transform .35s var(--spring); max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 70; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .links {
    position: fixed; top: calc(var(--nav-h) + 4px); left: 12px; right: 12px; margin: 0; flex-direction: column; gap: 2px;
    background: var(--card); border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-12px) scale(.98); transform-origin: top center; pointer-events: none; visibility: hidden;
    transition: opacity .25s var(--ease), transform .35s var(--spring), visibility 0s .35s;
  }
  .nav.open .links { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .25s var(--ease), transform .35s var(--spring); }
  .nav.open { background: rgba(240, 240, 240, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .links a { font-size: 17px; font-weight: 600; padding: 14px 16px; border-radius: 14px; color: var(--ink); }
  .links a.on::after { left: auto; right: 18px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .links .menu-cta { display: flex; margin-top: 6px; color: #fff; justify-content: center; }
  .links .menu-cta:hover { color: #fff; background: var(--grad-red); }
  .nav-r { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero-r { max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-sun { width: 90vw; right: -40vw; top: 70%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid, .tf-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .wrap { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .journey li.is-active em { display: inline; }
  .journey li.is-active { flex: 2 1 auto; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .brand .logo { width: 46px; }
  .nav-cta { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 24px); min-height: 0; }
  .hero-blob { width: 300px; height: 300px; left: -170px; bottom: -150px; }
  .search { padding: 14px; border-radius: 22px; }
  .journey li em { display: none; }
  .journey li { flex: 1 1 auto; }
  .field { flex-wrap: wrap; padding: 6px 6px 6px 12px; }
  .field input, .field-tld { font-size: 19px; }
  .field .ind { order: 3; padding: 0 0 6px 32px; width: 100%; }
  .field .ind:not([data-s="checking"]):not([data-s="available"]):not([data-s="taken"]):not([data-s="error"]) { display: none; }
  .field .btn { order: 4; width: 100%; }
  .field-sm { flex-wrap: nowrap; }
  .r-regs { grid-template-columns: minmax(0, 1fr); }
  .reg-next .btn { width: 100%; white-space: normal; }
  .reg-buy { gap: 10px; margin: 0 0 14px; }
  .reg-pill { flex-wrap: nowrap; gap: 12px; padding: 10px 14px; border-radius: 16px; }
  .reg-pill i { width: 32px; height: 32px; }
  .reg-pill i svg { width: 16px; height: 16px; }
  .reg-pill small { font-size: 10.5px; }
  .reg-pill b { font-size: 17px; }
  .reg-change { font-size: 12.5px; flex: none; }
  .reg-buy .ticket-l { padding: 8px 14px; }
  .reg-buy .ticket-l small { font-size: 11px; }
  .reg-buy .ticket-l code { font-size: 19px; }
  .reg-buy .copy-btn { padding: 8px 12px; }
  .card-btns .btn { flex: 1 1 100%; }
  .foot-blob { width: 320px; height: 320px; left: -190px; bottom: -230px; }
  .foot-big { padding-bottom: 36px; }
  .ticket::before, .ticket::after { left: calc(100% - 108px); }
  .ticket-r { width: 100px; }
  .ticket-l code { font-size: 21px; letter-spacing: 1px; }
  .float { font-size: 12px; padding: 8px 11px; }
  .f-ticket { left: -6px; top: 70px; }
  .f-free { right: -6px; top: auto; bottom: 70px; }
  .f-free b { font-size: 21px; }
  .f-badge { left: 12px; }
  .mock-body { min-height: 300px; padding: 30px 22px 24px; }
  .scroll-cue { display: none; }
  .ticker-track span { font-size: 16px; }
  .sec { padding: 80px 0; }
  .sec-why { padding-top: 0; }
  .tag { margin-left: -16px; padding-left: 16px; }
  .steps, .reg-grid, .bento { grid-template-columns: minmax(0, 1fr); }
  .t-big, .t-blue { grid-column: auto; grid-row: auto; }
  .reg-grid { gap: 10px; }
  .reg-card { min-height: 0; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; }
  .reg-card .mono { width: 46px; height: 46px; border-radius: 13px; font-size: 15px; }
  .reg-card > span:nth-child(2) { flex: 1; min-width: 0; }
  .reg-card b { font-size: 17px; }
  .reg-card small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .reg-card .reg-go { margin-top: 0; margin-left: auto; }
  .reg-card .reg-go > span:first-child { display: none; }
  .buying .reg-card .reg-go { background: var(--red); border-radius: 999px; padding: 4px 4px 4px 14px; gap: 8px; }
  .buying .reg-card .reg-go > span:first-child { display: inline; color: #fff; font-size: 14px; font-weight: 700; }
  .buying .reg-card .reg-go span.arr { width: 32px; height: 32px; background: rgba(255, 255, 255, .2); }
  .sec-dark.buying { padding-top: 36px; }
  .buying .sec-head { margin-bottom: 16px; }
  .buying .tag { margin-bottom: 10px; }
  .buying .sec-head h2 { font-size: 23px; margin-bottom: 0; overflow-wrap: anywhere; }
  .buying .sec-head p { display: none; }
  .buying .reg-card { padding: 10px 14px; }
  .buying .reg-card .mono { width: 40px; height: 40px; font-size: 14px; }
  .buying .reg-card b { font-size: 16px; }
  .board-frame { transform: none; }
  .sticky-code { left: 16px; right: 16px; justify-content: center; bottom: max(14px, env(safe-area-inset-bottom)); }
}

/* Touch devices: 44px tap targets */
@media (hover: none), (pointer: coarse) {
  .lang button { padding: 0 14px; min-height: 38px; min-width: 44px; }
  .chip { min-height: 44px; padding: 8px 16px; }
  .all-reg { padding: 10px 0; }
  .foot-links a { padding: 12px 16px; }
  .btn-sm { min-height: 44px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
}
