@font-face {
  font-family: "Mona Sans";
  src: url("/assets/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #f1f2ee;
  --surface: #ffffff;
  --ink: #16182e;
  --muted: #565a6e;
  --rule: #d3d5cc;
  --rec: #d8352a;
  --mark: #16182e;
  --focus: #2b59c3;
  --measure: 34rem;
  --wide: 74rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #13152a;
    --surface: #1c1f38;
    --ink: #eceee6;
    --muted: #a6a9ba;
    --rule: #34385a;
    --rec: #ff5a4e;
    --mark: #eceee6;
    --focus: #8fb0ff;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ground: #13152a;
  --surface: #1c1f38;
  --ink: #eceee6;
  --muted: #a6a9ba;
  --rule: #34385a;
  --rec: #ff5a4e;
  --mark: #eceee6;
  --focus: #8fb0ff;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Mona Sans", ui-sans-serif, system-ui, sans-serif;
  font-stretch: 100%;
  font-weight: 420;
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(var(--wide), 100% - 2rem); margin-inline: auto; }

/* Masthead */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.25rem;
}
.wordmark {
  font-stretch: 125%; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem;
}
.wordmark svg { width: 1.35rem; height: 1.35rem; flex: none; }
.top nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); text-decoration: underline; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem);
  align-items: center; padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}
h1, h2, h3 { font-stretch: 125%; font-weight: 800; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); line-height: 0.96; max-width: 12ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: var(--measure); margin: 1.6rem 0 0; }
.status { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; margin: 0 0 1.4rem; }
.status::before {
  content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--rec);
  animation: rec 1.6s ease-in-out infinite;
}
@keyframes rec { 50% { opacity: 0.25; } }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 2.2rem; }
.btn {
  display: inline-block; background: var(--ink); color: var(--ground); text-decoration: none;
  font-weight: 650; padding: 0.9rem 1.4rem; border-radius: 999px; font-size: 1rem;
}
.btn:hover { text-decoration: underline; }
.link { font-weight: 600; }

/* Viewfinder: the one recurring device. Corner marks frame every film. */
.viewfinder { position: relative; padding: 14px; }
.viewfinder::before, .viewfinder::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  --l: 26px; --t: 2px;
  background:
    linear-gradient(var(--mark), var(--mark)) top left / var(--l) var(--t),
    linear-gradient(var(--mark), var(--mark)) top left / var(--t) var(--l),
    linear-gradient(var(--mark), var(--mark)) top right / var(--l) var(--t),
    linear-gradient(var(--mark), var(--mark)) top right / var(--t) var(--l);
  background-repeat: no-repeat;
}
.viewfinder::after { transform: scaleY(-1); }
.viewfinder video { display: block; width: 100%; height: auto; background: #000; border-radius: 3px; }
.hero .viewfinder { max-width: 22rem; justify-self: end; width: 100%; }
.caption { font-size: 0.9rem; color: var(--muted); margin: 0.6rem 14px 0; max-width: 40rem; }

/* Sections */
section { padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--rule); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.02; max-width: 18ch; }
.intro { color: var(--muted); max-width: var(--measure); margin: 1rem 0 0; }

.offers { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2.6rem; }
.offer { padding-right: clamp(1.5rem, 4vw, 3.5rem); }
.offer + .offer { padding-right: 0; padding-left: clamp(1.5rem, 4vw, 3.5rem); border-left: 1px solid var(--rule); }
h3 { font-size: 1.45rem; line-height: 1.1; }
.offer p { max-width: var(--measure); }
.offer ul { padding-left: 1.1rem; margin: 1rem 0 0; max-width: var(--measure); }
.offer li + li { margin-top: 0.35rem; }
.prices { margin: 1.6rem 0 0; border-top: 1px solid var(--rule); }
.prices div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
.prices dt { color: var(--muted); }
.prices dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

.steps { list-style: none; padding: 0; margin: 2.6rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-stretch: 125%; font-weight: 800; font-size: 2rem; line-height: 1; margin-bottom: 0.8rem; }
.steps strong { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.terms { margin: 2rem 0 0; color: var(--muted); max-width: 44rem; }

.sample { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.4rem; align-items: start; }
.sample-notes p { margin: 0 0 1rem; max-width: var(--measure); }
.sample-notes p:last-child { margin-bottom: 0; }

.faq { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.faq h3 { font-size: 1.1rem; font-stretch: 112%; font-weight: 750; margin-bottom: 0.5rem; }
.faq p { margin: 0; color: var(--muted); }

.contact h2 { max-width: none; }
.mail { display: inline-block; margin-top: 1.4rem; font-stretch: 125%; font-weight: 800; font-size: clamp(1.3rem, 4vw, 2.6rem); letter-spacing: -0.015em; word-break: break-word; }

footer { border-top: 1px solid var(--rule); padding-block: 2rem 3rem; color: var(--muted); font-size: 0.9rem; }
footer p { margin: 0.2rem 0; }

/* Private watch pages */
.watch-head { padding-block: clamp(1.5rem, 4vw, 3rem) 1.5rem; }
.watch-head h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 20ch; }
.watch-head .lede { margin-top: 1rem; }
.player { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.player.is-vertical { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.player.is-vertical .viewfinder { max-width: 24rem; }
.switch { display: inline-flex; gap: 0; margin: 0 14px 0.9rem; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; }
.switch button { font: inherit; font-size: 0.9rem; border: 0; background: none; color: var(--muted); padding: 0.35rem 0.9rem; border-radius: 999px; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.offer-box h2 { font-size: 1.5rem; max-width: none; }
.offer-box p { margin: 0.9rem 0 0; max-width: var(--measure); }
.offer-box .btn { margin-top: 1.4rem; }
.fine { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero, .sample, .player, .player.is-vertical { grid-template-columns: 1fr; }
  .hero .viewfinder { justify-self: start; max-width: 20rem; }
  .offers { grid-template-columns: 1fr; }
  .offer { padding-right: 0; }
  .offer + .offer { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 2.4rem; padding-top: 2.4rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; }
  .top nav { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .status::before { animation: none; }
}
