/* Showcase pieces. Pairs with js/showcase.v1.js.
   - the brand kit under "See it as yours": colour swatches and an App Store listing (home)
   - where the 40% goes (home, pricing)
   - one member's first six months (platform)
   - the sticky call bar on phones (every main page) */

:root{ --brand-tint: #bad0ff; }

/* ---------- brand kit ---------- */
.app-mark{ background: linear-gradient(160deg, color-mix(in srgb, var(--brand-tint) 55%, #fff), var(--brand-tint)); box-shadow: 0 0 10px color-mix(in srgb, var(--brand-tint) 40%, transparent); transition: background .35s ease, box-shadow .35s ease; }
.swatch-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.swatch-row > span{ font-size: 11.5px; font-weight: 500; letter-spacing: 0.17em; text-transform: uppercase; color: var(--t4); margin-right: 4px; }
.swatch{
  width: 28px; height: 28px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--sw); border: 2px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform .2s ease, border-color .2s ease;
}
.swatch:hover{ transform: scale(1.08); }
.swatch[aria-checked="true"]{ border-color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sw) 35%, transparent), inset 0 1px 0 rgba(255,255,255,0.35); }
.swatch:focus-visible{ outline: 2px solid rgba(186,208,255,0.8); outline-offset: 3px; }

.store{
  margin-top: 6px; padding: 18px; border-radius: 22px;
  background: #f5f6f8; color: #111; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  box-shadow: 0 26px 60px -24px rgba(0,0,0,0.8);
}
.store-label{ display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7079; }
.store-top{ display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 14px; align-items: center; }
.store-icon{
  width: 72px; height: 72px; border-radius: 17px; display: grid; place-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand-tint) 45%, #fff), var(--brand-tint) 55%, color-mix(in srgb, var(--brand-tint) 60%, #0b0f16));
  color: #fff; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.12); transition: background .35s ease;
}
.store-name{ display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-sub{ display: block; margin-top: 2px; font-size: 13px; color: #5f646d; }
.store-get{ display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.store-get b{ display: inline-block; padding: 5px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--brand-tint) 62%, #10141c); transition: background .35s ease; }
.store-get span{ font-size: 10.5px; line-height: 1.25; color: #6b7079; }
.store-meta{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 16px 0 14px; padding-top: 12px; border-top: 1px solid #e3e5e9; text-align: center; }
.store-meta div + div{ border-left: 1px solid #e3e5e9; }
.store-meta small{ display: block; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: #6b7079; }
.store-meta strong{ display: block; margin-top: 3px; font-size: 13.5px; font-weight: 600; color: #3a3f47; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; }
.store-shots{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.store-shots img{ width: 100%; height: auto; aspect-ratio: 9 / 19; object-fit: cover; border-radius: 10px; background: #dfe2e7; display: block; }

/* ---------- where the 40% goes ---------- */
.forty{ margin-top: 72px; }
.forty-head{ display: grid; gap: 10px; max-width: 640px; margin-bottom: 26px; }
.forty-head h3{ font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; letter-spacing: -0.02em; color: var(--t1); }
.forty-head h3 em{ font-family: "Instrument Serif", "Times New Roman", Times, serif; font-style: italic; font-weight: 400; }
.forty-head p{ color: var(--t3); font-size: 15.5px; line-height: 1.6; }
.forty-bar{ display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin-bottom: 10px; background: rgba(255,255,255,0.05); }
.forty-bar i{ flex: 60; background: linear-gradient(90deg, rgba(255,255,255,0.85), rgba(255,255,255,0.6)); }
.forty-bar b{ flex: 40; background: repeating-linear-gradient(135deg, rgba(186,208,255,0.55) 0 6px, rgba(186,208,255,0.32) 6px 12px); }
.forty-key{ display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t4); margin-bottom: 26px; }
.forty-key span:last-child{ color: var(--accent); }
.forty-grid{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.forty-grid li{
  padding: 18px 18px 20px; border-radius: 18px;
  border: 1px solid rgba(186,208,255,0.16);
  background: linear-gradient(180deg, rgba(186,208,255,0.06), rgba(186,208,255,0.015));
}
.forty-grid svg{ width: 22px; height: 22px; display: block; margin-bottom: 14px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.forty-grid b{ display: block; font-size: 15px; font-weight: 500; color: var(--t1); letter-spacing: -0.01em; }
.forty-grid span{ display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--t3); }
.forty-note{ margin-top: 18px; font-size: 14px; color: var(--t4); }
@media (max-width: 1000px){ .forty-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px){ .forty-grid{ grid-template-columns: 1fr; } .forty{ margin-top: 56px; } }

/* ---------- one member's first six months ---------- */
.journey{
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px;
  list-style: none; padding: 0; margin: 0;
}
.journey > li{ display: grid; gap: 14px; align-content: start; }
.journey .device-frame{ max-width: 200px; width: 100%; }
.j-when{ font-size: 11.5px; font-weight: 500; letter-spacing: 0.17em; text-transform: uppercase; color: var(--accent); text-align: center; }
.j-what{ font-size: 14px; line-height: 1.5; color: var(--t3); text-align: center; max-width: 24ch; margin: 0 auto; }
.j-screen{
  position: absolute; inset: 36px 0 0; padding: 14px 12px;
  display: flex; flex-direction: column; gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #e9edf4; font-size: 11px; line-height: 1.35;
}
.j-screen h4{ font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.j-screen p{ color: #9aa3b0; }
.j-card{ padding: 9px 10px; border-radius: 11px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); }
.j-card small{ display: block; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: #8b93a0; }
.j-card strong{ display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: #fff; }
.j-card strong i{ font-style: normal; color: var(--accent); }
.j-row{ display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.j-row:last-child{ border-bottom: 0; }
.j-row em{ font-style: normal; color: #8b93a0; font-size: 10px; }
.j-chart{ width: 100%; height: 70px; display: block; }
.j-chart polyline{ fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.j-chart polygon{ fill: rgba(186,208,255,0.12); }
.j-dots{ display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.j-dots i{ aspect-ratio: 1; border-radius: 3px; background: rgba(186,208,255,0.55); }
.j-dots i.off{ background: rgba(255,255,255,0.08); }
.j-tabs{ position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 6px 14px; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(7,10,15,0.9); }
.j-tabs i{ justify-self: center; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,0.25); }
.j-tabs i.on{ border-color: var(--accent); background: rgba(186,208,255,0.18); }
.journey-note{ margin-top: 26px; font-size: 13.5px; color: var(--t4); text-align: center; }
@media (max-width: 1000px){
  .journey{ grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(210px, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
  .journey > li{ scroll-snap-align: center; }
}

/* ---------- the sticky call bar on phones ---------- */
.call-bar{ display: none; }
@media (max-width: 700px){
  .call-bar{
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
    padding: 8px 8px 8px 18px; border-radius: 999px;
    background: rgba(12,16,22,0.88); border: 1px solid rgba(255,255,255,0.12);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -12px rgba(0,0,0,0.8);
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .45s cubic-bezier(0.16,1,0.3,1), opacity .3s ease;
  }
  .call-bar.is-on{ transform: none; opacity: 1; pointer-events: auto; }
  .call-bar p{ flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.3; color: var(--t3); }
  .call-bar p b{ display: block; color: #fff; font-weight: 500; font-size: 13.5px; }
  .call-bar a{ flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: #0b0f14; font-size: 14px; font-weight: 500; text-decoration: none; }
  .call-bar a:focus-visible{ outline: 2px solid rgba(186,208,255,0.9); outline-offset: 3px; }
  body.menu-open .call-bar{ display: none; }
}
@media (prefers-reduced-motion: reduce){ .call-bar{ transition: opacity .2s ease; } .swatch, .app-mark, .store-icon, .store-get b{ transition: none; } }
