@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-300.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono Local";
  src: url("../fonts/IBMPlexMono-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

:root {
  --color-bg: #161616;
  --color-panel: #2c2c2c;
  --color-text: #faf9f6;
  --color-text-dark: #161616;
  --color-muted: #828282;
  --color-overlay: rgba(45, 45, 45, 0.8);
  --nav-width: 25rem;
  --waitlist-submit-min-width: 0;
  --waitlist-submit-padding-x: 10px;
  --waitlist-submit-reserved-space: 8.5rem;
  --transition-fast: 0.3s ease;
  --chrome-edge-x: 2.5vw;
  --globe-size: 2rem;
}

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

html {
  min-height: 100%;
  overscroll-behavior: none;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}

body.landing-page {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.quentin-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--color-bg);
}

.quentin-background.is-ready {
  background: #000;
}

.quentin-background canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

img,
svg {
  display: block;
}

.homepage {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  z-index: 1;
}

.landing-page .homepage {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.trail-container {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.landing-page .trail-container {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
}

.headline {
  position: relative;
  z-index: 1;
  max-width: calc(100vw - 2rem);
  min-width: 0;
  color: var(--color-text);
  font-size: 5vw;
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  user-select: none;
}

.headline-typed {
  display: inline;
}

.headline-trademark {
  display: none;
  margin-left: -0.27em;
  font-size: 0.45em;
  line-height: 1;
  letter-spacing: 0.02em;
  vertical-align: super;
  position: relative;
  top: -0.045em;
}

.headline.has-trademark .headline-trademark {
  display: inline-block;
}

.headline-cursor {
  display: inline-block;
  margin-left: 2px;
}

:focus {
  outline-offset: 0;
}

:focus-visible {
  outline: none;
}

.navwrap {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  width: min(var(--nav-width), calc(100vw - 2rem));
  overflow: hidden;
  background-color: var(--color-panel);
  z-index: 20;
}

.menu {
  position: relative;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 70px;
  padding: 10px;
  background-color: var(--color-panel);
}

.x_nav_right {
  flex: 1 1 auto;
  width: calc(100% - 60px);
  min-width: 0;
  max-width: 310px;
}

.x_nav_button_wrap {
  display: block;
  flex: 0 0 auto;
}

.x_nav_contact-btn_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  overflow: hidden;
  padding-right: 1.2rem;
  color: var(--color-text-dark);
  background-color: var(--color-text);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.x_nav_contact-btn_link:hover {
  background-color: var(--color-bg);
  color: var(--color-text);
}

.x_nav_contact-btn_link:hover .x_nav_contact-btn_text.x_u-s-body {
  animation-duration: 0.3s;
}

.x_nav_contact-btn_link:hover .x_nav_contact-btn_fade {
  background-image: linear-gradient(90deg, var(--color-bg) 40%, transparent);
}

.x_nav_contact-btn_link:hover .x_nav_contact-btn_fade.is-right {
  opacity: 0;
}

.x_nav_contact-btn_texts {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
}

.x_nav_contact-btn_text.x_u-s-body {
  white-space: nowrap;
  padding-right: 1rem;
  animation: carousel01 5s linear infinite;
}

.x_u-s-body {
  font-size: 16px;
  font-weight: 400;
}

.x_nav_contact-btn_fade {
  position: absolute;
  inset: 0 auto 0 -1px;
  width: 1.25rem;
  height: 100%;
  background-image: linear-gradient(90deg, var(--color-text) 40%, transparent);
}

.x_nav_contact-btn_fade.is-right {
  left: auto;
  right: -1px;
  transform: rotate(180deg);
}

.info {
  height: 0;
  overflow: hidden;
  padding: 0 10px;
  opacity: 0;
}

.info-line {
  font-size: 16px;
  color: var(--color-text);
}

.info-line-first {
  padding-top: 20px;
}

.info-line-phone {
  padding: 40px 0;
}

.open_info {
  display: flex;
  align-items: center;
}

.open_info svg,
.open_info svg *,
.ui-sound-toggle svg,
.ui-sound-toggle svg * {
  pointer-events: none;
}

.open_info:hover .line1,
.open_info.active .line1 {
  transform: translate(16px, 10px);
}

.open_info:hover .line2,
.open_info.active .line2 {
  transform: translate(-14px, -11px);
}

.line1,
.line2 {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  background: var(--color-overlay);
}

.popup-overlay.is-active {
  pointer-events: auto;
}

.cursor {
  z-index: 99999;
  mix-blend-mode: difference;
  pointer-events: none;
  will-change: transform;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
}

.cursor svg {
  width: 32px;
  height: 32px;
  transform-box: fill-box;
  transform-origin: center;
}

.coordinate-strip {
  position: fixed;
  z-index: 35;
  display: none;
  color: var(--color-text);
  font-family: "IBM Plex Mono Local", "IBM Plex Mono", monospace;
  font-size: 0.88vw;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  mix-blend-mode: difference;
  pointer-events: none;
  user-select: none;
}

.coordinate-strip--bottom {
  left: 0;
  right: 0;
  bottom: 0.625vw;
  padding-left: var(--chrome-edge-x);
  padding-right: var(--chrome-edge-x);
  align-items: flex-end;
  justify-content: space-between;
}

.coordinate-group,
.coordinate-center,
.coordinate-year,
.coordinate-vertical-group,
.coordinate-vertical-center {
  display: flex;
  align-items: center;
}

.coordinate-group {
  gap: 0.63rem;
}

.coordinate-year {
  gap: 0.35em;
}

.coordinate-center,
.coordinate-vertical-center {
  flex-direction: column;
  gap: 0.29em;
}

.coordinate-center {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.coordinate-strip--right {
  top: 0;
  right: 0.625vw;
  bottom: auto;
  height: 100svh;
  width: auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.coordinate-vertical-inner {
  display: flex;
  width: 2.42em;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: -7.96em;
  flex-shrink: 0;
  transform: rotate(90deg);
  transform-origin: 0% 100%;
}

.coordinate-vertical-group {
  column-gap: 0.59em;
}

.coordinate-vertical-center {
  margin-left: 2.95em;
  row-gap: 0;
}

.coordinate-vertical-group,
.coordinate-vertical-center {
  white-space: nowrap;
}

.corner-globe {
  position: fixed;
  top: calc(2rem + 15px - (var(--globe-size) / 2));
  right: var(--chrome-edge-x);
  z-index: 36;
  display: none;
  width: var(--globe-size);
  height: var(--globe-size);
  color: var(--color-text);
  pointer-events: none;
  transform-style: preserve-3d;
}

.corner-globe svg {
  display: block;
  width: var(--globe-size);
  height: var(--globe-size);
}

.corner-globe__rotor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--globe-size);
  height: var(--globe-size);
  perspective: 15rem;
  transform: translate3d(-50%, -50%, 0);
  transform-style: preserve-3d;
  animation: globeRotate 6s linear infinite;
}

.corner-globe__rotor svg {
  transform: translateZ(calc(var(--globe-size) / 2));
  backface-visibility: hidden;
}

@keyframes globeRotate {
  from {
    transform: translate3d(-50%, -50%, 0) rotateY(0deg);
  }

  to {
    transform: translate3d(-50%, -50%, 0) rotateY(360deg);
  }
}

.ui-sound-toggle {
  position: fixed;
  top: 2rem;
  left: var(--chrome-edge-x);
  z-index: 40;
  border: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.ui-sound-toggle.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.sound-toggle__button {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 23px;
  height: 15px;
}

.sound-toggle__button span {
  display: block;
  flex: 0 0 3px;
  width: 3px;
  height: 100%;
  pointer-events: none;
  background-color: var(--color-muted);
  transform: scaleY(0.1);
  transform-origin: 50% 100%;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    background-color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sound-toggle__button.is-active span {
  background-color: var(--color-text);
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

.sound-toggle__button span:nth-child(1) {
  animation-name: soundBarLow;
  animation-delay: 0.26s;
}

.sound-toggle__button span:nth-child(2) {
  animation-name: soundBarLow;
  animation-delay: 0.32s;
}

.sound-toggle__button span:nth-child(3) {
  animation-name: soundBarMid;
  animation-delay: 0.04s;
}

.sound-toggle__button span:nth-child(4),
.sound-toggle__button span:nth-child(5) {
  animation-name: soundBarTall;
}

.sound-toggle__button span:nth-child(4) {
  animation-delay: 0.47s;
}

.sound-toggle__button span:nth-child(5) {
  animation-delay: 0.18s;
}

.sound-toggle__button span.muted {
  animation: soundBarMuted 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) both;
  background-color: var(--color-muted);
}

.popup-banner {
  position: relative;
  width: min(567px, 100%);
  padding: 2rem;
  text-align: center;
  opacity: 0;
  background: var(--color-text);
  color: var(--color-text-dark);
  transform: translateY(50px) scale(0.96);
}

.popup-banner h2 {
  padding-top: 100px;
  padding-bottom: 20px;
  font-size: 45px;
  font-weight: 300;
  color: var(--color-panel);
}

.popup-banner p.subtitle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 70px;
  font-size: 18px;
  font-weight: 300;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-panel);
  background: transparent;
  border: 0;
}

.logo_popup {
  display: block;
  width: min(195px, 100%);
  height: auto;
  margin: 100px auto 0;
}

.waitlist-form {
  max-width: 380px;
  margin: 0 auto;
}

.form_wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form_wrap input {
  width: 100%;
  height: 58px;
  padding: 10px var(--waitlist-submit-reserved-space) 10px 10px;
  font-size: 15px;
  line-height: 58px;
  color: var(--color-muted);
  background-color: rgba(44, 44, 44, 0.1);
  border: 0;
}

.form_wrap input::placeholder {
  color: var(--color-muted);
}

.form_wrap button {
  --button-hover-x: 50%;
  --button-hover-y: 50%;
  position: absolute;
  right: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: var(--waitlist-submit-min-width);
  height: 38px;
  padding-inline: var(--waitlist-submit-padding-x);
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-text-dark);
  background-color: #fff;
  border: 0;
  isolation: isolate;
  transition: color 0.32s ease;
}

.form_wrap button::before {
  display: none;
}

.form_wrap button .button-hover-fill {
  position: absolute;
  top: var(--button-hover-y);
  left: var(--button-hover-x);
  z-index: 0;
  width: 0;
  height: 0;
  background-color: var(--color-bg);
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.42s ease, height 0.42s ease;
}

.form_wrap button:hover .button-hover-fill,
.form_wrap button:focus-visible .button-hover-fill {
  width: 16rem;
  height: 16rem;
}

.form_wrap button .button-label {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.form_wrap button:hover,
.form_wrap button:focus-visible {
  color: var(--color-text);
}

.form_wrap button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form_wrap button:disabled .button-hover-fill {
  display: none;
}

.newsletter-checkbox {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text-dark);
  position: relative;
  z-index: 1;
}

.newsletter-checkbox-label {
  cursor: pointer;
}

.newsletter-checkbox a {
  color: var(--color-text-dark);
  text-decoration: underline;
}

.newsletter-checkbox a:hover {
  opacity: 0.7;
}

input[type="checkbox"] {
  display: grid;
  flex-shrink: 0;
  width: 1.15em;
  min-width: 22px;
  height: 1.15em;
  min-height: 22px;
  margin: 0;
  color: currentColor;
  background-color: #fff;
  border: 0.11em solid currentColor;
  place-content: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
  appearance: none;
  transition: background-color 0.12s ease-in-out;
  transform: translateY(-0.075em);
}

input[type="checkbox"]::before {
  width: 0.65em;
  height: 0.65em;
  content: "";
  background-color: transparent;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  transform: scale(0);
  transform-origin: bottom left;
  transition: transform 0.12s ease-in-out;
  pointer-events: none;
}

input[type="checkbox"]:checked {
  background-color: var(--color-bg);
  border: 0.15em solid #fff;
}

input[type="checkbox"]:checked::before {
  background-color: #fff;
  transform: scale(1);
}

.form-message {
  min-height: 2.5rem;
  padding-top: 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 400;
}

.form-message--error {
  color: #9c2f2f;
}

.form-message--info {
  color: var(--color-panel);
}

.form-message--success {
  color: #245532;
}

.waitlist-form.is-submitting .form_wrap input {
  opacity: 0.72;
}

.waitlist-form.is-submitting .form_wrap button {
  pointer-events: none;
}

.policy-page {
  min-height: 100vh;
  padding: 2rem 1rem 4rem;
  background: #111;
  color: var(--color-text);
}

.policy-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}

.policy-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  text-decoration: underline;
}

.policy-card {
  padding: 2rem;
  background: rgba(250, 249, 246, 0.96);
  color: var(--color-text-dark);
}

.policy-card h1 {
  margin-bottom: 0.5rem;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.05;
}

.policy-meta {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #555;
}

.policy-section + .policy-section {
  margin-top: 1.5rem;
}

.policy-section h2 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  font-weight: 400;
}

.policy-section p,
.policy-section li {
  font-size: 1rem;
  line-height: 1.7;
}

.policy-section ul {
  padding-left: 1.25rem;
}

.policy-section a {
  text-decoration: underline;
}

@keyframes carousel01 {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes soundBarLow {
  0% {
    transform: scaleY(0.1);
  }

  50% {
    transform: scaleY(0.55);
  }

  100% {
    transform: scaleY(0.1);
  }
}

@keyframes soundBarMid {
  0% {
    transform: scaleY(0.41);
  }

  50% {
    transform: scaleY(0.86);
  }

  100% {
    transform: scaleY(0.41);
  }
}

@keyframes soundBarTall {
  0% {
    transform: scaleY(0.45);
  }

  50% {
    transform: scaleY(0.9);
  }

  100% {
    transform: scaleY(0.45);
  }
}

@keyframes soundBarMuted {
  100% {
    transform: scaleY(0.1);
  }
}

@media screen and (max-width: 768px) {
  .headline {
    width: min(calc(100vw - 2rem), 11ch);
    max-width: none;
    margin: 0 auto;
    padding: 0;
    font-size: clamp(2.8rem, 8.9vw, 4.25rem);
    text-align: center;
    text-wrap: balance;
  }

  .headline-trademark {
    margin-left: -0.27em;
    font-size: 0.63em;
    top: 0.06em;
  }

  .ui-sound-toggle {
    display: none;
  }

  .coordinate-strip,
  .cursor {
    display: none !important;
  }

  .navwrap {
    bottom: 30px;
  }

  .policy-card {
    padding: 1.5rem;
  }

  .policy-card h1 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .form_wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
  }

  .form_wrap input {
    padding-right: 10px;
  }

  .form_wrap button {
    position: static;
    width: 100%;
    min-width: 0;
  }
}

@media (any-pointer: fine) and (min-width: 769px) {
  body.has-custom-cursor .cursor {
    display: block;
  }

  body.has-custom-cursor.cursor-suspended .cursor {
    opacity: 0;
  }

  body.has-custom-cursor input[type="email"],
  body.has-custom-cursor textarea {
    cursor: text !important;
  }

  body.landing-page .coordinate-strip {
    display: flex;
  }

  body.landing-page .corner-globe {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --chrome-edge-x: 1rem;
  }
}

@media screen and (max-width: 991px) {
  body.landing-page .coordinate-strip,
  body.landing-page .cursor,
  body.landing-page .corner-globe {
    display: none !important;
  }
}

/* Longevity League mobile card polish */
.info-line-phone {
  padding: 40px 0 36px;
  line-height: 1.18;
}

.info-line-phone .draft-line,
.info-line-phone .rhythm-line {
  display: inline-block;
}

.info-line-phone .rhythm-line {
  margin-top: 0.45rem;
}

@media screen and (max-width: 768px) {
  .navwrap {
    width: min(39.5rem, calc(100vw - 2rem));
  }

  .info-line {
    font-size: clamp(1.2rem, 4vw, 1.55rem);
    line-height: 1.18;
  }

  .info-line-first {
    padding-top: 1.35rem;
  }

  .info-line-phone {
    padding: 3.75rem 0 3.45rem;
  }

  .info-line-phone .rhythm-line {
    margin-top: 0.55rem;
  }

  .menu {
    gap: 1rem;
    padding: 1rem;
  }

  .x_nav_right {
    max-width: none;
  }

  .x_nav_contact-btn_link {
    padding-right: 0;
  }

  .x_nav_contact-btn_texts {
    width: 100%;
  }

  .x_nav_contact-btn_text.x_u-s-body {
    padding-right: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .navwrap {
    width: calc(100vw - 1.5rem);
    bottom: 1.5rem;
  }

  .info {
    padding: 0 1.15rem;
  }

  .info-line {
    font-size: clamp(1.15rem, 4.3vw, 1.35rem);
  }

  .info-line-phone {
    padding: 3.35rem 0 3.15rem;
  }

  .menu {
    padding: 1rem;
  }

  .x_nav_button_wrap svg {
    width: 50px;
    height: 50px;
  }

  .x_u-s-body {
    font-size: 1rem;
  }
}

@media screen and (max-width: 390px) {
  .info-line {
    font-size: clamp(1.05rem, 4.15vw, 1.2rem);
  }
}
