:root {
  color-scheme: light;
  --holding-background-image: url("./humidynit-holding-background.png");
  --navy: #06273f;
  --blue: #087ebd;
  --cyan: #49d2ef;
  --ink: #102f46;
  --muted: #557084;
  --line: rgba(14, 77, 112, 0.16);
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(3, 24, 39, 0.24);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background-color: var(--navy);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--holding-background-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(73, 210, 239, 0.12), transparent 34vw),
    linear-gradient(180deg, rgba(5, 31, 51, 0.34), rgba(4, 29, 47, 0.48)),
    linear-gradient(90deg, rgba(4, 27, 45, 0.5), rgba(4, 27, 45, 0.12) 50%, rgba(4, 27, 45, 0.44));
}

a {
  color: inherit;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.siteHeader,
.main,
.siteFooter {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
}

.siteHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0;
}

.brandLink {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 18, 32, 0.12);
  backdrop-filter: blur(10px);
}

.brandLogo {
  display: block;
  width: 152px;
  height: auto;
}

.navGroup {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.contactButton,
.languageSwitch {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(4, 30, 49, 0.42);
  backdrop-filter: blur(16px);
}

.contactButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.languageSwitch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
}

.languageSwitch a,
.languageSwitch span {
  min-width: 36px;
  padding: 7px 9px;
  border-radius: 999px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.languageSwitch .active {
  color: var(--navy);
  background: #fff;
}

.main {
  flex: 1;
  display: grid;
  align-items: center;
  padding: clamp(52px, 9vh, 114px) 0;
}

.announcement {
  display: grid;
  justify-items: center;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(0, 18, 32, 0.1);
  backdrop-filter: blur(10px);
}

.eyebrowLogo {
  display: block;
  width: 150px;
  height: auto;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 7.8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 58px rgba(0, 20, 34, 0.34);
}

.lede {
  max-width: 700px;
  margin: 28px auto 0;
  color: rgba(244, 251, 255, 0.92);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.62;
  text-shadow: 0 12px 42px rgba(0, 20, 34, 0.34);
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primaryAction,
.secondaryAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.primaryAction {
  padding: 0 22px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 20, 34, 0.2);
}

.secondaryAction {
  padding: 0 4px;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(73, 210, 239, 0.66);
  text-underline-offset: 6px;
}

.contactPage .main {
  align-items: start;
  padding-top: clamp(30px, 6vh, 70px);
}

.contactShell {
  width: min(880px, 100%);
  margin: 0 auto;
}

.contactPanel {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contactPanel h1 {
  color: var(--ink);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  text-shadow: none;
}

.contactIntro {
  max-width: 660px;
  margin: 16px 0 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.6;
}

.emailList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.emailItem {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7fbfd;
}

.emailItem dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.emailItem dd {
  margin: 0;
}

.emailItem a {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.backLink {
  display: inline-flex;
  margin-top: 26px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.siteFooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 0 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.siteFooter a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .siteHeader,
  .main,
  .siteFooter {
    width: min(1180px, calc(100% - 64px));
  }
}

@media (max-width: 820px) {
  body::before {
    background-attachment: scroll;
    background-position: center top;
  }

  .siteHeader,
  .main,
  .siteFooter {
    width: min(1180px, calc(100% - 40px));
  }

  .siteHeader {
    align-items: flex-start;
    padding-top: 28px;
  }

  .emailList {
    grid-template-columns: 1fr;
  }

  .siteFooter {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .siteHeader,
  .main,
  .siteFooter {
    width: min(1180px, calc(100% - 36px));
  }

  .siteHeader {
    flex-direction: column;
    align-items: stretch;
    padding-top: 20px;
  }

  .navGroup {
    justify-content: space-between;
  }

  .brandLink {
    align-self: flex-start;
  }

  .brandLogo {
    width: 128px;
  }

  .eyebrow {
    padding: 6px 9px;
  }

  .eyebrowLogo {
    width: 116px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
  }

  .contactPanel {
    border-radius: 22px;
  }
}
