/* Full-height video backdrop with a Calico-sized frosted prompt surface. */
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin-variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Let the video show through the header until the hero leaves the viewport.
   Open navigation panels keep their normal theme surfaces and text colors. */
html:not(.search-is-open) .site-header.is-over-hero:not(:has(.nav.open, .login-menu[open])) {
  --ink: #fff;
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
}
html:not(.search-is-open) .site-header.is-over-hero:not(:has(.nav.open, .login-menu[open])) :is(.brand, .menu-toggle, .search-toggle) { color: #fff; }
html:not(.search-is-open) .site-header.is-over-hero:not(:has(.nav.open, .login-menu[open])) .theme-switch button { color: rgb(255 255 255 / .65); }
html:not(.search-is-open) .site-header.is-over-hero:not(:has(.nav.open, .login-menu[open])) .theme-switch button:is([aria-pressed="true"], :hover) { color: #fff; }
html:not(.search-is-open) .site-header.is-over-hero:not(:has(.nav.open, .login-menu[open])) :is(.login-toggle, .search-toggle:hover) { background: rgb(255 255 255 / .1); color: #fff; }
html:not(.search-is-open) .site-header.is-over-hero:not(:has(.nav.open, .login-menu[open])) .login-toggle:hover { background: rgb(255 255 255 / .2); }
.landing-hero {
  --landing-header-height: 82px;
  --landing-surface: #000;
  --landing-input: rgb(255 255 255 / .1);
  --landing-border: rgb(255 255 255 / .2);
  --landing-muted: rgb(255 255 255 / .82);
  --ink: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 100svh;
  margin-top: calc(-1 * var(--landing-header-height));
  padding: calc(80px + var(--landing-header-height)) 24px 80px;
  background: var(--landing-surface);
  color: var(--ink);
  font-family: 'Inter', var(--font-sans);
}
.landing-backdrop { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.landing-backdrop-shade { position: absolute; inset: 0; z-index: 1; background: rgb(0 0 0 / .32); pointer-events: none; }
.landing-content { position: relative; top: -32px; z-index: 2; width: min(100%, 720px); text-align: center; }
.landing-actions { justify-content: center; margin-top: 24px; }
:root .landing-hero .actions .button.research-cta { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .4); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
:root .landing-hero .actions .button.research-cta:hover { background: rgb(255 255 255 / .18); border-color: rgb(255 255 255 / .65); color: #fff; }
.landing-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1.2px;
}
.landing-subtitle {
  width: 100%;
  max-width: none;
  margin: 0 auto 32px;
  color: var(--landing-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-wrap: wrap;
}
.landing-prompt {
  position: relative;
  width: min(100%, 627px);
  margin-inline: auto;
  border: 1px solid var(--landing-border);
  border-radius: 12px;
  background: var(--landing-input);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  text-align: left;
}
.landing-prompt:focus-within { border-color: var(--ink); }
.landing-prompt-form { margin: 0; padding: 20px 24px 52px; }
.landing-input-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.landing-prompt-field { position: relative; min-height: 22.5px; }
.landing-prompt-field textarea, .landing-prompt-example {
  width: 100%;
  margin: 0;
  padding: 0;
  color: rgb(255 255 255 / .82);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.15px;
  overflow-wrap: break-word;
}
.landing-prompt-field textarea { display: block; height: 22.5px; resize: none; border: 0; outline: none; border-radius: 0; background: transparent; }
.landing-prompt-field textarea::placeholder { color: var(--landing-muted); opacity: 1; }
.landing-prompt-example { display: none; position: absolute; inset: 0; pointer-events: none; }
.landing-prompt.is-ready .landing-prompt-example { display: block; }
.landing-prompt.is-ready textarea::placeholder { color: transparent; }
.landing-prompt:focus-within .landing-prompt-example, .landing-prompt.has-input .landing-prompt-example { display: none; }
.landing-prompt:focus-within textarea::placeholder { color: var(--landing-muted); }
.landing-prompt-caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: currentColor; animation: landing-caret 1s step-end infinite; }
.landing-prompt-actions { position: absolute; bottom: 14px; left: 20px; right: 20px; display: flex; justify-content: flex-end; }
.landing-prompt-submit { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #000; }
.landing-prompt-submit::after { content: ''; position: absolute; inset: -6px; }
.landing-prompt-submit:hover { opacity: .8; }
.landing-prompt-submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.landing-video-toggle { position: absolute; z-index: 2; right: 24px; bottom: 24px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgb(255 255 255 / .3); border-radius: 50%; background: rgb(0 0 0 / .2); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.landing-video-toggle:hover { background: rgb(0 0 0 / .4); }
.landing-video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.landing-video-toggle[hidden], .landing-video-toggle [hidden] { display: none; }
@keyframes landing-caret { 50% { opacity: 0; } }
@media (max-width: 960px) { .landing-hero { --landing-header-height: 70px; } }
@media (max-width: 600px) {
  .landing-hero { padding: calc(64px + var(--landing-header-height)) 24px 64px; }
  .landing-hero h1 { letter-spacing: -.9px; }
  .landing-subtitle { font-size: 15px; margin-bottom: 24px; }
  .landing-prompt-field { min-height: 67.5px; }
  .landing-prompt-field textarea { height: 67.5px; }
}
@media (prefers-reduced-motion: reduce) { .landing-prompt-caret { animation: none; } }
