/* SongReels v5 design system: the ORIGINAL SongReels brand from the live site, applied to the v4 layout.
   Type: Fredoka (rounded, friendly headlines and buttons) + Nunito (text). Caveat only for handwritten notes.
   Colour: cream paper, plum-black ink, and the SongReels gradient (pink to orange to gold) for every main action.
   Personality: emojis in headings and icons, white pills and emoji stickers floating around the product. Rated PG. */

:root {
  --bg: #FFF7F0;          /* cream, the live site's page colour */
  --white: #FFFFFF;
  --ink: #221019;         /* plum-black text */
  --ink-2: #6B5560;
  --ink-3: #7A6670;
  --line: #F2E6DF;
  --line-pink: #FFC2CF;
  --pink: #FF2D55;        /* the brand colour */
  --pink-d: #E01E45;
  --orange: #FF6A3D;
  --amber: #FFB300;
  --gold: #FFD23F;        /* the sung name on the video */
  --purple: #5856D6;
  --green: #34C759;       /* yes, approved */
  --green-d: #178A3E;
  --blue: #3B6FE0;
  --rose: #FFE7EC;
  --apricot: #FFF1E0;
  --butter: #FFF4D6;
  --mint: #E3F8E9;
  --lilac: #EEEDFF;
  --plum: #1C0F16;        /* footer and dark stages */
  --grad: linear-gradient(135deg, #FF2D55 0%, #FF6A3D 48%, #FFB300 100%);
  --grad-soft: linear-gradient(135deg, #FFE7EC 0%, #FFF1E0 100%);
  --grad-plum: linear-gradient(160deg, #2A1018 0%, #5A1F2E 55%, #B3324D 100%);

  --display: 'Fredoka', 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --r-xl: 30px; --r-lg: 24px; --r-md: 20px; --r-sm: 14px;
  --shadow: 0 30px 60px -30px rgba(34, 16, 25, .38), 0 2px 8px rgba(34, 16, 25, .05);
  --shadow-sm: 0 16px 32px -22px rgba(34, 16, 25, .45), 0 1px 3px rgba(34, 16, 25, .05);
  --shadow-pink: 0 14px 28px -12px rgba(255, 45, 85, .62);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  color-scheme: light;
}
@media (min-width: 900px) {
  :root { --gutter: max(48px, env(safe-area-inset-left, 0px)); --gutter-r: max(48px, env(safe-area-inset-right, 0px)); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: #FFD0DA; color: var(--ink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- section bands ---------- */
.sec { padding-block: clamp(80px, 8.5vw, 128px); position: relative; overflow: hidden; }
.band-white { background: var(--white); }
.band-cream { background: var(--bg); }
.band-soft { background: var(--grad-soft); }
.band-plum { background: var(--grad-plum); color: #fff; }
.band-plum::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 82% 8%, rgba(255, 150, 90, .38), transparent 52%), radial-gradient(ellipse at 8% 92%, rgba(120, 90, 255, .34), transparent 52%); }
.band-grad { background: var(--grad); color: #fff; }
.band-plum > .wrap, .band-grad > .wrap { position: relative; z-index: 2; }
.sec > .wrap { position: relative; z-index: 2; }
/* old links (/#pricing, /#examples) land on their new sections, clear of the fixed nav */
.anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.sec, .anchor { scroll-margin-top: 80px; }

/* ---------- type ---------- */
.d-xl, .d-l, .d-m, .d-s { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; color: inherit; }
.d-xl { font-size: clamp(44px, 6.1vw, 88px); line-height: 1.02; letter-spacing: -.025em; }
.d-l  { font-size: clamp(34px, 4.1vw, 58px); line-height: 1.06; letter-spacing: -.022em; }
.d-m  { font-size: clamp(28px, 2.9vw, 42px); line-height: 1.08; letter-spacing: -.018em; }
.d-s  { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.16; letter-spacing: -.01em; }
.d-xl em, .d-l em, .d-m em, .d-s em, .grad-text {
  font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .04em; }
.band-grad .d-xl em, .band-grad .d-l em, .band-grad .d-m em { background: none; color: #fff; }
.emo { display: inline-block; font-size: .8em; line-height: 1; margin-left: .04em; font-style: normal; transform-origin: 50% 80%; }
.lab { font: 600 13px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; margin: 0; color: var(--pink); }
.band-plum .lab { color: #FFB38F; }
.band-grad .lab { color: rgba(255, 255, 255, .92); }
.lede { font-size: clamp(18px, 1.35vw, 20px); line-height: 1.55; font-weight: 600; color: var(--ink-2); margin: 0; max-width: 44ch; text-wrap: pretty; }
.band-plum .lede, .band-grad .lede { color: rgba(255, 255, 255, .84); }
.body-2 { color: var(--ink-2); font-weight: 600; margin: 0; text-wrap: pretty; }
.band-plum .body-2 { color: rgba(255, 255, 255, .74); }
.band-grad .body-2 { color: rgba(255, 255, 255, .9); }

/* section header: label + title left, short paragraph right (or centred) */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .lab { margin-bottom: 14px; }
.sec-head .body-2 { max-width: 38ch; font-size: 17px; }
.sec-head.center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.sec-head.center .body-2 { max-width: 54ch; }
@media (max-width: 899px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- buttons (Fredoka, like the live site) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 17px/1 var(--display); letter-spacing: .005em;
  transition: box-shadow .25s, background-color .2s, color .2s, transform .25s var(--spring);
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; transition: transform .3s var(--spring); }
.btn .e { font-size: 1.05em; line-height: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-pink); }
.btn-primary:hover { box-shadow: 0 18px 34px -12px rgba(255, 45, 85, .72); }
.btn-ghost { background: #fff; color: var(--pink); box-shadow: inset 0 0 0 1.5px var(--line), 0 6px 16px -8px rgba(34, 16, 25, .25); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--line-pink), 0 8px 18px -8px rgba(34, 16, 25, .3); }
.btn-white { background: #fff; color: var(--pink); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .38); }
.btn-outline-white { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-outline-white:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { height: 46px; padding: 0 22px; font-size: 16px; }
.play-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 16.5px/1 var(--display); color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; }
.play-link .ring { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--pink); box-shadow: inset 0 0 0 1.5px var(--line), 0 10px 22px -10px rgba(34, 16, 25, .35); transition: transform .3s var(--spring); }
.play-link:hover .ring { transform: scale(1.08); }
.play-link svg { width: 15px; height: 15px; margin-left: 3px; }

/* ---------- the wordmark: "SongReels 🎶", exactly as on the live site ---------- */
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: inherit; white-space: nowrap; font: 700 24px/1 var(--display); letter-spacing: -.01em; }
.brand .emo { font-size: .9em; margin: 0; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding-top: env(safe-area-inset-top, 0px); transition: background-color .3s, box-shadow .3s; }
.nav.solid { background: rgba(255, 247, 240, .86); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 0 rgba(242, 230, 223, .9); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font: 500 16px/1 var(--display); color: var(--ink-2); text-decoration: none; padding: 10px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--pink); background: rgba(255, 45, 85, .06); }
.nav .btn-sm { margin-left: 6px; }
.nav-menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow-sm); }
.nav-menu span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); box-shadow: 0 5px 0 var(--ink); transform: translateY(-2.5px); }
@media (max-width: 899px) { .nav-links { display: none; } .nav .btn-sm { margin-left: auto; } .nav-menu { display: grid; } }
@media (max-width: 520px) {
  .nav .wrap { gap: 10px; height: 66px; }
  .nav .brand { font-size: 21px; }
  .nav .btn-sm { height: 42px; padding: 0 16px; font-size: 15px; }
}
@media (max-width: 370px) { .nav .btn-sm { display: none; } .nav-menu { margin-left: auto; } }
.sheet { position: fixed; inset: 0; z-index: 70; background: var(--bg); display: flex; flex-direction: column;
  padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gutter); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.sheet-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 24px; cursor: pointer; color: var(--ink); }
.sheet nav { display: grid; gap: 6px; margin-top: 36px; }
.sheet nav a { font: 600 32px/1.25 var(--display); letter-spacing: -.02em; text-decoration: none; }
.sheet .btn { margin-top: auto; width: 100%; }

/* ---------- pills: the live site's white pills, with an emoji first ---------- */
.tag, .pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  font: 500 14px/1.1 var(--display); letter-spacing: .01em; color: var(--ink-2); box-shadow: 0 4px 12px -7px rgba(34, 16, 25, .25); white-space: nowrap; }
.tag .e, .pill .e { font-size: 15px; line-height: 1; }

/* floating pills around the product (the live site's .float), bobbing gently */
.pop { position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff;
  border: 1.5px solid var(--line); font: 500 14.5px/1 var(--display); color: var(--ink-2); white-space: nowrap;
  box-shadow: 0 14px 28px -12px rgba(34, 16, 25, .32); animation: floatA 4.6s ease-in-out infinite; }
.pop .e { font-size: 17px; line-height: 1; }
.pop.b { animation-name: floatB; animation-duration: 5.2s; }
@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 7px; } }

/* emoji stickers drifting at the edges of a section (never over words) */
.floaties { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.fl { position: absolute; left: var(--x); top: var(--y); font-size: var(--s, 38px); line-height: 1; user-select: none;
  transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 10px 12px rgba(34, 16, 25, .16));
  animation: drift var(--t, 7s) ease-in-out var(--dl, 0s) infinite alternate; }
.fl.bub { display: grid; place-items: center; width: calc(var(--s, 38px) * 1.75); height: calc(var(--s, 38px) * 1.75); border-radius: 50%;
  background: #fff; box-shadow: 0 16px 30px -16px rgba(34, 16, 25, .4), inset 0 0 0 1.5px var(--line); filter: none; }
.band-plum .fl.bub { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.band-grad .fl.bub, .fl.bub.glass { background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
@keyframes drift { from { translate: 0 0; rotate: 0deg; } to { translate: 0 -18px; rotate: 9deg; } }
@media (max-width: 899px) { .fl.d { display: none; } }

/* music notes rising beside the video, like the live site's stage */
.notes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.notes i { position: absolute; bottom: 22%; font: 700 28px/1 var(--display); font-style: normal; color: var(--pink); opacity: 0; animation: rise 6.4s linear infinite; }
.notes i:nth-child(2n) { color: var(--orange); font-size: 22px; }
.notes i:nth-child(3n) { color: var(--amber); font-size: 32px; }
.notes i:nth-child(1) { left: -12%; animation-delay: 0s; }
.notes i:nth-child(2) { left: -5%; animation-delay: -2.1s; }
.notes i:nth-child(3) { left: -15%; animation-delay: -4.3s; }
.notes i:nth-child(4) { right: -11%; animation-delay: -1.1s; }
.notes i:nth-child(5) { right: -4%; animation-delay: -3.2s; }
.notes i:nth-child(6) { right: -14%; animation-delay: -5.3s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(40px) rotate(-12deg); } 14% { opacity: .95; } 78% { opacity: .75; } 100% { opacity: 0; transform: translateY(-340px) rotate(16deg); } }

/* ---------- reel player: the product, in the live site's dark phone card with its waveform player ---------- */
.reel { margin: 0; width: 100%; }
.reel-frame {
  position: relative; aspect-ratio: 9 / 16; width: 100%; border-radius: 30px; overflow: hidden; background: #1C0F16; isolation: isolate; container-type: inline-size;
  box-shadow: 0 0 0 10px #11070D, 0 44px 80px -28px rgba(255, 45, 85, .5), 0 20px 44px -22px rgba(34, 16, 25, .5);
}
.reel-frame video, .reel-frame img.reel-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 5, 10, .36) 0%, rgba(20, 5, 10, 0) 20%, rgba(20, 5, 10, 0) 48%, rgba(20, 5, 10, .62) 100%); }
.reel-top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: 4.6cqw 4.6cqw 0; display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
.reel-meta { display: inline-flex; align-items: center; gap: 2cqw; padding: 1.9cqw 3.4cqw 1.9cqw 2.6cqw; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--pink); }
.reel-meta b { font: 600 3.7cqw/1 var(--display); white-space: nowrap; }
.reel-len { padding: 1.7cqw 2.8cqw; border-radius: 999px; background: rgba(0, 0, 0, .36); color: #fff; font: 800 3cqw/1 var(--sans); letter-spacing: .05em; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.eq { display: inline-flex; align-items: flex-end; gap: .7cqw; height: 3.6cqw; }
.eq i { width: .9cqw; background: var(--pink); border-radius: 1px; height: 40%; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.35s; background: var(--orange); }
.eq i:nth-child(3) { animation-delay: -.7s; background: var(--amber); }
.paused .eq i { animation-play-state: paused; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.reel-lyric { position: absolute; z-index: 2; left: 7%; right: 7%; bottom: 25cqw; min-height: 20cqw; display: grid; align-items: end; text-align: center; }
.reel-lyric p {
  grid-area: 1 / 1; margin: 0; color: #fff; font: 600 6.8cqw/1.14 var(--display); letter-spacing: -.01em; text-wrap: balance;
  text-shadow: 0 2px 16px rgba(20, 5, 10, .5); transition: opacity .45s var(--ease), transform .6s var(--spring);
}
.reel-lyric p.out { opacity: 0; transform: translateY(-1.6cqw) scale(.98); }
.reel-lyric p.pre { opacity: 0; transform: translateY(2.6cqw) scale(.98); }
.reel-lyric p .name { color: var(--gold); text-shadow: 0 0 18px rgba(255, 179, 0, .55), 0 2px 12px rgba(20, 5, 10, .4); }
.reel-player { position: absolute; z-index: 3; left: 4cqw; right: 4cqw; bottom: 4cqw; height: 15cqw; min-height: 44px; display: flex; align-items: center; gap: 2.6cqw;
  padding: 0 3.8cqw 0 2.4cqw; border-radius: 5cqw; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7); }
.reel-ctl { flex: none; width: 10.5cqw; height: 10.5cqw; min-width: 32px; min-height: 32px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  color: #fff; background: var(--grad); box-shadow: 0 6px 14px -6px rgba(255, 45, 85, .75); transition: transform .25s var(--spring); }
.reel-ctl:hover { transform: scale(1.08); }
.reel-ctl svg { width: 36%; height: 36%; }
.reel-ctl .i-play { display: none; margin-left: 8%; }
.paused .reel-ctl .i-play { display: block; }
.paused .reel-ctl .i-pause { display: none; }
.reel-wave { flex: 1; display: flex; align-items: center; gap: .7cqw; height: 8cqw; min-width: 0; }
.reel-wave i { flex: 1; height: var(--h); min-height: 3px; border-radius: 2px; background: #F5D5DE; transition: background-color .2s; }
.reel-wave i.p { background: linear-gradient(#FF6A3D, #FF2D55); }
.reel-clock { flex: none; font: 800 3.3cqw/1 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- reveal: transform only, never hides content ---------- */
.rise { transform: translateY(24px); transition: transform 1s var(--ease); }
.rise.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { transform: none; transition: none; }
  .eq i { animation: none; height: 70%; }
  .btn:hover, .btn:hover svg { transform: none; }
  .pop, .fl, .notes i { animation: none; }
  .notes { display: none; }
}

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field > .lab { font: 700 15px/1.25 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.input { height: 56px; border-radius: 16px; padding: 0 18px; width: 100%; font: 600 17px/1 var(--sans); background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  transition: border-color .2s, box-shadow .2s; }
.input::placeholder { color: #A8959E; font-weight: 500; }
.input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 45, 85, .14); }

/* ---------- footer (the live site's plum footer) ---------- */
.foot { background: var(--plum); color: #fff; padding-block: 72px calc(32px + env(safe-area-inset-bottom, 0px)); position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .5fr)); gap: 44px; position: relative; }
.foot .brand { font-size: 28px; }
.foot-top p { color: rgba(255, 255, 255, .6); font-weight: 600; font-size: 15px; margin: 14px 0 0; max-width: 32ch; }
.foot h4 { margin: 6px 0 16px; font: 800 11.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { text-decoration: none; color: rgba(255, 255, 255, .8); font-size: 15px; font-weight: 600; transition: color .2s; }
.foot ul a:hover { color: #fff; }
.foot-bot { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .45); position: relative; }
.foot-emo { display: flex; gap: 10px; margin-top: 22px; font-size: 22px; }
@media (max-width: 899px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-top > :first-child { grid-column: 1 / -1; } }
