/* Printable SiteWatch leave-behind. Screen-readable, but laid out to fall onto
 * a single sheet of A4/Letter. Deliberately small: it reuses the root-site
 * design tokens from /styles.css and adds only the sheet-specific layout and
 * the print rules, rather than restoring the retired product-local
 * sitewatch.css that the shared /product.css superseded. */

.onesheet-page {
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-body);
}

.onesheet {
  max-width: 900px;
  margin: 32px auto;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.onesheet h1,
.onesheet h2 { font-family: var(--font-display); }

/* Screen-only escape hatch back into the site. A printed sheet has no use for
 * a hyperlink, so it is dropped from the print rendering below. */
.sheet-back {
  display: block;
  max-width: 900px;
  margin: 24px auto -8px;
  padding: 0 40px;
  font-size: .9rem;
  color: var(--blue);
  text-decoration: none;
}
.sheet-back:hover { text-decoration: underline; }

.sheet-header {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 3px solid var(--navy);
}
.sheet-brand {
  margin: 0 0 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--cyan-deep);
}
.sheet-header h1 {
  margin: 0;
  max-width: 30ch;
  font-size: 1.72rem;
  line-height: 1.2;
  color: var(--navy);
}
.sheet-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  text-align: right;
}
.sheet-price span { font-size: .8rem; letter-spacing: .08em; color: var(--cyan-2); }
.sheet-price strong { font-family: var(--font-display); font-size: 1.5rem; }
.sheet-price em { font-style: normal; font-size: .82rem; color: #cfe4fb; }

.sheet-lead p {
  margin: 20px 0 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.sheet-grid,
.sheet-band,
.sheet-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 26px;
}

.onesheet h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--navy-2);
}
.onesheet ul { margin: 0; padding-left: 18px; }
.onesheet li { margin-bottom: 6px; line-height: 1.45; }

.sheet-band {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--cyan-soft);
}
.sheet-band p { margin: 0 0 8px; line-height: 1.5; }
.sheet-lifecycle {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}
.sheet-lifecycle span {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
}

.sheet-plan aside {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--background);
}
.sheet-plan aside p { margin: 0; font-weight: 600; color: var(--navy); }
.sheet-plan aside strong { font-size: 1.02rem; color: var(--blue); word-break: break-all; }
.sheet-plan aside span { font-size: .82rem; color: var(--muted); }
/* The URL and address are written out literally because this sheet is printed
   and a printed link cannot be clicked. They are anchors as well so the same
   sheet read on screen is usable; inheriting colour keeps the printed and
   on-screen text identical. */
.sheet-plan aside a { color: inherit; text-decoration: none; }
.sheet-plan aside a:hover,
.sheet-plan aside a:focus-visible { text-decoration: underline; }

.sheet-note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--cyan-deep);
  background: var(--background);
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
}

.sheet-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .onesheet { margin: 16px; padding: 24px; }
  .sheet-back { padding: 0 16px; }
  .sheet-grid,
  .sheet-band,
  .sheet-plan { grid-template-columns: 1fr; gap: 18px; }
}

/* The whole point of the page: it has to print cleanly on one sheet without
 * the reader fighting the browser's default margins or backgrounds. */
@media print {
  @page { margin: 12mm; }
  .onesheet-page { background: #fff; }
  .sheet-back { display: none; }
  /* Do not let a stylesheet or browser append the href after the text: the
     visible string already IS the URL, so expansion would duplicate it. */
  .sheet-plan aside a { text-decoration: none; }
  .sheet-plan aside a::after { content: none; }
  .onesheet {
    margin: 0;
    padding: 0;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .sheet-price,
  .sheet-band,
  .sheet-plan aside,
  .sheet-note {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .sheet-grid,
  .sheet-band,
  .sheet-plan,
  .sheet-footer { break-inside: avoid; }
}
