/* ShiftDibs landing page. One stylesheet. Phone first (375px), wider screens below. */

/* Headline font: Bricolage Grotesque 800 (latin set), served from this site. Free under the SIL Open Font
   License 1.1: /fonts/OFL.txt. From Google Fonts, 17 Nov 2026. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #0B0A0A;
  --panel: #151313;
  --raised: #1C1918;
  --line: #2A2625;
  --edge: #857C77;
  --text: #F4F1EF;
  --muted: #ABA39F;
  --red-fill: #CF2A1C;
  --red-fill-hover: #B8251A;
  --red: #FF5B4C;
  --red-tint: #3A1613;
  --green: #57D9A3;
  --head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--ground);
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

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

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

a { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.red { color: var(--red); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Skip link */
.skip {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--raised);
  color: var(--text);
  border: 1px solid var(--edge);
  border-radius: 12px;
  font-weight: 700;
}
.skip:focus { top: 8px; }

/* Headings */
h1, h2, h3, .display, .price-big {
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 40px;
  line-height: 1.02;
  margin: 0 0 14px;
}

h2 {
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 18px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 18px 0 6px;
}

p { margin: 0 0 14px; }

.eyebrow {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 34em;
  margin: 0 0 22px;
}

.fine {
  color: var(--muted);
  font-size: 15px;
}

/* Buttons and links */
.btn,
.stage-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--red-fill);
  color: #FFFFFF;
  border: 0;
  border-radius: 12px;
  font: 700 17px/1.2 var(--body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn:hover,
.stage-play:hover { background: var(--red-fill-hover); }

.btn-small {
  width: auto;
  padding: 10px 18px;
}

.quiet {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--edge);
  text-underline-offset: 4px;
}
.quiet:hover { color: var(--red); text-decoration-color: var(--red); }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}
.brand-word {
  font-family: var(--head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.wide-only { display: none; }

/* Hero */
.hero { padding: 28px 0 40px; }

.hero-in {
  display: grid;
  gap: 28px;
}

.hero-link {
  margin-top: 6px;
}

/* Centrepiece slot */
.stage-view {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #0B0A0A;
  overflow: hidden;
}

.stage-still,
.stage-still img,
.stage-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.stage-still img { object-fit: cover; }

.stage-still-1 {
  opacity: 0;
  transition: opacity 0.5s;
}
#open-shift.is-home .stage-still-1 { opacity: 1; }

.stage-gl { opacity: 0; }
.stage-gl.live { opacity: 1; }

.stage-ctl { margin-top: 16px; }

.stage-say {
  min-height: 1.6em;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

#open-shift.is-yours .stage-say::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 13px;
  margin: 0 12px 0 4px;
  border: solid var(--green);
  border-width: 0 3px 3px 0;
  transform: translateY(-2px) rotate(45deg);
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
  .stage-still-1 { transition: none; }
}

/* Sections */
.band {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.card p { color: var(--muted); margin: 0; }

.extra {
  margin: 22px 0 0;
  color: var(--muted);
}
.extra strong { color: var(--text); }

/* Thin phone outline around app screens */
.phone {
  max-width: 220px;
  margin: 0 auto;
  padding: 6px;
  border: 1px solid var(--edge);
  border-radius: 30px;
  background: var(--ground);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

/* Three steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
}
.steps li::before {
  content: counter(step);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  font-family: var(--head);
  font-weight: 800;
  font-size: 19px;
}

/* Owner band: the one section on Panel */
.owner {
  padding: 52px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.point p {
  margin: 16px 0 0;
  text-align: center;
}
.owner .cards { margin-bottom: 28px; }

/* Price */
.price-box {
  max-width: 480px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
}
.price-big {
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 16px;
}
.price-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.price-list li {
  position: relative;
  padding-left: 22px;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.price-box .fine { margin: 14px 0 0; }

/* Early-access form */
.form-intro { max-width: 34em; margin: 0 0 18px; }

.early {
  display: grid;
  gap: 16px;
  max-width: 560px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.early label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
}

.opt { font-weight: 500; color: var(--muted); }

.early input,
.early select,
.early textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  font: 17px/1.4 var(--body);
  color: var(--text);
  background: var(--raised);
  border: 1px solid var(--edge);
  border-radius: 10px;
}
.early input::placeholder { color: var(--muted); }

.form-note { margin: 0; }

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Proof strip */
.proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}
.proof-list li:first-child { color: var(--text); font-weight: 700; }

/* Questions */
.faq {
  max-width: 720px;
  border-top: 1px solid var(--line);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p {
  color: var(--muted);
  margin: 0 0 16px;
}

/* Last call */
.last {
  display: grid;
  gap: 24px;
}
.last-item p {
  font-family: var(--head);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 10px;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 15px;
}
.foot-in p { margin: 8px 0 0; }

/* Thanks page */
.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px 16px;
}
.thanks-box {
  max-width: 520px;
  text-align: center;
}
.thanks-box h1 { margin: 28px 0 10px; }
.thanks-box p { color: var(--muted); }
.thanks-box .quiet { font-weight: 700; }

/* Wider screens */
@media (min-width: 700px) {
  .stage-view { aspect-ratio: 16 / 10; }

  .btn,
  .stage-play {
    display: inline-flex;
    width: auto;
  }

  .wide-only { display: inline-flex; }

  .hero-link { margin: 0 0 0 20px; }

  h1 { font-size: 56px; }
  h2 { font-size: 40px; }

  .cards { grid-template-columns: repeat(3, 1fr); }

  .last {
    grid-template-columns: 1fr 1fr;
  }

  .stage-ctl {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .stage-say {
    margin: 0;
    text-align: left;
  }
}

@media (min-width: 1000px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 56px 0 64px; }
  h1 { font-size: 72px; }
  .hero-text { max-width: 760px; }
}
