/*
 * Console waitlist (views/pages/redesign/console.ejs). Loads after
 * pages/services.css, which holds the shared hero, section head, tile, rows
 * and side layout. Values from Paper "Console waitlist (desktop)" (1440) and
 * "(mobile 390)". Desktop rules first; the mobile board at the end.
 */

/* ── Status chip (hero: glass on ink; waitlist: white on paper) ──────── */
.con-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}
.con-status--glass { border-color: var(--glass-line); background: var(--glass); color: var(--paper); font-weight: 600; }
.con-status__dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 5px rgb(22 190 121 / 0.2); }
@media (prefers-reduced-motion: no-preference) {
  .con-status__dot { animation: con-pulse 2.4s ease-in-out infinite; }
}
@keyframes con-pulse { 50% { box-shadow: 0 0 0 9px rgb(22 190 121 / 0.06); } }

/* ── 1 · Hero + preview ──────────────────────────────────────────────── */
.con-hero__ribbons { height: 900px; }
/* Paper: 28px top padding + 58px nav + 96px gap. */
.con-hero__inner { display: flex; align-items: center; gap: 64px; padding-top: 182px; }
.con-hero__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.con-hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 30.63px + 3.429vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.con-hero__sub { max-width: 560px; color: var(--text-on-ink); font-size: 20px; line-height: 31px; }
.con-hero__cta { display: flex; align-items: center; gap: 20px; }
.con-hero__cta .btn { padding-inline: 28px; }
.con-hero__note { color: var(--muted-on-ink); font-size: 14px; line-height: 20px; }

/* Preview card: HTML with sample data (named so in the figure's aria-label) */
.preview { width: 600px; flex-shrink: 0; }
.preview__card { overflow: clip; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgb(0 0 0 / 0.4); }
.preview__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.preview__app { display: flex; align-items: center; gap: 10px; }
.preview__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--deep-green);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
}
.preview__name { font-family: var(--font-display); font-size: 15px; font-weight: 800; line-height: 18px; }
.preview__org, .preview__time { color: var(--muted); font-size: 13px; line-height: 16px; }
.preview__head { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px 14px; }
.preview__title { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.01em; line-height: 30px; }
.preview__sub { color: var(--muted); font-size: 14px; line-height: 20px; }
.preview .preview__list { display: flex; flex-direction: column; gap: 8px; padding: 0 24px; }
.preview__alert {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border: 1.5px solid var(--amber);
  border-radius: 16px;
  background: var(--amber-wash);
}
.preview__alert-row { display: flex; align-items: center; gap: 12px; }
.preview__alert-dot { width: 12px; height: 12px; flex-shrink: 0; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgb(255 178 36 / 0.25); }
.preview__alert-title { flex: 1 1 0; font-size: 15px; font-weight: 700; line-height: 20px; }
.preview__caught { flex-shrink: 0; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--amber); font-size: 12px; font-weight: 700; line-height: 16px; }
.preview__alert-text { padding-left: 24px; color: var(--text-2); font-size: 14px; line-height: 21px; }
.preview__fix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-left: 24px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--white);
  font-size: 14px;
  line-height: 20px;
}
.preview__approve { flex-shrink: 0; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; line-height: 16px; }
.preview__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--white);
}
.con-tick { flex-shrink: 0; }
.con-tick circle { fill: var(--emerald); }
.con-tick path { stroke: var(--ink); }
.preview__row-label { flex: 1 1 0; font-size: 14px; font-weight: 600; line-height: 18px; }
.preview__row-value { width: 150px; flex-shrink: 0; color: var(--muted); font-size: 13px; line-height: 18px; text-align: right; }
.preview__foot { padding: 6px 24px 24px; color: var(--muted); font-size: 12px; line-height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .preview__alert-dot { animation: con-caught 2.4s ease-in-out infinite; }
}
@keyframes con-caught { 50% { box-shadow: 0 0 0 9px rgb(255 178 36 / 0.08); } }

/* ── 2 · What it checks ──────────────────────────────────────────────── */
.con-tile { height: auto; min-height: 520px; }
.con-checks__note { padding-top: 18px; color: var(--muted); font-size: 14px; line-height: 20px; }

/* ── 3 · Waitlist ────────────────────────────────────────────────────── */
.con-wait__inner { display: flex; align-items: flex-start; gap: 80px; }
.con-wait__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.con-wait__title { letter-spacing: -0.03em; }
.con-wait__text { max-width: 540px; color: var(--text-2); font-size: 19px; line-height: 29px; }
.con-facts { max-width: 600px; border-top: 1px solid var(--line-input); }
.con-facts > div { display: flex; gap: 24px; padding-block: 18px; border-bottom: 1px solid var(--line-input); font-size: 16px; line-height: 24px; }
.con-facts dt { width: 200px; flex-shrink: 0; font-weight: 700; }
.con-facts dd { color: var(--text-2); }

.con-form {
  position: relative;
  width: 480px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-tile);
  background: var(--white);
}
.con-form .field__error:empty { display: none; }
.con-form__title { font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 32px; }
.con-offer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgb(22 190 121 / 0.33);
  border-radius: 16px;
  background: var(--mint-offer);
}
.con-offer__price { color: var(--deep-green); font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.01em; line-height: 24px; }
.con-offer__text { color: var(--text-2); font-size: 14px; line-height: 20px; }
.consent { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-block: 2px; cursor: pointer; }
.consent__box { width: 20px; height: 20px; flex-shrink: 0; margin: 0; accent-color: var(--deep-green); cursor: pointer; }
.consent__text { font-size: 14px; line-height: 20px; }
.con-form__submit { padding: 17px; }
.con-form__status { color: var(--error); font-size: 14px; line-height: 18px; }
.con-form__status:empty { display: none; }
.con-form__fine { color: var(--muted); font-size: 13px; line-height: 19px; }
.con-form__link { color: var(--ink); font-weight: 600; text-decoration: underline 1px; text-underline-position: from-font; }
.con-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.con-form--done { gap: 16px; }
.con-form__check { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--emerald); }
.con-form__check path { stroke: var(--ink); }
.con-form__done-text { color: var(--text-2); font-size: 15px; line-height: 23px; }

/* ── 4 · Console or managed ──────────────────────────────────────────── */
.con-choose__title { width: min(900px, 100%); margin-bottom: 48px; letter-spacing: -0.03em; }
.con-choose { display: flex; gap: 16px; }
.con-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-tile);
  background: var(--white);
}
.con-card--ink { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.con-card__kicker { color: var(--deep-green); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; line-height: 16px; text-transform: uppercase; }
.con-card--ink .con-card__kicker { color: var(--emerald); }
.con-card__title { font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 40px; }
.con-card__list { display: flex; flex-direction: column; gap: 12px; color: var(--text-2); font-size: 16px; line-height: 24px; }
.con-card--ink .con-card__list { color: var(--nav-link); }
.con-card__list li::before { content: '· '; }
.con-card__cta { display: flex; align-items: flex-end; flex-grow: 1; gap: 20px; flex-wrap: wrap; }
.con-card__btn { padding: 14px 22px; font-size: 15px; line-height: 20px; }
.con-card__link {
  align-self: center;
  padding-block: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: underline 1px;
  text-underline-position: from-font;
}
.con-card__cta:has(.con-card__link) { align-items: center; align-content: flex-end; }

/* ── 5 · Questions (all answers shown, as in Paper) ──────────────────── */
.con-qa > div { display: flex; flex-direction: column; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line-input); }
.con-qa > div:last-child { border-bottom: 1px solid var(--line-input); }
.con-qa dt { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 28px; }
.con-qa dd { color: var(--text-2); font-size: 17px; line-height: 27px; }

/* ══ Tablet ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1199px) {
  .con-hero__inner, .con-wait__inner { flex-direction: column; align-items: stretch; gap: 48px; }
  .preview, .con-form { width: auto; max-width: 600px; }
  .con-choose { flex-direction: column; }
}

/* ══ Mobile board (390) ═══════════════════════════════════════════════ */
@media (max-width: 767px) {
  .con-status { gap: 8px; padding: 6px 12px 6px 10px; font-size: 13px; line-height: 16px; }
  .con-status__dot { width: 8px; height: 8px; box-shadow: 0 0 0 4px rgb(22 190 121 / 0.2); }

  /* Paper: 16px top padding + 50px nav + 56px gap. */
  .con-hero__inner { flex-direction: column; align-items: stretch; gap: 56px; padding-top: 122px; }
  .con-hero__copy { gap: 20px; }
  .con-hero__title { line-height: 44px; }
  .con-hero__sub { font-size: 17px; line-height: 26px; }
  .con-hero__cta { flex-direction: column; align-items: stretch; gap: 20px; }
  .con-hero__cta .btn { padding: 17px; }
  .con-hero__note { font-size: 13px; line-height: 18px; text-align: center; }

  .preview { width: auto; }
  .preview__bar { padding: 14px; }
  .preview__head { padding: 22px 16px 14px; }
  .preview__title { font-size: 21px; line-height: 25px; }
  .preview .preview__list { padding: 0 14px; }
  .preview__alert { padding: 14px; }
  .preview__caught { font-size: 11px; }
  .preview__alert-text { padding-left: 0; }
  .preview__fix { flex-direction: column; align-items: flex-start; margin-left: 0; }
  .preview__row-value { width: 92px; }
  .preview__foot { padding: 6px 14px 24px; }

  .con-tile { min-height: 0; height: 340px; }
  .con-checks .rows__item { padding-block: 16px; }
  .con-checks .rows__term { font-size: 19px; line-height: 24px; }
  .con-checks__note { padding-top: 14px; font-size: 13px; line-height: 19px; }

  .con-wait__inner { flex-direction: column; align-items: stretch; gap: 22px; }
  .con-wait__copy { gap: 22px; }
  .con-wait__title { font-size: 40px; line-height: 40px; }
  .con-wait__text { font-size: 16px; line-height: 25px; }
  .con-facts > div { flex-direction: column; gap: 4px; padding-block: 14px; font-size: 15px; line-height: 22px; }
  .con-facts dt { width: auto; }
  .con-form { width: auto; padding: 24px; border-radius: var(--radius-card); }
  .con-offer__price { font-size: 18px; line-height: 22px; }

  .con-choose__title { margin-bottom: 24px; font-size: 40px; line-height: 40px; }
  .con-choose { flex-direction: column; gap: 14px; }
  .con-card { gap: 14px; padding: 24px; border-radius: var(--radius-card); }
  .con-card__kicker { font-size: 12px; }
  .con-card__title { font-size: 26px; line-height: 30px; }
  .con-card__list { gap: 0; font-size: 15px; line-height: 23px; }
  .con-card__cta { flex-direction: column; align-items: stretch; gap: 4px; }
  .con-card__btn { padding: 14px; }
  .con-card__link { align-self: center; font-size: 14px; }

  .con-qa > div { gap: 8px; padding-block: 18px; }
  .con-qa dt { font-size: 18px; line-height: 24px; }
  .con-qa dd { font-size: 15px; line-height: 23px; }
}
