/* =============================================================
   Power Kegels — Shared Brand System
   Deep navy / charcoal / orange-red professional theme
   Jost typeface · Mobile-first · WCAG AA contrast
   ============================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Design Tokens ── */
:root {
  /* Colours */
  --navy:        #0d1b2a;
  --charcoal:    #1e2d3d;
  --charcoal-lt: #2a3f52;
  --orange:      #e84d2b;
  --orange-dk:   #c73f22;
  --orange-lt:   #ff6b47;
  --gold:        #f5a623;
  --teal:        #1a7a8a;
  --teal-lt:     #23a0b5;
  --white:       #ffffff;
  --off-white:   #f7f8fa;
  --light-grey:  #e8ecf0;
  --mid-grey:    #6b7a8d;
  --text-main:   #1e2d3d;
  --text-muted:  #4a5a6e;

  /* Heading-bar colours */
  --bar-h2-bg:   #0d1b2a;      /* deep navy  */
  --bar-h2-text: #ffffff;
  --bar-h3-bg:   #e84d2b;      /* orange-red */
  --bar-h3-text: #ffffff;

  /* Typography — fixed at all widths */
  --fs-h1:   34px;
  --fs-h2:   32px;
  --fs-h3:   30px;
  --fs-body: 26px;

  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-extra:   800;

  /* Spacing */
  --section-v: 80px;
  --gutter:    24px;

  /* Radius / shadow */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(13,27,42,.12);
  --shadow-md: 0 6px 24px rgba(13,27,42,.18);
  --shadow-lg: 0 12px 48px rgba(13,27,42,.22);

  /* Transitions */
  --t-fast: .18s ease;
  --t-med:  .28s ease;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Jost', sans-serif;
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--orange); text-decoration: none; transition: color var(--t-fast); }
a:hover, a:focus-visible { color: var(--orange-dk); text-decoration: underline; }

ul, ol { list-style: none; }

/* ── Typography — exact, unchanging ── */
h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: 1.25;
  color: var(--white);
}

/* H2 — full-width centered navy bar */
h2, .h2-bar {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semi);
  line-height: 1.3;
  background: var(--bar-h2-bg);
  color: var(--bar-h2-text);
  text-align: center;
  padding: 22px var(--gutter);
  width: 100%;
  display: block;
  margin: 0;
  letter-spacing: .01em;
}

/* H3 — full-width centered orange-red bar */
h3, .h3-bar {
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  line-height: 1.35;
  background: var(--bar-h3-bg);
  color: var(--bar-h3-text);
  text-align: center;
  padding: 18px var(--gutter);
  width: 100%;
  display: block;
  margin: 0;
  letter-spacing: .01em;
}

p { font-size: var(--fs-body); line-height: 1.65; margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-block {
  padding: var(--section-v) 0;
}

.section-block--alt {
  background: var(--off-white);
}

/* Content card inside a section */
.content-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 40px 48px;
  margin: 40px auto;
  max-width: 900px;
}
@media (max-width: 700px) {
  .content-card { padding: 28px 20px; }
}

/* ── Hero Banner ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--charcoal) 60%, #152c3a 100%);
  padding: 90px var(--gutter) 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,77,43,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(26,122,138,.10) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  margin-bottom: 20px;
  color: var(--white);
}

.hero-sub {
  font-size: var(--fs-body);
  color: rgba(255,255,255,.84);
  margin: 0 auto;
  max-width: 640px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 20px;
  font-weight: var(--fw-semi);
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
  line-height: 1;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  color: var(--white);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
}

/* ── Disclaimer / Notice boxes ── */
.notice-box {
  background: #fff7f5;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 22px;
  color: var(--text-muted);
  margin: 28px 0;
  line-height: 1.6;
}
.notice-box--legal {
  background: #fffbf0;
  border-left-color: var(--gold);
}
.notice-box--health {
  background: #f0f9fb;
  border-left-color: var(--teal);
}
.notice-box strong { color: var(--charcoal); }

/* ── Checklist ── */
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: var(--fs-body);
  margin-bottom: 14px;
}
.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--orange);
  font-weight: var(--fw-bold);
  font-size: 22px;
  margin-top: 2px;
}

/* ── CTA Strip ── */
.cta-strip {
  background: linear-gradient(90deg, var(--navy) 0%, var(--charcoal-lt) 100%);
  padding: 56px var(--gutter);
  text-align: center;
}
.cta-strip h2 {
  background: transparent;
  padding: 0;
  margin-bottom: 18px;
  font-size: var(--fs-h2);
  color: var(--white);
  display: block;
  width: auto;
}
.cta-strip p {
  color: rgba(255,255,255,.8);
  margin-bottom: 30px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Product image block ── */
.product-block {
  text-align: center;
  padding: var(--section-v) var(--gutter);
  background: var(--off-white);
}
.product-block img {
  max-width: 380px;
  margin: 0 auto 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ── ============================
   NAVIGATION
   ============================ ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-text {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: .03em;
  line-height: 1;
}
.nav-logo-text span { color: var(--orange); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 16px;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255,255,255,.10);
  color: var(--white);
  text-decoration: none;
}
.nav-links a.active {
  background: rgba(232,77,43,.2);
  color: var(--orange-lt);
}

/* Buy Now pill */
.nav-buy {
  font-size: 15px;
  font-weight: var(--fw-bold);
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  margin-left: 8px;
  transition: background var(--t-fast), transform var(--t-fast) !important;
}
.nav-buy:hover, .nav-buy:focus-visible {
  background: var(--orange-dk) !important;
  transform: scale(1.04);
  text-decoration: none !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); }
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-med);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 15px;
  font-weight: var(--fw-bold);
  padding: 8px 18px;
  border-radius: 0 0 6px 6px;
  z-index: 9999;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

/* Mobile nav */
@media (max-width: 1050px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--charcoal);
    padding: 16px 0;
    box-shadow: var(--shadow-md);
    z-index: 8999;
    border-top: 2px solid var(--orange);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 18px;
    padding: 14px 24px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-buy {
    margin-left: 0;
    margin-top: 8px;
    border-radius: 0;
    text-align: center;
  }
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }
}

/* ── ============================
   FOOTER
   ============================ ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 64px var(--gutter) 32px;
  font-size: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto 48px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-col h4 {
  font-size: 17px;
  font-weight: var(--fw-semi);
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: 16px;
  margin-bottom: 10px;
  transition: color var(--t-fast);
  text-decoration: none;
}
.footer-col a:hover, .footer-col a:focus-visible {
  color: var(--orange-lt);
  text-decoration: underline;
}

.footer-brand p { font-size: 16px; line-height: 1.6; }

/* Social icons row */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  transition: background var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}
.social-btn:hover, .social-btn:focus-visible {
  background: var(--orange);
  transform: scale(1.12);
  text-decoration: none;
}
.social-btn:focus-visible { outline: 2px solid var(--gold); }
.social-btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; display: block; }

/* Hashtag chips */
.hashtag-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hashtag-bar span {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--orange-lt);
  background: rgba(232,77,43,.14);
  border-radius: 50px;
  padding: 5px 14px;
  letter-spacing: .02em;
}

/* Footer bottom bar */
.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); font-size: 15px; }
.footer-bottom a:hover { color: var(--orange-lt); }
.footer-disclaimer {
  font-size: 14px;
  color: rgba(255,255,255,.38);
  text-align: center;
  max-width: 1120px;
  margin: 20px auto 0;
  line-height: 1.55;
}

/* ── Breadcrumb ── */
.breadcrumb {
  background: var(--charcoal);
  padding: 12px var(--gutter);
  font-size: 15px;
  color: rgba(255,255,255,.55);
}
.breadcrumb-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-lt); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }
.breadcrumb .current { color: var(--orange-lt); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-fade-up { animation: fadeUp .55s ease both; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .22s; }
.anim-delay-3 { animation-delay: .34s; }

/* ── Focus styles ── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ── Form base ── */
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: 20px;
  font-weight: var(--fw-medium);
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: 'Jost', sans-serif;
  font-size: 20px;
  padding: 13px 16px;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-main);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,77,43,.15);
  outline: none;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c0392b;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.field-error {
  font-size: 17px;
  color: #c0392b;
  margin-top: 5px;
  display: none;
}
.field-error.visible { display: block; }
.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.form-consent input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--orange);
  cursor: pointer;
}
.form-consent label {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 0;
  cursor: pointer;
}
.form-consent a { color: var(--orange); }
.form-success {
  display: none;
  background: #edfaf3;
  border: 2px solid #27ae60;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-align: center;
  font-size: 22px;
  color: #1a6b3c;
  font-weight: var(--fw-semi);
  margin-top: 24px;
}
.form-success.visible { display: block; }

/* ── Utility ── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px;  }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
