* { box-sizing: border-box; }

:root {
  --ink: #14171c;
  --paper: #fafaf9;
  --push-red: #e1341f;
  --signal-blue: #1e56e8;
  --line: #e4e2dd;
  --muted: #6b7280;
}

body {
  font-family: 'Inter', -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  margin: 0;
}

body.signup-page {
  display: flex;
  justify-content: center;
  padding: 48px 16px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

h1 { font-size: 22px; margin: 0 0 8px; }
.subtitle { color: #666; font-size: 14px; margin: 0 0 24px; }

label {
  display: block;
  font-size: 14px;
  margin-bottom: 16px;
  color: #333;
}

input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
}

button {
  width: 100%;
  padding: 12px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}

button:hover { background: #333; }

.hidden { display: none; }

.code {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 4px;
  text-align: center;
  background: #f4f4f2;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.note { color: #666; font-size: 13px; }

/* ---- Homepage ---- */

h1, h2, .header-word {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

img { max-width: 100%; display: block; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
}

.header-logo {
  height: 28px;
  width: 28px;
}

.header-word {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero {
  text-align: center;
  padding: 64px 24px 56px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--push-red);
  margin: 0 0 12px;
}

.hero h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--ink);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .hero h1 { font-size: 28px; }
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 24px 80px;
}

@media (max-width: 800px) {
  .tiers { grid-template-columns: 1fr; padding: 0 16px 56px; }
}

.tier {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(20,23,28,0.05);
}

.tier-active {
  border-color: var(--push-red);
  box-shadow: 0 4px 14px rgba(225,52,31,0.10);
}

.tier-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--signal-blue);
  border: 1px solid var(--signal-blue);
  padding: 4px 9px;
  border-radius: 999px;
}

.tier-icon {
  width: 56px;
  height: 56px;
  background: #f1f2f4;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tier-icon-muted { opacity: 0.55; }

.tier-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}

.tier-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}

.tier-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.tier-price span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.tier-features li {
  position: relative;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
  padding: 5px 0 5px 18px;
}

.tier-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--push-red);
}

.tier-active .tier-features li::before { background: var(--push-red); }
.tier:not(.tier-active) .tier-features li::before { background: #c7c9cd; }

.tier-button {
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  border: none;
}

.tier-button-primary {
  background: var(--push-red);
  color: #fff;
}

.tier-button-primary:hover { background: #c22a18; }

.tier-button-disabled {
  background: #f1f2f4;
  color: var(--muted);
  cursor: not-allowed;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.site-footer p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
  text-align: center;
}

.copyright { margin-bottom: 0 !important; }

/* ---- Setup page ---- */

.header-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.setup-wrap {
  max-width: 640px;
  padding-top: 48px;
  padding-bottom: 80px;
}

.setup-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--ink);
}

.callout {
  background: #fff6f5;
  border: 1px solid #f3c9c3;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #7a2a1f;
  margin-bottom: 40px;
}

.step {
  display: flex;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.step:first-of-type { border-top: none; }

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.step-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 14px;
}

.step-download {
  display: inline-block;
  width: auto;
  padding: 10px 20px;
  margin-bottom: 12px;
}

.inline-form {
  max-width: 360px;
}

.inline-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
  color: #333;
}

.inline-form input {
  display: block;
  width: 100%;
  padding: 9px 11px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.inline-form button {
  padding: 10px 18px;
  background: var(--push-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.inline-form button:hover { background: #c22a18; }
