/* SITE BUILD 2026-09-02-d — no blue corner cubes; full-screen shots */
:root {
  --blue: #023596;
  --blue-deep: #01266a;
  --muted: #d7e2ff;
  --white: #ffffff;
  --page-pad: clamp(2rem, 4.5vw, 4rem);
  --font-he: "Heebo", system-ui, sans-serif;
  --font-en: "Sora", system-ui, sans-serif;
  --badge-h: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-he);
  color: var(--white);
  background: var(--blue-deep);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page {
  position: relative;
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 25%, rgba(77, 122, 212, 0.35), transparent 60%),
    linear-gradient(145deg, var(--blue-deep) 0%, var(--blue) 58%, #0a4cc4 100%);
  z-index: 0;
}

.top {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(0.85rem, 2vh, 1.45rem) var(--page-pad) 0.2rem;
  animation: fadein 0.7s ease both;
}

.brand {
  margin: 0 0 0.45rem;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.top h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 900;
  line-height: 1.4;
}

.layout {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  padding: clamp(0.4rem, 1.4vh, 1rem) var(--page-pad) 0.35rem;
  overflow: visible;
}

.copy-col {
  position: relative;
  left: 200px; /* 200px to the right */
  flex: 0 1 34rem;
  max-width: 34rem;
  text-align: right;
  animation: fadein 0.75s ease both;
}

.lead {
  margin: 0 0 1.15rem;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.9;
  opacity: 0.96;
}

.bullets {
  margin: 0 0 1.15rem;
  padding: 0 1.25rem 0 0;
  list-style: disc;
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  line-height: 2.05;
  opacity: 0.96;
}

.bullets li {
  margin-bottom: 0.35rem;
  padding-inline-start: 0.15rem;
}

.note,
.closing {
  margin: 0;
  font-size: clamp(0.86rem, 1.1vw, 0.96rem);
  line-height: 1.85;
  color: var(--muted);
}

.closing {
  margin-top: 1.15rem;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 600;
  color: var(--white);
  opacity: 0.96;
}

.slider-wrap {
  position: relative;
  left: -65px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: visible;
  animation: rise 0.8s ease both;
}

/*
  Real iPhone 17 Pro frame.
  Screenshots fill 100% of the screen hole; corners are clipped to the
  screen curve so they never poke out under the frame (esp. bottom).
  No blue overlay cubes.
*/
.iphone {
  position: relative;
  width: min(30vw, 280px, calc(min(62svh, 580px) * 389 / 800));
  aspect-ratio: 389 / 800;
  max-height: min(62svh, 580px);
  overflow: visible;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.45));
}

.iphone::before,
.iphone::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.iphone-screen {
  position: absolute;
  z-index: 1;
  /* Exact screen hole of the PNG (389×800): 17,14 → 371,785 */
  top: 1.75%;
  left: 4.37%;
  width: 91.26%;
  height: 96.5%;
  /* Round only the content corners to match the glass — frame sits on top */
  border-radius: 12.8% / 5.9%;
  overflow: hidden;
  background: #000;
}

.iphone-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  background: #fff;
}

.dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.dots button.is-active {
  background: var(--white);
  transform: scale(1.2);
}

.stores {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
  padding: 0.55rem var(--page-pad) 0.85rem;
  animation: fadein 0.8s ease both;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  height: var(--badge-h);
  transition: transform 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
}

.badge-img {
  height: var(--badge-h);
  width: auto;
  max-height: var(--badge-h);
  object-fit: contain;
}

.footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem var(--page-pad) 1.1rem;
  background: rgba(0, 0, 0, 0.25);
  font-size: calc(0.9rem - 2pt);
}

.copyright {
  position: relative;
  left: 130px;
  margin: 0;
  opacity: 0.92;
  line-height: 1.5;
}

.legal {
  position: relative;
  left: -130px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.legal a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.92;
  line-height: 1.5;
}

.legal a:hover {
  opacity: 1;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  html,
  body {
    overflow: auto;
  }

  .page {
    height: auto;
    min-height: 100svh;
  }

  .layout {
    flex-direction: column;
    gap: 1.25rem;
    padding: 0.75rem var(--page-pad) 0.5rem;
  }

  .slider-wrap {
    order: -1;
    left: 0;
  }

  .copy-col {
    max-width: none;
    width: 100%;
    left: 0;
  }

  .iphone {
    width: min(58vw, 260px);
    max-height: 52svh;
  }

  .stores {
    padding-bottom: 1rem;
  }

  .footer {
    justify-content: center;
    text-align: center;
  }

  .legal,
  .copyright {
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    transition: none;
  }
}
