:root {
  color-scheme: light;
  --bg: #fafaf7;
  --bg-elevated: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --surface-muted: #f2f1ed;
  --text: #0a0a0a;
  --muted: #6b6b6b;
  --dim: #9c9c9c;
  --accent: #0a0a0a;
  --accent-text: #ffffff;
  --border: rgba(10, 10, 10, 0.08);
  --border-strong: rgba(10, 10, 10, 0.14);
  --glass: rgba(255, 255, 255, 0.55);
  --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.06);
  --shadow-pop: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.92), transparent 24rem),
    radial-gradient(circle at 82% 14%, rgba(242, 241, 237, 0.94), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(1080px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand,
.navLink {
  color: var(--text);
  text-decoration: none;
}

.brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.navLink {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero {
  width: 100%;
  min-height: calc(100vh - 112px);
  padding: clamp(24px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
  align-items: center;
  gap: clamp(28px, 7vw, 80px);
}

.card {
  width: min(620px, 100%);
  margin: auto;
  padding: clamp(24px, 6vw, 40px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--glass);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
}

.heroCopy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 10.5ch;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.lede {
  margin: 22px 0 0;
  max-width: 31rem;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-decoration: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: var(--shadow-pop);
}

.button.secondary {
  border-color: var(--border-strong);
  background: var(--surface-solid);
  color: var(--text);
}

.phoneFrame {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(24px);
}

.phoneHeader {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.phoneHeader strong {
  display: block;
  margin-top: 4px;
  font-size: 26px;
  letter-spacing: -0.6px;
}

.miniEyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.daysLine {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.questCard {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--glass);
  box-shadow: var(--shadow-card);
}

.questCard h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.3px;
}

.questCard p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.questCard span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
}

.questCard button {
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.mutedCard {
  opacity: 0.78;
}

.codeBox {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface-muted);
}

.label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#code {
  display: block;
  margin-top: 8px;
  font-size: clamp(34px, 12vw, 56px);
  letter-spacing: 0.08em;
  color: var(--text);
}

.small {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .hero,
  .card {
    padding: 24px;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .phoneFrame {
    max-width: 390px;
  }
}
