@font-face { font-family: "Geist"; src: url(fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif.woff2) format("woff2"); font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }
/* Softeo site layer. Theme tokens + page components. The engine (scrollcraft.css) is untouched. */
:root {
  /* One dark system for the whole site. Every surface, line and radius below is shared; pages use these, not their own. */
  --bg: #0B0F1A;            /* page */
  --bg-2: #0E1424;          /* alternate section */
  --surface: #131A2B;       /* cards and panels */
  --surface-2: #1A2238;     /* things inside a card */
  --line: rgb(255 255 255 / .1);
  --line-strong: rgb(255 255 255 / .16);
  --ink: #FFFFFF; --ink-soft: rgb(255 255 255 / .62); --ink-faint: rgb(255 255 255 / .45);
  --blue: #8B5CF6; --blue-2: #8B5CF6; --blue-light: #67E8F9;
  /* older names, kept so existing components follow the dark system */
  --night: var(--bg); --paper: var(--bg); --paper-2: var(--bg-2);
  --teal: var(--blue-2); --teal-lite: var(--blue-light); --amber: #F2A65A; --amber-lite: #F2B36A;
  --sc-canvas: var(--bg); --sc-surface: var(--surface);
  --sc-ink: var(--ink); --sc-ink-soft: var(--ink-soft); --sc-hairline: var(--line);
  --sc-accent: var(--blue-2); --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Geist", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;
  --sc-font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --radius: 20px; --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgb(0 0 0 / .8);
}
body { margin: 0; background: var(--paper); color: var(--sc-ink); font-family: var(--sc-font-text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.dark { background: var(--bg); color: var(--ink); }
.sc-display em, h1 em, h2 em, h3 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--blue-light); }
.dark .sc-display em { color: var(--teal-lite); }

/* ---- nav ---- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem clamp(16px, 4vw, 40px); color: var(--bar-ink, var(--ink)); transition: color .3s, background-color .3s; }
.bar.on-dark { --bar-ink: #FFFFFF; }
/* the header stays fully transparent at every scroll position; only its ink follows the section under it */
.bar.solid { background: transparent; backdrop-filter: none; --bar-ink: var(--ink); }
.bar.solid.on-dark { background: transparent; --bar-ink: #fff; }
.mark { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sc-font-display); font-size: 1.3rem; font-weight: 600; color: inherit; text-decoration: none; }
.mark img { width: 28px; height: 28px; }
.bar nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem); font-size: .92rem; }
.bar nav a { color: inherit; text-decoration: none; }
.bar nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .bar nav .hide-sm { display: none; } }

.btn { display: inline-flex; align-items: center; gap: .45rem; padding: .62rem 1.1rem; border-radius: 999px; font-family: "Geist", system-ui, sans-serif; font-weight: 600; font-size: .92rem;
  text-decoration: none; border: 1.5px solid currentColor; color: inherit; background: transparent; cursor: pointer; font-family: inherit;
  transition: background-color .2s, color .2s, transform .2s; min-height: 44px; box-sizing: border-box; }
/* primary button: the same white pill everywhere */
.btn--solid { background: #fff; border-color: #fff; color: #0B0B0C; }
.btn--solid:hover { background: rgb(255 255 255 / .88); border-color: transparent; }
.btn:not(.btn--solid):hover { background: rgb(127 127 127 / .12); }
.btn--lg { padding: .9rem 1.5rem; font-size: 1rem; }

/* ---- shared mock pieces ---- */
.card { background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.botcard { padding: 1rem 1.1rem; width: 240px; font-size: .82rem; }
.botcard h4 { margin: 0 0 .15rem; font-family: var(--sc-font-display); font-size: 1.15rem; font-weight: 600; }
.botcard .meta { color: rgb(255 255 255 / .55); font-size: .74rem; }
.botcard dl { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; margin: .7rem 0 0; }
.botcard dt { color: rgb(255 255 255 / .55); } .botcard dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.loss { color: var(--amber); }
.pill { display: inline-block; padding: .12rem .5rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pill--paper { background: #E6F2F0; color: var(--teal); }
.pill--live { background: #FBEBD9; color: var(--amber); }
.illus { font-size: .66rem; color: rgb(255 255 255 / .45); margin-top: .6rem; font-style: italic; }
.spark { width: 100%; height: 40px; margin-top: .5rem; }

/* ---- sub-page layout ---- */
.page-hero { padding: clamp(8rem, 18vh, 12rem) 0 clamp(3rem, 8vh, 5rem); }
.page-hero .sc-lede { margin-top: 1.4rem; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tile { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tile h3 { font-family: var(--sc-font-display); font-weight: 600; font-size: 1.3rem; margin: 0 0 .5rem; line-height: 1.2; }
.tile p { margin: 0; color: var(--sc-ink-soft); }
.tile .num { font-family: var(--sc-font-display); font-style: italic; color: var(--teal); font-size: 1.1rem; display: block; margin-bottom: .6rem; }
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--sc-font-display); font-weight: 600; font-size: 1.5rem; margin: 2.6rem 0 .6rem; }
.prose p, .prose li { color: var(--sc-ink-soft); }
.draft { border-left: 3px solid var(--amber); padding: .8rem 1rem; background: rgb(242 166 90 / .1); color: #F6C99A; border-radius: 0 8px 8px 0; font-size: .92rem; }

/* ---- invite band + footer, shared by every page ---- */
.invite { padding: clamp(5rem, 14vh, 9rem) 0 0; text-align: left; }
.invite h2 { max-width: 14ch; }
.invite .row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 3rem 0 2rem; margin-top: clamp(4rem, 10vh, 7rem);
  border-top: 1px solid var(--sc-hairline); font-size: .86rem; color: var(--sc-ink-soft); }
.foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot a { color: inherit; }
.foot small { display: block; max-width: 60ch; margin-top: .4rem; font-size: .76rem; }



/* Header, matched to the hero reference: Geist, 15px/500 links, 40px outline pill with an arrow. */
.bar { padding: 24px clamp(16px, 3.6vw, 72px); font-family: "Geist", system-ui, sans-serif; }
.bar .mark { font-family: "Geist", system-ui, sans-serif; font-size: 26px; font-weight: 500; letter-spacing: -0.03em; gap: 10px; }
.bar .mark img { width: 30px; height: 30px; }
.bar nav { gap: 36px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.bar nav .btn { height: 40px; min-height: 40px; padding: 0 18px; border-radius: 20px; border-width: 1px; font-size: 15px; font-weight: 500; gap: 10px; }
.bar nav .btn svg { width: 12px; height: 12px; }
@media (max-width: 640px) { .bar nav { gap: 16px; } .bar .mark { font-size: 22px; } }


/* shared dark details */
.sc-display { font-weight: 400; letter-spacing: -0.04em; }
.tile h3, .botcard h4, .step h3, .layers li h3, .breach h3, .app h3, .modecard .big, .wallet header b { font-family: "Geist", system-ui, sans-serif; font-weight: 500; letter-spacing: -0.02em; }
.pill--paper { background: rgb(34 211 238 / .14); color: var(--blue-light); }
.pill--live { background: rgb(242 166 90 / .16); color: var(--amber); }
