:root {
  --black: #050706;
  --black-soft: #0d100e;
  --ink: #151a17;
  --paper: #f5f7f2;
  --white: #ffffff;
  --muted: #69716c;
  --line: #d7ddd7;
  --lime: #b9f600;
  --lime-dark: #83ad00;
  --cyan: #3bc9c2;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.geo-language-pending body {
  opacity: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  opacity: 1;
  transition: opacity 160ms ease;
}

body.app-site {
  background: var(--black);
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 74px;
  margin: 0 auto;
  color: var(--white);
}

.site-header.on-light {
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(185, 246, 0, 0.65);
  color: var(--lime);
  font-size: 0.82rem;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
}

.brand-name {
  overflow-wrap: anywhere;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--lime-dark);
}

.app-site .nav-links a:hover,
.app-site .nav-links a:focus-visible {
  color: var(--lime);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid currentColor;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--lime);
  color: var(--black);
  background: var(--lime);
}

.button-secondary {
  color: var(--white);
  background: rgba(5, 7, 6, 0.72);
}

.button-dark {
  border-color: var(--black);
  color: var(--white);
  background: var(--black);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.company-hero {
  position: relative;
  min-height: 70svh;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  border-bottom: 1px solid #262c28;
}

.company-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: calc(70svh - 74px);
  margin: 0 auto;
  padding: 58px 0 86px;
}

.company-hero-copy {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.company-hero h1,
.app-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.company-hero .lead,
.app-hero .lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: #c6cec8;
  font-size: 1.1rem;
}

.signal-field {
  position: absolute;
  right: 5%;
  bottom: 0;
  left: 52%;
  height: 38%;
  opacity: 0.75;
}

.signal-field span {
  position: absolute;
  right: 0;
  height: 1px;
  background: var(--lime);
  transform-origin: right center;
  animation: signal-pulse 4s ease-in-out infinite;
}

.signal-field span:nth-child(1) { top: 15%; width: 90%; }
.signal-field span:nth-child(2) { top: 39%; width: 65%; animation-delay: 500ms; background: var(--cyan); }
.signal-field span:nth-child(3) { top: 63%; width: 78%; animation-delay: 900ms; }
.signal-field span:nth-child(4) { top: 87%; width: 48%; animation-delay: 1300ms; background: var(--cyan); }

@keyframes signal-pulse {
  0%, 100% { opacity: 0.22; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

.section-band {
  padding: 96px 0;
}

.section-band.light {
  background: var(--paper);
}

.section-band.white {
  background: var(--white);
}

.section-band.dark {
  color: var(--white);
  background: var(--black-soft);
}

.section-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading h2,
.support-band h2 {
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.dark .section-heading p:last-child {
  color: #b6beb8;
}

.app-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-row img {
  width: 210px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.app-row h3 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.app-row p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill-list span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #323834;
  border-left: 1px solid #323834;
}

.capability {
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid #323834;
  border-bottom: 1px solid #323834;
}

.capability span {
  display: block;
  margin-bottom: 38px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
}

.capability h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.capability p {
  margin: 0;
  color: #b6beb8;
  font-size: 0.93rem;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.support-band p {
  max-width: 680px;
  color: var(--muted);
}

.site-footer {
  color: #aab2ac;
  background: var(--black);
  border-top: 1px solid #252b27;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 34px 0;
  font-size: 0.84rem;
}

.footer-inner strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--lime);
}

.app-hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  border-bottom: 1px solid #282e2a;
}

.app-hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background-image: url("../vertexvpn/assets/vertex-vpn-logo.webp");
  background-repeat: no-repeat;
  background-position: calc(100% - 3vw) center;
  background-size: 650px 650px;
  opacity: 0.72;
}

.app-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: rgba(5, 7, 6, 0.43);
}

.app-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: calc(78svh - 74px);
  margin: 0 auto;
  padding: 70px 0 100px;
}

.app-hero-copy {
  max-width: 670px;
}

.app-hero h1 {
  font-size: 5rem;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
  background: #101411;
  border-bottom: 1px solid #2e3530;
}

.status-strip div {
  min-height: 110px;
  padding: 24px 30px;
  border-right: 1px solid #2e3530;
}

.status-strip div:last-child {
  border-right: 0;
}

.status-strip span {
  display: block;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-strip strong {
  display: block;
  margin-top: 7px;
  font-size: 1.04rem;
}

.feature-lines {
  border-top: 1px solid #333a35;
}

.feature-line {
  display: grid;
  grid-template-columns: 70px minmax(210px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid #333a35;
}

.feature-line > span {
  color: var(--lime);
  font-weight: 800;
}

.feature-line h3,
.feature-line p {
  margin: 0;
}

.feature-line p {
  color: #b8c0ba;
}

.privacy-statement {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: start;
}

.privacy-statement h2 {
  margin: 0;
  font-size: 2.7rem;
  line-height: 1.1;
}

.privacy-statement p {
  margin-top: 0;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--lime-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .company-hero h1 {
    font-size: 3.1rem;
  }

  .app-hero h1 {
    font-size: 4rem;
  }

  .app-hero::after {
    background-position: 120% center;
    background-size: 560px 560px;
    opacity: 0.48;
  }

  .section-heading,
  .privacy-statement {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .app-row {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .app-row img {
    width: 150px;
  }

  .app-row .button {
    grid-column: 2;
    justify-self: start;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-wrap: wrap;
    align-content: center;
    gap: 8px;
    width: min(calc(100% - 32px), var(--max-width));
    min-height: 96px;
    padding: 10px 0 12px;
  }

  .brand {
    width: 100%;
  }

  .brand-name.company-name {
    max-width: 190px;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .nav-links {
    width: 100%;
    max-width: none;
    flex-wrap: wrap;
    gap: 5px 18px;
    white-space: normal;
    font-size: 0.78rem;
  }

  .company-hero,
  .app-hero {
    min-height: 76svh;
  }

  .company-hero-inner,
  .app-hero-inner {
    width: min(calc(100% - 32px), var(--max-width));
    min-height: calc(76svh - 96px);
    padding: 48px 0 76px;
  }

  .company-hero h1 {
    font-size: 2.25rem;
    line-height: 1.08;
  }

  .app-hero h1 {
    font-size: 3.1rem;
  }

  .company-hero .lead,
  .app-hero .lead {
    font-size: 1rem;
  }

  .app-hero::after {
    background-position: 42vw 48%;
    background-size: 470px 470px;
    opacity: 0.3;
  }

  .section-band {
    padding: 68px 0;
  }

  .section-inner {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .section-heading h2,
  .support-band h2,
  .privacy-statement h2 {
    font-size: 2rem;
  }

  .app-row {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 20px;
    padding: 26px 0;
  }

  .app-row img {
    width: 82px;
  }

  .app-row h3 {
    font-size: 1.45rem;
  }

  .app-row p,
  .app-row .pill-list {
    grid-column: 1 / -1;
  }

  .app-row .button {
    grid-column: 1 / -1;
  }

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

  .capability {
    min-height: 0;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

  .status-strip div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #2e3530;
  }

  .feature-line {
    grid-template-columns: 44px 1fr;
  }

  .feature-line p {
    grid-column: 2;
  }

  .support-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .signal-field {
    left: 30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body,
  .button,
  .motion-ready [data-reveal] {
    transition: none;
  }

  .signal-field span {
    animation: none;
    opacity: 0.5;
  }
}
