/*
Theme Name: NUVO LAB
Theme URI: https://nuvolab.app
Author: NUVO LAB
Author URI: https://nuvolab.app
Description: Official responsive website theme for NUVO LAB, including the Home, Privacy Policy, Terms of Service, and Support experiences.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: nuvo-lab
*/

:root {
  --ink: #f7f8fb;
  --muted: #a6abba;
  --dim: #747b8e;
  --line: rgba(255, 255, 255, 0.1);
  --panel: rgba(255, 255, 255, 0.055);
  --cyan: #62f6d2;
  --blue: #6c8cff;
  --violet: #a972ff;
  --pink: #f623a5;
  --coral: #ff7548;
  --background: #08090d;
  --foreground: #f7f8fb;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -12%, rgba(100, 115, 255, 0.1), transparent 31rem),
    var(--background);
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

.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;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  border-radius: 8px;
  background: #fff;
  color: #05060a;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(98, 246, 210, 0.25);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 28px;
}

.nav-wrap {
  width: min(1180px, 100%);
  height: 68px;
  margin: 0 auto;
  padding: 0 12px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(13, 15, 22, 0.68);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 158px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav .is-active {
  color: #fff;
}

.nav-cta {
  height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 650;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, var(--background));
}

.hero-grid {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 56px));
  min-height: 820px;
  margin: 0 auto;
  padding-top: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 72px;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.85;
}

.ambient-one {
  top: 7%;
  right: 0;
  width: 590px;
  height: 590px;
  background: radial-gradient(circle, rgba(114, 90, 255, 0.17), transparent 67%);
}

.ambient-two {
  bottom: -15%;
  left: -15%;
  width: 570px;
  height: 570px;
  background: radial-gradient(circle, rgba(246, 35, 165, 0.1), transparent 69%);
}

.hero-copy {
  padding-bottom: 32px;
}

.eyebrow,
.section-kicker {
  color: #c8cbd5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.hero h1 {
  max-width: 720px;
  margin: 29px 0 25px;
  font-size: clamp(58px, 7vw, 98px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(96deg, #f7f8fb 5%, #97acec 44%, #9d74e8 82%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  min-height: 54px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: #090b10;
  background: linear-gradient(
    100deg,
    var(--coral),
    var(--pink) 34%,
    var(--violet) 67%,
    var(--cyan)
  );
  box-shadow: 0 16px 40px rgba(246, 35, 165, 0.2);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.hero-notes {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--dim);
  font-size: 12px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-notes i {
  color: var(--cyan);
  font-style: normal;
  font-size: 9px;
}

.visual-stage {
  position: relative;
  height: 610px;
  display: grid;
  place-items: center;
}

.stage-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.ring-one {
  width: 500px;
  height: 500px;
  animation: spin 24s linear infinite;
}

.ring-one::before,
.ring-two::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(98, 246, 210, 0.85);
}

.ring-two {
  width: 395px;
  height: 395px;
  border-style: dashed;
  opacity: 0.65;
  animation: spin-reverse 32s linear infinite;
}

.ring-two::before {
  top: auto;
  bottom: 3%;
  left: 25%;
  background: var(--violet);
  box-shadow: 0 0 20px rgba(169, 114, 255, 0.8);
}

.phone {
  position: relative;
  z-index: 2;
  width: 272px;
  height: 548px;
  padding: 8px;
  transform: rotate(4deg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 43px;
  background: linear-gradient(145deg, #2b2e37, #06070a 50%, #1d2028);
  box-shadow:
    -35px 55px 80px rgba(0, 0, 0, 0.48),
    20px 10px 80px rgba(109, 91, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-frame {
  width: 100%;
  height: 100%;
  padding: 4px;
  border-radius: 36px;
  background: #050609;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 33px;
  background:
    radial-gradient(circle at 64% 20%, rgba(147, 84, 255, 0.95), transparent 19%),
    radial-gradient(circle at 42% 46%, rgba(42, 225, 207, 0.78), transparent 20%),
    radial-gradient(circle at 64% 65%, rgba(63, 83, 243, 0.82), transparent 28%),
    linear-gradient(150deg, #090b14 10%, #18152d 46%, #05060a);
}

.phone-screen::before,
.phone-screen::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  filter: blur(0.2px);
}

.phone-screen::before {
  width: 310px;
  height: 140px;
  top: 105px;
  left: -74px;
  transform: rotate(-24deg);
}

.phone-screen::after {
  width: 340px;
  height: 130px;
  top: 235px;
  left: -12px;
  transform: rotate(37deg);
}

.phone-island {
  position: absolute;
  z-index: 4;
  top: 11px;
  left: 50%;
  width: 72px;
  height: 19px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #030408;
}

.screen-glow {
  position: absolute;
  width: 170px;
  height: 170px;
  top: 34%;
  left: 18%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 60px rgba(98, 246, 210, 0.16),
    inset 0 0 60px rgba(112, 99, 255, 0.16);
}

.app-preview {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.phone-app-icon {
  width: 138px;
  height: 138px;
  display: block;
  margin-bottom: 21px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  object-fit: cover;
  box-shadow:
    0 28px 55px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(246, 35, 165, 0.2);
}

.app-preview strong {
  color: #fff;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.app-preview small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.screen-copy {
  position: absolute;
  z-index: 3;
  top: 76px;
  left: 23px;
  display: flex;
  flex-direction: column;
}

.screen-copy span,
.screen-copy small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.screen-copy strong {
  margin: 7px 0 4px;
  font-size: 47px;
  font-weight: 750;
  letter-spacing: -0.07em;
}

.screen-footer {
  position: absolute;
  z-index: 3;
  right: 19px;
  bottom: 22px;
  left: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.64);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.screen-footer span:first-child {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  min-width: 168px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(18, 20, 29, 0.74);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(15px);
  font-size: 12px;
  font-weight: 650;
}

.floating-card span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.floating-card small {
  color: var(--dim);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: #0c081d;
}

.mini-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-top {
  top: 112px;
  right: -15px;
  animation: float 4.8s ease-in-out infinite;
}

.card-bottom {
  bottom: 106px;
  left: -28px;
  animation: float 5.4s ease-in-out infinite reverse;
}

.pulse {
  width: 28px;
  height: 28px;
  border: 7px solid rgba(169, 114, 255, 0.2);
  border-radius: 50%;
  background: var(--violet);
  background-clip: padding-box;
  box-shadow: 0 0 18px rgba(169, 114, 255, 0.38);
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 31px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 11px;
  transform: translateX(-50%);
  color: var(--dim);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 1px;
  height: 29px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.5));
}

.section-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.vision {
  padding: 130px 0 108px;
}

.section-intro {
  max-width: 720px;
}

.section-kicker {
  margin: 0 0 18px;
  color: #8f97aa;
}

.section-intro h2,
.manifesto-copy h2,
.support-card h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.section-intro > p:last-child {
  max-width: 625px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.feature-grid {
  margin-top: 66px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  position: relative;
  min-height: 320px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0, rgba(117, 92, 255, 0.11), transparent 48%),
    rgba(255, 255, 255, 0.025);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 100% 0, rgba(117, 92, 255, 0.16), transparent 48%),
    rgba(255, 255, 255, 0.04);
}

.feature-number {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.feature-line {
  width: 100%;
  height: 1px;
  margin: 25px 0 70px;
  background: linear-gradient(90deg, rgba(98, 246, 210, 0.35), var(--line), transparent);
}

.feature-card h3 {
  margin: 0 0 15px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.manifesto {
  padding: 20px 0 120px;
}

.manifesto-panel {
  min-height: 530px;
  padding: 70px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 80px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0 100%, rgba(56, 219, 192, 0.1), transparent 35%),
    radial-gradient(circle at 100% 0, rgba(123, 87, 255, 0.16), transparent 40%),
    #0d0f15;
}

.manifesto-orb {
  width: min(340px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 80px rgba(95, 119, 255, 0.12),
    inset 0 0 70px rgba(98, 246, 210, 0.04);
}

.manifesto-orb::before {
  content: none;
}

.manifesto-orb::after {
  content: none;
}

.manifesto-orb {
  position: relative;
}

.manifesto-orb img {
  width: 66%;
  height: 66%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 31%;
  object-fit: cover;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.32),
    0 0 48px rgba(246, 35, 165, 0.12);
}

.manifesto-copy h2 {
  max-width: 590px;
}

.manifesto-copy > p:not(.section-kicker) {
  max-width: 580px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.manifesto-tags {
  margin-top: 31px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.manifesto-tags span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c2c6d1;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
}

.support {
  padding: 0 0 120px;
}

.support-card {
  padding: 58px 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  align-items: center;
  gap: 80px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(86, 221, 199, 0.07), rgba(119, 88, 255, 0.08)),
    rgba(255, 255, 255, 0.025);
}

.support-card h2 {
  font-size: clamp(38px, 4vw, 52px);
}

.support-card p:not(.section-kicker) {
  max-width: 580px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.email-card {
  min-height: 88px;
  padding: 15px 17px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(5, 6, 10, 0.42);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.email-card:hover {
  transform: translateY(-3px);
  border-color: rgba(98, 246, 210, 0.3);
}

.email-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(98, 246, 210, 0.15), rgba(108, 140, 255, 0.16));
  color: var(--cyan);
  font-size: 18px;
  font-weight: 800;
}

.email-card > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.email-card small {
  color: var(--dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.email-card i {
  color: var(--dim);
  font-style: normal;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1180px, calc(100% - 56px));
  min-height: 112px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: var(--dim);
  font-size: 11px;
}

.footer-inner > span {
  justify-self: end;
}

.footer-brand {
  color: var(--ink);
}

.footer-brand .brand-logo {
  width: 176px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 190px 0 100px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .hero-notes {
    justify-content: center;
  }

  .hero-lead {
    margin: 0 auto;
  }

  .visual-stage {
    height: 610px;
  }

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

  .feature-card {
    min-height: 260px;
  }

  .feature-line {
    margin-bottom: 45px;
  }

  .manifesto-panel {
    padding: 56px;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .support-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 680px) {
  body.admin-bar .site-header {
    top: 46px;
  }
  .site-header {
    padding: 16px;
  }

  .nav-wrap {
    height: 62px;
    padding: 0 9px 0 13px;
    border-radius: 19px;
  }

  .brand-name,
  .main-nav a:nth-child(2),
  .nav-cta {
    display: none;
  }

  .main-nav {
    margin-left: auto;
    gap: 21px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-grid,
  .section-shell,
  .footer-inner {
    width: min(100% - 32px, 1180px);
  }

  .hero-grid {
    padding-top: 135px;
  }

  .hero h1 {
    margin-top: 23px;
    font-size: clamp(52px, 16vw, 76px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-notes {
    gap: 9px 15px;
  }

  .visual-stage {
    height: 520px;
    transform: scale(0.88);
    margin: -20px -30px;
  }

  .ring-one {
    width: 440px;
    height: 440px;
  }

  .card-top {
    right: 0;
  }

  .card-bottom {
    left: 0;
  }

  .vision {
    padding: 92px 0 80px;
  }

  .feature-grid {
    margin-top: 44px;
  }

  .manifesto {
    padding-bottom: 82px;
  }

  .manifesto-panel {
    padding: 38px 24px;
    border-radius: 26px;
  }

  .manifesto-orb {
    width: 260px;
  }

  .manifesto-orb::before,
  .manifesto-orb::after {
    font-size: 74px;
  }

  .support {
    padding-bottom: 80px;
  }

  .support-card {
    padding: 36px 22px;
    border-radius: 24px;
  }

  .email-card {
    grid-template-columns: auto 1fr;
  }

  .email-card i {
    display: none;
  }

  .footer-inner {
    padding: 34px 0;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-inner > span {
    justify-self: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared footer */
.content-page {
  min-height: 76vh;
  padding: 175px 0 110px;
}

.content-panel {
  max-width: 880px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(117, 92, 255, 0.13), transparent 44%),
    rgba(255, 255, 255, 0.025);
}

.content-panel h1 {
  margin: 0 0 28px;
  font-size: clamp(44px, 7vw, 74px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.entry-content,
.not-found > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.entry-content h2 {
  color: var(--ink);
}

.not-found .button {
  margin-top: 24px;
}

.footer-main,
.footer-bottom {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.footer-main {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 70px;
}

.footer-main > div > p {
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 11px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 28px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links a {
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11px;
}

.footer-bottom a {
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* Legal pages */
.legal-main {
  min-height: 100vh;
}

.legal-hero {
  position: relative;
  min-height: 505px;
  padding: 168px 28px 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--background));
  pointer-events: none;
}

.legal-glow {
  position: absolute;
  top: -270px;
  left: 50%;
  width: 860px;
  height: 560px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(104, 105, 255, 0.2),
    rgba(99, 237, 211, 0.045) 44%,
    transparent 70%
  );
}

.legal-hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.legal-eyebrow {
  margin: 0 0 21px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 86px);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.legal-hero-inner > p:not(.legal-eyebrow) {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.updated-pill {
  width: fit-content;
  margin: 25px auto 0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--dim);
  font-size: 10px;
}

.updated-pill span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(98, 246, 210, 0.7);
}

.legal-layout {
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto;
  padding: 88px 0 120px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 94px;
}

.legal-aside {
  position: sticky;
  top: 28px;
}

.legal-aside > p {
  margin: 0 0 18px;
  color: #d7dae2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-aside nav {
  display: flex;
  flex-direction: column;
}

.legal-aside nav a {
  padding: 8px 0;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.35;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.legal-aside nav a:hover {
  transform: translateX(3px);
  color: var(--ink);
}

.legal-help {
  margin-top: 28px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.legal-help span {
  color: var(--dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-help a {
  display: flex;
  justify-content: space-between;
  color: #d9dce5;
  font-size: 11px;
  font-weight: 650;
}

.legal-help i {
  color: var(--cyan);
  font-style: normal;
}

.legal-article {
  min-width: 0;
}

.legal-article section {
  padding: 0 0 57px;
  scroll-margin-top: 32px;
}

.legal-article section + section {
  padding-top: 57px;
  border-top: 1px solid var(--line);
}

.legal-number {
  display: block;
  margin-bottom: 15px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.legal-article h2 {
  margin: 0 0 23px;
  color: #f3f4f7;
  font-size: 28px;
  font-weight: 660;
  letter-spacing: -0.035em;
}

.legal-article p,
.legal-article li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.legal-article p {
  margin: 0 0 17px;
}

.legal-article p:last-child {
  margin-bottom: 0;
}

.legal-article ul {
  margin: 18px 0 23px;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.legal-article li {
  position: relative;
  padding-left: 22px;
}

.legal-article li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.legal-article strong {
  color: #e2e4e9;
  font-weight: 650;
}

.legal-article p a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(98, 246, 210, 0.32);
  text-underline-offset: 3px;
}

.legal-contact {
  min-height: 76px;
  margin-top: 22px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(110deg, rgba(98, 246, 210, 0.06), rgba(108, 140, 255, 0.07)),
    rgba(255, 255, 255, 0.02);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.legal-contact:hover {
  transform: translateY(-2px);
  border-color: rgba(98, 246, 210, 0.28);
}

.legal-contact > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #e7e9ee;
  font-size: 13px;
  font-weight: 650;
}

.legal-contact small {
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-contact i {
  color: var(--cyan);
  font-style: normal;
}

@media (max-width: 980px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .legal-aside {
    position: static;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
  }

  .legal-aside nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 24px;
  }

  .legal-help {
    display: none;
  }
}

@media (max-width: 680px) {
  .content-page {
    padding: 130px 0 76px;
  }

  .content-panel {
    padding: 34px 22px;
    border-radius: 24px;
  }

  .brand-logo {
    width: 124px;
  }

  .main-nav a:nth-child(2) {
    display: block;
  }

  .main-nav a:last-child {
    display: none;
  }

  .main-nav {
    gap: 17px;
    font-size: 11px;
  }

  .footer-main,
  .footer-bottom,
  .legal-layout {
    width: min(100% - 32px, 1180px);
  }

  .footer-main {
    padding: 34px 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 13px 20px;
  }

  .footer-bottom {
    padding: 20px 0;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    text-align: center;
  }

  .legal-hero {
    min-height: 460px;
    padding: 144px 16px 72px;
  }

  .legal-hero h1 {
    font-size: clamp(50px, 15vw, 70px);
  }

  .legal-layout {
    padding: 64px 0 80px;
  }

  .legal-aside nav {
    grid-template-columns: 1fr;
  }

  .legal-article section {
    padding-bottom: 44px;
  }

  .legal-article section + section {
    padding-top: 44px;
  }

  .legal-article h2 {
    font-size: 25px;
  }
}
