/* The notice card that stands beside the ball: one A5 card, in the Press On
   look (card paper, charcoal ink, the ball's apricot as the one big shape).
   The brand font comes from radar.css; everything the card needs is here, so
   a change to the radar screen can't move it. Sizes are in points and
   millimetres, so the card on screen is the card that prints. */
.nc-html {
  --nc-ink: #222226;
  --nc-ink-2: #55524e;
  --nc-page: #f7f0e5;
  --nc-card: #fcf9f4;
  --nc-night: #1b1b1f;
  --nc-line: #dfd4c2;
  --nc-ball: #f79a5e;
  --nc-focus: #338ced;
  --nc-font: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* radar.css fixes the radar screen to the window; this page scrolls */
html.nc-html, .nc-html body.nc { height: auto; overflow: visible; }
body.nc { margin: 0; background: var(--nc-page); color: var(--nc-ink); font-family: var(--nc-font); font-size: 15px; line-height: 1.45; }

/* ---- toolbar (screen only) */
.nc-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 12px 24px; background: var(--nc-page); border-bottom: 1px solid var(--nc-line);
}
.nc-grow { flex: 1; }
.nc-btn {
  display: inline-block; background: var(--nc-card); border: 1px solid #c7baa5; border-radius: 999px; padding: 8px 16px;
  font: inherit; font-size: 15px; color: var(--nc-ink); text-decoration: none; cursor: pointer;
}
.nc-btn[hidden] { display: none; }
.nc-btn:hover { border-color: var(--nc-ink); }
.nc-btn.primary { background: var(--nc-ink); color: var(--nc-page); border-color: var(--nc-ink); font-weight: 600; }
.nc-btn:focus-visible, .nc a:focus-visible { outline: 3px solid var(--nc-focus); outline-offset: 2px; }

/* ---- the card: an A5 sheet on screen, the page itself in print */
.nc-sheet { display: block; padding: 28px 16px 48px; }
.nc-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  width: 148mm; min-height: 210mm; margin: 0 auto; padding: 9mm 9.5mm 7mm;
  background: var(--nc-card); box-shadow: 0 6px 30px rgba(60, 40, 20, .14);
  font-size: 11pt; line-height: 1.27;
}
.nc-copy { display: none; }   /* the second card is for the two-on-A4 printout only */
.nc-card > * { position: relative; }   /* everything sits above the ball */

/* the ball: one big apricot shape, cropped by the top right corner */
.nc-card > .nc-ball { position: absolute; top: -27mm; right: -25mm; width: 76mm; height: 76mm; fill: var(--nc-ball); }

.nc-top { margin: 0 0 5mm; }
.nc-name { margin: 0; line-height: 0; }
.nc-logo { display: block; width: 54mm; height: auto; color: var(--nc-ink); }
.nc-invite { max-width: 80mm; margin: 3.5mm 0 0; font-size: 15pt; font-weight: 500; line-height: 1.2; }

.nc-sec { margin: 0 0 4.5mm; }
.nc-card h2 { margin: 0 0 2mm; font-family: var(--nc-font); font-size: 13pt; font-weight: 500; line-height: 1.2; }
.nc-card p { margin: 0; }
.nc-card strong { font-weight: 600; }
.nc-card a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.nc-url { white-space: nowrap; }

/* how to use it: three steps side by side */
.nc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; margin: 0; padding: 0; list-style: none; }
.nc-steps li { display: flex; flex-direction: column; gap: 1.8mm; }
.nc-no {
  display: block; width: 6.5mm; height: 6.5mm; border-radius: 50%; background: var(--nc-ink); color: var(--nc-card);
  font-size: 10pt; font-weight: 600; line-height: 6.5mm; text-align: center;
}

/* what happens to your words */
.nc-facts { margin: 0; padding: 0; list-style: none; }
.nc-facts li { position: relative; margin: 0 0 1.3mm; padding-left: 4.5mm; }
.nc-facts li:last-child { margin-bottom: 0; }
.nc-facts li::before {
  content: ""; position: absolute; left: 0.4mm; top: 0.5em; width: 1.7mm; height: 1.7mm; border-radius: 50%; background: var(--nc-ink);
}

/* support: the dark panel, so it is the easiest thing on the card to find */
.nc-help { margin: 0 0 3.5mm; padding: 3.5mm 4.5mm; border-radius: 3mm; background: var(--nc-night); color: var(--nc-page); }
.nc-card .nc-help h2 { margin-bottom: 1.5mm; font-size: 12pt; }
.nc-help p + p { margin-top: 0.8mm; }
.nc-num { font-size: 1.2em; white-space: nowrap; }

/* radar.css styles every footer for the radar screen; this one is just a line */
.nc-card .nc-foot { display: block; margin-top: auto; padding-top: 2.5mm; border-top: 1px solid var(--nc-line);
  color: var(--nc-ink-2); font-size: 9pt; line-height: 1.3; }

/* ---- phones: the card fills the width, and the type is screen-sized */
@media screen and (max-width: 640px) {
  .nc-toolbar { padding: 10px 12px; }
  .nc-sheet { padding: 0; }
  .nc-card { width: auto; min-height: 0; padding: 26px 20px 20px; box-shadow: none; font-size: 16px; line-height: 1.4; }
  .nc-card > .nc-ball { top: -70px; right: -70px; width: 190px; height: 190px; }
  .nc-top { margin-bottom: 26px; }
  .nc-logo { width: min(220px, 62%); }
  .nc-invite { max-width: 72%; margin-top: 18px; font-size: 21px; }
  .nc-sec { margin-bottom: 24px; }
  .nc-card h2 { margin-bottom: 10px; font-size: 19px; }
  .nc-steps { grid-template-columns: 1fr; gap: 10px; }
  .nc-steps li { flex-direction: row; align-items: flex-start; gap: 12px; }
  .nc-no { flex: none; width: 26px; height: 26px; font-size: 14px; line-height: 26px; }
  .nc-facts li { margin-bottom: 8px; padding-left: 18px; }
  .nc-facts li::before { left: 2px; width: 7px; height: 7px; }
  .nc-help { margin-bottom: 18px; padding: 16px 18px; border-radius: 12px; }
  .nc-card .nc-help h2 { font-size: 17px; margin-bottom: 6px; }
  .nc-card .nc-foot { padding-top: 12px; font-size: 14px; }
}

/* ---- print: one card fills an A5 page; "Print two on one A4 sheet" puts two
   side by side on A4 (landscape), with a dashed line to cut along */
@page { size: A5 portrait; margin: 0; }
@page nc-two { size: A4 landscape; margin: 0; }
@media print {
  html.nc-html, .nc-html body.nc { background: #fff; }
  .nc-html * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .nc-toolbar { display: none; }
  .nc-sheet { padding: 0; }
  .nc-card { width: 148mm; height: 209.5mm; min-height: 0; margin: 0; box-shadow: none; background: #fff; break-inside: avoid; }
  .nc-card a { text-decoration: none; }
  .nc-html.nc-two .nc-sheet { page: nc-two; display: flex; }
  .nc-html.nc-two .nc-card { width: 148.5mm; }
  .nc-html.nc-two .nc-copy { display: flex; border-left: 0.3mm dashed #8a8a8a; }
}
