:root {
  --navy-950: #020812;
  --navy-900: #06111f;
  --ink: #f7f2e9;
  --orange: #f47a25;
  --hero-image: url("/brand/tideproof-hero-landscape.png");
  --hero-wordmark-alpha-mask: url("/brand/tideproof-wordmark-mask-landscape.png");
  --hero-water-alpha-mask: url("/brand/tideproof-water-mask-landscape.png");
  color-scheme: dark;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html,
body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--navy-950);
}

body {
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(255, 201, 143, 0.72);
  border-radius: 0.45rem;
  color: #fff;
  background: rgba(3, 12, 24, 0.96);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero-main,
.hero-stage {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

.hero-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-stage::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 48%, transparent 48%, rgba(2, 7, 14, 0.24) 100%),
    linear-gradient(180deg, rgba(2, 8, 18, 0.04), rgba(2, 8, 18, 0.22));
}

.hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: -4rem;
  pointer-events: none;
  background-color: var(--navy-900);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  contain: paint;
  filter: blur(1.25rem) brightness(0.48) saturate(0.88);
  opacity: 0.82;
  transform: scale(1.08);
}

.hero-artboard {
  --star-start-x: 16.091cqw;
  --star-start-y: 18.416cqh;
  --star-end-x: 88.95cqw;
  --star-end-y: 12.339cqh;
  --travel-angle: -3.58deg;
  position: relative;
  z-index: 1;
  container-type: size;
  width: min(100vw, calc(100svh * 4 / 3));
  height: min(100svh, calc(100vw * 3 / 4));
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: 0 0 3rem rgba(0, 0, 0, 0.34);
}

.hero-picture,
.hero-artwork {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-artwork {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  object-fit: contain;
}

.hero-water-glisten,
.hero-cloud-glisten,
.hero-wordmark-shine,
.hero-flight-star,
.hero-flight-trail,
.hero-impact-core,
.hero-impact-flash {
  pointer-events: none;
}

.hero-cloud-glisten {
  --sun-x: 81%;
  --sun-y: 47%;
  position: absolute;
  z-index: 2;
  inset: 0;
  contain: paint;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at var(--sun-x) var(--sun-y),
      rgba(255, 255, 239, 0.46) 0 6%,
      rgba(255, 222, 163, 0.24) 18%,
      rgba(255, 185, 91, 0.09) 34%,
      transparent 58%
    );
  -webkit-mask-image: radial-gradient(ellipse 68% 64% at var(--sun-x) var(--sun-y), #000 0 36%, rgba(0, 0, 0, 0.88) 53%, transparent 80%);
  mask-image: radial-gradient(ellipse 68% 64% at var(--sun-x) var(--sun-y), #000 0 36%, rgba(0, 0, 0, 0.88) 53%, transparent 80%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: scale(1.01);
  transform-origin: var(--sun-x) var(--sun-y);
  will-change: transform, opacity;
}

.hero-water-glisten {
  position: absolute;
  z-index: 2;
  inset: 0;
  contain: paint;
  mix-blend-mode: screen;
  -webkit-mask-image: var(--hero-water-alpha-mask);
  mask-image: var(--hero-water-alpha-mask);
  mask-mode: alpha;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-water-glisten::before,
.hero-water-glisten::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  will-change: background-position, transform, opacity;
}

.hero-water-glisten::before {
  background:
    radial-gradient(ellipse, rgba(255, 255, 238, 0.72) 0 7%, rgba(255, 218, 151, 0.3) 16%, transparent 52%) 0 0 / 16% 3.4% repeat,
    radial-gradient(ellipse, rgba(235, 251, 252, 0.52) 0 6%, rgba(255, 191, 105, 0.2) 15%, transparent 48%) 7% 2.1% / 23% 4.8% repeat;
  filter: blur(0.02rem);
}

.hero-water-glisten::after {
  background:
    repeating-linear-gradient(
      177deg,
      transparent 0 1.45rem,
      rgba(235, 249, 250, 0.2) 1.5rem 1.57rem,
      transparent 1.63rem 3.1rem
    ),
    repeating-linear-gradient(
      183deg,
      transparent 0 2.35rem,
      rgba(255, 198, 112, 0.12) 2.4rem 2.47rem,
      transparent 2.53rem 4.8rem
    );
  background-size: 38% 21%, 31% 17%;
}

.hero-wordmark-shine {
  position: absolute;
  z-index: 3;
  top: 14.18%;
  left: 3.591%;
  width: 57.735%;
  height: 19.245%;
  contain: paint;
  overflow: hidden;
  opacity: 1;
  mix-blend-mode: screen;
  -webkit-mask-image: var(--hero-wordmark-alpha-mask);
  mask-image: var(--hero-wordmark-alpha-mask);
  mask-mode: alpha;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-wordmark-shine::before {
  position: absolute;
  inset: 0 auto 0 -35%;
  width: 27.3%;
  content: "";
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 194, 122, 0.12) 24%,
    rgba(255, 255, 255, 0.74) 45%,
    rgba(255, 188, 102, 0.48) 58%,
    rgba(255, 255, 255, 0.16) 72%,
    transparent 100%
  );
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.hero-settled .hero-wordmark-shine::before {
  animation: tideproof-wordmark-shine 8000ms cubic-bezier(0.32, 0.02, 0.24, 1) 2600ms infinite;
}

.hero-trustagentic-link {
  position: absolute;
  z-index: 7;
  top: 74.2%;
  left: 4.2%;
  width: 36%;
  height: 11%;
  border-radius: 0.35rem;
  color: transparent;
  text-decoration: none;
}

.hero-trustagentic-link:focus-visible {
  outline: 2px solid rgba(255, 221, 174, 0.96);
  outline-offset: 0.18rem;
  background: rgba(255, 223, 179, 0.06);
}

.hero-flight-star {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: clamp(1.25rem, 3.25cqw, 3.1rem);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, #fff 0 8%, #fff3c8 10%, rgba(255, 170, 70, 0.48) 30%, transparent 68%);
  filter: drop-shadow(0 0 0.42rem rgba(255, 245, 210, 0.98)) drop-shadow(0 0 1rem rgba(255, 143, 42, 0.82));
  transform: translate3d(var(--star-start-x), var(--star-start-y), 0) translate(-50%, -50%) scale(0.64);
  will-change: transform, opacity;
}

.hero-flight-star::before,
.hero-flight-star::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 229, 177, 0.86), #fff, rgba(255, 193, 103, 0.82), transparent);
  transform: translate(-50%, -50%);
}

.hero-flight-star::before {
  width: 100%;
  height: 0.09rem;
}

.hero-flight-star::after {
  width: 0.09rem;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 229, 177, 0.86), #fff, rgba(255, 193, 103, 0.82), transparent);
}

.hero-flight-trail {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 50%;
  width: clamp(5rem, 18cqw, 17rem);
  height: 0.12rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 163, 67, 0.12) 20%, rgba(255, 191, 105, 0.52) 72%, rgba(255, 248, 218, 0.92));
  filter: blur(0.02rem) drop-shadow(0 0 0.4rem rgba(255, 139, 40, 0.7));
  opacity: 0.86;
  transform: translateY(-50%) rotate(var(--travel-angle));
  transform-origin: 100% 50%;
}

.hero-impact-flash {
  position: absolute;
  z-index: 6;
  inset: 0;
  opacity: 0;
  background: rgba(255, 246, 224, 0.94);
  mix-blend-mode: screen;
  will-change: opacity;
}

.hero-impact-core {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: clamp(6rem, 19cqw, 18rem);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, #fff 0 4%, rgba(255, 252, 224, 0.98) 8%, rgba(255, 208, 126, 0.62) 22%, rgba(255, 159, 58, 0.24) 44%, transparent 70%);
  filter: blur(0.08rem);
  mix-blend-mode: screen;
  transform: translate3d(var(--star-end-x), var(--star-end-y), 0) translate(-50%, -50%) scale(0.35);
  will-change: transform, opacity;
}

.hero-running .hero-flight-star {
  animation: tideproof-star-flight 1500ms cubic-bezier(0.45, 0.05, 0.55, 0.95) 160ms both;
}

.hero-running .hero-impact-flash {
  animation: tideproof-impact-flash 440ms cubic-bezier(0.18, 0.78, 0.2, 1) 1515ms both;
}

.hero-running .hero-impact-core {
  animation: tideproof-impact-core 475ms cubic-bezier(0.18, 0.78, 0.2, 1) 1480ms both;
}

.hero-settled .hero-flight-star,
.hero-settled .hero-impact-core,
.hero-settled .hero-impact-flash {
  animation: none !important;
  opacity: 0;
}

.hero-settled .hero-water-glisten::before {
  animation: tideproof-water-glint-a 4.2s linear 245ms infinite alternate both;
}

.hero-settled .hero-cloud-glisten {
  animation: tideproof-cloud-light 5.6s linear 245ms infinite alternate both;
}

.hero-settled .hero-water-glisten::after {
  animation: tideproof-water-glint-b 6.2s linear 650ms infinite alternate both;
}

.hero-details {
  position: fixed;
  z-index: 10;
  bottom: max(0.62rem, env(safe-area-inset-bottom));
  left: max(0.62rem, env(safe-area-inset-left));
  color: rgba(255, 238, 210, 0.82);
}

.hero-details summary {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(255, 225, 183, 0.12);
  border-radius: 50%;
  color: rgba(255, 238, 210, 0.28);
  background: rgba(2, 10, 20, 0.18);
  cursor: pointer;
  font-family: ui-serif, Georgia, serif;
  font-size: 0.92rem;
  font-weight: 720;
  list-style: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.hero-details summary::-webkit-details-marker {
  display: none;
}

.hero-details summary:hover,
.hero-details summary:focus-visible,
.hero-details[open] summary {
  border-color: rgba(255, 205, 141, 0.62);
  color: rgba(255, 244, 228, 0.94);
  background: rgba(2, 10, 20, 0.78);
  outline: none;
}

.hero-details-panel {
  position: absolute;
  bottom: calc(100% + 0.65rem);
  left: 0;
  width: min(22rem, calc(100vw - 1.24rem));
  max-height: min(70svh, 30rem);
  padding: 1rem 1.05rem;
  overflow: auto;
  border: 1px solid rgba(255, 205, 141, 0.34);
  border-radius: 0.8rem;
  color: rgba(255, 247, 234, 0.9);
  background: rgba(2, 10, 20, 0.94);
  box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, 0.42);
  font-size: 0.78rem;
  line-height: 1.5;
}

.hero-details-panel p,
.hero-details-panel blockquote {
  margin: 0 0 0.72rem;
}

.hero-details-panel blockquote {
  padding-left: 0.72rem;
  border-left: 2px solid rgba(244, 122, 37, 0.68);
}

.hero-details-panel cite {
  color: rgba(255, 210, 157, 0.82);
  font-size: 0.7rem;
  font-style: normal;
}

.hero-details-panel a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #ffd19c;
  text-underline-offset: 0.2em;
}

@keyframes tideproof-star-flight {
  0% {
    opacity: 0;
    transform: translate3d(var(--star-start-x), var(--star-start-y), 0) translate(-50%, -50%) scale(0.64);
  }

  8% {
    opacity: 0.98;
  }

  88% {
    opacity: 1;
    transform: translate3d(var(--star-end-x), var(--star-end-y), 0) translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--star-end-x), var(--star-end-y), 0) translate(-50%, -50%) scale(0.82);
  }
}

@keyframes tideproof-impact-flash {
  0% {
    opacity: 0;
  }

  16% {
    opacity: 0.48;
  }

  100% {
    opacity: 0;
  }
}

@keyframes tideproof-impact-core {
  0% {
    opacity: 0;
    transform: translate3d(var(--star-end-x), var(--star-end-y), 0) translate(-50%, -50%) scale(0.35);
  }

  20% {
    opacity: 0.96;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--star-end-x), var(--star-end-y), 0) translate(-50%, -50%) scale(1.28);
  }
}

@keyframes tideproof-wordmark-shine {
  0%,
  56% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  60%,
  83% {
    opacity: 0.26;
  }

  87% {
    opacity: 0;
    transform: translate3d(500%, 0, 0);
  }

  100% {
    opacity: 0;
    transform: translate3d(500%, 0, 0);
  }
}

@keyframes tideproof-cloud-light {
  0% {
    opacity: 0.2;
    transform: scale(1.01);
  }

  48% {
    opacity: 0.45;
  }

  100% {
    opacity: 0.24;
    transform: scale(1.055);
  }
}

@keyframes tideproof-water-glint-a {
  0% {
    opacity: 0.26;
    background-position: -4% 0, 3% 2.1%;
    transform: translate3d(-0.8%, 0, 0);
  }

  48% {
    opacity: 0.48;
  }

  100% {
    opacity: 0.3;
    background-position: 8% -0.8%, -5% 1.3%;
    transform: translate3d(0.8%, -0.15%, 0);
  }
}

@keyframes tideproof-water-glint-b {
  0% {
    opacity: 0.16;
    background-position: 0 0, 5% 2%;
    transform: translate3d(0, -0.2%, 0);
  }

  55% {
    opacity: 0.32;
  }

  100% {
    opacity: 0.19;
    background-position: 11% 1.2%, -8% -0.7%;
    transform: translate3d(0, 0.2%, 0);
  }
}

@media (orientation: portrait) {
  .hero-stage {
    --hero-image: url("/brand/tideproof-hero-portrait.png");
    --hero-wordmark-alpha-mask: url("/brand/tideproof-wordmark-mask-portrait.png");
    --hero-water-alpha-mask: url("/brand/tideproof-water-mask-portrait.png");
  }

  .hero-artboard {
    --star-start-x: 21.573cqw;
    --star-start-y: 25.778cqh;
    --star-end-x: 81.934cqw;
    --star-end-y: 10.287cqh;
    --travel-angle: -24.52deg;
    width: min(100vw, calc(100svh * 941 / 1672));
    height: min(100svh, calc(100vw * 1672 / 941));
    aspect-ratio: 941 / 1672;
  }

  .hero-cloud-glisten {
    --sun-x: 66%;
    --sun-y: 49%;
  }

  .hero-wordmark-shine {
    top: 23.325%;
    left: 4.251%;
    width: 87.992%;
    height: 11.065%;
  }

  .hero-trustagentic-link {
    top: 64.05%;
    left: 4%;
    width: 43.5%;
    height: 7.2%;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-flight-star,
  .hero-impact-core,
  .hero-impact-flash,
  .hero-cloud-glisten,
  .hero-water-glisten,
  .hero-wordmark-shine {
    opacity: 0 !important;
  }
}

@media (forced-colors: active) {
  .hero-stage::after,
  .hero-backdrop,
  .hero-cloud-glisten,
  .hero-water-glisten,
  .hero-wordmark-shine,
  .hero-flight-star,
  .hero-impact-core,
  .hero-impact-flash {
    display: none;
  }

  .hero-trustagentic-link,
  .hero-details summary,
  .hero-details-panel,
  .skip-link:focus {
    border-color: CanvasText;
    color: LinkText;
    background: Canvas;
  }
}

@media print {
  html,
  body {
    overflow: visible;
    background: #fff;
  }

  .hero-backdrop,
  .hero-cloud-glisten,
  .hero-water-glisten,
  .hero-wordmark-shine,
  .hero-flight-star,
  .hero-impact-core,
  .hero-impact-flash,
  .hero-details {
    display: none;
  }

  .hero-stage {
    min-height: 0;
    background: #fff;
  }
}
