/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ────────────────────────────────────────────────
   PAGE
   White background — matches the phone screenshot
   chrome which is white, not grey.
──────────────────────────────────────────────── */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  font-family: Arial, "ArialMT", Helvetica, sans-serif;
}

/* ────────────────────────────────────────────────
   OUTER PANEL
   Width ~620px matches the proportions in the image.
   The background photo is the ACT outdoor image.
──────────────────────────────────────────────── */
.outer {
  width: 620px;
  overflow: hidden;
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center center;
  background-color: #5aaecc; /* fallback if image blocked */
}

/* ────────────────────────────────────────────────
   HEADER
   Deep navy with a subtle top→bottom gradient.
   Sampled: top ~#1a2f50, bottom ~#254878
   Bold Arial, 20px, white, 14px left pad, 13px v-pad
──────────────────────────────────────────────── */
.header {
  background: linear-gradient(to bottom, #1a2f52 0%, #254f82 100%);
  color: #ffffff;
  font-family: Arial, "ArialMT", Helvetica, sans-serif;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.3;
  padding: 13px 14px 14px;
}

/* ────────────────────────────────────────────────
   TEAL AREA
   Background photo shows through here.
   ~18px padding on all sides around the card.
──────────────────────────────────────────────── */
.teal-area {
  padding: 18px;
}

/* ────────────────────────────────────────────────
   WHITE CARD
   Near-square corners — 3px radius, barely visible.
   White bg. No border. Very faint shadow from photo
   contrast only (no CSS shadow needed).
──────────────────────────────────────────────── */
.white-card {
  background: #ffffff;
  border-radius: 3px;
  padding: 34px 30px 34px 28px;
}

/* ────────────────────────────────────────────────
   CARD CONTENT — figure left, text right
   Figure is vertically aligned to the first line.
──────────────────────────────────────────────── */
.card-content {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 0;
}

/* ────────────────────────────────────────────────
   FIGURE
   SVG auto-fits: we constrain max dimensions and
   let the SVG scale. The figure in the original is
   roughly the height of 2 text lines (~80-90px tall).
──────────────────────────────────────────────── */
.figure-img {
  flex-shrink: 0;
  width: auto;
  height: auto;
  max-width: 90px;
  max-height: 105px;
  display: block;
  /* push it down a touch to optically align
     with the cap-height of the first text line */
  margin-top: 3px;
}

/* ────────────────────────────────────────────────
   BODY TEXT
   Arial 22px, color #333333, line-height 1.5
   "Congrats on your test!" bold, rest normal weight.
──────────────────────────────────────────────── */
.body-text {
  font-family: Arial, "ArialMT", Helvetica, sans-serif;
  font-size: 22px;
  font-weight: normal;
  line-height: 1.5;
  color: #333333;
  margin: 0;
}

.body-text strong {
  font-family: Arial, "Arial-BoldMT", Helvetica, sans-serif;
  font-weight: bold;
  color: #333333;
}

/* ────────────────────────────────────────────────
   EXTRA SECTION (links + signup)
   Sits below the main card content, same card bg.
   Smaller font than the hero text.
──────────────────────────────────────────────── */
.extra {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e8e8e8;
}

.extra .body-text {
  font-size: 16px;
  margin-bottom: 16px;
}

.extra a {
  color: #1a55cc;
  text-decoration: underline;
}

.extra a:hover { color: #0b3aa0; }

/* ── Signup ── */
.signup-label {
  font-family: Arial, "Arial-BoldMT", Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}

.signup-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.signup-row input {
  flex: 1;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #aaa;
  border-radius: 2px;
  font-family: Arial, "ArialMT", Helvetica, sans-serif;
  font-size: 14px;
  color: #222;
  outline: none;
}

.signup-row input:focus {
  border-color: #254f82;
  box-shadow: 0 0 0 2px rgba(37,79,130,.18);
}

.signup-row button {
  height: 30px;
  padding: 0 14px;
  background: #254f82;
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: Arial, "Arial-BoldMT", Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
}

.signup-row button:hover { background: #1a3a5e; }

#confirmMsg {
  margin-top: 5px;
  font-size: 13px;
  color: #1a6b1a;
  min-height: 1em;
}

/* ── Responsive ── */
@media (max-width: 660px) {
  .outer        { width: 95%; }
  .body-text    { font-size: 20px; }
  .figure-img   { max-width: 65px; max-height: 76px; }
  .signup-row   { flex-direction: column; align-items: stretch; }
}
