/* Drwup OS, official site.
   Brand from the drwup OS Brand essentials sheet: ink, navy, electric, orchid, lilac.
   Poppins throughout; Playfair Display italic appears once, in the hero.
   Structure: the headline carries a live reel; the page reads like an edit, from brief to export. */

:root {
  --ink: #111114;
  --raised: #19181f;
  --navy: #080458;
  --electric: #3500f5;
  --violet: #6b35ff;
  --orchid: #a43cf4;
  --lilac: #f6d8ff;
  --paper: #fbf2ff;
  --white: #ffffff;

  --text: #ffffff;
  --text-2: #bdb8cf;
  --text-3: #8f8aa6;
  --hairline: rgba(255, 255, 255, 0.1);
  --ink-line: rgba(17, 17, 20, 0.14);
  --ink-2: #4a4560;

  --grad-tile: linear-gradient(145deg, #a43cf4 0%, #3500f5 55%, #080458 100%);

  --font: "Poppins", Helvetica, Arial, sans-serif;
  --font-hl: "Playfair Display", Georgia, serif;
  --margin: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --pill: 999px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--electric); color: var(--white); }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--margin); }

/* ---------- Type scale ---------- */
.h2 {
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lede { max-width: 46ch; color: var(--text-2); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.5; }
.head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 20px 64px; margin-bottom: clamp(40px, 5vw, 72px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 8px 0 26px;
  border: 0;
  border-radius: var(--pill);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.btn:active { transform: scale(0.97); }
/* Buy buttons glow: a breathing halo behind, and a "render pass" of light across the face */
.btn--buy {
  position: relative;
  isolation: isolate;
  background-color: var(--electric);
  background-image: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.34) 50%, transparent 58%);
  background-size: 300% 100%;
  background-repeat: no-repeat;
  background-position: 120% 0;
  color: var(--white);
  box-shadow: 0 14px 34px -14px rgba(53, 0, 245, 0.95);
  animation: sheen 5.5s ease-in-out infinite;
}
.btn--buy::after {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orchid), var(--electric), var(--violet), var(--orchid));
  background-size: 300% 100%;
  filter: blur(16px);
  opacity: 0.6;
  pointer-events: none;
  animation: halo 3.2s ease-in-out infinite, halo-shift 7s linear infinite;
  transition: opacity 0.25s;
}
.btn--buy:hover { background-color: var(--violet); }
.btn--buy:hover::after { opacity: 1; }
.topbar .btn--buy::after { inset: -2px; filter: blur(12px); opacity: 0.4; }
@keyframes sheen { 0%, 55% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
@keyframes halo { 50% { opacity: 0.95; inset: -7px; } }
@keyframes halo-shift { to { background-position: 300% 0; } }
.btn--quiet { padding: 0 24px; background: rgba(255, 255, 255, 0.08); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.btn--quiet:hover { background: rgba(255, 255, 255, 0.14); }
.btn--lg { height: 62px; padding-left: 32px; font-size: 1.0625rem; }

/* Razorpay badge inside the buy button: white chip, Razorpay's own blue mark */
.rzp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px 0 11px;
  border-radius: var(--pill);
  background: var(--white);
  color: #072654;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.rzp svg { width: 15px; height: 15px; fill: #3395ff; }
.btn--lg .rzp { height: 44px; padding: 0 16px 0 13px; font-size: 0.9375rem; }
.btn--lg .rzp svg { width: 17px; height: 17px; }

/* ---------- Top bar ---------- */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--margin);
}
.topbar__logo img { width: clamp(132px, 11vw, 168px); height: auto; }
.topbar nav { display: flex; align-items: center; gap: 28px; }
.topbar nav > a:not(.btn) { color: var(--text-2); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.topbar nav > a:not(.btn):hover { color: var(--white); }
.topbar .btn { height: 46px; padding-left: 20px; padding-right: 6px; font-size: 0.9375rem; }
.topbar .btn .rzp { height: 34px; }

/* ---------- Hero: the headline holds the reel ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 132px 0 clamp(48px, 7vh, 88px);
  background:
    radial-gradient(60% 55% at 92% 0%, rgba(164, 60, 244, 0.38), rgba(164, 60, 244, 0) 70%),
    radial-gradient(70% 60% at 0% 100%, rgba(53, 0, 245, 0.42), rgba(53, 0, 245, 0) 70%),
    var(--ink);
  overflow: hidden;
}
.hero__title {
  font-size: clamp(3rem, 8.4vw, 8.75rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.hero__title .l { display: block; }
.hero__title em {
  font-family: var(--font-hl);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--lilac);
}
/* The reel sits in the line like a word: 9:16, one cap-height and a half tall. */
.reel-word {
  position: relative;
  display: inline-block;
  width: 0.7em;
  height: 1.2em;
  margin: 0 0.06em;
  vertical-align: -0.24em;
  border-radius: 0.12em;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 0 0 0.03em rgba(246, 216, 255, 0.55), 0 0.25em 0.6em -0.2em rgba(53, 0, 245, 0.9);
  transform: rotate(-4deg);
}
.reel-word video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.reel-word video.is-on { opacity: 1; }

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 64px;
  margin-top: clamp(32px, 5vh, 56px);
}

/* Prompt bar: the brief being typed for the reel shown above */
.prompt {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 640px;
  min-height: 64px;
  padding: 10px 10px 10px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(246, 216, 255, 0.22), 0 30px 60px -30px rgba(53, 0, 245, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.prompt__text { flex: 1; min-width: 0; font-size: clamp(0.9375rem, 1.3vw, 1.0625rem); line-height: 1.45; }
.prompt__text::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: var(--lilac);
  animation: caret 1s steps(1) infinite;
}
.prompt__send {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--electric);
}
.prompt__send svg { width: 18px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prompt__note { margin-top: 12px; color: var(--text-3); font-size: 0.8125rem; }
@keyframes caret { 50% { opacity: 0; } }

.hero__buy p { color: var(--text-2); font-size: 1.0625rem; line-height: 1.5; max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 16px; color: var(--text-3); font-size: 0.9375rem; }
.price strong { color: var(--white); font-size: 1.125rem; font-weight: 600; }
.price s { text-decoration-thickness: 1.5px; }

/* ---------- Showcase: the reel wall ---------- */
.work { padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); }
.reels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.reel { display: grid; gap: 16px; align-content: start; }
.reel__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.reel__frame video { width: 100%; height: 100%; object-fit: cover; }
.reel:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
.reel__sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 12px;
  border: 0;
  border-radius: var(--pill);
  background: rgba(17, 17, 20, 0.62);
  color: var(--white);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.reel__sound:hover { background: rgba(17, 17, 20, 0.85); }
.reel__sound svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reel__sound .on { display: none; }
.reel__sound[aria-pressed="true"] { background: var(--electric); box-shadow: none; }
.reel__sound[aria-pressed="true"] .on { display: block; }
.reel__sound[aria-pressed="true"] .off { display: none; }
.reel h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.reel p { margin-top: 2px; color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }

/* ---------- How it works: three clips on a track ---------- */
.how { padding: clamp(72px, 9vw, 120px) 0; }
.track {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.25fr;
  gap: 6px;
  padding: 14px 0 0;
}
/* Ruler ticks above the clips */
.track::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 24px);
}
.clip {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  min-height: 230px;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 18px;
}
.clip:nth-child(1) { background: linear-gradient(160deg, #1f1a6e, #120e4a); box-shadow: inset 0 0 0 1px rgba(107, 53, 255, 0.5); }
.clip:nth-child(2) { background: linear-gradient(160deg, #3a17a8, #1d0b78); box-shadow: inset 0 0 0 1px rgba(164, 60, 244, 0.55); }
.clip:nth-child(3) { position: relative; padding-right: 64px; background: linear-gradient(160deg, #6b35ff, #3500f5); box-shadow: inset 0 0 0 1px rgba(246, 216, 255, 0.55); }
.clip__n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
  font-weight: 600;
}
.clip h3 { align-self: end; font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
.clip p { margin-top: 8px; color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; line-height: 1.5; max-width: 34ch; }
/* Render sweep: when the track scrolls into view, a playhead runs across and lights each clip */
.track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: -14px;
  left: 0;
  width: 2px;
  background: var(--lilac);
  box-shadow: 0 0 18px 2px rgba(246, 216, 255, 0.85);
  opacity: 0;
  pointer-events: none;
}
.track.will-play .clip { filter: saturate(0.25) brightness(0.55); transition: filter 0.7s ease; }
.track.will-play .playhead { opacity: 0; transition: opacity 0.4s ease 2.3s; }
.track.is-playing .clip { filter: none; }
.track.is-playing .clip:nth-child(1) { transition-delay: 0.2s; }
.track.is-playing .clip:nth-child(2) { transition-delay: 0.7s; }
.track.is-playing .clip:nth-child(3) { transition-delay: 1.3s; animation: exported 1.2s ease-out 2.4s; }
.track.is-playing .playhead { opacity: 1; }
.track.is-playing::after { animation: sweep 2.5s cubic-bezier(0.45, 0, 0.25, 1) 0.1s; }
@keyframes sweep {
  0% { left: 0; opacity: 1; }
  88% { left: calc(100% - 23px); opacity: 1; }
  100% { left: calc(100% - 23px); opacity: 0; }
}
@keyframes exported { 40% { box-shadow: inset 0 0 0 1px rgba(246, 216, 255, 0.9), 0 0 60px -6px rgba(164, 60, 244, 0.9); } }
/* Playhead parked at the export point */
.playhead {
  position: absolute;
  top: -14px;
  bottom: -14px;
  right: 22px;
  width: 2px;
  background: var(--lilac);
  box-shadow: 0 0 14px rgba(246, 216, 255, 0.9);
  pointer-events: none;
}
.playhead::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -7px;
  width: 16px;
  height: 14px;
  border-radius: 3px 3px 8px 8px;
  background: var(--lilac);
}
.formats { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 18px; }
.formats span {
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
}
.formats .f916 { width: 36px; height: 64px; }
.formats .f11 { width: 52px; height: 52px; }
.formats .f45 { width: 46px; height: 58px; }

/* ---------- Light section: the maths and the comparison ---------- */
.paper {
  margin: 0 clamp(0px, 1vw, 16px);
  padding: clamp(88px, 11vw, 150px) 0;
  border-radius: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(164, 60, 244, 0.18), rgba(164, 60, 244, 0) 70%),
    var(--paper);
  color: var(--ink);
  color-scheme: light;
}
.paper .lede { color: var(--ink-2); }
.paper ::selection { color: var(--white); }
.sums { display: grid; gap: clamp(20px, 3vw, 36px); max-width: 1100px; }
.sum {
  font-size: clamp(1.875rem, 4.6vw, 4rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.sum--them { color: #8b84a3; }
.sum--them b { color: var(--ink); font-weight: 600; text-decoration: line-through; text-decoration-color: var(--orchid); text-decoration-thickness: 0.07em; }
.sum--us b { color: var(--electric); font-weight: 600; }
.sums__note { max-width: 62ch; color: var(--ink-2); font-size: 0.9375rem; }

.vs { margin-top: clamp(72px, 9vw, 120px); }
.vs__cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 22px); align-items: center; }
.vs__card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--ink-line), 0 30px 60px -45px rgba(8, 4, 88, 0.45); }
.vs__card h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
.vs__sub { margin-top: 4px; color: var(--ink-2); font-size: 0.9375rem; }
.vs__card ul { display: grid; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--ink-line); }
.vs__card li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.vs__card li b { display: block; margin-bottom: 1px; color: #8b84a3; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.vs__mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(164, 60, 244, 0.12); }
.vs__mark svg { width: 13px; fill: none; stroke: var(--orchid); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vs__card--us { z-index: 1; padding: clamp(32px, 3.4vw, 46px); background: radial-gradient(90% 70% at 100% 0%, rgba(164, 60, 244, 0.5), rgba(164, 60, 244, 0) 70%), linear-gradient(160deg, #1d0bb0, var(--navy) 70%); color: var(--white); box-shadow: 0 0 0 1px rgba(107, 53, 255, 0.6), 0 50px 100px -40px rgba(53, 0, 245, 0.9), 0 0 80px -20px rgba(164, 60, 244, 0.55); }
.vs__card--us h3 img { display: block; width: clamp(150px, 13vw, 190px); height: auto; }
.vs__card--us .vs__sub { margin-top: 10px; }
.vs__card--us ul { gap: 20px; margin-top: 28px; padding-top: 26px; }
.vs__card--us li { font-size: 1.0625rem; }
.vs__card--us .vs__sub { color: rgba(255, 255, 255, 0.78); }
.vs__card--us .vs__sub strong { color: var(--white); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.vs__card--us ul { border-top-color: rgba(255, 255, 255, 0.16); }
.vs__card--us li { color: var(--white); }
.vs__card--us li b { color: var(--lilac); }
.vs__card--us .vs__mark { background: var(--lilac); }
.vs__card--us .vs__mark svg { stroke: var(--navy); stroke-width: 2.4; }
.vs__badge { position: absolute; top: clamp(20px, 2.4vw, 30px); right: clamp(20px, 2.4vw, 30px); padding: 4px 12px; border-radius: var(--pill); background: var(--lilac); color: var(--navy); font-size: 0.75rem; font-weight: 700; }

/* ---------- Walkthrough player: poster + play button; the video loads only on play ---------- */
.watch { margin: clamp(48px, 6vw, 88px) 0 0; }
.watch__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(107, 53, 255, 0.45), 0 50px 100px -50px rgba(53, 0, 245, 0.8);
}
.watch video { width: 100%; height: 100%; object-fit: cover; }
.watch.is-playing video { object-fit: contain; }
.watch__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: clamp(18px, 3vw, 36px);
  border: 0;
  background: linear-gradient(to top, rgba(8, 4, 40, 0.8), rgba(8, 4, 40, 0) 55%);
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.watch__icon {
  position: relative;
  isolation: isolate;
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(56px, 6vw, 76px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--electric);
  transition: transform 0.25s ease, background-color 0.25s;
}
.watch__icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--orchid), var(--electric), var(--lilac));
  filter: blur(14px);
  opacity: 0.7;
  animation: halo 3.2s ease-in-out infinite;
}
.watch__icon svg { width: 40%; margin-left: 8%; fill: var(--white); }
.watch__play:hover .watch__icon { transform: scale(1.06); background-color: var(--violet); }
.watch__label { display: grid; gap: 2px; padding-bottom: 4px; color: rgba(255, 255, 255, 0.8); font-size: 0.9375rem; line-height: 1.4; }
.watch__label strong { color: var(--white); font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -0.015em; }
.watch.is-playing .watch__play { display: none; }
.watch--tall .watch__frame { aspect-ratio: 9 / 16; max-width: 340px; }
.gsec > .watch { margin-top: 24px; }
@media (max-width: 600px) {
  .watch__play { gap: 12px; padding: 14px; }
  .watch__icon { width: 48px; }
  .watch__label { font-size: 0.8125rem; }
  .watch__label strong { font-size: 1rem; }
}

/* ---------- Gets better: a true 1 to 10 scale ---------- */
.better { padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); }
.scale { position: relative; padding-top: 52px; }
.scale__rail {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(107, 53, 255, 0.35), var(--orchid) 60%, var(--lilac));
}
.scale ol { position: relative; display: grid; grid-template-columns: 4fr 3fr 2fr; }
.scale li { position: relative; padding-right: clamp(16px, 3vw, 48px); }
.scale li:last-child { padding-right: 0; text-align: right; }
.scale.will-play .scale__rail { transform: scaleX(0); transform-origin: left center; transition: transform 1.8s cubic-bezier(0.45, 0, 0.25, 1) 0.15s; }
.scale.is-playing .scale__rail { transform: none; }
.scale.will-play li::before { transform: scale(0.4); opacity: 0; transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.3s; }
.scale.is-playing li::before { transform: none; opacity: 1; }
.scale.is-playing li:nth-child(1)::before { transition-delay: 0.2s; }
.scale.is-playing li:nth-child(2)::before { transition-delay: 1s; }
.scale.is-playing li:nth-child(3)::before { transition-delay: 1.85s; }
/* Marker sits at each video's position along the 1 to 10 rail */
.scale li::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 3px var(--lilac), 0 0 16px rgba(246, 216, 255, 0.7);
}
.scale li:last-child::before { left: auto; right: 0; background: var(--lilac); }
.scale h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; }
.scale p { max-width: 34ch; margin-top: 10px; color: var(--text-2); }
.scale li:last-child p { margin-left: auto; }
.better__note { margin-top: clamp(40px, 5vw, 64px); color: var(--text-3); font-size: 0.9375rem; max-width: 60ch; }

/* ---------- Inside + needs ---------- */
.inside { padding: clamp(72px, 9vw, 120px) 0; }
.inside__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.inside h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
.inside h3 + p { margin-top: 8px; color: var(--text-2); }
.list { margin-top: 22px; border-top: 1px solid var(--hairline); }
.list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-2);
}
.list strong { display: block; color: var(--white); font-weight: 600; }
.ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-tile);
  box-shadow: inset 0 0 0 1px rgba(246, 216, 255, 0.35);
}
.ico svg { width: 20px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--check { background: var(--lilac); box-shadow: none; }
.ico--check svg { stroke: var(--navy); stroke-width: 2.4; }

/* ---------- Buy ---------- */
.buy {
  margin: 0 clamp(0px, 1vw, 16px);
  padding: clamp(88px, 11vw, 150px) 0;
  border-radius: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(246, 216, 255, 0.4), rgba(164, 60, 244, 0.25) 40%, rgba(164, 60, 244, 0) 75%),
    linear-gradient(40deg, #3500f5 0%, #1d0bb0 40%, #080458 78%);
  overflow: hidden;
}
.buy__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: end; }
.nw { white-space: nowrap; }
.buy__title { font-size: clamp(2.75rem, 6.2vw, 6rem); line-height: 1; font-weight: 600; letter-spacing: -0.045em; }
.buy__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-top: clamp(28px, 4vw, 44px); }
.buy__now { font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: 1; font-weight: 600; letter-spacing: -0.05em; }
.buy__was { color: rgba(255, 255, 255, 0.6); font-size: 1.375rem; text-decoration-thickness: 1.5px; }
.buy__terms { margin-top: 10px; color: rgba(255, 255, 255, 0.78); }
.buy .btn--buy { margin-top: 30px; background-color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8); }
.buy .btn--buy:hover { background-color: #000; }
.buy__methods { margin-top: 14px; color: rgba(255, 255, 255, 0.72); font-size: 0.875rem; max-width: 44ch; }

.after { padding: clamp(22px, 2.6vw, 32px); border-radius: 24px; background: rgba(8, 4, 88, 0.55); box-shadow: inset 0 0 0 1px rgba(246, 216, 255, 0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.after h3 { font-size: 1.125rem; font-weight: 600; }
.steps { margin-top: 16px; counter-reset: s; }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
  counter-increment: s;
}
.steps li::before {
  content: counter(s);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
}
.steps li.is-done::before { content: ""; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23080458' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
/* Connector between steps, like clips on a track */
.steps li + li::after { content: ""; position: absolute; left: 14px; top: -6px; width: 2px; height: 12px; background: rgba(255, 255, 255, 0.2); }
.steps strong { color: var(--white); font-weight: 600; }
.after__promise { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(246, 216, 255, 0.2); color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; }
.after__promise strong { color: var(--white); }
.after__promise a { color: var(--lilac); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(96px, 12vw, 160px) 0 clamp(56px, 7vw, 96px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq__grid .lede a { color: var(--lilac); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq details:first-child { border-top: 1px solid var(--hairline); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(var(--white), var(--white)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 1.6px 12px no-repeat,
    rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--electric); }
.faq summary:hover { color: var(--lilac); }
.faq details p { max-width: 62ch; padding: 0 48px 24px 0; color: var(--text-2); }
.faq details a { color: var(--lilac); }

/* ---------- Footer ---------- */
.footer { padding: clamp(48px, 6vw, 80px) 0 clamp(96px, 10vw, 120px); border-top: 1px solid var(--hairline); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 56px; align-items: start; }
.footer__grid > img { width: 150px; height: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a { color: var(--text-2); font-size: 0.9375rem; text-decoration: none; }
.footer nav a:hover { color: var(--lilac); }
.footer__legal { grid-column: 1 / -1; max-width: 72ch; color: var(--text-3); font-size: 0.8125rem; }

/* ---------- Sticky buy bar ---------- */
.bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 6px 6px 22px;
  border-radius: var(--pill);
  background: rgba(17, 17, 20, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 24px 48px -18px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transform: translate(-50%, 140%);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bar.is-shown { transform: translate(-50%, 0); }
.bar__price { white-space: nowrap; font-size: 0.9375rem; color: var(--text-2); }
.bar__price strong { color: var(--white); font-weight: 600; }
.bar .btn { height: 46px; padding-left: 20px; padding-right: 6px; font-size: 0.9375rem; }
.bar .btn .rzp { height: 34px; }

/* ---------- Official Razorpay button in the buy section ---------- */
.rzp-official { position: relative; isolation: isolate; display: inline-block; min-height: 48px; margin-top: 30px; }
.rzp-official::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--white), var(--lilac), var(--orchid), var(--white));
  background-size: 300% 100%;
  filter: blur(18px);
  opacity: 0.75;
  pointer-events: none;
  animation: halo 3.2s ease-in-out infinite, halo-shift 7s linear infinite;
}
/* A soft ring that ripples out from the official button */
.rzp-official::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 40px;
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(246, 216, 255, 0.9);
  opacity: 0;
  pointer-events: none;
  animation: ring 2.8s ease-out infinite;
}
@keyframes ring { 0% { opacity: 0.9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.12, 1.45); } }

/* ---------- Checkout modal: Razorpay's form, framed in the brand ---------- */
html.has-modal { overflow: hidden; }
.pay {
  width: min(414px, calc(100vw - 24px)); /* Razorpay's form is 414px at most */
  height: min(780px, calc(100dvh - 24px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(246, 216, 255, 0.25), 0 40px 120px -20px rgba(53, 0, 245, 0.85);
}
.pay[open] { display: grid; grid-template-rows: auto 1fr auto; animation: pay-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.pay::backdrop { background: rgba(8, 4, 40, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 14px 16px 22px;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(164, 60, 244, 0.5), rgba(164, 60, 244, 0) 70%),
    linear-gradient(120deg, #3500f5, #1d0bb0 60%, #080458);
}
.pay__title { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.pay__title span { display: block; color: rgba(255, 255, 255, 0.75); font-size: 0.875rem; font-weight: 400; }
.pay__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  cursor: pointer;
}
.pay__close:hover { background: rgba(255, 255, 255, 0.24); }
.pay__close svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pay__body { position: relative; background: var(--white); }
.pay__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.3s ease; }
.pay.is-ready iframe { opacity: 1; }
.pay__status { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--ink-2); font-size: 0.9375rem; text-align: center; }
.pay__status a { color: var(--electric); }
.pay.is-ready .pay__status { display: none; }
.pay__foot { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; color: rgba(255, 255, 255, 0.7); font-size: 0.8125rem; }
.pay__foot svg { width: 13px; height: 13px; fill: #3395ff; }
@keyframes pay-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@media (max-width: 560px) {
  .pay { width: 100vw; height: 100dvh; border-radius: 0; }
}

/* ================= Inner pages ================= */
.page-top {
  padding: 150px 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(164, 60, 244, 0.35), rgba(164, 60, 244, 0) 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(53, 0, 245, 0.35), rgba(53, 0, 245, 0) 70%);
}
.page-top h1 { font-size: clamp(2.75rem, 7vw, 6rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.04em; }
.page-top p { max-width: 52ch; margin-top: 16px; color: var(--text-2); font-size: 1.125rem; }
.doc { max-width: 760px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }
.doc h2 { margin: 40px 0 10px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 12px; }
.doc ul { display: grid; gap: 8px; margin-top: 10px; padding-left: 1.2em; list-style: disc; }
.doc a { color: var(--lilac); }
.doc .updated { margin-bottom: 32px; color: var(--text-3); font-size: 0.875rem; }
.thanks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }
.thanks .lede + .lede { margin-top: 16px; }
.thanks a { color: var(--lilac); }
.thanks__ref strong { color: var(--white); font-weight: 500; overflow-wrap: anywhere; }
.thanks__cta { margin: 28px 0; }
.thanks__cta .btn { padding-right: 32px; }
/* Glowing button so buyers don't miss the guide */
.btn--glow { animation: sheen 4s ease-in-out infinite, glow 2.4s ease-in-out infinite; }
.btn--glow::after { inset: -6px; filter: blur(18px); opacity: 0.85; }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(164, 60, 244, 0.55), 0 14px 34px -14px rgba(53, 0, 245, 0.95); }
  50% { box-shadow: 0 0 0 10px rgba(164, 60, 244, 0), 0 14px 44px -10px rgba(107, 53, 255, 1); }
}

/* ================= Setup guide (guide-*.html) ================= */
.topbar nav > button.btn { height: 46px; padding: 0 20px; border: 0; font: inherit; font-size: 0.9375rem; cursor: pointer; }
.guide-top { padding-bottom: clamp(56px, 7vw, 88px); }
.paid {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0 0 28px !important;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: rgba(246, 216, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(246, 216, 255, 0.28);
  color: var(--white) !important;
  font-size: 0.9375rem !important;
}
.paid[hidden] { display: none; }
.paid strong { font-weight: 600; overflow-wrap: anywhere; }
.paid__dot { width: 8px; height: 8px; border-radius: 50%; background: #5ee08a; box-shadow: 0 0 0 4px rgba(94, 224, 138, 0.2); }
.eyebrow { margin: 0 0 14px !important; color: var(--lilac) !important; font-size: 0.875rem !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.facts li { padding: 7px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--hairline); color: var(--text-2); font-size: 0.875rem; }
.facts strong { color: var(--white); font-weight: 500; }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.level { display: grid; gap: 6px; align-content: start; height: 100%; padding: 24px; border-radius: 24px; color: var(--white); text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s; }
.levels li:nth-child(1) .level { background: linear-gradient(160deg, #1f1a6e, #120e4a); box-shadow: inset 0 0 0 1px rgba(107, 53, 255, 0.5); }
.levels li:nth-child(2) .level { background: linear-gradient(160deg, #3a17a8, #1d0b78); box-shadow: inset 0 0 0 1px rgba(164, 60, 244, 0.55); }
.levels li:nth-child(3) .level { background: linear-gradient(160deg, #6b35ff, #3500f5); box-shadow: inset 0 0 0 1px rgba(246, 216, 255, 0.55); }
.level:hover { transform: translateY(-3px); }
.level strong { margin-top: 18px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.level span { color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; line-height: 1.5; }
.level .level__time { margin-top: 8px; color: var(--lilac); font-size: 0.8125rem; font-weight: 500; }
.level__tag { display: inline-grid; place-items: center; justify-self: start; min-width: 38px; height: 26px; padding: 0 10px; border-radius: var(--pill); background: var(--lilac); color: var(--navy) !important; font-size: 0.8125rem !important; font-weight: 700; }
.licence { margin-top: 24px !important; color: var(--text-3) !important; font-size: 0.875rem !important; }

.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }
.toc { position: sticky; top: 96px; }
.toc__title { margin-bottom: 10px; color: var(--text-3); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.toc a { display: flex; gap: 12px; padding: 7px 0; color: var(--text-2); font-size: 0.9375rem; text-decoration: none; }
.toc a span { width: 24px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--white); }
.guide__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(64px, 8vw, 104px); max-width: 780px; }
.gsec { scroll-margin-top: 96px; }
.gsec > p, .gsec > ol, .gsec > ul, .gsec > .table, .gsec > .note, .gsec > .code, .gsec > .legend { margin-top: 16px; }
.gsec p { color: var(--text-2); }
.gsec p strong { color: var(--white); font-weight: 600; }
.gsec a { color: var(--lilac); }
.gsec code { padding: 2px 7px; border-radius: 6px; background: rgba(107, 53, 255, 0.22); color: var(--white); font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; font-size: 0.875em; overflow-wrap: anywhere; }
.gsec__n { display: flex; align-items: center; gap: 10px; margin: 0 0 8px !important; color: var(--text-3) !important; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.gsec h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; }
.gsub { margin-top: 32px; font-size: 1.125rem; font-weight: 600; }

/* Placeholder marker. Delete the tag once the real text is in. */
.demo { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: var(--pill); background: rgba(255, 196, 0, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 196, 0, 0.5); color: #ffd666; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; }

.legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.legend div { display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--hairline); font-size: 0.9375rem; }
.legend span { color: var(--text-2); }
.legend--warn strong { color: #ffd666; }

.code { overflow: hidden; border-radius: 18px; background: #0a0912; box-shadow: inset 0 0 0 1px rgba(107, 53, 255, 0.45); }
.code__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; background: rgba(53, 0, 245, 0.22); color: var(--lilac); font-size: 0.8125rem; font-weight: 600; }
.copy { height: 32px; padding: 0 16px; border: 0; border-radius: var(--pill); background: var(--electric); color: var(--white); font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.copy:hover { background: var(--violet); }
.copy.is-copied { background: var(--lilac); color: var(--navy); }
.code pre { margin: 0; padding: 18px; color: var(--white); font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace; font-size: 0.875rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }

.table { overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hairline); }
.table table { width: 100%; min-width: 520px; border-collapse: collapse; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; font-size: 0.9375rem; line-height: 1.5; }
.table thead th { background: var(--raised); color: var(--text-3); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.table tbody th { color: var(--white); font-weight: 500; }
.table td { color: var(--text-2); }
.table tbody tr > * { border-top: 1px solid var(--hairline); }

.note { padding: 20px 22px; border-radius: 18px; background: rgba(8, 4, 88, 0.55); box-shadow: inset 0 0 0 1px rgba(246, 216, 255, 0.2); }
.note > p { margin-top: 6px; color: var(--text-2); }
.os-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.os-split div { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); font-size: 0.9375rem; }
.os-split b { font-weight: 600; }
.os-split span { color: var(--text-2); }

.step { margin-top: 20px; padding: clamp(20px, 2.4vw, 28px); border-radius: 24px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--hairline); }
.gsec > .step:first-of-type, .gsec > .table + .step { margin-top: 28px; }
.step h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; }
.step__n { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 8px; border-radius: var(--pill); background: rgba(107, 53, 255, 0.28); color: var(--lilac); font-size: 0.8125rem; font-weight: 700; }
.step dl { display: grid; gap: 10px; margin: 16px 0 0; }
.step dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }
.step dt { color: var(--text-3); font-size: 0.875rem; font-weight: 600; }
.step dd { margin: 0; color: var(--text-2); }
.step .if-not dt { color: #ffd666; }
.step .code { margin-top: 18px; }
.option { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 1.0625rem; font-weight: 600; }
.option span { padding: 3px 12px; border-radius: var(--pill); background: var(--electric); font-size: 0.8125rem; font-weight: 600; }
.option em { color: var(--lilac); font-size: 0.8125rem; font-style: normal; font-weight: 500; }
.mini { display: grid; gap: 8px; margin-top: 12px; padding-left: 1.3em; list-style: decimal; color: var(--text-2); }
.mini a { color: var(--lilac); }
.mini strong, .option__lead strong { color: var(--white); font-weight: 600; }
.option__lead { margin-top: 14px; color: var(--text-2); }

.done { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 24px !important; padding: 16px 20px; border-radius: 18px; background: rgba(246, 216, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(246, 216, 255, 0.28); }
.done::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23080458' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.callout { margin-top: 20px !important; padding-left: 18px; border-left: 3px solid var(--orchid); }
.grow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.grow li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(160deg, rgba(107, 53, 255, 0.22), rgba(53, 0, 245, 0.08)); box-shadow: inset 0 0 0 1px rgba(107, 53, 255, 0.35); font-size: 0.9375rem; }
.grow span { color: var(--text-2); }

.checks { display: grid; gap: 8px; }
.checks label { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--hairline); color: var(--text-2); cursor: pointer; }
.checks input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--electric); cursor: pointer; }
.checks label:has(input:checked) { color: var(--white); }

@media (max-width: 900px) {
  .levels, .legend, .grow { grid-template-columns: 1fr; }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding: 18px 20px; border-radius: 18px; background: var(--raised); }
  .toc ol { columns: 2; column-gap: 20px; }
}
@media (max-width: 600px) {
  .topbar nav > button.btn { display: none; }
  .os-split { grid-template-columns: 1fr; }
  .step dl div { grid-template-columns: 1fr; gap: 0; }
  .table table { min-width: 0; }
  .table th, .table td { padding: 12px 14px; }
  .toc ol { columns: 1; }
}
/* Save as PDF: keep the dark brand look. Backgrounds must be forced on, or browsers drop them. */
@page { size: A4; margin: 12mm 0; }
@media print {
  *, *::before, *::after { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; animation: none !important; transition: none !important; }
  html, body { background: var(--ink) !important; }
  body { font-size: 12.5px; }
  .topbar .topbar__logo { display: block; }
  .topbar { position: static; padding: 0 14mm; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .topbar nav, .toc, .copy, .paid, .footer nav, .footer__grid > img { display: none !important; }
  .wrap { padding-left: 14mm; padding-right: 14mm; max-width: none; }
  .page-top { padding-top: 10mm; padding-bottom: 10mm; }
  .page-top h1 { font-size: 40px; }
  .levels { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .level { backdrop-filter: none; }
  .level:hover { transform: none; }
  .guide { display: block; padding-top: 6mm; padding-bottom: 6mm; }
  .guide__body { gap: 12mm; max-width: none; }
  .gsec h2 { font-size: 28px; }
  .legend, .grow { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .os-split { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .step dl div { grid-template-columns: 130px minmax(0, 1fr) !important; gap: 12px !important; }
  .step, .code, .table, .note, .legend, .done, .grow, .checks li, .os-split { break-inside: avoid; }
  .gsec h2, .gsec__n, .step h3, .option { break-after: avoid; }
  .after, .note { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .footer { padding: 8mm 0 0; }
  a { text-decoration: none; }
}

/* ================= Responsive ================= */
@media (max-width: 1000px) {
  .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel:nth-child(even) { margin-top: 0; }
  .reel:nth-child(2), .reel:nth-child(4) { transform: translateY(clamp(24px, 6vw, 56px)); }
  .reel:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); margin-top: clamp(24px, 6vw, 56px); }
  .reels { padding-bottom: clamp(24px, 6vw, 56px); }
}
@media (max-width: 900px) {
  .topbar nav > a:not(.btn) { display: none; }
  .vs__cards { grid-template-columns: 1fr; }
  .vs__card--us { order: -1; transform: none; }
  .head, .hero__foot, .inside__grid, .buy__grid, .faq__grid, .thanks { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; gap: 8px; padding: 0 0 0 18px; }
  .track::before { inset: 0 auto 0 0; width: 8px; height: auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 24px); }
  .clip, .clip:nth-child(3) { min-height: 0; padding-right: clamp(20px, 2.4vw, 32px); }
  .playhead { display: none; }
  .track::after { display: none; }
  .scale.will-play .scale__rail { transform: scaleY(0); transform-origin: center top; }
  .scale { padding-top: 0; padding-left: 36px; }
  .scale__rail { top: 0; bottom: 0; left: 6px; right: auto; width: 4px; height: auto; background: linear-gradient(180deg, rgba(107, 53, 255, 0.35), var(--orchid) 60%, var(--lilac)); }
  .scale ol { grid-template-columns: 1fr; gap: 36px; }
  .scale li, .scale li:last-child { justify-self: start; text-align: left; padding-right: 0; max-width: none; }
  .scale li::before, .scale li:last-child::before { top: 6px; left: -36px; right: auto; }
  .scale li:last-child p { margin-left: 0; }
}
@media (max-width: 600px) {
  .topbar { padding-top: 16px; }
  .topbar .btn .rzp { display: none; }
  .topbar .btn { padding-right: 20px; }
  .hero { padding-top: 104px; }
  .reel-word { transform: rotate(-3deg); }
  .hero__actions .btn { width: 100%; }
  .btn--lg { width: 100%; justify-content: space-between; }
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--margin)); padding: 0 var(--margin) 8px; scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 72%; scroll-snap-align: center; }
  .reel:nth-child(2), .reel:nth-child(4) { transform: none; }
  .faq details p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .bar { left: 12px; right: 12px; justify-content: space-between; transform: translateY(140%); }
  .bar { gap: 10px; padding-left: 16px; }
  .bar__price { min-width: 0; font-size: 0.8125rem; line-height: 1.25; }
  .bar__price strong { display: block; }
  .bar .btn { padding-left: 16px; gap: 8px; font-size: 0.875rem; }
  .bar .btn .rzp { padding: 0 10px 0 8px; font-size: 0.8125rem; }
  .bar.is-shown { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
