/* Coming soon landing page. TOKENS ONLY: colors, type, space, radii from tokens.css. */
html, body {
  height: 100%;
  margin: 0;
}
body.page-coming-soon {
  font-family: var(--font-base);
  font-size: var(--type-size-base);
  line-height: var(--type-line-height);
  background: var(--c-surface-inverse);
  color: var(--c-text-inverse);
  -webkit-font-smoothing: antialiased;
}

.cs-skip {
  position: absolute;
  left: -999px;
}
.cs-skip:focus, .cs-skip:focus-visible {
  left: var(--space-2);
  top: var(--space-2);
  z-index: 20;
  background: var(--c-surface);
  color: var(--c-text);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius-md);
  text-decoration: none;
}

.cs-page {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

a:focus-visible, .cs-btn:focus-visible, .cs-skip:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
}

.cs-shell {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: var(--layout-wide-width);
  margin: 0 auto;
  padding: var(--space-6) var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-6);
}

.cs-lockup {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: max-content;
  max-width: 100%;
}
.cs-lockup picture {
  display: block;
  flex: none;
  line-height: 0;
}
/* Rounded-square tile: the approved face sits on a slightly darker navy
   (~#0B1F38) than the page (#10243D), so the corner radius makes the mark a
   deliberate tile instead of a visible rectangle. The whole face is shown. */
.cs-mark {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  flex: none;
}
.cs-wordmark {
  font-weight: var(--type-weight-bold);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--c-text-inverse);
}

.cs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  flex: 1 1 auto;
}

.cs-kicker {
  margin: 0 0 var(--space-4);
  font-size: var(--type-size-small);
  font-weight: var(--type-weight-semibold);
  letter-spacing: var(--type-letter-spacing-caps);
  color: var(--c-accent);
}

.cs-title {
  margin: 0 0 var(--space-5);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, var(--type-size-hero));
  font-weight: var(--type-weight-bold);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--c-text-inverse);
}

.cs-line {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: var(--type-weight-regular);
  line-height: 1.35;
  color: var(--c-hero-text-soft);
  max-width: 22em;
}

.cs-line-emph {
  font-weight: var(--type-weight-semibold);
  color: var(--c-text-inverse);
  margin-bottom: var(--space-8);
}

.cs-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  box-sizing: border-box;
  min-height: 60px;
  padding: var(--space-5) var(--space-8);
  background: var(--c-button-primary-bg);
  color: var(--c-button-primary-text);
  font: inherit;
  font-size: 1.25rem;
  font-weight: var(--type-weight-bold);
  line-height: 1.25;
  text-decoration: none;
  border: var(--border-width-strong) solid transparent;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-2);
  cursor: pointer;
  transition: filter var(--motion-duration-fast) ease, transform var(--motion-duration-fast) ease;
}
.cs-btn:hover {
  filter: brightness(1.05);
}
.cs-btn:active {
  transform: translateY(1px);
}

.cs-handle {
  font-size: var(--type-size-small);
  font-weight: var(--type-weight-medium);
  color: var(--c-hero-text-soft);
  text-decoration: none;
}
.cs-handle:hover {
  color: var(--c-text-inverse);
  text-decoration: underline;
}

.cs-art {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.cs-art img {
  width: min(100%, 520px);
  height: auto;
  max-height: 52vh;
  object-fit: contain;
}

@media (min-width: 800px) {
  html, body, .cs-page, .cs-shell {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }
  .cs-shell {
    padding: var(--space-8) var(--space-8);
    justify-content: center;
  }
  .cs-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--space-12);
    min-height: 0;
  }
  .cs-art img {
    width: min(135%, 640px);
    max-height: 72vh;
    max-width: none;
  }
  .cs-title {
    font-size: clamp(2.4rem, 4.6vw, var(--type-size-hero));
    line-height: 1.04;
  }
}

@media (max-width: 799px) {
  .cs-shell {
    justify-content: flex-start;
    padding-top: var(--space-5);
    padding-bottom: var(--space-6);
    gap: var(--space-5);
  }
  .cs-title {
    font-size: var(--type-size-h1-mobile);
  }
  .cs-line {
    font-size: var(--type-size-lead);
  }
  .cs-line-emph {
    margin-bottom: var(--space-6);
  }
  .cs-btn {
    width: 100%;
    max-width: 22rem;
  }
  .cs-art img {
    max-height: 42vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-btn {
    transition: none;
  }
  .cs-btn:active {
    transform: none;
  }
}

@media (max-width: 799px) and (max-height: 760px) {
  .cs-shell {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
    gap: var(--space-4);
  }
  .cs-line-emph { margin-bottom: var(--space-4); }
  .cs-art img { max-height: 34vh; }
}
