/* RUNWAY - the timer screen */
.twrap { max-width: 720px; margin: 0 auto; padding: 18px var(--gutter) 70px; text-align: center; }

.screen { border: 6px solid var(--violet); background: #0a0814; padding: 34px 20px 28px;
          position: relative; overflow: hidden; }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom,
    rgba(255,255,255,.05) 0 2px, rgba(0,0,0,0) 2px 6px); }

.phase { font-family: var(--pix); font-size: clamp(12px, 3vw, 16px); letter-spacing: 3px;
         margin: 0 0 18px; color: var(--yellow); }
.time  { font-family: var(--pix); font-size: clamp(46px, 15vw, 104px); line-height: 1;
         margin: 0; color: var(--bone); letter-spacing: 2px;
         text-shadow: 5px 5px 0 var(--red); font-variant-numeric: tabular-nums; }

.bar { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.bar .pip { width: 34px; height: 10px; background: var(--violet); display: block; }
.bar .pip.done { background: var(--cyan); }
.bar .pip.now  { background: var(--yellow); }

.line { font-size: clamp(21px, 3.6vw, 27px); line-height: 1.4; margin: 28px auto 0;
        max-width: 30ch; color: var(--bone); min-height: 2.8em; }

.twrap .cta { margin-top: 26px; }
.twrap .fine { font-family: var(--pix); font-size: 10px; letter-spacing: 1px;
               color: var(--gun); margin-top: 28px; line-height: 1.9; }

body[data-phase="short"] .screen, body[data-phase="long"] .screen { border-color: #1d3b46; }

@media (max-width: 720px) {
  .screen { padding: 26px 14px 22px; }
  .bar .pip { width: 26px; }
  .twrap .cta { flex-direction: column; }
}

.session { font-family: var(--pix); font-size: clamp(9px, 2.2vw, 11px);
           letter-spacing: 1px; color: var(--gun); margin: 20px 0 0; }

.about { text-align: left; margin-top: 64px; padding-top: 40px;
         border-top: 6px solid var(--violet); }
.about .h { margin-top: 34px; }
.about .h:first-child { margin-top: 0; }
.about .body { margin-top: 14px; }
.about em { font-style: italic; color: var(--cyan); }
.about strong { font-weight: 400; color: var(--yellow); }
.dimnote { color: var(--gun); font-size: clamp(19px, 3vw, 23px); }
.steps { margin: 16px 0 0; padding-left: 26px; display: flex;
         flex-direction: column; gap: 9px; }
.steps li { font-size: clamp(21px, 3.2vw, 26px); line-height: 1.4; color: var(--bone); }
.steps li::marker { color: var(--cyan); font-family: var(--pix); font-size: .62em; }

.ttl { font-family: var(--pix); font-weight: 400; font-size: clamp(17px, 4.4vw, 28px);
       letter-spacing: 1px; color: var(--yellow); margin: 6px 0 12px;
       text-shadow: 3px 3px 0 var(--red); line-height: 1.4; }
.sub { font-size: clamp(19px, 3vw, 24px); color: var(--gun); margin: 0 0 26px; }
.faq-q { font-family: var(--body); font-size: clamp(22px, 3.4vw, 28px); font-weight: 400;
         color: var(--cyan); margin: 30px 0 0; line-height: 1.3; }

/* ---------- hero: the clock owns the first screen ----------
   svh (small viewport height) rather than vh, so mobile browser chrome
   appearing and disappearing does not make the hero jump. min-height, not
   height, so a short phone just scrolls instead of clipping the buttons. */
.stage { min-height: calc(100svh - var(--head, 78px));
         display: flex; flex-direction: column; justify-content: center;
         padding-bottom: 8px; }
@supports not (height: 100svh) {
  .stage { min-height: calc(100vh - var(--head, 78px)); }
}
.stage .ttl { margin-top: 0; }
.stage .fine { margin-top: 20px; }

.scroll-hint { margin-top: auto; padding-top: 26px; display: inline-flex;
               flex-direction: column; align-items: center; gap: 8px;
               text-decoration: none; color: var(--gun); }
.scroll-hint span { font-family: var(--pix); font-size: 10px; letter-spacing: 1px; }
.scroll-hint svg { fill: var(--cyan); animation: smpNudge 1.8s steps(3, end) infinite alternate; }
.scroll-hint:hover span, .scroll-hint:focus-visible span { color: var(--cyan); }
@keyframes smpNudge { from { transform: translateY(0); } to { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint svg { animation: none; } }

.about:first-of-type { margin-top: 0; }

@media (max-width: 720px) {
  .stage { --head: 70px; }
  .stage .fine { font-size: 9px; margin-top: 16px; }
}

/* short screens (iPhone SE and similar): compact the hero so the clock and
   the controls still fit one screen without the explainer creeping up */
@media (max-height: 720px) {
  .stage .ttl { font-size: 15px; margin: 0 0 8px; }
  .stage .sub { font-size: 17px; margin-bottom: 16px; }
  .screen { padding: 18px 14px 16px; }
  .phase { font-size: 11px; margin-bottom: 10px; }
  .time { font-size: clamp(40px, 13vw, 72px); }
  .bar { margin-top: 16px; }
  .session { margin-top: 12px; }
  .line { font-size: 19px; margin-top: 16px; min-height: 2.4em; }
  .twrap .cta { margin-top: 16px; gap: 10px; }
  .twrap .btn { padding: 13px 18px; min-height: 44px; }
  .stage .fine { margin-top: 10px; }
  .scroll-hint { padding-top: 14px; }
}
