/* Built on Vercel's Geist design system (vercel.com/design): Geist Sans and Mono, monochrome
   surfaces, hairline borders. Orange (from the cursor in the logo) is the single accent. */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --bg-2: #fafafa;
  --contrast: #171717;
  --text: #171717;
  --muted: #4d4d4d;
  --faint: #8f8f8f;
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.44);
  --focus: #006bff;
  --green: #0f7b34;
  --green-soft: #ecfdf0;
  --red: #cb2a2f;
  --red-soft: #fff0f0;
  --amber: #a35200;
  --amber-soft: #fff6e0;
  --cursor: #f0602c;
  --accent: #e04e17;
  --accent-soft: #fff4ee;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', 'SFMono-Regular', Consolas, monospace;
  --r: 8px;
  --r-s: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font-family: var(--sans); font-size: 14px; line-height: 20px; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }

/* ---------- header ---------- */
header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-family: var(--mono); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; }
.logo i { font-style: normal; }
.logo::after { content: ''; width: 7px; height: 16px; background: var(--cursor); margin-left: 3px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-links .pill { background: var(--contrast); color: #fff; height: 32px; padding: 0 12px; border-radius: var(--r-s); font-weight: 500; display: inline-flex; align-items: center; }
.nav-links .pill:hover { color: #fff; background: #383838; }
.secure { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
@media (max-width: 720px) { .nav-links a:not(.pill) { display: none; } }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); padding: 56px 0; text-align: center; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; background-position: center top; opacity: 0.5; mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.hero .hero-body { position: relative; max-width: 728px; }
.kicker { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-bottom: 20px; }
.kicker b { font-weight: 500; color: var(--accent); }
.tweet { margin: 0; font-weight: 600; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15; letter-spacing: -0.04em; }
.tweet s { color: var(--faint); text-decoration-color: var(--cursor); text-decoration-thickness: 3px; }
.tweet .cur { display: inline-block; width: 0.34em; height: 0.86em; background: var(--cursor); margin-left: 6px; vertical-align: -0.06em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.by { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; text-decoration: none; font-size: 13px; color: var(--muted); }
.by:hover { color: var(--text); }
.by b { color: var(--text); font-weight: 500; }
.sub { font-size: 16px; line-height: 24px; color: var(--muted); margin: 16px 0 24px; }

/* ---------- search ---------- */
.search { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--contrast); border-radius: var(--r); padding: 4px; text-align: left; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240, 96, 44, 0.18), 0 8px 24px rgba(0, 0, 0, 0.08); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--mono); font-size: 16px; padding: 10px 4px 10px 12px; }
.search input::placeholder { color: var(--faint); }
.search .tld { font-family: var(--mono); font-size: 16px; color: var(--muted); padding-right: 12px; }
.btn { border: 1px solid var(--contrast); cursor: pointer; background: var(--contrast); color: #fff; font-weight: 500; font-size: 14px; height: 40px; padding: 0 16px; border-radius: var(--r-s); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.btn:hover { background: #383838; border-color: #383838; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.search .btn, .cta .btn { background: var(--accent); border-color: var(--accent); font-weight: 600; }
.search .btn:hover, .cta .btn:hover { background: #c5410f; border-color: #c5410f; }
.search .btn { height: 44px; padding: 0 24px; }
.btn.ghost { background: var(--bg); color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--bg-2); }
.btn.small { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.wide { width: 100%; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.trust span::before { content: '✓'; color: var(--green); font-weight: 600; margin-right: 6px; }
@media (max-width: 560px) { .search { flex-wrap: wrap; } .search .btn { width: 100%; } }

/* ---------- results ---------- */
.results { text-align: left; background: var(--bg); margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.results:empty { display: none; }
.res { animation: rise 0.25s ease both; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.res:first-child { border-top: 0; }
.res.win { background: var(--green-soft); }
.res .name { font-family: var(--mono); font-weight: 500; font-size: 14px; word-break: break-all; }
.res.win .name { font-size: 16px; font-weight: 600; }
.res .name em { font-style: normal; color: var(--accent); }
.res .meta { font-size: 13px; color: var(--muted); }
.res.win .meta { color: var(--green); }
.res .right { display: flex; align-items: center; gap: 12px; }
.res .price { font-weight: 500; }
.res .price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.tag { font-size: 13px; font-weight: 500; }
.tag.free { color: var(--green); }
.tag.gone { color: var(--red); }
.results h4 { margin: 0; padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--muted); background: var(--bg-2); border-top: 1px solid var(--line); }
.note { color: var(--red); padding: 12px 16px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* ---------- rush wall ---------- */
.rush { border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 16px 0; overflow: hidden; }
.rush-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--cursor); box-shadow: 0 0 0 0 rgba(240, 96, 44, 0.6); animation: pulse 1.6s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 9px rgba(240, 96, 44, 0); } }
.marquee { display: flex; gap: 8px; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.rush-head { font-weight: 500; color: var(--text); }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-s); padding: 5px 10px; font-family: var(--mono); font-size: 13px; white-space: nowrap; text-decoration: none; }
.chip s { color: var(--faint); }
.chip small { font-family: var(--sans); color: var(--muted); font-size: 13px; }
.chip.open { border-color: var(--green); color: var(--green); }
.chip.open small { color: var(--green); }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; } .live, .tweet .cur, .res { animation: none; } }

/* ---------- sections ---------- */
section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); }
h2 { font-weight: 600; font-size: 24px; line-height: 32px; letter-spacing: -0.03em; margin: 8px 0; }
.lead { font-size: 16px; line-height: 24px; color: var(--muted); max-width: 62ch; margin: 0; }

/* Cells share hairlines instead of floating as separate cards. */
.steps, .era-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step, .era { padding: 24px; border-left: 1px solid var(--line); transition: background 0.15s; }
.step:hover, .era:hover { background: var(--bg-2); }
.step:first-child, .era:first-child { border-left: 0; }
.step .n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); }
.step .n::before { content: '0'; }
.step h3, .era h3 { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 12px 0 4px; }
.step p, .era p { margin: 0; color: var(--muted); }
.era .ext { font-family: var(--mono); font-weight: 600; font-size: 20px; color: var(--faint); }
.era.now, .era.now:hover { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--cursor); }
.era.now .ext { color: var(--text); }
.era.now .ext::after { content: ''; display: inline-block; width: 8px; height: 18px; background: var(--cursor); margin-left: 3px; vertical-align: -3px; }

.pricing { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; }
.price-card { border: 1px solid var(--line); border-top: 3px solid var(--cursor); border-radius: var(--r); padding: 24px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
.price-card h3 { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 8px; color: var(--muted); }
.price-card li::before { content: '✓'; color: var(--green); font-weight: 600; margin-right: 8px; }

.faq > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.faq h2 { margin-bottom: 16px; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; list-style: none; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--muted); font-family: var(--mono); }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); margin: 8px 0 0; max-width: 68ch; }

.cta { background: var(--contrast); color: #f1f1f1; padding: 56px 0; border-bottom: 0; text-align: center; }
.cta h2 { margin: 0 0 4px; }
.cta p { color: #b8b8b8; margin: 0 0 20px; font-size: 16px; line-height: 24px; }

footer { color: var(--muted); padding: 32px 0; font-size: 13px; }
footer .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .logo { color: var(--text); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--text); }
footer p { max-width: 760px; margin: 16px 0 0; font-size: 12px; line-height: 18px; color: var(--faint); }

@media (max-width: 860px) {
  section { padding: 40px 0; }
  .hero { padding: 32px 0; }
  .steps, .era-grid, .pricing { grid-template-columns: 1fr; }
  .step, .era { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child, .era:first-child { border-top: 0; }
}

/* ---------- activity feed (home, pinned top right) ---------- */
.feed { position: fixed; top: 68px; right: 16px; z-index: 15; display: flex; align-items: flex-start; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); padding: 10px 14px 10px 12px; text-decoration: none; max-width: 280px; opacity: 0; transform: translateX(12px); transition: opacity 0.3s, transform 0.3s; }
.feed.in { opacity: 1; transform: none; }
.feed .live { flex: none; margin-top: 6px; background: var(--green); box-shadow: 0 0 0 0 rgba(15, 123, 52, 0.5); animation-name: pulse-g; }
@keyframes pulse-g { to { box-shadow: 0 0 0 8px rgba(15, 123, 52, 0); } }
.feed span span { display: block; font-size: 13px; line-height: 18px; }
.feed b { font-weight: 600; }
.feed b.mono { font-weight: 500; word-break: break-all; }
.feed small { display: block; font-size: 12px; line-height: 18px; color: var(--muted); }
@media (max-width: 1100px) { .feed { top: auto; bottom: 14px; } }

/* ---------- inner pages (checkout, order, admin, legal) ---------- */
.light { background: var(--bg-2); }
.page { padding: 32px 24px 72px; }
.page h1 { font-weight: 600; font-size: 24px; line-height: 32px; letter-spacing: -0.03em; margin: 0 0 4px; }
.page h1.mono { letter-spacing: -0.02em; }
.page .lead { margin-bottom: 24px; }
.cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.panel h2 { font-size: 16px; line-height: 24px; letter-spacing: -0.01em; margin: 0 0 2px; }
.panel .hint { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.panel.dark { position: sticky; top: 80px; border-top: 3px solid var(--cursor); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select { width: 100%; height: 40px; border: 1px solid rgba(0, 0, 0, 0.21); background: var(--bg); border-radius: var(--r-s); padding: 0 12px; font-size: 14px; outline: 0; }
.field input:focus, .field select:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(0, 107, 255, 0.2); }
.phone { display: grid; grid-template-columns: 84px 1fr; gap: 8px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 8px 0 16px; }
.check input { margin-top: 3px; width: 14px; height: 14px; accent-color: var(--contrast); }
.sum-domain { font-family: var(--mono); font-weight: 600; font-size: 18px; line-height: 26px; word-break: break-all; margin: 4px 0 12px; }
.sum-domain em { font-style: normal; color: var(--accent); }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
.line.total { color: var(--text); font-weight: 600; font-size: 16px; }
.fine { font-size: 12px; line-height: 18px; color: var(--faint); margin: 12px 0 0; }
.err { background: var(--red-soft); border: 1px solid rgba(203, 42, 47, 0.3); color: var(--red); padding: 10px 12px; border-radius: var(--r-s); margin-bottom: 16px; }
.ok { background: var(--green-soft); border: 1px solid rgba(15, 123, 52, 0.3); color: var(--green); padding: 10px 12px; border-radius: var(--r-s); margin-bottom: 16px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } .panel.dark { position: static; order: -1; } .grid2 { grid-template-columns: 1fr; } }

.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.track div { padding-top: 10px; border-top: 2px solid var(--line); font-weight: 500; color: var(--muted); }
.track div.on { border-color: var(--cursor); color: var(--text); }
.track div.done { border-color: var(--green); color: var(--text); }
.track small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--line); border-top-color: var(--text); border-radius: 50%; animation: rot 0.8s linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes rot { to { transform: rotate(360deg); } }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
.stack { display: grid; gap: 16px; }
code.box { display: block; font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--line); padding: 10px 12px; border-radius: var(--r-s); word-break: break-all; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.stat { padding: 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.03em; }
.stat span { font-size: 13px; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
td .mono { font-weight: 500; }
td small { color: var(--muted); display: block; }
.st { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: #f2f2f2; white-space: nowrap; }
.st.active { background: var(--green-soft); color: var(--green); }
.st.registering { background: var(--amber-soft); color: var(--amber); }
.st.refunded, .st.failed { background: var(--red-soft); color: var(--red); }
.acts { display: flex; gap: 6px; flex-wrap: wrap; }
.scroll { overflow-x: auto; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat { border-left: 0; } }

.legal { max-width: 720px; }
.legal h2 { font-size: 20px; line-height: 26px; margin-top: 40px; }
.legal p, .legal li { font-size: 16px; line-height: 24px; color: var(--muted); }
.legal p b { color: var(--text); font-weight: 500; }
