/*
  apps-v2 — shared layout for the three app landing pages (anima / onbeat / luum).
  Brief, ruled 2026-10-20: left column = 5 blocks top→bottom
    1 problem · 2 what the app offers · 3 life without the problem · 4 free + mission + support · 5 App Store
  right column = screenshot slider, one caption line per slide.
  Each page sets the theme tokens below on :root and adds its own ambient layer.
  Phone (≤860px): copy first, slider after — the copy is the argument, the
  screenshots are the proof, and the App Store button stays within the first screen-and-a-half.
*/
:root{
  --bg:#000; --ink:#fff; --ink-2:rgba(255,255,255,.72); --ink-3:rgba(255,255,255,.45);
  --accent:#fff; --accent-2:#fff; --hair:rgba(255,255,255,.14);
  --display:Georgia,serif; --body:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --label:var(--body);
  --cta-bg:var(--ink); --cta-ink:#000;
  --radius-shot:24px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--bg)}
body{background:var(--bg);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;min-height:100svh;overflow-x:hidden}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}

/* ── Nav ───────────────────────────────────────────── */
.nav{position:relative;z-index:10;display:flex;justify-content:space-between;align-items:center;
  padding:22px clamp(16px,4vw,48px)}
.nav .home{font-family:var(--label);font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:var(--ink-3);text-decoration:none}
.nav .home:hover{color:var(--ink)}
.nav .wordmark{font-family:var(--display);color:var(--ink);text-decoration:none}

/* ── Two-column fold ───────────────────────────────── */
.page{position:relative;z-index:5;display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  align-items:center;gap:clamp(32px,5vw,88px);
  max-width:1320px;margin:0 auto;
  min-height:calc(100svh - 140px);
  padding:clamp(8px,2vh,24px) clamp(16px,4vw,48px) clamp(32px,5vh,56px)}

.copy{display:flex;flex-direction:column;gap:clamp(18px,2.8vh,30px);max-width:600px}
.blk{position:relative}
.blk .k{display:block;font-family:var(--label);font-size:10.5px;letter-spacing:.28em;text-transform:uppercase;color:var(--accent);margin-bottom:8px}

.problem{font-family:var(--display);font-size:clamp(28px,min(3.3vw,5vh),48px);line-height:1.1;text-wrap:balance}
.offer{font-size:clamp(15px,1.25vw,18px);line-height:1.55;color:var(--ink-2);max-width:520px}
.offer b{color:var(--ink);font-weight:500}
.after{font-family:var(--display);font-size:clamp(20px,min(2vw,3vh),28px);line-height:1.2;color:var(--accent-2)}

.price{display:flex;flex-direction:column;gap:6px;padding-top:clamp(14px,2vh,22px);border-top:1px solid var(--hair);max-width:520px}
.price .free{font-family:var(--display);font-size:clamp(22px,2vw,28px);color:var(--ink)}
.price p{font-size:14px;line-height:1.55;color:var(--ink-2)}
.price a{color:var(--ink);text-decoration-color:var(--accent);text-underline-offset:3px}
.price a:hover{color:var(--accent)}

.get{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.store{display:inline-flex;align-items:center;gap:10px;padding:13px 24px;border-radius:999px;
  background:var(--cta-bg);color:var(--cta-ink);text-decoration:none;font-weight:600;font-size:15px;
  transition:transform .2s ease, box-shadow .2s ease}
.store:hover{transform:translateY(-1px)}
.store svg{width:18px;height:18px;flex:none}
.store small{display:block;font-size:10px;font-weight:500;opacity:.7;letter-spacing:.04em;line-height:1}
.store span{line-height:1.1}
.request{font-size:13px;color:var(--ink-3);text-decoration:none;border-bottom:1px solid var(--hair);padding-bottom:1px}
.request:hover{color:var(--ink);border-color:var(--accent)}

/* ── Slider ────────────────────────────────────────── */
.shots{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px;min-width:0}
/* Slides are App Store artwork that already draws its own device, so the slider adds no
   frame of its own (ruled 2026-10-20: no phone inside a phone) — just the artwork's soft
   corner and the drop shadow, at the artwork's natural 660×1434 ratio. */
.stage{position:relative;height:min(68svh,660px);aspect-ratio:660/1434;max-width:100%}
.track{position:relative;z-index:2;display:flex;width:100%;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;border-radius:var(--radius-shot);
  box-shadow:0 40px 90px rgba(0,0,0,.55)}
.track::-webkit-scrollbar{display:none}
.track img{flex:0 0 100%;width:100%;height:100%;object-fit:contain;scroll-snap-align:center;display:block;user-select:none;-webkit-user-drag:none}
.caption{min-height:2.6em;max-width:min(420px,92vw);text-align:center;font-size:15px;line-height:1.35;color:var(--ink);
  transition:opacity .25s ease}
.caption.fading{opacity:0}
.controls{display:flex;align-items:center;gap:14px}
.controls .arrow{width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--hair);color:var(--ink-2);display:grid;place-items:center}
.controls .arrow:hover{color:var(--ink);box-shadow:inset 0 0 0 1px var(--accent)}
.dots{display:flex;gap:8px}
.dots button{width:7px;height:7px;border-radius:50%;background:var(--ink-3);transition:background .2s, transform .2s}
.dots button[aria-current="true"]{background:var(--accent);transform:scale(1.35)}

/* ── Footer ────────────────────────────────────────── */
.footer{position:relative;z-index:5;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;
  padding:18px clamp(16px,4vw,48px) 26px;font-size:12px;color:var(--ink-3)}
.footer nav{display:flex;gap:18px}
.footer a{text-decoration:none}
.footer a:hover{color:var(--ink)}

/* ── Frame-only DRAFT marker (removed before ship) ── */
.draft{display:inline-block;margin-left:8px;vertical-align:middle;font-family:var(--body);font-size:9px;font-weight:600;letter-spacing:.18em;
  text-transform:uppercase;font-style:normal;padding:2px 7px;border-radius:999px;color:#ffb347;box-shadow:inset 0 0 0 1px rgba(255,179,71,.55)}

/* ── Phone ─────────────────────────────────────────── */
@media (max-width:860px){
  .page{grid-template-columns:1fr;min-height:0;gap:40px;padding-top:4px}
  /* Ambient layers behind the slider are wider than a phone; keep them from adding sideways scroll. */
  .page{overflow-x:clip}
  .copy{max-width:none}
  .stage{height:auto;width:min(78vw,320px)}
  .nav{padding:18px 16px}
}

/* ── Fit one screen (Kura 2026-10-30) ─────────────────
   The slideshow and its arrows never need a scroll to reach. slider.js measures everything around the phone into
   --fit-chrome; the phone gets what is left of the SMALL viewport (svh = Safari with its toolbars showing), within
   the old caps. `.shots .stage` outranks each page's own `.stage` sizing. 2.173 = the screen's 2868/1320 ratio. */
.shots .stage{width:auto;height:clamp(320px, calc(100svh - var(--fit-chrome,240px) - 150px), 580px)}
/* Short slides center their copy in the reserved box, so the gap does not all land on one side. */
.shots .slide-copy{justify-content:center}
@media (max-width:860px){
  .shots .stage{width:auto;height:clamp(300px, calc(100svh - var(--fit-chrome,240px) - 24px), calc(min(78vw,320px) * 2.173))}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .track{scroll-behavior:auto}
}
