:root {
  --bg: #f4f9ff;
  --bg-deep: #d8ecff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(111, 156, 215, 0.22);
  --line-strong: rgba(62, 119, 194, 0.2);
  --text: #0d1a2f;
  --muted: #58708f;
  --brand: #2388ff;
  --brand-deep: #0c60d4;
  --accent: #ffcf67;
  --shadow: 0 24px 80px rgba(48, 109, 179, 0.18);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at top right, rgba(113, 195, 255, 0.34), transparent 24%),
    linear-gradient(180deg, #edf7ff 0%, #e4f2ff 36%, #f8fbff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 92%);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  pointer-events: none;
}

.site-shell::before {
  top: 160px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: rgba(107, 203, 255, 0.28);
}

.site-shell::after {
  top: 760px;
  right: -120px;
  width: 300px;
  height: 300px;
  background: rgba(255, 232, 170, 0.28);
}

.topbar,
.hero,
.value-strip,
.section {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(25, 83, 152, 0.12);
}

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

.brand__icon {
  width: 42px;
  height: auto;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong,
.eyebrow,
h1,
h2,
h3,
.store-badge strong {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.brand__text strong {
  font-size: 1rem;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.topbar__nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.topbar__nav a {
  transition: color 180ms ease;
}

.topbar__nav a:hover {
  color: var(--brand-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - 120px);
  padding: 64px 0 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6.6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero__lede,
.section__heading p,
.feature-card__copy p,
.pillar p,
.cta-panel__copy p,
.stat-card span,
.value-strip span,
.feature-list li {
  color: var(--muted);
  line-height: 1.65;
}

.hero__lede {
  max-width: 58ch;
  margin-top: 22px;
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 16px 36px rgba(21, 102, 194, 0.28);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(25, 83, 152, 0.08);
}

.button--full {
  width: 100%;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat-card,
.value-strip article,
.feature-card,
.pillar,
.cta-panel,
.store-badge {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.hero__visual {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.orb--one {
  width: 220px;
  height: 220px;
  top: 80px;
  left: 10%;
  background: rgba(255, 208, 112, 0.42);
}

.orb--two {
  width: 300px;
  height: 300px;
  right: 0;
  bottom: 120px;
  background: rgba(94, 194, 255, 0.35);
}

.device-stack {
  position: relative;
  width: min(100%, 520px);
  height: 100%;
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 265px;
  border-radius: 42px;
  border: 10px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 28px 70px rgba(15, 72, 139, 0.22);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone--front {
  top: 40px;
  left: 20px;
  z-index: 3;
  transform: rotate(-7deg);
  animation: floatFront 5.5s ease-in-out infinite;
}

.phone--mid {
  top: 190px;
  right: 14px;
  z-index: 2;
  transform: rotate(8deg);
  animation: floatMid 6.5s ease-in-out infinite;
}

.phone--back {
  bottom: 20px;
  left: 100px;
  z-index: 1;
  transform: rotate(-2deg);
  animation: floatBack 7s ease-in-out infinite;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.value-strip article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.value-strip p {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section__heading--tight {
  margin-bottom: 24px;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section__heading p:last-child {
  max-width: 62ch;
  margin-top: 18px;
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.feature-card--wide {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.34fr) minmax(220px, 0.66fr);
  align-items: start;
}

.feature-card__copy {
  display: grid;
  gap: 12px;
}

.feature-card__label {
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h3 {
  max-width: 16ch;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  line-height: 1.02;
}

.feature-list {
  padding-left: 18px;
  margin: 0;
}

.feature-card__media {
  align-self: end;
}

.feature-card__media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(28, 84, 149, 0.16);
}

.feature-card__media--pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  max-width: 560px;
  margin-left: auto;
}

.feature-card__media--pair img:first-child {
  width: min(100%, 250px);
  justify-self: end;
}

.feature-card__media--pair img:last-child {
  width: min(100%, 285px);
}

.feature-card__media--compactpair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  max-width: 470px;
  margin-left: auto;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(228, 242, 255, 0.44));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
}

.feature-card__media--compactpair img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
}

.highlight {
  padding-top: 24px;
}

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

.pillar {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.pillar h3 {
  margin-bottom: 10px;
  font-size: 1.65rem;
}

.gallery-section {
  overflow: hidden;
}

.gallery-marquee {
  position: relative;
  width: calc(100% + 120px);
  margin-left: -60px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 92%, transparent);
}

.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 10px 0;
  animation: galleryScroll 40s linear infinite;
}

.gallery-card {
  width: 250px;
  margin: 0;
  padding: 10px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 54px rgba(24, 79, 145, 0.12);
}

.gallery-card img {
  border-radius: 24px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 36px;
}

.cta-panel__copy h2 {
  max-width: 12ch;
}

.cta-panel__copy p:last-child {
  max-width: 58ch;
  margin-top: 16px;
}

.cta-panel__aside {
  display: grid;
  gap: 16px;
}

.legal-links,
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.legal-links a,
.site-footer__links a {
  color: var(--brand-deep);
  font-weight: 600;
}

.store-badge {
  padding: 20px;
  border-radius: 28px;
}

.store-badge span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.store-badge strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.08;
}

.store-badge p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  width: min(calc(100% - 32px), var(--content));
  margin: 28px auto 48px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(24, 79, 145, 0.1);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.site-footer p {
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.6;
}

.topbar--legal {
  margin-bottom: 18px;
}

.legal-page {
  width: min(calc(100% - 32px), 920px);
  margin: 0 auto;
  padding-bottom: 56px;
}

.legal-hero {
  padding: 52px 0 22px;
}

.legal-hero h1 {
  max-width: none;
}

.legal-meta {
  margin-top: 14px;
  color: var(--brand-deep);
  font-weight: 700;
}

.legal-intro {
  max-width: 64ch;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-card {
  margin-top: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 52px rgba(24, 79, 145, 0.1);
}

.legal-card h2 {
  max-width: none;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.legal-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.72;
}

.legal-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal-list li {
  margin-top: 10px;
  line-height: 1.72;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatFront {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-14px);
  }
}

@keyframes floatMid {
  0%,
  100% {
    transform: rotate(8deg) translateY(0);
  }
  50% {
    transform: rotate(10deg) translateY(-18px);
  }
}

@keyframes floatBack {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(-4deg) translateY(-12px);
  }
}

@keyframes galleryScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero__visual {
    min-height: 640px;
  }

  .feature-card--wide,
  .cta-panel,
  .pillars,
  .value-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--wide {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .topbar {
    top: 10px;
    padding: 14px 16px;
  }

  .topbar__nav {
    display: none;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    padding: 34px 0 24px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  h2 {
    max-width: 100%;
    font-size: clamp(2rem, 8.6vw, 3rem);
  }

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

  .hero__visual {
    min-height: 520px;
  }

  .device-stack {
    transform: scale(0.92);
    transform-origin: center top;
  }

  .phone {
    width: 208px;
    border-radius: 30px;
    border-width: 8px;
  }

  .phone--front {
    left: 0;
  }

  .phone--mid {
    right: 0;
    top: 158px;
  }

  .phone--back {
    left: 68px;
    bottom: 0;
  }

  .feature-card,
  .value-strip article,
  .pillar,
  .cta-panel,
  .store-badge,
  .site-footer,
  .legal-card {
    border-radius: 24px;
  }

  .site-footer {
    margin-top: 22px;
    margin-bottom: 32px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-card__media--pair {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: 0;
  }

  .feature-card__media--pair img:first-child,
  .feature-card__media--pair img:last-child {
    width: min(100%, 260px);
    justify-self: center;
  }

  .feature-card__media--compactpair {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: 0;
    justify-items: center;
  }

  .feature-card__media--compactpair img,
  .feature-card__media--compactpair img {
    width: min(100%, 250px);
    height: 280px;
  }

  .gallery-marquee {
    width: 100%;
    margin-left: 0;
    mask-image: none;
  }

  .gallery-card {
    width: 210px;
  }

  .section {
    padding: 54px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
