@font-face {
  font-family: 'Bricolage';
  src: url('/l/assets/BricolageGrotesque_800ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/l/assets/Figtree_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/l/assets/Figtree_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

/* ochinimus.app's own tokens, read live on 6 Oct 2026 (--bg, --surface, --surface-2, --border,
   --text, --dim, --faint, --coral, --tip); the amber between coral and tip is the nimus logo's. */
:root {
  --bg: #0b0b0f;
  --surface: #14131c;
  --surface-2: #1c1a28;
  --border: #2a2738;
  --text: #f5f3fa;
  --dim: #9a93b0;
  --faint: #5f5872;
  --coral: #ff5a4d;
  --amber: #ff8f3a;
  --tip: #f2c53d;
  --ok: #46c5a8;
  --warm: linear-gradient(90deg, var(--coral), var(--amber) 55%, var(--tip));
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(255, 90, 77, 0.13), transparent 60%),
    radial-gradient(900px 480px at 92% 0%, rgba(242, 197, 61, 0.08), transparent 60%), var(--bg);
  color: var(--text);
  font:
    15px/1.5 Figtree,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--tip);
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar */
.top {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 15, 0.7);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font:
    800 20px/1 Bricolage,
    system-ui,
    sans-serif;
}
.brand::after {
  content: '.';
  color: var(--coral);
}
.top-note {
  color: var(--dim);
  font-size: 13px;
}

/* Layout: a main column and the back panel, which stays in view on desktop */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-areas:
    'token token'
    'main panel';
  gap: 20px 28px;
  padding-top: 28px;
  padding-bottom: 48px;
}
.token {
  grid-area: token;
}
.main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.panel {
  grid-area: panel;
  position: sticky;
  top: 76px;
  align-self: start;
}

/* Token header: the logo beside the name, the promises under it */
.token {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    'logo id'
    'logo trust';
  column-gap: 16px;
  align-items: center;
}
.token .logo {
  grid-area: logo;
}
.token .token-id {
  grid-area: id;
}
.token .trust {
  grid-area: trust;
}
.logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex: none;
  box-shadow:
    0 0 0 2px var(--surface-2),
    0 8px 30px rgba(255, 90, 77, 0.25);
}
.logo[hidden] {
  display: none;
}
.token-id {
  min-width: 0;
}
.title {
  margin: 0;
  font:
    800 clamp(30px, 6vw, 44px)/1 Bricolage,
    system-ui,
    sans-serif;
  letter-spacing: -0.01em;
}
.token-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.mint {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 10px;
  color: var(--dim);
  font:
    600 12px/1.4 ui-monospace,
    'SFMono-Regular',
    Menlo,
    monospace;
}
.mint:hover {
  color: var(--text);
}
.mint[hidden],
.pill[hidden] {
  display: none;
}
.pill {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(242, 197, 61, 0.12);
  color: var(--tip);
  border: 1px solid rgba(242, 197, 61, 0.3);
}
.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
}
.trust[hidden] {
  display: none;
}
.trust a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(70, 197, 168, 0.1);
  border: 1px solid rgba(70, 197, 168, 0.3);
  color: #8fe3cf;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.trust a::before {
  content: '✓';
  font-weight: 800;
}

/* Numbers */
.hero,
.market {
  display: grid;
  gap: 12px;
}
.hero {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.market {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  min-width: 0;
}
.stat .k {
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.stat .v {
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat .s {
  color: var(--faint);
  font-size: 12px;
  min-height: 16px;
}
/* The call under the backers count while nobody outside the builder backs the launch. */
.first {
  margin-top: 6px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--dim);
  font: inherit;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
}
.first b {
  color: var(--amber);
}
.first:hover b {
  text-decoration: underline;
}
.stat-big {
  padding: 18px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(255, 90, 77, 0.55), rgba(242, 197, 61, 0.15) 60%, var(--border)) border-box;
  border: 1px solid transparent;
}
.stat-big .v {
  font:
    800 clamp(24px, 3.2vw, 34px)/1.1 Bricolage,
    system-ui,
    sans-serif;
}
.stat-next .v {
  background: var(--warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mono {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace !important;
  font-size: 15px !important;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.card-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.card h2,
.panel h2 {
  margin: 0;
  font:
    800 18px/1.2 Bricolage,
    system-ui,
    sans-serif;
}
.card-meta {
  color: var(--dim);
  font-size: 13px;
  text-align: right;
}
.track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.fill {
  height: 100%;
  width: 0;
  min-width: 6px;
  border-radius: 999px;
  background: var(--warm);
  transition: width 0.6s ease;
}
.track-legend {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 12px;
  margin-top: 6px;
}
#graduation::after {
  content: ' →';
}
.curve-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
}
.curve-svg[hidden],
.track-legend[hidden] {
  display: none;
}
.curve-legend {
  margin-top: 2px;
}
.curve-legend b {
  color: var(--tip);
}
.now-legend::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  vertical-align: -1px;
}
.svg-label {
  fill: var(--faint);
  font-size: 13px;
  font-family: Figtree, system-ui, sans-serif;
}
.svg-label.end {
  fill: var(--tip);
  font-weight: 600;
}
.now-line {
  stroke: var(--dim);
  stroke-dasharray: 3 5;
  stroke-width: 1.5;
}
.now-dot {
  fill: var(--bg);
  stroke: var(--coral);
  stroke-width: 3;
}
.now-text {
  fill: var(--text);
  font-weight: 600;
}
.state {
  color: var(--tip);
  margin: 12px 0 0;
}
.state:empty {
  display: none;
}

/* Buys */
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rows li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.rows li:first-child {
  border-top: 0;
}
.rows .when {
  color: var(--faint);
  font-size: 12px;
}
.rows .what {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rows .what b {
  font-weight: 600;
}
.rows .who {
  color: var(--dim);
  font:
    12px ui-monospace,
    Menlo,
    monospace;
}
.rows a.tx {
  color: var(--dim);
  text-decoration: none;
  font-size: 14px;
}
.rows a.tx:hover {
  color: var(--tip);
}
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 1px;
}
.tag.own {
  background: rgba(255, 90, 77, 0.12);
  color: #ff8d84;
  border: 1px solid rgba(255, 90, 77, 0.3);
}
.tag.backer {
  background: rgba(242, 197, 61, 0.12);
  color: var(--tip);
  border: 1px solid rgba(242, 197, 61, 0.3);
}
.upcoming:empty {
  display: none;
}
.upcoming li {
  color: var(--dim);
}
.upcoming .when {
  color: var(--amber);
}
.upcoming + .rows {
  border-top: 1px dashed var(--border);
}
.foot {
  color: var(--faint);
  font-size: 13px;
  margin: 4px 0 0;
}

/* The back panel, in the shape of a DCA panel */
.panel-in {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.panel-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.panel h2 {
  font-size: 22px;
}
.sheet-close {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 20px;
  line-height: 1;
}
.box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
}
.k {
  display: block;
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.amount {
  display: flex;
  align-items: center;
  gap: 10px;
}
.amount input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font:
    800 34px/1.1 Bricolage,
    system-ui,
    sans-serif;
  padding: 0;
  outline: none;
}
.chip {
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 14px;
}
.hint {
  color: var(--coral);
  font-size: 13px;
  margin: 6px 0 0;
}
.hint:empty {
  display: none;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px;
  margin-top: 10px;
}
.seg {
  display: flex;
  gap: 4px;
}
.seg button {
  flex: 1;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--dim);
  padding: 7px 4px;
  font-weight: 600;
  font-size: 14px;
}
.seg button[aria-pressed='true'] {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}
.summary {
  margin: 12px 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--dim);
  font-size: 13px;
}
.summary b {
  color: var(--text);
}
.wallets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.wallet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
  text-align: left;
  min-width: 0;
}
.wallet:only-child {
  grid-column: 1 / -1;
}
.wallet:hover {
  border-color: var(--amber);
}
.wallet img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex: none;
}
.wallet span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wallet span b,
.wallet span small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallet span small {
  margin-top: 2px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 500;
}
.openin {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.openin a {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
.small {
  color: var(--dim);
  font-size: 13px;
}
.connected {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  margin: 0 0 10px;
}
.connected strong {
  color: var(--text);
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--tip);
  text-decoration: underline;
  font-size: 13px;
}
.needquote {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 90, 77, 0.1);
  border: 1px solid rgba(255, 90, 77, 0.35);
  font-size: 14px;
}
.needquote a {
  font-weight: 600;
}
.primary {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 16px;
  font-size: 17px;
  font-weight: 600;
  color: #1a0d07;
  background: var(--warm);
  box-shadow: 0 10px 30px rgba(255, 90, 77, 0.28);
}
.primary:disabled {
  opacity: 0.4;
  box-shadow: none;
  cursor: not-allowed;
}
.status {
  font-size: 14px;
  margin: 10px 0 0;
}
.status:empty {
  display: none;
}
.status.bad {
  color: var(--coral);
}
.status a {
  color: var(--tip);
}
.share a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.share[hidden] {
  display: none;
}
.nodeposit {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 13px;
}
.nodeposit::before {
  content: '◆ ';
  color: var(--tip);
}
.mine-box h3 {
  font-size: 14px;
  margin: 16px 0 8px;
}
.mine {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mine li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.revoke {
  border: 1px solid rgba(255, 90, 77, 0.5);
  background: transparent;
  color: var(--coral);
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 600;
}

/* The phone bar and the sheet */
.mbar,
.scrim {
  display: none;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'token'
      'main';
    padding-top: 18px;
    padding-bottom: 150px;
  }
  .top-note {
    display: none;
  }
  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  /* The countdown leads on a phone, across the full width. */
  .stat-next {
    grid-column: 1 / -1;
    order: -1;
  }
  .token {
    grid-template-areas:
      'logo id'
      'trust trust';
    row-gap: 12px;
  }
  .card-h {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .card-meta {
    text-align: left;
  }
  .market {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .stat-big {
    padding: 12px;
  }
  .stat-big .v {
    font-size: 22px;
  }
  .stat .k {
    font-size: 11px;
  }
  .panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 40;
    transform: translateY(105%);
    transition: transform 0.28s ease;
    max-height: 92vh;
    overflow-y: auto;
  }
  .panel-in {
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
  body.sheet-open .panel {
    transform: translateY(0);
  }
  .sheet-close {
    display: block;
  }
  .scrim {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(0, 0, 0, 0.55);
  }
  body.sheet-open .scrim {
    display: block;
  }
  .mbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(transparent, var(--bg) 35%);
  }
  /* A buy on a phone: what it was and its tag, then when and for whom. */
  .rows li {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      'what what tx'
      'when who tx';
    row-gap: 2px;
  }
  .rows .what {
    grid-area: what;
    white-space: normal;
  }
  .rows .when {
    grid-area: when;
  }
  .rows .who {
    grid-area: who;
  }
  .rows a.tx {
    grid-area: tx;
  }
}
@media (max-width: 420px) {
  /* Only the side gutters: the layout keeps its own top and bottom room. */
  .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
  .logo {
    width: 52px;
    height: 52px;
    margin-top: 4px;
  }
  .stat-big .v {
    font-size: 19px;
  }
}
