* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  transition: background-color 1s ease;
}

/* Journey path: full screen behind everything */
.journey-svg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.journey-path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 8 6; stroke-linecap: round; opacity: .08; }
.journey-path-reveal { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 8 6; stroke-linecap: round; opacity: .2; transition: stroke-dashoffset 1.2s cubic-bezier(.16,1,.3,1); }
.journey-pin { opacity: .15; transition: opacity .5s; }
.journey-pin.active { opacity: .5; }

/* App card */
.app {
  width: 100%;
  max-width: 720px;
  height: calc(100vh - 48px);
  max-height: 820px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 3px solid var(--border);
  border-radius: 12px;
  box-shadow: 10px 10px 0 var(--border);
}

/* Content area */
.content {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
}
.content::-webkit-scrollbar { display: none; }

/* Screens */
.screen { display: none; flex-direction: column; flex: 1; animation: fadeIn .3s ease; }
.screen.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Buttons */
.btn-row { display: flex; gap: 10px; margin-top: auto; padding-top: 20px; }
.btn {
  padding: 11px 24px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Space Mono', monospace;
  border: 2.5px solid var(--border);
  transition: all .1s;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: 3px 3px 0 var(--pink); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--pink); }
.btn-secondary { background: var(--card); color: var(--ink); box-shadow: 3px 3px 0 var(--border); }
.btn-secondary:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--border); }
.btn:disabled { opacity: .2; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
