* {
  box-sizing: border-box;
}

:root {
  --bg-1: #f5f7ff;
  --bg-2: #eefcf8;
  --text: #182033;
  --muted: #667085;
  --accent: #5b5cf0;
  --accent-dark: #4546d6;
  --card: rgba(255, 255, 255, 0.88);
  --border: rgba(24, 32, 51, 0.09);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 20%, rgba(91, 92, 240, 0.13), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(42, 190, 150, 0.13), transparent 30%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(620px, 100%);
  padding: 48px 42px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(28, 39, 75, 0.12);
  backdrop-filter: blur(14px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(91, 92, 240, 0.09);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

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

.intro {
  max-width: 480px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.button-placeholder {
  height: 76px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 22px;
  color: #98a2b3;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(24, 32, 51, 0.1);
}

.normal-option {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.normal-option a {
  display: inline-block;
  color: #087f5b;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(8, 127, 91, 0.25);
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.normal-option a:hover {
  color: #066a4c;
  border-color: currentColor;
  transform: translateY(-1px);
}

.normal-option a:focus-visible {
  outline: 3px solid rgba(8, 127, 91, 0.24);
  outline-offset: 5px;
  border-radius: 4px;
}

.hint {
  margin: 9px 0 0;
  color: #98a2b3;
  font-size: 0.83rem;
}

.runaway-button {
  position: fixed;
  z-index: 20;
  left: 50%;
  top: calc(50% + 76px);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 142px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, var(--accent), #7b61ff);
  box-shadow: 0 14px 30px rgba(91, 92, 240, 0.32);
  font: inherit;
  font-weight: 850;
  letter-spacing: -0.01em;
  transition:
    left 320ms cubic-bezier(.2,.85,.25,1),
    top 320ms cubic-bezier(.2,.85,.25,1),
    transform 180ms ease,
    box-shadow 180ms ease;
  user-select: none;
  touch-action: manipulation;
}

.runaway-button:hover {
  box-shadow: 0 18px 38px rgba(91, 92, 240, 0.38);
}

.runaway-button.is-running {
  transform: translate(0, 0) rotate(var(--tilt, 0deg)) scale(1.03);
}

.runaway-button span {
  font-size: 1.1em;
  transition: transform 160ms ease;
}

.runaway-button.is-running span {
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .card {
    padding: 38px 24px;
    border-radius: 22px;
  }

  .intro {
    font-size: 0.98rem;
  }

  .runaway-button {
    min-width: 128px;
    min-height: 49px;
    padding: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .runaway-button,
  .normal-option a {
    transition-duration: 0.01ms;
  }
}
