/* ============================================
   Stay Active with Dale — Styles
   Matches Claude Design reference (Poppins)
   ============================================ */

:root {
  --teal: #1F8A94;
  --teal-dark: #17707A;
  --teal-light: #E8F4F5;
  --teal-bg: #D6EDEF;
  --gold: #E8C05C;
  --gold-dark: #D4AD4A;
  --bg: #FAF9F6;
  --text: #2C2C2C;
  --text-muted: #6B6B6B;
  --white: #FFFFFF;
  --border: #E5E5E0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--teal-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---- Skip link ---- */

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus { top: 12px; }

/* ---- Container ---- */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  min-height: 48px;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--text);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--text);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

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

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

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

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---- Section labels ---- */

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

/* ---- Navigation ---- */

.navbar {
  background: var(--white);
  padding: 0 24px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0;
  gap: 32px;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
}

.navbar-brand span {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 15px;
  letter-spacing: 0.18em;
  margin-left: 6px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin-left: auto;
}

.navbar-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  transition: color var(--transition);
}

.navbar-links a:hover { color: var(--teal); }

.navbar-cta {
  margin-left: 12px;
}

.navbar-cta .btn {
  font-size: 15px;
  padding: 10px 20px;
  gap: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
  margin-left: auto;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: 32px 24px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover { color: var(--teal); }

.mobile-menu .btn { margin-top: 16px; text-align: center; }

@media (max-width: 768px) {
  .navbar-links,
  .navbar-cta { display: none; }
  .menu-toggle { display: block; }
}

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

.hero {
  background: var(--white);
  padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 56px);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(32px, 5vw, 64px);
}

.hero-text {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
}

.hero-credential {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-credential::before {
  content: '';
  width: 48px;
  height: 6px;
  background: var(--gold);
  border-radius: 3px;
  flex-shrink: 0;
}

.hero-credential span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #156A72;
}

.hero h1 {
  font-size: clamp(46px, 7.4vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  color: var(--teal);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-body {
  font-size: clamp(20px, 2vw, 23px);
  line-height: 1.65;
  color: #333;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-tagline {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

.hero-image {
  flex: 1 1 380px;
  min-height: clamp(380px, 48vw, 560px);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--teal-light);
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 24%;
}

/* ---- Value props ---- */

.value-props {
  background: #E8F7F8;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 56px);
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.prop-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}

.prop-card-dash {
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 16px;
}

.prop-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}

.prop-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}


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

section {
  padding: 80px 24px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
}

.link-underline {
  font-size: 17px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-underline:hover {
  color: var(--teal-dark);
}

/* ---- Category cards ---- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: box-shadow var(--transition);
}

.card:hover { box-shadow: var(--shadow); }

.card-dash {
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}

.card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.card .link-arrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

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

.about {
  background: #156A72;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  padding: 0;
}

.about-image {
  flex: 1 1 380px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.about-content {
  flex: 1.4 1 480px;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  color: var(--white);
}

.about-content .section-label {
  color: var(--white);
}

.about-content h2 {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.03em;
}

.about-content p {
  font-size: 20px;
  line-height: 1.7;
  color: var(--white);
  max-width: 600px;
}

.about-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.cred {
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}

.cred strong {
  display: block;
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
}

.cred span {
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
}

.about-content .btn {
  align-self: flex-start;
}

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

.youtube-cta {
  background: var(--teal);
  color: var(--white);
  padding: 64px 24px;
}

.youtube-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.youtube-cta h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}

.youtube-cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.6;
}

.youtube-cta .handle {
  font-size: 15px;
  opacity: 0.7;
  margin-top: 16px;
}

/* ---- Programme section ---- */

.programmes {
  padding: 80px 24px;
  background: var(--bg);
}

.programme-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.programme-image {
  position: relative;
  overflow: hidden;
  min-height: 440px;
}

.programme-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.programme-details {
  padding: 40px;
}

.programme-details h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
}

.programme-intro {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.programme-details h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.check-list {
  list-style: none;
  margin-bottom: 8px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--teal-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231F8A94' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 20px;
}

.programme-details .btn { margin-bottom: 12px; }

.programme-details .small-text {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .programme-card {
    grid-template-columns: 1fr;
  }
  .programme-image {
    min-height: 240px;
    max-height: 300px;
  }
  .programme-image img {
    object-position: center top;
  }
  .programme-details { padding: 28px 24px; }
}

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

.newsletter {
  padding: 64px 24px;
  background: var(--bg);
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-inner h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--teal);
}

.newsletter-inner > p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  min-height: 48px;
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--teal);
  outline: none;
}

.newsletter-form .btn {
  white-space: nowrap;
  padding: 14px 24px;
}

@media (max-width: 520px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
}

/* ---- Training ---- */

.training {
  padding: 80px 24px;
  background: var(--bg);
}

.training-inner {
  max-width: 640px;
  margin: 0 auto;
}

.training-inner h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--teal);
  margin-bottom: 16px;
}

.training-inner p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand .navbar-brand {
  font-size: 20px;
  margin-bottom: 8px;
  display: inline-block;
}

.footer-tagline {
  font-size: 16px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 16px;
}

.footer-cols {
  display: flex;
  gap: 56px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 16px;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-col a:hover { color: var(--teal-dark); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-disclaimer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 8px;
}

.footer-copyright {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-cols { gap: 40px; }
}

/* ---- Active nav link ---- */

.navbar-active {
  color: var(--teal) !important;
}

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

.cards-hero {
  background: var(--white);
  padding: clamp(48px, 7vw, 80px) 24px clamp(32px, 4vw, 48px);
}

.cards-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cards-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--teal);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cards-hero p {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 540px;
}

/* ---- Cards Email Gate ---- */

.cards-gate {
  background: #156A72;
  padding: 48px 24px;
}

.cards-unlocked .cards-gate { display: none; }

.cards-gate-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.cards-gate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  margin-bottom: 20px;
}

.cards-gate h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.cards-gate p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cards-gate-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.cards-gate-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  min-height: 48px;
  transition: border-color var(--transition);
}

.cards-gate-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.6);
}

.cards-gate-form input[type="email"]:focus {
  border-color: var(--gold);
  outline: none;
  background: rgba(255,255,255,0.15);
}

@media (max-width: 480px) {
  .cards-gate-form { flex-direction: column; }
  .cards-gate-form .btn { width: 100%; }
}

/* ---- Cards Success Message ---- */

.cards-success {
  display: none;
  background: #E8F7F8;
  padding: 20px 24px;
}

.cards-unlocked .cards-success { display: block; }

.cards-success-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  font-weight: 600;
  font-size: 17px;
}

.cards-success svg {
  flex-shrink: 0;
  stroke: var(--teal);
}

/* ---- Cards Library Grid ---- */

.cards-library {
  padding: clamp(40px, 6vw, 64px) 24px;
  background: var(--bg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ---- Workout Card Item ---- */

.wcard {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.wcard:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.wcard-preview {
  position: relative;
  background: var(--teal-light);
  overflow: hidden;
}

.wcard-preview img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.wcard-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.wcard-info {
  padding: 20px 24px 24px;
}

.wcard-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.wcard h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.25;
}

.wcard-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.wcard-exercises {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.wcard-download {
  display: none;
  font-size: 15px;
  padding: 10px 20px;
  gap: 8px;
  width: 100%;
}

.cards-unlocked .wcard-download { display: inline-flex; }

.wcard-locked {
  display: inline-flex;
  font-size: 14px;
  padding: 10px 20px;
  gap: 8px;
  width: 100%;
  color: var(--text-muted);
  border-color: var(--border);
}

.wcard-locked:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal);
}

.cards-unlocked .wcard-locked { display: none; }
