/* ————————————————————————————————————————————————
   Shipyard — "The Manifest" design language
   Warm paper · ink typography · safety-orange action ·
   bank-green escrow · receipts, rulers, stamps, tickets
   ———————————————————————————————————————————————— */
:root {
  --paper: #faf6ef;
  --paper-2: #ffffff;
  --paper-3: #f2ecdf;
  --paper-4: #ece4d2;
  --ink: #1a1611;
  --ink-2: #5f574a;
  --ink-3: #978d7b;
  --line: #e7dfcf;
  --line-2: #d3c8b0;
  --orange: #f04e23;
  --orange-deep: #d43f16;
  --orange-soft: #fdeee8;
  --orange-line: #f4a58d;
  --green: #177e5b;
  --green-soft: #e8f3ee;
  --green-line: #9ecbb8;
  --red: #c0392b;
  --serif: "Fraunces", Georgia, "Iowan Old Style", serif;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-lg: 12px;
  --r-md: 10px;
  --r-sm: 8px;
  --sh-sm: 0 1px 2px rgba(84, 62, 26, 0.05), 0 4px 14px rgba(84, 62, 26, 0.06);
  --sh-md: 0 2px 4px rgba(84, 62, 26, 0.06), 0 14px 40px rgba(84, 62, 26, 0.1);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
/* paper grain — unifies everything, barely there */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--orange); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--paper-2);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 10px 13px; width: 100%; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
::placeholder { color: var(--ink-3); opacity: 1; }
label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 7px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ————— type ————— */
h1 { font-family: var(--serif); font-weight: 570; font-size: clamp(42px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.015em; }
h2 { font-family: var(--serif); font-weight: 560; font-size: clamp(29px, 3.3vw, 40px); line-height: 1.1; letter-spacing: -0.012em; }
.accent { font-style: italic; color: var(--orange); font-weight: 500; }
.sec-mark {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.sec-mark b { color: var(--orange); font-weight: 500; }
.sec-mark::after { content: ""; flex: 1; max-width: 64px; border-top: 1px solid var(--line-2); }

/* double ledger rule between sections */
section { padding: 84px 0; }
section.ruled { border-top: 1px solid var(--line-2); position: relative; }
section.ruled::before { content: ""; position: absolute; top: 3px; left: 0; right: 0; border-top: 1px solid var(--line); }
.sect-head { max-width: 660px; margin-bottom: 46px; }
.sect-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sect-head.center .sec-mark { justify-content: center; }
.sect-head.center .sec-mark::after { display: none; }
.sect-sub { color: var(--ink-2); margin-top: 16px; font-size: 16px; }

/* preview bar — remove this block and the div in index.html when contracts go live */
.preview-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  background: var(--ink); color: rgba(250, 246, 239, 0.82);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.02em;
  padding: 9px 20px; text-align: center; line-height: 1.5;
}
.preview-bar b { color: #ffb59e; font-weight: 600; }
.pb-stamp {
  flex: none; font-weight: 600; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange); border: 1.5px solid var(--orange); border-radius: 5px 7px 6px 8px;
  padding: 3px 8px 2px; transform: rotate(-2deg);
}
.nav { top: 0; }

/* ————— nav ————— */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.015em; font-size: 17px; }
.logo-mark { width: 27px; height: 27px; border-radius: 8px; flex: none; background: var(--ink); display: grid; place-items: center; }
.logo-mark svg { display: block; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 7px 13px; border-radius: 7px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--ink); background: rgba(26, 22, 17, 0.05); }
.nav-links a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.proto-pill { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 99px; background: var(--paper-2); }
/* A button since WalletConnect made leaving something you have to be able to
   do. Font and colour are reset because a button does not inherit them. */
.addr-chip {
  display: inline-flex; align-items: center; gap: 8px; background: var(--paper-2);
  border: 1px solid var(--line-2); padding: 7px 13px; border-radius: 99px; font-size: 12.5px;
  font-family: inherit; color: var(--ink); cursor: pointer; transition: border-color 0.15s;
}
.addr-chip:hover { border-color: var(--ink-3); }
.addr-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ————— buttons ————— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 21px; border-radius: var(--r-md); font-weight: 600; font-size: 14.5px;
  letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 1px 0 rgba(84, 62, 26, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(240, 78, 35, 0.28); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(26, 22, 17, 0.22); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: var(--paper-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn-lg { padding: 14px 27px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.btn[disabled]:hover { transform: none; box-shadow: none; }

/* ————— stamps ————— */
.stamp {
  display: inline-block; font-family: var(--mono); font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
  padding: 6px 10px 5px; border: 2px solid currentColor;
  border-radius: 7px 9px 8px 10px; position: relative;
  box-shadow: inset 0 0 0 1px var(--paper-2);
}
.stamp-green { color: var(--green); background: var(--green-soft); }
.stamp-orange { color: var(--orange); background: var(--orange-soft); }
.stamp-red { color: var(--red); background: #f9e9e6; }
.stamp-dim { color: var(--ink-3); background: var(--paper-3); border-width: 1.5px; }
.tilt { transform: rotate(-3deg); }

.tag {
  display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  border: 1px solid var(--line-2); border-radius: 5px; padding: 3px 8px; background: var(--paper-2);
}

/* ————— hero ————— */
.hero { padding: 88px 0 26px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr); gap: 64px; align-items: center; }
.hero-sub { color: var(--ink-2); font-size: 17.5px; line-height: 1.66; margin: 26px 0 34px; max-width: 33em; }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ledger strip — protocol facts */
.ledger-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink); margin-top: 64px; position: relative;
}
.ledger-strip::before { content: ""; position: absolute; top: 3px; left: 0; right: 0; border-top: 1px solid var(--line-2); }
.fact { padding: 24px 26px 6px 0; }
.fact + .fact { padding-left: 26px; border-left: 1px solid var(--line); }
.fact .v { font-family: var(--mono); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; }
.fact .v em { font-style: normal; color: var(--orange); }
.fact .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; line-height: 1.7; }

/* ————— manifest (featured raise document) ————— */
.manifest {
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); padding: 26px 28px; position: relative;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.manifest::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 4px; background: var(--orange); border-radius: 0 0 4px 4px; }
a.card-link:hover .manifest { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(84,62,26,.08), 0 22px 54px rgba(84,62,26,.14); }
.m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.m-no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.m-title { font-family: var(--serif); font-weight: 570; font-size: 23px; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 6px; }
.m-desc { color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.m-rows { margin-top: 18px; border-top: 1px solid var(--line); }
.m-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.m-row .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.m-row .v { font-weight: 550; text-align: right; }
.m-row .v.num { font-size: 13px; }

/* ruler — 40 ticks, one per slot */
.ruler-wrap { margin-top: 18px; }
.ruler-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.ruler-top .big { font-family: var(--mono); font-size: 17px; font-weight: 600; }
.ruler-top .big span { color: var(--ink-3); font-weight: 400; font-size: 12px; }
.ruler-top .pct { font-family: var(--mono); font-size: 12.5px; color: var(--orange); font-weight: 600; }
.ruler { display: flex; gap: 2.5px; height: 20px; align-items: flex-end; }
.ruler .tick { flex: 1; height: 13px; background: var(--paper-4); border-radius: 1.5px; }
.ruler .tick.on { background: var(--ink); height: 20px; }
.ruler .tick.you { background: var(--orange); height: 20px; }
.ruler-sub { display: flex; justify-content: space-between; margin-top: 9px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.ruler-sub .num { color: var(--ink-2); }

.countdown-row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.countdown { font-size: 15px; color: var(--ink); font-weight: 600; letter-spacing: 0; }

/* board */
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.manifest.ghost { border: 1.5px dashed var(--line-2); background: transparent; box-shadow: none; }
.manifest.ghost::before { display: none; }
.manifest.ghost .m-title { color: var(--ink-2); }
a.card-link:hover .manifest.ghost { border-color: var(--orange); box-shadow: none; }

/* ————— plates (generic panels) ————— */
.plate { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.panel { padding: 26px; margin-top: 26px; }
.panel > h3 { font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.panel > h3 .tag, .panel > h3 .stamp { margin-left: auto; }

/* ————— how it works ————— */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-left: 1px solid var(--line); }
.step { padding: 6px 30px 6px 26px; border-right: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--orange); line-height: 1; }
.step h3 { font-size: 16.5px; font-weight: 650; letter-spacing: -0.01em; margin: 14px 0 8px; }
.step p { color: var(--ink-2); font-size: 14px; }
.diagram-wrap { margin-top: 40px; padding: 34px 30px 24px; overflow-x: auto; }
.diagram-wrap svg { width: 100%; min-width: 660px; height: auto; display: block; }
.flow-dash { stroke-dasharray: 5 6; animation: dash 1.3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }

/* ————— protections ————— */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.protect-card { padding: 28px; }
.protect-card .stamp { margin-bottom: 20px; }
.protect-card h3 { font-size: 17.5px; font-weight: 650; letter-spacing: -0.012em; margin-bottom: 9px; }
.protect-card p { color: var(--ink-2); font-size: 14px; }
.protect-card p b { color: var(--ink); font-weight: 620; }

/* ————— compare (ledger table) ————— */
.compare { border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; overflow-x: auto; background: var(--paper-2); box-shadow: var(--sh-sm); }
.compare table { width: 100%; border-collapse: collapse; min-width: 660px; }
.compare th, .compare td { padding: 15px 24px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-3); font-weight: 600; }
.compare th.us { color: var(--orange); }
.compare td:first-child, .compare th:first-child { width: 22%; }
.compare td:first-child { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.compare td.them { color: var(--ink-2); }
.compare td.us { background: #fdfaf4; color: var(--ink); font-weight: 550; box-shadow: inset 3px 0 0 var(--orange); }

/* ————— ladder ————— */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rung { padding: 26px; position: relative; }
.rung .tier-name { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; justify-content: space-between; }
.rung .pct { font-family: var(--serif); font-size: 52px; font-weight: 560; letter-spacing: -0.02em; margin: 14px 0 2px; }
.rung .pct-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.rung ul { list-style: none; }
.rung li { font-size: 13.5px; color: var(--ink-2); padding: 8px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.rung li span:last-child { color: var(--ink); font-family: var(--mono); font-size: 12px; }
.rung.active { border-color: var(--orange-line); box-shadow: inset 0 3px 0 var(--orange), var(--sh-sm); }
.rung.active .pct { color: var(--orange); }

/* ————— faq ————— */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 23px 4px; font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--orange); font-size: 19px; transition: transform 0.2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 4px 26px; color: var(--ink-2); font-size: 14.5px; max-width: 62em; }
.faq .a b { color: var(--ink); }

/* ————— cta band (full-ink back cover) ————— */
.cta-band {
  background: var(--ink); color: var(--paper); border-radius: 16px;
  padding: 64px 56px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--sh-md);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(44rem 20rem at 50% 130%, rgba(240, 78, 35, 0.28), transparent 62%);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: rgba(250, 246, 239, 0.72); margin-bottom: 30px; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-ghost { background: transparent; border-color: rgba(250, 246, 239, 0.35); color: var(--paper); }
.cta-band .btn-ghost:hover { border-color: var(--paper); }

/* ————— raise page ————— */
.raise-layout { display: grid; grid-template-columns: minmax(0, 1fr) 404px; gap: 44px; padding: 50px 0 88px; align-items: start; }
.raise-layout > div { min-width: 0; }
.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 28px; display: flex; gap: 10px; align-items: center; }
.crumb a:hover { color: var(--ink); }
.raise-hero h1 { font-size: clamp(32px, 3.8vw, 46px); }
.byline { display: flex; align-items: center; gap: 12px; margin: 22px 0 8px; flex-wrap: wrap; }
.avatar {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: var(--paper-3); border: 1px solid var(--line-2);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 17px;
}
.byline .who b { display: block; font-size: 14.5px; line-height: 1.3; }
.byline .who span { font-size: 12.5px; color: var(--ink-3); }
.contract-line { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.contract-line code { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 5px; padding: 3px 8px; font-size: 11px; color: var(--ink-2); }

.prose { color: var(--ink-2); font-size: 15px; margin-top: 28px; max-width: 62em; }
.prose p + p { margin-top: 14px; }
.prose b { color: var(--ink); }
.prose .lead { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink); font-weight: 480; }

.scope-list { list-style: none; }
.scope-list li { display: flex; gap: 12px; padding: 10px 0; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); }
.scope-list li:first-child { border-top: 0; }
.scope-list .tick { color: var(--green); flex: none; font-weight: 700; }
.scope-list .cross { color: var(--ink-3); flex: none; }
.scope-list b { color: var(--ink); font-weight: 620; }

/* timeline */
.tl { list-style: none; position: relative; margin-top: 6px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.tl li { position: relative; padding: 0 0 22px 30px; }
.tl li:last-child { padding-bottom: 0; }
.tl .dot { position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--line-2); }
.tl li.done .dot { background: var(--ink); border-color: var(--ink); }
.tl li.now .dot { border-color: var(--orange); background: var(--paper-2); box-shadow: 0 0 0 4px var(--orange-soft); }
.tl b { display: block; font-size: 14px; font-weight: 620; letter-spacing: -0.01em; }
.tl li.done b::after { content: " ✓"; color: var(--green); }
.tl span { font-size: 13px; color: var(--ink-3); }

.empty { border: 1.5px dashed var(--line-2); border-radius: var(--r-md); padding: 28px; text-align: center; color: var(--ink-3); font-size: 13.5px; line-height: 1.65; background: var(--paper-3); }

.perk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* four cards read better two-up than three-plus-an-orphan */
.perk-row.four { grid-template-columns: repeat(2, 1fr); }
.perk { border: 1px solid var(--line); border-radius: var(--r-md); padding: 15px 17px; background: var(--paper-3); }
.perk b { display: block; font-size: 13.5px; font-weight: 620; letter-spacing: -0.01em; }
.perk span { font-size: 12px; color: var(--ink-2); }
.perk-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; font-style: italic; }
.perk-note b { color: var(--ink-2); font-style: normal; }

/* referrals — a share panel, set apart from the raise's own numbers */
.ref-box { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ref-box h4 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600; display: flex; align-items: center; gap: 9px;
}
.ref-box p { font-size: 13px; color: var(--ink-2); margin-top: 9px; line-height: 1.65; }
.ref-link { display: flex; gap: 8px; margin-top: 12px; }
.ref-link input {
  flex: 1; min-width: 0; margin: 0; font-family: var(--mono); font-size: 11.5px;
  background: var(--paper-3); color: var(--ink-2);
}
.ref-link .btn { flex: none; }

.tscroll { overflow-x: auto; }
.btable { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 320px; }
.btable th { text-align: left; font-family: var(--mono); color: var(--ink-3); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 9px 10px; border-bottom: 1px solid var(--line-2); }
.btable td { padding: 11px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.btable tr:last-child td { border-bottom: 0; }
.btable .you td { background: var(--orange-soft); color: var(--ink); box-shadow: inset 3px 0 0 var(--orange); }

/* ————— order form (sticky back panel) ————— */
.back-panel { position: sticky; top: 88px; padding: 24px; }
.order-head { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; margin-bottom: 16px; }
.tiers { display: grid; gap: 10px; margin: 20px 0 4px; }
.tier {
  text-align: left; border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 13px 15px; background: var(--paper-2); position: relative;
  display: grid; grid-template-columns: 18px 1fr auto; gap: 3px 12px; align-items: center;
  transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}
.tier:hover { border-color: var(--ink-3); }
.tier.sel { border-color: var(--orange); background: #fffaf5; box-shadow: 0 0 0 3px var(--orange-soft); }
.t-radio { grid-row: span 2; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; }
.tier.sel .t-radio { border-color: var(--orange); }
.tier.sel .t-radio::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: var(--orange); }
.tier .t-name { font-weight: 620; font-size: 14px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.tier .t-price { font-family: var(--mono); font-weight: 600; font-size: 14.5px; grid-row: span 2; text-align: right; }
.tier .t-price small { display: block; color: var(--ink-3); font-weight: 400; font-size: 10px; letter-spacing: 0.08em; margin-top: 2px; }
.tier .t-sub { font-size: 12px; color: var(--ink-3); grid-column: 2; }
.tier .pop { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.08em; color: #fff; background: var(--orange); border-radius: 4px; padding: 2.5px 6px; text-transform: uppercase; }

/* proof of work */
.proof-stats { grid-template-columns: repeat(4, 1fr); margin: 18px 0 4px; }
.proof-stats .v { font-size: 22px; }
.proof-stats .k { line-height: 1.5; margin-top: 4px; }
.ship-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 14px;
  overflow-x: auto; padding: 18px 2px 6px; scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.ship { scroll-snap-align: start; display: block; }
.ship img {
  width: 100%; height: auto; display: block; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.ship:hover img { transform: translateY(-2px); box-shadow: var(--sh-md); }
.ship b { display: block; font-size: 13.5px; font-weight: 620; letter-spacing: -0.01em; margin-top: 9px; }
.ship span { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.45; }

/* queue disclosure */
.queue { margin-top: 16px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--paper-3); }
.q-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; }
.q-row .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.q-row .v { font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; }
.q-note { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--line); }

/* receipt */
.receipt { font-family: var(--mono); font-size: 12.5px; margin-top: 16px; padding-top: 14px; border-top: 1.5px dashed var(--line-2); }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--ink-2); }
.receipt .row .save { color: var(--green); }
.receipt .row.total { color: var(--ink); font-weight: 600; font-size: 14px; margin-top: 8px; padding-top: 10px; border-top: 3px double var(--ink); text-transform: uppercase; letter-spacing: 0.06em; }
.receipt .row.total .num { font-size: 16px; }

.protect-list { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.protect-list li { display: flex; gap: 10px; font-size: 12.8px; color: var(--ink-2); padding: 5px 0; line-height: 1.55; }
.protect-list .tick { color: var(--green); flex: none; font-weight: 700; }
.protect-list b { color: var(--ink); font-weight: 620; }
.panel-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-3); text-align: center; margin-top: 14px; line-height: 1.7; }

.holding-banner { border: 1px solid var(--green-line); background: var(--green-soft); border-radius: var(--r-md); padding: 18px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.holding-banner b { display: block; margin-bottom: 4px; font-size: 14.5px; color: var(--ink); }
.holding-banner .acts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* ————— modal / toast ————— */
.overlay {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px;
  background: rgba(26, 22, 17, 0.42); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  animation: fadein 0.16s ease;
}
@keyframes fadein { from { opacity: 0; } }
.modal {
  width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto;
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 16px;
  padding: 30px; box-shadow: var(--sh-md); animation: rise 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
@keyframes rise { from { transform: translateY(14px) scale(0.985); opacity: 0; } }
.modal h3 { font-family: var(--serif); font-size: 21px; font-weight: 580; letter-spacing: -0.01em; margin-bottom: 6px; }
.modal .sub { color: var(--ink-2); font-size: 13.5px; margin-bottom: 18px; }
.modal-head { display: flex; justify-content: space-between; align-items: start; }
.x { color: var(--ink-3); font-size: 20px; line-height: 1; padding: 4px 9px; border-radius: 7px; }
.x:hover { background: var(--paper-3); color: var(--ink); }

.stamp-hero {
  display: block; width: max-content; margin: 8px auto 20px;
  font-size: 15px; padding: 12px 20px 11px; border-width: 3px; border-radius: 10px 13px 11px 14px;
  transform: rotate(-6deg); animation: stampIn 0.4s cubic-bezier(0.2, 1.2, 0.3, 1);
}
@keyframes stampIn {
  0% { transform: rotate(-14deg) scale(1.7); opacity: 0; }
  55% { transform: rotate(-5deg) scale(0.95); opacity: 1; }
  100% { transform: rotate(-6deg) scale(1); }
}
.slot-strip { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 16px 0 4px; }
.slot-chip { font-family: var(--mono); font-size: 12px; border: 1px solid var(--orange-line); background: var(--orange-soft); color: var(--orange-deep); border-radius: 6px; padding: 5px 10px; }

#toast-root { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; justify-items: center; }
.toast {
  background: var(--ink); color: var(--paper); border-radius: 10px;
  padding: 12px 20px; font-size: 13.5px; box-shadow: var(--sh-md);
  animation: rise 0.24s ease; max-width: 92vw; text-align: center;
}
.toast b { color: #ffb59e; font-weight: 600; }

/* ————— dashboard ————— */
.dash { padding: 60px 0 96px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: start; margin-top: 38px; }

/* claim ticket */
.ticket { display: flex; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--sh-md); position: relative; }
.t-stub {
  width: 84px; flex: none; border-right: 2px dashed var(--line-2); background: var(--paper-3);
  border-radius: 13px 0 0 13px; padding: 20px 0; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px;
}
.t-stub .vert {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-3);
}
.t-stub .punch { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); box-shadow: inset 0 1px 2px rgba(84, 62, 26, 0.12); }
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: 76px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-2); z-index: 1;
}
.ticket::before { top: -10px; border-top-color: transparent; }
.ticket::after { bottom: -10px; border-bottom-color: transparent; }
.t-body { flex: 1; padding: 22px 26px; min-width: 0; }
.t-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.t-brand { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.t-serials { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.t-meta { color: var(--ink-2); font-size: 13px; margin-top: 6px; }
.barcode {
  margin-top: 22px; height: 34px; border-radius: 2px; opacity: 0.9;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 11px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 7px);
  background-blend-mode: multiply;
}
.t-holder { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }
.t-holder span b { color: var(--ink-2); font-weight: 500; text-transform: none; }

.stream-panel { padding: 28px; }
.stream-panel h3 { font-size: 16.5px; font-weight: 650; margin-bottom: 4px; }
.stream-panel .sub { color: var(--ink-3); font-size: 13px; margin-bottom: 20px; }

.kv { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--ink); margin-top: 4px; position: relative; }
.kv::before { content: ""; position: absolute; top: 3px; left: 0; right: 0; border-top: 1px solid var(--line-2); }
.kv > div { padding: 16px 16px 12px 0; }
.kv > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.kv .k { font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.kv .v { font-family: var(--mono); font-size: 19px; font-weight: 600; margin-top: 4px; }
.kv .v.mint { color: var(--green); }

/* release schedule — state by shape: filled / dashed / hairline (+ labels) */
.sched { display: flex; gap: 6px; margin: 20px 0 10px; flex-wrap: wrap; }
.sched .seg { flex: 1; min-width: 44px; height: 34px; border-radius: 7px; display: grid; place-items: center; font-family: var(--mono); font-size: 10.5px; }
.sched .seg.released { background: var(--ink); color: var(--paper); font-weight: 600; }
.sched .seg.next { border: 1.5px dashed var(--orange); color: var(--orange-deep); background: var(--orange-soft); font-weight: 600; }
.sched .seg.future { border: 1px solid var(--line-2); color: var(--ink-3); background: var(--paper-2); }
.sched-legend { display: flex; gap: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); flex-wrap: wrap; }
.sched-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; }
.sched-legend .l1 i { background: var(--ink); }
.sched-legend .l2 i { border: 1.5px dashed var(--orange); background: var(--orange-soft); }
.sched-legend .l3 i { border: 1px solid var(--line-2); }

.dash-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

.empty-dash { max-width: 520px; margin: 64px auto; text-align: center; }
.empty-dash .stamp { margin-bottom: 22px; }
.empty-dash h2 { margin-bottom: 12px; }
.empty-dash p { color: var(--ink-2); margin-bottom: 28px; }

/* ————— wizard ————— */
.wizard { max-width: 730px; margin: 0 auto; padding: 60px 0 96px; }
.wiz-steps { display: flex; gap: 10px; margin: 32px 0 28px; }
.wiz-step { flex: 1; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); border-top: 2px solid var(--line-2); padding-top: 10px; }
.wiz-step.on { color: var(--orange-deep); border-top-color: var(--orange); }
.wiz-step.done { color: var(--ink-2); border-top-color: var(--ink); }
.wiz-card { padding: 32px; }
.wiz-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 580; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wiz-card .sub { color: var(--ink-3); font-size: 13.5px; margin-bottom: 8px; }
.wiz-nav { display: flex; justify-content: space-between; margin-top: 28px; }
.hint { font-size: 12.5px; color: var(--ink-3); margin-top: 7px; }
.radio-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.radio-card { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; font-size: 13.5px; font-weight: 550; cursor: pointer; background: var(--paper-2); }
.radio-card.sel { border-color: var(--orange); background: #fffaf5; box-shadow: 0 0 0 3px var(--orange-soft); }
.radio-card small { display: block; color: var(--ink-3); font-size: 11px; font-weight: 400; margin-top: 2px; }
.radio-card.off { opacity: 0.45; cursor: not-allowed; }

.curve-preview { margin-top: 8px; }
.curve-bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; gap: 2px; }
.curve-bar .upfront { background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; }
.curve-bar .stream { background: var(--green-soft); border: 1px solid var(--green-line); color: var(--green); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 600; border-radius: 0 8px 8px 0; }
.curve-cap { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 7px; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.chip {
  border: 1px solid var(--line-2); border-radius: 99px; padding: 8px 15px;
  font-size: 13px; font-weight: 550; cursor: pointer; background: var(--paper-2);
  transition: border-color 0.14s ease, background 0.14s ease;
}
.chip:hover { border-color: var(--ink-3); }
.chip.on { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-deep); }
.chip.on::before { content: "✓ "; }
.locked-rule {
  display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line);
  background: var(--paper-3); border-radius: var(--r-md); padding: 14px 16px;
  font-size: 13px; color: var(--ink-2); margin-top: 6px;
}
.locked-rule b { color: var(--ink); }
.locked-rule .stamp { flex: none; margin-top: 1px; }
.attest { display: flex; gap: 11px; align-items: flex-start; margin-top: 18px; font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-2); line-height: 1.55; cursor: pointer; }
.attest input { width: auto; margin-top: 2px; accent-color: var(--orange); }
.attest b { color: var(--ink); }
.bonus-line { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.btable .more td { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

.review-list { list-style: none; margin-top: 6px; }
.review-list li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.review-list li:last-child { border-bottom: 0; }
.review-list .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.review-list .v { text-align: right; color: var(--ink); font-weight: 550; max-width: 70%; }

/* ————— footer ————— */
footer { border-top: 1px solid var(--ink); margin-top: 24px; position: relative; }
footer::before { content: ""; position: absolute; top: 3px; left: 0; right: 0; border-top: 1px solid var(--line-2); }
.foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 34px 0 56px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); }
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--orange-deep); }
.foot .links { display: flex; gap: 22px; }
.colophon { width: 100%; font-size: 10.5px; color: var(--ink-3); opacity: 0.8; }

/* ————— responsive ————— */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; }
  .ledger-strip { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact { border-left: 0; padding-left: 0; }
  .fact + .fact { border-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); padding-left: 26px; }
  .board-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; border-left: 0; }
  .step { border-right: 0; border-top: 1px solid var(--line); padding: 22px 4px; }
  .grid-3, .ladder, .perk-row { grid-template-columns: 1fr; }
  .raise-layout { grid-template-columns: 1fr; }
  .back-panel { position: static; }
  .dash-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 800px) {
  .proto-pill { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .panel { padding: 20px; }
  .back-panel { padding: 18px; }
  .ledger-strip { grid-template-columns: 1fr; }
  .fact:nth-child(even) { border-left: 0; padding-left: 0; }
  .fact { border-top: 1px solid var(--line); padding-top: 16px; }
  .fact:first-child { border-top: 0; }
  .radio-row { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .ship-strip { grid-auto-columns: 200px; }
  section { padding: 60px 0; }
  .cta-band { padding: 44px 26px; }
  .t-stub { display: none; }
  .ticket::before, .ticket::after { display: none; }
}

/* skeletons while the chain is read */
.manifest.skel { min-height: 300px; border: 1px dashed var(--line-2); box-shadow: none; background:
  linear-gradient(100deg, var(--paper-2) 30%, var(--paper-3) 50%, var(--paper-2) 70%) 0 0/300% 100%;
  animation: shimmer 1.4s linear infinite; }
.manifest.skel::before { display: none; }
@keyframes shimmer { to { background-position: -300% 0; } }

/* ————— deliveries ————— */
.drows { border-top: 1px solid var(--line); }
.drow { border-bottom: 1px solid var(--line); padding: 13px 0; }
.d-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.d-serial { font-size: 14px; font-weight: 600; }
.d-ev { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 7px; }
.d-ev a { color: var(--orange-deep); text-decoration: underline; }
.d-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* the auto-accept clock: the safety-critical number */
.clock {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2);
}
.clock.soon { border-color: var(--orange-line); background: var(--orange-soft); color: var(--orange-deep); }
.clock.urgent {
  border-color: var(--red); background: #f9e9e6; color: var(--red); font-weight: 600;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .55 } }

/* attention banner: deliveries waiting on you */
.attn {
  border: 1px solid var(--orange-line); background: var(--orange-soft);
  border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 20px;
}
.attn b { display: block; font-size: 15px; margin-bottom: 4px; }
.attn p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.attn .acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* moderation */
.flagged { border-color: var(--red) !important; }
.warn-band {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--red); background: #f9e9e6; color: var(--red);
  border-radius: var(--r-md); padding: 13px 15px; margin-bottom: 16px; font-size: 13.5px;
}
.warn-band b { color: var(--red); }
.unverified { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: 5px; padding: 3px 8px; }

/* ————— board controls ————— */
.controls { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.search {
  width: 100%; font-size: 15px; padding: 13px 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--paper-2);
}
.board-count {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.byline .who a:hover b { color: var(--orange-deep); text-decoration: underline; }
img.avatar { padding: 0; }

/* create form — a builder writing their own raise */
.cr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
.cr-tier {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.cr-tier input { width: 90px; margin: 0; flex: none; }
.cr-tier span { color: var(--ink-3); font-size: 12.5px; }
.cr-tier .x {
  margin-left: auto; border: 0; background: none; cursor: pointer;
  color: var(--ink-3); font-size: 17px; line-height: 1; padding: 0 4px;
}
.cr-tier .x:hover { color: var(--red); }
@media (max-width: 640px) { .cr-grid { grid-template-columns: 1fr; } }

/* a backer's build request, shown under the slot it belongs to */
.ask-note {
  display: flex; gap: 12px; align-items: baseline; padding: 10px 0 2px;
  border-top: 1px dashed var(--line-2); margin-top: 10px; font-size: 13.5px; color: var(--ink-2);
}
.ask-note .k {
  flex: none; font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--ink-3);
}

/* the line between what a raise promises and what it merely intends */
.prose-mark {
  margin-top: 18px; padding: 12px 15px; border-left: 2px solid var(--line-2);
  background: var(--paper-3); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 13px; color: var(--ink-3); line-height: 1.6;
}
.prose-mark b { color: var(--ink-2); font-weight: 600; }

/* two-up that collapses, rather than an inline grid that never did */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }

/* the raise page is where money gets decided, so it carries its own way out */
.newbie-nudge {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 14px; padding: 13px 16px; border: 1px solid var(--green-line);
  background: var(--green-soft); border-radius: var(--r-md); font-size: 13.5px; color: var(--ink-2);
}
.newbie-nudge b { color: var(--ink); }
.newbie-nudge span { flex: 1; min-width: 200px; }

@media (max-width: 780px) { .two-up { grid-template-columns: 1fr; } }

/* posts: testimonials carry weight, comments carry conversation */
.post { padding: 14px 0; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: 0; }
.post-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 13px; }
.post-when { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-left: auto; }
.post p { margin-top: 7px; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; white-space: pre-wrap; }
.post .reply { margin: 10px 0 0 18px; padding: 10px 0 0 14px; border-left: 2px solid var(--line-2); border-bottom: 0; }
.post .reply p { font-size: 14px; }
.btn.liked { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }

/* the bell: a count only when there is something to count */
.bell {
  position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line-2); border-radius: 99px; background: var(--paper-2);
  font-size: 15px; color: var(--ink-2); flex: none;
}
.bell:hover { border-color: var(--ink-3); }
.bell.on { border-color: var(--orange); color: var(--orange); }
.dot-n {
  position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 99px; background: var(--orange); color: #fff;
  font-family: var(--mono); font-size: 9.5px; font-weight: 600; display: grid; place-items: center;
}
.post.unread { background: var(--orange-soft); margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
