/* The personal connect page (/zack). Made for a phone held in someone else's hand:
   one narrow column, three large buttons, very little to read. Uses the tokens in styles.css. */

.card-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 60% at 85% 0%, rgba(255, 179, 0, 0.10) 0%, rgba(255, 179, 0, 0) 60%),
    radial-gradient(90% 50% at 0% 12%, rgba(0, 188, 212, 0.08) 0%, rgba(0, 188, 212, 0) 60%),
    var(--navy-900);
}
.card {
  flex: 1;
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
  padding: 28px 24px 48px;
}
.card-logo { display: inline-block; margin-left: -12px; }
.card-logo img { width: 150px; }

.card-who { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.card-photo {
  width: 96px;
  height: 96px;
  flex: none;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.card h1 { font-size: 2.125rem; font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.card-role { margin-top: 6px; color: var(--white-dim); font-size: 1.0625rem; line-height: 1.4; }
.card-phone { margin-top: 4px; font-size: 1.0625rem; line-height: 1.4; }
.card-phone a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
.card-greeting { margin-top: 28px; font-size: 1.25rem; font-weight: 500; line-height: 1.35; text-wrap: balance; }

.card-actions { display: grid; gap: 12px; margin-top: 24px; }
.card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 14px 20px;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  border-radius: 14px;
  cursor: pointer;
}
.card-button-line {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.card-button-line:hover { border-color: var(--cyan-500); color: var(--cyan-500); }

.card-next { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--navy-600); }
.card-about { margin-top: 14px; color: var(--white-dim); font-size: 0.9375rem; line-height: 1.6; }
.card-next ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card-next li + li { margin-top: 2px; }

.card-foot { max-width: 30rem; padding-inline: 24px; }
.card-foot .foot-note { margin-left: 0; }

/* The "Send me yours" form: one field per row, large enough to type on a phone. */
.connect-form label { margin-top: 14px; }
.connect-form label:first-child { margin-top: 0; }
.connect-form input[type="text"], .connect-form input[type="email"], .connect-form input[type="tel"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
}
.connect-form input::placeholder { color: #8891a3; }
.connect-form input:focus-visible { outline: 2px solid var(--cyan-500); outline-offset: 2px; }
.connect-form .optional { color: var(--white-dim); font-weight: 400; }
.connect-form .tick { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-weight: 400; cursor: pointer; }
.connect-form .tick input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--amber-500); }
.mail-dialog .connect-send {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  padding: 15px 22px;
  border: 0;
  background: var(--amber-500);
  color: var(--navy-900);
  font-weight: 600;
}
.mail-dialog .connect-send:hover { background: var(--amber-400); color: var(--navy-900); }
.mail-dialog .connect-send:disabled { opacity: 0.6; cursor: default; }
.connect-form.done label, .connect-form.done input, .connect-form.done .connect-send, .connect-form.done .join-small { display: none; }

/* /zack-card: the page Zack opens on his own phone to save the QR card to Photos. */
.save-card { text-align: left; }
.save-hint { margin-top: 16px; color: var(--white-dim); font-size: 0.9375rem; line-height: 1.5; }
.save-picture { width: 100%; margin-top: 20px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.14); -webkit-touch-callout: default; }

/* Opened from the Home Screen tile, the page is only the card, filling the screen. */
@media (display-mode: standalone) {
  .card-app { background: var(--navy-900); }
  .card-app .save-intro { display: none; }
  .card-app .card { max-width: none; padding: 0; display: flex; align-items: center; justify-content: center; }
  .card-app .save-picture { width: 100vw; height: 100dvh; margin: 0; border: 0; border-radius: 0; object-fit: contain; }
}

/* /newsletter and /newsletter-confirm: the sign-up, and the page the emailed link opens. */
.news-eyebrow { margin-top: 36px; margin-bottom: 0; }
.news h1 { margin-top: 16px; text-wrap: balance; }
.news .card-role { margin-top: 14px; max-width: 26em; }
.news-form { margin-top: 30px; }
.news-choices { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.news-choices legend { padding: 0; margin-bottom: 10px; font-size: 0.875rem; font-weight: 500; color: var(--white); }
.connect-form .news-choice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 10px;
  padding: 16px 16px 17px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.connect-form .news-choice:has(input:checked) { border-color: var(--amber-500); background: rgba(255, 179, 0, 0.07); }
.connect-form .news-choice:has(input:focus-visible) { outline: 2px solid var(--cyan-500); outline-offset: 2px; }
.news-choice input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--amber-500); }
.news-choice input:focus-visible { outline: none; }
.news-choice strong { display: block; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--white); }
.news-choice span span { display: block; margin-top: 3px; font-size: 0.9375rem; font-weight: 400; line-height: 1.45; color: var(--white-dim); }
.news-send { margin-top: 22px; border: 0; }
.news-send:disabled { opacity: 0.6; cursor: default; }
.news-form .join-status { min-height: 1.5em; margin-top: 14px; color: var(--white); font-weight: 500; line-height: 1.45; }
.news-form .join-small { margin-top: 6px; font-size: 0.8125rem; line-height: 1.5; color: var(--white-dim); }
.news-form.done fieldset, .news-form.done label, .news-form.done input, .news-form.done .news-send, .news-form.done .join-small { display: none; }
.news-form.done .join-status { margin-top: 0; font-size: 1.25rem; line-height: 1.4; }
.news-after { margin-top: 18px; }
