:root {
  --outer: #f1f3f6;
  --paper: #fff;
  --ink: #172033;
  --muted: #494949;
  --line: #e5e9ef;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--outer);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: min(940px, calc(100% - 32px));
  min-height: calc(100dvh - 56px);
  margin: 28px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 8px 32px rgba(23, 32, 51, .06);
}

.container {
  width: calc(100% - 96px);
  max-width: 844px;
  margin-inline: auto;
}

main { padding-bottom: 42px; }
h1, h2, p { margin-top: 0; }

.hero {
  padding-top: 34px;
  padding-bottom: 26px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  margin: 0 auto 16px;
  font-size: clamp(30px, 4.6vw, 43px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.16;
}

h1 span { color: var(--blue); }

.hero-copy {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.replay-player {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.replay-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.replay-placeholder {
  display: flex;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid #d7e2f4;
  border-radius: 6px;
  background: #f3f7fd;
  text-align: center;
}

.upload-mark {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 1px solid #d7e2f4;
  border-radius: 50%;
  background: #e6eefc;
  color: var(--blue);
}

.upload-mark svg { width: 25px; height: 25px; }

.replay-placeholder h2 {
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 29px);
  letter-spacing: -.02em;
  line-height: 1.25;
}

.replay-placeholder p {
  margin-bottom: 0;
  color: #4b5c76;
  font-size: 16px;
  line-height: 1.5;
}

.primary-cta {
  display: flex;
  width: min(100%, 560px);
  min-height: 62px;
  align-items: center;
  justify-content: center;
  margin: 23px auto 0;
  padding: 12px 22px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  box-shadow: 0 3px 8px rgba(37, 99, 235, .15);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.primary-cta[hidden] { display: none; }
.primary-cta:hover { background: var(--blue-dark); }
.primary-cta:focus-visible { outline: 3px solid #162f46; outline-offset: 4px; }

.decision {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.decision h2 { margin-bottom: 12px; font-size: 25px; line-height: 1.25; }
.decision p { max-width: 750px; margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

@media (max-width: 700px) {
  .container { width: calc(100% - 48px); }
  .hero { padding-top: 29px; }
}

@media (max-width: 480px) {
  .page-shell {
    width: 100%;
    min-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .container { width: calc(100% - 36px); }
  .hero { padding-top: 27px; padding-bottom: 23px; }
  .eyebrow { font-size: 14px; }
  h1 { font-size: clamp(29px, 8.3vw, 36px); }
  .hero-copy, .decision p { font-size: 15px; }
  .replay-placeholder { padding: 16px; }
  .upload-mark { width: 40px; height: 40px; margin-bottom: 12px; }
  .upload-mark svg { width: 21px; height: 21px; }
  .replay-placeholder h2 { margin-bottom: 6px; }
  .replay-placeholder p { max-width: 230px; font-size: 14px; }
  .primary-cta { min-height: 56px; margin-top: 18px; font-size: 19px; }
  .decision { margin-top: 32px; padding-top: 24px; }
  .decision h2 { font-size: 23px; }
  main { padding-bottom: 30px; }
}
