:root {
  color-scheme: dark;
  --ink: #07131f;
  --ink-soft: #0d1d2b;
  --ivory: #f4eadc;
  --muted: #b79f8f;
  --amber: #f2b871;
  --coral: #d56f62;
  --teal: #6ba8a0;
  --line: rgba(244, 234, 220, 0.18);
  --shadow: rgba(0, 0, 0, 0.36);
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7, 19, 31, 0) 72%, rgba(7, 19, 31, 0.9) 100%),
    var(--ink);
}

.pixel-scene {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("./locumio-pixel-city.png");
  background-position: 56% center;
  background-size: cover;
  image-rendering: auto;
  transform: scale(1.01);
}

.shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 19, 31, 0.96) 0%, rgba(7, 19, 31, 0.84) 28%, rgba(7, 19, 31, 0.42) 58%, rgba(7, 19, 31, 0.16) 100%),
    radial-gradient(circle at 18% 48%, rgba(107, 168, 160, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(7, 19, 31, 0.22) 0%, rgba(7, 19, 31, 0.54) 100%);
}

.site-shell::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(244, 234, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 234, 220, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 66%);
  pointer-events: none;
}

.site-header {
  display: flex;
  width: min(var(--content-width), calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 28px 0;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.wordmark-mark {
  width: 18px;
  height: 18px;
  background:
    linear-gradient(var(--coral), var(--coral)) 0 0 / 6px 6px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 6px 6px / 6px 6px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 12px 12px / 6px 6px no-repeat;
  box-shadow: 0 0 28px rgba(213, 111, 98, 0.38);
}

.quiet-note {
  color: rgba(244, 234, 220, 0.64);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(244, 234, 220, 0.18);
  border-radius: 6px;
  background: rgba(7, 19, 31, 0.34);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.language-switch a {
  display: inline-flex;
  min-width: 38px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: rgba(244, 234, 220, 0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.language-switch a:hover {
  color: var(--ivory);
}

.language-switch a[aria-current="page"] {
  background: rgba(244, 234, 220, 0.12);
  color: var(--ivory);
}

.hero {
  display: grid;
  width: min(var(--content-width), calc(100% - 48px));
  min-height: calc(100vh - 96px);
  align-items: center;
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: 56px;
  margin: 0 auto;
  padding: 20px 0 96px;
}

.hero-copy {
  max-width: 560px;
}

.domain {
  margin: 0 0 26px;
  color: rgba(244, 234, 220, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 0.96;
}

.domain span {
  color: var(--coral);
}

h1 {
  max-width: 9ch;
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 10vw, 136px);
  font-weight: 400;
  line-height: 0.9;
}

.lead {
  margin: 32px 0 0;
  color: rgba(244, 234, 220, 0.88);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
}

.lead::before {
  display: block;
  width: 56px;
  height: 2px;
  margin: 0 0 30px;
  background: var(--coral);
  content: "";
}

.support {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(244, 234, 220, 0.66);
  font-size: 15px;
  line-height: 1.75;
}

.notify-form {
  display: grid;
  max-width: 520px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 42px;
  border: 1px solid rgba(213, 111, 98, 0.5);
  border-radius: 6px;
  background: rgba(7, 19, 31, 0.56);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.notify-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: rgba(7, 19, 31, 0.42);
  color: var(--ivory);
  font-size: 16px;
  padding: 20px 22px;
}

.notify-form input::placeholder {
  color: rgba(244, 234, 220, 0.44);
}

.notify-form input:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(242, 184, 113, 0.74);
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.notify-form button {
  min-width: 172px;
  border: 0;
  background: linear-gradient(135deg, #bd5e56, #e09573);
  color: #fff4e9;
  font-size: 15px;
  font-weight: 700;
  padding: 0 24px;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.notify-form button:hover {
  filter: brightness(1.08);
}

.notify-form button:active {
  transform: translateY(1px);
}

.notify-form button:disabled {
  cursor: not-allowed;
  filter: saturate(0.7);
  opacity: 0.7;
}

.privacy {
  margin: 18px 0 0;
  color: rgba(244, 234, 220, 0.48);
  font-size: 13px;
  line-height: 1.6;
}

.below-fold {
  position: absolute;
  right: max(24px, calc((100vw - var(--content-width)) / 2));
  bottom: 24px;
  left: max(24px, calc((100vw - var(--content-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 72px);
  color: rgba(244, 234, 220, 0.48);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.below-fold p {
  margin: 0;
}

.below-fold a {
  color: rgba(244, 234, 220, 0.68);
  text-decoration: none;
  text-transform: none;
  transition: color 180ms ease;
}

.below-fold a:hover {
  color: var(--ivory);
}

.below-fold::before,
.below-fold::after {
  flex: 1;
  height: 1px;
  background: rgba(244, 234, 220, 0.14);
  content: "";
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .site-header,
  .hero {
    width: min(100% - 32px, var(--content-width));
  }

  .pixel-scene {
    background-position: 64% center;
  }

  .shade {
    background:
      linear-gradient(180deg, rgba(7, 19, 31, 0.92) 0%, rgba(7, 19, 31, 0.75) 50%, rgba(7, 19, 31, 0.56) 100%),
      radial-gradient(circle at 20% 32%, rgba(107, 168, 160, 0.16), transparent 18rem);
  }

  .hero {
    min-height: calc(100vh - 82px);
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 118px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .support {
    max-width: 92%;
  }

  .below-fold {
    flex-wrap: wrap;
    row-gap: 12px;
    text-align: center;
  }

  .below-fold::before,
  .below-fold::after {
    min-width: 64px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 22px;
  }

  .header-actions {
    gap: 10px;
  }

  .quiet-note {
    display: none;
  }

  .hero {
    align-items: start;
    padding-top: 42px;
  }

  .domain {
    margin-bottom: 20px;
  }

  .lead {
    margin-top: 28px;
  }

  .notify-form {
    grid-template-columns: 1fr;
  }

  .notify-form button {
    min-height: 58px;
    width: 100%;
  }

  .below-fold {
    justify-content: flex-start;
    gap: 14px;
    font-size: 11px;
  }

  .below-fold::before,
  .below-fold::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
