/* ============================================================
   tvbeat — motion layer
   Animations and micro-interactions on top of main.min.css.
   Existing main.min.css is untouched.
   ============================================================ */

:root {
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- Design-preservation fix ------------------------------
   Tina-wrapped JSX puts BOTH hero lines inside <span>, but the
   original CSS rule `.hero h1 span` paints gradient on every
   span. Restore the second line to white so the design matches
   the original (only "Total TV." is gradient).
   ----------------------------------------------------------- */
.hero h1 > span:last-child {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: currentColor !important;
  color: #fff !important;
  font-size: inherit !important;
}

/* ----- Hero first-load choreography ------------------------- */

@keyframes tvb-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tvb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Brand identity: keep the existing gradient on "Total TV.",
   just animate its position so it subtly drifts. */
@keyframes tvb-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.navbar {
  opacity: 0;
  animation: tvb-fade 600ms var(--ease-out-quart) 0ms forwards;
}

.hero h1 {
  opacity: 0;
  animation: tvb-rise 800ms var(--ease-out-expo) 250ms forwards;
}

.hero h1 > span:first-child {
  /* Rise on load + slow gradient drift forever. The size override
     gives the gradient room to slide. */
  background-size: 200% 100% !important;
  animation:
    tvb-rise 800ms var(--ease-out-expo) 100ms both,
    tvb-shimmer 8s ease-in-out 1.2s infinite;
}

.hero p {
  opacity: 0;
  animation: tvb-rise 700ms var(--ease-out-quart) 500ms forwards;
}

.hero .secondary-subtitle {
  opacity: 0;
  animation: tvb-rise 700ms var(--ease-out-quart) 700ms forwards;
}

/* ----- Scroll-triggered reveals ----------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease-out-quart),
    transform 700ms var(--ease-out-quart);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Stagger children using --i index set inline */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms var(--ease-out-quart),
    transform 600ms var(--ease-out-quart);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}
[data-reveal-stagger].is-revealed > * {
  opacity: 1;
  transform: none;
}

/* ----- Values section: new images + gradient overlays ------- */

section.values .col.value1 {
  background-image: url(/images/graphics/prove-it.jpg) !important;
  background-size: cover;
  background-position: center;
}
section.values .col.value3 {
  background-image: url(/images/graphics/ship-bold.jpg) !important;
  background-size: cover;
  background-position: center;
}
section.values .col.value4 {
  background-image: url(/images/graphics/figure-it-out.jpg) !important;
  background-size: cover;
  background-position: center;
}
section.values .col.value2 {
  background-image: url(/images/graphics/all-in.jpg) !important;
  background-size: cover;
  background-position: center;
}

/* Gradient overlay per card via pseudo-element */
section.values .col {
  position: relative;
  overflow: hidden;
}

section.values .col::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

section.values .col h5,
section.values .col p {
  position: relative;
  z-index: 1;
}

/* Each card: heavy brand-tinted overlay so the photo is a subtle texture */
section.values .col.value1::before {
  background: linear-gradient(
    160deg,
    oklch(0.26 0.14 265 / 0.82) 0%,
    oklch(0.20 0.10 250 / 0.90) 100%
  );
}

section.values .col.value3::before {
  background: linear-gradient(
    200deg,
    oklch(0.24 0.12 295 / 0.78) 0%,
    oklch(0.18 0.14 280 / 0.88) 100%
  );
}

section.values .col.value4::before {
  background: linear-gradient(
    140deg,
    oklch(0.28 0.10 235 / 0.80) 0%,
    oklch(0.20 0.12 260 / 0.88) 100%
  );
}

section.values .col.value2::before {
  background: linear-gradient(
    180deg,
    oklch(0.25 0.14 290 / 0.76) 0%,
    oklch(0.18 0.10 310 / 0.86) 100%
  );
}

/* Hover reveals the image a touch more */
section.values .col:hover::before {
  opacity: 0.8;
}

section.values .col::before {
  transition: opacity 0.4s var(--ease-out-quart);
}

/* ----- Micro-interactions ----------------------------------- */

/* Partner logos: grid layout + normalized sizing */
section.partner .partner-logos {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 2rem;
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

section.partner .partner-logos > [class*="col"] {
  width: 100%;
  max-width: none;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0;
}

section.partner .partner-logos img {
  max-height: 42px;
  max-width: 140px;
  width: auto;
  height: auto;
  padding: 0;
  transition:
    transform 250ms var(--ease-out-quart),
    opacity 250ms var(--ease-out-quart);
  opacity: 0.85;
}

section.partner .partner-logos img:hover {
  transform: scale(1.06);
  opacity: 1;
}

@media (min-width: 992px) {
  section.partner .partner-logos {
    grid-template-columns: repeat(8, 1fr);
    gap: 0 1.5rem;
  }
}

@media (max-width: 575.98px) {
  section.partner .partner-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
  }
  section.partner .partner-logos img {
    max-height: 32px;
    max-width: 110px;
  }
}

/* "One platform" icon blocks: subtle lift on hover */
.oneplatform .blocks .col {
  transition: transform 300ms var(--ease-out-quart);
}
.oneplatform .blocks .col:hover {
  transform: translateY(-4px);
}

/* CTA button: scale + shadow + brightness on hover */
.btn-dark,
.btn-primary,
.btn-lg {
  transition:
    transform 200ms var(--ease-out-quart),
    box-shadow 200ms var(--ease-out-quart),
    filter 200ms var(--ease-out-quart);
}
.btn-dark:hover,
.btn-primary:hover,
.btn-lg:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(44, 55, 241, 0.25);
  filter: brightness(1.05);
}
.btn-dark:active,
.btn-primary:active,
.btn-lg:active {
  transform: translateY(0) scale(0.99);
  transition-duration: 100ms;
}

/* Nav links */
.navbar-nav .nav-link {
  transition:
    opacity 200ms var(--ease-out-quart),
    color 200ms var(--ease-out-quart);
}

/* Mobile menu button */
.mobile-menu-button {
  transition: transform 200ms var(--ease-out-quart);
}
.mobile-menu-button:hover { transform: scale(1.08); }
.mobile-menu-button:active { transform: scale(0.95); }

/* Sidenav: smoother slide */
.sidenav {
  transition: right 400ms var(--ease-out-expo) !important;
}

/* ----- Latest News cards --------------------------------------- */

.latest-news {
  padding-bottom: 60px;
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none !important;
  color: #1a1a2e !important;
  transition:
    transform 300ms var(--ease-out-quart),
    border-color 300ms var(--ease-out-quart),
    box-shadow 300ms var(--ease-out-quart);
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(44, 55, 241, 0.3);
  box-shadow: 0 12px 32px rgba(44, 55, 241, 0.1);
  color: #1a1a2e !important;
  text-decoration: none !important;
}

.news-card-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-date {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
  text-decoration: none !important;
}

.news-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.news-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #666;
  margin-bottom: 0;
  flex: 1;
}

/* ----- Blog index page ----------------------------------------- */

.blog-index-heading {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}
.blog-index-sub {
  font-size: 1.1rem;
  color: #666;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  text-decoration: none !important;
  color: #1a1a2e !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition:
    transform 400ms var(--ease-out-expo),
    box-shadow 400ms var(--ease-out-expo);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(44, 55, 241, 0.10),
    0 8px 16px rgba(0, 0, 0, 0.06);
  color: #1a1a2e !important;
  text-decoration: none !important;
}

/* Image wrapper — crops and holds the zoom */
.blog-card-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  aspect-ratio: 16 / 9;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease-out-expo);
}
.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-img--placeholder {
  background: linear-gradient(135deg, #2c37f1 0%, #7c3aed 100%);
}

.blog-card-content {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-date {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: #1a1a2e;
  transition: color 250ms var(--ease-out-quart);
}
.blog-card:hover .blog-card-title {
  color: #2c37f1;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #777;
  margin-bottom: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----- Article page -------------------------------------------- */

.article-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

/* The article itself: centered column */
.article {
  max-width: 820px;
  margin: 0 auto;
}

/* Back link */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #2c37f1;
  text-decoration: none !important;
  transition: color 200ms var(--ease-out-quart);
}
.article-back:hover {
  color: oklch(0.35 0.25 270);
  text-decoration: none !important;
}
.article-back svg {
  transition: transform 200ms var(--ease-out-quart);
}
.article-back:hover svg {
  transform: translateX(-3px);
}

/* Header */
.article-header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.article-title {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: oklch(0.15 0.02 270);
}

/* Meta line: date + reading time */
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.25rem;
}

.article-date {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: oklch(0.5 0.01 270);
}

.article-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: oklch(0.75 0.01 270);
  flex-shrink: 0;
}

.article-reading-time {
  font-size: 0.84rem;
  font-weight: 500;
  color: oklch(0.5 0.01 270);
}

.article-excerpt {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: oklch(0.4 0.01 270);
  max-width: 60ch;
}

/* Cover image — full width within article column */
.article-cover {
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}
.article-cover img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* Body typography — centered reading column */
.article-body {
  max-width: 68ch;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.6vw, 1.15rem);
  line-height: 1.8;
  color: oklch(0.28 0.01 270);
}

/* Lead paragraph: larger, bolder opening */
.article-body > p:first-child {
  font-size: clamp(1.15rem, 1.8vw, 1.28rem);
  line-height: 1.7;
  color: oklch(0.22 0.01 270);
}

/* Drop cap on first paragraph */
.article-body > p:first-child::first-letter {
  float: left;
  font-size: 3.4em;
  line-height: 0.8;
  font-weight: 800;
  color: #2c37f1;
  padding-right: 0.08em;
  margin-top: 0.07em;
}

/* Headings inside article */
.article-body h1 {
  max-width: none;
  margin-top: clamp(3rem, 6vw, 4rem);
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: oklch(0.15 0.02 270);
}

.article-body h2 {
  max-width: none;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: oklch(0.15 0.02 270);
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 2px solid oklch(0.92 0.005 270);
}

.article-body h3 {
  max-width: none;
  margin-top: clamp(2rem, 3.5vw, 2.5rem);
  margin-bottom: 0.6rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: oklch(0.18 0.02 270);
}

/* Paragraphs */
.article-body p {
  margin-bottom: 1.6em;
}

/* Strong text */
.article-body strong {
  font-weight: 700;
  color: oklch(0.18 0.015 270);
}

/* Links inside body */
.article-body a {
  color: #2c37f1;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: oklch(0.55 0.2 270 / 0.4);
  transition:
    color 200ms var(--ease-out-quart),
    text-decoration-color 200ms var(--ease-out-quart);
}
.article-body a:hover {
  color: oklch(0.3 0.25 270);
  text-decoration-color: oklch(0.3 0.25 270);
}

/* Blockquotes — left accent, no background fill */
.article-body blockquote {
  margin: 2.5rem 0;
  padding: 0.25rem 0 0.25rem 1.75rem;
  border-left: 3px solid #2c37f1;
  background: none;
  border-radius: 0;
  font-size: 1.08em;
  line-height: 1.6;
  color: oklch(0.3 0.015 270);
  font-style: italic;
}
.article-body blockquote p:last-child {
  margin-bottom: 0;
}

/* Lists */
.article-body ul,
.article-body ol {
  margin-bottom: 1.6em;
  padding-left: 1.5em;
}
.article-body li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}
.article-body li::marker {
  color: #2c37f1;
}

/* Inline code */
.article-body code {
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  border-radius: 5px;
  background: oklch(0.96 0.008 270);
  color: oklch(0.35 0.12 270);
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* Code blocks */
.article-body pre {
  margin: 2.5rem -1rem;
  padding: 1.75rem 2rem;
  border-radius: 12px;
  background: oklch(0.14 0.025 270);
  overflow-x: auto;
}
.article-body pre code {
  background: none;
  padding: 0;
  color: oklch(0.82 0.01 270);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* Horizontal rules */
.article-body hr {
  margin: clamp(3rem, 6vw, 4rem) auto;
  border: none;
  height: 0;
  width: 48px;
  border-top: 2px solid oklch(0.88 0.005 270);
}

/* Images in body */
.article-body img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
}

/* Footer */
.article-footer {
  max-width: 68ch;
  margin: clamp(3.5rem, 6vw, 5rem) auto 0;
  padding-top: 2rem;
  border-top: 2px solid oklch(0.92 0.005 270);
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .article-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.15;
  }

  .article-cover {
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 12px;
  }

  .article-body > p:first-child::first-letter {
    font-size: 2.8em;
  }

  .article-body pre {
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 8px;
  }

  .article-body h2 {
    border-top: none;
    padding-top: 0;
  }
}

/* Show older posts button */
.blog-show-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: transparent;
  color: oklch(0.35 0.02 270);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition:
    border-color 250ms var(--ease-out-quart),
    color 250ms var(--ease-out-quart),
    transform 250ms var(--ease-out-quart),
    box-shadow 250ms var(--ease-out-quart);
}
.blog-show-more:hover {
  border-color: #2c37f1;
  color: #2c37f1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 55, 241, 0.1);
}
.blog-show-more:active {
  transform: translateY(0);
  transition-duration: 80ms;
}
.blog-show-more svg {
  transition: transform 200ms var(--ease-out-quart);
}
.blog-show-more:hover svg {
  transform: translateY(2px);
}

/* ----- Newsletter signup --------------------------------------- */

.nl-signup {
  background-image: url(/images/graphics/CTABG.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  padding: 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.nl-signup .container {
  position: relative;
  z-index: 2;
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}
.nl-signup-dots {
  background-image: url(/images/graphics/dots.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  opacity: 0.8;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.nl-signup-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: oklch(0.99 0.005 270);
  margin-bottom: 1rem;
}

.nl-signup-body {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.65;
  color: oklch(0.88 0.02 270);
  margin-bottom: 1.5rem;
}

.nl-signup-privacy {
  font-size: 0.82rem;
  line-height: 1.5;
  color: oklch(0.75 0.04 270);
  margin-bottom: 0;
}
.nl-signup-privacy a {
  color: oklch(0.92 0.02 270);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 200ms var(--ease-out-quart);
}
.nl-signup-privacy a:hover {
  color: oklch(0.99 0.005 270);
}

/* Form */
.nl-signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nl-signup-field {
  position: relative;
}

.nl-signup-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: oklch(0.99 0.005 270);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition:
    border-color 250ms var(--ease-out-quart),
    background 250ms var(--ease-out-quart),
    box-shadow 250ms var(--ease-out-quart);
}
.nl-signup-input::placeholder {
  color: oklch(0.78 0.02 270);
}
.nl-signup-input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

/* Consent checkbox */
.nl-signup-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 4px 0 8px;
}
.nl-signup-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: oklch(0.99 0.005 270);
  cursor: pointer;
}
.nl-signup-consent span {
  font-size: 0.85rem;
  line-height: 1.45;
  color: oklch(0.82 0.02 270);
}

/* Submit button */
.nl-signup-btn {
  align-self: flex-start;
  padding: 13px 36px;
  border: none;
  border-radius: 10px;
  background: oklch(0.99 0.005 270);
  color: #2c37f1;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 200ms var(--ease-out-quart),
    box-shadow 200ms var(--ease-out-quart),
    opacity 200ms var(--ease-out-quart);
}
.nl-signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.nl-signup-btn:active {
  transform: translateY(0);
  transition-duration: 80ms;
}
.nl-signup-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success state */
.nl-signup-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  min-height: 260px;
}
.nl-signup-success p {
  font-size: 1.15rem;
  font-weight: 600;
  color: oklch(0.95 0.01 270);
  margin: 0;
}

/* Error message */
.nl-signup-error {
  font-size: 0.85rem;
  color: oklch(0.85 0.1 30);
  margin: 4px 0 0;
}

/* ----- Password gate ----------------------------------------- */

.pw-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1a2e 0%, #2c37f1 100%);
}

.pw-gate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px 40px;
  width: min(400px, 90vw);
}

.pw-gate-logo {
  height: 32px;
  width: auto;
  margin-bottom: 8px;
  opacity: 0.9;
}

.pw-gate-label {
  font-size: 0.92rem;
  color: oklch(0.78 0.02 270);
  margin: 0;
}

.pw-gate-form {
  display: flex;
  gap: 10px;
  width: 100%;
}

.pw-gate-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition:
    border-color 200ms var(--ease-out-quart),
    background 200ms var(--ease-out-quart);
}
.pw-gate-input::placeholder {
  color: oklch(0.65 0.02 270);
}
.pw-gate-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.pw-gate-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #2c37f1;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 200ms var(--ease-out-quart),
    box-shadow 200ms var(--ease-out-quart);
}
.pw-gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.pw-gate-btn:active {
  transform: translateY(0);
  transition-duration: 80ms;
}

.pw-gate-error {
  font-size: 0.85rem;
  color: oklch(0.78 0.15 25);
  margin: 0;
}

/* ----- Reduced motion: disable everything ------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
