/* suubbs — landing page */

/* ================= nav ================= */

/* floating island — contained, detached from the top edge */
.nav {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(1160px, 100% - 2 * clamp(14px, 4vw, 40px));
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 9px 9px 9px 15px;
  background: color-mix(in srgb, var(--paper) 76%, transparent);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  box-shadow: 0 1px 2px rgba(23, 22, 26, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.25s ease,
    background-color 0.25s ease, width 0.4s var(--ease-out);
}

.nav.scrolled {
  width: min(1040px, 100% - 2 * clamp(14px, 4vw, 40px));
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 9px 14px;
  border-radius: var(--pill);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover { color: var(--ink); background: var(--paper-2); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ================= hero ================= */

.hero {
  padding: clamp(56px, 9vh, 110px) clamp(20px, 4vw, 48px) clamp(40px, 6vh, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero .chip { margin-bottom: 28px; }

.hero h1 {
  font-size: clamp(46px, 8.5vw, 108px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 13ch;
}

.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) scale(0.96);
  animation: word-in 0.7s var(--ease-spring) forwards;
  animation-delay: calc(var(--i) * 130ms + 150ms);
}

.hero h1 .cue-box {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 0.02em 0.22em 0.08em;
  border-radius: 0.14em;
  transform: rotate(-1.2deg);
}

@keyframes word-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero .sub {
  margin-top: 26px;
  max-width: 56ch;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 0.9s forwards;
}

.hero .cta-row {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 1.05s forwards;
}

.hero .cta-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-3);
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 1.2s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- hero demo frame ---- */

.hero-demo {
  position: relative;
  width: min(980px, 100%);
  margin-top: clamp(40px, 6vh, 64px);
  opacity: 0;
  animation: demo-in 1s var(--ease-out) 1.15s forwards;
}

@keyframes demo-in {
  from { opacity: 0; transform: translateY(34px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.demo-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(10px, 1.6vw, 18px);
  box-shadow: var(--shadow-lift);
}

.demo-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--r-l) - 8px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 8%, #2e2a45 0%, transparent 55%),
    radial-gradient(110% 90% at 88% 16%, #1d3a52 0%, transparent 55%),
    radial-gradient(130% 110% at 50% 110%, #47265a 0%, transparent 60%),
    #141320;
}

.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-stage::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(38% 34% at 30% 36%, color-mix(in srgb, var(--accent) 52%, transparent) 0%, transparent 70%),
    radial-gradient(30% 30% at 72% 30%, color-mix(in srgb, var(--coral) 38%, transparent) 0%, transparent 70%),
    radial-gradient(34% 32% at 62% 74%, color-mix(in srgb, var(--sky) 34%, transparent) 0%, transparent 70%);
  filter: blur(38px);
  animation: blob-drift 16s ease-in-out infinite alternate;
}

@keyframes blob-drift {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(24deg) scale(1.18); }
}

.demo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 16, 0.55), transparent 34%);
}

/* the cycling caption */
.demo-cap {
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  z-index: 3;
  max-width: 84%;
  text-align: center;
  font-size: clamp(15px, 2.6vw, 27px);
  transition: opacity 0.22s ease, transform 0.34s var(--ease-spring);
}

.demo-cap.out { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.94); }

/* caption looks — shared with marquee chips */
.cap-classic { font-family: var(--font-ui); font-weight: 600; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65); }
.cap-boxed { font-family: var(--font-ui); font-weight: 600; color: #fff; background: rgba(12, 11, 16, 0.92); padding: 0.3em 0.62em; border-radius: 0.28em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.cap-pop { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: #fff; text-shadow: 2px 2px 0 #17161a, -2px 2px 0 #17161a, 2px -2px 0 #17161a, -2px -2px 0 #17161a, 0 4px 18px rgba(0,0,0,.45); }
.cap-lime { font-family: var(--font-ui); font-weight: 700; color: var(--ink); background: var(--lime); padding: 0.28em 0.6em; border-radius: 0.26em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.cap-mono { font-family: var(--font-mono); font-weight: 500; font-size: 0.86em; color: #d9fdb4; background: rgba(10, 9, 14, 0.85); padding: 0.34em 0.7em; border-radius: 0.22em; }
.cap-film { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: 0.08em; color: #f3efe4; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); }

/* mini timeline under the stage */
.demo-timeline {
  position: relative;
  margin-top: clamp(10px, 1.6vw, 16px);
  height: 46px;
  border-radius: var(--r-s);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.demo-timeline .cue {
  position: absolute;
  top: 9px;
  bottom: 9px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 16%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--accent) 44%, transparent);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring);
}

.demo-timeline .cue.on {
  background: color-mix(in srgb, var(--accent) 82%, #fff);
  border-color: var(--accent);
  transform: scaleY(1.12);
}

.demo-timeline .playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink);
  animation: sweep var(--demo-loop, 15.6s) linear infinite;
}

.demo-timeline .playhead::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -4px;
  border: 5px solid transparent;
  border-top-color: var(--ink);
}

@keyframes sweep {
  from { left: 0%; }
  to { left: 100%; }
}

/* floating format chips around the demo */
.float-chip {
  position: absolute;
  z-index: 4;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  box-shadow: var(--shadow-lift);
  padding: 9px 15px;
  font-size: 12.5px;
  font-weight: 600;
  animation: bob 5.4s ease-in-out infinite;
}

.float-chip.mono { font-family: var(--font-mono); font-weight: 500; }
.fc-1 { top: -18px; left: 5%; animation-delay: 0.2s; rotate: -4deg; }
.fc-2 { top: 12%; right: -14px; animation-delay: 1.3s; rotate: 3deg; color: var(--accent); }
.fc-3 { bottom: 20%; left: -18px; animation-delay: 2.2s; rotate: -2deg; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 720px) {
  .fc-2, .fc-3 { display: none; }
}

/* ================= marquee ================= */

.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--paper-2);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee .m-chip {
  flex: none;
  font-size: 15px;
  border-radius: 0.4em;
  padding: 0.42em 0.75em;
}

/* readable variants of caption looks on light bg */
.marquee .cap-classic { color: var(--ink); text-shadow: none; font-weight: 600; border: 1px solid var(--line-strong); background: var(--paper); }
.marquee .cap-boxed { background: var(--ink); }
.marquee .cap-pop { color: #fff; text-shadow: 1.5px 1.5px 0 #17161a, -1.5px 1.5px 0 #17161a, 1.5px -1.5px 0 #17161a, -1.5px -1.5px 0 #17161a; }
.marquee .cap-mono { background: var(--ink); color: #d9fdb4; }
.marquee .cap-film { color: var(--ink); text-shadow: none; }
.marquee .cap-coral { font-weight: 700; color: #fff; background: var(--coral); }
.marquee .cap-sky { font-weight: 700; color: var(--ink); background: var(--sky); }

/* ================= shared section scaffolding ================= */

.section {
  padding: clamp(72px, 11vh, 140px) clamp(20px, 4vw, 48px);
  max-width: 1160px;
  margin: 0 auto;
}

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vh, 56px); }

.section-head h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-top: 14px;
}

.section-head .lede {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 52ch;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.reveal.in { opacity: 1; transform: none; }

/* ================= features (hairline grid) ================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
}

@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--paper);
  padding: 30px 28px 34px;
  transition: background-color 0.25s ease;
}

.feature:hover { background: var(--paper-2); }

.feature .ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease-spring), background-color 0.25s ease, color 0.25s ease;
}

.feature:hover .ico { transform: rotate(-6deg) scale(1.1); background: var(--ink); color: var(--lime); }

.feature h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.feature p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ================= looks gallery ================= */

.looks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 860px) { .looks-grid { grid-template-columns: 1fr; } }

.look-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}

.look-card:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

.look-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #141320;
}

.look-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.look-card:hover .look-media img { transform: scale(1.04); }

.look-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 16, 0.42), transparent 36%);
}

.look-cap {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  font-size: clamp(12px, 1.5vw, 15.5px);
  border-radius: 0.28em;
}

.look-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  font-size: 13.5px;
}

.look-card figcaption .mono { font-size: 10.5px; color: var(--ink-3); }

/* ================= statement (scroll-fill words) ================= */

.statement {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(64px, 10vh, 120px) clamp(20px, 4vw, 48px);
  text-align: center;
}

.statement p {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.statement .sw { color: var(--ink-3); transition: color 0.35s ease; }
.statement .sw.lit { color: var(--ink); }
.statement .sw.hl.lit { background: var(--lime); border-radius: 0.14em; padding: 0 0.12em; }

/* ================= studio preview ================= */

.studio { background: var(--paper-2); border-block: 1px solid var(--line); }

.studio-mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.mock-topbar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--card); border: 1px solid var(--line-strong); }
.mock-topbar .bar-title { margin-left: 10px; font-size: 12px; color: var(--ink-3); font-weight: 500; }

.mock-cols {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.78fr;
  gap: 1px;
  background: var(--line);
  min-height: 320px;
}

@media (max-width: 760px) { .mock-cols { grid-template-columns: 1fr; } }

.mock-col { background: var(--paper); padding: 14px; display: flex; flex-direction: column; gap: 10px; }

.mock-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mock-player {
  flex: 1;
  border-radius: var(--r-s);
  background:
    radial-gradient(100% 80% at 20% 10%, #2e2a45 0%, transparent 60%),
    radial-gradient(120% 100% at 80% 90%, #47265a 0%, transparent 55%),
    #141320;
  position: relative;
  min-height: 170px;
  overflow: hidden;
}

.mock-player .mp-cap {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12.5px;
}

.mock-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.mock-row .t { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-3); }

.mock-row.on {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--paper));
  color: var(--ink);
}

.mock-ctl { display: flex; flex-direction: column; gap: 6px; }
.mock-ctl .lab { font-size: 10px; font-weight: 600; color: var(--ink-3); }
.mock-ctl .track { height: 6px; border-radius: 99px; background: var(--card); position: relative; }
.mock-ctl .track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--ink); width: var(--v, 50%); transition: width 0.6s var(--ease-out); }
.mock-swatches { display: flex; gap: 6px; }
.mock-swatches b { width: 20px; height: 20px; border-radius: 7px; border: 1px solid var(--line-strong); }

/* steps under the mock */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vh, 64px);
}

@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.step .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  display: block;
  margin-bottom: 10px;
}

.step h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin-top: 7px; font-size: 14.5px; color: var(--ink-2); }

/* ================= CTA band ================= */

.cta-band-wrap { padding: clamp(72px, 11vh, 140px) clamp(20px, 4vw, 48px); max-width: 1160px; margin: 0 auto; }

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--r-l) + 8px);
  padding: clamp(56px, 9vh, 110px) clamp(24px, 5vw, 72px);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(30% 26% at 22% 30%, color-mix(in srgb, var(--accent) 55%, transparent) 0%, transparent 70%),
    radial-gradient(26% 24% at 80% 24%, color-mix(in srgb, var(--coral) 34%, transparent) 0%, transparent 70%),
    radial-gradient(30% 30% at 66% 82%, color-mix(in srgb, var(--sky) 26%, transparent) 0%, transparent 70%);
  filter: blur(48px);
  animation: blob-drift 18s ease-in-out infinite alternate;
}

.cta-band > * { position: relative; }

.cta-band h2 {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.cta-band .cap-line {
  margin: 22px auto 0;
  display: inline-block;
  font-size: 15px;
}

.cta-band .btn-invert {
  margin-top: 34px;
  background: #fff;
  color: var(--ink);
}

.cta-band .btn-invert:hover { transform: scale(1.05); }

/* ================= footer ================= */

.footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vh, 64px) clamp(20px, 4vw, 48px) 40px; }

.footer-inner { max-width: 1160px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer .tag { margin-top: 14px; font-size: 14px; color: var(--ink-2); max-width: 30ch; }

.footer-cols { display: flex; gap: clamp(32px, 6vw, 88px); flex-wrap: wrap; }
.footer-cols h4 { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { font-size: 14.5px; color: var(--ink-2); transition: color 0.2s ease; }
.footer-cols a:hover { color: var(--ink); }

.footer-bottom {
  margin-top: clamp(36px, 5vh, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-3);
}

.footer-bottom .easter {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 10px;
}

/* ================================================================
   Pricing
   ================================================================
   Two cards, deliberately unequal. The paid one carries the ink
   border and the display-weight figure; the free one is quieter and
   states its own limits rather than hiding them. A trial that lies
   about where it stops converts once and refunds twice.
   ---------------------------------------------------------------- */

.buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.buy-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.buy-card:hover { transform: translateY(-3px); }
.buy-card.featured { border: 1.5px solid var(--ink); }

.buy-head { margin-bottom: 22px; }

.buy-head h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.buy-price {
  font-family: var(--font-display, "Inter Tight", Inter, sans-serif);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
}

.buy-price .cur { font-size: 28px; vertical-align: super; letter-spacing: 0; }
.buy-price .cents { font-size: 28px; letter-spacing: -0.02em; }
.buy-price.free { color: var(--ink-3); }

.buy-once {
  font-size: 13px;
  color: var(--ink-3);
  margin: 10px 0 0;
}

.buy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex: 1;
}

.buy-list li {
  position: relative;
  padding: 0 0 0 24px;
  margin-bottom: 11px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* A tick for what you get, a dash for what you don't. The shape carries
   the meaning, so this still reads correctly without colour. */
.buy-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}

.buy-list li.muted { color: var(--ink-3); }

.buy-list li.muted::before {
  top: 10px;
  width: 10px;
  height: 0;
  border-left: 0;
  border-bottom: 1.5px solid var(--line-strong);
  transform: none;
}

.btn-buy {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.buy-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 14px 0 0;
  text-align: center;
}

.buy-note.is-error { color: var(--coral); }

@media (max-width: 640px) {
  .buy-card { padding: 28px 22px 24px; }
  .buy-price { font-size: 46px; }
}

/* ================================================================
   Utility pages (thanks, download)
   ================================================================
   One narrow column, no hero. These are read once, under mild
   stress — someone has just paid, or a link has failed — so the
   job is legibility and an obvious next action, nothing else.
   ---------------------------------------------------------------- */

.page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
}

.page-card {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.page-card h1 {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 12px 0 16px;
}

.page-card .lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 auto 28px;
  max-width: 44ch;
}

.page-card .btn-buy { max-width: 340px; margin: 0 auto; }

.page-next {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.page-next h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
}

.page-steps {
  margin: 0;
  padding-left: 1.15em;
  color: var(--ink-2);
}

.page-steps li {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 4px;
}

.spinner {
  width: 26px;
  height: 26px;
  margin: 32px auto 0;
  border: 2px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Someone who has turned motion down still needs to know it is working. */
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 2.4s; }
}

/* ================= hero: what this actually is ================= *
 *
 * A visitor who lands cold needs three facts before the headline earns its
 * keep: it is a subtitle studio, it is a Mac app, and it runs on their own
 * machine. Stated plainly above the wordplay rather than left for them to
 * infer from a video.
 */

.hero-what {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  opacity: 0;
  animation: fade-up 0.7s var(--ease-out) 0.15s forwards;
}

.hero-what-item { display: inline-flex; align-items: center; gap: 8px; }

/* A separating dot, drawn rather than typed so it never wraps alone. */
.hero-what-item + .hero-what-item::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: var(--pill);
  background: var(--line-strong);
}

.hero .sub strong { color: var(--ink); font-weight: 600; }

/* ================= the studio, shown after it is explained ================= *
 *
 * The demo used to live inside the hero. It moved down so the first screen can
 * say what the product is; this section is where it gets demonstrated.
 */

.demo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.demo-section .studio-mock,
.demo-section .hero-demo {
  width: min(980px, 100%);
  margin-top: clamp(32px, 5vh, 52px);
}

/* The captioned loop now lives in the lower section, which is a plain block
   rather than the centring flex column the upper one is. */
.studio .hero-demo { margin-inline: auto; }

.demo-section-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(28px, 4vh, 44px);
}
