:root {
  color-scheme: dark;
  --bg: #080909;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-border: rgba(255, 255, 255, 0.13);
  --text: #f4f0e8;
  --muted: rgba(244, 240, 232, 0.72);
  --soft: rgba(244, 240, 232, 0.48);
  --accent: #d7ff3f;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

html,
body {
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #080909;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: 0;
  background: url("assets/ankara-bg.png") center / cover no-repeat;
  opacity: 0.28;
}

body::after {
  z-index: 1;
  background:
    radial-gradient(circle at 18% 20%, rgba(215, 255, 63, 0.12), transparent 27rem),
    linear-gradient(145deg, rgba(8, 9, 9, 0.88) 0%, rgba(12, 13, 13, 0.82) 48%, rgba(7, 7, 7, 0.94) 100%);
}

a {
  color: inherit;
  text-decoration-color: rgba(215, 255, 63, 0.55);
  text-underline-offset: 0.32em;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

.page-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(0.75rem, 2.5vw, 2rem);
}

.status-panel {
  width: min(100%, 46rem);
  max-width: calc(100vw - 1.7rem);
  max-height: calc(100svh - 1.5rem);
  overflow: hidden;
  padding: clamp(1.35rem, 4vw, 3.25rem);
  border: 1px solid var(--panel-border);
  border-radius: 0.75rem;
  background: var(--panel);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.logo {
  display: block;
  width: min(13rem, 60vw);
  height: auto;
  margin-bottom: clamp(1.75rem, 5vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: min(100%, 10ch);
  margin: 0;
  font-size: clamp(42px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.94;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 39rem;
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.0rem, 2.4vw, 1.35rem);
  line-height: 1.55;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
  margin-top: clamp(1.85rem, 4vw, 3rem);
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-row span {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--accent);
}

@media (max-width: 520px) {
  .page-shell {
    align-items: stretch;
    padding: 0.75rem;
  }

  .status-panel {
    display: flex;
    min-height: calc(100svh - 1.5rem);
    max-height: none;
    overflow: visible;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 0.65rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.0rem, 9.8vw, 2.85rem);
    letter-spacing: -0.035em;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-row span {
    display: none;
  }
}

@media (min-width: 521px) and (max-height: 820px) {
  .status-panel {
    padding: clamp(1.25rem, 3.5vw, 2.5rem);
  }

  .logo {
    width: min(11rem, 42vw);
    margin-bottom: clamp(1.25rem, 3.5vw, 2.5rem);
  }

  .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.0rem, 5.8vw, 3.7rem);
  }

  .lead {
    margin-top: 1.1rem;
    font-size: clamp(1rem, 2vw, 1.18rem);
  }

  .contact-row {
    margin-top: 1.6rem;
  }
}
