﻿:root {
  --bg-top: #041a32;
  --bg-mid: #07284b;
  --bg-bottom: #0a3d66;
  --page-bg: #0a3d66;
  --line: rgba(173, 221, 255, 0.18);
  --text: #eef7ff;
  --muted: #adc9de;
  --gold: #e8c46f;
  --sky: #8bd8ff;
  --sky-strong: #d9f4ff;
  --hero-tail: #0a3d66;
  --shadow-blue: rgba(10, 61, 102, 0.52);
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--page-bg);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  opacity: 0.24;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

.page {
  position: relative;
  min-height: 100vh;
}

.page-reboot {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 6;
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(139, 216, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 40, 71, 0.52);
  color: rgba(217, 244, 255, 0.82);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, opacity 160ms ease;
  opacity: 0.86;
}

.page-reboot:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 216, 255, 0.22);
  background: rgba(8, 40, 71, 0.54);
  color: rgba(217, 244, 255, 0.88);
  opacity: 1;
}

.page-reboot svg {
  width: 1.08rem;
  height: 1.08rem;
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(31vh, 260px);
  padding: 0 0 3.1rem;
}

.hero-media,
.hero-glow,
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media {
  background:
    linear-gradient(180deg, rgba(10, 61, 102, 0.06) 0%, rgba(10, 61, 102, 0.14) 18%, rgba(10, 61, 102, 0.3) 42%, rgba(10, 61, 102, 0.56) 68%, rgba(10, 61, 102, 0.84) 88%, rgba(10, 61, 102, 1) 100%),
    url("./morphose_img.jpg") center bottom / cover no-repeat;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.98) 56%, rgba(0, 0, 0, 0.48) 82%, transparent 100%);
  opacity: 0.4;
  transform: none;
}

.hero-glow {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(10, 61, 102, 0.08) 30%, rgba(10, 61, 102, 0.26) 52%, rgba(10, 61, 102, 0.58) 76%, rgba(10, 61, 102, 0.9) 92%, rgba(10, 61, 102, 1) 100%);
}

.hero-vignette {
  background: none;
}

.hero-inner,
.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  display: grid;
  justify-items: center;
  z-index: 1;
  padding-top: 0.35rem;
}

.hero-copy {
  display: inline-grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
  padding-top: 0;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.hero-logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  width: auto;
  max-width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5.8vw, 3.8rem);
  line-height: 0.92;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(180deg, #fff4c9 0%, #f0d887 38%, #c99845 72%, #8d6325 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 700;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 252, 230, 0.9),
    0 2px 0 rgba(211, 176, 91, 0.92),
    0 3px 0 rgba(147, 104, 36, 0.92),
    0 4px 0 rgba(110, 73, 20, 0.96),
    1px 1px 0 rgba(0, 0, 0, 0.22),
    0 4px 8px rgba(0, 0, 0, 0.12);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.14));
}

.hero-logo-word,
.hero-logo-tail {
  position: relative;
  display: inline-block;
}

.hero-logo-tail {
  margin-left: 0.12em;
  font-size: 0.42em;
  vertical-align: 0.24em;
  letter-spacing: 0.02em;
}

.hero-logo-tail::before,
.hero-logo-word::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  background: linear-gradient(105deg, transparent 0%, transparent 42%, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.98) 50%, rgba(255, 255, 255, 0.1) 52%, transparent 58%, transparent 100%);
  background-size: 240% 100%;
  background-position: 140% 0;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  pointer-events: none;
  animation: logoOverlayIn 40ms linear 1.1s forwards, logoShine 3.8s linear 1.15s infinite;
}

.hero-logo-tail::after,
.hero-logo-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3),
    0 -1px 0 rgba(92, 60, 16, 0.42),
    0 2px 0 rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  animation: logoOverlayIn 40ms linear 1.03s forwards;
}

.hero-letter {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #fff4c9 0%, #f0d887 38%, #c99845 72%, #8d6325 100%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  transform: translateY(18px) scale(0.975);
  filter: blur(4px);
  text-shadow: 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(255, 255, 255, 0);
  animation: heroLetterIn 980ms cubic-bezier(0.2, 0.9, 0.18, 1) forwards;
  animation-delay: calc(0.08s + (var(--i) * 0.09s));
}

.panel-top {
  display: grid;
  gap: 0.58rem;
  justify-items: center;
  width: 100%;
  max-width: 100%;
}

.progress-chip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.progress-chip strong {
  display: inline;
}

.progress-chip span {
  display: inline;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 240, 195, 0.26);
  background: rgba(5, 18, 34, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #fff4c9 0%, #f0d887 38%, #c99845 72%, #8d6325 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 6px 18px rgba(201, 152, 69, 0.22);
  transition: width 220ms ease;
}

.progress-question {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.24rem;
  min-height: 1.4rem;
  color: rgba(217, 244, 255, 0.86);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 0 rgba(3, 12, 24, 0.92), 0 6px 14px rgba(3, 12, 24, 0.78), 0 12px 28px rgba(3, 12, 24, 0.52);
}

.progress-question strong {
  color: var(--gold);
  font-size: 1.42rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(3, 12, 24, 0.96), 0 8px 18px rgba(3, 12, 24, 0.82), 0 16px 34px rgba(3, 12, 24, 0.58);
}

.shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), 840px);
  margin-top: -6.5rem;
  min-height: calc(100vh - 10rem);
  padding-bottom: 3.6rem;
}

.question-flow {
  display: grid;
  justify-items: center;
  align-items: center;
  min-height: 100%;
}

.question-card {
  position: relative;
  display: grid;
  gap: 0.7rem;
  width: min(100%, 760px);
  min-height: 430px;
  padding: 0;
  background: none;
  border: 0;
}

.question-card.is-forward {
  animation: swapForward 460ms cubic-bezier(0.16, 0.92, 0.18, 1);
}

.question-card.is-back {
  animation: swapBack 460ms cubic-bezier(0.16, 0.92, 0.18, 1);
}

.question-meta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.question-icon {
  display: grid;
  place-items: center;
  width: clamp(120px, 18vw, 160px);
  aspect-ratio: 1;
  margin-bottom: -0.08rem;
  filter: drop-shadow(0 16px 32px var(--shadow-blue));
}

.question-icon-image {
  width: 100%;
  height: 100%;
  display: block;
}

.question-text {
  width: min(100%, 760px);
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 1.95vw, 1.62rem);
  line-height: 1.14;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(4, 16, 32, 0.96), 0 8px 18px rgba(4, 16, 32, 0.82), 0 18px 38px rgba(10, 61, 102, 0.48);
  filter: none;
}

.question-help {
  min-height: 1.1rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.limit-note {
  display: none;
}

.answer-region {
  display: grid;
  gap: 0.95rem;
  width: min(100%, 680px);
  margin: -0.05rem auto 0;
}

.field-input,
.field-textarea,
.field-url {
  width: 100%;
  padding: 0.92rem 1.02rem;
  border-radius: 18px;
  border: 1px solid rgba(173, 221, 255, 0.16);
  background: linear-gradient(180deg, rgba(5, 20, 38, 0.76), rgba(8, 31, 57, 0.94));
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field-input.is-affirmed,
.field-textarea.is-affirmed,
.field-url.is-affirmed,
.file-shell.is-affirmed {
  animation: fieldAffirm 760ms cubic-bezier(0.18, 0.92, 0.2, 1);
}

.field-input {
  padding-block: 0.68rem;
}

.field-input:focus,
.field-textarea:focus,
.field-url:focus {
  outline: none;
  border-color: rgba(139, 216, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(139, 216, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.field-input::placeholder,
.field-textarea::placeholder,
.field-url::placeholder {
  color: rgba(173, 201, 222, 0.58);
}

.field-enter-note {
  margin-top: -0.18rem;
  color: rgba(217, 244, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: left;
}

.field-textarea {
  min-height: 10.2rem;
  resize: vertical;
  line-height: 1.45;
}

.option-grid {
  display: grid;
  gap: 0.82rem;
}

.option-button {
  position: relative;
  width: 100%;
  padding: 0.98rem 1.08rem 0.98rem 1.18rem;
  border: 1px solid rgba(173, 221, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 31, 57, 0.84), rgba(8, 28, 50, 0.96));
  color: var(--text);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.option-button::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.5) 48%, transparent 72%);
  opacity: 0;
  transform: translateX(-140%) rotate(9deg);
  pointer-events: none;
}

.option-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(158, 226, 255, 0.34) 0%, rgba(97, 184, 235, 0.2) 44%, rgba(15, 91, 148, 0.08) 100%);
  opacity: 0;
  pointer-events: none;
}

.option-button:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 216, 255, 0.28);
  background: linear-gradient(180deg, rgba(10, 37, 67, 0.92), rgba(8, 31, 57, 0.98));
}

.option-button.is-selected {
  border-color: rgba(139, 216, 255, 0.34);
  background: linear-gradient(180deg, rgba(82, 163, 214, 0.78) 0%, rgba(46, 125, 182, 0.84) 100%);
  color: #f6fcff;
  box-shadow: inset 0 1px 0 rgba(245, 252, 255, 0.16), 0 0 0 2px rgba(139, 216, 255, 0.1);
  text-shadow: none;
}

.option-button.is-selected::before {
  opacity: 1;
}

.option-button.is-affirmed {
  animation: optionAffirm 1320ms cubic-bezier(0.18, 0.92, 0.2, 1) both;
}

.option-button.is-affirmed::after {
  animation: optionFlash 1320ms cubic-bezier(0.18, 0.92, 0.2, 1);
}

.option-button.is-affirmed::before {
  animation: optionGlowWash 1320ms cubic-bezier(0.18, 0.92, 0.2, 1);
}

.option-label {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-size: 1rem;
  line-height: 1.4;
}

.option-label::before {
  content: "›";
  flex: 0 0 auto;
  font-size: 1.22rem;
  line-height: 1;
  color: #d7ebfb;
  transform: translateY(-1px);
}

.option-button.is-selected .option-label::before {
  content: "✓";
  color: #d9f4ff;
}

.file-shell {
  display: grid;
  gap: 0.95rem;
  width: min(100%, 680px);
  margin: 0 auto;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.file-picker-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.file-pick-button {
  justify-content: flex-start;
  min-height: 3.5rem;
  width: min(100%, 420px);
  border-style: dashed;
  border-color: rgba(139, 216, 255, 0.26);
  background: linear-gradient(180deg, rgba(11, 38, 67, 0.82), rgba(6, 25, 46, 0.88));
  text-align: left;
}

.file-pick-button.has-file {
  border-style: solid;
  border-color: rgba(139, 216, 255, 0.34);
  background: linear-gradient(180deg, rgba(14, 55, 92, 0.9), rgba(10, 39, 66, 0.92));
}

.file-change-button.is-hidden {
  display: none;
}

.file-status,
.inline-feedback {
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(139, 216, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  line-height: 1.45;
}

.inline-feedback.is-error {
  border-color: rgba(232, 196, 111, 0.22);
  color: #ffdca6;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  width: min(100%, 680px);
  margin-inline: auto;
  margin-top: auto;
}

.nav-actions,
.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.64rem;
  padding: 0.92rem 1.38rem;
  border-radius: 999px;
  border: 1px solid rgba(173, 221, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(139, 216, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.button-primary {
  border-color: rgba(255, 232, 163, 0.46);
  background: linear-gradient(180deg, rgba(255, 247, 214, 0.82) 0%, rgba(238, 204, 116, 0.9) 34%, rgba(190, 137, 48, 0.96) 100%);
  color: #fff9eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(110, 73, 20, 0.26), 0 14px 30px rgba(0, 0, 0, 0.26);
  text-shadow: 0 1px 0 rgba(122, 84, 24, 0.72), 0 2px 8px rgba(0, 0, 0, 0.18);
}

.button-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(248, 232, 178, 0.84) 0%, rgba(216, 174, 81, 0.92) 34%, rgba(166, 113, 33, 0.98) 100%);
}

.button-secondary {
  color: var(--sky-strong);
}

.button-ghost {
  background: transparent;
  color: var(--muted);
}

.button-nav {
  min-width: 156px;
}

.button-text {
  line-height: 1;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.button-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.summary-view {
  display: grid;
  gap: 1rem;
  width: min(100%, 720px);
  margin: 0 auto;
}

.summary-top {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
}

.summary-top h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  line-height: 1.08;
}

.summary-top p {
  color: var(--muted);
  line-height: 1.45;
}

.summary-note {
  text-align: center;
  color: var(--muted);
  line-height: 1.45;
}

.answer-list {
  display: grid;
  gap: 0.8rem;
}

.answer-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(173, 221, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.answer-item strong {
  display: block;
  margin-bottom: 0.28rem;
  color: #ffffff;
}

.answer-item span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.answer-item button {
  margin-top: 0.72rem;
  border: 0;
  background: none;
  color: var(--sky);
  cursor: pointer;
  padding: 0;
  font-size: 0.92rem;
}

.loading,
.fatal {
  display: grid;
  gap: 0.9rem;
  place-items: center;
  min-height: 360px;
  text-align: center;
  color: var(--muted);
}

.loading-spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(139, 216, 255, 0.18);
  border-top-color: rgba(232, 196, 111, 0.88);
  animation: spin 900ms linear infinite;
}

.submit-status {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(173, 221, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  line-height: 1.5;
}

.submit-status.is-success {
  border-color: rgba(139, 216, 255, 0.22);
  color: #dcf4ff;
}

.submit-status.is-error {
  border-color: rgba(232, 196, 111, 0.22);
  color: #ffe1ac;
}

@keyframes heroLetterIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.975);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes logoOverlayIn {
  to {
    opacity: 1;
  }
}

@keyframes logoShine {
  to {
    background-position: -140% 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes swapForward {
  0% {
    opacity: 0;
    transform: translate3d(360px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes swapBack {
  0% {
    opacity: 0;
    transform: translate3d(-360px, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes optionAffirm {
  0% {
    transform: scale(1) rotate(0deg);
    border-color: rgba(232, 196, 111, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 0 rgba(232, 196, 111, 0);
  }

  18% {
    transform: scale(1.03) rotate(-0.65deg);
  }

  36% {
    transform: scale(1.02) rotate(0.7deg);
    border-color: rgba(255, 226, 149, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 5px rgba(232, 196, 111, 0.16), 0 0 36px rgba(232, 196, 111, 0.24);
  }

  54% {
    transform: scale(1.015) rotate(-0.45deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
    border-color: rgba(232, 196, 111, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 2px rgba(232, 196, 111, 0.08);
  }
}

@keyframes optionFlash {
  0% {
    opacity: 0;
    transform: translateX(-140%) rotate(9deg);
  }

  26% {
    opacity: 0.95;
  }

  68% {
    opacity: 0.45;
  }

  100% {
    opacity: 0;
    transform: translateX(145%) rotate(9deg);
  }
}

@keyframes optionGlowWash {
  0% {
    opacity: 0.28;
  }

  22% {
    opacity: 0.88;
  }

  64% {
    opacity: 0.62;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fieldAffirm {
  0% {
    transform: scale(1) rotate(0deg);
    border-color: rgba(139, 216, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 0 rgba(139, 216, 255, 0);
  }

  18% {
    transform: scale(1.02) rotate(-0.55deg);
  }

  36% {
    transform: scale(1.015) rotate(0.55deg);
    border-color: rgba(173, 221, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 4px rgba(139, 216, 255, 0.12), 0 0 34px rgba(139, 216, 255, 0.22), 0 18px 34px rgba(10, 61, 102, 0.18);
  }

  54% {
    transform: scale(1.01) rotate(-0.35deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
    border-color: rgba(139, 216, 255, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 2px rgba(139, 216, 255, 0.08), 0 10px 22px rgba(10, 61, 102, 0.12);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 28vh;
    padding-bottom: 2.6rem;
  }

  .hero-media {
    background-position: center bottom;
  }

  .page-reboot {
    left: 0.75rem;
    bottom: 0.75rem;
    width: 2.45rem;
    height: 2.45rem;
  }

  .shell {
    margin-top: -3.9rem;
    min-height: calc(100vh - 7.2rem);
  }

  .question-card {
    min-height: 0;
  }

  .nav-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .summary-actions,
  .button {
    width: 100%;
  }

  .nav-actions {
    width: auto;
    flex: 0 1 auto;
    flex-wrap: nowrap;
  }

  .nav-bar .button {
    width: auto;
    min-width: 0;
  }

  .file-picker-row {
    flex-wrap: wrap;
  }

  .file-pick-button,
  .file-change-button {
    width: 100%;
  }
}
