/*
Theme Name: Vectris Launch Landing
Theme URI: https://vectris.app/
Author: Vectris
Description: A single-page Launching Soon landing page for Vectris.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: vectris-launch
*/

:root {
  color-scheme: light;
  --ink: #081928;
  --ink-soft: #14283a;
  --brand-blue: #2f5f8d;
  --brand-blue-deep: #173a5b;
  --steel-100: #f2f6fa;
  --steel-200: #e4ebf2;
  --steel-300: #cfdae5;
  --steel-400: #aebfce;
  --steel-500: #7d91a5;
  --glass: rgba(222, 232, 241, 0.62);
  --glass-strong: rgba(239, 245, 250, 0.48);
  --line: rgba(255, 255, 255, 0.58);
  --line-soft: rgba(12, 36, 58, 0.15);
  --glow: rgba(234, 246, 255, 0.92);
  --shadow: rgba(9, 24, 38, 0.24);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--steel-300);
}

img {
  max-width: 100%;
}

.vectris-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  padding: clamp(1.25rem, 4vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 37%, rgba(255, 255, 255, 0.72), transparent 9.5rem),
    radial-gradient(circle at 8% 76%, rgba(255, 255, 255, 0.66), transparent 11rem),
    radial-gradient(circle at 52% 5%, rgba(255, 255, 255, 0.44), transparent 30rem),
    linear-gradient(145deg, #e8eef4 0%, #c0cfdd 48%, #879bad 100%);
}

.vectris-page::before,
.vectris-page::after {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
}

.vectris-page::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.31) 1px, transparent 1px);
  background-position: center;
  background-size: 76px 76px;
  opacity: 0.58;
  mask-image: radial-gradient(ellipse at center, black 0 70%, transparent 92%);
}

.vectris-page::after {
  background:
    linear-gradient(115deg, transparent 0 47%, rgba(255, 255, 255, 0.23) 47.2% 47.35%, transparent 47.55%),
    linear-gradient(65deg, transparent 0 47%, rgba(255, 255, 255, 0.2) 47.2% 47.35%, transparent 47.55%),
    radial-gradient(circle at 8% 78%, rgba(255, 255, 255, 0.9) 0 0.18rem, transparent 0.34rem),
    radial-gradient(circle at 91% 38%, rgba(255, 255, 255, 0.82) 0 0.16rem, transparent 0.32rem);
  opacity: 0.68;
}

.vectris-room {
  position: absolute;
  inset: clamp(4rem, 11vw, 8rem) clamp(1rem, 6vw, 5.25rem);
  z-index: -2;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(12, 35, 55, 0.035),
    0 0 6rem rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.vectris-room::before,
.vectris-room::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.vectris-room::before {
  inset: 10% 8%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.vectris-room::after {
  inset: 0;
  background:
    linear-gradient(132deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.2) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(48deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.16) calc(50% - 0.5px) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  opacity: 0.7;
}

.vectris-card {
  position: relative;
  width: min(100%, 61.75rem);
  padding: clamp(3.25rem, 7vw, 5.25rem) clamp(1.45rem, 5.8vw, 5.25rem) clamp(3.5rem, 7vw, 5.75rem);
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(224, 234, 243, 0.4) 36%, rgba(139, 158, 177, 0.28) 100%),
    var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: clamp(1.35rem, 3vw, 2.6rem);
  box-shadow:
    0 2rem 5.5rem var(--shadow),
    0 0 0 1px rgba(45, 92, 136, 0.12),
    0 0 4.8rem rgba(236, 247, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(7, 27, 43, 0.08);
  backdrop-filter: blur(26px) saturate(1.08);
  -webkit-backdrop-filter: blur(26px) saturate(1.08);
}

.vectris-card::before,
.vectris-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.vectris-card::before {
  inset: -1px;
  border-radius: inherit;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.88), transparent 18%, transparent 76%, rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.78), transparent 9rem),
    radial-gradient(circle at 18% 84%, rgba(255, 255, 255, 0.38), transparent 11rem);
  opacity: 0.8;
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  padding: 1px;
}

.vectris-card::after {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.24), transparent 23rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 38%);
  opacity: 0.72;
}

.vectris-logo,
.vectris-rule,
.vectris-launch-pill,
.vectris-description {
  position: relative;
  z-index: 1;
}

.vectris-logo {
  display: block;
  width: min(84%, 42.5rem);
  height: auto;
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  filter: drop-shadow(0 0.7rem 0.62rem rgba(3, 14, 23, 0.12));
}

.vectris-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 auto clamp(1.1rem, 2.2vw, 1.35rem);
  color: #ffffff;
}

.vectris-rule::before,
.vectris-rule::after {
  width: min(18vw, 9rem);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.84));
}

.vectris-rule::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.84), transparent);
}

.vectris-rule-star {
  display: inline-grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  text-shadow:
    0 0 0.7rem rgba(255, 255, 255, 0.95),
    0 0 1.4rem rgba(71, 118, 160, 0.55);
}

.vectris-launch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 2vw, 1.25rem);
  min-width: min(100%, 31rem);
  padding: clamp(0.74rem, 1.55vw, 0.95rem) clamp(1.15rem, 3.2vw, 1.85rem);
  color: #f6fbff;
  font-size: clamp(0.82rem, 1.55vw, 1.08rem);
  font-weight: 760;
  letter-spacing: clamp(0.16em, 1.1vw, 0.42em);
  line-height: 1.1;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(36, 71, 104, 0.96), rgba(8, 25, 40, 0.98)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(244, 249, 255, 0.85);
  border-radius: 999px;
  box-shadow:
    0 0 0 0.22rem rgba(235, 246, 255, 0.26),
    0 0 1.3rem rgba(235, 246, 255, 0.88),
    0 1rem 2.5rem rgba(9, 28, 48, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.vectris-launch-pill::before {
  position: absolute;
  inset: -40% auto -40% -22%;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent);
  transform: skewX(-20deg);
  animation: vectris-sheen 4.8s ease-in-out infinite;
}

.vectris-launch-text,
.vectris-spark {
  position: relative;
  z-index: 1;
}

.vectris-spark {
  color: #f6fbff;
  font-size: 1.12em;
  letter-spacing: 0;
  text-shadow:
    0 0 0.45rem rgba(255, 255, 255, 0.95),
    0 0 1.1rem rgba(136, 183, 225, 0.9);
}

.vectris-description {
  max-width: 47rem;
  margin: clamp(1.75rem, 3.6vw, 2.35rem) auto 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2.25vw, 1.38rem);
  font-weight: 430;
  letter-spacing: -0.02em;
  line-height: 1.58;
  text-wrap: balance;
}

.vectris-description strong,
.vectris-description em,
.vectris-description b {
  color: inherit;
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes vectris-sheen {
  0%, 54% {
    left: -32%;
    opacity: 0;
  }
  64% {
    opacity: 0.68;
  }
  88%, 100% {
    left: 110%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 780px) {
  .vectris-card {
    width: min(100%, 37.5rem);
  }

  .vectris-logo {
    width: min(92%, 28rem);
  }

  .vectris-description br {
    display: none;
  }
}

@media (max-width: 520px) {
  .vectris-page {
    padding: 1rem;
  }

  .vectris-page::before {
    background-size: 48px 48px;
  }

  .vectris-room {
    inset: 4.5rem 0.8rem;
  }

  .vectris-card {
    padding: 2.65rem 1.05rem 2.9rem;
    border-radius: 1.35rem;
  }

  .vectris-logo {
    width: min(95%, 23rem);
  }

  .vectris-rule {
    margin-bottom: 1rem;
  }

  .vectris-launch-pill {
    width: min(100%, 23rem);
    min-width: 0;
    letter-spacing: 0.16em;
  }

  .vectris-description {
    font-size: 1rem;
    line-height: 1.55;
  }
}
