/* Home page */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px; min-height: min(860px, calc(100vh - 70px)); padding-top: 24px; padding-bottom: 40px; }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 850; }
.hero .lead { margin: 20px 0 30px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: #d9ccc5; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-primary { min-width: 290px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-chips .chip svg, .plat svg { width: 15px; height: 15px; }
.hero .eyebrow { display: flex; align-items: center; letter-spacing: .22em; }
.hero .eyebrow .pill { letter-spacing: 0; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 620px; }
.hero-mark { position: absolute; width: min(560px, 105%); height: auto; left: -34%; top: 50%; margin-top: -330px; opacity: .95; filter: drop-shadow(0 40px 80px rgba(255,70,20,.25)); }
.hero-phone { position: relative; width: min(300px, 62vw); transform: rotate(3deg); margin-left: 22%; }
.hero-phone .phone { box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), 0 0 90px -20px rgba(255,100,40,.45); }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(20,18,22,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.9); animation: bob 6s ease-in-out infinite; }
.float-card b { font-size: 1.5rem; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float-card small { color: #d0c4be; font-weight: 600; font-size: .8rem; }
.float-card span { font-size: 1.4rem; }
.fc-1 { right: -2%; top: 16%; }
.fc-2 { left: 0; bottom: 14%; animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -10px; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; padding-top: 20px; }
  .hero .eyebrow, .hero-actions, .hero-chips { justify-content: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions .btn-primary { min-width: 0; width: 100%; justify-content: center; }
  .hero-visual { min-height: 520px; order: -1; }
  .hero-mark { left: 50%; margin-left: -220px; width: 440px; margin-top: -220px; }
  .hero-phone { width: min(240px, 58vw); margin-left: 0; }
  .hero-mark { left: 50%; margin-left: -300px; opacity: .55; }
  .fc-1 { right: 2%; } .fc-2 { left: 2%; }
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 10px; }
.stat { text-align: center; padding: 22px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.04em; line-height: 1.1; font-weight: 850;
  background: linear-gradient(180deg, #fff, var(--peach)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:first-child { grid-column: 1 / -1; } }

/* story: the phone stays, the steps scroll past it */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.story-steps { display: flex; flex-direction: column; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); max-width: 470px; }
.step.active { opacity: 1; }
.step h3 { margin: 0 0 12px; font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.035em; line-height: 1.08; }
.step p:last-child { color: #d0c4be; font-size: 1.08rem; margin: 0; }
.step-phone { display: none; }
.story-stage { position: relative; }
.story-sticky { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.story-sticky .phone { width: min(320px, 80%); position: relative; z-index: 1; }
.story-mark { position: absolute; width: 120%; max-width: 560px; opacity: .45; filter: blur(1px); transform: rotate(-8deg) scale(var(--mark-scale, 1)); transition: transform 1s var(--ease); }
.story-dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.story-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: height .4s var(--ease), background .3s; }
.story-dots i.on { height: 26px; border-radius: 6px; background: var(--grad); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 34px 0; max-width: none; text-align: center; align-items: center; }
  .step-phone { display: block; width: min(250px, 66vw); margin: 0 auto 26px; }
}

/* feature bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento .feat:nth-child(1), .bento .feat:nth-child(4), .bento .feat:nth-child(5), .bento .feat:nth-child(8) { grid-column: span 2; }
.feat { padding: 24px; }
.feat:hover { transform: translateY(-4px); }
.feat-ico { font-size: 1.7rem; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 16px; }
.feat h3 { margin: 0 0 6px; font-size: 1.12rem; letter-spacing: -.01em; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .feat { grid-column: auto !important; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } }

/* marquee */
.marquee { overflow: hidden; padding: 20px 0 50px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .phone { width: 220px; flex: none; transition: transform .4s var(--ease); }
.marquee .phone:nth-child(odd) { transform: translateY(24px); }
.marquee .phone:hover { transform: translateY(-8px) scale(1.03); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .marquee .phone { width: 160px; } .marquee-track { gap: 16px; } }

/* desktop windows */
.desk { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.win { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 40px 80px -40px rgba(0,0,0,.95); }
.win-bar { display: flex; gap: 7px; padding: 10px 12px; background: #141317; border-bottom: 1px solid var(--line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win img { display: block; width: 100%; }
@media (max-width: 760px) { .desk { grid-template-columns: 1fr; } }

/* platforms */
.plat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.plat { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 10px; border-radius: 18px; color: #fff;
  background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .2s, background .2s; }
.plat span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--surface-2); }
.plat svg { width: 28px !important; height: 28px !important; }
.plat:hover { color: #fff; transform: translateY(-5px); border-color: rgba(255,138,76,.5); background: rgba(255,138,76,.08); }
.plat.is-you { border-color: rgba(255,138,76,.6); background: rgba(255,138,76,.1); }
@media (max-width: 900px) { .plat-grid { grid-template-columns: repeat(3, 1fr); } }

.faq .acc { max-width: 860px; }
/* inside the marquee the track is max-content wide, so percentage padding would
   resolve against it — give the frame fixed measurements instead */
.marquee .phone { width: 220px; height: 489px; aspect-ratio: auto; padding: 7px; border-radius: 32px; }
.marquee .phone::after { top: 12px; height: 11px; }
.marquee .phone .screen { border-radius: 26px; }
@media (max-width: 600px) { .marquee .phone { width: 160px; height: 356px; padding: 5px; border-radius: 24px; } .marquee .phone .screen { border-radius: 19px; } }
