/* GitGPU. Offyield's layout, taken to black and white. */

:root {
  --bg: #f4f4f3;
  --ink: #0d0d0f;
  --ink-strong: #000;
  --ink-soft: #0d0d0f9e;
  --ink-faint: #0d0d0f6b;
  --hairline: #0000001a;
  --panel: #0b0b0d;
  --card: #fff;
  --card-hairline: #ffffff30;
  --accent: linear-gradient(100deg, #000 0%, #2c2c2f 50%, #6a6a6f 100%);
  --accent-light: linear-gradient(100deg, #fff 0%, #cfcfd2 50%, #7c7c80 100%);
  --radius-panel: 1.5rem;
  --radius-card: 1rem;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.3, 0.5, 1);
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

html { -webkit-text-size-adjust: 100%; font-size: 1.11111vw; }
@media (width <= 1023px) { html { font-size: clamp(13px, 3.4vw, 17px); } }
@media (width >= 1600px) { html { font-size: 17.8px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-family: "General Sans", system-ui, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
::selection { background: #0000001f; }

.accent {
  background-image: var(--accent);
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 400;
}

/* ── nav ─────────────────────────────────────────────────── */

.nav {
  position: fixed;
  z-index: 40;
  top: 0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: 43.75rem;
  max-width: calc(100% - 1.25rem);
  height: 3.1875rem;
  background: #fff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  padding: 0 0.5625rem 0 1.03rem;
  box-shadow: 0 1px 2px #00000008, 0 0.5rem 2rem -1.5rem #0003;
}
.logo { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500; font-size: 1.2rem; letter-spacing: -0.02em; flex: none; }
.logo .mark { height: 2.4rem; width: auto; flex: none; display: block; }
.footer .brand .logo .mark { height: 2.6rem; }
.nav .links { flex: auto; display: flex; justify-content: center; gap: 2rem; font-size: 1rem; }
.nav .links a { transition: opacity 0.25s var(--ease); }
.nav .links a:hover, .nav .links a.on { opacity: 0.55; }
.pill-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: #fff;
  border-radius: 9999px;
  padding: 0.55rem 0.6rem 0.55rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.3s var(--spring), background 0.2s;
  box-shadow: 0 0.35rem 0.9rem -0.5rem #0009;
}
.pill-btn:hover { transform: translateY(-0.125rem) scale(1.035); }
.pill-btn .ico { width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #ffffff29; display: flex; align-items: center; justify-content: center; }
.pill-btn .ico svg { width: 0.85rem; height: 0.85rem; }
.pill-btn.plain { padding: 0.55rem 1.15rem; }

/* ── hero ────────────────────────────────────────────────── */

.hero { position: relative; height: 100svh; min-height: 40rem; max-width: 90rem; margin: 0 auto; }
.hero-left {
  position: absolute;
  z-index: 15;
  top: 0; bottom: 0;
  left: clamp(1.5rem, 4vw, 4rem);
  width: clamp(20rem, 44%, 38rem);
  max-width: calc(50% - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.25rem, 2.6vh, 2.5rem);
  padding: 5rem 0 3rem;
}
.headline { font-size: clamp(2.3rem, 2.6vw + 0.55rem, 3.45rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 300; }
.headline .line { display: block; white-space: nowrap; }
.headline .l2 { font-weight: 400; }
.subline { max-width: 30rem; font-size: clamp(0.95rem, 0.55vw + 0.7rem, 1.0625rem); line-height: 1.45; opacity: 0.75; margin-top: clamp(0.9rem, 1.8vh, 1.5rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(0.6rem, 1vw, 1rem); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 9999px;
  padding: 0.125rem 2rem 0.125rem 0.125rem;
  font-size: 1rem;
  line-height: 1.2;
  transition: transform 0.3s var(--spring);
}
.cta:hover { transform: translateY(-0.125rem) scale(1.035); }
.cta .circle { width: 2.9375rem; height: 2.9375rem; border-radius: 9999px; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.cta .circle svg { width: 1.4375rem; height: 1.4375rem; }

.chip-note {
  display: inline-flex;
  align-items: center;
  height: 3.1875rem;
  padding: 0 1.5rem;
  border: 1px solid var(--hairline);
  background: #ffffff80;
  border-radius: 9999px;
  font-size: 1rem;
  white-space: nowrap;
}
.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1.25rem;
  border: 1px solid var(--hairline);
  background: #ffffff80;
  border-radius: 9999px;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform 0.3s var(--spring);
}
.ca-pill:hover { transform: translateY(-0.125rem); }
.ca-pill svg { width: 1rem; height: 1rem; opacity: 0.5; }
.ca-pill.copied::after { content: "Copied"; font-weight: 500; }

.panel {
  position: absolute;
  z-index: 5;
  top: 0.625rem; bottom: 0.625rem; right: 0.625rem;
  width: calc(50% - 1.25rem);
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

@media (width >= 1024px) and (height <= 760px) {
  .hero-left { padding: 4rem 0 2rem; }
  .headline { font-size: clamp(2.2rem, 4.6vh, 3rem); }
}
@media (width >= 1024px) and (width <= 1279px) { .hero .chip-note { display: none; } }

/* ── entry motion ────────────────────────────────────────── */

.js .anim { opacity: 0; will-change: transform, opacity, filter; }
.js .anim.rise { filter: blur(8px); transform: translateY(1.5rem); transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), filter 0.95s var(--ease); }
.js .anim.drop { filter: blur(6px); transform: translate(-50%, -1rem); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.js .anim.scale { transform: scale(0.985); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .anim.is-in { opacity: 1; filter: none; transform: none; }
.js .anim.drop.is-in { transform: translateX(-50%); }
.js .reveal { opacity: 0; filter: blur(4px); transform: translateY(1.25rem); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease), filter 0.75s var(--ease); }
.js .reveal.is-in { opacity: 1; filter: none; transform: none; }
.unit { display: inline-block; }
.js .unit { opacity: 0; filter: blur(8px); transform: translateY(1.6rem); transition: opacity 0.8s cubic-bezier(0.2, 0.85, 0.25, 1.02), transform 0.8s cubic-bezier(0.2, 0.85, 0.25, 1.02), filter 0.8s cubic-bezier(0.2, 0.85, 0.25, 1.02); }
.js .unit.word { filter: blur(5px); transform: translateY(0.9rem); }
.js .unit.is-in { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .anim, .js .reveal, .js .unit { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; }
  .js .anim.drop { transform: translateX(-50%) !important; }
}

/* ── sections ────────────────────────────────────────────── */

.section { display: flex; justify-content: center; width: 100%; }
.container { width: 90rem; max-width: 100%; padding: 5rem 4rem; }
.section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; align-items: flex-start; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--hairline);
  background: #fff9;
  border-radius: 9999px;
  font-size: 1rem;
  line-height: 1.2;
}
.eyebrow .dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--ink); }
.h2 { max-width: 36rem; font-size: 3rem; font-weight: 300; line-height: 1.05; letter-spacing: -0.015em; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step, .feature {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.45s var(--ease), box-shadow 0.35s;
}
.step { gap: 0.875rem; min-height: 13.5rem; padding: 1.75rem 1.5rem; }
.step .num { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.step h3, .feature h3 { font-size: 1.375rem; font-weight: 400; }
.feature h3 { font-size: 1.25rem; }
.step p, .feature p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { gap: 0.75rem; min-height: 12rem; padding: 1.75rem; }
.feature:hover, .step:hover { transform: translateY(-0.25rem); box-shadow: 0 1.25rem 2.5rem #0d0d0f0f; }
.feature .ficon { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: #0000000b; display: flex; align-items: center; justify-content: center; margin-bottom: 0.25rem; }
.feature .ficon svg { width: 1.4rem; height: 1.4rem; }
.feature code, .step code { font-family: var(--mono); font-size: 0.85em; background: #0000000b; padding: 0.05em 0.35em; border-radius: 0.3em; }

.band-wrap { display: flex; justify-content: center; width: 100%; }
.band-inner { width: 90rem; max-width: 100%; padding: 5rem 4rem; }
.band { position: relative; overflow: hidden; background: var(--panel); color: #fff; border-radius: var(--radius-panel); padding: 4.5rem 4rem; }
.band .glow {
  position: absolute;
  top: -14rem; right: -10rem;
  width: 38rem; height: 38rem;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #fff, #555, #d9d9d9, #222, #bbb, #fff);
  opacity: 0.22;
  filter: blur(28px);
  -webkit-mask-image: radial-gradient(circle, #000 0%, #0000 66%);
  mask-image: radial-gradient(circle, #000 0%, #0000 66%);
  pointer-events: none;
}
.band-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.band h2 { max-width: 26rem; font-size: 2.75rem; font-weight: 300; line-height: 1.08; }
.band h2 .accent, .band-stat .val .accent { background-image: var(--accent-light); }
.band p { max-width: 26rem; margin-top: 1.25rem; color: #ffffffb8; font-size: 1.0625rem; line-height: 1.55; }
.band-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.band-stat { border: 1px solid var(--card-hairline); border-radius: var(--radius-card); background: #ffffff0d; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); padding: 1.5rem; }
.band-stat .val { font-size: 2.25rem; line-height: 1; }
.band-stat .lab { margin-top: 0.625rem; color: #ffffff9e; font-size: 0.9375rem; line-height: 1.3; }

.closing { display: flex; justify-content: center; width: 100%; }
.closing-inner { width: 90rem; max-width: 100%; padding: 5rem 4rem 7rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.closing h2 { max-width: 40rem; font-size: 3.5rem; font-weight: 300; line-height: 1.02; letter-spacing: -0.015em; }
.closing p { max-width: 31rem; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.5; }
.closing .cta { margin-top: 0.5rem; }

.footer { border-top: 1px solid var(--hairline); display: flex; justify-content: center; }
.footer-inner { width: 90rem; max-width: 100%; padding: 3.5rem 4rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: clamp(2.5rem, 6vw, 6rem); }
.footer .brand { max-width: 22rem; }
.footer .brand .logo { font-size: 1.5rem; }
.footer .brand p { margin-top: 0.875rem; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }
.footer .brand p.fine { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.6rem; }
.footer .cols { display: flex; gap: clamp(2rem, 4vw, 4rem); }
.footer h4 { text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 1rem; font-size: 0.8125rem; font-weight: 500; }
.footer .col a { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.625rem; color: #0d0d0fbf; font-size: 0.9375rem; transition: color 0.2s; }
.footer .col a:hover { color: var(--ink); }
.footer .col a svg { width: 1.05rem; height: 1.05rem; }
.footer-base { border-top: 1px solid var(--hairline); display: flex; justify-content: center; }
.footer-base-inner { width: 90rem; max-width: 100%; padding: 1.5rem 4rem; display: flex; justify-content: space-between; color: #0d0d0f80; font-size: 0.875rem; }

/* ── app pages ───────────────────────────────────────────── */

.page { max-width: 90rem; margin: 0 auto; padding: 6.5rem 4rem 5rem; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.page-head h1 { font-size: 3.25rem; font-weight: 300; line-height: 1.02; letter-spacing: -0.02em; margin-top: 1rem; }
.page-head p { color: var(--ink-soft); max-width: 32rem; margin-top: 0.9rem; line-height: 1.5; }

.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.tot { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 1.35rem 1.5rem; }
.tot .val { font-size: 2.1rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tot .val small { font-size: 0.95rem; color: var(--ink-faint); margin-left: 0.25rem; }
.tot .lab { margin-top: 0.55rem; color: var(--ink-soft); font-size: 0.9rem; }

.paste { display: flex; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid var(--hairline); border-radius: 9999px; padding: 0.35rem 0.35rem 0.35rem 1.25rem; min-width: min(34rem, 100%); transition: box-shadow 0.2s, border-color 0.2s; }
.paste:focus-within { border-color: #0000004d; box-shadow: 0 0 0 4px #0000000d; }
.paste svg.gh { width: 1.2rem; height: 1.2rem; flex: none; opacity: 0.6; }
.paste input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 1rem; padding: 0.6rem 0; }
.paste .pill-btn { padding: 0.7rem 1.3rem; }
.hint { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.6rem; min-height: 1.2em; }
.hint.bad { color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; transition: transform 0.45s var(--ease), box-shadow 0.35s; }
a.card:hover { transform: translateY(-0.25rem); box-shadow: 0 1.25rem 2.5rem #0d0d0f0f; }
.card-top { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.avatar { width: 2.6rem; height: 2.6rem; border-radius: 0.7rem; background: #0000000d; flex: none; object-fit: cover; filter: grayscale(1); }
.card-name { min-width: 0; }
.card-name .owner { color: var(--ink-faint); font-size: 0.85rem; }
.card-name .repo { font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .desc { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.facts { display: flex; gap: 1rem; color: var(--ink-soft); font-size: 0.85rem; flex-wrap: wrap; }
.facts span { display: inline-flex; align-items: center; gap: 0.3rem; }
.facts svg { width: 0.95rem; height: 0.95rem; }
.meter { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline); padding-top: 1rem; gap: 0.5rem; }
.meter .v { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.meter .l { color: var(--ink-faint); font-size: 0.78rem; margin-top: 0.2rem; }

.status { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.75rem; border-radius: 9999px; border: 1px solid var(--hairline); font-size: 0.8rem; white-space: nowrap; margin-left: auto; flex: none; }
.status .led { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #b8b8bb; }
.status.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.status.on .led { background: #fff; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

.empty { background: #fff; border: 1px dashed #00000026; border-radius: var(--radius-card); padding: 3rem 2rem; text-align: center; color: var(--ink-soft); line-height: 1.55; }
.empty strong { display: block; color: var(--ink); font-weight: 500; font-size: 1.15rem; margin-bottom: 0.4rem; }
.skeleton { background: linear-gradient(90deg, #0000000a, #00000014, #0000000a); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--radius-card); min-height: 15rem; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* repo page */
.repo-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1rem; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.box { background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 1.75rem; }
.box.dark { background: var(--panel); color: #fff; border-color: transparent; position: relative; overflow: hidden; }
.box h3 { font-size: 1.25rem; font-weight: 400; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.box h3 .sub { color: var(--ink-faint); font-size: 0.9rem; margin-left: auto; }
.box.dark h3 .sub { color: #ffffff80; }
.repo-title { display: flex; align-items: center; gap: 1rem; }
.repo-title .avatar { width: 3.5rem; height: 3.5rem; border-radius: 0.9rem; }
.repo-title h1 { font-size: 2.6rem; font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; word-break: break-word; }
.repo-title h1 .o { color: var(--ink-faint); }
.repo-desc { color: var(--ink-soft); margin-top: 1rem; line-height: 1.5; max-width: 40rem; }
.repo-links { display: flex; gap: 0.6rem; margin-top: 1.25rem; flex-wrap: wrap; }
.ghost { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 1rem; border-radius: 9999px; border: 1px solid var(--hairline); background: #fff; font-size: 0.9rem; transition: transform 0.3s var(--spring); }
.ghost:hover { transform: translateY(-0.1rem); }
.ghost svg { width: 1rem; height: 1rem; }
.ghost[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.big-meter { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; position: relative; }
.big-meter .cell { border: 1px solid var(--card-hairline); border-radius: var(--radius-card); background: #ffffff0d; padding: 1.25rem; }
.big-meter .v { font-size: 2rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.big-meter .v small { font-size: 0.9rem; color: #ffffff80; margin-left: 0.2rem; }
.big-meter .l { margin-top: 0.5rem; color: #ffffff9e; font-size: 0.85rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem 1.5rem; font-size: 0.95rem; margin-top: 1.25rem; position: relative; }
.kv dt { color: #ffffff80; }
.kv dd { text-align: right; font-variant-numeric: tabular-nums; word-break: break-all; }
.kv dd a { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-color: #ffffff4d; }

.field { display: flex; align-items: center; gap: 0.5rem; border: 1px solid var(--hairline); border-radius: 0.8rem; padding: 0.25rem 0.25rem 0.25rem 1rem; background: #fafafa; transition: border-color 0.2s; }
.field:focus-within { border-color: #0000004d; }
.field input, .field select { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 1.35rem; padding: 0.55rem 0; font-variant-numeric: tabular-nums; }
.field select { font-size: 1rem; }
.field .unit-tag { color: var(--ink-faint); padding-right: 0.75rem; }
.presets { display: flex; gap: 0.4rem; margin-top: 0.6rem; flex-wrap: wrap; }
.presets button { padding: 0.35rem 0.8rem; border-radius: 9999px; border: 1px solid var(--hairline); font-size: 0.85rem; background: #fff; }
.presets button:hover { border-color: #00000040; }
.act { margin-top: 1rem; width: 100%; justify-content: center; padding: 0.95rem 1rem; font-size: 1rem; }
.act[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.note { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; margin-top: 0.8rem; }
.note.err { color: var(--ink); font-weight: 500; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.label { font-size: 0.85rem; color: var(--ink-soft); margin: 1rem 0 0.4rem; display: block; }

.feed { list-style: none; display: flex; flex-direction: column; }
.feed li { display: flex; align-items: baseline; gap: 0.9rem; padding: 0.75rem 0; border-top: 1px solid var(--hairline); font-size: 0.9rem; }
.feed li:first-child { border-top: 0; }
.feed .k { width: 5.5rem; flex: none; color: var(--ink-faint); }
.feed .m { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .r { color: var(--ink-faint); white-space: nowrap; font-size: 0.82rem; }
.feed a:hover { text-decoration: underline; }
.mono { font-family: var(--mono); font-size: 0.85em; }

/* wallet picker */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; background: #0006; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 1rem; }
.modal.open { display: flex; }
.modal-card { background: #fff; border-radius: 1.25rem; padding: 1.5rem; width: min(24rem, 100%); box-shadow: 0 2rem 4rem -1rem #0005; }
.modal-card h3 { font-weight: 400; font-size: 1.3rem; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; }
.modal-card .x { width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.modal-card .x:hover { background: #0000000d; }
.wallet-opt { display: flex; align-items: center; gap: 0.8rem; width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--hairline); border-radius: 0.9rem; margin-bottom: 0.5rem; text-align: left; transition: border-color 0.2s; }
.wallet-opt:hover { border-color: #00000040; }
.wallet-opt img, .wallet-opt .blank { width: 1.8rem; height: 1.8rem; border-radius: 0.45rem; background: #0000000d; }
.modal-card .note { margin-top: 0.5rem; }

.toast { position: fixed; z-index: 90; bottom: 1.25rem; left: 50%; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 0.8rem 1.25rem; border-radius: 9999px; font-size: 0.9rem; transition: opacity 0.3s, transform 0.3s var(--ease); max-width: calc(100% - 2rem); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { text-decoration: underline; margin-left: 0.4rem; }

/* ── mobile ──────────────────────────────────────────────── */

@media (width <= 1023px) {
  .nav { height: 3rem; }
  .nav .links { display: none; }
  .nav .spacer { flex: auto; }
  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hero-left { position: static; width: auto; max-width: 42rem; margin: 0 auto; padding: 6rem 1.5rem 1.5rem; align-items: center; text-align: center; }
  .headline { font-size: clamp(1.9rem, 7.4vw, 2.6rem); }
  .headline .line { white-space: normal; }
  .subline { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .chip-note { height: auto; padding: 0.6rem 1.25rem; font-size: 0.9rem; white-space: normal; }
  .panel { position: relative; inset: auto; width: calc(100% - 2rem); max-width: 34rem; aspect-ratio: 4 / 5; margin: 1rem auto 0; }
  .container { padding: 3rem 1.25rem; }
  .section-head { gap: 0.75rem; margin-bottom: 1.5rem; }
  .eyebrow { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
  .h2 { font-size: clamp(1.6rem, 7.2vw, 2.1rem); max-width: none; }
  .steps, .features { grid-template-columns: 1fr; gap: 0.75rem; }
  .step, .feature { min-height: 0; padding: 1.25rem 1.15rem; gap: 0.6rem; }
  .band-inner { padding: 1rem 1.25rem 3rem; }
  .band { padding: 2rem 1.25rem; }
  .band-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .band h2 { font-size: clamp(1.6rem, 7.2vw, 2.1rem); }
  .band-stat { padding: 1rem; }
  .band-stat .val { font-size: 1.5rem; }
  .band .glow { width: 24rem; height: 24rem; top: -9rem; right: -7rem; }
  .closing-inner { padding: 2.5rem 1.25rem 3.5rem; gap: 1rem; }
  .closing h2 { font-size: clamp(1.7rem, 7.6vw, 2.2rem); }
  .footer-inner { padding: 2.5rem 1.25rem; flex-direction: column; }
  .footer .cols { flex-wrap: wrap; }
  .footer-base-inner { padding: 1.25rem; flex-direction: column; gap: 0.3rem; }

  .page { padding: 5.5rem 1.25rem 3rem; }
  .page-head h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .paste { min-width: 0; width: 100%; }
  .totals { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .tot .val { font-size: 1.5rem; }
  .grid { grid-template-columns: 1fr; }
  .repo-layout { grid-template-columns: 1fr; }
  .repo-title h1 { font-size: 1.9rem; }
  .box { padding: 1.25rem; }
  .big-meter .v { font-size: 1.5rem; }
}
@media (1024px <= width <= 1279px) { .grid { grid-template-columns: repeat(2, 1fr); } }

/* status pill on the dark meter card */
.box.dark .status { border-color: #ffffff38; color: #ffffffd9; }
.box.dark .status.on { background: #fff; color: var(--ink); border-color: #fff; }
.box.dark .status.on .led { background: var(--ink); }
.repo-layout > .stack, .box { min-width: 0; }
@media (width <= 1023px) { .repo-layout { grid-template-columns: minmax(0, 1fr); } }

/* ── loading curtain ─────────────────────────────────────── */

.loading body { overflow: hidden; }
.preloader { position: absolute; inset: 0; z-index: 50; pointer-events: none; }
.preloader .curtain {
  position: absolute;
  top: 0.625rem; bottom: 0.625rem; right: 0.625rem;
  width: calc(50% - 1.25rem);
  border-radius: var(--radius-panel);
  overflow: hidden;
}
.preloader .fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0%;
  background: linear-gradient(180deg, #0d0d0f 0%, #3b3b3f 55%, #b9b9bd 100%);
}
.preloader .counter {
  position: absolute;
  left: 1.25rem; bottom: 0.625rem;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(180deg, #0d0d0f, #6a6a6f);
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  will-change: transform, opacity;
}
@media (width <= 1023px) {
  .preloader { position: fixed; }
  .preloader .curtain { inset: 0.625rem; width: auto; }
  .preloader .counter {
    font-size: 3rem;
    left: 1.5rem;
    background: none;
    color: #fff;
    -webkit-text-fill-color: #fff;
    mix-blend-mode: difference;
  }
}
