:root {
  --bg: #14181d;
  --fg: #f3f5f7;
  --muted: #b1bbc5;
  --accent: #ccff00;
  --font: Manrope, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.landing-home {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.55;
  font-size: 16px;
  letter-spacing: -0.01em;
}
button,
input {
  font: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.site-header {
  position: relative;
  z-index: 20;
  max-width: none;
  width: 100%;
  height: 100px;
  padding: 24px 5.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
}
.site-header a {
  text-decoration: none;
}
.site-header nav a {
  transition: color 0.2s;
}
.site-header nav a:hover {
  color: var(--accent);
}
.brand img {
  width: 158px;
  height: auto;
}
.nav-cta {
  padding: 11px 19px;
  border: 1px solid #8e9aab55;
  border-radius: 50px;
  background: #20272f55;
  transition:
    background 0.2s,
    translate 0.3s !important;
}
.site-header nav .nav-cta:hover {
  background: #ccff00;
  color: #14181d;
  border-color: #ccff00;
}
.journey {
  position: relative;
  height: auto !important;
  max-width: none;
  margin: 0;
  padding: 0;
}
.story-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.room-light {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 85% 10%, #4b566450, transparent 62%),
    linear-gradient(145deg, #1c222a 0%, #14181d 68%);
  pointer-events: none;
}
.room-light:after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    110deg,
    transparent 0 160px,
    #9fb3d203 161px 162px
  );
  transform: translateX(var(--room-shift, 0));
  mask-image: linear-gradient(#000, transparent);
}
.world-render {
  position: relative;
  width: 100%;
  height: 560px;
  pointer-events: none;
  z-index: -1;
  background: transparent;
}
.world-render canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.7s;
}
.world-render[data-state="ready"] canvas {
  opacity: 1;
}
.world-poster {
  position: absolute;
  inset: 0;
  transition: opacity 0.6s;
}
.world-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.world-render[data-state="ready"] .world-poster {
  opacity: 0;
}
.scene-label {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12px;
  letter-spacing: 0.025em;
  white-space: nowrap;
  opacity: var(--label-opacity, 0);
  padding: 5px 12px;
  color: #e8edf2;
  background: #1c252d88;
  border: 1px solid #9cacba30;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.scene-label strong {
  font-weight: 500;
}
.beat {
  padding: 64px 6%;
  max-width: 720px;
}
.beat h1,
.beat h2 {
  font-family: var(--font);
  font-size: clamp(44px, 5.65vw, 86px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.058em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.beat p {
  max-width: 420px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 30px;
  letter-spacing: -0.012em;
}
.hero-copy {
  position: relative;
  inset: auto;
  width: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.beat h2 {
  font-size: clamp(40px, 4.7vw, 68px);
}
.button {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  background: var(--accent);
  color: #14181d;
  border: 1px solid var(--accent);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 0 0 transparent;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    translate 0.3s;
}
.button:hover {
  background: #deff5b;
  color: #14181d;
  box-shadow: 0 6px 30px #ccff0018;
}
.button:active {
  scale: 0.98;
}
.text-link {
  font-size: 14px;
  text-underline-offset: 5px;
}
.text-link:hover {
  color: var(--accent);
}
.work-surface {
  position: relative;
  width: 88%;
  max-width: 640px;
  margin: 0 auto 60px;
  perspective: 1200px;
}
.surface-backing {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #35404c, #252e37 80%);
  border: 1px solid #b1c1d329;
  box-shadow:
    0 28px 80px #0006,
    inset 0 1px #ffffff15;
  border-radius: 22px;
  z-index: -1;
}
.sheet {
  position: relative;
  padding: 24px 28px;
  background: #28313a;
  margin-bottom: 24px;
  border: 1px solid #9daeb92b;
  border-radius: 22px;
}
.surface-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e6ebf1;
  font-size: 13px;
  padding-bottom: 22px;
  border-bottom: 1px solid #a9bfcd22;
  margin-bottom: 24px;
  font-weight: 500;
}
.surface-heading img {
  width: 26px;
  height: 26px;
}
.workspace-symbol {
  color: var(--accent);
  font-size: 23px;
  line-height: 1;
}
.sample-label {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
  color: #b7c2ce;
}
.brief-ticket {
  padding: 0;
}
.ticket-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #e2e9f0;
}
.person-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #b8c6d6;
  color: #1a222b;
  font-size: 11px;
  font-weight: 700;
}
.ticket-recipient {
  color: #a2b0be;
  margin-left: 6px;
}
.brief-ticket h3 {
  font: 600 26px/1.25 var(--font);
  letter-spacing: -0.035em;
  margin: 20px 0 10px;
}
.brief-ticket p {
  font-size: 14px;
  line-height: 1.65;
  color: #c0cbd5;
  margin: 0;
  max-width: 420px;
}
.work-example {
  position: relative;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  max-width: none;
}
.scenario-controls {
  display: flex;
  gap: 4px;
  margin: 24px 0 10px;
  flex-wrap: wrap;
}
.scenario-controls button {
  border: 1px solid transparent;
  color: #afbcc9;
  border-radius: 30px;
  padding: 6px 12px;
  background: none;
  font-size: 11px;
  transition:
    background 0.25s,
    color 0.25s;
}
.scenario-controls button[aria-pressed="true"] {
  background: #e0e9f014;
  border-color: #c3d6e229;
  color: #f3f5f7;
}
.scenario-controls button:hover {
  color: var(--accent);
  background: #e0e9f00d;
}
.handoff-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #b9c9d61c;
}
.handoff-row img {
  height: 54px;
  width: 54px;
  object-fit: contain;
  transition:
    translate 0.3s,
    rotate 0.3s;
}
.handoff-row h4 {
  font-size: 13px;
  margin: 0 0 3px;
  font-weight: 600;
}
.handoff-row p {
  font-size: 12px;
  color: #b1bdca;
  margin: 0;
}
.handoff-state {
  margin-left: auto;
  color: #aebcc9;
  font-size: 10px;
}
.connected-source {
  display: flex;
  gap: 9px;
  align-items: center;
  padding-top: 18px;
  font-size: 11px;
  color: #bac7d2;
}
.connected-source > span:last-child {
  margin-left: auto;
  font-size: 10px;
  color: #91a2b1;
}
.result-context {
  font-size: 12px;
  color: #a9bac8;
  margin-bottom: 18px;
}
.result-content {
  background: none;
  border: 0;
  padding: 0;
}
.result-content h3 {
  font: 600 30px/1.2 var(--font);
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.result-artifact {
  margin: 0;
  padding: 0;
  list-style: none;
}
.result-artifact li {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid #b6c7d322;
  font-size: 12px;
}
.result-artifact li > span:first-child {
  color: #889eaf;
  font-size: 10px;
}
.result-artifact strong {
  font-weight: 500;
}
.result-artifact li > span:last-child {
  margin-left: auto;
  color: #aabbc7;
  font-size: 10px;
}
.result-content > p {
  font-size: 13px;
  color: #b1bfcb;
  margin: 20px 0;
}
.routine-demo {
  border-top: 1px solid #b6c7d322;
  padding-top: 12px;
}
.routine-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  background: none;
  color: #ecf2f7;
  border: 0;
  padding: 12px 0;
  font-size: 13px;
  text-align: left;
}
.toggle-track,
.permission-switch {
  width: 36px;
  height: 22px;
  border-radius: 30px;
  background: #65758655;
  border: 1px solid #a5b6c333;
  position: relative;
  flex-shrink: 0;
}
.toggle-track {
  margin-left: auto;
}
.toggle-track:after,
.permission-switch:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #c2ced8;
  transition:
    transform 0.3s var(--ease),
    background 0.3s;
}
.routine-toggle[aria-pressed="true"] .toggle-track,
.permission-switch[aria-checked="true"] {
  background: #ccff00;
  border-color: #ccff00;
}
.routine-toggle[aria-pressed="true"] .toggle-track:after,
.permission-switch[aria-checked="true"]:after {
  transform: translateX(14px);
  background: #263500;
}
.routine-preview {
  padding: 10px 0;
  font-size: 12px;
}
.routine-preview > div:first-child {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.routine-preview strong {
  font-size: 20px;
  font-weight: 500;
}
.weekdays {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  color: var(--accent);
  font-size: 10px;
}
.weekdays .off {
  color: #8fa2b3;
}
.access-map {
  padding: 0;
  border: 0;
  background: none;
  display: block;
}
.permission-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
}
.permission-summary h3 {
  font: 500 22px/1.3 var(--font);
  letter-spacing: -0.025em;
  margin: 0 0 7px;
}
.permission-summary img {
  object-fit: contain;
  width: 78px;
  height: 78px;
}
.permission-count {
  font-size: 12px;
  color: #b2c0cd;
  margin: 0;
}
.access-branches {
  display: block;
  padding: 0;
  border: 0;
}
.access-branches > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 0;
  border-top: 1px solid #b6c7d322;
  font-size: 13px;
}
.permission-switch {
  padding: 0;
  min-width: 36px;
  min-height: 22px;
}
.permission-switch:before {
  content: "";
  position: absolute;
  inset: -11px -4px;
}
.sample-note {
  font-size: 11px;
  color: #aebdcc;
  margin: 22px 0 0;
  max-width: 360px;
}
.sheet-signup form {
  margin: 24px 0 0;
}
.sheet-signup form > label:first-child {
  font-size: 13px;
}
.sheet-signup .form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.sheet-signup input[type="email"] {
  width: 100%;
  min-width: 0;
  height: 54px;
  background: #1a232c;
  border: 1px solid #9dafbe55;
  border-radius: 9px;
  padding: 14px 16px;
  color: #f3f5f7;
}
.sheet-signup .button {
  width: 100%;
  margin: 0;
  border-radius: 9px;
  min-height: 50px;
}
.sheet-signup .consent {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.7;
  color: #b5c2ce;
  display: flex;
  align-items: start;
  gap: 10px;
}
.sheet-signup input[type="checkbox"] {
  accent-color: #ccff00;
  margin-top: 5px;
  flex-shrink: 0;
}
.sheet-signup .form-status {
  font-size: 12px;
  margin-top: 14px;
}
.signup-links {
  display: flex;
  gap: 24px;
  border-top: 1px solid #b6c7d322;
  margin-top: 24px;
  padding-top: 22px;
  font-size: 11px;
}
.signup-links a {
  color: #b7c4ce;
  text-decoration: none;
}
.signup-links a:hover {
  color: #ccff00;
}
.scene-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 5.5%;
  font-size: 11px;
  color: #a6b4c1;
}
.development-note:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #ccff00;
  border-radius: 50%;
  margin-right: 8px;
}
.motion-control {
  position: static;
  border: 0;
  background: none;
  padding: 5px;
  color: #a6b4c1;
  font-size: 11px;
}
.scene-caption {
  margin-left: auto;
}
.scene-nav {
  display: flex;
  gap: 22px;
}
.scene-nav a {
  text-decoration: none;
  color: #9dabba;
  transition: color 0.25s;
}
.scene-nav a[aria-current="step"],
.scene-nav a:hover {
  color: #ccff00;
}
.questions-panel {
  padding: 80px 6%;
  background: #1b232c;
}
.questions-inner {
  max-width: 820px;
  margin: auto;
}
.questions-inner h2 {
  font: 500 42px/1.15 var(--font);
  letter-spacing: -0.04em;
  margin: 0 0 36px;
}
.faq-list details {
  border-bottom: 1px solid #8799aa33;
  padding: 20px 0;
}
.faq-list summary {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.faq-list details p {
  font-size: 14px;
  color: #b4c2cf;
  line-height: 1.7;
  max-width: 680px;
  margin: 16px 0 4px;
}
.question-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  row-gap: 12px;
  margin-top: 40px;
  font-size: 13px;
}
.question-links a {
  white-space: nowrap;
}
.questions-close {
  border: 1px solid #99aabb55;
  color: #dce5ed;
  background: none;
  border-radius: 30px;
  padding: 8px 14px;
  margin-bottom: 28px;
  float: right;
  font-size: 12px;
}
.site-colophon {
  font-size: 11px;
  padding: 24px 5.5%;
  color: #95a4b2;
  display: flex;
  gap: 20px;
  border: 0;
  max-width: none;
}
.site-colophon a {
  text-decoration: none;
}
.site-colophon button {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.pointer-halo {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid #ccff0050;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transition:
    width 0.25s,
    height 0.25s,
    margin 0.25s,
    opacity 0.2s,
    background 0.25s;
}
.pointer-halo.is-active {
  opacity: 1;
}
.pointer-halo.over-control {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  background: #ccff000b;
  border-color: #ccff0090;
}
.pointer-halo.over-input {
  opacity: 0;
}
[hidden] {
  display: none !important;
}
.scene-enabled .site-header {
  position: fixed;
  top: 0;
  left: 0;
}
.scene-enabled .journey {
  height: 580vh !important;
}
.scene-enabled .story-stage {
  position: sticky !important;
  top: 0;
  height: 100svh;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}
.scene-enabled .world-render {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.scene-enabled .beat {
  position: absolute;
  left: 5.5%;
  top: 22%;
  padding: 0;
  width: 43%;
  max-width: 650px;
  will-change: transform, opacity;
}
.scene-enabled .hero-copy {
  top: 25%;
}
.scene-enabled .work-surface {
  position: absolute;
  left: 52%;
  top: 21%;
  width: 42.5%;
  max-width: 630px;
  height: 510px;
  margin: 0;
  transform-origin: center;
  will-change: transform;
}
.scene-enabled .surface-backing {
  opacity: var(--arrival, 0);
}
.scene-enabled .sheet {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  margin: 0;
  will-change: transform, opacity;
}
.scene-enabled .sheet-work > .surface-heading,
.scene-enabled .sheet-work .work-example {
  opacity: var(--arrival, 0);
}
.scene-enabled .brief-ticket {
  transform: translateY(calc((1 - var(--arrival, 0)) * -14px));
}
.scene-enabled .scene-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 78px;
  padding-top: 0;
  padding-bottom: 0;
}
.scene-enabled .scene-caption {
  display: none;
}
.scene-enabled .scene-nav {
  margin-left: auto;
}
.scene-enabled .questions-panel {
  display: none;
}
.scene-enabled .questions-panel.is-open {
  display: block;
  position: fixed;
  inset: 0;
  overflow: auto;
  z-index: 100;
  padding: 7vh 8%;
  background: #19212bf7;
  backdrop-filter: blur(20px);
}
.scene-enabled .site-colophon {
  position: relative;
  background: #14181d;
}
@media (min-width: 1700px) {
  .scene-enabled .beat {
    left: 9%;
  }
  .scene-enabled .work-surface {
    left: 54%;
  }
}
@media (max-width: 1100px) {
  .scene-enabled .beat {
    width: 43%;
    top: 20%;
  }
  .beat p {
    font-size: 15px;
    max-width: 350px;
  }
  .scene-enabled .work-surface {
    left: 51%;
    width: 44%;
    top: 19%;
    height: 500px;
  }
  .sheet {
    padding: 22px;
  }
  .result-content h3 {
    font-size: 26px;
  }
  .handoff-state {
    display: none;
  }
  .connected-source > span:last-child {
    display: none;
  }
}
@media (max-width: 760px) {
  .wide-break {
    display: none;
  }
  .site-header {
    height: 80px;
    padding: 18px 6%;
  }
  .brand img {
    width: 130px;
  }
  .site-header nav {
    gap: 14px;
  }
  .site-header nav > a:not(.nav-cta) {
    display: none;
  }
  .nav-cta {
    padding: 9px 13px;
    font-size: 11px;
  }
  .beat {
    padding: 44px 6%;
    width: 100%;
  }
  .beat h1 {
    font-size: 42px;
    letter-spacing: -0.05em;
  }
  .beat h2 {
    font-size: 36px;
  }
  .beat p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 330px;
    margin-bottom: 22px;
  }
  .world-render {
    height: 400px;
  }
  .work-surface {
    width: 88%;
  }
  .sheet {
    padding: 20px;
  }
  .brief-ticket h3 {
    font-size: 23px;
  }
  .brief-ticket p {
    font-size: 12px;
  }
  .surface-heading {
    font-size: 11px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }
  .sample-label {
    font-size: 9px;
  }
  .scenario-controls {
    margin-top: 20px;
  }
  .scenario-controls button {
    padding: 5px 9px;
    font-size: 10px;
  }
  .handoff-row {
    padding: 12px 0;
    gap: 10px;
  }
  .handoff-row img {
    width: 44px;
    height: 44px;
  }
  .handoff-row p {
    font-size: 11px;
  }
  .result-content h3 {
    font-size: 25px;
  }
  .result-artifact li {
    font-size: 11px;
    padding: 16px 0;
  }
  .result-artifact li > span:last-child {
    font-size: 9px;
  }
  .permission-summary h3 {
    font-size: 20px;
  }
  .permission-summary img {
    width: 65px;
    height: 65px;
  }
  .access-branches > div {
    padding: 17px 0;
    font-size: 12px;
  }
  .scene-footer {
    gap: 16px;
    font-size: 10px;
  }
  .scene-caption {
    display: none;
  }
  .motion-control {
    font-size: 10px;
  }
  .questions-inner h2 {
    font-size: 32px;
    clear: both;
  }
  .site-colophon {
    flex-wrap: wrap;
  }
  .scene-enabled .beat {
    left: 6%;
    top: 13%;
    width: 88%;
    max-width: none;
  }
  .scene-enabled .beat h2 {
    font-size: 34px;
    max-width: 310px;
    margin-bottom: 16px;
  }
  .scene-enabled .beat:not(.hero-copy) p {
    max-width: 310px;
    font-size: 13px;
    line-height: 1.55;
  }
  .scene-enabled .hero-copy {
    top: 14%;
  }
  .scene-enabled .hero-copy h1 {
    font-size: clamp(34px, 10.2vw, 44px);
    margin-bottom: 18px;
  }
  .scene-enabled .hero-copy p {
    max-width: 330px;
  }
  .scene-enabled .hero-copy .button {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 12px;
  }
  .scene-enabled .world-render {
    top: 26%;
    height: 74%;
    bottom: 0;
  }
  .scene-enabled .work-surface {
    left: 6%;
    top: 38%;
    width: 88%;
    height: 440px;
    max-width: none;
  }
  .scene-enabled .scene-footer {
    height: 52px;
    padding-left: 6%;
    padding-right: 6%;
    gap: 12px;
  }
  .scene-enabled .scene-nav {
    gap: 14px;
  }
  .scene-enabled .scene-nav a {
    font-size: 10px;
  }
  .scene-enabled .development-note {
    display: none;
  }
  .scene-enabled .scene-label {
    font-size: 10px;
    padding: 3px 9px;
  }
  .scene-enabled .sheet-signup .surface-heading {
    margin-bottom: 12px;
  }
  .scene-enabled .sheet-signup form {
    margin-top: 16px;
  }
  .scene-enabled .sheet-signup .consent {
    margin-top: 16px;
  }
  .scene-enabled .sheet-signup .signup-links {
    margin-top: 18px;
    padding-top: 18px;
  }
}
@media (max-width: 760px) and (max-height: 820px) {
  .scene-enabled .work-surface {
    top: 36%;
    height: 400px;
  }
  .scene-enabled .beat {
    top: 12%;
  }
  .scene-enabled .beat h2 {
    font-size: 30px;
    margin-bottom: 12px;
  }
  .scene-enabled .beat:not(.hero-copy) p {
    font-size: 12px;
    max-width: 320px;
  }
  .scene-enabled .surface-heading {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }
  .scene-enabled .handoff-row {
    padding: 8px 0;
  }
  .scene-enabled .scenario-controls {
    margin-top: 12px;
  }
  .scene-enabled .brief-ticket h3 {
    margin-top: 14px;
  }
  .scene-enabled .connected-source {
    padding-top: 12px;
  }
  .scene-enabled .access-branches > div {
    padding: 13px 0;
  }
  .scene-enabled .sample-note {
    margin-top: 16px;
  }
  .scene-enabled .result-artifact li {
    padding: 12px 0;
  }
  .scene-enabled .result-content h3 {
    margin-bottom: 18px;
  }
  .scene-enabled .result-content > p {
    margin: 14px 0;
  }
  .scene-enabled .sheet-signup .consent {
    font-size: 11px;
  }
  .scene-enabled .sheet-signup .form-row {
    gap: 8px;
  }
  .scene-enabled .sheet-signup input[type="email"] {
    height: 46px;
  }
  .scene-enabled .sheet-signup .button {
    min-height: 44px;
  }
  .scene-enabled .routine-preview {
    padding: 2px 0;
  }
  .scene-enabled .routine-toggle {
    padding: 8px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .pointer-halo {
    display: none;
  }
  .scene-label {
    display: none;
  }
}

@media (min-width: 761px) {
  .scene-enabled .hero-copy {
    top: 20%;
    width: 51%;
  }
  .hero-copy h1 {
    font-size: clamp(48px, 5vw, 76px);
  }
  .scene-enabled .brief-ticket {
    max-width: 460px;
  }
}
.scenario-controls button {
  min-height: 30px;
  min-width: 0;
  line-height: 1.3;
  flex: 0 0 auto;
}
.scene-enabled .brief-ticket {
  position: relative;
}
.scene-enabled .brief-ticket:before {
  content: "";
  position: absolute;
  inset: -18px -20px;
  background: linear-gradient(135deg, #41505e, #2b3742);
  border: 1px solid #bacbda33;
  border-radius: 14px;
  box-shadow: 0 12px 40px #0004;
  z-index: -1;
  opacity: calc(1 - var(--arrival, 0));
}
.handoff-row img {
  border-radius: 10px;
  mix-blend-mode: lighten;
}
.scene-enabled .work-surface {
  height: 520px;
}
.scene-enabled .sheet {
  overflow: visible;
}
.scene-enabled .surface-backing {
  border-radius: 20px;
}
html:not(.scene-enabled) body:not(.scene-enabled) .story-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 20px;
}
html:not(.scene-enabled) body:not(.scene-enabled) .room-light {
  grid-column: 1/-1;
}
html:not(.scene-enabled) body:not(.scene-enabled) .hero-copy {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
}
html:not(.scene-enabled) body:not(.scene-enabled) .world-render {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
}
html:not(.scene-enabled) body:not(.scene-enabled) .work-surface {
  display: contents;
}
html:not(.scene-enabled) body:not(.scene-enabled) .surface-backing {
  display: none;
}
html:not(.scene-enabled) body:not(.scene-enabled) [data-beat="1"] {
  grid-row: 2;
  grid-column: 1;
}
html:not(.scene-enabled) body:not(.scene-enabled) [data-beat="2"] {
  grid-row: 3;
  grid-column: 1;
}
html:not(.scene-enabled) body:not(.scene-enabled) [data-beat="3"] {
  grid-row: 4;
  grid-column: 1;
}
html:not(.scene-enabled) body:not(.scene-enabled) [data-beat="4"] {
  grid-row: 5;
  grid-column: 1;
}
html:not(.scene-enabled) body:not(.scene-enabled) .sheet {
  grid-column: 2;
  margin: 40px 10% 40px 0;
}
html:not(.scene-enabled) body:not(.scene-enabled) .sheet-work {
  grid-row: 2;
}
html:not(.scene-enabled) body:not(.scene-enabled) .sheet-result {
  grid-row: 3;
}
html:not(.scene-enabled) body:not(.scene-enabled) .sheet-access {
  grid-row: 4;
}
html:not(.scene-enabled) body:not(.scene-enabled) .sheet-signup {
  grid-row: 5;
}
html:not(.scene-enabled) body:not(.scene-enabled) .scene-footer {
  grid-column: 1/-1;
}
html:not(.scene-enabled) body:not(.scene-enabled) .beat {
  padding: 50px 12%;
}
html:not(.scene-enabled) body:not(.scene-enabled) .scene-label {
  display: none;
}
@media (max-width: 760px) {
  .scene-enabled .work-surface {
    height: 440px;
  }
  .scene-enabled .brief-ticket:before {
    inset: -14px -16px;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) .story-stage {
    display: flex;
    flex-direction: column;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) .hero-copy {
    order: 0;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) .world-render {
    order: 1;
    margin-top: -20px;
    height: 330px;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) [data-beat="1"] {
    order: 2;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) .sheet-work {
    order: 3;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) [data-beat="2"] {
    order: 4;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) .sheet-result {
    order: 5;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) [data-beat="3"] {
    order: 6;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) .sheet-access {
    order: 7;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) [data-beat="4"] {
    order: 8;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) .sheet-signup {
    order: 9;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) .scene-footer {
    order: 10;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) .beat {
    padding: 36px 6% 20px;
  }
  html:not(.scene-enabled) body:not(.scene-enabled) .sheet {
    margin: 12px 6% 36px;
  }
}
@media (max-width: 760px) and (max-height: 820px) {
  .scene-enabled .work-surface {
    height: 405px;
  }
}
.pointer-halo:after {
  display: none;
}
.permission-switch:before,
.permission-switch[aria-checked="true"]:before {
  background: transparent;
  border: 0;
}
.access-branches > div {
  min-height: 0;
  border-bottom: 0;
}
.access-branches > div:before {
  display: none;
}
.routine-preview > div {
  margin: 4px 0;
  gap: 10px;
}
.routine-preview > div span {
  width: auto;
  height: auto;
  display: inline;
  background: none;
  color: inherit;
  border-radius: 0;
}
.routine-preview > div.weekdays span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #ccff00;
  background: #ccff0010;
  border-radius: 50%;
}
.routine-preview > div.weekdays span.off {
  color: #99acbb;
  background: none;
}
.routine-preview strong {
  display: inline;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.routine-preview {
  padding: 6px 0;
}
.routine-toggle {
  border: 0;
  min-height: 36px;
  padding: 8px 0;
}
.sheet-result:has(.routine-toggle[aria-pressed="true"]) #example-detail {
  display: none;
}
@media (max-width: 760px) {
  .scene-enabled .work-surface {
    height: calc(62svh - 70px);
  }
  .scene-enabled .sheet-result {
    padding: 18px 20px;
  }
  .scene-enabled .sheet-result .surface-heading {
    padding-bottom: 12px;
    margin-bottom: 18px;
  }
  .scene-enabled .result-context {
    display: none;
  }
  .scene-enabled .result-content h3 {
    font-size: 23px;
    margin: 0 0 18px;
  }
  .scene-enabled .result-artifact li {
    padding: 11px 0;
    min-height: 0;
  }
  .scene-enabled .result-content > p {
    font-size: 12px;
    margin: 14px 0;
  }
  .scene-enabled .routine-demo {
    padding-top: 4px;
  }
  .scene-enabled .routine-preview {
    font-size: 11px;
  }
  .scene-enabled [data-beat="4"] .text-link {
    display: none;
  }
  .scene-enabled [data-beat="4"] p {
    max-width: 100%;
    font-size: 12px;
  }
  .scene-enabled .sheet-access .permission-summary {
    margin-bottom: 14px;
  }
}
@media (max-width: 760px) and (max-height: 820px) {
  .scene-enabled .work-surface {
    height: calc(64svh - 65px);
  }
  .scene-enabled .sheet-result .surface-heading {
    margin-bottom: 14px;
  }
  .scene-enabled .result-content h3 {
    font-size: 21px;
    margin-bottom: 14px;
  }
  .scene-enabled .result-artifact li {
    padding: 9px 0;
  }
  .scene-enabled .result-content > p {
    font-size: 11px;
    margin: 12px 0;
  }
}

.permission-switch span {
  display: none;
}
html:not(.scene-enabled) body:not(.scene-enabled) .story-stage {
  position: relative !important;
  height: auto !important;
  overflow: visible;
}
.world-poster {
  top: 0;
  height: 100%;
}
.world-poster img {
  object-fit: cover;
}
html:not(.scene-enabled) body:not(.scene-enabled) .world-render {
  flex-shrink: 0;
}
html:not(.scene-enabled) body:not(.scene-enabled) .world-poster img {
  object-fit: cover;
  object-position: 65% 50%;
}

html.scene-enabled .beat:not(.hero-copy),
html.scene-enabled .work-surface {
  visibility: hidden;
}
.mobile-cast {
  display: none;
  position: absolute;
  inset: 0;
}
.world-render[data-state="sprites"] .mobile-cast {
  display: block;
}
.world-render[data-state="sprites"] canvas,
.world-render[data-state="sprites"] .world-poster,
.world-render[data-state="sprites"] > .scene-label {
  display: none;
}
.mobile-cast:before {
  content: "";
  position: absolute;
  width: 170%;
  height: 34%;
  left: -35%;
  top: 56%;
  border-radius: 50%;
  background: #263744;
  box-shadow: 0 12px #172832;
  opacity: var(--desk-opacity, 1);
}
.mobile-cast [data-actor] {
  position: absolute;
  will-change: transform;
  filter: drop-shadow(0 12px 8px #0004);
}
.mobile-cast img {
  display: block;
  width: 100%;
  height: auto;
}
.mobile-cast [data-actor="bento"] {
  z-index: 2;
}
.mobile-cast span {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 60%);
  font-size: 11px;
  border: 1px solid #a4b7c533;
  border-radius: 20px;
  padding: 3px 10px;
  color: #d4e0ea;
  background: #202b3588;
}
.mobile-cast [data-actor="pill"] span {
  bottom: 20%;
}
html:not(.scene-enabled) body:not(.scene-enabled) .mobile-cast {
  display: none;
}
html:not(.scene-enabled)
  body:not(.scene-enabled)
  .world-render[data-state="sprites"]
  .world-poster {
  display: block;
}

.handoff-row img {
  mix-blend-mode: normal;
}

/* Touch targets. The scene navigation, the colophon and the question links are
   small text set on one line, so on a phone they are 16-20px tall against the
   44px guidance. Each control keeps its exact size and position; an invisible
   overlay extends only the area that responds to a finger. Scoped to coarse
   pointers so mouse hover and the desktop layout are untouched, and grown only
   vertically so neighbours in the same row can never steal each other's taps. */
@media (pointer: coarse) {
  .scene-nav a,
  .site-colophon a,
  .site-colophon button,
  .question-links a {
    position: relative;
  }
  .scene-nav a:after,
  .site-colophon a:after,
  .site-colophon button:after,
  .question-links a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 44px;
    transform: translateY(-50%);
  }
}
