/* Firstake Studio: shared styles for the landing page, /v/ preview pages and 404 */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url(/assets/fonts/bricolage-grotesque.woff2) format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url(/assets/fonts/dm-sans.woff2) format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --plum: #652A40;
  --cream: #ECE2D0;
  --rose: #A26769;
  --blush: #D5B9B2;
  --mist: #CEBEBE;
  --muted: #7A4A58;
  --line: rgba(101, 42, 64, 0.3);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  font-family: var(--body);
  color: var(--plum);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.display { font-family: var(--display); font-weight: 700; }

.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
}
.btn-plum { background: var(--plum); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--plum); }
.btn-outline { border: 2px solid var(--plum); color: var(--plum); }
.btn:hover { filter: brightness(1.06); }
.btn-outline:hover { background: rgba(101, 42, 64, 0.07); filter: none; }

/* ---------- Landing: header ---------- */
.site-header {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-header .home { display: block; padding: 6px 0; }
.site-header .home img { width: clamp(180px, 15vw, 210px); height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; margin: 0 -10px; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--plum);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Landing: hero ---------- */
.hero {
  padding-top: clamp(24px, 5vw, 72px);
  padding-bottom: clamp(56px, 8vw, 120px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero .lede { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 32ch; }
.hero .note { margin: 4px 0 0; font-size: 15px; line-height: 1.4; }

.hero-art { position: relative; padding: 0 clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 22px) 0; }
.hero-art::before {
  content: '';
  position: absolute;
  top: clamp(14px, 1.6vw, 22px);
  left: clamp(14px, 1.6vw, 22px);
  right: 0;
  bottom: 0;
  background: var(--rose);
  border-radius: 20px;
}
.hero-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--plum);
}
.hero-frame .stripes { position: absolute; left: -60px; top: 0; width: 75%; height: 100%; opacity: 0.16; }
.hero-frame .mark {
  position: absolute;
  right: 9%;
  top: 50%;
  height: 54%;
  width: auto;
  transform: translateY(-50%);
}

/* ---------- Landing: how it works ---------- */
.how { padding-bottom: clamp(64px, 9vw, 128px); display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.steps li {
  background: var(--blush);
  border-radius: 20px;
  padding: clamp(24px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
}
.steps li:nth-child(2) { background: var(--mist); }
.steps .num { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 0.9; letter-spacing: -0.04em; }
.steps p { margin: 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; font-weight: 600; }

/* ---------- Landing: price ---------- */
.price {
  padding-top: 0; /* the Examples band that sat above it in the design is held back for now */
  padding-bottom: clamp(56px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--mist);
  border-radius: 20px;
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan.featured { background: var(--plum); color: var(--cream); }
.plan.season { background: var(--blush); }
.plan h3 { margin: 0; font-weight: 600; font-size: 17px; }
.plan .amount { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
  line-height: 1.4;
  flex: 1;
}
.plan .btn { min-height: 52px; font-size: 16px; padding: 0 20px; }
.no-contracts { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; }
.fine { margin: -12px 0 0; font-size: 15px; line-height: 1.55; max-width: 62ch; }

/* ---------- Landing: FAQ ---------- */
.faq {
  padding-bottom: clamp(64px, 9vw, 128px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; border-top: 2px solid var(--plum); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 1.6vw, 22px);
  letter-spacing: -0.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; }
.faq-list details[open] .vbar { display: none; }
.faq-list p { margin: 0 0 20px; font-size: 17px; line-height: 1.55; }

/* ---------- Landing: contact ---------- */
.contact { padding-bottom: clamp(48px, 6vw, 80px); }
.contact-card {
  position: relative;
  overflow: hidden;
  background: var(--plum);
  color: var(--cream);
  border-radius: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.contact-copy {
  flex: 999 1 460px;
  min-width: 0;
  padding: clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}
.contact-email {
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 44px);
  letter-spacing: -0.03em;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}
.contact-art { flex: 1 1 240px; position: relative; min-height: clamp(200px, 24vw, 340px); }
.contact-art img { position: absolute; right: clamp(-20px, -2vw, 0px); bottom: -34%; height: 125%; width: auto; }

/* ---------- Landing: footer ---------- */
.site-footer {
  padding-top: 28px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.site-footer .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--plum); }
.site-footer .brand img { width: 22px; height: auto; }

/* ---------- /v/ preview page ---------- */
.screen { background: var(--plum); color: var(--cream); border-radius: 0 0 28px 28px; }
.screen-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 56px) clamp(36px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3vw, 44px);
}
.screen-header { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.screen-header img { width: clamp(180px, 14vw, 200px); height: auto; }
.screen-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(26px, 4vw, 56px); }

.player { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.slate {
  display: flex;
  align-items: stretch;
  height: 46px;
  background: var(--cream);
  color: var(--plum);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.slate svg { flex: none; }
.slate-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  min-width: 0;
}
.slate-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slate-take { font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; flex: none; }
.frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--rose);
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.frame video { width: 100%; height: 100%; object-fit: cover; }
.sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--plum);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(40, 12, 22, 0.35);
}
.sound .on { display: none; }
.sound[aria-pressed="true"] .on { display: contents; }
.sound[aria-pressed="true"] .off { display: none; }
.sound .off { display: contents; }

.pitch { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pitch-text { display: flex; flex-direction: column; gap: 12px; }
.hello { margin: 0; font-weight: 600; font-size: 16px; opacity: 0.85; }
.pitch h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.pitch-text p.sub { margin: 0; font-size: 18px; line-height: 1.5; }
.pitch-cta { display: flex; flex-direction: column; gap: 10px; }
.pitch-cta .btn { display: flex; min-height: 58px; font-size: 18px; }
.pitch-cta .or { margin: 0; font-size: 14px; line-height: 1.5; text-align: center; }
.pitch-cta .or a { color: var(--cream); font-weight: 600; text-underline-offset: 3px; }

.v-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(36px, 4vw, 64px) clamp(20px, 4vw, 56px) 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px clamp(28px, 4vw, 56px);
}
.v-prices { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.v-prices h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -0.03em; }
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--blush);
  border-radius: 20px;
  padding: 6px clamp(20px, 2.4vw, 32px) 18px;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(101, 42, 64, 0.25);
}
.price-row:last-of-type { border-bottom: 0; }
.price-row div { display: flex; flex-direction: column; gap: 4px; }
.price-row .name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.price-row .desc { font-size: 15px; line-height: 1.4; }
.price-row .amt { font-family: var(--display); font-weight: 700; font-size: 24px; }
.price-card .no-contracts-sm { margin: 6px 0 0; font-weight: 600; font-size: 16px; }
.v-fine { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

.v-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-top: clamp(0px, 4.4vw, 58px); }
.v-side .btn { display: flex; }
.v-side .more {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--plum);
  font-weight: 600;
  font-size: 17px;
  text-underline-offset: 4px;
}
.v-side .optout { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

.v-footer {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(101, 42, 64, 0.2);
  font-size: 13px;
  color: var(--muted);
}
.v-footer img { width: 22px; height: auto; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.lost > .wrap { width: 100%; }
.lost-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  padding-top: 40px;
  padding-bottom: 80px;
}
.lost-card .code { font-family: var(--display); font-weight: 700; font-size: clamp(96px, 16vw, 200px); line-height: 0.9; letter-spacing: -0.05em; color: var(--rose); }
.lost-card h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.035em; }
.lost-card p { margin: 0; font-size: 18px; line-height: 1.55; max-width: 44ch; }
.lost-actions { display: flex; flex-wrap: wrap; gap: 12px; }
