/* Plus 4 Performance — shared design tokens + site chrome
   Extracted from the original index.html sales page. Reused by every
   page on the site; page-specific layout stays in that page's own
   inline <style> block and references these variables. */

:root{
  --ink:#0a0a0c;
  --white:#ffffff;
  --ash:#8e8e95;
  --pebble:rgba(255,255,255,0.14);
  --midnight:#0f0f14;
  --charcoal:#0d0d10;
  --ember:#1e3a6b;
  --ember-deep:#152a4d;
  --ember-bright:#5b8def;
  --card-bg:#18181f;
  --max:1200px;
  --gap:80px;
  --radius-pill:1000px;
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--white);
  background:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  position:relative;
}
body::before,
body::after{
  content:'';
  position:fixed;
  z-index:-2;
  pointer-events:none;
  border-radius:50%;
  filter:blur(90px);
}
body::before{
  top:-10%;
  left:-15%;
  width:60vw;
  height:60vw;
  background:radial-gradient(circle, rgba(45,74,138,0.32) 0%, rgba(45,74,138,0) 70%);
}
body::after{
  bottom:-15%;
  right:-15%;
  width:65vw;
  height:65vw;
  background:radial-gradient(circle, rgba(30,58,107,0.28) 0%, rgba(30,58,107,0) 70%);
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px;}
section{padding:var(--gap) 0;}

.eyebrow,
.kicker{
  font-size:13px;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--ember-bright);
  margin-bottom:16px;
  display:block;
}

/* SECTION HEADERS (reused across pages) */
.section-head{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  margin-bottom:56px;
  align-items:end;
}
.section-head h2{
  font-size:42px;
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.05;
}
.section-head p{
  font-size:18px;
  color:var(--ash);
  line-height:1.61;
}

/* BUTTONS */
.btn-filled{
  background:var(--ember);
  color:#fff;
  padding:16px 30px;
  border-radius:var(--radius-pill);
  font-weight:700;
  font-size:16px;
  border:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
}
.btn-filled:hover{background:var(--ember-bright);}
.btn-ghost{
  background:transparent;
  color:#fff;
  padding:15px 29px;
  border-radius:var(--radius-pill);
  font-weight:600;
  font-size:16px;
  border:1px solid rgba(255,255,255,0.5);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
}
.btn-ghost:hover{border-color:#fff;}
.btn-sm{padding:11px 22px;font-size:14px;min-height:44px;}

/* SITE HEADER */
.site-header{
  position:relative;
  z-index:20;
  background:var(--ink);
  border-bottom:1px solid var(--pebble);
  padding:18px 0;
}
.site-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  min-height:44px;
}
.brand-word{font-weight:800;font-size:20px;letter-spacing:-0.01em;color:#fff;white-space:nowrap;}
.brand-mark{display:inline-block;height:0.85em;width:auto;vertical-align:baseline;margin:0 0.05em;}
.site-nav{display:flex;gap:32px;font-size:15px;color:rgba(255,255,255,0.75);}
.site-nav a{position:relative;padding:4px 0;}
.site-nav a:hover{color:#fff;}
.site-nav a[aria-current="page"]{color:#fff;font-weight:700;}
.site-nav a[aria-current="page"]::after{
  content:'';
  position:absolute;
  left:0;right:0;bottom:-6px;
  height:2px;
  background:var(--ember-bright);
  border-radius:2px;
}
.site-header-actions{display:flex;align-items:center;gap:14px;}
.nav-cta{border-color:rgba(255,255,255,0.6);}

/* BASKET ICON + BADGE (site header + mobile tab row) */
.basket-toggle{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;height:44px;
  flex-shrink:0;
  background:transparent;
  border:1px solid rgba(255,255,255,0.5);
  border-radius:50%;
  color:#fff;
  cursor:pointer;
}
.basket-toggle:hover{border-color:#fff;}
.basket-badge{
  position:absolute;
  top:-4px;right:-4px;
  min-width:18px;height:18px;
  padding:0 4px;
  border-radius:999px;
  background:var(--ember-bright);
  color:#0a0a0c;
  font-size:11px;
  font-weight:800;
  line-height:18px;
  text-align:center;
}

/* MOBILE TAB STRIP. Second row shown only below 768px, replaces the old
   hamburger/off-canvas menu so every tab is visible without tapping.
   The basket icon sits outside the scrollable tab list so it's always
   visible, per .mobile-tabs-row below. */
.mobile-tabs-row{
  display:none;
  align-items:center;
  gap:10px;
  padding:6px 16px;
  border-top:1px solid var(--pebble);
}
.mobile-tabs-row .basket-toggle{width:40px;height:40px;}
.mobile-tabs{
  display:flex;
  flex:1;
  min-width:0;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
  -webkit-mask-image:linear-gradient(to right, black 85%, transparent 100%);
  mask-image:linear-gradient(to right, black 85%, transparent 100%);
}
.mobile-tabs::-webkit-scrollbar{display:none;}
.mobile-tab{
  scroll-snap-align:start;
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  height:44px;
  padding:0 16px;
  border-radius:var(--radius-pill);
  border:1px solid rgba(255,255,255,0.14);
  font-size:14px;
  font-weight:600;
  color:rgba(255,255,255,0.75);
  white-space:nowrap;
}
.mobile-tab[aria-current="page"]{
  background:var(--ember-bright);
  border-color:var(--ember-bright);
  color:#0a0a0c;
  font-weight:700;
}
.mobile-tab-badge{
  display:inline-block;
  font-size:10px;
  font-weight:800;
  letter-spacing:0.04em;
  text-transform:uppercase;
  background:var(--ember-bright);
  color:#0a0a0c;
  padding:2px 6px;
  border-radius:999px;
}
.mobile-tab[aria-current="page"] .mobile-tab-badge{background:#0a0a0c;color:var(--ember-bright);}

@media(max-width:768px){
  .site-header{
    position:sticky;
    top:0;
    z-index:25;
    padding:calc(8px + env(safe-area-inset-top)) 0 0;
  }
  .site-header-inner{padding-bottom:6px;}
  .site-nav{display:none;}
  .site-header-actions .basket-toggle{display:none;}
  .mobile-tabs-row{display:flex;}
  .nav-cta{padding:8px 16px;white-space:nowrap;}
  .brand-word{font-size:18px;}
}

@media(max-width:420px){
  .brand-word{font-size:16px;}
}

/* FOOTER */
footer.site-footer{
  background:var(--ink);
  color:#fff;
  padding:64px 0 32px;
  border-top:1px solid var(--pebble);
}
.footer-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:40px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,0.12);
}
.footer-logo{height:90px;width:auto;display:block;}
.footer-tag{color:rgba(255,255,255,0.5);font-size:14px;margin-top:12px;}
.footer-links{display:flex;gap:48px;flex-wrap:wrap;}
.footer-col h5{font-size:13px;text-transform:uppercase;letter-spacing:0.1em;color:rgba(255,255,255,0.4);margin-bottom:14px;}
.footer-col a{display:block;font-size:15px;color:rgba(255,255,255,0.75);margin-bottom:10px;}
.footer-col a:hover{color:#fff;}
.footer-bottom{
  display:flex;justify-content:space-between;
  padding-top:28px;
  font-size:13px;
  color:rgba(255,255,255,0.4);
  flex-wrap:wrap;gap:12px;
}

/* extra ambient glow, used on pages with a dark hero (guaranteed-coaching) */
.ambient-glow{
  position:fixed;
  top:35%;
  left:50%;
  transform:translate(-50%,-50%);
  width:80vw;
  height:50vw;
  background:radial-gradient(ellipse, rgba(50,80,150,0.22) 0%, rgba(50,80,150,0) 70%);
  filter:blur(100px);
  z-index:-2;
  pointer-events:none;
}

/* SCROLL REVEAL */
.reveal{
  opacity:0;
  transform:translateY(36px) scale(0.985);
  filter:blur(6px);
  transition:opacity 1.1s cubic-bezier(0.16,1,0.3,1),
             transform 1.1s cubic-bezier(0.16,1,0.3,1),
             filter 1.1s cubic-bezier(0.16,1,0.3,1);
  will-change:opacity, transform, filter;
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
  filter:blur(0);
}
.reveal-stagger > *{
  opacity:0;
  transform:translateY(30px) scale(0.98);
  filter:blur(5px);
  transition:opacity 0.9s cubic-bezier(0.16,1,0.3,1),
             transform 0.9s cubic-bezier(0.16,1,0.3,1),
             filter 0.9s cubic-bezier(0.16,1,0.3,1);
  will-change:opacity, transform, filter;
}
.reveal-stagger.is-visible > *{
  opacity:1;
  transform:translateY(0) scale(1);
  filter:blur(0);
}
.reveal-stagger.is-visible > *:nth-child(1){transition-delay:0.08s;}
.reveal-stagger.is-visible > *:nth-child(2){transition-delay:0.18s;}
.reveal-stagger.is-visible > *:nth-child(3){transition-delay:0.28s;}
.reveal-stagger.is-visible > *:nth-child(4){transition-delay:0.38s;}

@media(prefers-reduced-motion: reduce){
  .reveal, .reveal-stagger > *{
    opacity:1 !important;
    transform:none !important;
    filter:none !important;
    transition:none !important;
  }
}

/* SIMPLE CONTENT PAGES (about, guarantee-terms, shipping-returns, size-guide) */
.page-hero{padding:64px 0 24px;}
.page-hero h1{font-size:48px;font-weight:800;letter-spacing:-0.02em;line-height:1.05;margin-bottom:16px;}
.page-hero p{font-size:18px;color:var(--ash);max-width:640px;line-height:1.61;}
.content-block{padding-bottom:24px;}
.content-block h2{font-size:24px;font-weight:800;letter-spacing:-0.01em;margin-bottom:14px;}
.content-block p{font-size:16px;color:rgba(255,255,255,0.75);line-height:1.7;margin-bottom:14px;max-width:720px;}
.content-block ul{color:rgba(255,255,255,0.75);font-size:16px;line-height:1.7;margin:0 0 14px 20px;max-width:720px;}
.placeholder-note{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--ember-bright);
  border:1px solid rgba(91,141,239,0.4);
  background:rgba(91,141,239,0.08);
  padding:4px 10px;
  border-radius:6px;
  margin-bottom:10px;
}

@media(max-width:860px){
  .section-head{grid-template-columns:1fr;}
  .page-hero h1{font-size:36px;}
}

/* BASKET DRAWER */
body.basket-drawer-open{overflow:hidden;}
.basket-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,0.6);
  z-index:90;
  opacity:0;
  transition:opacity 0.25s ease;
}
.basket-overlay.is-open{opacity:1;}
.basket-drawer{
  position:fixed;
  top:0;right:0;
  height:100%;
  width:440px;
  max-width:92vw;
  background:var(--card-bg);
  border-left:1px solid var(--pebble);
  z-index:95;
  display:flex;
  flex-direction:column;
  transform:translateX(100%);
  transition:transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.basket-drawer.is-open{transform:translateX(0);}
.basket-drawer-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 24px;
  border-bottom:1px solid var(--pebble);
  flex-shrink:0;
}
.basket-drawer-head h2{font-size:18px;font-weight:800;letter-spacing:-0.01em;}
.basket-close{
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  background:transparent;
  border:1px solid rgba(255,255,255,0.2);
  border-radius:50%;
  color:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.basket-close:hover{border-color:rgba(255,255,255,0.5);}
.basket-drawer-body{
  flex:1;
  overflow-y:auto;
  padding:8px 24px;
}
.basket-empty{
  padding:48px 0;
  text-align:center;
  color:var(--ash);
  font-size:15px;
}
.basket-lines{display:flex;flex-direction:column;}
.basket-line{
  display:grid;
  grid-template-columns:64px 1fr auto;
  gap:14px;
  padding:18px 0;
  border-bottom:1px solid var(--pebble);
}
.basket-line-media{
  width:64px;height:64px;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  flex-shrink:0;
}
.basket-line-media img{width:100%;height:100%;object-fit:cover;}
.basket-line-name{font-size:14px;font-weight:700;margin-bottom:2px;}
.basket-line-meta{font-size:13px;color:var(--ash);margin-bottom:10px;}
.basket-line-qty{display:inline-flex;align-items:center;gap:10px;}
.qty-btn{
  width:28px;height:28px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--pebble);
  background:transparent;
  color:#fff;
  border-radius:50%;
  font-size:16px;
  line-height:1;
  cursor:pointer;
}
.qty-btn:hover{border-color:rgba(255,255,255,0.5);}
.qty-btn:disabled{opacity:0.35;cursor:not-allowed;}
.qty-value{font-size:14px;font-weight:700;min-width:16px;text-align:center;}
.basket-line-side{
  display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;
  text-align:right;
}
.basket-line-price{font-size:14px;font-weight:700;}
.basket-line-remove{
  background:none;border:none;
  color:var(--ash);
  font-size:12px;
  text-decoration:underline;
  cursor:pointer;
  padding:0;
}
.basket-line-remove:hover{color:#fff;}
.basket-drawer-foot{
  flex-shrink:0;
  padding:20px 24px calc(24px + env(safe-area-inset-bottom));
  border-top:1px solid var(--pebble);
}
.basket-summary-row{
  display:flex;justify-content:space-between;
  font-size:15px;font-weight:700;
  margin-bottom:8px;
}
.basket-summary-row.basket-summary-muted{
  font-size:13px;font-weight:600;
  color:var(--ash);
  margin-bottom:18px;
}
.basket-checkout-btn{width:100%;}
.basket-checkout-msg{
  margin-top:10px;
  font-size:13px;
  color:var(--ember-bright);
  text-align:center;
}
.basket-fineprint{
  font-size:12px;
  color:var(--ash);
  line-height:1.6;
  margin-top:14px;
  text-align:center;
}
.basket-fineprint a{color:var(--ash);text-decoration:underline;}
.basket-fineprint a:hover{color:#fff;}

@media(max-width:480px){
  .basket-drawer{width:100%;max-width:100%;}
}
