/* Gymvero website — deep teal + ember accent on cool stone, matching the app. */
:root {
  color-scheme: light;
  --ink: #102a2e;
  --ink-2: #2b4549;
  --muted: #4a6368;
  --faint: #7a9297;
  --teal: #1b7f7a;
  --teal-dark: #145f5b;
  --teal-soft: #d4efeb;
  --ember: #e4572e;
  --ember-soft: #fce8e1;
  --gold-soft: #f8e9cc;
  --mint-soft: #dff3e8;
  --surface: #f3f6f5;
  --raised: #ffffff;
  --border: #d5e0dd;
  --night: #0d2326;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 42, 46, 0.06), 0 12px 32px rgba(16, 42, 46, 0.08);
  --max: 1120px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 246, 245, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--teal); }
@media (max-width: 760px) {
  .nav .nav-link { display: none; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: var(--raised); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { color: var(--teal); border-color: var(--teal); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; border-radius: 10px; }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 12px;
  background: var(--night);
  color: #fff;
  text-decoration: none;
  min-width: 170px;
}
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge small { display: block; font-size: 0.7rem; opacity: 0.75; line-height: 1.2; }
.store-badge strong { display: block; font-size: 1rem; line-height: 1.25; }
.store-badge[aria-disabled='true'] { cursor: default; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  font-weight: 800;
  margin: 18px 0 18px;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .sub { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin: 0 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero .note { font-size: 0.88rem; color: var(--faint); margin: 14px 0 0; }

.phones { position: relative; height: 560px; }
.phone {
  position: absolute;
  width: 250px;
  border-radius: 38px;
  padding: 9px;
  background: var(--night);
  box-shadow: 0 30px 60px rgba(13, 35, 38, 0.28);
}
.phone img { border-radius: 30px; width: 100%; height: auto; }
.phone-a { right: 150px; top: 30px; transform: rotate(-4deg); z-index: 2; }
.phone-b { right: 0; top: 0; transform: rotate(5deg); }
.blob {
  position: absolute;
  inset: 40px 20px 0 60px;
  background: radial-gradient(closest-side, rgba(27, 127, 122, 0.22), transparent),
    radial-gradient(closest-side at 70% 30%, rgba(228, 87, 46, 0.16), transparent);
  filter: blur(10px);
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 470px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 210px; }
  .phone-a { right: auto; left: 0; }
}
@media (max-width: 420px) {
  .phones { height: 400px; }
  .phone { width: 175px; border-radius: 30px; padding: 7px; }
  .phone img { border-radius: 24px; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: 84px 0; }
.section-alt { background: var(--raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; margin: 12px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
}

.strip { padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--raised); }
.strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.strip li::before { content: '✓'; color: var(--teal); font-weight: 800; margin-right: 8px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.section-alt .feature { background: var(--surface); }
.feature .icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.i-teal { background: var(--teal-soft); color: var(--teal-dark); }
.i-mint { background: var(--mint-soft); color: #2d8a5e; }
.i-gold { background: var(--gold-soft); color: #9a6511; }
.i-ember { background: var(--ember-soft); color: #c2441f; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* showcase rows */
.showcase { display: grid; gap: 72px; }
.show-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.show-row.flip .show-copy { order: 2; }
.show-copy h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 10px 0 14px; }
.show-copy p { color: var(--muted); font-size: 1.05rem; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23145f5b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.show-media {
  display: flex;
  justify-content: center;
  background: linear-gradient(160deg, var(--teal-soft), #eaf4f2 60%, var(--ember-soft));
  border-radius: 28px;
  padding: 40px 20px 0;
  overflow: hidden;
  max-height: 520px;
}
.show-media .phone { position: static; transform: none; width: 260px; border-radius: 38px 38px 0 0; padding-bottom: 0; }
.show-media .phone img { border-radius: 30px 30px 0 0; }
@media (max-width: 860px) {
  .show-row { grid-template-columns: 1fr; gap: 28px; }
  .show-row.flip .show-copy { order: 0; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.plan.featured { background: var(--night); color: #fff; border-color: var(--night); position: relative; }
.plan.featured .per, .plan.featured li { color: #b9cfcc; }
.plan .tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.plan.featured .tag { background: var(--ember); color: #fff; }
.plan h3 { font-size: 1.1rem; margin-bottom: 10px; }
.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.per { color: var(--muted); font-size: 0.95rem; margin: 6px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.plan ul li::before { content: '✓  '; color: var(--teal); font-weight: 800; }
.plan.featured ul li::before { color: var(--ember); }
.plan .btn { margin-top: auto; }
.pricing-note {
  margin: 28px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* faq */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 18px 28px 18px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.4rem;
  color: var(--teal);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* final cta */
.cta-band {
  background: var(--night);
  color: #fff;
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(27, 127, 122, 0.55), transparent);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: #b9cfcc; margin: 0 auto 26px; max-width: 520px; font-size: 1.05rem; }
.cta-band .store-badges { justify-content: center; }
.cta-band .store-badge { background: #fff; color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: 56px 0 40px; color: var(--muted); font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--faint); font-size: 0.85rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- document pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 24px; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 2.6rem); font-weight: 800; margin: 0 0 12px; }
.doc h2 { font-size: 1.3rem; font-weight: 800; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc .lead { font-size: 1.12rem; color: var(--muted); margin-top: 0; }
.doc .meta { font-size: 0.88rem; color: var(--faint); }
.card {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 18px 0;
}
.card h2 { margin-top: 4px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 12px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { color: var(--ink); background: var(--surface); }
.table-scroll { overflow-x: auto; }
.status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.status-icon svg { width: 32px; height: 32px; }
.status-ok { background: var(--mint-soft); color: #2d8a5e; }
.status-bad { background: var(--ember-soft); color: #c2441f; }
.centered { text-align: center; }
.centered .status-icon { margin-left: auto; margin-right: auto; }

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