* {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

img,
svg {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

p, h1, h2, h3, h4, h5, h6, span, a, li, td, th, label, input, textarea {
  user-select: text;
  -webkit-user-select: text;
}

:root {
  --bg: #eff6ff;
  --ink: #26449f;
  --line: rgba(255, 255, 255, 0.18);
  --d: 0.3px;      /* spacing between extrusion layers */
  --lift: 10px;    /* how far the front face lifts on hover */
}

body {
  margin: 0;
  background-color: #111827;
  color: #ffffff;
  font-family: "Lexend", sans-serif;
}

.navbar {
  max-width: 1100px;
  margin: 18px auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.leftnavbar {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.leftnavbar h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #1f2f4f;
  border-radius: 10px;
  background: #1f2f4f;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  display: block;
}

.navbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #1f2f4f;
  border-radius: 10px;
  background: #1f2f4f;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: border 0.2s ease, filter 0.2s ease;
}

.navbtn:hover {
  filter: brightness(1.05);
}

.variant {
  background-color: #4174bc;
  border: 1px solid #60a5fa;
}

.variant:hover {
  border: 1px solid #60a5fa7e;
}

.btnicon {
  width: 14px;
  height: 14px;
  display: inline-block;
}

.btnicon-doc {
  background-color: currentColor;
  -webkit-mask: url("book-alt.svg") no-repeat center / contain;
  mask: url("book-alt.svg") no-repeat center / contain;
}

.btnicon2 {
  fill: currentColor;
}

.hero {
  border-radius: 15px;
  background-color: rgb(57, 126, 245);
  padding: 56px 30px;
  border: 2px solid #60a5fa;
  margin-left: auto;
  margin-right: auto;
  max-width: 97%;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.heroanimation {
  position: absolute;
  top: 50%;
  left: 30%;
  width: min(42vw, 520px);
  height: min(30vw, 360px);
  padding: 8px;
  object-fit: contain;
  transform: translate(-50%, -50%) translateZ(0);
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 1) 78%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 1) 78%
  );
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 660px;
  gap: 32px;
  align-items: center;
}

.hero-left {
  min-width: 0;
  position: relative;
  z-index: 2;
  max-width: 520px;
  justify-self: center;
  text-align: center;
}

.heading {
  margin: 0 auto 18px;
  color: rgb(255, 255, 255);
  font-family: "Archivo Black", "Lexend", sans-serif;
  font-size: clamp(2.15rem, 3.8rem, 3.8rem);
  font-weight: 400;
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  -webkit-text-stroke: var(--stroke) var(--ink);
}

.heading-depth {
  color: var(--bg);
  -webkit-text-stroke: var(--stroke) var(--ink);
  text-shadow:
    -1px 1px 0 var(--ink),
    -2px 2px 0 var(--ink),
    -3px 3px 0 var(--ink),
    -4px 4px 0 var(--ink);
}

/* the STAND word — flex row of letters */
.stand {
  display: inline-block;
  margin: 0 0.06em;
  width: 8.3ch;
  height: 1em;
  min-width: 8.3ch;
  position: relative;
  vertical-align: baseline;
}

.stand-word {
  position: absolute;
  top: 0;
  left: 50%;
  width: max-content;
  display: inline-flex;
  gap: 0.02em;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateZ(0);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.stand-word.active {
  pointer-events: auto;
}

/* one letter — top face + 14 depth copies share the same grid cell */
.letter {
  display: inline-grid;
  grid-template-areas: "s";
  cursor: pointer;
}

.letter > span {
  grid-area: s;
  position: relative;
  will-change: transform;
}

/* tops sit above all depths globally — a neighbor's white face hides any intruding extrusion */
.letter .depth { z-index: 1; color: var(--ink); }
.letter .top   { z-index: 2; color: var(--bg); -webkit-text-stroke: var(--stroke) var(--ink); }

/* rest position: each depth offset down-left by --d × its index */
.letter .depth {
  transform: translate(
    calc(var(--i) * -1 * var(--d)),
    calc(var(--i) *  1 * var(--d))
  );
}

/* hovered letter rises above its neighbors */
.letter:hover {
  position: relative;
  z-index: 5;
}

.sub {
  margin: 0 auto 28px;
  max-width: 520px;
  color: rgb(190, 202, 231);
  font-family: "Lexend", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.carousel {
  width: 100%;
  max-width: 660px;
  margin: 0;
  justify-self: end;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  border: 1px solid #60a5fa;
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.carousel-dot {
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  display: block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(65, 116, 188, 0.45);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
  background: rgba(96, 165, 250, 0.95);
}

.carousel-dot.active {
  background: #60a5fa;
  transform: scale(1.12);
}

.carousel-stage {
  width: 100%;
  aspect-ratio: 30 / 19;
  display: flex;
  overflow-x: auto;
  border-radius: 8px;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-stage::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.carousel-stage::-webkit-scrollbar-track {
  display: none;
}

.carousel-stage::-webkit-scrollbar-thumb {
  display: none;
}

.carousel-item {
  height: 100%;
  flex: 1 0 100%;
  scroll-snap-align: start;
}

.carousel-content {
  width: 100%;
  height: 100%;
  filter: saturate(1.3);
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-progress {
  position: absolute;
  left: 50%;
  width: 99.2%;
  transform: translateX(-50%);
  bottom: 0;
  height: 3px;
  background: rgba(65, 116, 188, 0.22);
  border-bottom-left-radius: 10px;
  z-index: 2;
  overflow: hidden;
}

.carousel-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: #60a5fa;
  transition: width 0.06s linear;
}

.promo {
  padding: 72px 16px;
}

.promo-container {
  max-width: 900px;
  margin: 0 auto;
}

.promo-image {
  width: 100%;
  max-width: 760px;
  display: block;
  margin: 0 auto 28px;
  border-radius: 12px;
}

.promo-image-second {
  margin-bottom: 72px;
}

.promo-content {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 44px;
}

.promo-content-flipped {
  grid-template-columns: minmax(0, 1fr) 220px;
}

.promo-svg {
  width: 100%;
  max-width: 220px;
  display: block;
}

.promo-svg2 {
  width: 160%;
  max-width: 620px;
  margin: -100px;
  display: block;
}

.promo-svg2 svg {
  width: 100%;
  height: auto;
  display: block;
}

.promo-copy {
  text-align: left;
}

.promo-title {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 46px;
  font-weight: 700;
}

.promo-text {
  max-width: 560px;
  margin: 0;
  color: rgb(190, 202, 231);
  font-size: 16px;
  line-height: 1.6;
}

.features-link-wrap {
  text-align: center;
  margin: 8px 0 40px;
}

.features-prefix {
  color: rgb(190, 202, 231);
  font-size: 15px;
}

.features-link {
  color: rgba(190, 202, 231, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-size: 15px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.features-link:hover,
.features-link:focus-visible {
  color: rgb(57, 126, 245);
  text-decoration-color: rgb(57, 126, 245);
}

.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px 32px;
}

.available-now {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 0 16px;
  text-align: center;
}

.available-now h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-family: "Archivo Black", "Lexend", sans-serif;
}

.available-now p {
  margin: 0;
  color: rgb(190, 202, 231);
  font-size: 17px;
  line-height: 1.7;
}

.available-now-embed {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.available-now-embed iframe {
  max-width: 100%;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.footer-links {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(120px, max-content);
  justify-content: end;
  gap: 30px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 16px;
}

.footer-link {
  color: rgba(190, 202, 231, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-size: 15px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: rgb(57, 126, 245);
  text-decoration-color: rgb(57, 126, 245);
}

.footer-note {
  margin: 26px 0 0;
  text-align: center;
  color: rgb(190, 202, 231);
  font-size: 14px;
}

.features-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 16px 72px;
}

.features-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 12px auto 40px;
  max-width: 820px;
  text-align: center;
}

.features-hero-art {
  width: 140px;
  height: 140px;
  object-fit: contain;
  flex: 0 0 auto;
}

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

.features-hero h1 {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: "Archivo Black", "Lexend", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.features-sub {
  margin: 0;
  color: rgb(190, 202, 231);
  font-size: 17px;
  line-height: 1.65;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  border: 1px solid #1f2f4f;
  background: rgba(17, 35, 70, 0.3);
  border-radius: 12px;
  padding: 18px;
  padding-right: 54px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background-color: rgba(190, 202, 231, 0.45);
  transition: background-color 0.2s ease, transform 0.2s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.feature-card:hover::after {
  background-color: #ffffff;
  transform: translate(4px, -50%);
}

.feature-card-link {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  z-index: 3;
}

.feature-card-head,
.feature-card p {
  position: relative;
  z-index: 2;
}

.feature-card h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 20px;
}

.feature-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.feature-card-head h2 {
  margin: 0;
}

.feature-card-icon {
  width: 22px;
  height: 22px;
  margin: 0;
  display: block;
  color: #60a5fa;
  fill: #60a5fa;
}

.feature-card-icon-animated {
  width: 26px;
  height: 26px;
  color: #60a5fa;
  fill: #60a5fa;
}

.feature-card p {
  margin: 0;
  color: rgb(190, 202, 231);
  line-height: 1.6;
}

.feature-sections {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-section {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  border: 1px solid #1f2f4f;
  background: rgba(17, 35, 70, 0.3);
  border-radius: 12px;
  padding: 16px;
  scroll-margin-top: 16px;
}

.feature-section-flipped {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.feature-section-flipped .feature-section-media {
  order: 2;
}

.feature-section-media {
  width: 100%;
  min-height: 160px;
  border-radius: 2px;
  color: rgba(190, 202, 231, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-align: center;
}

.feature-section-image {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.feature-section-copy h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 22px;
}

.feature-section-copy p {
  margin: 0 0 10px;
  color: rgb(190, 202, 231);
  line-height: 1.65;
}

.features-more {
  margin-top: 28px;
  border: 1px solid #1f2f4f;
  background: rgba(17, 35, 70, 0.3);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
}

.features-more h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 26px;
}

.features-more p {
  margin: 0;
  color: rgb(190, 202, 231);
  line-height: 1.7;
  font-size: 16px;
}

.features-more .navbtn {
  margin-top: 16px;
}

@media (max-width: 1112px) {
  .navbar {
    position: relative;
    flex-direction: row;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .rightnavbar {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: auto;
    z-index: 20;
    padding: 8px;
    border: 1px solid #1f2f4f;
    border-radius: 999px;
    background: rgba(17, 35, 70, 0.98);
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    width: max-content;
    max-width: calc(100vw - 32px);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }

  .navbar.nav-open .rightnavbar,
  .navbar.nav-closing .rightnavbar {
    visibility: visible;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
  }

  .navbar.nav-open .rightnavbar {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .navbar.nav-closing .rightnavbar {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
  }

  .rightnavbar .navbtn {
    white-space: nowrap;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 14px;
    flex: 0 0 auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .heading {
    font-size: 2.6rem;
  }

  .carousel {
    max-width: 100%;
    justify-self: stretch;
  }

  .promo-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
    margin-top: 34px;
  }

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

  .promo-text {
    margin: 0 auto;
  }

  .promo-content-flipped {
    grid-template-columns: 1fr;
  }

  .promo-content-flipped #promo-svg2-host {
    order: -1;
  }

  .promo-svg {
    width: min(62vw, 210px);
    max-width: 210px;
    margin: 0;
    height: auto;
  }

  .promo-svg2,
  #promo-svg2-host {
    width: min(68vw, 240px);
    max-width: 240px;
    margin: 0;
    height: auto;
    overflow: hidden;
  }

  .promo-svg2 svg,
  #promo-svg2-host svg {
    width: 100%;
    height: auto;
    max-height: 210px;
    display: block;
    object-fit: contain;
  }

  .promo-image {
    margin-bottom: 18px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 22px;
  }

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

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

  .feature-section-flipped .feature-section-media {
    order: 0;
  }

  .features-hero {
    text-align: center;
  }
.heroanimation {
    top: 40%;
    left: 50%;
    width: min(56vw, 700px);
    height: min(42vw, 520px);
    transform: translate(-50%, -80%) translateZ(0);
  }
}
