/* Pungs for Lungs site styles. Colors, type and shapes follow brand/brand-guide.md. */

:root {
  --navy: #2E5283;
  --navy-dark: #1E3A60;
  --rose: #D4566A;        /* 24px and up only */
  --rose-deep: #B83F55;   /* small rose text */
  --blush: #FFF8F5;
  --mist: #E3EBF6;
  --paper: #FFFFFF;
  --ink: #23324A;
  --muted: #4A5568;
  --line: #EADFDC;
  --line-blue: #DCE4F0;
  --display: 'Bricolage Grotesque', sans-serif;
  --text: 'Inter', sans-serif;
  --gutter: 32px;         /* side padding */
  --section: 96px;        /* vertical padding of a section */
  --radius: 20px;
}

/* Base */
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
img { height: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 10;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 12px; }

/* Layout helpers */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.band-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; }

/* Type */
.h2 { font-family: var(--display); font-size: 44px; line-height: 1.1; font-weight: 800; color: var(--navy); }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--rose-deep); }
.lead { font-size: 20px; }
.small { font-size: 16px; }
.fine { font-size: 15px; }
.muted { color: var(--muted); }

/* Buttons: always pills */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: var(--navy-dark); color: var(--paper); }
.btn--outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: transparent; color: var(--navy); }
.btn--small { min-height: 44px; padding: 0 22px; }
.btn--start { align-self: flex-start; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__inner { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand img { width: 92px; display: block; }
.brand__name { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.brand__for { color: var(--rose); font-weight: 600; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; }

/* Hero */
.hero { background: var(--mist); }
.hero__inner { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.hero__copy { gap: 24px; }
.hero__title { font-family: var(--display); font-size: clamp(44px, 6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -2px; color: var(--navy); }
.hero .lead { max-width: 520px; }
.hero__art { display: flex; justify-content: center; }
.hero__art img { width: 100%; max-width: 560px; display: block; }

/* About */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; align-items: start; }
.about__copy { gap: 20px; }
.stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; gap: 8px; }
.stat-card .eyebrow { letter-spacing: 2px; }
.stat-card__number { font-family: var(--display); font-size: 72px; line-height: 1; font-weight: 800; color: var(--navy); }

/* Ways to play */
.play { gap: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line-blue); border-radius: var(--radius); padding: 32px; gap: 12px; background: var(--blush); }
.card__title { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--navy); }
.price { font-family: var(--display); font-size: 40px; font-weight: 800; color: var(--rose-deep); }
.price span { font-size: 16px; font-weight: 500; color: var(--muted); }

/* Learn-to-Play series */
.series { gap: 40px; }
.series__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.series__intro { gap: 12px; max-width: 640px; }
.price-badge { background: var(--navy); color: var(--paper); border-radius: var(--radius); padding: 24px 32px; gap: 2px; }
.price-badge__amount { font-family: var(--display); font-size: 48px; line-height: 1; font-weight: 800; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.step { background: var(--mist); border-radius: var(--radius); padding: 32px; gap: 12px; }
.step__num { font-family: var(--display); font-size: 48px; line-height: 1; font-weight: 800; color: var(--rose-deep); }
.step__title { font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--navy); }

/* Sessions */
.sessions { gap: 32px; }
.sessions .lead a { font-weight: 600; }

/* Giving */
.give { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.give__copy { gap: 16px; }
.callout { background: var(--mist); border-radius: var(--radius); padding: 40px; gap: 18px; }
.callout__title { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: var(--paper); }
.site-footer__inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; font-size: 15px; }
.site-footer__name { font-family: var(--display); font-size: 24px; font-weight: 800; }
.site-footer a, .site-footer a:hover { color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--paper); }

/* Page-not-found page */
.notfound { min-height: 50vh; gap: 24px; justify-content: center; align-items: flex-start; }

/* Phones: tighter spacing so the page isn't so long */
@media (max-width: 640px) {
  :root { --gutter: 20px; --section: 56px; }
  .h2 { font-size: 36px; }
  .hero__inner { padding-top: 56px; padding-bottom: 56px; gap: 36px; grid-template-columns: 1fr; }
  .about, .give { gap: 36px; grid-template-columns: 1fr; }
  .stat-card, .callout { padding: 28px; }
  .stat-card__number { font-size: 60px; }
  .card, .step { padding: 24px; }
}
