html { scroll-behavior: smooth; scroll-padding-top: 90px; }
.full-page { background: #050605; color: #f6f5ef; }
.full-page .study-header { padding-inline: 6%; }
.full-page .study-header nav { color: #dddcd3; gap: 25px; }
.full-page .study-header.reading-page { background: #050605f5; border-bottom: 1px solid #ffffff12; }
.full-page .stage { height: 100svh; }
.full-page .scene { inset: -2%; }
.full-page .stage-vignette {
  background: linear-gradient(180deg, #050605 0%, transparent 20%, transparent 65%, #050605 95%);
}
.full-page .closing { left: 50%; bottom: 11%; translate: -50% 0; max-width: none; }
.explore-link { display: inline-flex; align-items: center; gap: 24px; font-size: 14px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid #ece9da8c; white-space: nowrap; }
.explore-link:hover { border-color: #fff; }
.full-page .film-progress { display: none; }
.page-content { position: relative; background: #080b08; font-size: 17px; line-height: 1.65; }
.page-width { width: min(1150px, calc(100% - 12%)); margin-inline: auto; }
.page-content h2 { font: 400 clamp(30px, 3.3vw, 48px)/1.17 Barlow, sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.page-content p { color: #b9c1b2; }
.introduction { padding-block: 125px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8%; }
.intro-copy { max-width: 420px; }
.intro-copy h2 { margin-bottom: 27px; }
.intro-copy p + p { margin-top: 18px; color: #e8ebdf; }
.app-glimpse { margin: 0; display: grid; place-items: center; position: relative; }
.app-glimpse::before { content: ""; position: absolute; width: 120%; height: 85%; border-radius: 50%; background: radial-gradient(ellipse, #c7b46a13, transparent 68%); }
.phone { position: relative; width: 244px; border: 5px solid #2b302a; border-radius: 31px; overflow: hidden; background: #f4eddc; box-shadow: 0 16px 50px #0005; }
.phone img { width: 100%; height: auto; display: block; }
.page-content figcaption { margin-top: 17px; font-size: 11px; color: #84907e; text-align: center; }
.habit-plan { background: #111a12; border-block: 1px solid #ffffff09; }
.plan-layout { padding-block: 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: center; }
.plan-copy { max-width: 430px; }
.plan-buttons { margin-top: 40px; }
.plan-buttons button { display: block; width: 100%; padding: 19px 0; border: 0; border-top: 1px solid #ffffff20; background: transparent; text-align: left; }
.plan-buttons button:last-child { border-bottom: 1px solid #ffffff20; }
.plan-buttons button > span { color: #aeb7a5; font-size: 20px; font-weight: 400; }
.plan-buttons button p { margin: 5px 0 0; font-size: 14px; line-height: 1.5; color: #85927f; }
.plan-buttons button[aria-pressed="true"] > span { color: #f5e1ad; }
.plan-buttons button[aria-pressed="true"] p { color: #c1cbb8; }
.plan-buttons button:hover > span { color: #fff; }
.plan-screen { margin: 0; display: grid; place-items: center; }
.district-section { padding-block: 130px 90px; }
.district-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: start; }
.district-intro p { max-width: 360px; }
.district-layout { display: grid; grid-template-columns: 1.4fr .85fr; align-items: center; gap: 7%; margin-top: 65px; }
.district-city { margin: 0; min-width: 0; }
.district-city img { width: 100%; height: auto; display: block; filter: brightness(.84); }
.district-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.district-choices button { position: relative; background: none; border: 0; border-bottom: 1px solid #ffffff20; text-align: left; padding: 13px 0 13px 14px; color: #a3ae9b; font-size: 15px; min-height: 47px; }
.district-choices button::before { content: ""; position: absolute; width: 5px; height: 5px; left: 0; top: 50%; margin-top: -2px; border-radius: 50%; background: var(--district-color); }
.district-choices button[aria-pressed="true"],.district-choices button:hover { color: #fff; border-color: var(--district-color); }
.page-content .district-example { color: var(--selected-color,#ef7349); font-size: 23px; line-height: 1.5; margin: 31px 0 0; min-height: 105px; }
.night-section { position: relative; overflow: hidden; padding-top: 95px; background: #060909; text-align: center; }
.night-copy p { margin-top: 18px; }
.night-section > img { display: block; width: min(1050px, 100%); margin: 25px auto -140px; height: auto; filter: brightness(.85); mask-image: linear-gradient(#000 65%,transparent 96%); }
.release-section { background: #f0e7d2; color: #262b22; }
.release-layout { padding-block: 62px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.release-section h2 { font-family: "Barlow Condensed",sans-serif; font-size: 38px; font-weight: 700; letter-spacing: -.01em; }
.release-section p { color: #555b4e; font-size: 15px; margin-top: 9px; }
.release-action { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 46px; padding: 10px 19px; border: 1px solid #8d927e; border-radius: 100px; font-size: 14px; white-space: nowrap; }
.release-action:hover { background: #e2d6b7; }
.page-footer { padding-block: 28px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: #9ba68f; }
@media (max-width: 680px) {
  html { scroll-padding-top: 105px; }
  .full-page .study-header { padding-inline: 6%; }
  .full-page .study-header nav { width: auto; order: initial; gap: 15px; font-size: 11px; }
  .full-page .study-header .wordmark { font-size: 22px; }
  .full-page .closing { bottom: 13%; }
  .full-page .stage-vignette { background: linear-gradient(180deg,#050605 0%,transparent 25%,transparent 66%,#050605 91%); }
  .explore-link { font-size: 13px; }
  .page-content { font-size: 16px; }
  .page-content h2 { font-size: 32px; }
  .introduction { padding-block: 70px; grid-template-columns: 1fr; gap: 45px; }
  .intro-copy { max-width: 100%; }
  .intro-copy h2 { margin-bottom: 20px; }
  .app-glimpse .phone { width: 210px; }
  .plan-layout { padding-block: 65px; grid-template-columns: 1fr; gap: 40px; }
  .plan-buttons { margin-top: 25px; }
  .plan-buttons button { padding-block: 15px; }
  .plan-buttons button > span { font-size: 19px; }
  .plan-screen .phone { width: 210px; }
  .district-section { padding-block: 70px 40px; }
  .district-intro { grid-template-columns: 1fr; gap: 20px; }
  .district-layout { grid-template-columns: 1fr; gap: 25px; margin-top: 27px; }
  .district-city { margin-inline: -6%; }
  .district-picker { margin-top: 0; }
  .page-content .district-example { font-size: 23px; margin-top: 25px; min-height: 90px; }
  .night-section { padding-top: 55px; }
  .night-copy p { font-size: 15px; }
  .night-section > img { width: 125%; max-width: none; margin: 26px -12.5% -55px; }
  .release-layout { padding-block: 43px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .release-section h2 { font-size: 34px; }
  .page-footer { font-size: 11px; padding-block: 25px; gap: 14px; }
}
@media (max-width: 360px) {
  .full-page .study-header { gap: 8px; min-height: 85px; }
  .full-page .study-header nav { width: 100%; justify-content: flex-start; }
  .full-page .stage { min-height: 550px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media(max-width:680px) { .app-glimpse::before { width: 100%; } }

/* Physical screen presentation and the city-to-app handoff. */
.full-page .stage { perspective: 1600px; }
.hero-device {
  position: absolute;
  z-index: 6;
  left: 74%;
  top: 47%;
  width: clamp(230px, 20vw, 300px);
  margin: 0;
  opacity: 0;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  pointer-events: none;
}
.device-shell { display: block; position: relative; }
.device-shell::before, .device-shell::after {
  content: "";
  position: absolute;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(#5a625b, #d5d9cd, #62675c);
}
.device-shell::before { left: -2px; top: 18%; height: 31px; }
.device-shell::after { right: -2px; top: 25%; height: 43px; }
.full-page .phone {
  display: block;
  border: 1px solid #abb3a6;
  padding: 5px;
  border-radius: 40px;
  background: linear-gradient(125deg,#a8b0a7 0%,#252d27 18%,#111713 50%,#737d72 100%);
  box-shadow: 0 2px 0 #dae1d040 inset, 0 22px 65px #0008;
}
.full-page .phone img { border-radius: 34px; }
.hero-device .phone { width: 100%; box-shadow: 0 25px 65px #000b; }
.app-glimpse { perspective: 1200px; }
.app-glimpse .phone { width: 280px; transform-style: preserve-3d; }
.awaiting { opacity: 0; }
.plan-layout { gap: 7%; }
.plan-screen { min-width: 0; }
.screen-deck { position: relative; width: 100%; height: 680px; perspective: 1350px; isolation: isolate; }
.deck-card {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 250px;
  padding: 0;
  border: 0;
  background: none;
  transform: translate(-50%,-50%) translate3d(var(--card-x),var(--card-y),var(--card-z)) rotateZ(var(--card-angle)) scale(var(--card-scale));
  transition: transform 850ms cubic-bezier(.18,.85,.25,1), filter 850ms;
  transform-style: preserve-3d;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.deck-card[data-slot="0"] { --card-x: 0px; --card-y: 18px; --card-z: 65px; --card-angle: 0deg; --card-scale: 1; z-index: 3; }
.deck-card[data-slot="1"] { --card-x: 122px; --card-y: -26px; --card-z: -45px; --card-angle: 11deg; --card-scale: .85; z-index: 2; }
.deck-card[data-slot="2"] { --card-x: -122px; --card-y: -12px; --card-z: -55px; --card-angle: -11deg; --card-scale: .85; z-index: 1; }
.deck-card .phone { width: 100%; border-radius: 35px; box-shadow: 0 22px 50px #0009; }
.deck-card .phone img { border-radius: 29px; }
.deck-card[data-slot]:not([data-slot="0"]) { filter: brightness(.86); }
.deck-card:focus-visible { outline-offset: 10px; border-radius: 35px; }
.plan-screen figcaption { position: relative; z-index: 4; margin-top: 10px; }

@media (max-width: 1050px) and (min-width: 681px) {
  .hero-device { left: 74%; width: 230px; }
  .deck-card { width: 216px; }
  .deck-card[data-slot="1"] { --card-x: 83px; }
  .deck-card[data-slot="2"] { --card-x: -83px; }
  .screen-deck { height: 590px; }
}
@media (max-width: 680px) {
  .hero-device { left: 70%; top: 45%; width: clamp(170px, 47vw, 205px); }
  .full-page .phone { border-radius: 33px; padding: 4px; }
  .full-page .phone img { border-radius: 28px; }
  .app-glimpse .phone { width: 235px; }
  .screen-deck { width: 100%; height: 510px; }
  .deck-card { width: 178px; }
  .deck-card[data-slot="1"] { --card-x: 74px; --card-y: -22px; --card-angle: 10deg; --card-scale: .85; }
  .deck-card[data-slot="2"] { --card-x: -74px; --card-y: -8px; --card-angle: -10deg; --card-scale: .85; }
  .deck-card .phone { border-radius: 29px; padding: 4px; }
  .deck-card .phone img { border-radius: 24px; }
  .plan-layout { gap: 22px; }
  .full-page .study-header nav { gap: 15px; }
  .full-page .study-header nav a:nth-child(2) { display: none; }
}
@media (max-width: 360px) {
  .deck-card { width: 163px; }
  .deck-card[data-slot="1"] { --card-x: 61px; }
  .deck-card[data-slot="2"] { --card-x: -61px; }
  .screen-deck { height: 465px; }
  .hero-device { width: 166px; left: 68%; }
}
@media (prefers-reduced-motion: reduce) {
  .deck-card { transition: none; }
}
.full-page .study-header { z-index: 50; transform: translateZ(0); }
.full-page .experience-controls { transform: translateZ(1px); }

.life-caption { position:absolute; z-index:12; left:6%; top:100px; margin:0; color:#fff; font-size:clamp(18px,2vw,26px); font-weight:400; letter-spacing:-.025em; pointer-events:none; }
.page-footer nav { display:flex; flex-wrap:wrap; gap:16px 24px; }
@media(max-width:680px) { .life-caption { left:6%; top:88px; font-size:19px; } .page-footer { align-items:flex-start; gap:25px; } .page-footer nav { gap:14px 20px; } }
