/* The New You Plan - shared landing-page styles. Loaded on every page by _shared/head.html.
   Fonts are the main site's own Avenir files (same address, so no extra download for visitors
   who have been on the site). Pages add their own CSS for layout; use these colours and classes
   so every page looks like the brand. */
@font-face { font-family: avenir; src: url(/fonts/Avenir-Book.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: avenirHeavy; src: url(/fonts/Avenir-Heavy.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: avenirBlack; src: url(/fonts/Avenir-Black.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: avenirOblique; src: url(/fonts/Avenir-Oblique.woff2) format('woff2'); font-display: swap; }

:root {
  --nyp-navy: #263975;      /* headings, body text */
  --nyp-pink: #ec3d80;      /* buttons, highlights */
  --nyp-pink-dark: #c92a68;
  --nyp-pink-light: #fee6f3;/* soft panels */
  --nyp-green: #4cb66b;     /* ticks, "in stock", success */
  --nyp-blue: #04a6df;      /* links, accents */
  --nyp-muted: #4f5f8c;     /* secondary text */
  --nyp-border: #e3e6ea;
  --nyp-bg: #f6f7f9;        /* page sections */
  --nyp-white: #ffffff;
  --nyp-radius: 10px;
  --nyp-max: 1100px;        /* content width */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: avenir, "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.55;
  color: var(--nyp-navy); background: var(--nyp-white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { font-family: avenirHeavy, avenir, Arial, sans-serif; font-weight: normal; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 6vw, 46px); }
h2 { font-size: clamp(23px, 4.5vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
b, strong { font-family: avenirHeavy, avenir, Arial, sans-serif; font-weight: normal; }
em { font-family: avenirOblique, avenir, Arial, sans-serif; font-style: normal; }
a { color: var(--nyp-blue); }
img, video { max-width: 100%; height: auto; display: block; }

.nyp-wrap { max-width: var(--nyp-max); margin: 0 auto; padding: 0 16px; }
.nyp-section { padding: 48px 0; }
.nyp-section--tint { background: var(--nyp-bg); }
.nyp-section--pink { background: var(--nyp-pink-light); }
.nyp-center { text-align: center; }

.nyp-btn {
  display: inline-block; padding: 16px 32px; border-radius: 999px; border: 0;
  background: var(--nyp-pink); color: #fff; text-decoration: none; cursor: pointer;
  font-family: avenirHeavy, avenir, Arial, sans-serif; font-size: 19px; line-height: 1.2;
  box-shadow: 0 4px 14px rgba(236, 61, 128, .35); transition: background .15s;
}
.nyp-btn:hover, .nyp-btn:focus { background: var(--nyp-pink-dark); }
.nyp-btn--block { display: block; width: 100%; text-align: center; }

.nyp-ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.nyp-ticks li { position: relative; padding-left: 32px; margin-bottom: .5em; }
.nyp-ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--nyp-green); font-family: avenirBlack, Arial, sans-serif; }

.nyp-card { background: #fff; border: 1px solid var(--nyp-border); border-radius: var(--nyp-radius); padding: 24px; }
.nyp-small { font-size: 14px; color: var(--nyp-muted); }

.nyp-footer { padding: 28px 16px 40px; text-align: center; font-size: 14px; color: var(--nyp-muted); background: var(--nyp-bg); }
.nyp-footer p { margin: 0 0 .4em; }
.nyp-footer a { color: var(--nyp-muted); }
