/* Self-hosted, SIL Open Font License 1.1: Kinnita Sans (ours, from Geist), Instrument Serif, Geist Mono */
@font-face { font-family: 'Kinnita Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/KinnitaSans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Kinnita Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/KinnitaSans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Kinnita Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/KinnitaSans-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/GeistMono-normal-400_600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/GeistMono-normal-400_600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/InstrumentSerif-italic-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/InstrumentSerif-italic-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/InstrumentSerif-normal-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/InstrumentSerif-normal-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Kinnita · ink, ivory and one colour: wax ---------- */
:root {
  --ink: #0A0C11; --ink-2: #10131A; --ink-3: #171B24;
  --ivory: #F3EEE4; --ivory-2: #E9E2D4; --ivory-3: #DCD3C2;
  --wax: #A8251F; --wax-hi: #D9493A; --wax-deep: #6E1612;
  --on-dark: #EDE8DE; --muted-dark: #8F949E; --line-dark: rgba(243, 238, 228, .09);
  --on-light: #12151C; --muted-light: #5E646F; --line-light: rgba(10, 12, 17, .11);
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Kinnita Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--on-dark); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--wax); color: var(--ivory); }

main > section { position: relative; padding: 148px max(24px, calc((100vw - var(--wrap)) / 2)); }
.light { background: var(--ivory); color: var(--on-light); }

/* ---------- type ---------- */
.display { font-family: var(--sans); font-weight: 560; font-size: clamp(46px, 6.2vw, 98px); line-height: .98; letter-spacing: -.048em; }
.display em, .display-2 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: -.008em; }
.display em { background: linear-gradient(100deg, #F0765F 0%, #D9493A 45%, #A8251F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.display-2 { font-family: var(--sans); font-weight: 560; font-size: clamp(34px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -.042em; }
.display-2 em { color: #A9A398; }
.light .display-2 em { color: #8B8478; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--wax-hi); margin-bottom: 22px; }
.light .kicker { color: var(--wax); }
.sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted-dark); max-width: 640px; margin-top: 26px; line-height: 1.55; }
.light .sub { color: var(--muted-light); }
.mono { font-family: var(--mono); }
.section-head { max-width: 900px; margin-bottom: 64px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font: 600 15px/1 var(--sans); letter-spacing: .005em;
  color: #FFF8F0; padding: 17px 26px; border-radius: 999px;
  background: linear-gradient(180deg, #C2342A 0%, #A8251F 55%, #8E1E19 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 30px -10px rgba(168, 37, 31, .7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 40px -12px rgba(217, 73, 58, .8); }
.btn:focus-visible, .seal-btn:focus-visible { outline: 2px solid var(--ivory); outline-offset: 4px; }
.btn-ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(243, 238, 228, .22); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(243, 238, 228, .5); filter: none; }
.btn-small { padding: 11px 18px; font-size: 14px; }
.btn-big { padding: 21px 34px; font-size: 17px; margin-top: 40px; }
.btn-dark { background: var(--ink); box-shadow: none; }
.btn-ghost-dark { background: transparent; color: var(--on-light); box-shadow: inset 0 0 0 1px rgba(10, 12, 17, .22); }
.btn-ghost-dark:hover { filter: none; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px max(24px, calc((100vw - var(--wrap)) / 2)); transition: background .35s, border-color .35s, padding .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 12, 17, .72); -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px); border-color: var(--line-dark); padding-top: 12px; padding-bottom: 12px; }
.nav-brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 34px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--muted-dark); transition: color .2s; }
.nav-links a:hover { color: var(--on-dark); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; align-content: center; padding-top: 150px !important; padding-bottom: 120px !important; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero-video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-video.playing { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 17, .96) 0%, rgba(10, 12, 17, .82) 30%, rgba(10, 12, 17, .2) 62%, rgba(10, 12, 17, 0) 100%),
              linear-gradient(0deg, var(--ink) 0%, rgba(10, 12, 17, 0) 28%); }
.hero-copy { position: relative; z-index: 2; max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 30px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--wax-hi); box-shadow: 0 0 0 0 rgba(217, 73, 58, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 73, 58, .55); } 70% { box-shadow: 0 0 0 12px rgba(217, 73, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 73, 58, 0); } }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #B8B3AA; max-width: 590px; margin-top: 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.assure { list-style: none; padding: 0; margin: 46px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; color: var(--muted-dark); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure svg { width: 16px; height: 16px; fill: none; stroke: var(--wax-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the request card on the hero */
.request { position: absolute; z-index: 3; right: max(24px, calc((100vw - var(--wrap)) / 2)); bottom: 6vh; width: 324px; transform: translateZ(0); padding: 20px 20px 16px; border-radius: 22px;
  background: rgba(17, 20, 27, .66); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(243, 238, 228, .1); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  animation: float-in 1.2s .6s var(--ease) both; }
@keyframes float-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.request-top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted-dark); }
.request-top time { margin-left: auto; font-weight: 400; }
.request-kicker { margin-top: 16px; font-size: 21px; font-weight: 650; letter-spacing: -.01em; color: var(--on-dark); }
.request-what { margin-top: 4px; color: #C9C4BA; font-size: 15px; }
.request-what b { color: var(--on-dark); font-weight: 600; }
.request-meta { margin: 14px 0 0; display: grid; gap: 6px; font-size: 13px; }
.request-meta div { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line-dark); }
.request-meta dt { color: var(--muted-dark); }
.request-meta dd { margin: 0; color: var(--on-dark); }
.request-actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; margin-top: 18px; }
.request-actions span { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; font-weight: 600; font-size: 14.5px; }
.r-reject { background: rgba(243, 238, 228, .07); color: #C9C4BA; }
.r-seal { background: var(--ivory); color: var(--ink); overflow: hidden; }
.r-seal .ring { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(var(--wax) calc(var(--p, 0) * 1%), rgba(10, 12, 17, .12) 0); }
.request.sealed .r-seal { background: var(--wax); color: #FFF5EC; }
.request.sealed .r-seal .ring { background: #FFF5EC; mask: none; }
.request-foot { margin-top: 12px; font-size: 12px; color: var(--muted-dark); }

/* ---------- partners ---------- */
.partners { padding-top: 46px !important; padding-bottom: 46px !important; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.partners p { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(28px, 6vw, 84px); }
.partners img { height: 30px; width: auto; filter: grayscale(1) brightness(0) invert(1); opacity: .62; transition: opacity .25s; }
.partners img:hover { opacity: 1; }
.partners .p-synmea { height: 24px; }

/* ---------- it is happening now ---------- */
.now { overflow: hidden; }
.now::before { content: ""; position: absolute; right: -200px; top: -120px; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(168, 37, 31, .16), rgba(168, 37, 31, 0)); pointer-events: none; }
.now .kicker { display: inline-flex; align-items: center; gap: 10px; }
.cases { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 24px; overflow: hidden; }
.case { background: var(--ink); padding: 34px 32px 30px; display: flex; flex-direction: column; gap: 14px; transition: background .3s; }
.case:hover { background: var(--ink-2); }
.case b { font-size: clamp(44px, 4.6vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--wax-hi); }
.case p { color: #C9C4BA; font-size: 16px; line-height: 1.5; flex: 1; }
.case a, .agents a:not(.btn) { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: #6F747E; text-decoration: none; border-top: 1px solid var(--line-dark); padding-top: 12px; }
.case a:hover, .agents a:not(.btn):hover { color: var(--on-dark); }
.agents { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 16px; margin-top: 16px; }
.agents > div { border: 1px solid var(--line-dark); border-radius: 24px; padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 12px; background: var(--ink-2); }
.agents b { font-size: 34px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; color: var(--on-dark); }
.agents p { color: var(--muted-dark); font-size: 15.5px; flex: 1; }
.agents-cta { background: linear-gradient(160deg, rgba(168, 37, 31, .32), rgba(168, 37, 31, .08)) !important; border-color: rgba(217, 73, 58, .45) !important; justify-content: space-between; }
.agents-cta p { font-size: clamp(22px, 2vw, 28px); font-weight: 560; letter-spacing: -.03em; line-height: 1.2; color: var(--on-dark); }
.agents-cta em { font-family: var(--serif); font-weight: 400; font-size: 1.1em; color: #F0A090; }
.agents-cta .btn { align-self: flex-start; }
.js .cases .reveal:nth-child(2), .js .cases .reveal:nth-child(5) { transition-delay: .08s; }
.js .cases .reveal:nth-child(3), .js .cases .reveal:nth-child(6) { transition-delay: .16s; }

/* ---------- the stream ---------- */
.feed { background: linear-gradient(180deg, var(--ink-2), #0D1016); border: 1px solid var(--line-dark); border-radius: 26px; padding: 10px 10px 14px; box-shadow: 0 50px 120px -60px rgba(168, 37, 31, .35); }
.feed-head, .feed-rows li { display: grid; grid-template-columns: 1.1fr 1.9fr 1fr; gap: 20px; align-items: center; }
.feed-head { padding: 14px 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6B707A; }
.feed-rows { list-style: none; margin: 0; padding: 0; min-height: 456px; }
.feed-rows li { padding: 16px 18px; border-top: 1px solid var(--line-dark); animation: row-in .7s var(--ease) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.actor { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--ink-3); color: #C9C4BA; border: 1px solid var(--line-dark); }
.avatar.ai { background: rgba(243, 238, 228, .06); font-family: var(--mono); font-size: 10.5px; }
.avatar.threat { background: rgba(217, 73, 58, .12); color: var(--wax-hi); border-color: rgba(217, 73, 58, .3); }
.actor b { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.actor small { display: block; color: #6B707A; font-size: 12px; }
.what { position: relative; font-size: 15px; color: var(--on-dark); min-width: 0; }
.what small { display: block; color: #7D828C; font-family: var(--mono); font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.what .t { background: linear-gradient(var(--wax-hi), var(--wax-hi)) no-repeat 0 58% / 0 1.5px; transition: background-size .6s var(--ease), color .6s; }
li.rolled .what .t { color: #6F737C; background-size: 100% 1.5px; }
.status { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; border: 1px solid var(--line-dark); color: var(--muted-dark); }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: #C9C4BA; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }
li.sealed .status { border-color: transparent; background: var(--wax); color: #FFF4EA; }
li.sealed .status img { width: 16px; height: 16px; animation: stamp .55s var(--ease) both; }
@keyframes stamp { 0% { transform: scale(2.4); opacity: 0; filter: blur(2px); } 60% { transform: scale(.88); opacity: 1; filter: none; } 100% { transform: scale(1); } }
li.rolled .status { color: var(--wax-hi); border-color: rgba(217, 73, 58, .35); }
li.held .status { color: var(--ivory); border-color: rgba(243, 238, 228, .3); }
.note { margin-top: 18px; font-size: 13px; color: #5F646D; text-align: right; }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.steps li { padding: 34px 30px 0 0; }
.steps li + li { padding-left: 30px; border-left: 1px solid var(--line-light); }
.step-n { display: block; font-family: var(--sans); font-weight: 520; letter-spacing: -.04em; font-size: 56px; line-height: 1; color: var(--wax); margin-bottom: 28px; }
.steps h3 { font-size: 21px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 12px; }
.steps p { color: var(--muted-light); font-size: 15.5px; }

/* ---------- the gesture ---------- */
.gesture { text-align: center; overflow: hidden; }
.gesture::before { content: ""; position: absolute; left: 50%; top: 58%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(168, 37, 31, .22), rgba(168, 37, 31, 0)); pointer-events: none; }
.gesture-inner { position: relative; display: grid; justify-items: center; }
.gesture .display-2 { max-width: 900px; }
.seal-btn { position: relative; margin-top: 64px; width: 184px; height: 184px; border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; touch-action: none; user-select: none; -webkit-user-select: none; }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.seal-ring circle { fill: none; stroke-width: 3; }
.seal-ring .track { stroke: rgba(243, 238, 228, .12); }
.seal-ring .fill { stroke: var(--wax-hi); stroke-linecap: round; stroke-dasharray: 351.9; stroke-dashoffset: calc(351.9 - 351.9 * var(--p, 0)); }
.seal-img { width: 128px; height: 128px; border-radius: 50%; box-shadow: 0 20px 50px -14px rgba(168, 37, 31, .8); transition: transform .3s var(--ease); }
.seal-btn.holding .seal-img { transform: scale(.94); }
.seal-btn.done .seal-img { animation: stamp-big .7s var(--ease); }
@keyframes stamp-big { 0% { transform: scale(.9); } 35% { transform: scale(1.12); } 100% { transform: scale(1); } }
.seal-label { position: absolute; bottom: -42px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); white-space: nowrap; }
.seal-status { margin-top: 70px; min-height: 2.6em; color: var(--muted-dark); max-width: 460px; }
.seal-status.ok { color: var(--on-dark); }

/* ---------- the journal ---------- */
.chain { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.block { position: relative; background: var(--paper, #FAF7F1); border: 1px solid var(--line-light); border-radius: 16px; padding: 16px 16px 14px; font-size: 13px; transition: border-color .4s, background .4s, transform .4s var(--ease); }
.block:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 50%; width: 15px; height: 1px; background: var(--ivory-3); }
.block .no { font-family: var(--mono); font-size: 11.5px; color: var(--muted-light); }
.block .act { margin: 8px 0 12px; font-weight: 600; line-height: 1.35; min-height: 2.7em; }
.block .h { font-family: var(--mono); font-size: 11px; color: var(--muted-light); display: flex; justify-content: space-between; gap: 6px; }
.block .h span:last-child { color: var(--on-light); }
.block.edited { border-color: var(--wax); background: #FBEDEA; transform: translateY(-4px); }
.block.broken { border-color: rgba(168, 37, 31, .5); background: #F8E6E2; }
.block.broken .h.prev span:last-child { color: var(--wax); text-decoration: line-through; }
.block.unverified { border-color: rgba(168, 37, 31, .3); background: #F7EEEA; }
.block.broken .badge, .block.edited .badge, .block.unverified .badge { display: inline-block; }
.badge { display: none; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--wax); }
.chain-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.chain-actions .btn-dark { color: var(--ivory); }
.chain-msg { font-size: 14px; color: var(--muted-light); }
.chain-msg.bad { color: var(--wax); font-weight: 600; }

/* ---------- comparison ---------- */
.compare { padding-top: 40px !important; }
.vs { width: 100%; border-collapse: collapse; font-size: 16px; }
.vs th, .vs td { padding: 20px 18px; border-bottom: 1px solid var(--line-light); text-align: center; }
.vs thead th { font-size: 13px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); font-weight: 500; }
.vs tbody th { text-align: left; font-weight: 500; }
.vs td { color: var(--muted-light); width: 22%; }
.vs .us { background: rgba(168, 37, 31, .06); color: var(--on-light); font-weight: 600; }
.vs thead .us { color: var(--wax); background: rgba(168, 37, 31, .09); border-radius: 14px 14px 0 0; }
.vs i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 14px; }
.vs .yes { background: var(--wax); color: #FFF4EA; }
.vs .no { color: #A29C90; }

/* ---------- vault ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 24px; overflow: hidden; }
.pillars article { background: var(--ink); padding: 38px 34px 42px; }
.pillars h3 { font-family: var(--sans); font-weight: 560; font-size: 26px; letter-spacing: -.03em; margin-bottom: 14px; }
.pillars p { color: var(--muted-dark); font-size: 15.5px; }

/* ---------- levels ---------- */
.levels { padding-top: 40px !important; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tiers article { position: relative; padding: 32px 28px 36px; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.tier-n { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--wax-hi); }
.tiers h3 { margin: 18px 0 12px; font-size: 22px; font-weight: 650; letter-spacing: -.01em; }
.tiers p { color: var(--muted-dark); font-size: 15px; }
.tier-accent { background: linear-gradient(180deg, rgba(168, 37, 31, .18), rgba(168, 37, 31, .04)) !important; border-color: rgba(217, 73, 58, .45) !important; }

/* ---------- name ---------- */
.name { text-align: center; }
.name .word { font-family: var(--sans); font-weight: 600; font-size: clamp(72px, 12vw, 176px); line-height: .9; letter-spacing: -.055em; }
.ipa { font-family: var(--mono); font-size: 16px; letter-spacing: .04em; color: var(--muted-light); vertical-align: middle; }
.meaning { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); margin-top: 18px; }
.meaning em { color: var(--wax); }
.name .sub { margin: 26px auto 0; }

/* ---------- pilot ---------- */
.pilot { text-align: center; }
.pilot > div { display: grid; justify-items: center; }
.pilot-seal { width: 72px; height: 72px; margin-bottom: 30px; filter: drop-shadow(0 18px 30px rgba(168, 37, 31, .5)); }
.pilot .sub { margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.foot { padding: 46px max(24px, calc((100vw - var(--wrap)) / 2)) 60px; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 14px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-top img { height: 26px; width: auto; }
.foot a { text-decoration: none; color: var(--on-dark); }
.foot-small { margin-top: 26px; font-size: 12.5px; color: #5F646D; }

/* ---------- reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2), .js .pillars .reveal:nth-child(2), .js .tiers .reveal:nth-child(2) { transition-delay: .08s; }
.js .steps .reveal:nth-child(3), .js .pillars .reveal:nth-child(3), .js .tiers .reveal:nth-child(3) { transition-delay: .16s; }
.js .steps .reveal:nth-child(4), .js .pillars .reveal:nth-child(4), .js .tiers .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .request { position: relative; right: auto; bottom: auto; margin-top: 56px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .block:nth-child(3n)::after { display: none; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .agents { grid-template-columns: 1fr 1fr; }
  .agents-cta { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  main > section { padding-top: 96px; padding-bottom: 96px; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav .btn-small { padding: 10px 14px; font-size: 13px; }
  .nav-brand img { height: 26px; }
  .hero { padding-top: 120px !important; padding-bottom: 64px !important; align-content: start; }
  .hero-media img, .hero-media video { object-position: 78% 30%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(10, 12, 17, .55) 0%, rgba(10, 12, 17, .86) 46%, var(--ink) 78%); }
  .request { width: 100%; }
  .partners { justify-content: center; text-align: center; }
  .partners img { height: 24px; }
  .feed-head { display: none; }
  .feed-rows { min-height: 620px; }
  .feed-rows li { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .feed-rows li .what { grid-column: 1 / -1; grid-row: 2; }
  .steps, .tiers, .pillars, .cases, .agents { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 30px 0 0; border-left: 0; }
  .chain { grid-template-columns: 1fr 1fr; }
  .block::after { display: none; }
  .vs th, .vs td { padding: 14px 8px; font-size: 14px; }
  .vs thead th { font-size: 10.5px; }
  .note { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-video { display: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-content: center; justify-items: start; }
.notfound-seal { width: 96px; height: auto; margin-bottom: 36px; }
.notfound .btn { margin-top: 40px; }
