:root {
  --bg: #121212;
  --ink: #e0e0e0;
  --muted: #9a9a9a;
  --dim: #6e6e6e;
  --line: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  padding: 2.5rem 1.25rem 3rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #16161c 0%, #121212 45%, #0e0e12 100%);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  width: min(36rem, 100%);
  margin: 0 auto;
}

/* Match app splash brand: small caps tracking, system type */
.brand {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 5.5vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.lead strong {
  color: var(--ink);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 22rem;
}

.action-row {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
}

.action-row .btn {
  flex: 1;
  min-width: 0;
  width: auto;
}

.count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 4.75rem;
  width: 4.75rem;
  height: 2.625rem;
  padding: 0 0.4rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, #212121 0%, #303030 50%, #424242 100%);
}

.count-num {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.88);
}

.count-label {
  margin-top: 0.08rem;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Match Flutter GradientButton on the Connect screen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 2.625rem;
  padding: 0 1rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, #212121 0%, #303030 50%, #424242 100%);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover,
.btn:focus-visible {
  color: rgba(255, 255, 255, 0.88);
  outline: none;
}

.btn:active {
  color: rgba(255, 255, 255, 0.78);
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #fff;
}

.btn-app-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.28rem;
  object-fit: cover;
}

.badge {
  margin: 1.15rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.block {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.block h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.block p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.foot {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.clear {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

.fine {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--dim);
}
