/* Just Black Screen's own site. Black and white on a white page, like ashsoft.us:
   hierarchy from size and two greys, never from colour. No web fonts. */

:root {
  --ink: #000;
  --body: #545454;
  --mute: #6b6b6b;
  --surface: #fafafa;
  --surface-2: #f0f0f0;
  --line: rgb(0 0 0 / 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(12px);
}
.bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.bar nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}
.bar nav a.link {
  color: var(--mute);
  text-decoration: none;
}
.bar nav a.link:hover {
  color: var(--ink);
}

/* Pill buttons: black for the main action, light grey for the other. */
.button {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.button:hover {
  background: #2a2a2a;
}
.button.soft {
  background: var(--surface-2);
  color: var(--ink);
}
.button.soft:hover {
  background: #e6e6e6;
}
.button.small {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}
/* Not a button: something that is not out yet. */
.pill {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--mute);
  font-size: 15px;
  font-weight: 500;
}

/* Type */
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
}
h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
h2 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.lead {
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--body);
}
.note {
  font-size: 14px;
  color: var(--mute);
}
p {
  margin: 0;
}

/* Sections */
.hero {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 96px;
  text-align: center;
}
.hero img {
  margin: 0 auto;
}
.hero .eyebrow {
  margin-top: 32px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--mute);
}
.hero h1 {
  margin-top: 8px;
}
.hero .lead {
  max-width: 560px;
  margin: 20px auto 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.hero .note {
  margin-top: 16px;
}
.shot {
  margin-top: 64px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  box-shadow: inset 0 0 0 1px var(--line);
}
.story {
  max-width: 640px;
  margin: 80px auto 0;
}
.story p + p {
  margin-top: 24px;
}
section.block {
  margin-top: 128px;
}
section.block > h2 {
  margin-bottom: 40px;
}
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.card p {
  margin-top: 8px;
  color: var(--body);
}
.price {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.price .amount {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.price ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--body);
}
.price li {
  display: flex;
  gap: 12px;
}
.price li + li {
  margin-top: 12px;
}
.price li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.7em;
  border-radius: 50%;
  background: var(--ink);
}
.faq {
  margin: 0;
  border-top: 1px solid var(--line);
}
.faq div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.faq dt {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq dd {
  margin: 0;
  color: var(--body);
}
.help {
  padding: 80px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}
.help .lead {
  max-width: 480px;
  margin: 16px auto 0;
}
.help .actions {
  margin-top: 32px;
}
.text-link {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
.text-link:hover {
  text-decoration-color: var(--ink);
}

/* Footer */
footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--mute);
}
footer nav {
  display: flex;
  gap: 20px;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--ink);
}

/* Terms and privacy: one narrow column of text */
.legal {
  max-width: 680px;
  margin: 0 auto;
  padding-top: 96px;
  color: var(--body);
}
.legal h1 {
  font-size: 36px;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.legal .note {
  margin-top: 12px;
}
.legal section {
  margin-top: 40px;
}
.legal h2 {
  margin-bottom: 16px;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.legal p + p {
  margin-top: 16px;
}
.legal ul {
  margin: 0;
  padding-left: 20px;
}
.legal li + li {
  margin-top: 8px;
}

@media (max-width: 809px) {
  h1,
  .price .amount {
    font-size: 40px;
  }
  h2 {
    font-size: 28px;
  }
  .hero {
    padding-top: 64px;
  }
  .bar nav a.link {
    display: none;
  }
  .grid,
  .price,
  .faq div {
    grid-template-columns: 1fr;
  }
  .faq div {
    gap: 8px;
  }
  .price {
    padding: 32px;
  }
  section.block {
    margin-top: 96px;
  }
}
@media (min-width: 810px) and (max-width: 1199px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 810px) {
  .wrap {
    padding: 0 40px;
  }
}
