/* /join: the VIP launch list (waitlist) page. Builds on site.css tokens. */

main.join { max-width: 860px; margin: 0 auto; padding: 40px 16px 24px; }

.join-hero { text-align: center; }
.join-tag {
  display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); box-shadow: var(--shadow-sm);
  color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.join-hero h1 {
  margin: 0; font-size: clamp(36px, 8vw, 64px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800;
  text-wrap: balance;
}
.we-word b { color: var(--blue); font-weight: 800; }
.join-sub { margin: 12px 0 0; font-size: clamp(19px, 3.4vw, 24px); font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.join-lead { max-width: 54ch; margin: 14px auto 0; color: #36405a; }
.join-ios {
  display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 10px 18px 10px 14px;
  border-radius: 16px; background: var(--navy); color: #fff; font-size: 15px; line-height: 1.35; text-align: left;
  box-shadow: 0 6px 18px rgba(11, 27, 58, .18);
}
.join-ios svg { width: 22px; height: 22px; flex: none; fill: #fff; }
.join-ios strong { color: #fff; }

.perks {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.perk {
  position: relative; overflow: hidden; padding: 22px 20px 20px; border-radius: 20px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.perk::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; }
.perk h2 { margin: 4px 0 6px; font-size: 18px; line-height: 1.3; letter-spacing: -.015em; font-weight: 700; }
.perk p { margin: 0; color: #36405a; font-size: 15px; }
.p-blue::before { background: var(--blue); }
.p-green::before { background: var(--green); }
.p-orange::before { background: var(--orange); }

.join-card {
  position: relative; overflow: hidden; margin: 28px 0 0; padding: 28px clamp(16px, 4vw, 36px) 24px;
  border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.join-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--brand-line);
}
.join-card h2 { margin: 6px 0 2px; font-size: clamp(22px, 4vw, 28px); line-height: 1.2; letter-spacing: -.025em; font-weight: 800; }
.join-card-sub { margin: 0 0 14px; color: var(--muted); }
.join-card iframe { display: block; width: 100%; min-height: 400px; border: 0; }
.join-fallback {
  margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--blue-soft); color: var(--navy); font-size: 15px;
}
.join-fallback a { font-weight: 600; }
.join-privacy { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

/* The doc-page wash fades out on /join instead of stopping mid-paragraph. */
body.docpage.joinpage {
  background:
    url("/assets/mark.svg") no-repeat right max(-40px, calc((100vw - 1100px) / 2)) top 70px / 220px auto,
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0, #fff 520px) no-repeat 0 0 / 100% 520px,
    linear-gradient(120deg, #dce7ff 0%, #e9f7e1 52%, #ffebdd 100%) no-repeat 0 0 / 100% 520px,
    #fff;
}
