:root{
  --ink:#0b1b3a;
  --muted:#55637a;
  --line:#e6ebf2;

  /* Runkeeper-ish blue family */
  --brand:#1f4ed8;
  --brand2:#2a66ff;
  --brand3:#184ccf;

  --bg:#ffffff;
  --soft:#f6f8fc;
  --card:#ffffff;

  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;

  --shadow: 0 18px 60px rgba(10, 30, 80, .10);
  --shadow-stack: 0 8px 24px rgba(10, 30, 80, 0.08);
}

*{ box-sizing:border-box; }

html,body{ margin:0; padding:0; }

body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

/* ---------- Layout helper ---------- */
.container{
  max-width: 950px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= HEADER ================= */

.site-header{
  top: 0;
  left: 0;
  width: 100%;          /* REQUIRED */
  z-index: 1000;

  background: rgba(255,255,255,.90);
  border-bottom: 1px solid var(--line);
}


.header-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
}

.brand-logo{
  height: 42px;
  width:auto;
  object-fit: contain;
}

.nav-desktop{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav-link{
  text-decoration:none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .01em;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-link:hover{
  background: rgba(31,78,216,.06);
}

.nav-toggle{
  display:inline-block;
  border:1px solid var(--line);
  background:#fff;
  border-radius: 12px;
  padding: 10px 10px;
  cursor:pointer;
}

.nav-toggle-bar{
  display:block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

@media (min-width: 641px){
  .nav-toggle{
    display:none;
  }
}

/* ================= MOBILE MENU OVERLAY ================= */
.featured-center .featured-content {
  text-align: center;
}
.nav-mobile{
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;

  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(10,30,80,.12);

  display: none;
  z-index: 999;
}

.site-header{
  position: relative;
}

 .op-section-title{
      margin: 0;
      font-size: 20px;
      font-weight: 900;
      color: var(--ink);
      letter-spacing: .02em;
    }

.nav-mobile.open{
  display: block;
}


.nav-mobile-link{
  display:block;
  padding: 16px 24px;
  text-decoration:none;
  color: var(--ink);
  font-weight: 700;
}

/* ================= HERO ================= */

.hero{
  position: relative;
  min-height: clamp(520px, 72vh, 720px);
  overflow: hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    /* left “Runkeeper-style” soft blue overlay */
    linear-gradient(90deg,
      rgba(246,248,252,0.92) 0%,
      rgba(246,248,252,0.80) 34%,
      rgba(246,248,252,0.15) 62%,
      rgba(246,248,252,0.00) 100%
    ),
    url("/assets/main.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-inner{
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 150px 24px;
  height: 100%;
  display:flex;
  align-items:center;
}

.hero-copy{
  max-width: 560px;
}

.hero-kicker{
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .02em;
}

.hero-title{
  margin:0;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: var(--brand3);
}

.hero-title span{
  display:inline-block;
}

.hero-subtitle{
  margin: 18px 0 0;
  font-size: 16.5px;
  color: var(--muted);
  max-width: 52ch;
}

.hero-actions{
  margin-top: 28px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 46px;
  padding: 0 18px;
  background: var(--brand);
  color:#fff;
  text-decoration:none;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(31,78,216,.24);
}

.btn-primary:hover{
  background: var(--brand2);
}

.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 46px;
  padding: 0 18px;
  background:#fff;
  color: var(--brand);
  text-decoration:none;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(31,78,216,.22);
}

.btn-secondary:hover{
  border-color: rgba(31,78,216,.38);
}

/* ================= FEATURED STORY ================= */

.featured{
  background: var(--bg);
  padding: 30px 0;
  position: relative;
}


.featured-card{
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-stack);
  border: 1px solid rgba(230,235,242,.9);
  overflow:hidden;
align-items: stretch;
  display:grid;
  grid-template-columns: 1fr;
}

.featured-cardOne{
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-stack);
  border: 1px solid rgba(230,235,242,.9);
  overflow:hidden;

  display:grid;
  grid-template-columns: 1fr;
}

.featured-media{
  background: var(--soft);
}

.featured-media img{
  width:100%;
  height:100%;
  max-height: none;  
  object-fit: cover;
  display:block;
}

.featured-card > *{
  align-self: stretch;
}

.featured-content{
  padding: 42px 38px;
}

.eyebrow{
  margin:0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .26em;
  color: rgba(31,78,216,.72);
}

.statement-text{
  margin: 18px 0 0;
  font-size: 15.5px;
  text-align: center;
  color: var(--muted);
}

.featured-quote{
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.featured-meta{
  margin-top: 18px;
}

.featured-name{
  margin:0;
  font-weight: 800;
  color: var(--brand);
  font-size: 18px;
}

.featured-sub{
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.featured-body{
  margin-top: 18px;
  color: var(--muted);
  max-width: 62ch;
}

.outline-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 2px solid rgba(31,78,216,.35);
  color: var(--brand);
  text-decoration:none;
  font-weight: 800;
  margin-top: 22px;
}

.outline-pill:hover{
  border-color: rgba(31,78,216,.55);
}

/* ================= RESULTS (PICTURES ONLY) ================= */

.results {
  background: var(--soft);
  padding: 78px 0 88px;
}

.results-grid {
  margin-top: 34px;
  display: grid;
  gap: 16px;

  /* Desktop default */
  grid-template-columns: repeat(4, 1fr);
}

/* Grid items act as cards */
.results-grid > * {
  aspect-ratio: 3 / 2.6;
  overflow: hidden;
  border-radius: 20px;
  background: #e5e7eb;
  box-shadow: 0 18px 40px rgba(10, 30, 80, 0.10);
}

/* Images fill cards */
.results-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.results-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.results-header {
  text-align: center;
  margin-bottom: 32px;
}

.result-card {
  position: relative;
}

.result-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 110px;
  height: 34px;
  background-image: url("/assets/logos/web-logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.55;
  pointer-events: none;
}


/* ---------- MOBILE ---------- */
/* 2 columns × 2 rows = 4 images max */
@media (max-width: 640px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-grid > :nth-child(n + 5) {
    display: none;
  }

 
}


/* ---------- TABLET ---------- */
/* 3 columns × 2 rows = 6 images max */
@media (min-width: 641px) and (max-width: 1023px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .results-grid > :nth-child(n + 7) {
    display: none;
  }

}

/* ---------- DESKTOP ---------- */
/* 4 columns × 2 rows = 8 images max */
@media (min-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .results-grid > :nth-child(n + 9) {
    display: none;
  }
}

/* ===== MOBILE FEATURED IMAGE FIX ===== */
@media (max-width: 979px){
  .featured-media{
    min-height: 280px;
  }

  .featured-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

/* ================= SOCIAL STRIP (ABOVE FOOTER) ================= */

.social-strip{
  background: #fff;
  padding: 56px 24px;
  border-top: 1px solid var(--line);
}

.social-inner{
  max-width: 980px;
  margin: 0 auto;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 18px;
}

.social-logo{
  height: 54px;
  width:auto;
  object-fit: contain;
}

.social-icons{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content:center;
}

.social-icon{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(230,235,242,.95);
  background: var(--soft);
  display:grid;
  place-items:center;
  text-decoration:none;
  box-shadow: 0 14px 30px rgba(10, 30, 80, .08);
}

.social-icon svg{
  width: 22px;
  height: 22px;
  fill: var(--ink);
  opacity: .90;
}

.social-icon:hover{
  border-color: rgba(31,78,216,.35);
}

/* ================= FOOTER ================= */

.site-footer{
  background:#fff;
  padding: 22px 24px 34px;
  text-align:center;
  color: var(--muted);
}



@media (min-width: 980px){
  .featured-card{
    grid-template-columns: 1.05fr 1fr;
  }

  
}

@media (max-width: 980px){
  .results-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:inline-block; }

  .hero-inner{
    padding: 54px 18px;
  }

  .results-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-content{
    padding: 30px 22px;
  }
}

/* ================= AUTH BUTTONS ================= */

.auth-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;

  height: 48px;
  padding: 0 18px;

  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: none;
}

.auth-icon{
  display:inline-flex;
  width: 18px;
  height: 18px;
}

.auth-icon svg{
  width:100%;
  height:100%;
  display:block;
}

/* Google */
.auth-google{
  background:#1f4ed8; /* matches brand blue */
  color:#fff;
  box-shadow: 0 16px 40px rgba(31,78,216,.24);
}

.auth-google:hover{
  background:#2a66ff;
}

/* Apple */
.auth-apple{
  background:#000;
  color:#fff;
}

.auth-apple:hover{
  background:#111;
}

/* ================= AUTH PAGE LAYOUT ================= */

/* Full viewport minus header */
.auth-page{
  height: calc(100dvh - 78px); /* header height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Centering container */
.auth-center{
  width: 100%;
  display: flex;
  justify-content: center;
}

html, body{
  margin: 0;
  padding: 0;
  min-height: 100%;
}

/*
html, body{
  margin: 0;
  padding: 0;
  min-height: 100%;
}
*/


/* ================= AUTH SCROLL LOCK ================= */

body.auth{
  height: 100%;
   overflow: hidden;
  overscroll-behavior-y: none !important;
}

/* ================= AUTH FULL-WIDTH CTA ================= */

.auth-fullwidth{
  width: 100%;
  justify-content: center;
}

/* ================= DISABLED AUTH CTA ================= */

button.disabled,
button:disabled{
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* ================= ACCESS STATE HANDLING ================= */

.access-state{
  margin-top: 24px;
}

.hidden{
  display: none;
}

/* Centered neutral spinner */
.access-spinner{
  width: 28px;
  height: 28px;
  margin: 32px auto 0;
  border: 3px solid rgba(31,78,216,.15);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

/* ================= GLOBAL APP LOADER OVERLAY ================= */

.app-loader{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(6px);
  z-index: 2500;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 1;
  transition: opacity .22s ease;
}

.app-loader.hidden{
  opacity: 0;
  pointer-events: none;
}

/* Reuse your spinner idea, separate class to avoid coupling */
.loader-spinner{
  width: 34px;
  height: 34px;
  border: 3px solid rgba(31,78,216,.18);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

/* ================= QUESTIONNAIRE ================= */

/* Page background + spacing */
.q-page{
  background: var(--soft);
  padding: 56px 24px 120px;
}

/* Vertical stack container */
.q-shell{
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

/* Island / card */
.q-card{
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid rgba(230,235,242,.9);
  padding: 36px 34px;
}

/* Intro eyebrow */
.q-eyebrow{
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .26em;
  color: rgba(31,78,216,.72);
}

/* Main title */
.q-title{
  margin: 0 0 18px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Section counter */
.q-section{
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* Body text */
.q-text{
  margin: 0 0 14px;
  font-size: 15.5px;
  color: var(--muted);
}

/* Labels */
.q-label{
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}

/* Inputs */
.q-input,
.q-textarea,
.q-select{
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  color: var(--ink);
}

.q-textarea{
  min-height: 110px;
  resize: vertical;
}

.q-input:focus,
.q-textarea:focus,
.q-select:focus{
  outline: none;
  border-color: var(--brand);
}

/* Submit card */
.q-submit{
  text-align: center;
}

/* Submit button */
.q-submit-btn{
  width: 100%;
  margin-top: 6px;
}

/* Footer note */
.q-muted{
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Mobile padding refinement */
@media (max-width: 640px){
  .q-card{
    padding: 28px 22px;
  }
}

.q-required{
  color: #c00;
  font-weight: 800;
  margin-left: 2px;
}

.btn-center {
        display: flex;
        justify-content: center;
        margin-top: 16px;
        }

/* ================= TRANSFORMATION CARDS ================= */

.transform-grid{
  margin-top: 34px;
}

.transform-card{
  background: #e9eaec;
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 8px 20px rgba(10, 30, 80, 0.06);
}

.transform-card h3{
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.transform-card ul{
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
}

.transform-card li{
  margin-bottom: 8px;
}

/* ================= TRANSFORMATION GRID FIX ================= */

/* Remove image constraints for text cards */
.transform-grid > * {
  aspect-ratio: auto;
  overflow: visible;
  height: auto;
}

/* Proper grid spacing for text */
.transform-grid {
  gap: 36px;
}

/* Ensure cards grow with content */
.transform-card {
  display: block;
}

/* ================= TRANSFORMATION GRID LAYOUT ================= */

/* Desktop: 4 columns */
.transform-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Tablet: 2 columns */
@media (max-width: 1023px) {
  .transform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
  .transform-grid {
    grid-template-columns: 1fr;
  }
}
body {
  padding-bottom: 100px;
}

button.btn-primary {
  appearance: none;
  -webkit-appearance: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 26px;          /* ← key change */
  min-height: 48px;            /* matches pill height */
  border-radius: 999px;        /* true pill */

  font-size: 15px;
  font-weight: 800;
  line-height: 1;

  border: none;
  background: var(--brand);
  color: #fff;

  cursor: pointer;
}

.op-image-watermark {
  position: relative;
  padding: 5px;
}

.op-image-watermark img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

/* watermark overlay */
.op-image-watermark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  width: 170px;
  height: 65px;
  background-image: url("/assets/logos/web-logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.75;
  pointer-events: none;
}

/* PAGE-ONLY OVERRIDE: always show 12 results */
.results-unlimited .results-grid > * {
  display: block !important;
}

/* Force consistent grid columns */
@media (max-width: 640px) {
  .results-unlimited .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .results-unlimited .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .results-unlimited .results-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Portrait video wrapper (match booked.html) */
.video-portrait-wrap{
  width: min(420px, 100%);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-stack);
}

.video-portrait-wrap > video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sign out link emphasis */
#signOutDesktop,
#signOutMobile {
  color: #c62828;          /* controlled red */
  font-weight: 600;
}

#signOutDesktop:hover,
#signOutMobile:hover {
  color: #a81e1e;
}

.client-identity {
  min-width: 0;              /* REQUIRED for text-overflow */
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ================= CLIENT LIST TYPOGRAPHY OVERRIDES ================= */
/* Force name bold + email normal, regardless of other global CSS */
.app-client-list .client-identity{
  flex: 1 1 auto;
  min-width: 0; /* keep (required for ellipsis in flex) */
}

.app-client-list .client-identity .client-name{
  font-weight: 700;
  opacity: 1 !important;
  color: var(--ink);
  font-size: clamp(14px, 3.8vw, 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-client-list .client-identity .client-email{
  font-weight: 400;
  opacity: 0.72;
  color: var(--ink);
  font-size: clamp(8px, 3.2vw, 14px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-client-list .client-main{
  min-width: 0;
}

.app-client-list .client-identity{
  min-width: 0;
}

/* ================= CLIENT LIST OPACITY RESET ================= */
/* Cancel any inherited fade from parent rows */

.app-client-list .client-main{
  display: flex;
  align-items: center;
  width: 100%;
}

.avatar-complete {
  background: rgba(34, 197, 94, 0.24);
  color: #15803d;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.35);
}