/* beta.littleai.com (Herbert 2026-11-08, the canvas's Beta Gate and Beta Page). Fonts are served from here, never from
   an outside service: opening a page tells no one but our server. Light only, as the canvas draws it. */
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader.ttf") format("truetype"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-Italic.ttf") format("truetype"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("fonts/Manrope.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: light;
  --page: #F6F1E7; --band: #EFE8DA; --card: #FFFDF8; --line: #E4DACA; --line-2: #D9CDB8; --field-line: #DDD2BF;
  --head: #2A2520; --body: #3D362D; --soft: #4A4238; --sub: #6E6354; --hint: #8E8272;
  --ink: #2A2520; --on-ink: #FBF7EE; --accent: #1A6B87; --warn: #8A5300; --warn-line: #B8862E;
  --serif: "Newsreader", Georgia, serif; --ui: "Manrope", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--page); color: var(--head); font-family: var(--ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.mono { font-family: var(--mono); }
.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.rise.d1 { animation-delay: .15s; } .rise.d2 { animation-delay: .3s; } .rise.d3 { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.shake { animation: shake .36s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.cta { height: 56px; padding: 0 28px; border-radius: 9999px; background: var(--ink); color: var(--on-ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600;
  transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s ease; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(42, 37, 32, .18); }
.cta:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .rise, .shake { animation: none; } .cta { transition: none; } }

/* the gate */
.gate { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 16px; overflow: hidden; }
.glow { position: absolute; pointer-events: none; background: radial-gradient(closest-side, rgba(111, 156, 196, .16), transparent 70%); }
.gate .glow { left: 50%; top: 42%; width: 720px; height: 720px; transform: translate(-50%, -50%); }
.gate .box { position: relative; width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.gate h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.01em; }
.gate .brand { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.gate form { width: 100%; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.field { height: 58px; border-radius: 9999px; background: var(--card); border: 1px solid var(--field-line); box-shadow: 0 1px 2px rgba(60, 42, 20, .06);
  display: flex; align-items: center; padding-inline-end: 6px; transition: border-color .15s ease, box-shadow .15s ease; }
.field:focus-within { border-color: var(--head); box-shadow: 0 0 0 4px rgba(42, 37, 32, .08), 0 1px 2px rgba(60, 42, 20, .06); }
.field.bad { border-color: var(--warn-line); }
.field input { all: unset; flex: 1; min-width: 0; height: 100%; padding: 0 4px 0 22px; font-size: 16px; color: var(--head); letter-spacing: .02em; }
.field input::placeholder { color: var(--hint); letter-spacing: 0; }
.go { all: unset; cursor: pointer; flex: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #E9E1D2; color: var(--sub); transition: transform .18s cubic-bezier(.2, .7, .2, 1); }
.go.ready { background: var(--ink); color: var(--on-ink); }
.go.ready:hover { transform: translateX(2px); }
.help { text-align: center; font-size: 13px; line-height: 1.5; color: var(--sub); min-height: 20px; }
.help.bad { color: var(--warn); }
.foot { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--sub); }

/* the beta page */
.page { min-height: 100vh; overflow: hidden; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.top { padding-top: 28px; display: flex; align-items: center; gap: 12px; }
.top .name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.tag { height: 22px; padding: 0 9px; border-radius: 9999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; color: var(--sub); display: flex; align-items: center; }
.hero { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero .words { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.lede { margin: 0; max-width: 500px; font-size: 18px; line-height: 1.6; font-weight: 300; color: var(--soft); text-wrap: pretty; }
.act { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.meta { font-family: var(--mono); font-size: 12px; color: var(--sub); }
.moment { flex: 1 1 440px; min-width: 0; position: relative; display: flex; justify-content: center; }
.moment .glow { inset: -60px -40px; background: radial-gradient(closest-side, rgba(111, 156, 196, .18), transparent 70%); }
.moment .col { position: relative; width: min(100%, 480px); display: flex; flex-direction: column; gap: 6px; }
.bubble { align-self: flex-start; max-width: 300px; background: var(--card); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px;
  padding: 10px 14px; font-size: 14px; line-height: 1.45; color: var(--body); }
.bubble .mono { display: block; margin-top: 4px; font-size: 10.5px; color: var(--sub); }
.moment img { align-self: flex-end; width: min(100%, 368px); height: auto; }
.band { border-top: 1px solid var(--line); }
.band.tint { background: var(--band); }
.grid { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 48px; }
.grid .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.grid h2 { margin: 12px 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; }
.grid p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--soft); text-wrap: pretty; }
.steps { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; }
.steps h2 { flex: 1 1 300px; margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -.01em; }
.steps ol { flex: 2 1 520px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 20px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: none; }
.steps .k { flex: none; width: 28px; font-family: var(--mono); font-size: 13px; color: var(--sub); }
.steps b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.steps span { font-size: 14.5px; line-height: 1.55; color: var(--soft); }
.facts { padding-top: 64px; padding-bottom: 64px; }
.facts .label { font-family: var(--mono); font-size: 12px; color: var(--sub); }
.facts dl { margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 48px; }
.facts dt { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--soft); }
.close { padding-top: 96px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.close p { margin: 0; max-width: 720px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; color: var(--body); text-wrap: balance; }
.close .cta { height: 52px; padding: 0 26px; font-size: 15.5px; }
.close .meta { margin-top: 40px; font-size: 11.5px; }
