:root {
  --blue: #0090c8;
  --blue-deep: #0060a0;
  --sky: #48c0e0;
  --ink: #f4f8fb;
  --muted: rgba(244, 248, 251, 0.78);
  --line: rgba(244, 248, 251, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  color: var(--ink);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  background: #041422;
}

.screen {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 3.2vh, 36px) clamp(22px, 5vw, 72px) clamp(16px, 2.4vh, 28px);
  background:
    linear-gradient(180deg, rgba(4, 16, 28, 0.2) 0%, transparent 22%, transparent 68%, rgba(4, 16, 28, 0.62) 100%),
    linear-gradient(
      90deg,
      rgba(5, 20, 36, 0.86) 0%,
      rgba(5, 22, 40, 0.62) 30%,
      rgba(5, 22, 40, 0.12) 48%,
      rgba(5, 22, 40, 0) 64%
    ),
    url("src/cover.jpg") center 42% / cover no-repeat;
}

.bar,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.brand strong {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.place {
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 16, 28, 0.35);
  backdrop-filter: blur(8px);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

main {
  align-self: end;
  max-width: 38rem;
  padding-bottom: clamp(12px, 4vh, 48px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.lead {
  margin: 22px 0 0;
  max-width: 32rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  text-shadow: 0 1px 14px rgba(4, 16, 28, 0.55);
  hyphens: manual;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #14a0d4 0%, var(--blue) 45%, var(--blue-deep) 100%);
  box-shadow: 0 10px 24px rgba(0, 96, 160, 0.35);
}

.btn.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(4, 16, 28, 0.28);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.brand:focus-visible,
footer a:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

footer {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

footer address {
  font-style: normal;
}

footer a {
  color: var(--ink);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (min-width: 901px) {
  .screen {
    height: 100dvh;
    overflow: hidden;
  }
}

@media (max-width: 700px) {
  .place {
    display: none;
  }

  .brand strong {
    white-space: nowrap;
    font-size: 1.85rem;
  }
}

@media (max-width: 900px) {
  .screen {
    background:
      linear-gradient(180deg, rgba(4, 16, 28, 0.35) 0%, rgba(4, 16, 28, 0.72) 38%, rgba(4, 16, 28, 0.9) 100%),
      url("src/cover.jpg") center 28% / cover no-repeat;
  }

  main {
    align-self: end;
    max-width: 36rem;
  }

  footer {
    flex-wrap: wrap;
  }
}

@media (max-height: 740px) and (min-width: 901px) {
  h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  }

  .lead {
    margin-top: 14px;
  }

  .actions {
    margin-top: 18px;
  }

  main {
    padding-bottom: 8px;
  }
}
