/* The Veil Bug Bounty (veilit.xyz/bounty). Veil's own identity, dark like the rest of veilit.xyz: a lit hero where
   probes glance off Veil's shield around the prize, then scope, rewards, the sealed submission form with what actually
   leaves the browser beside it, the rules, and a closing call. */
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #05040b; --ink-2: #0c0a18; --ink-3: #131026; --ink-4: #1c1734;
  --line: rgba(255, 255, 255, 0.08); --line-2: rgba(255, 255, 255, 0.14);
  --fg: #f6f4ff; --fg-2: rgba(246, 244, 255, 0.68); --fg-3: rgba(246, 244, 255, 0.44);
  --veil: #a08bff; --veil-hi: #ddd3ff; --veil-deep: #6b4ff0; --veil-wash: rgba(160, 139, 255, 0.1);
  --ok: #7ee2b8; --warn: #ffb547; --hot: #ff7a6b;
  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r-2: 14px; --r-3: 22px; --wrap: 1180px; --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; min-height: 100vh; background: var(--ink); color: var(--fg); overflow-x: hidden;
  font-family: var(--f-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--ink); }
a { color: var(--veil-hi); }
:focus-visible { outline: 2px solid var(--veil); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--veil-deep); color: #fff; }
.mono { font-family: var(--f-mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.hl { background: linear-gradient(180deg, #fff 10%, var(--veil-hi) 55%, var(--veil) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad { background: linear-gradient(100deg, var(--veil-hi), var(--veil) 45%, #c9b8ff 70%, var(--veil-hi)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }

/* ---- top bar ---- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; border-bottom: 1px solid var(--line); background: rgba(5, 4, 11, 0.72); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); }
.top-in { max-width: var(--wrap); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 20px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.brand img { height: 24px; width: auto; display: block; }
.top-links { display: flex; gap: 4px; margin-right: auto; }
.top-links a { padding: 8px 12px; border-radius: 10px; color: var(--fg-2); text-decoration: none; font-weight: 500; font-size: .92rem; transition: color .2s, background-color .2s; }
.top-links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.04); }
.btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .62em 1.1em; border-radius: 999px;
  background: var(--fg); color: #0b0918; font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: background-color .2s, box-shadow .2s, transform .2s var(--ease), opacity .2s; }
.btn:hover { background: var(--veil-hi); box-shadow: 0 0 0 4px rgba(160, 139, 255, 0.18); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid var(--veil-hi); outline-offset: 3px; }
.btn-lg { padding: .85em 1.45em; font-size: 1rem; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(160, 139, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(160, 139, 255, 0.5); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---- hero ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(92vh, 900px); display: grid; align-content: center; padding-block: 56px 96px;
  background: radial-gradient(900px 560px at 50% 38%, rgba(107, 79, 240, 0.26), transparent 70%), radial-gradient(1400px 700px at 50% -260px, rgba(107, 79, 240, 0.2), transparent 70%); }
.orb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; z-index: -1; background: linear-gradient(180deg, transparent, var(--ink)); pointer-events: none; }
.hero-in { display: grid; justify-items: center; text-align: center; gap: 20px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(126, 226, 184, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(126, 226, 184, 0); } }

.prize { margin: 4px 0 0; position: relative; display: grid; justify-items: center; gap: 2px; line-height: 1; }
.prize-k { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--veil-hi); opacity: .8; }
.odo { display: inline-flex; align-items: flex-start; font-weight: 650; font-size: clamp(4rem, 15vw, 11.5rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap;
  filter: drop-shadow(0 20px 70px rgba(107, 79, 240, 0.55)); }
.odo .g { background: linear-gradient(180deg, #fff 14%, var(--veil-hi) 58%, var(--veil) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.odo { --h: 1.14em; line-height: var(--h); }
.odo .d { display: inline-block; height: var(--h); overflow: hidden; vertical-align: top;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.odo .d > span { display: flex; flex-direction: column; transition: transform 2.2s cubic-bezier(.16, .84, .2, 1); }
.odo .d > span > span { display: block; height: var(--h); line-height: var(--h); text-align: center; }
.odo .ch { display: inline-block; line-height: var(--h); }
.odo.done { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { filter: drop-shadow(0 20px 70px rgba(107, 79, 240, .55)) brightness(1.7); } 100% { filter: drop-shadow(0 20px 70px rgba(107, 79, 240, .55)); } }

.prize { font-size: 1rem; font-weight: inherit; letter-spacing: 0; }
.lede { margin: 6px 0 0; max-width: 46ch; color: var(--fg); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.4; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

.audit { margin-top: 18px; display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 999px; text-decoration: none; color: var(--fg);
  border: 1px solid rgba(160, 139, 255, .36); background: linear-gradient(160deg, rgba(34, 26, 72, .8), rgba(12, 10, 24, .8)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px -24px rgba(107, 79, 240, .7), inset 0 1px 0 rgba(255, 255, 255, .07); transition: border-color .3s, transform .3s var(--ease); }
.audit:hover { border-color: rgba(221, 211, 255, .6); transform: translateY(-1px); }
.gauge { position: relative; width: 52px; height: 52px; flex: none; display: grid; place-items: center; }
.gauge svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 5; }
.g-track { stroke: rgba(160, 139, 255, .16); }
.g-fill { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 2s cubic-bezier(.2, .8, .2, 1) .5s; filter: drop-shadow(0 0 6px rgba(126, 226, 184, .6)); }
.gauge b { font-size: 1rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.audit-t { text-align: left; font-size: .95rem; line-height: 1.35; }
.audit-t span { color: var(--fg-2); }
.audit img { height: 20px; width: auto; opacity: .85; }

/* the attack log under the hero: every probe that glanced off */
.ticker { position: absolute; left: 0; right: 0; bottom: 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-in { display: flex; gap: 34px; white-space: nowrap; width: max-content; font-family: var(--f-mono); font-size: .72rem; color: var(--fg-3); letter-spacing: .04em; animation: tick 60s linear infinite; }
.ticker-in span { display: inline-flex; align-items: center; gap: 9px; }
.ticker-in i { width: 6px; height: 6px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 8px var(--hot); }
.ticker-in b { color: var(--ok); font-weight: 500; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---- sections ---- */
.sec { padding-block: clamp(56px, 9vw, 110px) 0; }
.kicker { margin: 0 0 12px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--veil); }
.sec h2, .close h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.9rem); line-height: 1.1; font-weight: 620; letter-spacing: -0.035em; max-width: 24ch; text-wrap: balance; }
.sub { margin: 14px 0 0; color: var(--fg-2); max-width: 64ch; font-size: 1.04rem; text-wrap: pretty; }
.card { border: 1px solid var(--line); border-radius: var(--r-3); background: linear-gradient(180deg, rgba(28, 23, 52, 0.62), rgba(12, 10, 24, 0.72)); }

.targets { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.target { position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-3); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(28, 23, 52, .66), rgba(12, 10, 24, .74));
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.target::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), rgba(160, 139, 255, .18), transparent 70%); }
.target:hover { border-color: rgba(160, 139, 255, .45); transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(107, 79, 240, .7); }
.target:hover::before { opacity: 1; }
.target h3 { margin: 18px 0 8px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.target p { margin: 0; color: var(--fg-2); font-size: .95rem; }
.t-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(160, 139, 255, .12); border: 1px solid rgba(160, 139, 255, .3); }
.t-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--veil-hi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.target:hover .t-ico svg { animation: wob .6s var(--ease); }
@keyframes wob { 30% { transform: rotate(-8deg) scale(1.08); } 60% { transform: rotate(5deg); } }
.comps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.comps li { display: grid; gap: 2px; padding: 12px 16px; border-radius: var(--r-2); border: 1px solid var(--line); background: rgba(12, 10, 24, .6); }
.comps b { font-size: .92rem; font-weight: 600; }
.comps span { font-size: .74rem; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* rewards */
.tiers { margin-top: 34px; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
.tier { position: relative; display: grid; align-content: start; gap: 16px; padding: 24px; border-radius: var(--r-3); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(28, 23, 52, .62), rgba(12, 10, 24, .74)); }
.tier header { display: grid; gap: 6px; }
.sev { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.amt { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.amt .pre { display: block; margin-bottom: 6px; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.meter { display: block; height: 4px; border-radius: 4px; background: rgba(160, 139, 255, .12); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--veil-deep), var(--veil-hi)); transition: width 1.6s cubic-bezier(.2, .8, .2, 1) .2s; }
.tier.in .meter i { width: calc(max(var(--w), .04) * 100%); }
.tier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tier li { position: relative; padding-left: 18px; color: var(--fg-2); font-size: .92rem; }
.tier li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--veil); opacity: .7; }
/* Critical: a band of light running round its edge */
.t-crit { border-color: transparent; background: linear-gradient(180deg, rgba(44, 32, 96, .9), rgba(16, 12, 34, .92)) padding-box, conic-gradient(from var(--a, 0deg), rgba(160, 139, 255, .25), var(--veil-hi), rgba(160, 139, 255, .25) 30%, rgba(160, 139, 255, .25)) border-box;
  border: 1px solid transparent; box-shadow: 0 40px 80px -40px rgba(107, 79, 240, .9); animation: spin 6s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.t-crit .sev { color: var(--hot); }
.t-crit .amt { font-size: clamp(2.2rem, 4.2vw, 3.2rem); }
.t-crit .amt { background: linear-gradient(180deg, #fff 20%, var(--veil-hi) 70%, var(--veil)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-crit .amt .pre { -webkit-text-fill-color: var(--fg-3); }
.t-high .sev { color: var(--warn); }
.t-med .sev { color: var(--veil-hi); }
.note { margin: 18px 0 0; color: var(--fg-3); font-size: .9rem; max-width: 80ch; }

/* the form */
.submit-grid { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.form { padding: 26px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field legend, .lbl { padding: 0; margin-bottom: 8px; font-size: .86rem; font-weight: 550; color: var(--fg); }
fieldset.field legend { margin-bottom: 10px; }
.req { color: var(--veil); }
input, textarea { font: inherit; color: var(--fg); background: rgba(5, 4, 11, .62); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; width: 100%; min-width: 0;
  transition: border-color .2s, box-shadow .2s, background-color .2s; }
textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.mono-in { font-family: var(--f-mono); font-size: .88rem; }
input::placeholder, textarea::placeholder { color: rgba(246, 244, 255, .3); }
input:focus, textarea:focus { outline: none; border-color: rgba(160, 139, 255, .7); box-shadow: 0 0 0 4px rgba(160, 139, 255, .14); background: rgba(5, 4, 11, .85); }
.field.bad input, .field.bad textarea, fieldset.bad .sevs, fieldset.bad .chips { box-shadow: 0 0 0 1px var(--hot); border-radius: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sevs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sev-opt, .chips label { position: relative; cursor: pointer; }
.sev-opt input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sev-opt span { display: grid; gap: 3px; padding: 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 4, 11, .5); transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease); }
.sev-opt b { font-size: .92rem; }
.sev-opt em { font-style: normal; font-size: .74rem; color: var(--fg-3); font-family: var(--f-mono); }
.sev-opt:hover span { border-color: rgba(160, 139, 255, .45); }
.sev-opt input:checked + span { border-color: var(--veil); background: rgba(160, 139, 255, .16); box-shadow: 0 0 0 3px rgba(160, 139, 255, .14); transform: translateY(-1px); }
.s-crit input:checked + span { border-color: var(--hot); background: rgba(255, 122, 107, .12); box-shadow: 0 0 0 3px rgba(255, 122, 107, .14); }
.sev-opt input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--veil-hi); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(5, 4, 11, .5); font-size: .88rem; color: var(--fg-2); transition: all .2s; }
.chips label:hover span { color: var(--fg); border-color: rgba(160, 139, 255, .45); }
.chips input:checked + span { color: var(--fg); border-color: var(--veil); background: rgba(160, 139, 255, .18); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--fg-2); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--veil); }
.agree.bad span { color: var(--hot); }
.err { margin: 0; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 122, 107, .4); background: rgba(255, 122, 107, .08); color: #ffc4bd; font-size: .9rem; }
.send-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.send { min-width: 210px; }
.lock { width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Crect x='5' y='10.5' width='14' height='9.5' rx='2.5'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Crect x='5' y='10.5' width='14' height='9.5' rx='2.5'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.size { font-size: .76rem; color: var(--fg-3); }
.size.over { color: var(--hot); }

/* what leaves the browser */
.wire { position: sticky; top: 84px; padding: 22px; display: grid; gap: 16px; overflow: hidden; }
.wire-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wire h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.inbox { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .04em; color: var(--fg-3); }
.inbox i { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-3); }
.inbox.ok { color: var(--ok); } .inbox.ok i { background: var(--ok); animation: ping 2.2s var(--ease) infinite; }
.inbox.warn { color: var(--warn); } .inbox.warn i { background: var(--warn); }
.cipher { margin: 0; height: 196px; overflow: hidden; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(3, 2, 8, .82); color: rgba(196, 179, 255, .75);
  font-size: .72rem; line-height: 1.5; white-space: pre-wrap; word-break: break-all; position: relative;
  mask-image: linear-gradient(180deg, transparent, #000 22%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%); }
.cipher.idle { color: var(--fg-3); mask-image: none; -webkit-mask-image: none; word-break: normal; font-family: var(--f-sans); font-size: .9rem; display: grid; place-items: center; text-align: center; }
.cipher .fresh { color: #fff; text-shadow: 0 0 10px rgba(221, 211, 255, .9); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 9px 10px; border-radius: 12px; transition: background-color .3s; }
.steps li > i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); margin-top: 1px; position: relative; transition: all .3s; }
.steps b { display: block; font-size: .9rem; font-weight: 550; }
.steps span { display: block; font-size: .78rem; color: var(--fg-3); }
.steps li.run { background: rgba(160, 139, 255, .08); }
.steps li.run > i { border-color: var(--veil); border-top-color: transparent; animation: rot .8s linear infinite; }
.steps li.done > i { border-color: var(--ok); background: rgba(126, 226, 184, .16); }
.steps li.done > i::after { content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.steps li.fail > i { border-color: var(--warn); }
@keyframes rot { to { transform: rotate(360deg); } }
.fp { margin: 0; font-size: .68rem; color: var(--fg-3); }
.receipt, .fallback { display: grid; gap: 12px; padding: 18px; border-radius: 16px; animation: pop .6s cubic-bezier(.2, .9, .25, 1.2) both; }
.receipt { border: 1px solid rgba(126, 226, 184, .4); background: radial-gradient(120% 140% at 0 0, rgba(126, 226, 184, .14), transparent 60%), rgba(5, 4, 11, .6); }
.receipt p, .fallback p { margin: 0; color: var(--fg-2); font-size: .88rem; }
.r-k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); }
.r-id { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: .04em; font-weight: 600; }
.r-act { display: flex; flex-wrap: wrap; gap: 10px; }
.link { all: unset; cursor: pointer; justify-self: start; color: var(--veil-hi); font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
.fallback { border: 1px solid rgba(255, 181, 71, .4); background: rgba(255, 181, 71, .06); }
.fallback > b { color: var(--warn); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.alt { margin: 18px 0 0; color: var(--fg-3); font-size: .9rem; }

/* rules */
.rules { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rule { padding: 26px; }
.rule h3 { margin: 0 0 14px; display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 600; }
.rule ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.rule li { position: relative; padding-left: 22px; color: var(--fg-2); font-size: .94rem; }
.rule li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--veil); }
.rule p { margin: 0; color: var(--fg-2); max-width: 80ch; }
.harbor { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(126, 226, 184, .08), rgba(12, 10, 24, .74) 45%); border-color: rgba(126, 226, 184, .22); }
.r-ico { width: 30px; height: 30px; border-radius: 10px; display: inline-grid; place-items: center; flex: none; }
.r-ico::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.r-ico.ok { color: var(--ok); background: rgba(126, 226, 184, .12); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.r-ico.no { color: var(--hot); background: rgba(255, 122, 107, .12); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.r-ico.sh { color: var(--ok); background: rgba(126, 226, 184, .12); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.1 8.3 7.5 9.5 4.4-1.2 7.5-4.9 7.5-9.5V6L12 3Z'/%3E%3C/svg%3E"); }

/* the close */
.close { padding-block: clamp(72px, 11vw, 140px) clamp(64px, 9vw, 110px); }
.close-in { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 22px; text-align: center; padding: clamp(40px, 7vw, 80px) 20px; border-radius: 30px; border: 1px solid rgba(160, 139, 255, .3);
  background: radial-gradient(700px 300px at 50% 0, rgba(107, 79, 240, .35), transparent 70%), linear-gradient(180deg, rgba(28, 23, 52, .7), rgba(8, 6, 18, .9)); }
.close-in::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(105deg, rgba(221, 211, 255, .035) 0 1px, transparent 1px 9px); pointer-events: none; }
.close h2 { max-width: 20ch; font-size: clamp(2rem, 5.2vw, 3.8rem); }
.close .kicker { margin: 0; }

.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; color: var(--fg-3); font-size: .84rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--fg-2); text-decoration: none; }
.foot a:hover { color: var(--fg); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .tiers { grid-template-columns: 1fr 1fr; }
  .submit-grid { grid-template-columns: minmax(0, 1fr); }
  .wire { position: static; }
  .comps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .top-links { display: none; }
  .brand { margin-right: auto; }
  .targets, .rules { grid-template-columns: minmax(0, 1fr); }
  .sevs { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; padding-block: 40px 84px; }
  .audit { flex-wrap: wrap; justify-content: center; border-radius: 22px; padding: 12px 16px; }
  .audit-t { text-align: center; }
}
@media (max-width: 520px) {
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .form, .wire, .rule, .target, .tier { padding: 18px; }
  .top .btn { padding: .55em .9em; font-size: .84rem; }
  .send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
