/* Values mirror the SeaNect dark-theme tokens (--bg-dark, --text-heading, --text-main, --text-gray, --accent-blue). */
/* Montserrat is the wordmark face; the app loads it from Google Fonts, this site self-hosts the same OFL files. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #021123;
  --ink-heading: #f2f7fc;
  --ink: #e8eaed;
  --ink-muted: #94a3b8;
  --accent: #00c6ff;
  --hairline: rgba(148, 163, 184, 0.18);
  /* Same stack as the app's --font-sans; no font is downloaded. */
  --font-sans: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 6vw, 5rem);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.page {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 12vh, 9rem) var(--gutter);
}

.content {
  width: 100%;
  max-width: 46rem;
}

/* The application's Logo component (shared/ui/Logo): emblem + Montserrat wordmark, header proportions.
   Every size is an em of the emblem height, so the lockup scales as one unit and never restacks. */
.brand {
  --brand-emblem: clamp(4rem, 2.9rem + 5vw, 6.5rem);
  display: flex;
  align-items: center;
  gap: 0.1818em;
  margin: 0;
  font-size: var(--brand-emblem);
  font-weight: 400;
  line-height: 1;
}

.brand--compact {
  --brand-emblem: clamp(3.5rem, 2.9rem + 2.5vw, 4.5rem);
}

.brand__emblem {
  flex: 0 0 auto;
  display: block;
  width: auto;
  height: 1em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  font-family: "Montserrat", sans-serif;
}

.brand__title {
  display: block;
  margin-bottom: 0.0364em;
  font-size: 0.5818em;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(to right, #0d2141 0%, #1f8ca3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand__subtitle {
  display: block;
  color: #0d4a5d;
  font-size: 0.1545em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.positioning {
  margin: clamp(2rem, 1.5rem + 2.5vw, 3.5rem) 0 0;
  padding-top: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  border-top: 1px solid var(--hairline);
  max-width: 24em;
  color: var(--ink-heading);
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.875rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.status {
  margin: clamp(1rem, 0.85rem + 0.75vw, 1.5rem) 0 0;
  color: var(--ink-muted);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
}

.contact {
  margin: clamp(2rem, 1.6rem + 2vw, 3rem) 0 0;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
}

.contact__link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  overflow-wrap: anywhere;
}

.contact__link:hover {
  text-decoration-thickness: 2px;
}

.contact__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer {
  flex-shrink: 0;
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--hairline);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.footer p {
  margin: 0;
}

.footer__sep {
  padding: 0 0.4em;
}

/* 404 page */
.back-link {
  color: var(--accent);
  text-underline-offset: 0.3em;
}

.back-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
