/* Slidesy site styles — shared across landing, support, and any future
   product pages. Legal pages (/privacy, /terms) keep their own simpler
   styles in legal.css to stay readable on long-form text. */

:root {
  --bg: #050507;
  --fg: #ffffff;
  --dim: rgba(255, 255, 255, 0.55);
  --dim-strong: rgba(255, 255, 255, 0.75);
  --dim-soft: rgba(255, 255, 255, 0.35);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --accent-magenta: #ec4899;
  --accent-violet: #c084fc;
  --accent-orange: #f97316;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Aurora-derived ambient mesh — fixed, low-opacity, draws no attention but
   keeps the page from feeling like a flat black wall. */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(192, 132, 252, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 78% 38%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 95%, rgba(249, 115, 22, 0.06) 0%, transparent 55%);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ============================================================
   HEADER + WORDMARK
   ============================================================ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.wordmark--small {
  font-size: 22px;
}

.wordmark .slide {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
}

.wordmark .sy {
  font-weight: 900;
  margin-left: 0.04em;
  background: linear-gradient(
    110deg,
    var(--accent-violet) 0%,
    var(--accent-magenta) 50%,
    var(--accent-orange) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 9s ease-in-out infinite;
}

.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.site-header nav a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--fg);
}

@media (max-width: 720px) {
  .site-header nav {
    display: none;
  }
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 64px);
}

.section-title {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-align: center;
  margin-bottom: 24px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  text-align: center;
  padding: clamp(40px, 8vw, 96px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.headline {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s forwards;
}

.headline-accent {
  font-style: italic;
  background: linear-gradient(
    110deg,
    var(--accent-violet) 0%,
    var(--accent-magenta) 60%,
    var(--accent-orange) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 9s ease-in-out infinite;
}

.subhead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--dim-strong);
  max-width: 640px;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.4s forwards;
}

.cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.65s forwards;
}

/* App Store badge — Apple's official visual style approximated. Real badge
   art from Apple Marketing Resources should replace this once available. */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  background: #000;
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.app-store-badge:hover {
  border-color: var(--dim);
  transform: translateY(-1px);
}

.app-store-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.app-store-line-1 {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--dim);
  line-height: 1;
}

.app-store-line-2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ghost-cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ghost-cta:hover {
  border-color: var(--dim);
  background: var(--surface);
}

.microcopy {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim-soft);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease-out 0.85s forwards;
}

/* ============================================================
   DEVICE SHOWCASE — three phone mockups, gradient-filled placeholders.
   ============================================================ */
.showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(16px, 3vw, 40px);
  margin: clamp(40px, 7vw, 80px) auto;
  perspective: 1400px;
}

.phone {
  position: relative;
  width: clamp(180px, 22vw, 260px);
  /* Real iPhone-style bezel — thicker than the original 8px (which
     read more like a "rounded card" than a phone). 12px on every
     side, 44px outer corner radius, slightly metallic gradient. */
  border-radius: 44px;
  background:
    linear-gradient(180deg, #232328 0%, #0a0a0e 50%, #1a1a1f 100%);
  padding: 12px;
  box-shadow:
    /* Inner highlight along the top edge — fakes the metallic
       sheen on a real iPhone's stainless rail. */
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    /* Outer rim — gives the bezel a slight visible edge */
    0 0 0 1px rgba(255, 255, 255, 0.04),
    /* Drop shadow */
    0 20px 60px rgba(0, 0, 0, 0.6),
    /* Aurora-tinted glow */
    0 0 80px rgba(192, 132, 252, 0.06);
  transition: transform 0.6s ease;
}

/* Volume buttons (left side rail) — two short metallic strips */
.phone::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 22%;
  width: 3px;
  height: 18%;
  background: linear-gradient(90deg, #1a1a1f, #2a2a30);
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 0 rgba(255, 255, 255, 0.06) inset;
}

/* Power button (right side rail) */
.phone::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 26%;
  width: 3px;
  height: 14%;
  background: linear-gradient(90deg, #2a2a30, #1a1a1f);
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.06) inset;
}

.phone--left {
  transform: rotateY(8deg) translateY(20px);
}

.phone--right {
  transform: rotateY(-8deg) translateY(20px);
}

.phone--center {
  transform: translateY(-12px);
  z-index: 2;
}

.phone-screen {
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  /* Dark background extends behind the dynamic island so the
     island reads as the iPhone's actual top "safe area" — the
     screenshot tucks UNDER this area starting where the app UI
     normally begins. */
  background: #000;
  /* Top padding holds the dynamic island; the screenshot sits
     below this strip via `padding-top` containing the island. */
  padding-top: 38px;
}

/* Dynamic island — the black pill at the top of the iPhone 14+
   screen. Sits in the dark safe-area strip above the screenshot. */
.phone-screen::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
  /* Hairline outer ring so the all-black island stays visible
     against the all-black safe-area strip — without this the
     pill blends into the background. */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.10) inset;
}

.screen-mock {
  position: absolute;
  inset: 0;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* — Prompt screen (left phone) */
.screen-mock--prompt {
  justify-content: flex-end;
}

.mock-bar {
  height: 4px;
  width: 36px;
  border-radius: 2px;
  background: var(--dim-soft);
  margin: 0 auto;
}

.mock-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11px;
  color: var(--fg);
  font-weight: 500;
  margin-top: auto;
}

.mock-cursor {
  display: inline-block;
  width: 1px;
  height: 11px;
  background: var(--accent-magenta);
  margin-right: 4px;
  vertical-align: middle;
  animation: blink 1.2s infinite;
}

.mock-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mock-chips span {
  font-size: 9px;
  padding: 5px 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--dim-strong);
}

.mock-cta {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-magenta));
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

/* — Deck screen (center phone) — stacked mini slides */
.screen-mock--deck {
  gap: 8px;
  padding: 18px 14px;
}

.mini-slide {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mini-title {
  height: 8px;
  width: 60%;
  border-radius: 2px;
  background: var(--fg);
  opacity: 0.85;
}

.mini-title--accent {
  background: linear-gradient(90deg, var(--accent-magenta), var(--accent-violet));
  width: 75%;
  opacity: 1;
}

.mini-line {
  height: 4px;
  width: 80%;
  border-radius: 2px;
  background: var(--dim-strong);
  opacity: 0.4;
}

.mini-line.short {
  width: 50%;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 18px;
  margin-top: 4px;
}

.mini-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-violet), var(--accent-magenta));
  border-radius: 1.5px;
}

.mini-bars span:nth-child(1) {
  height: 40%;
}
.mini-bars span:nth-child(2) {
  height: 80%;
}
.mini-bars span:nth-child(3) {
  height: 60%;
}
.mini-bars span:nth-child(4) {
  height: 100%;
}

/* — Export screen (right phone) */
.screen-mock--export {
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.export-chip {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-magenta));
  color: #fff;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.25);
}

.export-chip--share {
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-orange));
}

.export-success {
  margin-top: 16px;
  font-size: 12px;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .showcase {
    gap: 10px;
  }
  .phone {
    width: 38vw;
  }
  .phone--left,
  .phone--right {
    transform: none;
  }
  .phone--center {
    transform: translateY(-8px);
  }
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features {
  padding: clamp(40px, 7vw, 96px) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.feature {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.feature:hover {
  border-color: var(--hairline-strong);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 16px;
  display: inline-block;
}

.feature h3 {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dim-strong);
}

/* ============================================================
   HOW IT WORKS — numbered steps
   ============================================================ */
.how {
  padding: clamp(40px, 7vw, 96px) 0;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 56px;
  counter-reset: step;
}

.steps li {
  padding-top: 12px;
  position: relative;
}

.step-num {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  background: linear-gradient(110deg, var(--accent-violet), var(--accent-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.steps h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.steps p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dim-strong);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: clamp(40px, 7vw, 96px) 0;
  text-align: center;
}

.pricing-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dim-strong);
  max-width: 620px;
  margin: 0 auto 48px;
}

.pricing-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: 20px;
  position: relative;
  text-align: left;
  box-shadow: 0 30px 80px rgba(192, 132, 252, 0.05);
}

.pricing-tier {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-violet);
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-amount {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 28px;
}

.pricing-currency {
  font-size: 30px;
  vertical-align: top;
  margin-right: 4px;
  color: var(--dim-strong);
}

.pricing-period {
  font-size: 17px;
  font-family: "Inter Tight", sans-serif;
  color: var(--dim);
}

.pricing-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.pricing-perks li {
  font-size: 14px;
  line-height: 1.4;
  color: var(--dim-strong);
  padding-left: 22px;
  position: relative;
}

.pricing-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-magenta);
  font-weight: 700;
}

.pricing-footnote {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.5;
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
}

/* ============================================================
   FAQ TEASE — uses <details>/<summary>
   ============================================================ */
.faq-tease {
  padding: clamp(40px, 7vw, 96px) 0;
  max-width: 720px;
  margin: 0 auto;
}

.faq-tease-sub {
  text-align: center;
  color: var(--dim-strong);
  margin-bottom: 40px;
  font-size: 15px;
}

.faq-tease-sub a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--hairline-strong);
}

.faq-tease details {
  border-bottom: 1px solid var(--hairline);
  padding: 20px 4px;
}

.faq-tease summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  position: relative;
  padding-right: 28px;
  transition: color 0.2s ease;
}

.faq-tease summary::-webkit-details-marker {
  display: none;
}

.faq-tease summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: -2px;
  font-size: 24px;
  font-weight: 300;
  color: var(--dim);
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-tease details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-magenta);
}

.faq-tease summary:hover {
  color: var(--fg);
}

.faq-tease details p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--dim-strong);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 48px clamp(20px, 5vw, 64px) 48px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--fg);
}

.footer-meta {
  font-size: 12px;
  color: var(--dim-soft);
  letter-spacing: 0.04em;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes blink {
  0%,
  45%,
  100% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0.15;
  }
}

/* Reduced motion — disable everything animated. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   PHONE SHOT — real screenshot inside the `.phone-screen` frame.
   Fills the screen edge-to-edge; the parent .phone-screen handles
   the rounded corner clipping via `overflow: hidden`.
   ============================================================ */
.phone-shot {
  /* Use plain block layout (not absolute) so the image actually
     drives the `.phone-screen` height. The original
     `position: absolute; inset: 0` was breaking on iOS Safari when
     the parent's `aspect-ratio` didn't propagate height to a child
     that has no intrinsic dimensions. Letting the image take its
     natural width: 100% + height: auto means the phone wrapper
     grows to fit the image exactly, every time. */
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

/* ============================================================
   HERO SHOWCASE — single phone in center, feature cards float
   around it. Replaces the 3-phone showcase.
   ============================================================ */
.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: clamp(48px, 8vw, 88px) auto;
  padding: clamp(40px, 6vw, 80px) 16px;
  /* Soft glow behind the phone — pulls the eye to the center */
  background:
    radial-gradient(
      ellipse at 50% 45%,
      rgba(192, 132, 252, 0.10) 0%,
      transparent 60%
    );
  border-radius: 32px;
}

/* Solo center phone — bigger than the 3-phone variant so it owns
   the composition. Slight lift via translateY for visual weight. */
.phone--solo {
  position: relative;
  margin: 0 auto;
  width: clamp(220px, 30vw, 320px);
  /* Aspect already set by `.phone` rule above; keep it consistent. */
  z-index: 2;
  /* Drop a deeper shadow than the 3-phone variant — the phone needs
     to clearly float above its surrounding cards. */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 100px rgba(192, 132, 252, 0.08);
}

/* — Feature cards: glass tiles arranged around the phone */
.feature-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  /* Stronger background than the original 0.72 alpha — on top of
     a near-black page the low-alpha glass was barely visible.
     `#1a1a26` over the page bg reads as a clear card while still
     letting the gradient ambient peek through via the alpha. */
  background: rgba(26, 26, 38, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.6),
    0 2px 6px rgba(0, 0, 0, 0.35);
  /* Animation: fade + slide in from the phone-direction.
     `--delay` is set inline per card so they stagger. */
  opacity: 0;
  animation: card-fade-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
  /* Floating idle motion — runs forever, very subtle, only after
     fade-in completes (handled by the second animation rule). */
  will-change: transform, opacity;
}

.feature-card .card-icon {
  font-size: 22px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.feature-card .card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.feature-card .card-text strong {
  color: var(--fg, #fff);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card .card-text em {
  color: var(--dim, rgba(255, 255, 255, 0.55));
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

/* — Card positions (desktop). Bound to the inner rect of
     .hero-showcase using percentages so cards stay relative to
     the phone as the container scales. */
.card--tl { top: 10%;  left:  2%; }
.card--tr { top: 10%;  right: 2%; }
.card--ml { top: 42%;  left: -2%; }
.card--mr { top: 42%;  right:-2%; }
.card--bl { bottom: 10%; left:  4%; }
.card--br { bottom: 10%; right: 4%; }

/* Entrance keyframes — gentle slide toward final position
   (cards start ~30px further from the phone, slide in). */
@keyframes card-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Subtle idle float — kicks in after entrance, very small motion
   so the surface feels alive without being noisy. */
.feature-card {
  animation:
    card-fade-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards,
    card-float 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 0.7s);
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Mobile: stack cards in a 2-column grid below the phone instead
   of trying to float them around. Absolute positioning collapses
   into a flow layout. Phone keeps its size, cards become readable. */
@media (max-width: 720px) {
  .hero-showcase {
    padding: clamp(24px, 6vw, 40px) 16px clamp(40px, 6vw, 60px);
  }
  .phone--solo {
    margin: 0 auto 32px;
    width: clamp(220px, 60vw, 280px);
  }
  .feature-card {
    position: static;
    animation:
      card-fade-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
    animation-delay: var(--delay, 0s);
  }
  /* Wrap cards in implicit flex via container query workaround —
     since they're siblings of .phone--solo, we flex the parent
     and let cards become a 2-col grid below the phone. */
  .hero-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  /* Stack remaining cards into a 2-col grid below the phone.
     Phone is `order: 0` (first child), cards reflow as 1-6. */
  .feature-card {
    width: min(100%, 380px);
    margin: 4px 0;
  }
}

/* Respect reduced motion — skip the idle float, keep fade-in only */
@media (prefers-reduced-motion: reduce) {
  .feature-card {
    animation: card-fade-in 0.5s ease forwards;
    animation-delay: var(--delay, 0s);
  }
}
