/* Playery's own site (7 Nov 2026): the app's look on a page. Dark like the
 * desk, light when the reader's Mac is; orange is Playery's one accent, green
 * and red keep the meaning they have in the app (cued, on the wall). */

/* Layout: one 1120px column; each feature a picture beside a few words, alternating. */
:root {
  --bg: #161617;
  --panel: #1f1f21;
  --raised: #2a2a2d;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f2f2f3;
  --muted: #a9a9ad;
  --accent: #ffd23f;
  --on-accent: #1d1700;
  --cue: #34c76f;
  --air: #ff453a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #f5f5f4;
    --panel: #ffffff;
    --raised: #ececeb;
    --line: rgba(0, 0, 0, 0.08);
    --line-2: rgba(0, 0, 0, 0.14);
    --text: #1c1c1e;
    --muted: #63636a;
    --accent: #a37c00;
    --on-accent: #ffffff;
    --cue: #1f9d55;
    --air: #e0352b;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
    color-scheme: light;
  }
}

:root[data-theme='light'] {
  --bg: #f5f5f4;
  --panel: #ffffff;
  --raised: #ececeb;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --text: #1c1c1e;
  --muted: #63636a;
  --accent: #a37c00;
  --on-accent: #ffffff;
  --cue: #1f9d55;
  --air: #e0352b;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.wrap {
  width: 100%;
  max-width: 1168px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* The bar */
.bar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--line);
}

.bar .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 15px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

/* Keys */
.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--raised);
  color: var(--text);
  font: 500 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}

.key:hover {
  filter: brightness(1.08);
}

.key.primary {
  background: var(--accent);
  color: var(--on-accent);
}

.key.small {
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 8px;
}

/* The tally: a dot and a bus name, as on the app's monitors */
.tally {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.tally::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.tally.air {
  color: var(--air);
}

.tally.cue {
  color: var(--cue);
}

.tally.accent {
  color: var(--accent);
}

/* Hero */
.hero {
  padding-block: 88px 0;
  text-align: center;
}

.hero h1 {
  max-width: 15ch;
  margin: 22px auto 0;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero .lede {
  max-width: 34ch;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px);
  text-wrap: balance;
}

.hero .keys {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero .fine {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.shot {
  margin: 64px auto 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Sections */
section {
  padding-block: 120px 0;
}

.head {
  max-width: 640px;
}

.head h2,
.feature h2 {
  margin: 16px 0 0;
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.head p,
.feature p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  max-width: 44ch;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 72px;
}

.feature.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.feature.flip .words {
  order: 2;
}

.feature .words {
  min-width: 0;
}

.feature ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
}

.feature li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.feature li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-2px);
}

.picture {
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.picture.phone {
  justify-self: center;
  width: min(100%, 320px);
  border-radius: 36px;
  border: 8px solid var(--raised);
}

/* Split: six places drawn on one wall */
.wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
  aspect-ratio: 16 / 9;
  padding: 6px;
  border-radius: 12px;
  background: #000;
  box-shadow: var(--shadow);
}

.wall span {
  position: relative;
  display: grid;
  place-items: end start;
  padding: 10px 12px;
  border-radius: 6px;
  background: #121214;
  color: #a9a9ad;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.06em;
  overflow: hidden;
}

.wall span::after {
  content: '';
  position: absolute;
  top: 46%;
  left: 50%;
  height: 46%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(214, 170, 104, 0.8);
}

.wall span:nth-child(2n)::after {
  width: 70%;
  height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  border-width: 1px 0 0;
  border-color: rgba(239, 233, 221, 0.7);
}

.wall span.big {
  grid-row: span 2;
}

.wall span.big::after {
  height: 40%;
}

/* Prepare: what goes in, what comes out */
.formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.formats div {
  padding: 24px 22px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.formats strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.formats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font: 400 14px/1.3 var(--mono);
}

/* Everything else: a grid of equal cards */
.more {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.more div {
  min-width: 0;
  padding: 22px 20px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.more strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.more span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin-top: 48px;
}

.plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px 28px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.plan.paid {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}

.plan h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.plan .price {
  margin-top: 14px;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan .price small {
  margin-left: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

.plan ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.plan li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.plan li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-2px);
}

.plan li.no {
  color: var(--muted);
}

.plan li.no::before {
  width: 8px;
  height: 1.5px;
  border-radius: 0;
  background: var(--muted);
  transform: translateY(-4px);
}

.plan .key {
  margin-top: auto;
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

/* Download */
.download {
  padding-block: 140px 120px;
  text-align: center;
}

.download img {
  width: 112px;
  height: 112px;
  margin: 0 auto;
}

.download h2 {
  margin: 26px 0 0;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.download p {
  margin: 12px 0 0;
  color: var(--muted);
}

.download .keys {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* Foot */
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  padding-block: 28px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

/* What's new */
.notes {
  max-width: 720px;
  padding-block: 80px 40px;
}

.notes h1 {
  margin: 18px 0 0;
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.release {
  padding-block: 44px;
  border-bottom: 1px solid var(--line);
}

.release h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.release time {
  color: var(--muted);
  font: 400 14px/1 var(--mono);
}

.release ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.release li::marker {
  color: var(--accent);
}

@media (max-width: 900px) {
  .feature,
  .feature.flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .feature.flip .words {
    order: 0;
  }

  .more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  section {
    padding-block: 96px 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav a:not(.keep) {
    display: none;
  }

  .hero {
    padding-block: 56px 0;
  }

  .shot {
    margin-top: 44px;
    border-radius: 10px;
  }

  .plans,
  .formats {
    grid-template-columns: minmax(0, 1fr);
  }

  .more {
    grid-template-columns: minmax(0, 1fr);
  }

  .wall span {
    font-size: 9px;
    padding: 6px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .key {
    transition: filter 0.15s;
  }
}

/* Where it plays: six rooms, one picture each */
.uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.uses figure {
  position: relative;
  margin: 0;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.uses img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.uses figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 2px;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  color: #f2f2f3;
}

.uses strong {
  font-size: 17px;
  font-weight: 600;
}

.uses span {
  color: rgba(242, 242, 243, 0.75);
  font-size: 14px;
}

video.shot {
  display: block;
  width: 100%;
  height: auto;
  background: #1c1c1e;
}

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

@media (max-width: 560px) {
  .uses {
    grid-template-columns: minmax(0, 1fr);
  }
}
