:root {
  --black: #000000;
  --white: #ffffff;
  --yellow: #ffd400;
  --blue: #2f6bff;
  --navy: #002b5c;
  --gray: #4a4f57;
  --red: #e53935;
  --green: #2fbf71;
  --border: #e6e8ec;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --font-sans: "Quicksand", "SF Pro Text", -apple-system, system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-sans);
  margin: 0 0 1rem;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 72px;
  height: 72px;
}

.brand-name {
  font-family: "SF Pro Rounded", var(--font-sans);
  font-size: 1.85rem;
  letter-spacing: 0.02em;
  color: var(--yellow);
}

.brand-sub {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d5d7dd;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu {
  position: relative;
  margin-left: auto;
}

.menu-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.menu-button:hover {
  background: var(--white);
  color: var(--black);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  min-width: 190px;
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem;
  border-radius: 16px;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  z-index: 20;
}

.menu-panel[hidden] {
  display: none;
}

.menu-link {
  border: none;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  font-size: 0.95rem;
}

.menu-link:hover {
  background: var(--blue);
  color: var(--white);
}

.nav-link {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--white);
  color: var(--white);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: var(--white);
  color: var(--black);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: none;
}

.app-store-badge img {
  height: 40px;
  display: block;
}

.hero {
  padding: 2.5rem 0 2.5rem;
  background: var(--white);
}

.hero-inner {
  display: grid;
  gap: 1.2rem;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--navy);
}

.hero-sub {
  max-width: 680px;
  font-size: 1.05rem;
  color: var(--gray);
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.cta-row.center {
  justify-content: center;
}

.cta-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 20px rgba(47, 107, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(47, 107, 255, 0.28);
}

.carousel-section {
  margin-top: 0;
  padding: 0;
  width: 100%;
}

.video-carousel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: var(--shadow);
  background: #f8f9fb;
}

.video-track {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.video-track::-webkit-scrollbar {
  display: none;
}

.video-track.is-animated {
  scroll-snap-type: none;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  background: var(--black);
}

.carousel-item video {
  height: 220px;
  width: auto;
  display: block;
  object-fit: cover;
}

.tagline {
  background: var(--yellow);
  color: var(--black);
  text-align: center;
  padding: 1rem 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 3.5rem 0;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.section-lead {
  max-width: 760px;
  color: var(--gray);
  margin: 0 0 1.2rem;
}

.video-section .video-block {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
}

.video-frame {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.2rem;
  text-align: center;
  color: var(--gray);
}

.persona-section {
  background: linear-gradient(140deg, #2f6bff 0%, #002b5c 65%);
}

.persona-bleed {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 2rem;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  align-items: stretch;
  position: relative;
  max-width: 1400px;
  margin: 2rem auto 0;
}

.persona-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.persona-card[data-open="false"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.persona-card[data-open="true"] {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 92vw);
  max-height: 80vh;
  height: auto;
  overflow-y: auto;
  z-index: 50;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
}

.persona-card[data-open="true"] .persona-trigger {
  flex: 0 0 auto;
}

.persona-card[data-open="true"] .persona-copy {
  padding: 0.9rem 1.1rem 1rem;
}

.persona-card[data-open="true"] .persona-summary {
  min-height: auto;
  font-weight: 600;
}

.persona-card[data-open="true"] .persona-title {
  font-weight: 800;
  font-size: 1.05rem;
}

.persona-card[data-open="true"] .persona-body {
  padding-top: 0.8rem;
}

.persona-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.persona-card[data-open="true"] .persona-close {
  opacity: 1;
  pointer-events: auto;
}

.persona-close:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.05);
}


.persona-trigger {
  border: none;
  background: transparent;
  text-align: left;
  padding: 0;
  width: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.persona-media {
  position: relative;
  height: 140px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.persona-card[data-open="true"] .persona-media {
  height: 220px;
}

.persona-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.persona-tag {
  position: absolute;
  left: 0.9rem;
  bottom: 0.8rem;
  background: var(--yellow);
  color: var(--black);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.persona-copy {
  padding: 1rem 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.persona-title {
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.4rem;
}

.persona-summary {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 4.5rem;
  display: block;
  text-align: left;
}

.persona-body {
  padding: 1rem 1.2rem 1.4rem;
  border-top: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
}

.persona-body p {
  margin: 0 0 0.8rem;
  color: var(--gray);
  text-align: justify;
}

.persona-body p:last-child {
  margin-bottom: 0;
}

.app-section {
  background: linear-gradient(120deg, #000000 0%, #001329 55%, #002b5c 100%);
  color: var(--white);
}

.app-section h2 {
  color: var(--white);
}

.accent-yellow {
  color: var(--yellow);
}

.app-section .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.app-section .app-caption {
  color: rgba(255, 255, 255, 0.7);
}

.app-copy {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.capability-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.capability-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.9rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

.capability-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.capability-icon svg {
  width: 18px;
  height: 18px;
}

.material-symbols-rounded {
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24;
  font-size: 20px;
  line-height: 1;
  display: block;
}

.capability-icon--yellow { background: var(--yellow); color: var(--black); }
.capability-icon--blue { background: var(--blue); }
.capability-icon--green { background: var(--green); }
.capability-icon--gray { background: var(--gray); }

.app-slideshow {
  width: min(320px, 100%);
  aspect-ratio: 9 / 19;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  display: grid;
  place-items: center;
}

.slideshow-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.85);
  transition: opacity 0.35s ease;
}

.slideshow-image.is-fading {
  opacity: 0;
}

.slideshow-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-slideshow.is-empty .slideshow-placeholder {
  opacity: 1;
}

.app-slideshow.is-empty .slideshow-image {
  opacity: 0.45;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.4rem;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  background: var(--white);
  color: var(--navy);
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  color: var(--gray);
}

.app-preview {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

.app-screen {
  width: min(320px, 100%);
  background: var(--navy);
  border-radius: 28px;
  padding: 1.6rem 1.4rem 1.8rem;
  text-align: center;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(0, 43, 92, 0.28);
  position: relative;
}

.app-screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.app-ui {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.5rem;
  text-align: left;
}

.app-ui span {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.app-ui span:nth-child(2) { width: 85%; }
.app-ui span:nth-child(3) { width: 65%; }
.app-ui span:nth-child(4) { width: 75%; }

.app-screen img {
  width: 64px;
  margin: 1.4rem auto 0.6rem;
}

.app-screen > span {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.app-caption {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

.callout-section {
  background: linear-gradient(120deg, #2fbf71 0%, #23a062 100%);
}

.callout {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}

.callout strong {
  color: var(--green);
}

.final-cta {
  padding: 3rem 0 3.5rem;
  background: var(--yellow);
  text-align: center;
}

.final-cta h2 {
  color: var(--black);
}

.final-cta .section-lead {
  color: var(--black);
}

.disclaimer-section {
  background: linear-gradient(90deg, #7b7f87 0%, #2f6bff 100%);
}

.disclaimer {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.2);
}

.disclaimer a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  background: var(--black);
  color: var(--white);
  padding: 2rem 0;
}

.persona-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
  cursor: pointer;
}

.about-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: grid;
  align-items: center;
  padding: 2rem 1.5rem;
  z-index: 60;
  overflow-y: auto;
}

.about-modal[hidden] {
  display: none;
}

.about-card {
  background: var(--white);
  color: var(--navy);
  border-radius: 24px;
  padding: 0;
  box-shadow: var(--shadow);
  position: relative;
  width: min(960px, 100%);
  margin: 0 auto;
  max-height: 85vh;
  overflow: auto;
}

.about-header {
  background: var(--blue);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-header-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.about-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.about-body {
  padding: 1.8rem 2.2rem 2.2rem;
}

.about-title {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}

.about-body p {
  margin: 0 0 1rem;
  color: var(--gray);
}

.about-cta {
  margin-top: 1.4rem;
  font-weight: 600;
  color: var(--navy);
}

.about-inline {
  float: right;
  width: min(204px, 32%);
  margin: 0 0 1rem 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.about-image-button {
  border: none;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
}

.about-image-button img {
  display: block;
  width: 100%;
}

.about-inline img {
  border-radius: 18px;
  padding: 5px;
  border: 2px solid var(--green);
}

.about-hint {
  font-size: 0.82rem;
  color: rgba(74, 79, 87, 0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-credit {
  font-size: 0.9rem;
  color: var(--gray);
}

.about-credit a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-body::after {
  content: "";
  display: block;
  clear: both;
}

body.modal-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  z-index: 80;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-card {
  position: relative;
  max-width: min(1100px, 95vw);
}

.lightbox-close {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

.lightbox-figure img {
  max-width: min(1100px, 95vw);
  max-height: 80vh;
  border-radius: 18px;
  padding: 5px;
  border: 2px solid var(--green);
  background: var(--white);
  cursor: zoom-out;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 0.95rem;
}

.lightbox-caption a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: var(--white);
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
  }

  .brand {
    justify-content: center;
  }

  .brand-mark {
    width: 60px;
    height: 60px;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.6rem;
  }

  .menu {
    margin-left: 0;
  }

  .menu-panel {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .about-card {
    max-height: 90vh;
  }

  .about-body {
    padding: 1.5rem 1.5rem 2rem;
  }

  .about-inline {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }

  .lightbox {
    padding: 1.5rem 1rem;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    white-space: nowrap;
  }

  .site-header .app-store-badge {
    width: auto;
  }

  .site-header .app-store-badge img {
    height: 30px;
  }
}

@media (min-width: 1200px) {
  .persona-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 680px) {
  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .cta-primary,
  .nav-link {
    width: 100%;
    text-align: center;
  }

  .cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: center;
  }

  .cta-row .app-store-badge {
    width: 100%;
    justify-content: center;
  }

  .cta-row .app-store-badge img {
    width: 100%;
    height: 36px;
    object-fit: contain;
  }

  .site-header .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .site-header .nav-link {
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
  }

  .site-header .app-store-badge {
    width: 100%;
    justify-content: center;
  }

  .site-header .app-store-badge img {
    width: 100%;
    height: 32px;
    object-fit: contain;
  }

  .carousel-item video {
    height: 180px;
  }
}

@keyframes lift {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: lift 0.7s ease both;
}

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.15s; }
.stagger-3 { animation-delay: 0.25s; }

.centered-text {
  text-align: center;
}
