/*
 * PonsKit, before there is anything to use.
 *
 * The palette, the type and the ribbon are lifted from the app rather than
 * approximated, because the point of a holding page is that the thing it is
 * holding for is recognisably the same product. Everything here is static: no
 * wallet, no chain reads, no scripts.
 */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #12130f;
  --ink-70: #3a3d34;
  --slate: #5b6157;
  --slate-40: #9aa093;
  --chalk: #a8ae9e;
  --paper: #f7f8f2;
  --card: #ffffff;
  --line: #e2e5da;
  --line-strong: #cdd2c1;
  --lime: #c2f53f;
  --lime-wash: #ecfbbe;
  --lime-deep: #5f8a06;
  --amber: #e9a23b;
  --curve: #dcdfd4;

  --r-sm: 7px;
  --r-md: 11px;
  --r-lg: 16px;
  --r-pill: 999px;

  --font-display: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.shell {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-40);
}

/* --- the mark ---------------------------------------------------------- */

.mark {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
  margin: 0 auto 22px;
}

/* --- hero -------------------------------------------------------------- */

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 72px 0 48px;
}

.hero {
  text-align: center;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 14px 0 0;
}

.lede {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink-70);
  max-width: 46ch;
  margin: 16px auto 0;
}

/*
 * The supply ribbon, the app's signature element, standing in as an image of
 * the idea: one bar is the whole supply, the coloured bands are what a vault
 * has taken out of it, and the hatched remainder is what the market can still
 * buy. Decorative here, load-bearing there.
 */
.ribbon {
  display: flex;
  height: 30px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  margin: 34px 0 0;
  background: var(--card);
}

.ribbon i { display: block; height: 100%; }
.ribbon .lock { width: 14%; background: var(--lime); }
.ribbon .vest { width: 9%; background: var(--ink); }
.ribbon .air { width: 6%; background: var(--amber); }
.ribbon .rest {
  flex: 1;
  background-image: repeating-linear-gradient(
    -45deg, var(--curve) 0 5px, transparent 5px 10px
  );
}

.ribbonKey {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-40);
}

.ribbonKey span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

/* --- follow ------------------------------------------------------------ */

.actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.follow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  transition: transform 0.12s ease, background 0.12s ease;
}

.follow:hover {
  background: #000;
  transform: translateY(-1px);
}

.follow svg { flex: none; }

.followNote {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--slate-40);
  margin-top: 12px;
  text-align: center;
}

/* --- footer ------------------------------------------------------------ */

footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
}

.footRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footMark {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-40);
}

.footLinks { display: flex; gap: 16px; }

.footLinks a {
  font-size: 13px;
  color: var(--slate);
  text-decoration: none;
}

.footLinks a:hover { color: var(--ink); }

/* --- legal pages ------------------------------------------------------- */

.legal { padding: 56px 0 40px; }

.legal .head {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.legal h1 { font-size: 34px; }

.updated {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-40);
  margin-top: 10px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 30px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.legal p, .legal li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-70);
}

.legal ul {
  margin: 0 0 12px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.legal strong { color: var(--ink); }
.legal a { color: var(--lime-deep); }

.back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-40);
  text-decoration: none;
  margin-bottom: 8px;
}

.back:hover { color: var(--ink); }

@media (max-width: 560px) {
  h1 { font-size: 34px; }
  .legal h1 { font-size: 27px; }
  main { padding: 44px 0 32px; }
}
