/* =========================================================================
   The host page.

   Everything the calculator itself draws lives in calculator.css — this file
   only builds the page it now sits on, because the wizard used to arrive as a
   modal over the AU landing and has no ground of its own.

   Deliberately small. A standalone tool is a card on a canvas, a mark, and a
   way to reach a human; anything more is a landing page wearing a calculator.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.v3 {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  color: var(--v3-ink);
  /* cream ground so the card's cool-grey surface reads as a raised object —
     the landing's own pairing, not a new one */
  background: var(--v3-cream-soft);
  -webkit-font-smoothing: antialiased;
}

/* ---------- header ---------- */
.pgHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #EAECF0;
}
.pgHead .pgLogo img { display: block; height: 34px; width: auto; }
.pgCall {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--v3-gold);
  color: var(--v3-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms var(--ease-out);
}
.pgCall:hover { background: var(--v3-gold-light); }
/* the hairline the landing's header carries under its chrome */
.pgRule { height: 2px; background: var(--grad-gold); }

/* ---------- the calculator's canvas ---------- */
.pgMain {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px 56px;
}
.pgLede {
  max-width: 460px;
  margin: 0 0 24px;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  color: #6E6E73;
}
/* the mount is the flex centring [data-v3-inline] gives the footer form */
#calc { display: flex; justify-content: center; width: 100%; }

/* ---------- footer ---------- */
.pgFoot {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #6E6E73;
  border-top: 1px solid #EAECF0;
  background: #fff;
}
.pgFoot a { color: inherit; }

@media (max-width: 480px) {
  .pgHead { padding: 12px 16px; }
  .pgHead .pgLogo img { height: 28px; }
  .pgCall { height: 34px; padding: 0 12px; font-size: 13px; }
  .pgMain { padding: 24px 14px 40px; }
}

/* ---------- print ----------
   The print sheet is the calculator's own; the page chrome around it is not
   part of what he is taking away. This is the parent-document half of the
   rule — the same shape the Tool Hub's shell needed once its tools started
   printing, except here there is no iframe in the way. */
@media print {
  .pgHead, .pgRule, .pgFoot, .pgLede { display: none !important; }
  body.v3 { background: #fff; }
  .pgMain { padding: 0; }
}
