/* Spiffy Office film pages. Brand: ink #0b1a24, paper #f5f3ee, sky #0369a1 / light sky #7dd3fc, sun #facc15.
   Dark only (a screening room). No JavaScript. Motion only under prefers-reduced-motion: no-preference. */
/* Self-hosted (no visitor IPs sent to Google). Geist and Instrument Serif are SIL OFL 1.1; see assets/fonts/LICENSE.md. */
@font-face { font-family: 'Geist'; src: url('/assets/fonts/Geist-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/InstrumentSerif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
:root {
  color-scheme: dark;
  --ink: #0b1a24;
  --ink-2: #10232f;
  --paper: #f5f3ee;
  --sky: #7dd3fc;
  --sun: #facc15;
  --muted: rgb(245 243 238 / 0.74);
  --line: rgb(245 243 238 / 0.14);
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --radius: 1.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgb(56 189 248 / 0.16), transparent 70%),
    radial-gradient(50rem 30rem at 0% 110%, rgb(250 204 21 / 0.09), transparent 70%),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}
a { color: var(--sky); text-underline-offset: 0.18em; }
a:focus-visible, video:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 0.5rem; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 76rem; margin: 0 auto; padding: 1.25rem 1rem;
}
.logo img { display: block; height: 2rem; width: auto; }
.top-cta { color: var(--paper); font-weight: 600; text-decoration: none; padding: 0.5rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; }
.top-cta:hover { border-color: var(--sun); }

.stage { max-width: 76rem; margin: 0 auto; padding: 0 1rem 3rem; display: grid; gap: 2rem; }
.player { margin: 0; }
.player video {
  display: block; width: 100%; height: auto; background: #000;
  border-radius: var(--radius);
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 0.55), 0 0 0 1px var(--line);
}
.player figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: var(--muted); }

.eyebrow { margin: 0 0 0.75rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
h1 { margin: 0; font-weight: 800; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
h1 .accent {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  /* the logo's wipe-stroke as a swipe UNDER the words (behind them, white-on-yellow failed contrast) */
  background: linear-gradient(transparent 88%, var(--sun) 88%, var(--sun) 97%, transparent 97%) no-repeat;
  background-size: 100% 100%;
  color: var(--paper);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 0.08em;
}
.lead { margin: 1.1rem 0 0; color: var(--muted); max-width: 38rem; text-wrap: pretty; }

.offer {
  margin: 1.5rem 0 0; padding: 1rem 1.25rem; border-radius: 1rem;
  background: var(--sun); color: var(--ink); max-width: 38rem;
}
.offer p { margin: 0; }
.offer-head { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.offer-body { margin-top: 0.25rem !important; font-size: 0.95rem; }
.offer a { color: var(--ink); font-weight: 600; }

.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0.8rem 1.35rem;
  border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1.0625rem;
}
.btn-primary { background: var(--sun); color: var(--ink); }
.btn-primary:hover { background: #fde047; }
.btn-note { font-weight: 500; font-size: 0.85rem; opacity: 0.75; }
.btn-ghost { color: var(--paper); border: 1px solid rgb(245 243 238 / 0.35); }
.btn-ghost:hover { border-color: var(--paper); }
.terms { margin: 1rem 0 0; font-size: 0.9rem; color: var(--muted); }

.list-head { margin: 2.5rem 0 0.75rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.features li { display: flex; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.features strong { color: var(--paper); font-weight: 600; }
.features .num { font-family: var(--serif); font-style: italic; color: var(--sun); font-size: 1.15rem; min-width: 1.75rem; }

.foot { max-width: 76rem; margin: 0 auto; padding: 1.5rem 1rem 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.foot p { margin: 0.25rem 0; max-width: 48rem; }

/* 16:9: the film full width, then copy and the feature list side by side on wide screens */
@media (min-width: 60rem) {
  .is-wide .copy { display: grid; grid-template-columns: 1.1fr 0.9fr; column-gap: 4rem; align-items: start; }
  .is-wide .copy > :not(.list-head):not(.features) { grid-column: 1; }
  .is-wide .list-head { grid-column: 2; grid-row: 1; margin-top: 0; }
  .is-wide .features { grid-column: 2; grid-row: 2 / span 6; }
}
/* 9:16: phone-shaped film beside the copy on wide screens, stacked and centred on phones */
.is-tall .player { max-width: 26rem; margin-inline: auto; width: 100%; }
@media (min-width: 56rem) {
  .is-tall .stage { grid-template-columns: minmax(18rem, 26rem) 1fr; column-gap: 4rem; align-items: start; }
  .is-tall .player { position: sticky; top: 1.5rem; }
  .is-tall .player video { max-height: calc(100dvh - 6rem); width: auto; max-width: 100%; margin-inline: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .player, .copy { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .copy { animation-delay: 0.08s; }
  @keyframes rise { from { opacity: 0; translate: 0 1rem; } }
}

.is-hub .hub { max-width: 40rem; margin: 0 auto; padding: 4rem 1rem; }
.is-hub li { margin: 0.6rem 0; }
.is-hub li span { color: var(--muted); font-size: 0.9rem; margin-left: 0.5rem; }
