/* site.css: landing and inner pages. */

/* hero */
.hero { position: relative; min-height: calc(100svh - var(--nav-h)); display: grid; grid-template-rows: 1fr auto; isolation: isolate; padding-bottom: 2.5rem; }
.wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hero-in { align-self: center; padding-block: clamp(3rem, 2rem + 6vh, 7rem) 2rem; }
.hero h1 { font-size: var(--fs-hero); letter-spacing: -0.045em; line-height: .98; max-width: 11ch; }
.hero h1 .tone { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: .625rem; margin-bottom: 1.75rem; padding: .4375rem .875rem .4375rem .75rem;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); background: color-mix(in srgb, var(--surface) 60%, transparent); backdrop-filter: blur(8px);
  font: 500 var(--fs-xs)/1.2 var(--font-mono); color: var(--text-2); }
.eyebrow .sep { color: var(--text-3); }
.live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--up); flex: none; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--up); opacity: 0; animation: live 2.8s var(--ease) infinite; }
@keyframes live { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(1.4); opacity: 0; } }
@media (max-width: 560px) { .eyebrow .fips { display: none; } }
/* the hero enters once */
.hero-in > * { animation: rise 760ms var(--ease) both; }
.hero-in > :nth-child(2) { animation-delay: 70ms; } .hero-in > :nth-child(3) { animation-delay: 140ms; } .hero-in > :nth-child(4) { animation-delay: 210ms; }
.hero .tape { animation: rise 760ms 280ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .hero-in > *, .hero .tape { animation: none; } .live::after { animation: none; } }
.lead { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); color: var(--text-2); max-width: 36ch; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* live tape */
.tape { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-md); background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(8px); overflow: hidden; min-height: 74px; }
.tape a { display: grid; gap: .25rem; padding: .875rem 1rem; border-right: 1px solid var(--line); min-width: 0; transition: background-color var(--t-fast) var(--ease); }
.tape a:last-child { border-right: 0; }
.tape a:hover { background: var(--mint-wash); }
.tape .t-c { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); color: var(--text-2); min-width: 0; }
.tape .t-c b { font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tape .t-p { display: flex; justify-content: space-between; gap: .5rem; font-size: var(--fs-sm); }
.tape-wait { grid-column: 1 / -1; align-self: center; padding: 0 1rem; color: var(--text-3); font-size: var(--fs-sm); }
@media (max-width: 1000px) { .tape { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tape a:nth-child(n+4) { display: none; } .tape a:nth-child(3) { border-right: 0; } }
@media (max-width: 560px) { .tape { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tape a:nth-child(3) { display: none; } .tape a:nth-child(2) { border-right: 0; } }

.hero + .frame { margin-top: clamp(2rem, 1rem + 4vw, 5rem); background: color-mix(in srgb, var(--bg) 55%, transparent); }

/* board */
.board-wrap { padding: 1.25rem clamp(1rem, .75rem + 1vw, 2rem) 1.5rem; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--r-pill); margin-bottom: 1rem; max-width: 100%; overflow-x: auto; }
.seg button { padding: .4375rem .875rem; border-radius: var(--r-pill); font-size: var(--fs-xs); color: var(--text-2); white-space: nowrap; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--surface-3); color: var(--text); }
.board { overflow-x: auto; }
.brow { display: grid; grid-template-columns: minmax(180px, 2.2fr) repeat(4, minmax(90px, 1fr)) minmax(110px, 1fr); gap: 1rem; align-items: center; padding: .75rem .5rem; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); min-width: 760px; }
.brow > span:not(:first-child) { text-align: right; }
.bhead { color: var(--text-3); font-size: var(--fs-xs); padding-top: 0; }
a.brow { transition: background-color var(--t-fast) var(--ease); border-radius: var(--r-sm); }
a.brow:hover { background: var(--mint-wash); }
.bm { display: flex; align-items: center; gap: .625rem; min-width: 0; }
.bm b { font-weight: 500; }
.bm em { font-style: normal; color: var(--text-3); font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-msg { padding: 2rem .5rem; color: var(--text-2); font-size: var(--fs-sm); }
.board-msg a { color: var(--mint); }

/* post-quantum */
.pq { display: flex; flex-direction: column; gap: .875rem; min-height: 260px; }
.pq h3 { font-size: var(--fs-2xl); }
.pq p { color: var(--text-2); }
.pq .eq { margin-top: auto; font-size: var(--fs-xl); color: var(--mint); }
.seal-live { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1.25rem, 1rem + 1vw, 2rem); }
.seal-cv { width: 100%; aspect-ratio: 1; }
.seal-copy { display: grid; gap: 1rem; justify-items: start; max-width: 52ch; }
.seal-copy h3 { font-size: var(--fs-2xl); }
.seal-copy > p { color: var(--text-2); }
.seal-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: .5rem 0; width: 100%; border-top: 1px solid var(--line); }
.seal-facts div { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.seal-facts dt { font-size: var(--fs-xs); color: var(--text-3); }
.seal-facts dd { margin: .125rem 0 0; }
.seal-facts .ok { color: var(--up); }
.fine { font-size: var(--fs-xs); color: var(--text-3); }
@media (max-width: 860px) { .seal-live { grid-template-columns: minmax(0, 1fr); } .seal-cv { max-width: 360px; } }

/* privacy facts */
.fact { display: grid; gap: .625rem; align-content: start; }
.fact h3 { font-size: var(--fs-xl); letter-spacing: -0.02em; }
.fact p { color: var(--text-2); font-size: var(--fs-sm); }

/* cta */
.cta { padding: clamp(3rem, 2rem + 4vw, 6rem) clamp(1.25rem, 1rem + 1vw, 2rem); background: radial-gradient(70% 120% at 100% 100%, var(--mint-wash), transparent 60%); }
.cta h2 { font-size: var(--fs-3xl); max-width: 16ch; }

/* ---------- inner pages (404) ---------- */
.page { padding-top: clamp(2rem, 1rem + 3vw, 4rem); }
