:root {
  --bg: #080a0f;
  --ink: #eceef2;
  --muted: #8b909c;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #eceef2; --ink: #0c0e13; --muted: #5d626d; }
}
:root[data-theme="light"] { --bg: #eceef2; --ink: #0c0e13; --muted: #5d626d; }
:root[data-theme="dark"] { --bg: #080a0f; --ink: #eceef2; --muted: #8b909c; }

html { height: 100%; scroll-padding-top: env(safe-area-inset-top, 0px); }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; height: 100%;
  background: var(--bg); color: var(--ink);
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
#field { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

.page {
  position: relative; z-index: 1; height: 100%;
  display: grid; grid-template-rows: auto 1fr;
  padding: clamp(24px, 5vw, 56px);
  pointer-events: none;
}
.page a { pointer-events: auto; }

.logo {
  justify-self: start;
  display: block; font-weight: 500; font-size: 1.5rem; letter-spacing: 0.22em; line-height: 1;
  color: var(--ink); text-decoration: none;
}
.lam { display: inline-block; transform: scaleY(-1); }
h1 {
  margin: 0; max-width: 15ch; text-align: center;
  font-weight: 500; font-size: clamp(1.9rem, 6vw, 5.1rem);
  line-height: 0.98; letter-spacing: -0.035em;
  text-wrap: balance;
}
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero {
  align-self: center; justify-self: center;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(56px, 8vw, 88px); text-align: center; width: 100%;
}
.wl {
  display: flex; flex-wrap: nowrap; width: min(100%, 460px); pointer-events: auto;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); border-radius: 3px; overflow: hidden;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.wl:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.wl input {
  flex: 1 1 auto; min-width: 0;
  font-family: inherit; font-size: 1.12rem; font-weight: 400; color: var(--ink);
  padding: 14px 17px; border: 0; border-radius: 0; background: transparent;
}
.wl input::placeholder { color: var(--muted); }
.wl input:focus-visible { outline: none; }
.wl button {
  flex: 0 0 auto; font-family: inherit; font-size: 1.12rem; font-weight: 500;
  padding: 14px 21px; border: 0; border-radius: 0;
  background: var(--ink); color: var(--bg); cursor: pointer;
}
.wl button:hover { opacity: .88; }
.wl button:disabled { opacity: .5; cursor: default; }
.wl button:focus-visible { outline: 2px solid var(--bg); outline-offset: -4px; }
.wl-msg { font-family: inherit; margin: calc(16px - clamp(56px, 8vw, 88px)) 0 0; min-height: 1.4em; color: var(--muted); font-size: .95rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact {
  justify-self: start;
  color: var(--muted); text-decoration: none; font-size: 1.35rem;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.contact:hover, .contact:focus-visible { color: var(--ink); border-color: currentColor; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
