/* FirstBag: Link's layout (white, Inter Tight headlines with a grey second line, pill buttons, mono eyebrows,
   hairline borders, big soft shadows) in Referly's palette: slate ink, pump.fun mint, deep green, a soft mint glow. */
:root {
  --bg: #ffffff; --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --grey: #b8c2cf; --faint: #cbd3dd; --line: #e8ecf1; --soft: #f3f6f9;
  --mint: #86efac; --mint-2: #6ee7a0; --on: #052e16; --blue: #15803d; --blue-2: #116932; --blue-soft: #ecfdf3; --green: #16a34a; --green-soft: #ecfdf3; --red: #dc2626; --red-soft: #fdecec; --bubble: #eef2f6;
  --radius: 28px; --display: "Inter Tight", Inter, system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(1200px 500px at 85% -10%, rgba(134,239,172,.24), transparent 70%) no-repeat, var(--bg); color: var(--ink); font: 16px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input { font: inherit; color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); }
h1, h2 { font-family: var(--display); font-weight: 600; margin: 0; }
h1 { font-size: clamp(52px, 8.4vw, 104px); line-height: .94; letter-spacing: -.048em; }
h1 .dim, h2 .dim { color: var(--grey); }
h2 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1; letter-spacing: -.045em; margin-top: 18px; }
p { margin: 0; }

/* nav */
nav.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
nav.top.scrolled { border-color: var(--line); }
nav.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; font: 600 19px/1 var(--display); letter-spacing: -.03em; }
.glyph { width: 26px; height: 26px; flex: none; }
.pills { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.pills a { padding: 6px 12px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); transition: background .2s; }
.pills a:hover { background: var(--soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--mint); color: var(--on); font-weight: 600; font-size: 15px; transition: background .2s, transform .2s, opacity .2s; white-space: nowrap; }
.btn:hover { background: var(--mint-2); } .btn:active { transform: scale(.97); } .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); } .btn.ghost:hover { background: var(--soft); }
.btn.ink { background: var(--ink); color: #fff; } .btn.ink:hover { background: #020617; }
.btn svg { width: 16px; height: 16px; flex: none; }
nav.top .right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
nav.top .btn { height: 40px; font-size: 14px; }
.live { display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 99px; background: var(--green); animation: pulse 1.6s ease-in-out infinite; } @keyframes pulse { 50% { opacity: .3; } }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: background .2s, color .2s; flex: none; }
.iconbtn:hover { background: var(--soft); color: var(--ink); } .iconbtn.done { color: var(--green); border-color: #cfead8; background: var(--green-soft); }
.iconbtn svg { width: 16px; height: 16px; }
.ca { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; max-width: 100%; }
.ca b { font-weight: 600; } .ca .sep { width: 1px; height: 16px; background: var(--line); } .ca .addr { font-family: var(--mono); color: var(--muted); font-size: 12px; } .ca .iconbtn { width: 28px; height: 28px; border: 0; }

/* fields */
.field { border: 1px solid var(--line); border-radius: 20px; padding: 14px 18px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.field.focus, .field:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(134,239,172,.25); }
.field small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.field input { width: 100%; border: 0; outline: 0; background: none; font: 500 16px var(--mono); padding: 2px 0; }
.field input::placeholder { color: var(--faint); }
.field.bad { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.err { display: none; font-size: 13.5px; color: var(--red); margin-top: 8px; } .err.show { display: block; }

/* sections */
section { padding: 140px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sub { color: var(--muted); font-size: 18px; max-width: 440px; margin: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.shown { opacity: 1; transform: none; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fcfcfc; padding: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } .split .sub { margin-top: 20px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 64px; }
.cell { background: #fff; padding: 26px 24px 28px; min-height: 160px; transition: background .25s; } .cell:hover { background: #fcfcfc; }
.cell .k { font: 500 13px var(--mono); color: var(--blue); } .cell b { display: block; font: 600 18px/1.25 var(--display); letter-spacing: -.02em; margin-top: 22px; } .cell p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 140px; }
.foot { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .tag { color: var(--muted); margin: 10px 0 18px; font-size: 15px; }
.foot .cols { display: flex; gap: 64px; } .foot .cols div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; } .foot .cols .eyebrow { margin-bottom: 6px; }
.foot .cols a { color: var(--muted); transition: color .2s; } .foot .cols a:hover { color: var(--ink); }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; font-size: 12.5px; color: var(--grey); } .legal span:last-child { max-width: 620px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 99; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pills, nav.top .live { display: none; } section { padding-top: 110px; } .grid { grid-template-columns: 1fr; } .foot .cols { gap: 40px; } footer { margin-top: 110px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
