/* A lab notebook: ruled paper, ink teal, a highlighter, rubber stamps. Sibling of trustslot.app. */
:root {
  --paper: #f1eee6;
  --rule: #e2dccd;
  --card: #fbfaf6;
  --ink: #11343a;
  --muted: #5d6e70;
  --line: #d9d3c4;
  --marker: #f2b43c;
  --marker-bg: #f8e7bf;
  --live: #1f7a4d;
  --review: #8a5a00;
  --soon: #11343a;
  --display: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1a1c;
    --rule: #18282b;
    --card: #152427;
    --ink: #e6efee;
    --muted: #9db0b1;
    --line: #2b3d40;
    --marker-bg: #3a2f17;
    --live: #6fd3a0;
    --review: #f2b43c;
    --soon: #8fd3d9;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  background-image: repeating-linear-gradient(var(--paper) 0 31px, var(--rule) 31px 32px);
  color: var(--ink);
  font: 17px/1.6 var(--display);
  overflow-x: clip;
}
a { color: inherit; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { background: var(--marker-bg); }
a:focus-visible { outline: 2px solid var(--marker); outline-offset: 2px; }

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px max(16px, env(safe-area-inset-right)) 64px max(16px, env(safe-area-inset-left));
  display: grid;
  gap: 48px;
}

.head { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.avatar { border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--line); }
.kicker, .sec, .no, .stamp, dt, .window-label, .hint, .totals .l {
  font-family: var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker { margin: 4px 0 6px; font-size: 12px; color: var(--muted); }
h1 { margin: 0; font-size: clamp(40px, 8vw, 64px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.mark { background: var(--marker-bg); border: 2px dashed var(--marker); padding: 0 .12em; border-radius: 4px; }
.lede { margin: 16px 0 0; max-width: 58ch; text-wrap: pretty; }
.links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-family: var(--mono); font-size: 14px; }
.links a { display: inline-flex; align-items: center; gap: 7px; }
.ico { width: 16px; height: 16px; flex: none; }

.totals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.totals div { padding: 16px 18px; display: grid; gap: 4px; min-width: 0; }
.totals div + div { border-left: 1.5px dashed var(--line); }
.totals .n { font: 700 32px/1 var(--mono); font-variant-numeric: tabular-nums; }
.totals .l { font-size: 11px; color: var(--muted); }

.sec { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.hint { margin: 0 0 18px; font-size: 11px; color: var(--muted); text-transform: none; letter-spacing: .02em; }

.entry {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px 20px;
  margin-bottom: 18px;
}
.entry-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.no { font-size: 13px; color: var(--muted); }
.stamp {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px 3px;
  border: 2px solid currentColor;
  outline: 1px solid currentColor;
  outline-offset: 2px;
  border-radius: 4px;
  transform: rotate(-4deg);
  white-space: nowrap;
}
.stamp-live { color: var(--live); }
.stamp-review { color: var(--review); }
.stamp-soon { color: var(--soon); background: var(--marker-bg); }
.entry h3 { margin: 8px 0 6px; font-size: 28px; letter-spacing: -.02em; }
.title { display: flex; align-items: center; gap: 12px; }
.logo { width: 40px; height: 40px; border-radius: 10px; flex: none; box-shadow: 0 0 0 1.5px var(--line); background: var(--card); }
.entry p { margin: 0; max-width: 62ch; text-wrap: pretty; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 14px; }
.facts div { min-width: 0; }
dt { font-size: 10.5px; color: var(--muted); }
dd { margin: 2px 0 0; font-family: var(--mono); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

/* The 30-day window: how much of the market test has passed. */
.window { position: relative; height: 22px; border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 30 - 1px), var(--line) calc(100% / 30 - 1px) calc(100% / 30)); }
.fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--marker); opacity: .55; }
.window-label { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10.5px; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .fill { transition: width .9s cubic-bezier(.2, .8, .2, 1); } }

.rules ol { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; max-width: 62ch; }
.rules li::marker { font-family: var(--mono); font-weight: 700; color: var(--muted); }

.foot { border-top: 1.5px dashed var(--line); padding-top: 18px; font-size: 14px; }
.foot p { margin: 0 0 4px; }
.muted { color: var(--muted); }

@media (max-width: 640px) {
  .page { padding-top: 32px; gap: 36px; }
  .head { grid-template-columns: 1fr; gap: 16px; }
  .avatar { width: 72px; height: 72px; }
  .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .totals div:nth-child(3) { border-left: 0; }
  .totals div:nth-child(n + 3) { border-top: 1.5px dashed var(--line); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entry { padding: 18px 16px; }
}
