/* Fluid sizes scale from the 1440px desktop frame: vw value = px / 1440 * 100 (e.g. 64px -> 4.44vw, 136px -> 9.45vw). */
:root {
  --background: #020617;
  --foreground: #f5f7fa;
  --muted: #b8c2ce;
  --accent: #34d399;
  --border: #596575;
  --gutter: clamp(24px, 4.44vw, 64px);
  color-scheme: dark;
}

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

html {
  background: var(--background);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 1440px;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 var(--gutter);
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: clamp(28px, 3.6vw, 52px);
}

.brand {
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 144px;
  height: 36px;
  padding: 0 16px 0 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: 48fr 52fr;
  align-items: center;
  gap: 32px;
  padding: 48px 0;
}

.hero-copy {
  min-width: 0;
}

h1 {
  margin: 0;
  font-size: clamp(88px, 9.45vw, 136px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 0.5em 0 0;
  max-width: 14.5em;
  color: var(--muted);
  font-size: clamp(24px, 2.22vw, 32px);
  line-height: 1.4;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 648px;
  aspect-ratio: 1 / 1;
  justify-self: end;
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(18, 103, 93, 0.32), rgba(2, 6, 23, 0));
}

.hero-art img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: clamp(16px, 2.2vw, 32px);
  color: var(--muted);
  font-size: 16px;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

@media (max-width: 767px) {
  .brand {
    font-size: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 40px;
    padding: 56px 0 32px;
  }

  h1 {
    font-size: clamp(56px, 19.5vw, 76px);
  }

  .hero-copy p {
    font-size: 20px;
    line-height: 1.45;
  }

  .hero-art {
    justify-self: center;
    max-width: 420px;
  }

  .site-footer {
    font-size: 12px;
  }
}

@media (max-width: 359px) {
  .brand {
    font-size: 20px;
  }

  .status {
    min-width: 0;
    padding: 0 12px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .hero {
    gap: 24px;
    padding: 24px 0;
  }

  .hero-art {
    max-width: min(420px, 70svh);
  }

  .site-header {
    padding-top: 20px;
  }
}
