/*
 * Zynexel temporary maintenance page.
 * Same layout, font, colors and contact button as the approved Zynexel Network maintenance
 * page, with the ZYNEXEL® wordmark alone. This page is independent from the website code.
 */
@font-face {
  font-family: "Zynexel Sans";
  src: url("/fonts/zynexel-sans-latin.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-ink: #111114;
  --color-bg: #fafbfc;
  --color-card: #ffffff;
  --color-border: #e3e5e8;
  --color-border-strong: #d5d8dc;
  --color-muted: #55585e;
  --color-ink-soft: #3c3f45;
  --color-action: #0b57d0;
  --font-stack: "Zynexel Sans", system-ui, sans-serif;
  --gutter: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-stack);
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  overflow-x: clip;
}

h1,
p {
  margin: 0;
}

.maintenance {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 10vh, 120px) var(--gutter) clamp(32px, 6vh, 72px);
}

.maintenance__content {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ZYNEXEL® wordmark, same artwork and height as on the Network page. */
.logo {
  --logo-height: 14px;

  display: inline-flex;
  align-items: center;
  color: var(--color-ink);
}

.logo__wordmark {
  display: block;
  flex: none;
  width: calc(var(--logo-height) * 11.16);
  height: var(--logo-height);
  fill: currentColor;
  overflow: visible;
}

.maintenance__title {
  margin-top: clamp(40px, 7vh, 72px);
  max-width: 14em;
  font-size: clamp(36px, 30px + 2.6vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.maintenance__lead {
  margin-top: 20px;
  max-width: 30em;
  color: var(--color-ink-soft);
  font-size: clamp(18px, 16px + 0.5vw, 22px);
  line-height: 1.5;
  text-wrap: pretty;
}

.maintenance__help {
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid var(--color-border);
  width: min(100%, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.maintenance__help-label {
  color: var(--color-muted);
  font-size: 15px;
}

.maintenance__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: var(--color-card);
  color: var(--color-ink);
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.maintenance__phone:hover {
  border-color: var(--color-ink);
}

.maintenance__phone:focus-visible {
  outline: 2px solid var(--color-action);
  outline-offset: 3px;
}

.site-footer {
  flex: none;
  padding: 24px var(--gutter) 32px;
  text-align: center;
  color: var(--color-muted);
  font-size: 13px;
}

/* ZYNEXEL DESK — 1024px */
@media (min-width: 1024px) {
  .logo {
    --logo-height: 16px;
  }

  .maintenance__title {
    font-weight: 500;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maintenance__phone {
    transition: none;
  }
}
