/* Rep website: shared look for /, /join and /update.
   The photo fills the whole screen; text sits on a deep fade at the bottom. */
:root {
  --ink: #0E0F11;
  --white: #FFFFFF;
  --soft: rgba(255, 255, 255, .8);
  --faint: rgba(255, 255, 255, .55);
  --glass: rgba(255, 255, 255, .1);
  --glass-edge: rgba(255, 255, 255, .14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--ink); }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--white); -webkit-font-smoothing: antialiased;
  min-height: 100svh; display: flex; flex-direction: column;
}

/* Full-screen photo. The fade starts high and goes nearly black, so every
   line of text below it reads, wherever the photo is bright. */
.photo { position: fixed; inset: 0; overflow: hidden; background: #2a2b2e; }
.photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 22% 30%; display: block;
  animation: settle 1.2s cubic-bezier(.2, .7, .2, 1) both;
}
.photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0) 16%),
    linear-gradient(rgba(8,9,11,0) 22%, rgba(8,9,11,.62) 42%, rgba(8,9,11,.9) 58%, rgba(8,9,11,.97) 100%);
}

.mark {
  position: fixed; z-index: 2; left: 24px; top: max(20px, env(safe-area-inset-top));
  font-weight: 700; font-size: 24px; letter-spacing: -0.03em; color: var(--white); text-decoration: none;
}

main {
  position: relative; z-index: 1; width: 100%; max-width: 480px; margin-top: auto;
  padding: 120px 20px max(24px, env(safe-area-inset-bottom));
}
.label { font-size: 15px; font-weight: 500; color: var(--soft); padding: 0 4px; }
h1 { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; margin-top: 10px; padding: 0 4px; }
.lead { font-size: 17px; line-height: 1.4; color: var(--soft); margin-top: 14px; max-width: 340px; padding: 0 4px; }

/* Steps: each one is a single tappable glass row. The last (the point) is white. */
.steps { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.step {
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px 12px 14px;
  border-radius: 20px; text-decoration: none; color: var(--white);
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-edge);
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  -webkit-tap-highlight-color: transparent; transition: transform .15s ease, background .15s ease;
}
a.step:active { transform: scale(0.98); background: rgba(255,255,255,.16); }
.num {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; background: rgba(255,255,255,.12); color: var(--white);
}
.text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.title { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.detail { font-size: 14px; line-height: 1.3; color: var(--faint); margin-top: 2px; }
.go { flex: none; width: 18px; height: 18px; opacity: .7; }
.code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; letter-spacing: 0.12em; color: var(--white); }

.step.primary { background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.step.primary .num { background: var(--white); color: var(--ink); }
.step.primary .go { opacity: 1; }
.step.primary:active { background: rgba(255,255,255,.24); }

/* Single big button (main page). */
.pill {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 58px; margin-top: 28px;
  border-radius: 29px; background: var(--white); color: var(--ink);
  font-size: 17px; font-weight: 600; text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease;
}
.pill:active { transform: scale(0.98); }

.foot { margin-top: 20px; font-size: 14px; color: var(--faint); line-height: 1.9; text-align: center; }
.foot a { color: var(--white); font-weight: 600; text-decoration: none; }
.hidden { display: none !important; }

@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .photo img { animation: none; } }

/* Wide screens: same full-bleed photo, text bottom-left with more air. */
@media (min-width: 900px) {
  .photo img { object-position: 50% 35%; }
  .photo::after {
    background:
      linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,0) 20%),
      linear-gradient(90deg, rgba(8,9,11,.92), rgba(8,9,11,.6) 40%, rgba(8,9,11,0) 72%);
  }
  .mark { left: 56px; top: 40px; }
  main { padding: 120px 52px 52px; max-width: 540px; }
  h1 { font-size: 64px; }
  .lead { font-size: 19px; max-width: 400px; }
  .foot { text-align: left; padding: 0 4px; }
}
