/* SoulShot — soulshot.online
   The site sits on the app's own screen: cream at the top, peach in the
   middle, salmon at the bottom. Plum text. Orange only inside the orb.
   Fraunces for titles and shot names, Figtree for everything else. */

:root {
  --cream: #FFF4E6;
  --peach: #FFE0C2;
  --apricot: #FBBE9F;
  --salmon: #F5A78D;
  --plum: #3A1F3D;
  --plum-2: #6B5570;
  --plum-3: #9A889E;
  --night: #1E1424;
  --sun: #EE8E3E;
  --gold: #D9A23F;
  --coral: #E9633C;
  --violet: #7F63C8;
  --white: #FFFFFF;
  --border: rgba(58, 31, 61, .12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --measure: 34rem;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--plum);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* The gradient is one long dawn: every page lives on it, top to bottom. */
.sky {
  background: linear-gradient(180deg, var(--cream) 0%, var(--peach) 38%, var(--apricot) 74%, var(--salmon) 100%);
  min-height: 100vh;
}

a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 42rem; margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* Type ------------------------------------------------------------------ */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 60, "opsz" 72;
  font-weight: 400;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; }
h3 { font-size: 1.55rem; line-height: 1.18; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--plum-2); max-width: var(--measure); }
.quiet { color: var(--plum-2); }
.small { font-size: .92rem; }
.italic { font-style: italic; }

/* Nav ------------------------------------------------------------------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-variation-settings: "SOFT" 60; font-weight: 500;
  font-size: 1.4rem; letter-spacing: -.01em; text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--plum-2); }
.nav-links a:hover { color: var(--plum); }
@media (max-width: 640px) { .nav-links a.plain { display: none; } }

/* The orb: white highlight top-left, sun in the body, ember at the rim. */
.orb {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 38% 32%, #fff 0%, #FFEBD3 13%, #FDC58F 36%, #EE8E3E 66%, #C4611E 100%);
  box-shadow: 0 10px 24px -8px rgba(200, 100, 30, .55);
}
.orb.lg { width: 56px; height: 56px; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--plum); color: var(--cream); text-decoration: none;
  font-weight: 600; font-size: 1.02rem; cursor: pointer;
  box-shadow: 0 18px 30px -16px rgba(58, 31, 61, .55);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 22px 34px -16px rgba(58, 31, 61, .6); }
.btn:active { transform: translateY(0); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: .95rem; box-shadow: none; }
.btn.ghost { background: rgba(255, 255, 255, .72); color: var(--plum); box-shadow: none; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Hero ------------------------------------------------------------------ */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(24px, 5vw, 72px); padding: clamp(28px, 6vw, 80px) 0 clamp(40px, 6vw, 72px);
}
.hero-copy { max-width: 36rem; }
.hero-copy .lede { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 32px; }
.hero-price { color: var(--plum-2); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-art { order: 2; margin-top: 8px; }
}

/* The phone: a real screen in a thin plum bezel. */
.phone {
  position: relative; width: min(340px, 78vw); margin: 0 auto;
  border-radius: 54px; padding: 11px; background: var(--night);
  box-shadow: 0 40px 80px -30px rgba(58, 31, 61, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone img { border-radius: 44px; width: 100%; }
.phone.sm { width: min(280px, 70vw); border-radius: 46px; padding: 9px; }
.phone.sm img { border-radius: 38px; }

.hero-art { position: relative; }
.hero-art .glow {
  position: absolute; inset: 10% -10% auto; height: 80%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 224, 194, .9), rgba(255, 224, 194, 0));
}
.hero-art .phone { position: relative; z-index: 1; }

/* The living orb behind the hero: the app's own Welcome clip, rising behind
   the phone like the sun. The clip's orb is 30% of its frame, so the video
   is scaled up inside a soft circular mask. */
.orb-video {
  position: absolute; z-index: 0; pointer-events: none; overflow: hidden;
  width: clamp(240px, 30vw, 360px); aspect-ratio: 1; border-radius: 50%;
  top: -48px; right: -28px;
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 68%);
  mask-image: radial-gradient(circle, #000 40%, transparent 68%);
}
.orb-video video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); }
@media (max-width: 860px) { .orb-video { width: 52vw; right: -12vw; top: -6vw; } }
@media (prefers-reduced-motion: reduce) { .orb-video { display: none; } }

/* Sections -------------------------------------------------------------- */
.section { padding: clamp(48px, 8vw, 104px) 0; }
.section-head { max-width: 40rem; }
.section-head p { margin-top: 16px; }
.section + .section { padding-top: 0; }

/* How it works: a real sequence, so it is numbered. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 5vw, 56px); }
.step { display: flex; flex-direction: column; gap: 18px; }
.step .phone { margin: 0 auto; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--plum-2); }
.step h3 { margin-top: 4px; }
.step p { color: var(--plum-2); margin-top: 8px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 44px; } }

/* Shot cards: photos with a veil, an italic title, a lane hue. */
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
.shot {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; isolation: isolate; text-decoration: none;
  box-shadow: 0 30px 50px -30px rgba(30, 20, 36, .6);
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.shot::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30, 20, 36, .05) 30%, rgba(30, 20, 36, .55) 70%, rgba(30, 20, 36, .82) 100%);
}
.shot .lane { font-size: .85rem; font-weight: 600; letter-spacing: .01em; }
.shot .title { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; margin-top: 8px; }
.shot .desc { color: rgba(255, 244, 230, .82); margin-top: 10px; font-size: .95rem; line-height: 1.45; }
.shot .meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.shot .dur { font-size: .85rem; padding: 6px 10px; border-radius: 999px; background: rgba(30, 20, 36, .45); }
.shot .play {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--night);
}
.shot .play svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.shot.prayer .lane { color: #FFD98A; }
.shot.motivation .lane { color: #FFB39A; }
.shot.manifestation .lane { color: #D6C8FF; }
@media (max-width: 860px) { .lanes { grid-template-columns: 1fr; } .shot { aspect-ratio: 16 / 11; } }

/* The words: a shot's script, as the player shows it. */
.words {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
  margin-top: clamp(32px, 5vw, 56px);
}
.script { font-family: var(--serif); font-variation-settings: "SOFT" 60; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; }
.script p { margin: 0 0 .6em; color: var(--plum-3); }
.script p.now { color: var(--plum); }
.script small { display: block; font-family: var(--sans); font-size: .95rem; color: var(--plum-2); margin-top: 14px; }
@media (max-width: 860px) { .words { grid-template-columns: 1fr; } }

/* The ritual: three quiet lines. */
.ritual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
.ritual > div {
  background: rgba(255, 255, 255, .55); border-radius: 22px; padding: 24px;
  border: 1px solid rgba(255, 255, 255, .7);
}
.ritual h3 { font-size: 1.3rem; }
.ritual p { color: var(--plum-2); margin-top: 8px; }
@media (max-width: 860px) { .ritual { grid-template-columns: 1fr; } }

/* Price ----------------------------------------------------------------- */
.price {
  background: var(--plum); color: var(--cream); border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.price .amount { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5rem); line-height: 1; }
.price .amount span { font-family: var(--sans); font-size: 1.1rem; color: rgba(255, 244, 230, .7); margin-left: 6px; }
.price p { color: rgba(255, 244, 230, .82); margin-top: 14px; max-width: 30rem; }
.price .btn { background: var(--cream); color: var(--plum); }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.price li { padding-left: 26px; position: relative; color: rgba(255, 244, 230, .9); }
.price li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }

/* FAQ ------------------------------------------------------------------- */
.faq { max-width: 42rem; margin-top: 8px; }
.faq details { border-top: 1px solid var(--border); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; color: var(--plum-2); flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--plum-2); max-width: var(--measure); }

/* Footer ---------------------------------------------------------------- */
.foot {
  padding: 40px 0 44px; margin-top: clamp(24px, 5vw, 56px);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px;
  color: var(--plum-2); font-size: .95rem; border-top: 1px solid var(--border);
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Legal and support pages ---------------------------------------------- */
.doc { padding: clamp(24px, 5vw, 56px) 0 24px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.doc .updated { color: var(--plum-2); margin-top: 10px; }
.doc h2 { font-size: 1.75rem; margin-top: 44px; }
.doc h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 600; margin-top: 26px; }
.doc p { margin-top: 14px; max-width: var(--measure); color: var(--plum); }
.doc p.lede { margin-top: 24px; }
.doc ul { padding-left: 1.2em; margin: 12px 0 0; max-width: var(--measure); }
.doc li { margin-top: 8px; }
.doc li + li { margin-top: 10px; }
.doc .note {
  margin-top: 22px; padding: 18px 20px; border-radius: 18px; max-width: var(--measure);
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .8);
}
.doc a { color: var(--plum); }
.doc .copyright { margin-top: 56px; color: var(--plum-3); font-size: .9rem; }

.contact-card {
  margin-top: 28px; padding: 26px; border-radius: 22px; max-width: var(--measure);
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .8);
}
.contact-card .email { font-family: var(--serif); font-size: 1.6rem; word-break: break-all; }
.contact-card p { margin-top: 10px; color: var(--plum-2); }
.contact-card .btn { margin-top: 18px; }

/* Samples: the three playable cards under the hero. ------------------------ */
.hero-copy .hero-price { margin-top: 18px; }
.shot .bar { height: 3px; border-radius: 3px; background: rgba(255, 244, 230, .28); margin-top: 16px; overflow: hidden; }
.shot .bar i { display: block; height: 100%; width: 0; background: var(--cream); transition: width .25s linear; }
.shot.sample .meta { margin-top: 12px; }
.shot .play { border: 0; cursor: pointer; transition: transform .15s ease; }
.shot .play:hover { transform: scale(1.06); }
.shot .play .ic-pause { display: none; }
.shot.playing .play .ic-play { display: none; }
.shot.playing .play .ic-pause { display: block; margin-left: 0; }
.shot.still .play, .shot.still .bar { display: none; }

@media (prefers-reduced-motion: reduce) { .shot .bar i { transition: none; } }

[hidden] { display: none !important; }

/* The words of the piece that is playing, as the shared-link page shows them. */
.now { margin-top: 28px; padding: 26px 28px; border-radius: 22px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7); max-width: 44rem; }
.now-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.now-lane { font-size: .85rem; font-weight: 600; color: var(--plum-2); }
.now-title { font-size: 1.5rem; font-style: italic; }
.now-words { margin-top: 14px; font-family: var(--serif); font-variation-settings: "SOFT" 60; font-size: 1.2rem; line-height: 1.45; color: var(--plum); max-height: 22rem; overflow: auto; padding-right: 6px; }
.now-words p { margin: 0 0 .8em; }
