/* =====================================================
   Lispora — landing site stylesheet
   No shadows. Real iPhone 17 Pro Max frame with Dynamic Island.
   Apple-system tinted cards, no borders on feature cards.
   ===================================================== */

:root {
  --blue: #007AFF;
  --blue-dark: #0066d6;
  --blue-soft: #E8F1FF;

  /* Apple system colors for card tints */
  --c-blue:   #007AFF;
  --c-indigo: #5856D6;
  --c-purple: #AF52DE;
  --c-pink:   #FF2D55;
  --c-orange: #FF9500;
  --c-yellow: #FFCC00;
  --c-green:  #34C759;
  --c-mint:   #00C7BE;
  --c-cyan:   #32ADE6;

  --bg: #ffffff;
  --bg-elev: #f5f5f7;
  --bg-card: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --border: #d2d2d7;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius:    24px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
  --blue: #0A84FF;
  --blue-dark: #409cff;
  --blue-soft: #15233a;
  --bg: #000000;
  --bg-elev: #1c1c1e;
  --bg-card: #1c1c1e;
  --text: #f5f5f7;
  --text-muted: #a1a1a6;
  --border: #2c2c2e;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #0A84FF;
    --blue-dark: #409cff;
    --blue-soft: #15233a;
    --bg: #000000;
    --bg-elev: #1c1c1e;
    --bg-card: #1c1c1e;
    --text: #f5f5f7;
    --text-muted: #a1a1a6;
    --border: #2c2c2e;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue);
  transition: background-color 0.3s var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 23px;
  color: #fff;
  letter-spacing: -0.015em;
  transition: opacity 0.2s var(--ease);
}
.brand:hover { color: #fff; opacity: 0.85; }
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: #fff; }

/* iOS-style theme switch */
.theme-switch {
  position: relative;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.theme-switch:hover { background: rgba(255, 255, 255, 0.32); }
.theme-switch .thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease);
}
[data-theme="dark"] .theme-switch .thumb {
  transform: translateX(24px);
  background: #0c0c0e;
  color: #ffd479;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-switch .thumb {
    transform: translateX(24px);
    background: #0c0c0e;
    color: #ffd479;
  }
}
.theme-switch .ic-sun,
.theme-switch .ic-moon { display: none; }
.theme-switch .ic-sun { display: block; }
[data-theme="dark"] .theme-switch .ic-sun { display: none; }
[data-theme="dark"] .theme-switch .ic-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-switch .ic-sun { display: none; }
  :root:not([data-theme="light"]) .theme-switch .ic-moon { display: block; }
}

.nav .btn-primary {
  background: #fff;
  color: var(--blue);
}
.nav .btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
}

@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: 10px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}
.btn-ghost:hover {
  background: var(--bg-elev);
  color: var(--text);
  border-color: color-mix(in srgb, var(--text) 30%, var(--border));
}

/* App Store — solid black, same height as .btn-ghost */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #000;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-appstore:hover {
  background: #1a1a1c;
  border-color: #1a1a1c;
  color: #fff;
}
[data-theme="dark"] .btn-appstore {
  background: #fff;
  color: #000;
  border-color: #fff;
}
[data-theme="dark"] .btn-appstore:hover {
  background: #e9e9eb;
  border-color: #e9e9eb;
  color: #000;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-appstore {
    background: #fff;
    color: #000;
    border-color: #fff;
  }
  :root:not([data-theme="light"]) .btn-appstore:hover {
    background: #e9e9eb;
    border-color: #e9e9eb;
    color: #000;
  }
}
.btn-appstore .as-icon { font-size: 20px; line-height: 1; }

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 18px;
}
.coming-soon::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% 0%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 60%),
    radial-gradient(700px 400px at 0% 10%, color-mix(in srgb, var(--blue) 8%, transparent), transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 700;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--blue), #5ac8fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 20px;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ============================================
   iPhone 17 Pro Max frame
   All inner sizes use cqi (container-query inline) units
   so the frame scales proportionally at any width.
   ============================================ */
.iphone {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
}
.iphone-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a3a3c 0%, #1a1a1c 50%, #3a3a3c 100%);
  border-radius: 16.5cqi;
  padding: 2.6cqi;
}
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  clip-path: inset(0 round 13.5cqi);
  transform: translate3d(0, 0, 0);
}
.iphone-screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* Status bar elements (kept for backward-compat, hidden — image carries its own) */
.iphone-status,
.iphone-island { display: none; }
.iphone-island {
  position: absolute;
  top: 3.2cqi;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 9cqi;
  background: #000;
  border-radius: 100px;
  z-index: 3;
}

/* Hero — two phones stacked with overlap */
.hero-phones {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 620px;
  margin: 0 auto;
}
.hero-phones .iphone {
  position: absolute;
  width: 235px;
  max-width: 235px;
}
.hero-phones .iphone-front { top: 0;   left: 0;  z-index: 2; }
.hero-phones .iphone-back  { top: 75px; right: 0; z-index: 1; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .coming-soon { justify-content: center; display: inline-flex; }
  .hero-phones { max-width: 340px; height: 560px; }
  .hero-phones .iphone { width: 205px; max-width: 205px; }
  .hero-phones .iphone-back { top: 65px; }
}
@media (max-width: 480px) {
  .hero-phones { max-width: 290px; height: 500px; }
  .hero-phones .iphone { width: 180px; max-width: 180px; }
  .hero-phones .iphone-back { top: 55px; }
}

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 100px 0; }
section.alt { background: var(--bg-elev); }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.section-head p {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   FEATURE CARDS — tinted, no border, no shadow
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--card-bg, var(--bg-elev));
  border: none;
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s var(--ease-out);
}
.feature:hover { transform: translateY(-4px); }
.feature.c-blue   { --card-bg: color-mix(in srgb, var(--c-blue)   12%, var(--bg)); --card-tint: var(--c-blue); }
.feature.c-indigo { --card-bg: color-mix(in srgb, var(--c-indigo) 12%, var(--bg)); --card-tint: var(--c-indigo); }
.feature.c-mint   { --card-bg: color-mix(in srgb, var(--c-mint)   14%, var(--bg)); --card-tint: var(--c-mint); }
.feature.c-orange { --card-bg: color-mix(in srgb, var(--c-orange) 14%, var(--bg)); --card-tint: var(--c-orange); }
.feature.c-yellow { --card-bg: color-mix(in srgb, var(--c-yellow) 18%, var(--bg)); --card-tint: var(--c-orange); }
.feature.c-purple { --card-bg: color-mix(in srgb, var(--c-purple) 12%, var(--bg)); --card-tint: var(--c-purple); }

.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--card-tint, var(--blue)) 22%, var(--bg));
  color: var(--card-tint, var(--blue));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat {
  border-radius: var(--radius);
  padding: 32px 28px 26px;
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.cat:hover { transform: translateY(-4px); }
.cat span.emoji { font-size: 72px; align-self: flex-end; line-height: 1; }
.cat.essentials { background: linear-gradient(135deg, #c9a07a, #8a6442); }
.cat.history    { background: linear-gradient(135deg, #d4b896, #a08664); }
.cat.nature     { background: linear-gradient(135deg, #8de09c, #4cb863); }
.cat.science    { background: linear-gradient(135deg, #b8b8f0, #7676db); }
.cat.daily      { background: linear-gradient(135deg, #8acaf8, #4ba0e8); }
.cat.culture    { background: linear-gradient(135deg, #d3a5ea, #ad6cd2); }
@media (max-width: 900px) { .categories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .categories { grid-template-columns: 1fr; } }

/* ============================================
   SHOWCASE — phone + text rows
   ============================================ */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 120px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { direction: rtl; }
.showcase-row.reverse > * { direction: ltr; }

.showcase-row h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.showcase-row .eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.showcase-row p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0 0 16px;
  max-width: 460px;
}
.showcase-row ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.showcase-row ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text);
}
.showcase-row ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 18%, var(--bg));
}
.showcase-row ul li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
@media (max-width: 860px) {
  .showcase-row { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .showcase-row.reverse { direction: ltr; }
  .showcase-row p, .showcase-row ul { margin-left: auto; margin-right: auto; max-width: 100%; }
  .showcase-row ul li { text-align: left; max-width: 360px; margin-left: auto; margin-right: auto; }
}

/* ============================================
   GALLERY — Apple App Store "Today" card
   single card, image fills it, dark gradient
   inside the bottom, white text over the gradient
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.gallery-card {
  position: relative;
  aspect-ratio: 800 / 1738;
  background: transparent;
  transition: transform 0.35s var(--ease-out);
  /* clip-path antialiases smoothly against the section bg — no gray line */
  clip-path: inset(0 round var(--radius-lg));
  transform: translate3d(0, 0, 0);
}
.gallery-card:hover { transform: translate3d(0, -6px, 0); }

.gallery-card-img {
  position: absolute;
  inset: 0;
}
.gallery-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.gallery-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 22px 22px;
  background: var(--zone, #007AFF);
  color: #fff;
  z-index: 2;
}

.gallery-card-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px;
  letter-spacing: -0.01em;
  color: #fff;
}
.gallery-card-text p {
  font-size: 13.5px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

/* Each card gets its own solid Apple-system color block */
.gallery-card:nth-child(1) { --zone: #FF9500; } /* orange */
.gallery-card:nth-child(2) { --zone: #007AFF; } /* blue */
.gallery-card:nth-child(3) { --zone: #5856D6; } /* indigo */
.gallery-card:nth-child(4) { --zone: #34C759; } /* green */
.gallery-card:nth-child(5) { --zone: #AF52DE; } /* purple */
.gallery-card:nth-child(6) { --zone: #FF2D55; } /* pink */
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ============================================
   CTA
   ============================================ */
.cta {
  text-align: center;
  padding: 100px 24px;
  background:
    radial-gradient(800px 400px at 50% 0%, color-mix(in srgb, var(--blue) 18%, transparent), transparent 60%),
    var(--bg-elev);
  border-radius: var(--radius-lg);
  margin: 80px 24px;
}
.cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.cta p {
  color: var(--text-muted);
  font-size: 18px;
  margin: 0 0 28px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-grid h4 {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--blue); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.page-hero {
  padding: 80px 0 40px;
  text-align: center;
  background:
    radial-gradient(800px 300px at 50% 0%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 70%);
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 18px;
  margin: 0;
}
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  font-size: 17px;
  line-height: 1.7;
}
.prose h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.prose h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 8px;
}
.prose p, .prose ul { color: var(--text); }
.prose ul { padding-left: 22px; }
.prose ul li { margin-bottom: 6px; }
.prose .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-delay="100"] { transition-delay: 0.08s; }
[data-animate-delay="200"] { transition-delay: 0.16s; }
[data-animate-delay="300"] { transition-delay: 0.24s; }
[data-animate-delay="400"] { transition-delay: 0.32s; }
[data-animate-delay="500"] { transition-delay: 0.40s; }
[data-animate-delay="600"] { transition-delay: 0.48s; }

.hero h1, .hero p.lede, .hero-cta, .hero .coming-soon {
  animation: fadeUp 0.9s var(--ease-out) backwards;
}
.hero h1 { animation-delay: 0.05s; }
.hero p.lede { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.35s; }
.hero .coming-soon { animation-delay: 0.5s; }

.hero .iphone-front {
  animation: fadeUp 1s var(--ease-out) backwards,
             float 6.5s ease-in-out infinite;
  animation-delay: 0.3s, 1.4s;
}
.hero .iphone-back {
  animation: fadeUp 1s var(--ease-out) backwards,
             float 6.5s ease-in-out infinite reverse;
  animation-delay: 0.5s, 1.8s;
}

.hero h1 .gradient {
  background: linear-gradient(110deg, var(--blue), #5ac8fa, var(--blue));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
  .hero .iphone-front, .hero .iphone-back { animation: none !important; }
}
