:root {
  --bg-deep: #06131d;
  --bg-panel: rgba(4, 12, 18, 0.78);
  --text: #f2f6f8;
  --text-soft: #b7c6cf;
  --aqua: #84d8f4;
  --aqua-strong: #9ce6ff;
  --orange: #e57a3d;
  --line: rgba(132, 216, 244, 0.72);
  --panel-width: min(100%, 760px);
  --max-width: 1360px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { background: var(--bg-deep); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #06131d 0%, #071827 55%, #0b2331 100%);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("hero-bg.png");
  background-size: cover;
  background-position: 73% center;
  transform: scale(1.03);
  filter: saturate(0.88) contrast(1.02) brightness(0.88);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(4, 11, 18, 0.96) 0%,
      rgba(4, 11, 18, 0.92) 16%,
      rgba(4, 11, 18, 0.84) 32%,
      rgba(4, 11, 18, 0.63) 47%,
      rgba(4, 11, 18, 0.34) 61%,
      rgba(4, 11, 18, 0.16) 75%,
      rgba(4, 11, 18, 0.10) 100%),
    linear-gradient(180deg,
      rgba(5, 12, 19, 0.28) 0%,
      rgba(5, 12, 19, 0.08) 34%,
      rgba(5, 12, 19, 0.46) 100%);
}

.content-wrap {
  width: min(calc(100% - 72px), var(--max-width));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: clamp(34px, 6vh, 76px);
  padding: clamp(28px, 5.5vh, 54px) 0 clamp(24px, 4.2vh, 42px);
}

.brand-block {
  max-width: max-content;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-symbol {
  width: 52px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.22));
}

.brand-logotype {
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

.brand-main,
.brand-domain {
  display: inline-block;
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.brand-main {
  font-size: clamp(34px, 4vw, 62px);
}

.brand-domain {
  color: var(--aqua);
  font-size: clamp(21px, 2.35vw, 34px);
}

.brand-tagline {
  margin: 12px 0 0 68px;
  color: rgba(132, 216, 244, 0.86);
  font-size: 11px;
  letter-spacing: 0.31em;
  font-weight: 600;
}

.hero-copy {
  align-self: center;
  width: var(--panel-width);
  max-width: 100%;
  padding: 0 0 12px;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.headline-top,
.headline-accent {
  display: block;
  font-size: clamp(46px, 4.25vw, 72px);
}

.headline-top {
  color: var(--text);
  white-space: nowrap;
}

.headline-accent {
  margin-top: 8px;
  color: var(--aqua);
  max-width: 720px;
}

.accent-line {
  width: 74px;
  height: 2px;
  margin: 30px 0 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua-strong) 0%, rgba(132, 216, 244, 0.18) 100%);
}

.lead-copy,
.support-copy {
  margin: 0;
  width: min(100%, 620px);
  text-wrap: pretty;
}

.lead-copy {
  font-size: clamp(22px, 2.15vw, 33px);
  line-height: 1.42;
  font-weight: 300;
  color: var(--text);
}

.support-copy {
  margin-top: 18px;
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.55;
  font-weight: 300;
  color: var(--text-soft);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  text-decoration: none;
  color: var(--aqua);
  font-size: clamp(20px, 1.95vw, 28px);
  font-weight: 300;
  transition: transform .18s ease, color .18s ease;
}

.email-link:hover {
  transform: translateX(2px);
  color: #d5f6ff;
}

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

.email-link svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.site-footer {
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(132, 216, 244, 0.72);
}

.footer-name {
  font-size: 10px;
  letter-spacing: 0.38em;
  font-weight: 700;
  white-space: nowrap;
}

.footer-rule {
  width: 78px;
  height: 1px;
  background: rgba(132, 216, 244, 0.42);
}

@media (max-width: 1080px) {
  .content-wrap {
    width: min(calc(100% - 48px), var(--max-width));
  }

  .hero-media {
    background-position: 76% center;
  }

  h1 {
    max-width: 700px;
  }

  .headline-top,
  .headline-accent {
    font-size: clamp(44px, 5.8vw, 64px);
  }
}

@media (max-width: 860px) {
  .content-wrap {
    width: min(calc(100% - 34px), 760px);
    row-gap: 24px;
    padding-top: 22px;
  }

  .hero-media {
    background-position: 71% center;
    filter: saturate(0.84) contrast(1) brightness(0.82);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(4, 11, 18, 0.80) 0%,
        rgba(4, 11, 18, 0.74) 18%,
        rgba(4, 11, 18, 0.58) 48%,
        rgba(4, 11, 18, 0.82) 100%),
      linear-gradient(90deg,
        rgba(4, 11, 18, 0.88) 0%,
        rgba(4, 11, 18, 0.60) 45%,
        rgba(4, 11, 18, 0.22) 100%);
  }

  .brand-symbol { width: 44px; }
  .brand-main { font-size: clamp(29px, 8vw, 42px); }
  .brand-domain { font-size: clamp(18px, 4.3vw, 26px); }
  .brand-tagline {
    margin-left: 58px;
    margin-top: 10px;
    font-size: 8px;
    letter-spacing: 0.24em;
  }

  .hero-copy {
    align-self: end;
    width: min(100%, 620px);
    padding-bottom: 10px;
  }

  h1 {
    max-width: 620px;
  }

  .headline-top,
  .headline-accent {
    font-size: clamp(38px, 7.2vw, 56px);
  }

  .headline-top {
    white-space: normal;
  }

  .headline-accent {
    max-width: 600px;
  }

  .accent-line { margin: 24px 0 22px; }
  .lead-copy { font-size: 20px; }
  .support-copy { font-size: 16px; margin-top: 14px; }
  .email-link { margin-top: 28px; font-size: 20px; }
  .email-link svg { width: 25px; height: 25px; }
  .footer-name { font-size: 8px; letter-spacing: 0.28em; }
  .footer-rule { width: 40px; }
}

@media (max-width: 520px) {
  .content-wrap {
    width: calc(100% - 28px);
    min-height: 100dvh;
  }

  .hero-media {
    background-position: 74% center;
    filter: saturate(0.8) brightness(0.74);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(4, 11, 18, 0.66) 0%,
        rgba(4, 11, 18, 0.82) 18%,
        rgba(4, 11, 18, 0.66) 52%,
        rgba(4, 11, 18, 0.90) 100%),
      linear-gradient(90deg,
        rgba(4, 11, 18, 0.84) 0%,
        rgba(4, 11, 18, 0.62) 52%,
        rgba(4, 11, 18, 0.25) 100%);
  }

  .brand-tagline { display: none; }
  .brand-lockup { gap: 10px; }
  .brand-symbol { width: 40px; }
  .brand-main { font-size: clamp(27px, 9.2vw, 36px); }
  .brand-domain { font-size: clamp(17px, 4.8vw, 22px); }

  .hero-copy {
    align-self: center;
    padding-bottom: 0;
  }

  .headline-top,
  .headline-accent {
    font-size: clamp(34px, 10.4vw, 46px);
    line-height: 1.03;
  }

  .headline-accent {
    max-width: 100%;
  }

  .lead-copy { font-size: 17px; }
  .support-copy { font-size: 15px; }
  .email-link {
    gap: 10px;
    font-size: 18px;
  }

  .site-footer {
    padding-bottom: 4px;
  }

  .footer-rule {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
