/* PFPT brand tokens (from the PFPT Canva templates and document header spec) */
:root {
  --blue: #19597e;        /* primary brand blue, header + post backgrounds */
  --navy: #08334d;        /* card blue on Instagram posts */
  --ice: #d6eaf8;         /* soft text on blue */
  --green: #a8d5ba;       /* single accent */
  --white: #ffffff;
  --paper: #f3f8fc;       /* light section background */
  --ink: #0d2c3f;         /* body text on light */
  --muted: #4b6676;
  --line: #d3e2ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 51, 77, 0.12);
  --max: 1160px;
  --font: "Titillium Web", "Open Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; } /* keeps width/height attributes from stretching images when they shrink */

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ---------- Type ---------- */

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.1; color: inherit; }

/* The brand headline: Titillium italic, tight tracking (matches the Welcome Packet header) */
.display {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.section-title {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
  font-size: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.on-blue .eyebrow, .on-navy .eyebrow, .offer-wide .eyebrow { color: var(--green); }

.lede { font-size: 1.2rem; font-weight: 300; max-width: 62ch; }

.accent { color: var(--green); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

.btn-green { background: var(--green); color: var(--navy); }
.btn-green:hover { background: #bfe3cc; color: var(--navy); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); color: var(--white); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blue);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-logo { width: auto; height: 38px; }
.brand-name { font-size: 0.78rem; font-weight: 600; line-height: 1.15; color: var(--ice); border-left: 1px solid rgba(255,255,255,0.35); padding-left: 12px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--ice); text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.nav .btn { margin-left: 8px; padding: 9px 18px; color: var(--navy); }
.nav .btn:hover { background: #bfe3cc; color: var(--navy); }

.nav-toggle {
  display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--blue); padding: 10px 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 560px) { .brand-name { display: none; } .brand-logo { height: 32px; } }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--blue); color: var(--white);
  padding: 72px 0 84px;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero .lede { color: var(--ice); }
.hero-logo { width: 100%; max-width: 480px; justify-self: center; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18)); }

.page-hero { padding: 64px 0 70px; }
.page-hero .wrap { grid-template-columns: 1fr; }
.page-hero .display { font-size: clamp(2.4rem, 5vw, 3.8rem); }

@media (max-width: 880px) {
  .hero { padding: 32px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 16px; }
  .hero-logo { max-width: 250px; order: -1; }
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.on-paper { background: var(--paper); }
.on-blue { background: var(--blue); color: var(--white); }
.on-blue .lede, .on-navy .lede { color: var(--ice); }
.on-navy { background: var(--navy); color: var(--white); }

@media (max-width: 700px) { .section { padding: 64px 0; } }

/* ---------- Icons ---------- */

.icon { width: 56px; height: 56px; color: var(--blue); flex-shrink: 0; }
.icon-sm { width: 22px; height: 22px; }
.on-blue .icon, .on-navy .icon { color: var(--white); }

.icon-badge {
  display: grid; place-items: center;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--paper); color: var(--blue);
}
.icon-badge .icon { width: 44px; height: 44px; }
.on-navy .icon-badge, .on-blue .icon-badge { background: rgba(255, 255, 255, 0.08); }
.on-navy .icon-badge .icon, .on-blue .icon-badge .icon { color: var(--white); }

/* ---------- Path cards (Start here) ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.45rem; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); }
.card .card-link {
  margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.card .card-link:hover { gap: 10px; }

/* ---------- Pillars ---------- */

.pillar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.pillar h3 { font-size: 1.35rem; font-weight: 700; margin: 0; }
.pillar p { margin: 0; color: var(--ice); font-size: 1rem; }
.pillar .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(168, 213, 186, 0.16); color: var(--green);
}

/* ---------- Flagship free tools ---------- */

.flagship { gap: 16px; padding-top: 40px; }
.flagship .partner-top { display: flex; align-items: center; gap: 16px; }
.flagship .category { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.flagship .form-note { margin-top: -4px; }
.flagship.soon .ribbon { background: var(--green); color: var(--navy); }
.flagship.soon { border-style: dashed; box-shadow: none; }

/* ---------- Resource library ---------- */

.resource-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.resource .type {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; background: var(--paper); color: var(--blue);
}
.resource h3 { font-size: 1.3rem; }

/* ---------- Offers ---------- */

.offer {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow);
}
.offer.featured { border: 2px solid var(--blue); }
.offer .ribbon {
  position: absolute; top: -14px; left: 28px;
  background: var(--blue); color: var(--white);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.offer h3 { font-size: 1.5rem; font-weight: 700; margin: 0; line-height: 1.15; }
.offer .meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; color: var(--muted); font-weight: 600; }
.offer .price { font-size: 2.2rem; font-weight: 700; color: var(--blue); letter-spacing: -0.02em; line-height: 1; }
.offer p { margin: 0; color: var(--muted); }
.offer .btn { margin-top: auto; align-self: flex-start; }

.checks { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.checks li svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.on-blue .checks li, .on-navy .checks li, .offer-wide .checks li { color: var(--white); }
.on-blue .checks li svg, .on-navy .checks li svg, .offer-wide .checks li svg { color: var(--green); }

.offer-wide {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  background: var(--navy); color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: 48px;
  margin-top: 28px;
}
.offer-wide p { color: var(--ice); }
.offer-wide h3 { font-style: italic; font-weight: 400; letter-spacing: -0.03em; font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 8px; }
@media (max-width: 860px) { .offer-wide { grid-template-columns: 1fr; padding: 32px; } }

.offer-wide.has-shot { grid-template-columns: 0.85fr 1.15fr; gap: 32px; }
@media (max-width: 860px) { .offer-wide.has-shot { grid-template-columns: 1fr; } }

/* Screenshot of a free tool, framed like a sheet of paper */
.tool-shot {
  display: block; width: 100%; height: auto;
  background: var(--white); border-radius: 10px; padding: 6px;
  box-shadow: 0 12px 30px rgba(8, 51, 77, 0.25);
}

/* ---------- Clinical journey (Plan of Care steps) ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps li {
  position: relative; counter-increment: step;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 700;
  margin-bottom: 12px;
}
.steps h4 { font-size: 1.1rem; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- YouTube ---------- */

.yt { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.yt-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #0f4565);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid; place-items: center; overflow: hidden;
}
.yt-screen .icon { width: 96px; height: 96px; color: var(--white); opacity: 0.95; }
.yt-screen .badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--green); color: var(--navy);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
@media (max-width: 860px) { .yt { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Newsletter ---------- */

.signup {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  background: var(--white); border-radius: calc(var(--radius) + 6px);
  padding: 44px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.signup h2 { font-style: italic; font-weight: 400; letter-spacing: -0.03em; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 6px; }
.signup p { margin: 0; color: var(--muted); }
.signup-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.signup-form input {
  flex: 1 1 220px; min-width: 0;
  font: inherit; font-size: 1rem;
  padding: 13px 18px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--paper); color: var(--ink);
}
.signup-form input:focus { border-color: var(--blue); outline: none; background: var(--white); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.form-status { font-weight: 600; color: var(--blue); margin-top: 10px; min-height: 1.4em; }
@media (max-width: 700px) { .signup { grid-template-columns: 1fr; padding: 30px 24px; } }

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about-photo {
  background: var(--blue); border-radius: calc(var(--radius) + 6px);
  padding: 40px 28px 0; display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.about-photo img { width: 100%; max-width: 440px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* About page photos */
figure { margin: 0; }
.about-photo.is-photo { padding: 0; background: var(--paper); box-shadow: var(--shadow); }
.about-photo.is-photo img { display: block; max-width: none; }
@media (max-width: 860px) { .about-photo.is-photo { max-width: 420px; } }

.story { display: grid; gap: 64px; }
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story-row:nth-child(even) > :first-child { order: 2; }
.story .stack p { font-size: 1.1rem; }
.photo {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.photo img { display: block; width: 100%; }
.photo figcaption { padding: 12px 16px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
/* a 3:4 portrait next to a 3:2 landscape at 1fr / 2fr lines their heights up */
.photo-pair { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; align-items: start; }
@media (max-width: 860px) {
  .story { gap: 48px; }
  .story-row { grid-template-columns: 1fr; gap: 24px; }
  .story-row:nth-child(even) > :first-child { order: 0; }
}
@media (max-width: 480px) { .photo-pair { grid-template-columns: 1fr; } }

.note-box {
  border-left: 0; background: var(--paper); border-radius: var(--radius);
  padding: 22px 24px; color: var(--muted); font-size: 0.98rem;
}
.note-box strong { color: var(--ink); }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 24px;
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem;
  padding: 16px 0; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Testimonials (mirrors the Canva testimonial graphics) ---------- */

.quote-card {
  background: var(--navy); color: var(--ice);
  border-radius: calc(var(--radius) + 4px);
  padding: 30px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.quote-card .icon { width: 52px; height: 52px; color: var(--white); }
.quote-card blockquote {
  margin: 0; padding: 18px 0; font-size: 1.05rem; line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.25); border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.quote-card blockquote strong { color: var(--green); font-weight: 700; }
.quote-card .who { margin-top: auto; color: var(--white); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.quote-card .who span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ice); letter-spacing: 0.04em; margin-top: 4px; }
.quote-card.placeholder { background: transparent; border: 2px dashed rgba(255, 255, 255, 0.4); box-shadow: none; }

/* ---------- Partners ---------- */

.partner { gap: 16px; }
.partner-top { display: flex; align-items: center; gap: 16px; }
.partner-top h3 { margin: 0; }
.partner-top .category { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.partner .badge {
  align-self: flex-start;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--blue);
}
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  height: 180px; padding: 16px; border-radius: 12px;
}
.partner-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; }
.partner .code { font-weight: 700; color: var(--ink); }
.partner .code span { font-family: ui-monospace, Consolas, monospace; background: var(--paper); padding: 2px 8px; border-radius: 6px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: var(--ice); padding: 64px 0 36px; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ice); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand .brand-logo { height: 44px; }
.footer-brand p { margin: 12px 0 0; max-width: 38ch; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: var(--white);
}
.socials a:hover { background: var(--green); color: var(--navy); text-decoration: none; }
.socials svg { width: 22px; height: 22px; }
.disclaimer {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem; line-height: 1.6; color: rgba(214, 234, 248, 0.8);
}
.disclaimer p { margin: 0 0 10px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Utilities ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card .card-link { transition: none; }
  .btn:hover { transform: none; }
}
