/* Page layout for the Blip website: everything sits on one hairline grid. Each .row runs a
   line edge to edge; inside, .wrap is the 1240px column with lines down both sides, so the
   page reads as one continuous frame. Components live in blip.css. */
.page { min-height: 100vh; overflow-x: clip; }
.wrap { max-width: 1240px; margin: 0 auto; border-inline: 1px solid var(--line); position: relative; }
.row { position: relative; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
/* a small square where each row line meets the frame */
.row > .wrap::before, .row > .wrap::after { content: ""; position: absolute; top: -4px; width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--border-strong); z-index: 1; }
.row > .wrap::before { left: -4px; } .row > .wrap::after { right: -4px; }
.row:first-child > .wrap::before, .row:first-child > .wrap::after { display: none; }
.pad { padding: 72px 48px; }
.cell + .cell { border-left: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > .cell { padding: 56px 48px; min-width: 0; }
section { scroll-margin-top: 72px; }
.container { max-width: 1240px; margin: 0 auto; padding-inline: 48px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .wrap { border-inline: 0; }
  .row > .wrap::before, .row > .wrap::after { display: none; }
  .pad, .split > .cell { padding: 48px 16px; }
  .container { padding-inline: 16px; }
}

.h2 { font: 600 clamp(26px, 3.2vw, 36px)/1.12 var(--f-body); letter-spacing: -.03em; }
.h3 { font: 600 17px/1.3 var(--f-body); letter-spacing: -.01em; }
.intro { font-size: 16px; line-height: 1.6; color: var(--text-muted); max-width: 56ch; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.sec-head p { color: var(--text-muted); max-width: 46ch; }
a.u { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
a.u:hover { text-decoration-color: currentColor; }
.btn-xl { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 15px; }

/* ---------------- nav ---------------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 16px 0 20px; }
.nav-links { display: flex; gap: 4px; font-size: 14px; }
.nav-links a { color: var(--text-muted); padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.ticker-chip { font: 500 12px var(--f-mono); padding: 8px 12px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); }
.theme-toggle { width: 40px; height: 40px; border-radius: 11px; border: 0; background: transparent; color: var(--text-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.theme-toggle:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 860px) { .nav-links, .ticker-chip { display: none; } }

/* ---------------- live tape: the newest real coins, moving slowly ---------------- */
.tape { display: flex; align-items: center; height: 52px; overflow: hidden; }
.tape-label { flex: none; display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px 0 20px; border-right: 1px solid var(--line); font-size: 13px; color: var(--text-muted); background: var(--bg); z-index: 1; }
.tape-label i, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 18%, transparent); }
.tape-view { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent); }
.tape-track { display: flex; gap: 6px; width: max-content; padding-left: 12px; animation: tape 90s linear infinite; }
.tape-view:hover .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 5px; border-radius: 10px; background: var(--surface); border: 1px solid var(--hairline); font: 500 12.5px var(--f-mono); white-space: nowrap; color: var(--text); }
.tick:hover { border-color: var(--border-strong); }
.tick img, .tick .ph { width: 24px; height: 24px; border-radius: 7px; object-fit: cover; background: var(--surface-2); }
.tick .age { color: var(--text-faint); font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .tape-track { animation: none; } }

/* ---------------- hero: the search is the product ---------------- */
.hero { padding: 88px 48px 64px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 50% at 30% 30%, rgba(247,168,211,.13), transparent 70%), radial-gradient(40% 50% at 70% 35%, rgba(146,220,240,.12), transparent 70%), radial-gradient(50% 60% at 50% 80%, rgba(201,168,255,.12), transparent 70%); }
.h1 { font: 600 clamp(38px, 5.6vw, 68px)/1.02 var(--f-body); letter-spacing: -.045em; max-width: 15ch; }
.h1 .then { display: block; color: var(--text-faint); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .06em; }
.hero .intro { margin: 22px auto 0; text-align: center; max-width: 54ch; }
.hero-tool { width: 100%; max-width: 720px; margin-top: 36px; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 6px; }
.hero-meta .counter { margin-left: auto; }
.results { display: flex; flex-direction: column; gap: 10px; }
.results:empty { display: none; }
.results .empty { padding: 18px; border-radius: var(--r-lg); border: 1px dashed var(--border-strong); color: var(--text-muted); font-size: 14px; text-align: center; }
.results .empty.err { color: var(--down); border-color: color-mix(in srgb, var(--down) 40%, transparent); }
.results .empty .btn { margin-top: 12px; }
.limit-card { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
@media (max-width: 720px) { .hero { padding: 56px 16px 48px; } }

/* ---------------- find / launch: two mock posts ---------------- */
.mock-feed { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.post { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.post .who { display: flex; gap: 10px; align-items: center; }
.post .av { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--hairline); flex: none; }
.post .name { font-weight: 600; font-size: 14px; display: block; line-height: 1.2; }
.post .handle { color: var(--text-faint); font-size: 13px; display: block; }
.post p { font-size: 15px; line-height: 1.45; }
.post .media { height: 150px; border-radius: 12px; border: 1px solid var(--hairline); }
.post .pin { position: absolute; top: 14px; right: 14px; }
.launch-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--surface); border: 1px dashed var(--border-strong); color: var(--text-muted); font: 500 12px/1 var(--f-mono); }
.launch-chip b { color: var(--amber-text); font-weight: 600; }
.mock-pop { position: relative; margin: -46px 14px 0 auto; width: min(100%, 380px); box-shadow: var(--shadow-pop); }
.mini-launch { position: relative; margin: -14px 14px 0 auto; width: min(100%, 360px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px; display: grid; grid-template-columns: 64px 1fr; gap: 10px 12px; box-shadow: var(--shadow-pop); }
.mini-launch .img { width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--hairline); grid-row: span 2; }
.mini-launch .fld { border: 1px solid var(--border); background: var(--surface-2); border-radius: 10px; padding: 7px 10px; font-size: 13.5px; }
.mini-launch .fld span { display: block; font-size: 11.5px; color: var(--text-faint); }
.mini-launch .ideas { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.mini-launch .ideas span { font-size: 12px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-muted); }
.mini-launch .ideas span.on { border-color: var(--amber-line); color: var(--amber-text); }
.mini-launch .go { grid-column: 1 / -1; min-height: 42px; border-radius: 12px; font-size: 14px; }
.cell-foot { margin-top: 22px; color: var(--text-muted); font-size: 14.5px; max-width: 48ch; }

/* ---------------- live screener table ---------------- */
.stats-line { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; color: var(--text-muted); }
.stats-line b { font: 500 13.5px var(--f-mono); color: var(--text); font-variant-numeric: tabular-nums; margin-right: 5px; }
.table { width: 100%; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.thead, .trow { display: grid; grid-template-columns: minmax(0, 2.4fr) 1.1fr .8fr 1fr 1fr; align-items: center; gap: 12px; padding: 0 18px; }
.thead { height: 42px; font-size: 12.5px; color: var(--text-faint); background: var(--surface-3); border-bottom: 1px solid var(--hairline); }
.thead .r, .trow .r { text-align: right; }
.trow { min-height: 56px; border-top: 1px solid var(--hairline); font-size: 14px; }
.thead + .trow { border-top: 0; }
.trow:hover { background: var(--surface-2); }
.trow .tok { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trow .tok img, .trow .tok .ph { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--hairline); flex: none; }
.trow .tok b { font: 500 13.5px var(--f-mono); display: block; }
.trow .tok span { display: block; font-size: 12.5px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .tok > div { min-width: 0; }
.trow .num { font: 500 13.5px var(--f-mono); font-variant-numeric: tabular-nums; }
.trow .dim { color: var(--text-muted); font-size: 13.5px; }
.trow a.go { color: var(--text-muted); font-size: 13px; }
.trow a.go:hover { color: var(--text); }
.trow.new { animation: newrow 1.6s var(--ease) 1; }
@keyframes newrow { 0% { background: var(--amber-soft); } 100% { background: transparent; } }
.table-empty { padding: 28px; text-align: center; color: var(--text-faint); font-size: 14px; }
@media (max-width: 720px) {
  .thead, .trow { grid-template-columns: minmax(0, 1fr) auto auto; padding: 0 12px; }
  .thead .hide-s, .trow .hide-s { display: none; }
}

/* ---------------- what it reads (a table, not cards) ---------------- */
.reads { width: 100%; border-collapse: collapse; }
.reads th, .reads td { text-align: left; padding: 16px 0; border-top: 1px solid var(--hairline); vertical-align: top; }
.reads tr:first-child th, .reads tr:first-child td { border-top: 0; }
.reads th { width: 30%; font: 600 15px var(--f-body); padding-right: 24px; }
.reads td { color: var(--text-muted); font-size: 15px; }
.reads td code { font: 500 12.5px var(--f-mono); color: var(--text-2); background: var(--surface-2); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.sites { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.sites span { font-size: 13px; padding: 6px 11px; border-radius: 999px; background: var(--surface-2); color: var(--text-muted); }
.sites span.on { background: var(--amber-soft); color: var(--amber-text); }
@media (max-width: 720px) { .reads th { width: 38%; font-size: 14px; } .reads td { font-size: 14px; } }

/* ---------------- safety + faq ---------------- */
.never { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; }
.never li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.never li:first-child { border-top: 0; }
.never li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239198A1' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }
.never b { display: block; font-weight: 600; font-size: 15px; }
.never span { color: var(--text-muted); font-size: 14.5px; }
.faq { margin-top: 16px; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; font-weight: 500; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-faint); font: 400 18px/1 var(--f-mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-muted); font-size: 14.5px; padding: 0 28px 16px 0; }

/* ---------------- install ---------------- */
.install { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.steps-ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; }
.steps-ol li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hairline); color: var(--text-muted); font-size: 15px; }
.steps-ol li:first-child { border-top: 0; }
.steps-ol li::before { content: counter(s); width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); color: var(--text); font: 500 12.5px/26px var(--f-mono); text-align: center; }
.steps-ol li > span { display: none; }
.steps-ol b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .install { grid-template-columns: 1fr; } }

/* ---------------- token ---------------- */
.token-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.token-row p { color: var(--text-muted); max-width: 52ch; margin-top: 6px; }
.ca { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font: 400 13px var(--f-mono); max-width: 100%; }
.ca span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca button { width: 34px; height: 34px; border-radius: 9px; border: 0; background: var(--surface-2); color: var(--text-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

/* ---------------- footer ---------------- */
.footer { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; padding: 48px 48px 28px; }
.footer p { color: var(--text-muted); font-size: 14px; margin-top: 12px; max-width: 42ch; }
.footer small { display: block; color: var(--text-faint); font-size: 12.5px; margin-top: 10px; max-width: 52ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 14px; }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols .label-sm { margin-bottom: 4px; }
.foot-cols a { color: var(--text-muted); }
.foot-cols a:hover { color: var(--text); }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--text-faint); }
.foot-base .stats-line { font-size: 13px; }
@media (max-width: 720px) { .footer { grid-template-columns: 1fr; padding: 40px 16px 24px; } }

/* ---------------- text pages (privacy, terms) ---------------- */
.prose { max-width: 720px; padding: 64px 48px 80px; }
.prose h1 { font: 600 clamp(30px, 4vw, 42px)/1.1 var(--f-body); letter-spacing: -.035em; margin-bottom: 18px; }
.prose h2 { font: 600 19px/1.3 var(--f-body); margin: 36px 0 10px; }
.prose p, .prose li { color: var(--text-muted); font-size: 15.5px; line-height: 1.65; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose b { color: var(--text); font-weight: 600; }
.tablebox { overflow-x: auto; margin: 14px 0; border: 1px solid var(--border); border-radius: var(--r-md); }
.tablebox table { border-collapse: collapse; width: 100%; font-size: 14px; }
.tablebox th, .tablebox td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--hairline); vertical-align: top; color: var(--text-muted); }
.tablebox th { border-top: 0; color: var(--text); font-weight: 600; background: var(--surface-3); }
@media (max-width: 720px) { .prose { padding: 40px 16px 56px; } }
