/* Throwing Kindness — public marketing website
   Integrated from the approved prototype checkpoint 0cfe5a8f4421a5da5739c0776edd6086646dd369
   (docs/prototypes/magic-studio-heart-web).

   Layer 1  approved page styles (was the prototype inline <style> block)
   Layer 2  approved site-context layer (was site-context.css)
   Layer 3  production additions (skip link, focus, footer, no-JS fallback)
   Cascade order is identical to the approved page. */

    :root {
      color-scheme: dark;
      --ink: #f8f4ff;
      --muted: #b9b1cb;
      --line: rgba(255,255,255,.12);
      --panel: rgba(18,12,34,.72);
      --pink: #ff6eb4;
      --violet: #9e77ff;
      --cyan: #71e7ff;
      --gold: #ffd98e;
      --ease: cubic-bezier(.2,.82,.2,1);
    }

    * { box-sizing: border-box; }
    html { background:#080512; scroll-behavior:smooth; overflow-x:clip; }
    body {
      margin: 0;
      min-width: 320px;
      color: var(--ink);
      background:
        radial-gradient(circle at 78% 10%, rgba(91,42,145,.20), transparent 34rem),
        radial-gradient(circle at 18% 38%, rgba(26,109,141,.10), transparent 30rem),
        linear-gradient(180deg, #080512 0%, #0d0718 54%, #07050e 100%);
      font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
      overflow-x: clip;
    }

    button, input { font: inherit; }
    button { color: inherit; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 30;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      padding: 0 clamp(20px, 5vw, 76px);
      background: rgba(8,5,18,.68);
      border-bottom: 1px solid rgba(255,255,255,.07);
      backdrop-filter: blur(18px) saturate(130%);
    }

    .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: white; }
    .brand-heart {
      width: 34px; height: 31px; position: relative; transform: rotate(-45deg);
      border-radius: 6px 0 8px 0;
      background: linear-gradient(135deg, #ff94cb, #f044a2 65%, #bf2e91);
      box-shadow: 0 0 20px rgba(255,86,181,.35);
    }
    .brand-heart::before,.brand-heart::after { content:""; position:absolute; width:34px; height:31px; border-radius:50%; background:inherit; }
    .brand-heart::before { top:-16px; left:0; }
    .brand-heart::after { left:16px; top:0; }
    .brand-copy { line-height: .92; font-weight: 820; letter-spacing: -.035em; font-size: 15px; }
    .brand-copy span { display:block; color:#ff91ce; }
    .nav-note { font-size: 12px; color: #cfc6df; letter-spacing: .08em; text-transform: uppercase; }

    main { position: relative; }
    .hero {
      position: relative;
      min-height: calc(100svh - 72px);
      display: grid;
      grid-template-columns: minmax(280px,.86fr) minmax(440px,1.14fr);
      align-items: center;
      gap: clamp(22px, 4vw, 80px);
      padding: clamp(54px, 8vh, 96px) clamp(22px, 6vw, 92px) clamp(72px, 11vh, 128px);
      isolation: isolate;
    }

    .world-art {
      position: absolute;
      z-index: -2;
      inset: 0 0 auto 45%;
      width: min(66vw, 980px);
      height: 100%;
      background: url("/assets/hero/purple-character-concept.webp") 52% 45% / cover no-repeat;
      opacity: .055;
      filter: saturate(.72) contrast(1.08);
      mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 72%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, transparent 100%);
      mask-composite: intersect;
      transition: opacity 1.05s var(--ease), transform 1.6s var(--ease), filter 1.05s var(--ease);
      transform: scale(1.045);
    }
    .world-art.off { opacity:0 !important; transform:scale(1.06); }
    .world-art::before {
      content:""; position:absolute; inset:0; opacity:0; pointer-events:none;
      background:radial-gradient(circle at 34% 56%,rgba(129,245,255,.9) 0 2.5%,rgba(39,172,255,.48) 5%,rgba(57,101,255,.14) 11%,transparent 19%);
      mix-blend-mode:screen; transition:opacity .7s var(--ease); filter:blur(1px);
    }
    .world-art::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(7,4,15,.54),rgba(7,4,15,.18) 38%,rgba(7,4,15,.34)); transition:background .9s var(--ease); }
    .world-art.state-gather { opacity:.10; transform:scale(1.035); }
    .world-art.state-blue { opacity:.12; transform:scale(1.03); }
    .world-art.state-blue::before { opacity:.82; }
    .world-art.state-reveal { opacity:.15; filter:saturate(.86) contrast(1.08); transform:scale(1.022); }
    .world-art.state-reveal::before { opacity:.65; }
    .world-art.state-reveal::after { background:linear-gradient(90deg,rgba(7,4,15,.44),rgba(7,4,15,.08) 38%,rgba(7,4,15,.26)); }
    .world-art.state-settled { opacity:.075; transform:scale(1.032); }
    .world-art.state-settled::before { opacity:.18; }
    .world-art.state-echo { opacity:.17; filter:saturate(1) contrast(1.1); transform:scale(1.014); }
    .world-art.state-echo::before { opacity:1; }
    .world-art.state-echo::after { background:linear-gradient(90deg,rgba(7,4,15,.4),rgba(7,4,15,.04) 38%,rgba(7,4,15,.22)); }

    .hero-copy { position: relative; z-index: 3; max-width: 610px; }
    .eyebrow { display:flex; align-items:center; gap:12px; color:#b8dded; font-size:11px; font-weight:760; letter-spacing:.22em; text-transform:uppercase; }
    .eyebrow::before { content:""; width:38px; height:1px; background:linear-gradient(90deg,var(--cyan),transparent); }
    h1 { margin:24px 0 22px; max-width:720px; font-size:clamp(52px,7vw,104px); line-height:.88; letter-spacing:-.065em; font-weight:780; }
    h1 em { display:block; font-style:normal; color:transparent; background:linear-gradient(92deg,#8eeeff 2%,#a995ff 48%,#ff78bd 92%); background-clip:text; -webkit-background-clip:text; }
    .lead { max-width:530px; margin:0; color:#c8c1d5; font-size:clamp(17px,1.55vw,22px); line-height:1.55; }
    .micro-proof { display:flex; flex-wrap:wrap; gap:12px 22px; margin-top:34px; color:#9f96af; font-size:12px; }
    .micro-proof span::before { content:""; display:inline-block; width:5px; height:5px; margin:0 9px 2px 0; border-radius:50%; background:var(--cyan); box-shadow:0 0 10px var(--cyan); }

    .studio-wrap { position:relative; z-index:4; min-width:0; }
    .studio-card {
      position: relative;
      min-height:min(68vh,680px);
      border: 1px solid rgba(194,173,255,.15);
      border-radius: clamp(28px,4vw,54px);
      overflow: visible;
      background:
        radial-gradient(circle at 50% 43%, rgba(64,35,118,.42), transparent 42%),
        linear-gradient(150deg, rgba(29,17,52,.82), rgba(10,7,21,.88));
      box-shadow: 0 36px 120px rgba(2,0,10,.62), inset 0 1px rgba(255,255,255,.07);
      backdrop-filter: blur(9px);
      transition:box-shadow .45s var(--ease),border-color .45s var(--ease);
    }
    .studio-card.breakout-active { border-color:rgba(116,224,255,.32); box-shadow:0 42px 140px rgba(2,0,10,.7),0 -20px 72px rgba(76,177,255,.11),inset 0 1px rgba(255,255,255,.09); }
    .studio-card::before { content:""; position:absolute; inset:0; border-radius:inherit; background-image:radial-gradient(circle,rgba(255,255,255,.35) 0 1px,transparent 1.5px); background-size:67px 67px; opacity:.10; mask-image:linear-gradient(#000,transparent 78%); pointer-events:none; }
    .card-art {
      position:absolute; z-index:1; inset:0; overflow:hidden; border-radius:inherit; pointer-events:none;
      background:url("/assets/hero/purple-character-concept.webp") center 30% / 115% auto no-repeat;
      opacity:0; filter:saturate(.78) contrast(1.08);
      transition:opacity .85s var(--ease),filter .85s var(--ease);
      mask-image:radial-gradient(ellipse at 45% 55%,#000 0 35%,rgba(0,0,0,.72) 54%,transparent 80%);
    }
    .card-art::before {
      content:""; position:absolute; inset:0; opacity:0; mix-blend-mode:screen;
      background:radial-gradient(circle at 33% 72%,rgba(183,254,255,.96) 0 2%,rgba(41,195,255,.64) 4.5%,rgba(58,104,255,.18) 10%,transparent 18%);
      transition:opacity .62s var(--ease);
    }
    .card-art.state-gather { opacity:.025; }
    .card-art.state-blue { opacity:.04; }
    .card-art.state-blue::before { opacity:.92; }
    .card-art.state-reveal { opacity:.07; }
    .card-art.state-reveal::before { opacity:.72; }
    .card-art.state-settled { opacity:.014; }
    .card-art.state-settled::before { opacity:.2; }
    .card-art.state-echo { opacity:.105; filter:saturate(1) contrast(1.12); }
    .card-art.state-echo::before { opacity:1; }
    .blue-heart-glow {
      position:absolute; z-index:2; left:28%; top:64%; width:clamp(90px,21%,150px); aspect-ratio:1;
      transform:translate(-50%,-50%) scale(.84); border-radius:50%; opacity:0; pointer-events:none;
      background:radial-gradient(circle,rgba(205,255,255,.76) 0 5%,rgba(48,213,255,.42) 15%,rgba(39,117,255,.16) 38%,transparent 68%);
      mix-blend-mode:screen; transition:opacity .65s var(--ease),transform .85s var(--ease);
    }
    .blue-heart-glow.state-blue { opacity:.34; }
    .blue-heart-glow.state-reveal { opacity:.42; transform:translate(-50%,-50%) scale(1); }
    .blue-heart-glow.state-settled { opacity:.08; }
    .blue-heart-glow.state-echo { opacity:.72; transform:translate(-50%,-50%) scale(1.08); }
    .canvas-shell { --breakout-space:140px; position:absolute; z-index:4; left:0; right:0; top:calc(-1 * var(--breakout-space)); bottom:0; display:grid; place-items:center; overflow:visible; }
    #heart-canvas { width:100%; height:100%; display:block; pointer-events:none; }
    .heart-touch-target {
      position:absolute; z-index:7; left:0; top:0; width:240px; height:220px;
      clip-path:polygon(50% 100%,8% 57%,4% 36%,8% 20%,19% 7%,34% 3%,50% 17%,66% 3%,81% 7%,92% 20%,96% 36%,92% 57%);
      touch-action:none; cursor:grab; -webkit-tap-highlight-color:transparent;
    }
    .heart-touch-target.is-pressed { cursor:grabbing; }
    .studio-face { position:absolute; left:0; top:0; width:0; height:0; z-index:5; opacity:0; pointer-events:none; transform-origin:0 0; transition:opacity .24s ease; }
    .studio-face.show { opacity:1; }
    .studio-face svg { position:absolute; left:-60px; top:-60px; width:120px; height:120px; overflow:visible; filter:drop-shadow(0 0 9px rgba(255,137,206,.18)); }
    .studio-face .eye { fill:#32133f; }
    .studio-face .shine { fill:#fff; }
    .studio-face .blush { fill:#ff7cae; opacity:0; transform:scale(.72); transform-box:fill-box; transform-origin:center; transition:opacity .26s ease,transform .34s var(--ease); }
    .studio-face .nose,.studio-face .smile { opacity:0; transition:opacity .26s ease; }
    .studio-face .nose { fill:none; stroke:#d16496; stroke-width:2.2; stroke-linecap:round; }
    .studio-face .smile { fill:none; stroke:#32133f; stroke-width:3.4; stroke-linecap:round; }
    .studio-face .eyes { opacity:0; transform:scaleY(.05); transform-box:fill-box; transform-origin:center; transition:opacity .16s ease,transform .3s var(--ease); }
    .studio-face.wake .eyes { opacity:1; transform:scaleY(1); }
    .studio-face.alive .eyes { animation:blink 4.6s 1s ease-in-out infinite; }
    .studio-face.cheeks-ready .blush { opacity:.58; transform:scale(1); }
    .studio-face.smile-ready .nose,.studio-face.smile-ready .smile { opacity:1; }
    @keyframes blink { 0%,45%,49%,100%{transform:scaleY(1)} 47%{transform:scaleY(.08)} }
    .canvas-label { position:absolute; z-index:9; left:28px; top:25px; display:flex; align-items:center; gap:10px; color:#d8d0e7; font-size:11px; font-weight:760; letter-spacing:.13em; text-transform:uppercase; pointer-events:none; }
    .live-dot { width:7px; height:7px; border-radius:50%; background:#77f5ca; box-shadow:0 0 12px #77f5ca; animation:live 2s ease-in-out infinite; }
    @keyframes live { 50% { opacity:.38; transform:scale(.75); } }
    .heart-hint { position:absolute; z-index:9; left:50%; bottom:28px; transform:translateX(-50%); color:rgba(239,233,247,.68); font-size:12px; letter-spacing:.02em; pointer-events:none; transition:opacity .3s; white-space:nowrap; }

    .dev-tray {
      position: fixed;
      z-index: 40;
      right: 18px;
      bottom: 18px;
      width: min(370px, calc(100vw - 30px));
      padding: 12px;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 18px;
      background: rgba(12,8,24,.88);
      box-shadow: 0 16px 60px rgba(0,0,0,.5);
      backdrop-filter: blur(20px);
      font-size: 11px;
    }
    body.controls-hidden .dev-tray,
    body.controls-hidden .nav-note,
    body.controls-hidden .micro-proof,
    body.controls-hidden .canvas-label,
    body.controls-hidden .page-tail { display:none; }
    .tray-top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:9px; color:#aaa0bb; text-transform:uppercase; letter-spacing:.12em; font-weight:750; }
    #perf { color:#87e9ff; font-variant-numeric:tabular-nums; letter-spacing:0; text-transform:none; }
    .tray-row { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
    .tray-row + .tray-row { margin-top:7px; }
    .tray-btn { min-height:32px; padding:6px 10px; border:1px solid rgba(255,255,255,.14); border-radius:10px; background:rgba(255,255,255,.055); cursor:pointer; transition:.18s var(--ease); font-weight:690; }
    .tray-btn:hover,.tray-btn:focus-visible { border-color:rgba(126,226,255,.7); transform:translateY(-1px); outline:none; }
    .tray-btn.active { background:linear-gradient(135deg,rgba(81,209,255,.22),rgba(213,87,195,.24)); border-color:#8de9ff; box-shadow:0 0 16px rgba(75,213,255,.12); }
    .range-wrap { display:flex; align-items:center; gap:7px; flex:1; min-width:120px; color:#aaa0bb; }
    input[type="range"] { width:100%; accent-color:#bc7cff; }

    .prototype-spacer { height:20vh; min-height:130px; }
    .second-moment { min-height:92vh; padding:90px clamp(22px,7vw,110px) 140px; display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,8vw,120px); align-items:center; border-top:1px solid rgba(255,255,255,.06); background:radial-gradient(circle at 25% 50%,rgba(65,41,112,.17),transparent 34rem); }
    .second-copy { max-width:530px; }
    .second-copy h2 { margin:18px 0; font-size:clamp(40px,5vw,72px); line-height:.98; letter-spacing:-.05em; }
    .second-copy p { color:#aaa2b8; line-height:1.65; font-size:17px; }
    .moment-card { position:relative; aspect-ratio:1; max-width:620px; width:100%; justify-self:center; border:1px solid rgba(255,255,255,.1); border-radius:50%; background:radial-gradient(circle,rgba(46,26,87,.62),rgba(8,6,17,.08) 68%); box-shadow:inset 0 0 90px rgba(150,100,255,.07); overflow:hidden; }
    #spinner-canvas { width:100%; height:100%; display:block; }

    .page-tail { padding:90px 24px 130px; text-align:center; border-top:1px solid rgba(255,255,255,.06); }
    .page-tail p { margin:0 auto; max-width:760px; color:#91889f; font-size:13px; letter-spacing:.05em; }

    @media (max-width: 900px) {
      .site-header { height:64px; }
      .nav-note { display:none; }
      .hero { min-height:auto; grid-template-columns:1fr; padding-top:64px; }
      .hero-copy { max-width:690px; }
      h1 { font-size:clamp(52px,13.5vw,84px); }
      .studio-card { min-height:min(68svh,620px); }
      .canvas-shell { --breakout-space:110px; }
      .studio-wrap { margin-top:32px; }
      .world-art { inset:35% -22% auto 10%; width:120%; height:65%; }
      .world-art.state-reveal { opacity:.13; }
      .world-art.state-echo { opacity:.155; }
      .second-moment { grid-template-columns:1fr; }
      .second-copy { text-align:center; justify-self:center; }
    }
    @media (max-width: 540px) {
      .site-header { padding:0 18px; }
      .hero { padding:52px 16px 110px; gap:40px; }
      .lead { font-size:16px; }
      .micro-proof { display:none; }
      .studio-card { min-height:460px; border-radius:28px; }
      .canvas-shell { --breakout-space:82px; }
      .world-art.state-reveal { opacity:.10; }
      .world-art.state-echo { opacity:.125; }
      .canvas-label { left:18px; top:18px; font-size:9px; }
      .heart-hint { bottom:22px; }
      .dev-tray { left:10px; right:10px; bottom:10px; width:auto; padding:10px; }
      .tray-top { margin-bottom:7px; }
      .tray-btn { min-height:30px; padding:5px 8px; }
      .prototype-spacer { height:12vh; }
      .second-moment { padding:74px 18px 130px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior:auto; }
      .live-dot { animation:none; }
      .studio-face .eyes { animation:none; }
      .world-art,.tray-btn { transition:none; }
    }

/* ==== Layer 2: approved site-context layer ============================= */
/* Final local homepage-context layer. The approved rod renderer remains in prototype.js. */
:root {
  --site-shell: min(1240px, calc(100vw - 48px));
  --site-pink: #ff65b6;
  --site-cream: #fff5e5;
  --site-cyan: #7ceaff;
}

body {
  background:
    radial-gradient(circle at 12% 9%, rgba(235, 55, 155, .13), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(73, 119, 255, .12), transparent 34rem),
    linear-gradient(180deg, #080512 0%, #100820 25%, #090713 56%, #0d0817 100%);
}

.tk-logo-source { position:absolute; width:0; height:0; overflow:hidden; }

.site-header {
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(8, 5, 18, .76);
}
.header-inner { width:100%; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.brand { gap:0; flex:none; }
.brand-official-logo { display:block; width:clamp(136px,12vw,164px); height:auto; overflow:visible; filter:drop-shadow(0 0 13px rgba(255,86,181,.18)); }
.site-nav { display:flex; align-items:center; gap:clamp(16px,2.2vw,32px); }
.site-nav a { color:#c9c1d6; font-size:12px; font-weight:720; letter-spacing:.04em; text-decoration:none; transition:color .2s ease; }
.site-nav a:hover,.site-nav a:focus-visible { color:white; outline:none; }
.nav-note { padding:7px 10px; border:1px solid rgba(255,255,255,.1); border-radius:999px; font-size:9px; }

.brand-opening {
  position:relative;
  min-height:calc(100svh - 76px);
  overflow:hidden;
  isolation:isolate;
  display:grid;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.brand-opening::before {
  content:""; position:absolute; z-index:-3; inset:0;
  background:
    radial-gradient(circle at 78% 48%,rgba(255,63,169,.22),transparent 29rem),
    radial-gradient(circle at 66% 45%,rgba(71,189,255,.12),transparent 22rem),
    linear-gradient(90deg,rgba(8,5,18,.96) 0%,rgba(8,5,18,.8) 42%,rgba(8,5,18,.18) 72%,rgba(8,5,18,.68) 100%);
}
.brand-opening::after {
  content:""; position:absolute; z-index:1; inset:auto 0 0; height:26%; pointer-events:none;
  background:linear-gradient(transparent,#0c0718);
}
.opening-art { position:absolute; z-index:-4; inset:0 0 0 43%; margin:0; }
.opening-art img { width:100%; height:100%; object-fit:cover; object-position:50% 42%; filter:saturate(.88) contrast(1.05); }
.opening-art::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#080512 0%,rgba(8,5,18,.48) 19%,transparent 48%,rgba(8,5,18,.18)),linear-gradient(180deg,rgba(8,5,18,.22),transparent 52%,#0c0718 100%); }
.opening-blue-echo { position:absolute; z-index:-1; left:62%; top:58%; width:min(20vw,260px); aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(213,255,255,.28),rgba(42,205,255,.13) 24%,rgba(50,93,255,.06) 47%,transparent 69%); filter:blur(2px); }
.opening-inner { position:relative; z-index:2; width:var(--site-shell); margin:0 auto; padding:clamp(74px,10vh,128px) 0 clamp(92px,12vh,144px); }
.opening-copy { width:min(590px,52vw); }
.official-logo-wrap {
  position:relative; width:clamp(300px,31vw,440px); margin-bottom:clamp(28px,4vh,46px);
}
.official-logo-wrap::after { display:none; }
.official-logo { position:relative; z-index:1; display:block; width:100%; height:auto; overflow:visible; }
.opening-kicker,.section-kicker { margin:0; color:#bdefff; font-size:11px; font-weight:780; letter-spacing:.2em; text-transform:uppercase; }
.opening-title { margin:20px 0 22px; max-width:650px; font-size:clamp(58px,7vw,108px); line-height:.88; letter-spacing:-.068em; font-weight:790; }
.opening-title span { display:block; color:transparent; background:linear-gradient(92deg,#fff4e8 4%,#ff91cf 54%,#8feeff); background-clip:text; -webkit-background-clip:text; }
.opening-lede { max-width:560px; margin:0; color:#d2cadb; font-size:clamp(17px,1.45vw,21px); line-height:1.58; }

.store-ctas { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.store-button {
  position:relative; min-width:194px; min-height:64px; display:grid; grid-template-columns:34px 1fr; align-items:center; gap:10px;
  padding:10px 16px; border:1px solid rgba(255,255,255,.18); border-radius:16px; color:white; text-align:left;
  background:linear-gradient(155deg,rgba(34,27,48,.94),rgba(12,9,20,.94)); box-shadow:0 12px 34px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.08);
}
.store-button:disabled { opacity:1; cursor:default; }
.store-symbol { width:30px; height:30px; display:grid; place-items:center; color:#fff; font-size:18px; font-weight:800; }
.store-symbol.play { clip-path:polygon(18% 8%,92% 50%,18% 92%); background:linear-gradient(145deg,#71e7ff,#ab77ff 54%,#ff6eb4); color:transparent; width:27px; height:29px; }
.store-copy small,.store-copy strong { display:block; }
.store-copy small { color:#bcb4c8; font-size:9px; line-height:1.2; letter-spacing:.05em; text-transform:uppercase; }
.store-copy strong { margin-top:2px; font-size:17px; line-height:1; }
.store-status { position:absolute; right:10px; top:8px; color:#ffd4e9; font-size:8px; font-weight:780; letter-spacing:.08em; text-transform:uppercase; }
.opening-note { margin:14px 0 0; color:#8f869f; font-size:11px; }
.download-qr-link {
  display:inline-flex; align-items:center; min-height:40px; margin-top:14px; padding:8px 13px;
  border:1px solid rgba(255,255,255,.14); border-radius:999px; color:#cfc7dd;
  background:rgba(255,255,255,.045); font-size:11px; font-weight:760; letter-spacing:.06em;
  text-decoration:none; transition:border-color .18s var(--ease),color .18s var(--ease),background .18s var(--ease);
}
.download-qr-link:hover,.download-qr-link:focus-visible {
  color:#fff; border-color:rgba(142,238,255,.5); background:rgba(142,238,255,.08);
}
.scroll-prompt { position:absolute; z-index:3; left:50%; bottom:22px; transform:translateX(-50%); display:grid; justify-items:center; gap:8px; color:#9489a3; font-size:9px; font-weight:760; letter-spacing:.16em; text-transform:uppercase; }
.scroll-prompt::before { content:""; width:1px; height:34px; background:linear-gradient(transparent,#7ceaff); }

.journey-section { position:relative; padding:clamp(100px,14vw,190px) 24px; }
.journey-shell { width:var(--site-shell); margin:0 auto; }
.journey-heading { max-width:820px; }
.journey-heading h2,.trust-heading h2,.download-panel h2 { margin:18px 0 20px; font-size:clamp(42px,5.7vw,82px); line-height:.96; letter-spacing:-.055em; }
.journey-heading h2 span,.trust-heading h2 span,.download-panel h2 span { color:transparent; background:linear-gradient(90deg,#8cecff,#ad92ff,#ff7cbd); background-clip:text; -webkit-background-clip:text; }
.journey-heading > p:last-child { max-width:670px; color:#b9b1c7; font-size:18px; line-height:1.7; }
.how-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:64px; }
.how-card { position:relative; min-height:250px; padding:32px; border:1px solid rgba(255,255,255,.09); border-radius:30px; background:linear-gradient(145deg,rgba(27,18,45,.68),rgba(11,8,20,.72)); overflow:hidden; }
.how-card::after { content:""; position:absolute; right:-60px; bottom:-76px; width:180px; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(115,226,255,.1),transparent 68%); }
.how-number { display:grid; place-items:center; width:42px; height:42px; margin-bottom:42px; border-radius:50%; color:#d8f8ff; background:rgba(107,226,255,.09); border:1px solid rgba(119,232,255,.18); font-size:12px; font-weight:800; }
.how-card h3 { margin:0 0 12px; font-size:23px; letter-spacing:-.025em; }
.how-card p { margin:0; color:#aaa2b8; line-height:1.6; }

.magic-transition { height:clamp(90px,13vw,190px); background:linear-gradient(180deg,transparent,rgba(39,20,66,.12),transparent); }
.magic-studio-section {
  position:relative; min-height:940px; display:grid; grid-template-columns:minmax(280px,.86fr) minmax(440px,1.14fr); align-items:center;
  gap:clamp(22px,4vw,80px); padding:clamp(100px,12vh,150px) max(24px,calc((100vw - 1260px) / 2)) clamp(130px,15vh,190px); isolation:isolate;
  background:radial-gradient(circle at 66% 47%,rgba(55,31,102,.2),transparent 34rem),linear-gradient(180deg,rgba(7,5,14,.12),rgba(5,3,11,.7));
  border-top:1px solid rgba(255,255,255,.055); border-bottom:1px solid rgba(255,255,255,.055);
}
.magic-studio-section::before { content:""; position:absolute; inset:0; z-index:-4; background-image:radial-gradient(circle,rgba(255,255,255,.17) 0 1px,transparent 1.5px); background-size:92px 92px; opacity:.05; mask-image:linear-gradient(transparent,#000 28%,#000 72%,transparent); }
.magic-studio-copy { position:relative; z-index:3; max-width:610px; }
.magic-studio-copy h1,
.magic-studio-copy h2 { margin:24px 0 22px; max-width:720px; font-size:clamp(52px,7vw,104px); line-height:.88; letter-spacing:-.065em; font-weight:780; }
.magic-studio-copy h1 em,
.magic-studio-copy h2 em { display:block; font-style:normal; color:transparent; background:linear-gradient(92deg,#8eeeff 2%,#a995ff 48%,#ff78bd 92%); background-clip:text; -webkit-background-clip:text; }
.magic-studio-copy .lead { max-width:530px; }
.studio-discovery-note { margin-top:28px; color:#8e859d; font-size:11px; letter-spacing:.12em; text-transform:uppercase; }

/* The hero character is not duplicated here: formation classes now drive only an abstract cyan callback. */
.magic-studio-section .world-art {
  inset:8% 3% auto auto; width:58%; height:78%; z-index:-2; opacity:.02; transform:scale(1);
  background:radial-gradient(ellipse 76% 34% at 45% 57%,rgba(72,214,255,.12),rgba(79,87,255,.035) 46%,transparent 76%);
  mask-image:radial-gradient(ellipse 76% 40% at 45% 57%,#000,transparent 78%); filter:none;
}
.magic-studio-section .world-art::before { display:none; }
.magic-studio-section .world-art::after { display:none; }
.magic-studio-section .world-art.state-gather { opacity:.08; }
.magic-studio-section .world-art.state-blue { opacity:.14; }
.magic-studio-section .world-art.state-reveal { opacity:.11; filter:none; }
.magic-studio-section .world-art.state-settled { opacity:.035; }
.magic-studio-section .world-art.state-echo { opacity:.18; filter:none; }
.studio-card .card-art {
  background:radial-gradient(ellipse 82% 28% at 50% 61%,rgba(68,215,255,.065),rgba(93,92,255,.025) 48%,transparent 78%);
  mask-image:radial-gradient(ellipse 84% 42% at 50% 58%,#000,transparent 80%); filter:none;
}
.studio-card .card-art::before { display:none; }
.studio-card .card-art.state-gather { opacity:.15; }
.studio-card .card-art.state-blue { opacity:.3; }
.studio-card .card-art.state-reveal { opacity:.38; }
.studio-card .card-art.state-settled { opacity:.08; }
.studio-card .card-art.state-echo { opacity:.5; filter:none; }
.studio-card .blue-heart-glow { display:none; }
.studio-card .blue-heart-glow.state-blue { opacity:.16; }
.studio-card .blue-heart-glow.state-reveal { opacity:.22; }
.studio-card .blue-heart-glow.state-settled { opacity:.035; }
.studio-card .blue-heart-glow.state-echo { opacity:.34; transform:translate(-50%,-50%) scale(1.04); }

.second-moment { min-height:88vh; }
.second-copy .eyebrow { color:#d5c6f1; }

.trust-section { position:relative; padding:clamp(110px,14vw,180px) 24px; background:linear-gradient(180deg,rgba(11,8,20,.62),rgba(18,10,27,.84)); }
.trust-shell { width:var(--site-shell); margin:0 auto; display:grid; grid-template-columns:minmax(280px,.8fr) minmax(480px,1.2fr); gap:clamp(56px,9vw,130px); align-items:start; }
.trust-heading { position:sticky; top:130px; }
.trust-heading p:last-child { max-width:540px; color:#afa6ba; font-size:17px; line-height:1.68; }
.trust-grid { display:grid; gap:14px; }
.trust-card { display:grid; grid-template-columns:48px 1fr; gap:18px; padding:26px; border:1px solid rgba(255,255,255,.08); border-radius:24px; background:rgba(255,255,255,.028); }
.trust-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:16px; color:#b9f4ff; background:linear-gradient(145deg,rgba(102,225,255,.12),rgba(182,104,255,.08)); border:1px solid rgba(145,224,255,.15); font-size:20px; }
.trust-card h3 { margin:2px 0 7px; font-size:20px; }
.trust-card p { margin:0; color:#9f96ac; line-height:1.58; }

.download-section { padding:clamp(100px,13vw,170px) 24px; }
.download-panel { position:relative; width:var(--site-shell); margin:0 auto; padding:clamp(52px,7vw,92px); border:1px solid rgba(255,255,255,.1); border-radius:clamp(34px,5vw,68px); overflow:hidden; background:radial-gradient(circle at 90% 20%,rgba(255,78,180,.19),transparent 30rem),radial-gradient(circle at 10% 80%,rgba(78,204,255,.12),transparent 28rem),linear-gradient(145deg,rgba(34,19,53,.9),rgba(11,8,20,.94)); box-shadow:0 40px 110px rgba(0,0,0,.28); }
.download-panel::before { content:"♡"; position:absolute; right:7%; top:50%; transform:translateY(-52%); color:rgba(255,255,255,.035); font:700 clamp(190px,28vw,390px)/1 Georgia,serif; }
.download-panel h2 { position:relative; max-width:760px; }
.download-panel > p { position:relative; max-width:590px; color:#b9b0c3; font-size:17px; line-height:1.65; }
.download-panel .store-ctas { position:relative; }

.page-tail { padding:30px max(24px,calc((100vw - 1240px) / 2)) 44px; display:flex; align-items:center; justify-content:space-between; gap:24px; text-align:left; border-top:1px solid rgba(255,255,255,.06); }
.page-tail .footer-brand { display:flex; align-items:center; gap:9px; color:white; font-size:13px; font-weight:780; }
.page-tail .footer-brand img { width:28px; height:28px; object-fit:contain; }
.page-tail p { margin:0; color:#82798e; font-size:11px; letter-spacing:.02em; }
body.controls-hidden .page-tail { display:flex; }

@media (max-width: 1000px) {
  :root { --site-shell:min(820px,calc(100vw - 48px)); }
  .site-nav a:not(.nav-download) { display:none; }
  .opening-art { inset:0 0 0 32%; }
  .opening-copy { width:min(560px,67vw); }
  .brand-opening::before { background:linear-gradient(90deg,rgba(8,5,18,.98) 0%,rgba(8,5,18,.85) 50%,rgba(8,5,18,.25) 82%); }
  .how-grid { gap:12px; }
  .how-card { padding:26px; }
  .magic-studio-section { min-height:auto; grid-template-columns:1fr; padding:120px 24px 150px; }
  .magic-studio-copy { width:var(--site-shell); max-width:none; margin:0 auto; }
  .magic-studio-copy .lead { max-width:650px; }
  .studio-wrap { width:var(--site-shell); margin:56px auto 0; }
  .trust-shell { grid-template-columns:1fr; }
  .trust-heading { position:static; max-width:700px; }
}

@media (max-width: 700px) {
  :root { --site-shell:calc(100vw - 32px); }
  .site-header { height:64px; padding:0 16px; }
  .brand-official-logo { width:132px; }
  .site-nav { display:none; }
  .brand-opening { min-height:calc(100svh - 64px); align-items:end; }
  .opening-art { inset:0 0 38% 0; height:62%; }
  .opening-art img { height:calc(100% + 48px); object-position:50% 38%; transform:translateY(-44px) scale(1.02); }
  .opening-art::after { background:linear-gradient(180deg,rgba(8,5,18,.08),rgba(8,5,18,.06) 48%,#0b0616 89%,#0b0616); }
  .brand-opening::before { background:radial-gradient(circle at 62% 28%,rgba(255,67,174,.13),transparent 20rem); }
  .opening-blue-echo { left:23%; top:36%; width:180px; }
  .opening-inner { align-self:end; padding:0 0 26px; }
  .opening-copy { width:100%; }
  .official-logo-wrap { width:min(240px,68vw); margin-bottom:16px; }
  .opening-kicker { font-size:8px; }
  .opening-title { margin:12px 0; font-size:clamp(48px,15vw,58px); }
  .opening-lede { max-width:350px; font-size:14.5px; line-height:1.48; }
  .store-ctas { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:18px; }
  .store-button { min-width:0; min-height:54px; padding:8px 9px; grid-template-columns:24px 1fr; gap:6px; border-radius:14px; }
  .store-symbol { width:25px; font-size:16px; }
  .store-symbol.play { width:23px; height:25px; }
  .store-copy small { font-size:7px; }
  .store-copy strong { font-size:14px; }
  .store-status { right:7px; top:6px; font-size:6px; }
  .opening-note { display:none; }
  .scroll-prompt { display:none; }
  .journey-section { padding:100px 16px 116px; }
  .journey-heading h2,.trust-heading h2,.download-panel h2 { font-size:clamp(42px,13vw,60px); }
  .journey-heading > p:last-child { font-size:16px; }
  .how-grid { grid-template-columns:1fr; margin-top:44px; }
  .how-card { min-height:0; display:grid; grid-template-columns:42px 1fr; column-gap:18px; }
  .how-number { grid-row:1/3; margin:0; }
  .how-card h3 { margin-top:3px; }
  .how-card p { grid-column:2; }
  .magic-transition { height:70px; }
  .magic-studio-section { padding:100px 16px 130px; }
  .magic-studio-copy h1,
  .magic-studio-copy h2 { font-size:clamp(52px,15vw,68px); }
  .studio-wrap { width:100%; margin-top:46px; }
  .studio-discovery-note { font-size:9px; }
  .second-moment { padding-top:100px; }
  .trust-section { padding:100px 16px; }
  .trust-grid { gap:10px; }
  .trust-card { grid-template-columns:40px 1fr; padding:20px; gap:14px; }
  .trust-icon { width:40px; height:40px; border-radius:13px; }
  .download-section { padding:88px 16px; }
  .download-panel { padding:42px 22px; border-radius:32px; }
  .download-panel .store-ctas { grid-template-columns:1fr; max-width:330px; }
  .page-tail { padding:26px 16px 34px; flex-direction:column; align-items:flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-prompt::before { animation:none; }
}

/* ============================================================================
   Production layer.
   Additions required to ship the approved design as a real public website:
   skip link, keyboard focus, anchor offsets, crawlable footer navigation,
   real store-link markup, and a no-JavaScript fallback for the Magic Studio.
   No approved visual above is redesigned here.
   ========================================================================== */

/* --- Skip link ----------------------------------------------------------- */
.skip-link {
  position: absolute;
  z-index: 60;
  left: 12px;
  top: -80px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: #140d24;
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus-visible { top: 12px; outline: 2px solid var(--cyan); outline-offset: 3px; }

/* --- Keyboard focus ------------------------------------------------------ */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}
.heart-touch-target:focus-visible { outline-offset: 6px; }
main:focus { outline: none; }

/* --- Sticky-header anchor offset ---------------------------------------- */
:target { scroll-margin-top: 96px; }
#top { scroll-margin-top: 0; }
@media (max-width: 700px) { :target { scroll-margin-top: 80px; } }

/* --- Store buttons: link variant for when public listings go live -------- */
a.store-button {
  text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
a.store-button:hover,
a.store-button:focus-visible { border-color: rgba(255, 145, 207, .55); transform: translateY(-1px); }
a.store-button .store-status { display: none; }
.store-button.is-coming-soon { cursor: default; }

/* --- "Coming soon" tag legibility ---------------------------------------
 * The tag and the eyebrow line ("Download on the" / "Get it on") were sharing
 * one horizontal band, so on the App Store button the tag sat on top of the
 * store wording. The tag now has its own band at the top of the button and the
 * copy sits below it. Only the Coming Soon state is affected — the live link
 * variant has no tag and keeps the approved proportions exactly.
 */
.store-button.is-coming-soon { min-height: 70px; padding-top: 21px; }
.store-button.is-coming-soon .store-status { top: 7px; }

@media (max-width: 700px) {
  .store-button.is-coming-soon { min-height: 60px; padding-top: 17px; }
  .store-button.is-coming-soon .store-status { top: 5px; }
}

/* --- No-JavaScript fallback for the Magic Studio ------------------------- */
.studio-noscript {
  position: absolute;
  z-index: 10;
  inset: auto 8% 12%;
  margin: 0 auto;
  max-width: 460px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: rgba(14, 9, 26, .88);
  color: #cfc7dd;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

/* --- Footer -------------------------------------------------------------- */
.page-tail {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 26px 48px;
}
.page-tail .footer-brand { align-self: center; }
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 40px;
}
.footer-column { display: grid; gap: 2px; }
.footer-column h2 {
  margin: 0 0 6px;
  color: #8d84a0;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer-column a,
.footer-column span {
  display: block;
  padding: 7px 0;
  color: #b6adc6;
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.footer-column a:hover,
.footer-column a:focus-visible { color: #fff; }
.footer-column span { color: #7d7490; }
.footer-column span small {
  display: block;
  color: #6a6280;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-legal p { margin: 0; }

@media (max-width: 1000px) {
  .page-tail { grid-template-columns: 1fr; }
  .footer-columns { justify-content: flex-start; gap: 10px 36px; }
}

@media (max-width: 700px) {
  .page-tail { gap: 22px; }
  .footer-columns { gap: 6px 30px; }
  .footer-column a,
  .footer-column span { padding: 9px 0; font-size: 14px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .studio-noscript { inset: auto 16px 16px; font-size: 13px; padding: 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  a.store-button,
  .footer-column a { transition: none; }
}
