/* RepReview — one long scroll through the app.
   Dark navy stage, tan accents, condensed display type. */

:root {
  --navy: #071A34;
  --navy-2: #0D2647;
  --navy-3: #16345C;
  --tan: #C9A47C;
  --tan-2: #E0C6A6;
  --paper: #F5F2ED;
  --ink: #0B1A2E;
  --ink-2: #5A6B80;
  --line: rgba(201, 164, 124, 0.28);
  --line-dark: rgba(255, 255, 255, 0.12);
  --good: #5FBD86;
  --warn: #E8A33D;
  --bad: #E0614B;
  --sky: #9FB8DE;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--navy);
  color: var(--paper);
  font: 17px/1.6 "Barlow", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; margin: 0; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(52px, 11vw, 132px); letter-spacing: -0.015em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 5.5vw, 62px); text-transform: uppercase; letter-spacing: -0.01em; }
h3 { font-size: clamp(24px, 3vw, 32px); }
p { margin: 0; max-width: 60ch; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

.wrap { width: min(1180px, 100%); margin: 0 auto; padding-inline: 20px; }

.mono {
  font: 600 11px/1 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--tan);
}

/* ------------------------------------------------------------- top bar */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(20px, env(safe-area-inset-left)) 14px 20px;
  background: linear-gradient(180deg, rgba(7,26,52,0.92), rgba(7,26,52,0));
  backdrop-filter: blur(6px);
}
.topbar .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.topbar .brand img { width: 34px; height: 34px; border-radius: 9px; }
.topbar .brand span { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 23px; letter-spacing: 0.02em; }
.topbar .cta {
  font: 600 13px/1 "Barlow", sans-serif; text-decoration: none;
  padding: 11px 16px; border-radius: 999px; background: var(--tan); color: var(--navy);
}
.topbar .cta:hover { background: var(--tan-2); }

/* ---------------------------------------------------------------- hero */
.hero {
  min-height: 100svh; display: grid; align-content: center; gap: 26px;
  padding-block: 120px 60px; position: relative;
}
.hero-title span { display: block; }
.hero-title .thin { color: var(--tan); }
.hero-lede { font-size: clamp(18px, 2.2vw, 22px); color: #C9D6E8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 600 16px/1 "Barlow", sans-serif; padding: 16px 24px; border-radius: 999px; border: 0;
  background: var(--tan); color: var(--navy);
}
.btn:hover { background: var(--tan-2); }
.btn.ghost { background: transparent; color: var(--paper); border: 1px solid var(--line-dark); }
.btn.ghost:hover { border-color: var(--tan); color: var(--tan); }

.hero-strip { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.hero-strip div { display: grid; gap: 2px; }
.hero-strip b { font-family: "Barlow Condensed", sans-serif; font-size: 34px; font-weight: 700; color: var(--tan); }
.hero-strip span { font-size: 14px; color: var(--sky); }

.scroll-cue {
  display: flex; align-items: center; gap: 10px; color: var(--sky); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.scroll-cue i {
  width: 22px; height: 34px; border: 1px solid var(--line-dark); border-radius: 12px; position: relative;
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px;
  background: var(--tan); transform: translateX(-50%); animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translate(-50%, 0); opacity: 1; } 60% { transform: translate(-50%, 11px); opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i::after { animation: none; } }

/* --------------------------------------------------------------- stage */
.stage { position: relative; }
.stage-pin {
  position: sticky; top: 0; height: 100svh; display: grid; align-content: stretch;
  overflow: hidden; padding-block: 72px 20px;
}
@media (min-width: 900px) { .stage-pin { padding-block: 40px; } }
.stage-grid {
  display: grid; gap: 18px; grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr); align-items: start; min-height: 0; height: 100%;
}
@media (min-width: 900px) {
  .stage-grid { grid-template-columns: 1fr 430px; grid-template-rows: minmax(0, 1fr); gap: 40px; align-items: center; }
}

/* chapter copy — stacked and cross-faded on wide screens, one at a time
   on narrow ones so nothing overlaps the phone. */
.chapters { position: relative; }
.chapter { display: none; gap: 12px; align-content: center; }
.chapter.on { display: grid; }
@media (min-width: 900px) {
  .chapters { min-height: 400px; }
  .chapter {
    display: grid; position: absolute; inset: 0; gap: 14px;
    opacity: 0; transform: translateY(24px); pointer-events: none;
    transition: opacity .45s ease, transform .45s ease;
  }
  .chapter.on { opacity: 1; transform: none; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .chapter { transition: none; } }
.chapter p { color: #C2D0E2; font-size: clamp(15px, 1.7vw, 19px); }
.chapter .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chapter .tags span {
  font: 600 12.5px/1 "Barlow", sans-serif; padding: 9px 12px; border-radius: 999px;
  background: rgba(201,164,124,0.13); color: var(--tan-2); border: 1px solid var(--line);
}

/* the phone */
.phone-wrap {
  position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center; align-items: center; min-height: 0; height: 100%; width: 100%;
}
.phone {
  position: relative;
  height: 100%; max-height: min(470px, calc(46vw * 2.1667));
  width: auto; aspect-ratio: 9 / 19.5;
  transition: opacity .5s ease, transform .5s ease;
  border-radius: 42px; padding: 9px;
  background: linear-gradient(160deg, #2B3A50, #0B1524 60%);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transform: rotateY(-9deg) rotateX(2deg); transform-style: preserve-3d;
}
@media (min-width: 900px) {
  .phone { max-height: min(620px, calc(20vw * 2.1667)); }
}
/* During the filming chapter the lifter takes over and the phone steps back. */

.phone::after {
  content: ""; position: absolute; left: 50%; top: 14px; width: 84px; height: 22px;
  transform: translateX(-50%); background: #0B1524; border-radius: 999px; z-index: 3;
}
.screen {
  position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: #F2F4F7;
}
.screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill;
  opacity: 0; transform: scale(1.03); transition: opacity .5s ease, transform .6s ease;
}
.screen img.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .screen img { transition: none; } }


/* the 3D lifter sits behind the phone for the filming chapter */
/* The lifter only ever plays inside the phone's glass, above the screenshot
   but below the recording controls. */
#lifter {
  position: absolute; left: 0; top: 0; right: 0; bottom: 22%;
  width: 100%; height: 78%;
  opacity: 0; visibility: hidden; transition: opacity .35s ease;
  pointer-events: none; z-index: 4;
}
#lifter.on { opacity: 1; visibility: visible; }
.readout-float {
  margin-top: 22px; display: grid; gap: 10px; justify-items: center; width: 100%;
  opacity: 0; transition: opacity .45s ease;
}
.readout-float.on { opacity: 1; }
.readout-title {
  font: 600 11px/1 "IBM Plex Mono", monospace; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sky);
}
.readout-row { display: grid; grid-template-columns: repeat(3, minmax(86px, 1fr)); gap: 10px; width: min(340px, 100%); }
.readout-row div {
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); border-radius: 14px;
  padding: 12px 8px; display: grid; gap: 3px; justify-items: center; text-align: center;
}
.readout-float b {
  font-family: "Barlow Condensed", sans-serif; font-size: 28px; font-weight: 700; color: var(--tan);
  font-variant-numeric: tabular-nums; line-height: 1;
}
.readout-float span { font-size: 11.5px; color: var(--sky); letter-spacing: 0.05em; }

/* progress rail */
.rail {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30;
  display: none; gap: 10px; flex-direction: column; align-items: flex-end;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
@media (min-width: 980px) { .rail { display: flex; } }
.rail.on { opacity: 1; pointer-events: auto; }
.rail button {
  display: flex; align-items: center; gap: 9px; background: none; border: 0; cursor: pointer;
  color: var(--sky); font: 600 11px/1 "IBM Plex Mono", monospace; letter-spacing: 0.1em; padding: 4px;
}
.rail i { display: block; width: 26px; height: 2px; background: rgba(255,255,255,0.22); transition: all .3s ease; }
.rail button span { opacity: 0; transition: opacity .25s ease; }
.rail button:hover span, .rail button.active span { opacity: 1; }
.rail button.active i { width: 44px; background: var(--tan); }
.rail button.active { color: var(--tan); }

/* ------------------------------------------------------------- sections */
section.band { padding-block: clamp(70px, 10vw, 130px); position: relative; }
section.band.light { background: var(--paper); color: var(--ink); }
section.band.light p { color: var(--ink-2); }
section.band.light h2, section.band.light h3 { color: var(--navy); }
.band-head { display: grid; gap: 14px; margin-bottom: 40px; }

/* multiple coaches diagram */
.coach-map { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 860px) { .coach-map { grid-template-columns: 1fr 1fr 1fr; } }
.node {
  border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
}
.node.center { background: linear-gradient(160deg, var(--navy-3), var(--navy-2)); border-color: var(--line); }
.node .role { font: 600 11px/1 "IBM Plex Mono", monospace; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan); }
.node ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; color: #C2D0E2; font-size: 15.5px; }
.node.center ul { color: var(--paper); }

/* versus */
.versus { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .versus { grid-template-columns: 1fr 1fr; } }
.versus-card { border-radius: 18px; padding: 26px; display: grid; gap: 14px; align-content: start; }
.versus-card.before { background: rgba(255,255,255,0.03); border: 1px dashed var(--line-dark); }
.versus-card.after { background: var(--tan); color: var(--navy); }
.versus-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.versus-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; }
.versus-card.before li::before { content: "×"; color: var(--bad); font-weight: 700; }
.versus-card.after li::before { content: "✓"; font-weight: 700; }
.versus-card.before li { color: #AEBCCE; }

/* feature strip */
.strip { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(3, 1fr); } }
.strip .cell {
  border-radius: 16px; padding: 22px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark); display: grid; gap: 8px; align-content: start;
}
section.band.light .cell { background: #fff; border-color: rgba(11,26,46,0.08); }
.strip .cell p { font-size: 15.5px; }

/* waitlist */
.signup {
  border-radius: 24px; padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(150deg, var(--navy-3), var(--navy-2));
  border: 1px solid var(--line); display: grid; gap: 18px;
}
.signup form { display: grid; gap: 12px; }
@media (min-width: 640px) { .signup .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } }
.field { display: grid; gap: 6px; }
.field label { font: 600 11px/1 "IBM Plex Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.signup input, .signup select {
  font: 400 16px/1.2 "Barlow", sans-serif; padding: 15px; border-radius: 12px; width: 100%;
  border: 1px solid var(--line-dark); background: rgba(0,0,0,0.25); color: var(--paper);
}
.signup input::placeholder { color: #7A8CA5; }
.status { min-height: 22px; font-weight: 600; font-size: 15px; }
.status.ok { color: var(--good); }
.status.err { color: #FFAF9F; }
.fine { font-size: 13.5px; color: var(--sky); }

footer {
  border-top: 1px solid var(--line-dark); padding-block: 26px 44px;
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  color: var(--sky); font-size: 14px;
}
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------- choreography & recording UI */

/* the phone is driven frame by frame from JS, so no CSS transform here */
.phone { transform: none; will-change: transform; }

.phone { transition: opacity .45s ease; }

/* big ghost chapter number behind everything */
.ghost-number {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  font-size: clamp(180px, 34vw, 420px); line-height: 0.8;
  color: rgba(201, 164, 124, 0.05); pointer-events: none; user-select: none;
  transition: opacity .5s ease;
}
@media (max-width: 899px) { .ghost-number { right: -6%; font-size: 46vw; } }

/* Screens change the way they do in the app: a tap lands on the screen,
   then the next view pushes in over the old one (or cross-fades when the
   tap was on the tab bar). */
.screen img {
  transition: opacity .42s ease, transform .52s cubic-bezier(.32,.72,.35,1);
  box-shadow: -18px 0 30px rgba(3, 10, 22, 0.35);
}
.screen img.on { opacity: 1; transform: none; }

/* a push: the new view comes in from the right, the old slides back a little */
.screen.push img.entering { opacity: 1; transform: translateX(100%); }
.screen.push img.leaving { opacity: 1; transform: translateX(-24%); }
/* going back: the reverse */
.screen.back img.entering { opacity: 1; transform: translateX(-24%); }
.screen.back img.leaving { opacity: 1; transform: translateX(100%); }
/* a tab change: no push, just a quick swap */
.screen.tab img.entering { opacity: 0; transform: scale(0.99); }
.screen.tab img.leaving { opacity: 0; transform: scale(1.01); }
@media (prefers-reduced-motion: reduce) { .screen img { transition: opacity .2s linear; } }

/* the tap: a ring that lands where a finger would */
.tap {
  position: absolute; z-index: 6; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,0.9);
  background: rgba(201,164,124,0.35); opacity: 0; pointer-events: none;
}
.tap.go { animation: tapped .7s ease-out; }
@keyframes tapped {
  0% { opacity: 0; transform: scale(0.4); }
  35% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}
@media (prefers-reduced-motion: reduce) { .tap.go { animation: none; } }



/* the in-app recording overlay */
.rec-ui {
  position: absolute; inset: 0; z-index: 6; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,12,24,0.55), rgba(4,12,24,0.15) 30%, rgba(4,12,24,0.75));
  transition: opacity .4s ease;
}
.rec-ui.on { opacity: 1; }
.rec-ui .corner { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255,255,255,0.85); }
.rec-ui .tl { top: 46px; left: 14px; border-right: 0; border-bottom: 0; }
.rec-ui .tr { top: 46px; right: 14px; border-left: 0; border-bottom: 0; }
.rec-ui .bl { bottom: 108px; left: 14px; border-right: 0; border-top: 0; }
.rec-ui .br { bottom: 108px; right: 14px; border-left: 0; border-top: 0; }
.rec-top {
  position: absolute; top: 48px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 7px;
  font: 600 11px/1 "IBM Plex Mono", monospace; letter-spacing: 0.12em; color: #fff;
  background: rgba(10,20,36,0.75); padding: 7px 10px; border-radius: 999px;
}
.rec-top b { color: var(--tan-2); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #E0614B; animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }
.rec-caption {
  position: absolute; left: 12px; right: 12px; top: 84px; text-align: center;
}
.rec-set { font: 600 13px/1.2 "Barlow", sans-serif; color: #fff; }
/* the shutter: white ring, red square, always clear of the lifter */
.shutter {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%; padding: 0;
  border: 3px solid #fff; background: rgba(6, 15, 28, 0.6);
  display: grid; place-items: center;
}
.shutter i { width: 24px; height: 24px; border-radius: 5px; background: #E0614B; display: block; }

/* Recording beat: the lifter plays inside the phone's screen, as the app's
   own camera view, before breaking out of the frame for the analysis. */

.phone.rec .screen { background: #060F1C; }
.phone.rec .screen img { opacity: 0 !important; }
.rec-ui { background: linear-gradient(180deg, rgba(4,12,24,0.35), rgba(4,12,24,0) 28%, rgba(4,12,24,0.6)); }

/* ------------------------------------------------- policy & help pages */
.doc-page { background: var(--paper); color: var(--ink); }
.doc-page .topbar { background: linear-gradient(180deg, rgba(245,242,237,0.95), rgba(245,242,237,0)); }
.doc-page .topbar .brand span { color: var(--navy); }
.doc-page h1 { font-size: clamp(38px, 7vw, 64px); color: var(--navy); }
.doc-page h2 { font-size: clamp(24px, 3.2vw, 32px); color: var(--navy); text-transform: none; letter-spacing: 0; }
.doc-page a { color: #16345C; }
.doc-head { padding-block: 104px 8px; display: grid; gap: 10px; }
.doc-head .mono { color: #8A6A46; }
.updated { font-size: 14px; color: var(--ink-2); }
.doc {
  background: #fff; border: 1px solid rgba(11,26,46,0.1); border-radius: 18px;
  padding: clamp(20px, 3vw, 34px); margin-block: 22px 8px; display: grid; gap: 14px;
}
.doc h2 { margin-top: 18px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font-size: 16.5px; color: #253347; }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 9px; }
.doc .lede-line { font-size: 18.5px; }
.doc-page footer { border-top: 1px solid rgba(11,26,46,0.12); color: var(--ink-2); }
.doc-page footer b { color: var(--navy); }

/* keyboard: a skip link that appears on focus */
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 60; transform: translateY(-140%);
  background: var(--tan); color: var(--navy); padding: 12px 16px; border-radius: 10px;
  font: 600 14px/1 "Barlow", sans-serif; text-decoration: none; transition: transform .2s ease;
}
.skip:focus { transform: none; }

/* consent + business details on the signup */
.consent {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  font-size: 14.5px; color: #C9D6E8; margin-top: 2px;
}
.consent input {
  width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--tan);
}
.consent a { color: var(--tan-2); }
.legal-foot { display: grid; gap: 6px; font-size: 14px; color: #B9C8DC; }
.legal-foot a { color: var(--tan-2); }

/* cookie banner — only shown if something non-essential is ever switched on */
.cookie-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  background: rgba(7,26,52,0.97); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; display: none; gap: 14px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.cookie-bar.on { display: flex; }
.cookie-bar p { font-size: 14.5px; color: #C9D6E8; flex: 1 1 300px; }
.cookie-bar .actions { display: flex; gap: 8px; }
.cookie-bar button {
  font: 600 14px/1 "Barlow", sans-serif; padding: 11px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-dark); background: transparent; color: var(--paper);
}
.cookie-bar button.accept { background: var(--tan); color: var(--navy); border-color: var(--tan); }

/* ------------------------------------------------ small screens: make the
   copy, the phone and the numbers all fit one screen without clipping */
@media (max-width: 899px) {
  .stage-pin { padding-block: 66px 14px; }
  .stage-grid { gap: 14px; }
  .chapter { gap: 9px; }
  .chapter h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .chapter p { font-size: 14.8px; line-height: 1.5; }
  .chapter .tags span { font-size: 11.5px; padding: 7px 10px; }
  .phone { max-height: min(330px, calc(44vw * 2.1667)); padding: 7px; border-radius: 34px; }
  .screen { border-radius: 28px; }
  .phone::after { width: 62px; height: 17px; top: 10px; }
  .readout-float { margin-top: 14px; gap: 7px; }
  .readout-row { gap: 7px; width: 100%; }
  .readout-row div { padding: 9px 6px; border-radius: 11px; }
  .readout-float b { font-size: 23px; }
  .readout-float span { font-size: 10.5px; }
  .readout-title { font-size: 10px; letter-spacing: 0.12em; }
  .rec-top { top: 30px; font-size: 10px; padding: 5px 8px; }
  .rec-caption { top: 58px; }
  .rec-set { font-size: 11.5px; }
  .shutter { width: 44px; height: 44px; bottom: 16px; border-width: 2.5px; }
  .shutter i { width: 19px; height: 19px; }
  .rec-ui .corner { width: 20px; height: 20px; }
  .rec-ui .tl, .rec-ui .tr { top: 30px; }
  .rec-ui .bl, .rec-ui .br { bottom: 76px; }
  .ghost-number { font-size: 40vw; opacity: 0.8; }
}

/* very short windows (a laptop with lots of browser chrome) */
@media (min-width: 900px) and (max-height: 760px) {
  .chapter p { font-size: 15.5px; }
  .phone { max-height: min(520px, calc(18vw * 2.1667)); }
}
