@font-face { font-family: Geist; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-latin-ext-wght-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Geist; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-latin-wght-normal.woff2') format('woff2'); }
:root { color-scheme: dark; --bg: #000; --ink: #fff; --muted: #999; --accent: #fff; --green: #00e676; --red: #ff3345; --orange: #ff9500; font-family: Geist, 'Helvetica Neue', sans-serif; font-weight: 350; font-synthesis: none; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; background: #000; color: #fff; }
body { overflow: hidden; -webkit-font-smoothing: antialiased; }
button, textarea { font: inherit; }
button { color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, textarea:focus-visible { outline: 1px solid white; outline-offset: 6px; }
button:disabled { cursor: wait; opacity: .3; }
button, textarea { touch-action: manipulation; }
::selection { background: #fff; color: #000; }
[hidden] { display: none !important; }
.sr-only, .who { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#world { position: fixed; inset: 0; transition: filter .5s, opacity .5s; }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
#scene { position: absolute; inset: 78px 0 80px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 24px 28px; text-align: center; opacity: 0; transition: opacity .35s; }
#scene.formed { opacity: 1; }
#scene:not(.formed) { transition: none; }
#scene:not(.formed) button, #scene:not(.formed) input, #scene:not(.formed) select, #scene:not(.formed) textarea { pointer-events: none; }
#scene { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #ffffff20 transparent; }
.scene-content { width: min(100%, 520px); margin: auto 0; flex: 0 0 auto; }
.service-heading { margin-bottom: 30px; }
.service-icon { display: block; width: 64px; height: 64px; image-rendering: pixelated; margin: 0 auto 20px; }
.service-name { margin: 0; font-size: 12px; color: #aaa; line-height: 1.5; letter-spacing: .025em; }
.service-body { display: flex; flex-direction: column; gap: 24px; }
.status-panel h1 { font-size: clamp(28px, 3.5vw, 40px); min-block-size: 2.4em; display: grid; place-items: center; }
.status-panel h1.sr-only { min-block-size: 0; }
.status-panel h1 .live-value { width: 100%; }
.live-value { position: relative; display: block; }
.local-particles { position: fixed; pointer-events: none; z-index: 2; }
.service-location { margin: 6px 0 0; font-size: 12px; color: #aaa; }
.brand { display: flex; align-items: center; justify-content: center; width: max-content; max-width: 100%; margin-inline: auto; gap: 16px; font-size: 32px; transform-origin: 0 0; }
.brand .eagle { display: block; width: 48px; height: auto; margin: 0; image-rendering: auto; }
.brand-name { font-weight: 350; letter-spacing: -.035em; white-space: nowrap; }
.intro h1 { font-size: clamp(29px, 4vw, 40px); font-weight: 350; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 300; line-height: 1.17; letter-spacing: -.035em; text-wrap: balance; }
.welcome h1 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 300; letter-spacing: -.035em; }
.description { color: #aaa; font-size: 13px; font-weight: 350; line-height: 1.65; min-height: 3.3em; margin: 10px auto 0; max-width: 390px; text-wrap: balance; }
.info-panel { margin: 0; padding: 4px 20px; border: 1px solid #ffffff24; border-radius: 4px; text-align: left; }
.fact { min-height: 64px; padding: 12px 0; display: grid; grid-template-columns: minmax(90px, .9fr) minmax(0, 1.5fr); align-items: center; gap: 20px; }
.fact + .fact { border-top: 1px solid #ffffff12; }
.fact.vacant { visibility: hidden; }
.fact dt { color: #999; font-size: 11px; line-height: 1.5; min-height: 1.5em; }
.fact dd { margin: 0; color: #fff; font-size: 14px; line-height: 1.5; min-height: 3em; display: flex; align-items: center; overflow-wrap: anywhere; }
.measurements { display: grid; padding: 20px; text-align: center; }
.measurements.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.measurements .fact { display: block; padding: 0; }
.measurements .fact + .fact { border-top: 0; border-left: 1px solid #ffffff24; }
.measurements .fact dt { margin-bottom: 12px; }
.measurements .fact dd { display: block; min-height: 1.5em; font-size: 18px; }
.document { width: 100%; max-width: 480px; height: auto; display: block; margin: 0 auto; border-radius: 14px; }
.document-status { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 25px; font-size: 12px; }
.document-layout .service-heading { display: flex; align-items: center; justify-content: center; gap: 14px; }
.document-layout .service-heading .service-icon { width: 32px; height: 32px; margin: 0; }
.document-layout .status-panel { min-width: 0; }
.document-status { min-height: 2em; }
.passport { width: min(200px, 31vh); height: auto; display: block; margin: auto; border-radius: 4px 12px 12px 4px; }
#emblem { position: fixed; top: max(16px, env(safe-area-inset-top)); left: 16px; z-index: 6; padding: 9px; min-height: 44px; border: 0; background: transparent; text-align: left; }
#emblem .brand { gap: 8px; font-size: 16px; }
#emblem .eagle { width: 24px; }
.service-form { margin: 0; width: 100%; }
.form-panel { border: 1px solid #ffffff24; padding: 20px; border-radius: 4px; margin-bottom: 24px; }
.service-field { display: block; text-align: left; margin: 0; min-width: 0; }
.service-field + .service-field { margin-top: 20px; }
.service-field > span { display: block; color: #aaa; font-size: 11px; margin-bottom: 9px; }
.service-field input, .service-field textarea, .service-field select { display: block; width: 100%; min-height: 46px; font: inherit; font-size: 16px; color: #fff; background: #000; border: 1px solid #ffffff45; border-radius: 3px; padding: 11px 12px; outline-offset: 3px; }
.service-field textarea { min-height: 90px; resize: vertical; }
.service-actions { display: grid; gap: 12px; }
.service-action { position: relative; display: block; width: 100%; font-family: ui-monospace, 'Cascadia Mono', 'Courier New', monospace; font-size: 13px; font-weight: 600; color: #000; padding: 13px 20px; min-height: 54px; border: 2px solid #fff; border-radius: 0; background: #fff; clip-path: polygon(0 6px, 6px 6px, 6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px)); }
.service-action:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #000; }
.service-action.secondary:focus-visible { box-shadow: inset 0 0 0 2px #fff; }
.info-panel, .form-panel, .service-field input, .service-field textarea, .service-field select { border-radius: 0; }
.service-name, .fact dt, .service-field > span { font-family: ui-monospace, 'Cascadia Mono', 'Courier New', monospace; }
.service-action .live-value { min-height: 1.5em; line-height: 1.5; }
.service-action:hover:not(:disabled) { background: #e6e6e6; }
.service-action:active:not(:disabled) { background: #ccc; }
.service-action:disabled { opacity: 1; }
.service-action[data-completed="true"] { color: #777; cursor: default; }
.service-action.secondary { background: #000; color: #fff; border-color: #ffffff60; }
.service-action.secondary:hover:not(:disabled) { background: #111; }
.service-field [data-completed="true"] { opacity: 1; color: #aaa; }
.catalog-link { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 16px 0; border: 0; border-bottom: 1px solid #ffffff18; background: transparent; text-align: left; font-size: 14px; color: #ddd; }
.catalog-link:hover { color: #fff; }
.catalog-link .service-icon { flex-shrink: 0; width: 32px; height: 32px; margin: 0; }
.catalog-link > span:not(.navigation-arrow) { flex: 1; }
.navigation-arrow { font-size: 16px; color: #888; }
.catalog { margin: 36px auto 0; text-align: left; max-width: 440px; }
.catalog-group { margin-bottom: 35px; }
.catalog-group h2 { font-size: 11px; font-weight: 400; color: #777; margin: 0 0 12px; letter-spacing: .035em; }
#entry { position: fixed; bottom: max(13px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; }
#conversation-line { width: 220px; height: 48px; background: none; border: 0; display: flex; justify-content: center; align-items: center; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; }
#conversation-line span { display: block; height: 2px; width: 112px; background: white; border-radius: 1px; transition: width .4s, opacity .4s; }
#conversation-line:hover span, #conversation-line:focus-visible span { width: 140px; }
body.listening #conversation-line span { animation: breathe 1.8s ease-in-out infinite; }
body.thinking #conversation-line span { animation: breathe 1s ease-in-out infinite; }
body.speaking #conversation-line span { animation: breathe .65s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .4; transform: scaleX(.8); } }
#notice { position: fixed; bottom: 105px; left: 50%; transform: translateX(-50%); width: min(450px, calc(100% - 48px)); z-index: 8; text-align: center; color: #fff; font-size: 12px; line-height: 1.7; pointer-events: none; opacity: 0; transition: opacity .25s; }
#notice.visible { opacity: 1; }
body.chat-open #notice { bottom: auto; top: 14px; }
#conversation { position: fixed; inset: 0; z-index: 3; background: #0003; animation: reveal .35s ease-out; }
body.chat-open #world { filter: blur(6px); opacity: .6; }
@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
.conversation-inner { max-width: 620px; margin: auto; height: 100%; display: flex; flex-direction: column; padding: max(54px, env(safe-area-inset-top)) 28px max(85px, calc(env(safe-area-inset-bottom) + 68px)); }
.icon-button { background: none; border: none; padding: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.icon-button:hover { opacity: .65; }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
#messages { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ffffff20 transparent; padding: 26px 4px 35px; scroll-behavior: smooth; mask-image: linear-gradient(transparent, #000 20px, #000 calc(100% - 15px), transparent); }
.message { position: relative; margin: 0 0 32px; max-width: 92%; }
.message p { font-size: 15px; font-weight: 350; line-height: 1.7; margin: 0; color: #fff; white-space: pre-wrap; overflow-wrap: anywhere; text-shadow: 0 1px 10px #000, 0 1px 3px #000; }
.message.user { margin-left: auto; max-width: 80%; text-align: right; }
.message.user { border-right: 2px solid #00e676; padding-right: 14px; }
.message.assistant { border-left: 2px solid #559dff; padding-left: 14px; }
.message.user p { color: #fff; }
.message.streaming p::after { content: ''; display: inline-block; width: 4px; height: 10px; background: #fff; margin-left: 5px; vertical-align: baseline; animation: breathe 1s ease-in-out infinite; }
.message.pending { opacity: 1; }
.service-link { background: none; border: none; border-bottom: 1px solid #ffffff50; padding: 10px 0 6px; margin-top: 5px; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; color: #fff; text-align: left; text-shadow: 0 1px 8px #000; }
.service-link:hover { border-color: white; }
.service-link span:last-child { font-size: 15px; }
.conversation-bottom { flex-shrink: 0; padding-top: 12px; }
#composer { display: flex; align-items: flex-end; gap: 5px; border-bottom: 1px solid #ffffff80; padding-bottom: 8px; }
#message { background: transparent; color: #fff; border: 0; outline: none; padding: 11px 0; min-height: 44px; max-height: 132px; resize: none; width: 100%; line-height: 1.5; font-size: 16px; border-radius: 0; caret-color: white; }
#message { min-width: 0; }
#microphone { border: 1px solid #ffffff38; padding: 6px; width: 46px; height: 46px; }
#microphone .service-icon { width: 32px; height: 32px; margin: 0; }
#send { width: 46px; height: 46px; padding: 6px; }
#send .service-icon { width: 32px; height: 32px; margin: 0; flex-shrink: 0; }
#microphone[aria-pressed="true"] { border-color: #ff3345; background: #ff3345; }
#microphone[aria-pressed="true"]:hover { opacity: 1; }
#voice-status { color: #ff3345; font-family: ui-monospace, monospace; font-size: 11px; line-height: 18px; margin: 0; white-space: nowrap; }
#voice-status::before { content: ''; display: inline-block; width: 4px; height: 4px; background: currentColor; margin-right: 8px; vertical-align: middle; }
.home-start { width: min(100%, 480px); min-height: 240px; display: grid; place-items: center; }
.home-item { animation: reveal .45s ease-out; }
.home-motif { display: block; width: min(320px, 100%); height: auto; margin: 0; image-rendering: pixelated; }
.home-services { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 112px; width: min(320px, 100%); padding: 22px 28px; border: 1px solid #ffffff65; background: #000; color: #fff; font: 26px ui-monospace, 'Cascadia Mono', monospace; }
.home-services:hover { border-color: #fff; }
.home-services:active { background: #151515; }
.home-services .service-icon { width: 64px; height: 64px; margin: 0; flex-shrink: 0; }
.home-tip { max-width: 340px; margin: 0; color: #ddd; font-size: 16px; font-weight: 350; line-height: 1.8; text-wrap: balance; }
.home-reminder { display: flex; align-items: center; gap: 22px; width: min(400px, 100%); padding: 22px 20px; background: #000; color: #fff; border: 1px solid #ff334550; text-align: left; font-size: 17px; font-weight: 350; line-height: 1.7; }
.home-reminder:hover { border-color: #ff3345; }
.home-reminder .service-icon { width: 48px; height: 48px; flex-shrink: 0; margin: 0; }
#message:focus-visible { outline: none; }
#composer:focus-within { border-color: white; }
noscript { display: block; padding: 30px; }
@media (max-width: 600px) {
  #scene { padding: 20px 24px; }
  .fact { gap: 14px; }
  .fact dd { font-size: 13px; }
  .description { font-size: 13px; }
  .conversation-inner { padding-left: 24px; padding-right: 24px; padding-top: 34px; }
  .document { border-radius: 10px; }
}
@media (min-width: 650px) {
  .paired-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .paired-fields .service-field + .service-field { margin-top: 0; }
}
@media (min-width: 1000px) {
  .document-layout:has(.info-panel:not([hidden])) { width: min(100%, 740px); }
  .document-layout:has(.info-panel:not([hidden])) .service-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
}
@media (max-height: 650px) {
  .service-heading { margin-bottom: 20px; }
  .service-heading .service-icon { width: 48px; height: 48px; margin-bottom: 16px; }
  h1 { font-size: 30px; }
  .document { max-width: min(480px, 65vh); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
