/* coupons
 *
 * Palette sampled straight off the Pons mark: a pale sage glass that is barely
 * a colour — #f4f6f3 at the gloss, #b7bfb6 through the body, #6c7c6c at the
 * foot, and the most saturated green anywhere only reaching #7da17c. Held to
 * that restraint on purpose. Push the green and the whole thing stops looking
 * like glass and starts looking like plastic.
 *
 * Nothing is fetched from anywhere. No font host, no CSS import, no analytics.
 * The page promises it isn't calling anyone, and a webfont would break that
 * promise on the way in.
 */

:root {
  --bg:        #141414;
  --bg-2:      #1a1a1a;
  --panel:     #1d1d1d;
  --panel-2:   #232323;
  --rule:      #2b2b2b;
  --rule-2:    #383838;

  --ink:       #eef1ec;
  --ink-2:     #9aa398;
  --ink-3:     #6f776d;

  --glass:     #cfdccd;   /* the lit face */
  --glass-2:   #a9c3a6;   /* the rim */
  --glass-3:   #7da17c;   /* the deepest green in the mark */
  --glass-4:   #3a4a3a;   /* washes */
  --sheen:     rgba(207, 220, 205, .10);

  --warn:      #d98a5c;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
          "DejaVu Sans Mono", monospace;

  --col: 72rem;
  --r: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto 0; height: 62vh; pointer-events: none;
  background: radial-gradient(70% 100% at 50% 0%, rgba(169,195,166,.09) 0%, rgba(20,20,20,0) 70%);
  z-index: 0;
}
main, header, footer { position: relative; z-index: 1; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--glass); }
:focus-visible { outline: 2px solid var(--glass-2); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--col)); margin-inline: auto; }
section { padding: 5.5rem 0; }
@media (max-width: 720px) { section { padding: 3.5rem 0; } }

h1, h2, h3 { margin: 0 0 .75rem; letter-spacing: -.022em; text-wrap: balance; font-weight: 560; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.032em; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.1rem); line-height: 1.14; letter-spacing: -.026em; }
h3 { font-size: 1.0625rem; font-weight: 560; }
p { margin: 0 0 1rem; max-width: 64ch; }

.lede { color: var(--ink-2); font-size: clamp(1.0625rem, 2vw, 1.1875rem);
        line-height: 1.62; max-width: 58ch; }
.tiny { font-size: .8125rem; line-height: 1.55; color: var(--ink-3); }
.dim { color: var(--ink-2); }
.on { color: var(--glass-2); }
code, .mono { font-family: var(--mono); font-size: .9em; }

.eyebrow {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 1.1rem; font-weight: 500;
}

/* --------------------------------------------------------------------- nav */
header.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(20,20,20,.72); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}
.top .wrap { display: flex; align-items: center; gap: 1rem; height: 4rem; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { display: block; width: 30px; height: 30px; }
.brand b { font-size: 1.0625rem; font-weight: 560; letter-spacing: -.02em; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem;
           font-size: .9375rem; }
.top nav a { color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }
.top nav a.socialX {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem;
  border: 1px solid var(--rule-2); border-radius: 8px; color: var(--ink);
  line-height: 1;
}
.top nav a.socialX:hover { border-color: var(--glass-2); color: var(--glass); }
.socialX svg { display: block; width: .9rem; height: .9rem; }
@media (max-width: 780px) { .top nav a.opt { display: none; } .top nav { gap: 1.1rem; } }

/* ------------------------------------------------------------------ buttons */
.btn {
  font: inherit; font-size: .9375rem; font-weight: 500; cursor: pointer;
  padding: .7rem 1.35rem; border-radius: 10px; border: 1px solid transparent;
  background: linear-gradient(180deg, #e8efe6 0%, #b9cdb7 100%);
  color: #17201a; transition: filter .15s ease, transform .15s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 8px 20px -12px rgba(169,195,166,.7);
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn.ghost {
  background: var(--panel-2); color: var(--ink); border-color: var(--rule-2);
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--glass-2); color: var(--glass); }

/* -------------------------------------------------------------------- hero */
.hero { padding: 5rem 0 4rem; }
@media (max-width: 900px) { .hero { padding: 3rem 0; } }
.heroGrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .heroGrid { grid-template-columns: 1fr; gap: 2.5rem; } }
.heroMark { display: flex; justify-content: center; }
.heroMark svg { width: min(300px, 62vw); height: auto;
                filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
.cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.4rem;
  font-size: .8125rem; color: var(--ink-2); background: var(--panel);
  border: 1px solid var(--rule); border-radius: 999px; padding: .32rem .85rem;
}
.kicker .dot { width: .45rem; height: .45rem; border-radius: 50%;
               background: var(--glass-2); box-shadow: 0 0 10px var(--glass-2); }

/* ------------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 1.6rem 1.5rem; position: relative; overflow: hidden;
}
.step::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--sheen), transparent);
}
.step .n {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .12em;
  color: var(--glass-3); margin-bottom: .9rem; display: block;
}
.step h3 { margin-bottom: .45rem; }
.step p { font-size: .9375rem; color: var(--ink-2); margin: 0; }

/* ------------------------------------------------------------------ panels */
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); }
.pad { padding: 1.6rem 1.5rem; }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
           background: var(--panel); border: 1px solid var(--rule);
           border-radius: var(--r); overflow: hidden; }
.metric { padding: 1.35rem 1.4rem; border-right: 1px solid var(--rule); }
.metric:last-child { border-right: 0; }
.metric.feeTotal { grid-column: 1 / -1; border-top: 1px solid var(--rule); border-right: 0; }
@media (max-width: 700px) { .metric { border-right: 0; border-bottom: 1px solid var(--rule); } }
.metric b { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
            color: var(--ink-3); font-weight: 500; margin-bottom: .5rem; }
.metric .v { font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1; }
.metric .s { font-size: .8125rem; color: var(--ink-3); margin-top: .3rem; }

/* -------------------------------------------------------------- the strip */
.stripWrap {
  background: linear-gradient(180deg, var(--panel) 0%, #191919 100%);
  border: 1px solid var(--rule); border-radius: var(--r);
  padding: 1.4rem 1.4rem 1.2rem; overflow: hidden;
}
.stripTop { display: flex; justify-content: space-between; align-items: center;
            font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
            color: var(--ink-3); margin-bottom: 1rem; }
.ascii {
  font-family: var(--mono); white-space: pre; margin: 0;
  line-height: 1.14; letter-spacing: 0;
  font-size: clamp(.6rem, 1.42vw, .9rem);
  overflow: hidden;
}
.ascii.prelaunch { min-height: 6.8rem; text-align: center; }
.ascii i { font-style: normal; }
.ascii .l { color: var(--glass-2); }
.ascii .o { color: #ffffff; }
.ascii .w { color: var(--glass-2); }
.ascii .g { color: #2e2e2e; }
.ascii .p { color: #3b3b3b; }
.ascii .x { color: var(--warn); }
.legend { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center;
          font-size: .8125rem; color: var(--ink-3); margin-top: 1rem; }
.legend .k { display: inline-flex; align-items: center; gap: .45rem; }
.legend .sw { width: .7rem; height: .7rem; border-radius: 3px; display: inline-block; }
.legend .sw.paid { background: var(--glass-2); }
.legend .sw.open { background: #fff; }
.legend .right { margin-left: auto; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------- tool */
.lookup { display: flex; gap: .6rem; flex-wrap: wrap; }
.lookup input {
  flex: 1 1 24rem; min-width: 0; font: inherit; font-family: var(--mono);
  font-size: .9375rem; padding: .8rem 1rem; border-radius: 10px;
  border: 1px solid var(--rule-2); background: var(--bg-2); color: var(--ink);
}
.lookup input::placeholder { color: var(--ink-3); }
.lookup input:focus { border-color: var(--glass-2); }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; margin: 1rem 0 1.75rem; }
.chip { font: inherit; font-size: .8125rem; cursor: pointer; border-radius: 999px;
        border: 1px solid var(--rule); background: var(--panel); color: var(--ink-2);
        padding: .34rem .8rem; }
.chip:hover { border-color: var(--glass-2); color: var(--glass); }

.card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r);
        padding: 1.75rem 1.6rem; }
.cardHead { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
            padding-bottom: 1.2rem; margin-bottom: 1.4rem;
            border-bottom: 1px solid var(--rule); }
.cardHead code { font-size: .875rem; word-break: break-all; color: var(--ink-2); }
.tag { font-size: .75rem; letter-spacing: .06em; padding: .22rem .6rem; border-radius: 999px;
       border: 1px solid currentColor; }
.tag.ok { color: var(--glass-2); background: rgba(169,195,166,.09); }
.tag.warn { color: var(--warn); }
.tag.neutral { color: var(--ink-2); }

.kv { display: grid; gap: .1rem; }
.kv .row { display: flex; align-items: baseline; gap: .8rem; padding: .5rem 0;
           font-size: .9375rem; }
.kv .row + .row { border-top: 1px solid #232323; }
.kv .k { color: var(--ink-2); }
.kv .f { flex: 1; }
.kv .v { font-variant-numeric: tabular-nums; }
.kv .row.big { font-size: 1.0625rem; padding: .8rem 0; }
.kv .row.big .k { color: var(--ink); }
.pay { background: linear-gradient(180deg, #e8efe6, #b9cdb7); color: #17201a;
       padding: .12rem .55rem; border-radius: 7px; font-weight: 560; }

.meter { height: 8px; border-radius: 999px; background: #262626; overflow: hidden;
         margin: 1.25rem 0 .5rem; }
.meter i { display: block; height: 100%; border-radius: 999px;
           background: linear-gradient(90deg, var(--glass-3), var(--glass)); }

.parcelBox { background: var(--bg-2); border: 1px solid var(--rule); border-radius: 10px;
             padding: 1rem; overflow: hidden; }

/* ------------------------------------------------------------------ tables */
.scroller { border: 1px solid var(--rule); border-radius: var(--r); overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: .875rem; min-width: 48rem; }
th, td { text-align: right; padding: .8rem 1rem; white-space: nowrap;
         border-bottom: 1px solid var(--rule); }
th { font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
     color: var(--ink-3); background: var(--panel-2); position: sticky; top: 0; }
th:first-child, td:first-child { text-align: left; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #1f1f1f; }
tbody tr.me td { background: rgba(169,195,166,.07); }
td code { color: var(--ink-2); }
.pill { display: inline-block; font-size: .75rem; padding: .12rem .5rem; border-radius: 999px; }
.pill.full { background: rgba(169,195,166,.16); color: var(--glass); }
.pill.part { background: #262626; color: var(--ink-2); }
.pill.zero { color: var(--warn); border: 1px solid currentColor; }
.bar { display: inline-block; width: 64px; height: 6px; border-radius: 999px;
       background: #262626; overflow: hidden; vertical-align: middle; }
.bar i { display: block; height: 100%;
         background: linear-gradient(90deg, var(--glass-3), var(--glass)); }

/* -------------------------------------------------------------------- misc */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; gap: 2rem; } }

.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 2rem 2.2rem;
}
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; gap: 1.2rem; } }
.feature .big {
  font-size: clamp(3rem, 9vw, 4.6rem); line-height: .95; letter-spacing: -.045em;
  background: linear-gradient(180deg, #f2f6f0 0%, #a9c3a6 65%, #7da17c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature .cap { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase;
                color: var(--ink-3); margin-bottom: .6rem; }
.feature p { margin: 0; color: var(--ink-2); font-size: .9375rem; max-width: 54ch; }
.feature p b { color: var(--ink); font-weight: 560; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 800px) { .grid2 { grid-template-columns: 1fr; } }
.grid2 > div { background: var(--panel); border: 1px solid var(--rule);
               border-radius: var(--r); padding: 1.45rem 1.5rem; }
.grid2 h3 { margin-bottom: .4rem; }
.grid2 p { font-size: .9375rem; color: var(--ink-2); margin: 0; }
.verdict { display: inline-block; margin-top: .8rem; font-size: .8125rem;
           color: var(--glass-2); background: rgba(169,195,166,.09);
           border: 1px solid rgba(169,195,166,.22); padding: .18rem .6rem;
           border-radius: 999px; }

.note { border-left: 2px solid var(--glass-2); background: var(--bg-2);
        padding: 1rem 1.2rem; border-radius: 0 10px 10px 0;
        font-size: .875rem; color: var(--ink-2); }
.note b { color: var(--ink); }

.treasuryCard {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 2rem 2.2rem;
}
.treasuryCard h2 { margin-bottom: .6rem; }
.treasuryCard p { max-width: 52ch; }
.treasuryAddress {
  display: block; margin-top: 1.35rem; padding: .8rem 1rem;
  background: var(--bg-2); border: 1px solid var(--rule); border-radius: 9px;
  color: var(--ink-2); font-size: .875rem; word-break: break-all;
}
.treasuryBalance {
  min-width: 15rem; padding-left: 2rem; border-left: 1px solid var(--rule);
}
.treasuryBalance .cap { display: block; margin-bottom: .45rem; }
.treasuryBalance strong {
  display: block; color: var(--glass); font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.05; letter-spacing: -.035em; font-weight: 560;
}
.treasuryBalance .tiny { display: block; margin-top: .55rem; }
.treasuryCurrent {
  display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.15rem;
  padding-top: .75rem; border-top: 1px solid var(--rule);
  color: var(--ink-3); font-size: .8125rem;
}
.treasuryCurrent b { color: var(--ink-2); font-weight: 500; }
@media (max-width: 760px) {
  .treasuryCard { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.5rem; }
  .treasuryBalance { min-width: 0; padding: 1.25rem 0 0; border-left: 0;
                     border-top: 1px solid var(--rule); }
}

.claims { list-style: none; margin: 0; padding: 0; font-size: .875rem; }
.claims li { display: flex; gap: 1rem; padding: .7rem 0; align-items: baseline;
             border-bottom: 1px solid var(--rule); }
.claims li:last-child { border-bottom: 0; }
.claims code { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis;
               white-space: nowrap; flex: 1; min-width: 0; }
.claims b { font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: 170px; display: block; }

footer { padding: 3.5rem 0 4.5rem; border-top: 1px solid var(--rule);
         font-size: .875rem; color: var(--ink-3); }
footer .row { display: flex; gap: 1.75rem; flex-wrap: wrap; align-items: center; }
footer a { color: var(--ink-2); }

.reveal { opacity: 0; transform: translateY(14px);
          transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
