:root {
  --color-off-black: #19181a;
  --color-off-white: #f8f8f8;
  --color-accent: #900202;
  --color-bg: #ffffff;

  --font-family: "Inter", sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--color-off-black);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------
   Hero Section
   -------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
}

/* Left visual column */

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero__red-panel {
  position: absolute;
  inset: 0;
  background-color: var(--color-accent);
}

.hero__watermark {
  position: absolute;
  z-index: 1;
  width: 80%;
  height: auto;
  opacity: 0.15;
  pointer-events: none;
}

.hero__slideshow {
  position: relative;
  z-index: 2;
  width: calc(100% - 6rem);
  height: 25rem;
  max-height: calc(100% - 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 1s ease-in-out;
}

.hero__image {
  position: absolute;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hero__image--active {
  opacity: 1;
}

/* Right content column */

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  gap: 48px;
  position: relative;
}

.hero__logo {
  position: absolute;
  top: 3rem;
  left: 3rem;
  text-decoration: none;
  line-height: 0;
}

.hero__logo img {
  height: 4rem;
  width: auto;
}


.hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__heading {
  font-size: clamp(32px, 3.75vw, 54px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-feature-settings: "dlig" 1;
  max-width: 648px;
}

.hero__subtitle {
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 540px;
  color: var(--color-off-black);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background-color: var(--color-off-black);
  color: var(--color-off-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  text-decoration: none;
  white-space: nowrap;
  align-self: flex-start;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero__cta:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

/* --------------------------------
   Entrance animations
   -------------------------------- */

@keyframes reveal-panel {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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


.hero__slideshow {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero__logo {
  animation: fade-in 1s ease 0.5s both;
}

.hero__heading {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.hero__subtitle {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
}

.hero__cta {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
}

/* --------------------------------
   Hamburger Button
   -------------------------------- */

.hamburger {
  position: fixed;
  top: 2.25rem;
  right: 2.25rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  animation: fade-in 1s ease 0.5s both;
}

.hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-off-black);
  border-radius: 1px;
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Animate to X when open */
.hamburger--open .hamburger__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger--open .hamburger__bar:nth-child(2) {
  opacity: 0;
}

.hamburger--open .hamburger__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------
   Site Nav (inline header buttons)
   -------------------------------- */

.site-nav {
  position: fixed;
  top: 2.25rem;
  right: calc(2.25rem + 36px + 20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  height: 36px;
  gap: 20px;
  animation: fade-in 1s ease 0.5s both;
}

.site-nav__link {
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  color: var(--color-off-black);
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.site-nav__link:hover {
  opacity: 0.5;
}

.site-nav__link--light {
  color: white;
}

.hamburger--light .hamburger__bar {
  background-color: white;
}

/* --------------------------------
   Menu Overlay
   -------------------------------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-overlay--open {
  opacity: 1;
  visibility: visible;
}

.menu-overlay__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.menu-overlay__item {
  overflow: hidden;
}

/* Hide mobile-only menu items (Log in, Sign up) on desktop */
@media (min-width: 769px) {
  .menu-overlay__item--mobile-only {
    display: none;
  }
}

.menu-overlay__link {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-off-black);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.menu-overlay__link:hover {
  color: var(--color-accent);
}

/* Stagger menu items in */
.menu-overlay--open .menu-overlay__item:nth-child(1) .menu-overlay__link {
  animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.menu-overlay--open .menu-overlay__item:nth-child(2) .menu-overlay__link {
  animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.menu-overlay--open .menu-overlay__item:nth-child(3) .menu-overlay__link {
  animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.menu-overlay--open .menu-overlay__item:nth-child(4) .menu-overlay__link {
  animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.menu-overlay--open .menu-overlay__item:nth-child(5) .menu-overlay__link {
  animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.menu-overlay--open .menu-overlay__item:nth-child(6) .menu-overlay__link {
  animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* --------------------------------
   Responsive
   -------------------------------- */

@media (max-width: 1024px) {
  .hero__logo {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  /* White header strip on non-home pages — sits behind logo + hamburger */
  .about-layout::before,
  .pricing::before,
  .faq-layout::before,
  .legal-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: white;
    z-index: 997;
  }

  /* Hide LOG IN / SIGN UP on mobile — hamburger only */
  .site-nav {
    display: none;
  }

  .hamburger {
    top: 1.5rem;
    right: 1.5rem;
  }

  /* Dark bars — visible on white header strip */
  .hamburger__bar {
    background-color: var(--color-off-black);
  }

  /* Also override the --light variant on mobile (white bg makes dark bars visible) */
  .hamburger--light .hamburger__bar {
    background-color: var(--color-off-black);
  }

  /* Revert to dark when overlay is open */
  .hamburger--open .hamburger__bar {
    background-color: var(--color-off-black);
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .hero__visual {
    min-height: 50dvh;
    padding-top: 4.5rem;
  }

  .hero__content {
    padding: 1.5rem 1.5rem 2rem;
    justify-content: flex-start;
    gap: 20px;
  }

  .hero__logo {
    position: fixed;
    top: 2.25rem;
    left: 1.5rem;
    transform: translateY(-50%);
    z-index: 999;
    margin-bottom: 0;
    order: unset;
  }

  .hero__logo img {
    height: 2rem;
    width: auto;
  }
}

/* ================================
   About Page
   ================================ */

.about-layout {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

.about {
  display: grid;
  grid-template-columns: 60% 40%;
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

/* Left content column */

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 3rem 3rem;
  gap: 48px;
  position: relative;
}

.about__logo {
  position: absolute;
  top: 1.5rem;
  left: 3rem;
  text-decoration: none;
  line-height: 0;
}

.about__logo img {
  height: 4rem;
  width: auto;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__heading {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-feature-settings: "dlig" 1;
  margin-bottom: 8px;
}

.about__body {
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 540px;
  color: var(--color-off-black);
}

.about__body--emphasis {
  font-weight: 500;
  margin-top: 4px;
}

.about__back {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  color: var(--color-off-black);
  text-decoration: none;
  padding: 8px 0;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.about__back:hover {
  color: var(--color-accent);
}

/* Right visual column */

.about__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.about__red-panel {
  position: absolute;
  inset: 0;
  background-color: var(--color-accent);
  transform-origin: right;
}

.about__image {
  position: relative;
  z-index: 2;
  width: calc(100% - 6rem);
  max-height: calc(100% - 3rem);
  object-fit: cover;
  filter: grayscale(1);
}

/* --------------------------------
   About: Entrance Animations
   -------------------------------- */

.about__red-panel {
  animation: reveal-panel 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.about__logo {
  animation: fade-in 1s ease 0.5s both;
}

.about__image {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.about__heading {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.about__body:nth-of-type(1) {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 1.0s both;
}

.about__body:nth-of-type(2) {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 1.15s both;
}

.about__body:nth-of-type(3) {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 1.3s both;
}

.about__back {
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 1.5s both;
}

@media (min-width: 769px) {
  .about__back {
    display: none;
  }
}

/* --------------------------------
   About: Responsive
   -------------------------------- */

@media (max-width: 768px) {
  .about-layout {
    height: auto;
    min-height: 100dvh;
  }

  .about {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .about__visual {
    order: -1;
    min-height: 50dvh;
  }

  .about__content {
    padding: 2rem 1.5rem;
    justify-content: flex-start;
  }

  .about__logo {
    position: fixed;
    top: 2.25rem;
    left: 1.5rem;
    transform: translateY(-50%);
    z-index: 999;
    margin-bottom: 0;
  }

  .about__logo img {
    height: 2rem;
  }
}

/* ================================
   Pricing Page
   ================================ */

.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
  padding: 1.5rem 3rem 4rem;
  background: var(--color-bg);
  position: relative;
}

.pricing__logo {
  position: absolute;
  top: 1.5rem;
  left: 3rem;
  text-decoration: none;
  line-height: 0;
  animation: fade-in 1s ease 0.3s both;
}

.pricing__logo img {
  height: 4rem;
  width: auto;
}

.pricing__heading {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-align: center;
  margin-top: 6rem;
  margin-bottom: 2rem;
  color: var(--color-off-black);
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* --------------------------------
   Pricing Hero
   -------------------------------- */

.pricing__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.pricing__trial-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-off-black);
  color: #fff;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  padding: 14px 36px;
  border: 1px solid var(--color-off-black);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pricing__trial-btn:hover {
  background-color: transparent;
  color: var(--color-off-black);
}

/* --------------------------------
   Billing Toggle
   -------------------------------- */

.pricing__toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.pricing__toggle-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-off-black);
}

.pricing__toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-off-black);
  opacity: 0.35;
  padding: 6px 8px;
  transition: opacity 0.3s ease;
}

.pricing__toggle-btn--active {
  opacity: 1;
}

.pricing__toggle-btn:hover {
  opacity: 0.7;
}

.pricing__toggle-btn--active:hover {
  opacity: 1;
}

/* --------------------------------
   Plan Cards Grid
   -------------------------------- */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 0;
  width: 100%;
  max-width: 1200px;
}

.pricing__card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  padding: 2rem 1.5rem;
  background: var(--color-bg);
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pricing__card--featured {
  border-color: var(--color-off-black);
  border-width: 2px;
}

/* --------------------------------
   Card Content
   -------------------------------- */

.pricing__name {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-off-black);
  margin-bottom: 1rem;
}

.pricing__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.pricing__price {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
  color: var(--color-off-black);
  letter-spacing: -0.03em;
}

.pricing__price--text {
  font-size: clamp(36px, 4vw, 56px);
}

.pricing__unit {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.pricing__credits {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

/* --------------------------------
   Features List
   -------------------------------- */

.pricing__desc {
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing__desc-tagline {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-off-black);
  margin: 0;
  min-height: calc(11px * 1.3 * 2);
}

.pricing__desc-body {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(25, 24, 26, 0.7);
  margin: 0;
}

/* --------------------------------
   CTA Button
   -------------------------------- */

.pricing__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  margin-top: 2rem;
  background-color: var(--color-off-black);
  color: var(--color-off-white);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.pricing__cta:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

/* --------------------------------
   Back Link
   -------------------------------- */

.pricing__back {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  color: var(--color-off-black);
  text-decoration: none;
  padding: 8px 0;
  margin-top: 3rem;
  transition: color 0.3s ease;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.pricing__back:hover {
  color: var(--color-accent);
}

/* --------------------------------
   Feature Comparison Table
   -------------------------------- */

.pricing__comparison {
  width: 100%;
  max-width: 1200px;
  margin: 2.5rem auto 0;
  overflow-x: auto;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

.pricing__comparison-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-off-black);
  margin: 0 0 2rem 0;
}

.pricing__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-family);
}

.pricing__table-th {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-off-black);
  text-align: center;
  border-bottom: 1.5px solid var(--color-off-black);
}

.pricing__table-th--feature {
  text-align: left;
}

.pricing__table-row {
  border-bottom: 1px solid rgba(25, 24, 26, 0.08);
  transition: background-color 0.15s ease;
}

.pricing__table-row:hover {
  background-color: rgba(25, 24, 26, 0.03);
}

.pricing__table-td {
  padding: 7px 14px;
  font-size: 11px;
  text-align: center;
  color: var(--color-off-black);
}

.pricing__table-td--feature {
  text-align: left;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.pricing__table-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-off-black);
}

.pricing__table-dash {
  color: rgba(25, 24, 26, 0.22);
  font-size: 12px;
}

.pricing__table-text {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-off-black);
}

/* --------------------------------
   Pricing: Responsive
   -------------------------------- */

@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing {
    padding: 2rem 1.5rem 3rem;
  }

  .pricing__logo {
    position: fixed;
    top: 2.25rem;
    left: 1.5rem;
    transform: translateY(-50%);
    z-index: 999;
    margin-bottom: 0;
  }

  .pricing__logo img {
    height: 2rem;
  }

  .pricing__heading {
    margin-top: 0;
    margin-bottom: 1.5rem;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .pricing__toggle {
    gap: 4px;
  }

  .pricing__toggle-label {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .pricing__toggle-btn {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 4px 6px;
  }

  .pricing__table-th {
    padding: 6px 4px;
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .pricing__table-td {
    padding: 6px 4px;
  }
}

/* ================================
   FAQ Page
   ================================ */

.faq-layout {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.faq-layout .faq-page {
  flex: 1;
}

.faq-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 3rem 4rem;
  background: var(--color-bg);
  position: relative;
}

.faq-page__logo {
  position: absolute;
  top: 1.5rem;
  left: 3rem;
  text-decoration: none;
  line-height: 0;
  animation: fade-in 1s ease 0.3s both;
}

.faq-page__logo img {
  height: 4rem;
  width: auto;
}

.faq-page__heading {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 3rem;
  color: var(--color-off-black);
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.faq-page__list {
  width: 100%;
  max-width: 800px;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.faq-page__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.faq-page__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-off-black);
  transition: color 0.25s ease;
}

.faq-page__question:hover {
  color: var(--color-accent);
}

.faq-page__icon {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-off-black);
}

.faq-page__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-page__item--open .faq-page__answer {
  grid-template-rows: 1fr;
}

.faq-page__answer > p {
  overflow: hidden;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.55);
  padding-bottom: 0;
  transition: padding-bottom 0.35s ease;
}

.faq-page__item--open .faq-page__answer > p {
  padding-bottom: 1.25rem;
}

.faq-page__link {
  color: var(--color-off-black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-page__link--bold {
  font-weight: 600;
}

.faq-page__back {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  color: var(--color-off-black);
  text-decoration: none;
  padding: 8px 0;
  margin-top: 3rem;
  transition: color 0.3s ease;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.faq-page__back:hover {
  color: var(--color-accent);
}

/* --------------------------------
   FAQ Page: Responsive
   -------------------------------- */

@media (max-width: 768px) {
  .faq-page {
    padding: 5rem 1.5rem 3rem;
  }

  .faq-page__logo {
    position: fixed;
    top: 2.25rem;
    left: 1.5rem;
    transform: translateY(-50%);
    z-index: 999;
    margin-bottom: 0;
  }

  .faq-page__logo img {
    height: 2rem;
  }

  .faq-page__heading {
    margin-top: 0;
    margin-bottom: 2rem;
  }
}

/* ================================
   Legal Pages (Terms of Use, Privacy Policy)
   ================================ */

.legal-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 3rem 4rem;
  position: relative;
}

.legal-page__logo {
  position: absolute;
  top: 1.5rem;
  left: 3rem;
  text-decoration: none;
  line-height: 0;
  animation: fade-in 1s ease 0.3s both;
}

.legal-page__logo img {
  height: 4rem;
  width: auto;
}

.legal-page__heading {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-feature-settings: "dlig" 1;
  text-align: center;
  margin-top: 6rem;
  margin-bottom: 3rem;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.legal-page__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 900px;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.legal-page__meta {
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.45);
  margin-bottom: 2.5rem;
}

.legal-page__section {
  margin-bottom: 2.5rem;
}

.legal-page__section p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-off-black);
  margin-bottom: 1rem;
}

.legal-page__subheading {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.legal-page__section ul,
.legal-page__section ol {
  margin: 0.5rem 0 1rem 1.5rem;
  padding: 0;
}

.legal-page__section ul {
  list-style-type: disc;
}

.legal-page__section ol {
  list-style-type: decimal;
}

.legal-page__section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-off-black);
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.legal-page__section ul ul {
  margin-top: 0.5rem;
}

.legal-page__link {
  color: var(--color-off-black);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.25s ease;
}

.legal-page__link:hover {
  opacity: 0.6;
}

.legal-page__uppercase {
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.legal-page__address {
  font-style: normal;
  line-height: 1.8;
}

.legal-page__table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 14px;
  line-height: 1.6;
}

.legal-page__table th,
.legal-page__table td {
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.legal-page__table thead th {
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
}

.legal-page__table tbody th {
  font-weight: 500;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.12px;
  color: var(--color-off-black);
  text-decoration: none;
  padding: 8px 0;
  margin-top: 1rem;
  width: 100%;
  max-width: 900px;
  align-self: center;
  transition: color 0.3s ease;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.legal-page__back:hover {
  color: var(--color-accent);
}

/* --------------------------------
   Legal Pages: Responsive
   -------------------------------- */

@media (max-width: 768px) {
  .legal-page {
    padding: 2rem 1.5rem 3rem;
  }

  .legal-page__logo {
    position: fixed;
    top: 2rem;
    left: 1.5rem;
    transform: translateY(-50%);
    z-index: 999;
    margin-bottom: 0;
  }

  .legal-page__logo img {
    height: 2rem;
  }

  .legal-page__heading {
    /* Push heading below the 4rem fixed nav strip + breathing room */
    margin-top: 5rem;
    margin-bottom: 2rem;
  }
}

/* ================================
   Site Footer
   ================================ */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0.75rem 3rem;
  background: var(--color-off-black);
  color: var(--color-off-white);
  font-family: var(--font-family);
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__link {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-off-white);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.site-footer__link:hover {
  opacity: 0.7;
}

.site-footer__sep {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.25s ease;
}

.site-footer__social:hover {
  opacity: 0.7;
}

.site-footer__logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__logo-nvidia {
  height: auto;
  width: 100px;
}

.site-footer__logo-speedrun {
  height: 20px;
  width: auto;
}

.site-footer__copyright {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-off-white);
  text-align: right;
  white-space: nowrap;
}

/* --------------------------------
   Footer: Responsive
   -------------------------------- */

@media (max-width: 768px) {
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 20px;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer__copyright {
    text-align: center;
  }
}

/* Home page footer — desktop hidden, mobile only */
.site-footer--home {
  display: none;
}

@media (max-width: 768px) {
  .site-footer--home {
    display: grid;
  }
}

/* --------------------------------
   Language Switcher (menu overlay — 7th item)
   Pure additions only — no existing rules modified
   -------------------------------- */

/* Stagger animation for the 7th overlay item (language switcher) */
.menu-overlay--open .menu-overlay__item:nth-child(7) .lang-switcher-toggle {
  animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* Toggle button row */
.lang-switcher-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  color: var(--color-off-black);
  transition: color 0.25s ease;
}

.lang-switcher-toggle:hover {
  color: var(--color-accent);
}

.lang-switcher-toggle__label {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  opacity: 0.45;
}

.lang-switcher-toggle__current {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.lang-switcher-toggle__arrow {
  font-size: 0.7rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.25s ease;
  transform: rotate(0deg);
  margin-left: 2px;
}

.lang-switcher-toggle__arrow--open {
  transform: rotate(180deg);
}

/* Language option list — grid trick for smooth height animation */
.lang-switcher__list-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switcher__list-wrapper--open {
  grid-template-rows: 1fr;
}

.lang-switcher__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.lang-switcher__list-wrapper--open .lang-switcher__list {
  padding-top: 8px;
  padding-bottom: 4px;
}

.lang-switcher__btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: clamp(12px, 1.6vw, 15px);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-off-black);
  opacity: 0.45;
  padding: 4px 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.lang-switcher__btn:hover {
  opacity: 1;
  color: var(--color-accent);
}

.lang-switcher__btn--active {
  opacity: 1;
  font-weight: 700;
}
