/* Volley: archery theme, mobile-first. No external fonts or files. */
:root {
  --bg: #f7f1e3; --bg2: #efe5cc; --card: #fffaf0; --ink: #1e2a22; --muted: #566253; --line: #dccfab;
  --forest: #1f4d36; --forest2: #2c6a4a; --gold: #b9811a; --gold2: #e0a93a; --red: #b3392e; --ok: #2c7a4b; --warn: #a85f00; --bad: #a8362b;
  --shadow: 0 1px 2px rgba(31, 42, 34, .08), 0 6px 18px rgba(31, 42, 34, .07);
  --radius: 14px;
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', Palatino, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a14; --bg2: #142419; --card: #172a20; --ink: #efe8d6; --muted: #a6b3a2; --line: #294536;
    --forest: #6bc496; --forest2: #86d4ab; --gold: #e0a93a; --gold2: #f0c35c; --red: #e0705f; --ok: #6bc496; --warn: #f0b24a; --bad: #ef8a7c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 22px rgba(0, 0, 0, .3);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: radial-gradient(1200px 500px at 85% -10%, var(--bg2), transparent 60%); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 8.5vw, 3.6rem); }
h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); margin-top: 0; }
h3 { font-size: 1.15rem; }
.sub { display: block; font: 400 .9rem/1.3 var(--sans); color: var(--muted); letter-spacing: 0; margin-top: .2rem; }
p { margin: 0 0 .8rem; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest2); }
code { font-family: var(--mono); font-size: .88em; background: var(--bg2); padding: .1em .35em; border-radius: 6px; word-break: break-all; }
.fine { font-size: .85rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: .5rem; top: -4rem; background: var(--forest); color: #fff; padding: .6rem .9rem; border-radius: 8px; z-index: 50; }
.skip:focus { top: .5rem; }
:focus-visible { outline: 3px solid var(--gold2); outline-offset: 2px; border-radius: 6px; }

/* layout */
main, .top, footer { max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main > section { margin: 0 0 2.2rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin-top: .9rem; background: color-mix(in srgb, var(--card) 70%, var(--bg)); }
.notice { border: 1px dashed var(--gold); border-radius: 10px; padding: .8rem 1rem; }
.banner { background: var(--red); color: #fff; text-align: center; padding: .55rem 1rem; font-size: .92rem; }
.banner code { background: rgba(255, 255, 255, .2); color: #fff; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: .8rem; padding-bottom: .8rem; position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); max-width: none; }
.top > * { }
.brand { display: flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--ink); font: 700 1.3rem var(--serif); }
.brand-mark { font-size: 1.5rem; }
.menu summary { list-style: none; cursor: pointer; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; background: var(--card); }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 12px; top: 3.4rem; list-style: none; margin: 0; padding: .4rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 11rem; }
.menu li a { display: block; padding: .55rem .8rem; text-decoration: none; color: var(--ink); border-radius: 8px; }
.menu li a:hover { background: var(--bg2); }
@media (min-width: 760px) {
  .menu summary { display: none; }
  .menu ul { position: static; display: flex; gap: .2rem; background: none; border: 0; box-shadow: none; padding: 0; }
  .menu:not([open]) ul { display: flex; }
  .menu li a { padding: .4rem .7rem; }
}

/* hero */
.hero { display: grid; gap: 1.2rem; padding: 1.6rem 0 1rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--gold); font-weight: 700; margin-bottom: .6rem; }
.accent { color: var(--gold); }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 34rem; }
.cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.target { width: 112px; justify-self: start; margin-top: -.4rem; }
.target .t1 { fill: var(--card); stroke: var(--ink); stroke-width: 2; } .target .t2 { fill: var(--forest); } .target .t3 { fill: var(--card); stroke: var(--line); }
.target .t4 { fill: var(--red); } .target .t5 { fill: var(--gold2); }
.target .shaft { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; } .target .fletch { stroke: var(--gold); stroke-width: 3; fill: var(--gold); stroke-linecap: round; }
.arrow-in { animation: nock 4s ease-in-out infinite; transform-origin: 100px 100px; }
@keyframes nock { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }
@media (min-width: 760px) { .hero { grid-template-columns: 1.3fr .7fr; padding: 3rem 0 1.5rem; } .target { width: 100%; max-width: 300px; justify-self: center; margin-top: 0; } }

/* buttons, inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: color-mix(in srgb, var(--forest) 10%, transparent); }
.btn-primary { background: var(--forest); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #0f1a14; } }
.btn-primary:hover { background: var(--forest2); }
.btn[disabled] { opacity: .55; cursor: wait; }
.btn-small { min-height: 36px; padding: .3rem .8rem; font-size: .88rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; }
.row { display: flex; gap: .5rem; }
input[type=text], input:not([type]) { flex: 1; min-width: 0; min-height: 46px; padding: .5rem .8rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 1rem var(--mono); }
input:focus-visible { border-color: var(--forest); }

/* quiver meter */
.meter { display: grid; gap: .8rem; align-items: center; }
.quiver { width: min(62vw, 230px); justify-self: center; }
.q-body { fill: var(--forest); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; } .q-band { stroke: var(--gold2); stroke-width: 4; fill: none; opacity: .85; } .q-strap { stroke: var(--gold); stroke-width: 5; fill: none; stroke-linecap: round; }
.arrow line.shaft { stroke: var(--line); stroke-width: 2.5; stroke-linecap: round; opacity: .75; } .arrow .head { fill: var(--line); opacity: .75; } .arrow .fl { stroke: var(--line); stroke-width: 2.5; stroke-linecap: round; opacity: .75; }
.arrow.lit line.shaft { stroke: var(--gold); stroke-width: 4.2; opacity: 1; } .arrow.lit .head { fill: var(--ink); opacity: 1; } .arrow.lit .fl { stroke: var(--red); stroke-width: 3.6; opacity: 1; }
.arrow.part { opacity: 1; } .arrow.part line.shaft { stroke: var(--gold2); stroke-width: 3.2; opacity: .8; } .arrow.part .head { opacity: .9; }
.arrow.lit { animation: rise .6s ease-out both; }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.meter-amount { font: 700 clamp(1.8rem, 8vw, 2.6rem)/1 var(--serif); margin: 0 0 .5rem; }
.meter-amount .of { font: 400 1rem var(--sans); color: var(--muted); }
.bar { height: 14px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--forest), var(--gold2)); transition: width .8s ease; }
.meter-headline { font: 700 1.15rem var(--serif); margin: .8rem 0 .15rem; }
.meter-detail { color: var(--muted); margin-bottom: .5rem; }
.breakdown { list-style: none; padding: 0; margin: .4rem 0; display: grid; gap: .25rem; font-size: .92rem; }
.breakdown li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dotted var(--line); padding-bottom: .2rem; }
.explain { margin-top: .8rem; font-size: .92rem; color: var(--muted); } .explain summary { cursor: pointer; color: var(--forest); font-weight: 600; }
.state-error .meter-headline { color: var(--bad); }
@media (min-width: 640px) { .meter { grid-template-columns: 230px 1fr; gap: 1.6rem; } .quiver { width: 100%; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; text-align: center; box-shadow: var(--shadow); }
.stat-n { display: block; font: 700 clamp(1.4rem, 6vw, 2rem)/1.1 var(--serif); color: var(--forest); overflow-wrap: anywhere; }
.stat-l { display: block; font-size: .82rem; color: var(--muted); margin-top: .25rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* history */
.cards { display: grid; gap: .8rem; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.volley { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.volley header { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; margin-bottom: .6rem; }
.volley h3 { margin: 0; } .volley time { font-size: .85rem; color: var(--muted); text-align: right; }
.v-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .9rem; margin: 0 0 .7rem; }
.v-grid dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .v-grid dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.tx-list { list-style: none; padding: 0; margin: .7rem 0 0; font-size: .88rem; max-height: 22rem; overflow: auto; border-top: 1px solid var(--line); }
.tx-list li { display: flex; justify-content: space-between; gap: .6rem; padding: .35rem 0; border-bottom: 1px dotted var(--line); }
.tx-list .a { font-family: var(--mono); } .tx-list .t { text-align: right; white-space: nowrap; }
.empty { text-align: center; padding: 1.6rem 1rem; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty .big { font-size: 2rem; display: block; }

/* wallet */
.status { padding: .6rem .8rem; border-radius: 10px; background: var(--bg2); }
.status.err { background: color-mix(in srgb, var(--bad) 14%, var(--card)); color: var(--bad); }
.verdict { display: flex; gap: .7rem; padding: .8rem; border-radius: 10px; border: 1.5px solid var(--line); margin-bottom: .7rem; }
.verdict .ic { font-size: 1.5rem; } .verdict.ok { border-color: var(--ok); } .verdict.warn { border-color: var(--warn); } .verdict.bad { border-color: var(--bad); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; margin: 0; } .kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; font-weight: 600; }
.w-total { font: 700 1.6rem var(--serif); color: var(--forest); }

/* how it works */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1rem; display: grid; gap: .8rem; }
.steps li { display: flex; gap: .8rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; }
.steps .n { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font: 700 1rem var(--serif); }
@media (prefers-color-scheme: dark) { .steps .n { color: #0f1a14; } }
.steps h3 { margin-bottom: .1rem; } .steps p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
#how .card { margin-top: .8rem; }
.split { display: flex; border-radius: 999px; overflow: hidden; margin: .5rem 0 .8rem; font-size: .9rem; color: #fff; }
.split span { padding: .6rem .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-holders { background: var(--forest); } .s-creator { background: var(--gold); color: #1a1a1a; } .s-buyback { background: #8a4b2a; }
.split span[hidden] { display: none; }
.launch-notice { margin: 0 0 1rem; padding: .8rem 1rem; border: 1.5px solid var(--gold); border-radius: var(--radius); background: var(--card); } .launch-notice[hidden] { display: none; }
.launch-notice a, .addr-list .notice-item a { overflow-wrap: anywhere; }
.addr-list .notice-item .role { color: var(--ink); }
@media (max-width: 559px) { .split { flex-direction: column; border-radius: var(--radius); } .split span { flex: none !important; white-space: normal; } }
.b-links { display: flex; gap: .8rem; flex-wrap: wrap; margin: 0; font-size: .9rem; }
.b-total { font-weight: 600; margin: 0 0 .7rem; }
@media (prefers-color-scheme: dark) { .s-holders { color: #0f1a14; } .s-buyback { background: #c9825a; color: #1a1a1a; } }
.rules { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; } .rules li::marker { content: '🏹  '; }

/* addresses, risks, footer */
.addr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.addr-list li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem; }
.addr-list .label { font-weight: 700; } .addr-list .role { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.addr-list .a { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; } .addr-list code { flex: 1 1 14rem; }
.risks ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .6rem; } .risks li::marker { color: var(--red); }
footer { padding-top: 1.2rem; padding-bottom: 3rem; border-top: 1px solid var(--line); text-align: center; max-width: 1080px; }
.links { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; }
.links a { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; background: var(--card); }
.links a.soon { opacity: .65; cursor: not-allowed; border-style: dashed; } .links small { font-weight: 400; color: var(--muted); }

/* accrued dust */
.pending { margin-top: .8rem; padding: .75rem .9rem; border: 1.5px dashed var(--gold); border-radius: 10px; background: color-mix(in srgb, var(--gold) 9%, var(--card)); }
.pending p { margin: .3rem 0 0; }
.v-grid .wide { grid-column: 1 / -1; }
