:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --panel: rgba(18, 18, 18, 0.72);
  --panel-strong: rgba(20, 20, 20, 0.88);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f0;
  --muted: #b4b4af;
  --muted-soft: #8a8a84;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1220px;
}

.footer-action-link {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.footer-action-link:hover {
  color: var(--text);
}

.form-status {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 1.1rem;
}

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

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(6px);
}

.form-modal-card {
  position: relative;
  width: min(100%, 560px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(8, 8, 8, 0.94);
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.form-modal-copy {
  margin: 8px 0 16px;
  color: var(--muted);
}

#support-form {
  display: grid;
  gap: 12px;
}

#support-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

#support-form input,
#support-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.support-submit {
  margin-top: 4px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font: inherit;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.06), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.03), transparent 22%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

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

.site-shell {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 18px 22px 32px;
}

.ambient {
  position: absolute;
  inset: auto;
  width: 420px;
  height: 420px;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
}

.ambient-left {
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), transparent 62%);
}

.ambient-right {
  top: 220px;
  right: -160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
}

.topbar,
.section,
.footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.66);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.topbar-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.topbar-nav a,
.footer-card a {
  color: var(--muted);
  transition: color 160ms ease;
}

.topbar-nav a:hover,
.footer-card a:hover {
  color: var(--text);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.product-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.3rem;
}

.store-button,
.app-store-badge,
.primary-cta,
.secondary-cta,
.footer-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.app-store-badge {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.app-store-badge img {
  display: block;
  width: auto;
  height: 52px;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  padding: 44px 0 28px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 12.5ch;
  font-size: clamp(2.7rem, 5.7vw, 4.8rem);
  line-height: 0.98;
}

.hero-line {
  display: block;
}

h2 {
  max-width: 13ch;
  font-size: clamp(1.78rem, 3.5vw, 3rem);
  line-height: 1.06;
}

h3 {
  font-size: 1.1rem;
}

.hero-text,
.section-note,
.story-card p,
.intel-card p,
.footer-card p,
.footer-col p,
.footer-meta,
.hero-stats span {
  color: var(--muted);
}

.hero-text {
  max-width: 34ch;
  margin: 26px 0 34px;
  font-size: 1.08rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 38px;
}

.primary-cta {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
}

.hero-store-badge img {
  height: 56px;
}

.hero-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-link-cta span {
  font-size: 1.5rem;
  line-height: 1;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 0;
  padding-top: 24px;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.story-card,
.intel-card,
.journey-panel,
.footer-card,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.84), rgba(12, 12, 12, 0.72));
  backdrop-filter: blur(12px);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero-stat-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.hero-stat-item span {
  display: block;
  max-width: 18ch;
  line-height: 1.42;
  font-size: 1.06rem;
  color: #bfc1c5;
}

.hero-stat-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  color: #f7f7f8;
}

.hero-stat-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-panel {
  position: relative;
  padding: 18px;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 34%, transparent 65%, rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.glass-pill,
.hero-panel-label {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-image-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(4, 4, 4, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 88px 0 14px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.section-heading.split {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 28px;
}

.section-note {
  margin: 0;
  line-height: 1.7;
}

.showcase-heading {
  justify-items: center;
  text-align: center;
}

.showcase-heading h2 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.story-grid,
.intelligence-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-card,
.intel-card,
.footer-card {
  padding: 22px;
}

.story-card p,
.intel-card p,
.footer-card p {
  margin: 12px 0 0;
  line-height: 1.7;
}

.carousel-shell {
  position: relative;
  padding: 20px 84px 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.88), rgba(4, 4, 4, 0.94));
  overflow: hidden;
}

.carousel-track {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.carousel-slide {
  position: absolute;
  width: min(100%, 860px);
  opacity: 0;
  pointer-events: none;
  transition: transform 420ms ease, opacity 320ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  z-index: 3;
}

.carousel-slide.is-prev,
.carousel-slide.is-next {
  opacity: 0.74;
  z-index: 2;
}

.carousel-slide.is-prev {
  transform: translateX(-62%) scale(0.74) perspective(1000px) rotateY(12deg);
}

.carousel-slide.is-next {
  transform: translateX(62%) scale(0.74) perspective(1000px) rotateY(-12deg);
}

.placeholder-screen {
  aspect-ratio: 16 / 10;
  min-height: 360px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 22% 26%, rgba(255, 255, 255, 0.09), transparent 30%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01) 45%, rgba(0, 0, 0, 0.18));
  display: flex;
  flex-direction: column;
  gap: 8px;
  place-items: center;
  justify-content: center;
  text-align: center;
}

.placeholder-label {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 2.8vw, 3.1rem);
}

.placeholder-aspect {
  color: var(--muted-soft);
  font-size: clamp(0.95rem, 1.4vw, 1.35rem);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.carousel-control.prev { left: 24px; }
.carousel-control.next { right: 24px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 16px;
}

.dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.dot.is-active {
  background: rgba(255, 255, 255, 0.96);
}

.intelligence-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.intelligence .section-heading {
  justify-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.intelligence .section-heading h2 {
  max-width: none;
}

.intel-card {
  padding: 22px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.92), rgba(7, 7, 7, 0.9));
}

.intel-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
}

.intel-icon svg {
  width: 100%;
  height: 100%;
  stroke: rgba(248, 248, 248, 0.96);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intel-card h3 {
  font-size: clamp(1.1rem, 1.05vw, 1.32rem);
  line-height: 1.18;
}

.intel-card p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.45;
  color: #b7b9bc;
}

.journey-panel {
  padding: 34px;
}

.journey-heading h2 {
  max-width: none;
}

.journey-panel .story-grid {
  margin-top: 20px;
}

.footer {
  padding-bottom: 16px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  margin-bottom: 24px;
}

.footer-top h2 {
  max-width: 11ch;
  font-size: clamp(2.05rem, 3.4vw, 3.6rem);
}

.footer-top .section-note {
  font-size: 0.98rem;
}

.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 30px;
}

.footer-card h3 {
  font-size: 1.35rem;
}

.footer-card p {
  font-size: 0.98rem;
}

.footer-card a {
  margin-top: 18px;
  width: fit-content;
  min-height: 42px;
  font-size: 0.96rem;
}

.footer-lower {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-lower-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1.35fr;
  gap: 0;
}

.footer-col {
  padding: 10px 28px 12px;
}

.footer-col h3,
.footer-col h4 {
  margin: 0 0 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.03em;
}

.footer-col h3 {
  font-size: 1.42rem;
}

.footer-col h4 {
  font-size: 1.12rem;
}

.footer-col p {
  margin: 0 0 18px;
  color: #b6b8bc;
  line-height: 1.55;
  font-size: 0.98rem;
}

.footer-brand-tagline,
.footer-brand-motto {
  white-space: nowrap;
}

.footer-support-col,
.footer-company-col {
  padding-left: 48px;
}

.footer-col a {
  display: block;
  margin: 0 0 14px;
  color: #d8d9dd;
  font-size: 0.95rem;
}

.footer-newsletter-col p {
  margin-bottom: 16px;
}

.newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(9, 9, 9, 0.9);
}

.newsletter-row input {
  width: 100%;
  min-height: 56px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0 20px;
  font-family: inherit;
  font-size: 0.95rem;
}

.newsletter-row input::placeholder {
  color: #8f9196;
}

.newsletter-row button {
  min-height: 56px;
  min-width: 64px;
  border: 0;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

.footer-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  color: #8f9196;
  font-size: 0.9rem;
}

@media (max-width: 1120px) {
  .hero,
  .section-heading.split,
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .intelligence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-lower-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-col {
    padding: 18px 0 10px;
  }

  .footer-support-col,
  .footer-company-col {
    padding-left: 0;
  }

  .footer-brand-col {
    border-top: 0;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-radius: 28px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding: 14px 14px 24px;
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 24px;
  }

  .topbar-actions {
    justify-self: start;
  }

  .brand-lockup {
    gap: 12px;
  }

  .product-name {
    font-size: 1.24rem;
  }

  .app-store-badge img {
    height: 48px;
  }

  .hero,
  .section {
    padding-top: 52px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3.9rem);
  }

  h2 {
    max-width: none;
  }

  .carousel-shell {
    padding: 62px 18px 14px;
  }

  .carousel-control {
    top: 18px;
    transform: none;
  }

  .carousel-control.prev { left: 18px; }
  .carousel-control.next { right: 18px; }

  .carousel-track {
    min-height: 300px;
  }

  .carousel-slide {
    width: min(100%, 92vw);
  }

  .carousel-slide.is-prev,
  .carousel-slide.is-next {
    opacity: 0;
    pointer-events: none;
  }

  .placeholder-screen {
    min-height: 260px;
  }

  .placeholder-label {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-stat-item strong {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  .hero-stat-item span {
    font-size: 1.05rem;
  }

  .hero-stat-icon {
    width: 46px;
    height: 46px;
  }

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

  .footer-lower-grid {
    grid-template-columns: 1fr;
  }

  .footer-col h3 {
    font-size: 1.32rem;
  }

  .footer-col h4 {
    font-size: 1.08rem;
  }

  .footer-col p,
  .footer-col a {
    font-size: 0.95rem;
  }

  .newsletter-row input {
    min-height: 56px;
    font-size: 0.95rem;
  }

  .newsletter-row button {
    min-height: 56px;
    min-width: 62px;
  }
}
