:root {
  color-scheme: dark;
  --bg: #080b12;
  --text: #f7f7fb;
  --muted: #aeb2be;
  --line: rgba(255, 255, 255, 0.22);
  --panel: rgba(8, 10, 17, 0.9);
  --accent: #f1f1f6;
  --focus: #65e6f4;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Cambria, Georgia, "Times New Roman", serif;
  background: #070a12;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(5, 7, 14, 0.08), rgba(5, 7, 14, 0.25)),
    url("assets/hero-dashboard.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

.hero {
  position: relative;
  min-height: 66vh;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 21% 54%, rgba(7, 8, 13, 0.18), transparent 19rem),
    linear-gradient(180deg, rgba(5, 8, 18, 0.1), rgba(7, 9, 15, 0.42));
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: clamp(28px, 5vw, 44px);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0;
}

.brand svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 4rem 1.25rem 6rem;
}

h1 {
  display: grid;
  gap: clamp(24px, 4vw, 38px);
  margin: 0;
  text-align: center;
  color: #fff;
  font-family: Cambria, Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.08;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.54);
}

h1 span {
  display: block;
  border-bottom: 4px dashed rgba(255, 255, 255, 0.56);
  padding: 0 0.15em 0.28em;
}

.contact {
  position: relative;
  min-height: 34vh;
  background: rgba(5, 7, 14, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(2px);
}

.contact__inner {
  width: min(560px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 42px) 0 30px;
  text-align: center;
}

.contact h2 {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  font-weight: 500;
}

.contact p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: grid;
  text-align: left;
}

.contact-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  padding: 15px 18px;
  color: #fff;
  background: rgba(0, 0, 0, 0.36);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form input:focus,
.contact-form textarea:focus,
.legal-link:focus-visible,
.contact-form button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.contact-form button {
  justify-self: center;
  min-width: 130px;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  padding: 11px 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.contact-form button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.44);
}

.legal-link {
  padding: 4px 2px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-link:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .site-shell {
    background-attachment: scroll;
  }

  .hero {
    min-height: 58vh;
  }

  h1 span {
    border-bottom-width: 3px;
  }

  .contact__inner {
    width: min(100% - 28px, 560px);
  }
}
