/* StarVideo landing. Palette is the app's: slate-to-black gradient, one gold. */

@font-face {
  font-family: "Lora";
  src: url("fonts/lora-var.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-semibold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

:root {
  --slate: #2b2e3a;
  --black: #000000;
  --gold: #f7b90f;
  --gold-deep: #c98f00;
  --text: #eceef3;
  --muted: #a0a0aa;
  --line: #3a3d4b;
  --panel: #16171c;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--black);
  background-image: linear-gradient(180deg, var(--slate) 0, var(--black) 900px);
  background-repeat: no-repeat;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: #1a1400;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 10;
}
.skip:focus { left: 8px; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.2px;
}
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 96px;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.7vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  text-wrap: balance;
}
.hero .lead {
  margin: 24px 0 0;
  max-width: 30em;
  font-size: 19px;
  color: #c9cbd4;
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 176px;
  padding: 10px 22px;
  border: 1px solid #5a5e70;
  border-radius: 12px;
  background: #0d0e12;
  text-decoration: none;
  line-height: 1.2;
}
.store small { font-size: 12px; color: var(--muted); }
.store strong { font-size: 19px; font-weight: 600; letter-spacing: 0.2px; }
.store:hover { border-color: var(--gold); }

/* Phone: a video greeting, the thing the product makes */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 18.4;
  padding: 11px;
  border-radius: 44px;
  background: #07080b;
  border: 1px solid #4b4f61;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(180deg, #3b3e4d 0%, #14151a 60%, #0a0a0d 100%);
}
.screen .star {
  position: absolute;
  left: 50%;
  top: 41%;
  width: 62%;
  transform: translate(-50%, -50%);
}
.cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 54px;
}
.cap b {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.cap span { display: block; margin-top: 4px; font-size: 14px; color: #c9cbd4; }
.bar {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 28px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform-origin: left;
  animation: play 9s linear 0.6s both;
}
@keyframes play {
  from { transform: scaleX(0.04); }
  to { transform: scaleX(0.82); }
}

/* Sections */
.section { padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.section h2 {
  margin: 0 0 40px;
  max-width: 18em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.3px;
  text-wrap: balance;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 32px 0 0;
  counter-increment: step;
}
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
  font-weight: 500;
  color: var(--gold);
}
.steps h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; }
.steps p { margin: 0; color: #c0c2cc; font-size: 16px; }

.artists {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.artists h2 { margin-bottom: 0; }
.artists p { margin: 0 0 14px; color: #c9cbd4; }
.artists .stores { margin-top: 28px; }

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: #c0c2cc; max-width: 40em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-top: 36px; padding-bottom: 48px; color: var(--muted); font-size: 14px; }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }

/* Document pages (privacy, terms, support) */
.doc { max-width: 760px; padding-top: 24px; padding-bottom: 80px; }
.doc h1 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.4px;
}
.doc .date { margin: 0 0 40px; color: var(--muted); font-size: 15px; }
.doc h2 {
  margin: 44px 0 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
}
.doc p, .doc li { color: #d3d5de; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--gold); text-underline-offset: 3px; }
.doc .todo {
  background: rgba(247, 185, 15, 0.16);
  color: #ffd766;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.doc .contact {
  margin: 28px 0 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.doc .contact p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 32px; padding-bottom: 64px; }
  .phone { max-width: 260px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li, .steps li + li { padding: 0; border-left: 0; }
  .steps li + li { padding-top: 36px; border-top: 1px solid var(--line); }
  .artists { grid-template-columns: 1fr; gap: 24px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 640px) {
  .nav a:not(:last-child) { display: none; }
}
@media (max-width: 520px) {
  :root { --gutter: 20px; }
  .store { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar i { animation: none; transform: scaleX(0.82); }
}
