/* ==========================================================================
   ShowFlow — Marketing site stylesheet
   Dark, cinematic, compact — matched to the iOS app's dark theme.
   Editorial serif headlines, system sans body, jewel-green accent.
   ========================================================================== */

/* -------------------------------------------------------------------------
   Tokens — dark theme
   ------------------------------------------------------------------------- */
:root {
  /* Canvas — neutral near-black, matches iOS dark mode tokens.
     Previously indigo-tinted (#0B0820); shifted to true black to mirror
     the iPhone dark theme. Brand identity preserved via the mint accent
     and the hero gradient (--hero-* below still carries the indigo glow). */
  --bg:            #000000;       /* True black, OLED-friendly */
  --bg-2:          #0A0A0A;       /* Slight lift */
  --surface:       #1C1C1E;       /* Card — iOS systemGray6 dark */
  --surface-2:     #2C2C2E;       /* Card hover / inset — iOS systemGray5 dark */
  --surface-3:     #161618;       /* Subtler card */

  /* Text */
  --ink:           #F4F1EA;       /* Warm off-white headline */
  --ink-2:         #DAD7D0;       /* Strong body */
  --muted:         #9A92B8;       /* Secondary — tinted purple */
  --muted-2:       #6E6890;       /* Tertiary */

  /* Lines */
  --hairline:      rgba(255, 255, 255, 0.10);
  --hairline-2:    rgba(255, 255, 255, 0.06);

  /* Brand — mint accent (lifted from the app icon) */
  --mint:          #34E5B7;       /* Primary accent — icon's checkmark */
  --mint-soft:     rgba(52, 229, 183, 0.14);
  --mint-deep:     #1FC79A;
  /* Backwards-compatible aliases for prior --green refs */
  --green:         #34E5B7;
  --green-soft:    rgba(52, 229, 183, 0.14);
  --green-deep:    #1FC79A;
  --indigo:        #2D1A7A;       /* Icon background mid */
  --indigo-soft:   rgba(110, 71, 201, 0.18);

  /* Streaming pill colors */
  --pill-netflix:  #E50914;
  --pill-hulu:     #1CE783;
  --pill-prime:    #00A8E1;
  --pill-disney:   #113CCF;
  --pill-apple:    #000000;
  --pill-max:      #802BB1;

  /* Hero gradient — indigo, mirrors the icon glow */
  --hero-1:        #0B0820;
  --hero-2:        #2D1A7A;
  --hero-3:        #1A0F4A;

  /* Typography */
  --font-display:  "Instrument Serif", "New York", "Playfair Display", Georgia, serif;
  --font-body:     -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --font-mono:     "SF Mono", ui-monospace, "Menlo", monospace;

  /* Sizing */
  --container:     1120px;
  --container-narrow: 720px;
  --radius-sm:     10px;
  --radius:        14px;
  --radius-lg:     22px;
  --radius-pill:   999px;

  /* Motion */
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
}

/* -------------------------------------------------------------------------
   Reset / base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--green);
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
a:hover { color: #36C28D; }

p { margin: 0 0 0.9em; }

::selection {
  background: var(--green);
  color: #0B0820;
}

/* -------------------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container, .container--narrow { padding: 0 18px; }
}

.section {
  padding: 72px 0;
  position: relative;
}
.section--tight   { padding: 48px 0; }
.section--loose   { padding: 96px 0; }

@media (max-width: 768px) {
  .section        { padding: 56px 0; }
  .section--tight { padding: 36px 0; }
  .section--loose { padding: 72px 0; }
}

/* -------------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--green { color: var(--green); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
  margin: 0;
  color: var(--ink);
}

.display--xl { font-size: clamp(40px, 6.4vw, 80px); }
.display--lg { font-size: clamp(32px, 4.8vw, 56px); }
.display--md { font-size: clamp(26px, 3.6vw, 42px); }
.display--sm { font-size: clamp(22px, 2.6vw, 30px); }

.lead {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}

.italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: #0B0820;
  font-weight: 600;
}
.btn--primary:hover {
  background: #2BC288;
  color: #0B0820;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(30, 166, 114, 0.28);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.14);
}
.btn--light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--small { padding: 8px 16px; font-size: 13px; }

/* -------------------------------------------------------------------------
   Header / Nav
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 8, 32, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline-2);
}
.site-header--dark {
  background: rgba(10, 15, 31, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  color: rgba(244, 241, 234, 0.72);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
.nav__link:hover { color: var(--ink); }

@media (max-width: 640px) {
  .nav { padding: 0 18px; height: 50px; }
  .nav__links { gap: 16px; }
  .nav__link.is-secondary { display: none; }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(52, 229, 183, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, var(--hero-2) 0%, transparent 60%),
    radial-gradient(ellipse at 60% 50%, var(--hero-3) 0%, transparent 70%),
    linear-gradient(180deg, var(--hero-1) 0%, #050416 100%);
  color: var(--ink);
  padding: 56px 0 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hero__copy {
  padding-bottom: 64px;
  position: relative;
  z-index: 2;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
}
.hero__pill__dot {
  width: 7px;
  height: 7px;
  background: var(--pill-hulu);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--pill-hulu);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
.hero__headline em {
  font-style: italic;
  color: #9FCBB4;
}

.hero__sub {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.66);
  max-width: 48ch;
  margin: 0 0 24px;
}

.hero__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__meta {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__meta__divider {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

/* Hero phone-frame wrapper — positions the .phone-frame element centered
   below the hero copy. The old CSS-mockup phone (.phone, .phone__notch,
   .phone__screen, .mock-*) was removed when we swapped to real screenshots
   wrapped in .phone-frame; only the wrapper survives. */
.hero__phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 0;
}

@media (max-width: 960px) {
  .hero { padding: 36px 0 0; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
  .hero__copy {
    padding-bottom: 28px;
    text-align: center;
  }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__meta { justify-content: center; }
}

/* -------------------------------------------------------------------------
   Marquee — streaming pills band
   ------------------------------------------------------------------------- */
.marquee {
  padding: 18px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}
.marquee__inner {
  display: inline-flex;
  gap: 12px;
  padding-left: 12px;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee__inner { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.streaming-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.streaming-pill::before {
  content: '▶';
  font-size: 8px;
}
.streaming-pill--netflix { background: var(--pill-netflix); }
.streaming-pill--hulu    { background: var(--pill-hulu); color: #002E1B; }
.streaming-pill--prime   { background: var(--pill-prime); }
.streaming-pill--disney  { background: var(--pill-disney); }
.streaming-pill--apple   { background: #1a1a1a; border: 1px solid rgba(255,255,255,0.15); }
.streaming-pill--max     { background: var(--pill-max); }
.streaming-pill--paramount { background: #0064FF; }
.streaming-pill--peacock { background: #1a1a1a; color: #FFE600; border: 1px solid rgba(255,230,0,0.25); }

/* -------------------------------------------------------------------------
   Section: highlights (3-up)
   ------------------------------------------------------------------------- */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.highlight {
  padding: 22px 22px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--hairline-2);
  transition: transform 240ms var(--ease-out), border-color 240ms var(--ease-out), background 240ms var(--ease-out);
}
.highlight:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
  border-color: var(--hairline);
}
.highlight__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.highlight__title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink);
}
.highlight__desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 880px) {
  .highlights { grid-template-columns: 1fr; gap: 12px; }
}

/* -------------------------------------------------------------------------
   Section: feature alternating rows
   ------------------------------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0;
}
.feature-row + .feature-row {
  border-top: 1px solid var(--hairline-2);
}
.feature-row--reverse .feature-row__visual { order: -1; }

.feature-row__copy { max-width: 460px; }
.feature-row__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
  color: var(--ink);
}
.feature-row__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.feature-row__visual {
  /* Centering only — no decorative box. Previously this container had its
     own background/border/aspect-ratio:5/4/overflow:hidden which fought the
     phone-frame: portrait screenshots got clipped vertically and the panel
     border doubled up with the bezel. With the .phone-frame providing its
     own visible chrome, this just centers it. */
  display: grid;
  place-items: center;
}

.feature-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.feature-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--green);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/></svg>") center/contain no-repeat;
}

@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .feature-row--reverse .feature-row__visual { order: 0; }
}

/* -------------------------------------------------------------------------
   Privacy section
   ------------------------------------------------------------------------- */
.privacy-pitch {
  background:
    radial-gradient(circle at 0% 0%, rgba(52, 229, 183, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(110, 71, 201, 0.22), transparent 60%),
    linear-gradient(180deg, #110A2C 0%, #050416 100%);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline-2);
}
.privacy-pitch__content {
  position: relative;
  max-width: 680px;
}
.privacy-pitch h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  color: var(--ink);
}
.privacy-pitch h2 em { font-style: italic; color: #9FCBB4; }
.privacy-pitch p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.7);
  max-width: 56ch;
}
.privacy-pitch .eyebrow { color: rgba(159, 203, 180, 0.95); }

.privacy-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 32px;
  margin-top: 32px;
  position: relative;
}
.privacy-point__title {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--ink);
}
.privacy-point__desc {
  font-size: 13px;
  color: rgba(244, 241, 234, 0.6);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .privacy-pitch { padding: 36px 22px; border-radius: var(--radius); }
  .privacy-points { grid-template-columns: 1fr; gap: 16px; }
}

/* -------------------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------------------- */
.final-cta {
  text-align: center;
  padding: 72px 0 88px;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}
.final-cta h2 em { font-style: italic; color: var(--green); }
.final-cta p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 auto 24px;
  max-width: 50ch;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--hairline-2);
  padding: 36px 0 24px;
  background: var(--bg-2);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer__col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 10px;
}
.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__col li { margin-bottom: 6px; }
.site-footer__col a {
  color: rgba(244, 241, 234, 0.78);
  font-size: 13px;
}
.site-footer__col a:hover { color: var(--green); }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-2);
  font-size: 12px;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}

/* -------------------------------------------------------------------------
   Document pages (privacy / terms / support)
   ------------------------------------------------------------------------- */
.doc {
  padding: 56px 0 80px;
  background: var(--bg);
}
.doc__header {
  text-align: left;
  max-width: 720px;
  margin: 0 auto 36px;
}
.doc__header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 10px 0 8px;
  color: var(--ink);
}
.doc__header .updated {
  font-size: 13px;
  color: var(--muted);
}

.doc__body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.doc__body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
  color: var(--ink);
}
.doc__body h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 6px;
  color: var(--ink);
}
.doc__body ul, .doc__body ol {
  padding-left: 22px;
  margin: 0 0 1em;
}
.doc__body li {
  margin-bottom: 6px;
}
.doc__body p { margin-bottom: 1em; }
.doc__body strong { color: var(--ink); font-weight: 600; }
.doc__body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--hairline-2);
}
.doc__body hr {
  border: 0;
  height: 1px;
  background: var(--hairline-2);
  margin: 36px 0;
}

.doc__contact {
  margin-top: 36px;
  padding: 22px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--hairline-2);
}
.doc__contact h3 {
  margin-top: 0;
}

/* Support-specific FAQ accordion */
.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--hairline-2);
  padding: 16px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--hairline-2); }
.faq summary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 200ms var(--ease-out);
  flex-shrink: 0;
}
.faq details[open] summary::after {
  content: '−';
}
.faq__answer {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.faq__answer p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------------
   Reveal on scroll
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* -------------------------------------------------------------------------
   Utility
   ------------------------------------------------------------------------- */
.center-text { text-align: center; }
.muted { color: var(--muted); }
.divider {
  height: 1px;
  background: var(--hairline-2);
  margin: 0;
  border: 0;
}
.kbd {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--surface);
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--hairline);
}

/* -------------------------------------------------------------------------
   Phone frame — wraps an app screenshot in a thin iPhone-style bezel.
   Used in the hero and every feature-row visual to give screenshots
   proper device framing without clipping their content at the corners.
   ------------------------------------------------------------------------- */
.phone-frame {
  display: inline-block;
  padding: 10px;
  background: #1a1a1a;
  border-radius: 44px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 40px 90px rgba(15, 94, 62, 0.12);
}
.phone-frame__img {
  display: block;
  width: 250px;       /* default feature-row size */
  height: auto;       /* CRITICAL — lets the screenshot show its full natural height (no clipping) */
  max-width: 100%;
  border-radius: 34px;
}
.phone-frame--hero .phone-frame__img {
  width: 320px;       /* hero a bit larger */
}
