/* Gymboo public site: landing, login and signup.
   One token set for all three pages, built on the same palette as the admin
   dashboard (green #11784a, Inter) with Space Grotesk for display headings.
   Plain CSS served from /landing - no build step. */

:root {
  color-scheme: light;

  /* Colour */
  --bg: #f6f8f5;
  --panel: #ffffff;
  --ink: #17201b;
  --muted: #5f6a62;
  --line: #e1e8e1;
  --green: #11784a;
  --green-hover: #0e6640;
  --green-dark: #073f2d;
  --green-deep: #052d21;
  --green-soft: #e8f6ee;
  --mint: #8fe3b4;
  --red: #c43d32;
  --red-soft: #fae9e7;
  --indigo: #4f46e5;
  --indigo-soft: #ececff;
  --gold: #a36500;
  --gold-soft: #fff3d8;

  /* Shape + depth */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(16, 31, 24, .04), 0 14px 36px rgba(16, 31, 24, .07);
  --shadow-lg: 0 30px 70px rgba(5, 45, 33, .18);
  --ring: 0 0 0 3px rgba(17, 120, 74, .22);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 140ms;
  --t-med: 260ms;

  /* Layout */
  --container: 1140px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

h1, h2, h3, p { margin-top: 0; }
a { color: var(--green); }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }

.display {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap { width: min(var(--container), 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 12px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast), border-color var(--t-fast),
    box-shadow var(--t-med) var(--ease), color var(--t-fast);
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .65; cursor: progress; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); box-shadow: 0 10px 24px rgba(17, 120, 74, .28); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: #c4d4c8; background: #fbfdfb; }
.btn-light { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, .22); }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { background: var(--green-soft); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .i { width: 1.15em; height: 1.15em; }
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(246, 248, 245, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16, 31, 24, .05); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--green), var(--green-deep));
  color: #fff;
  box-shadow: 0 6px 14px rgba(17, 120, 74, .28);
}
.brand-mark .i { width: 20px; height: 20px; }

.site-nav { display: flex; gap: 2px; margin-left: 14px; }
.site-nav a {
  position: relative;
  padding: 8px 12px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 96px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 6%, rgba(79, 70, 229, .34), transparent 42%),
    radial-gradient(circle at 4% 0%, rgba(255, 255, 255, .15), transparent 34%),
    linear-gradient(160deg, var(--green-dark), var(--green-deep));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .94);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.pill .i { width: 16px; height: 16px; color: var(--mint); }
.hero h1 { margin-bottom: 20px; font-size: clamp(2.35rem, 5.4vw, 3.8rem); }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero-sub { max-width: 52ch; margin-bottom: 30px; color: rgba(255, 255, 255, .82); font-size: 1.1rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.store-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; background: rgba(0, 0, 0, .35); color: #fff; font-size: 1.05rem; font-weight: 700; line-height: 1.1; text-decoration: none; transition: background .15s, transform .15s; }
.store-btn:hover { background: rgba(0, 0, 0, .55); transform: translateY(-1px); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .04em; opacity: .85; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .8); font-size: .86rem; font-weight: 600; }
.hero-points .i { width: 18px; height: 18px; color: var(--mint); }

/* Dashboard preview, drawn in CSS so the page ships without images. */
.mock-wrap { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--panel);
  padding: 18px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
  transition: transform 500ms var(--ease);
}
.hero-card:hover { transform: rotate(0); }
.hero-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero-card-head .brand-mark { width: 32px; height: 32px; border-radius: 9px; box-shadow: none; }
.hero-card-head .brand-mark .i { width: 18px; height: 18px; }
.hero-card-head strong { display: block; font-size: .95rem; }
.hero-card-head small { display: block; color: var(--muted); font-size: .74rem; font-weight: 600; }
.mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.mock-stat { padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.mock-stat span { display: block; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.mock-stat strong { display: block; margin-top: 4px; font-size: 1.25rem; font-family: "Space Grotesk", Inter, sans-serif; }
.mock-stat.total { background: linear-gradient(135deg, #f8fffb, #eef9f3); border-color: #cdebd9; }
.mock-stat.due { background: linear-gradient(135deg, #fff7f6, var(--red-soft)); border-color: #f0cac5; }
.mock-stat.paid { background: linear-gradient(135deg, #fbfbff, var(--indigo-soft)); border-color: #d7d8ff; }
.mock-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.mock-row:last-of-type { margin-bottom: 0; }
.mock-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: .78rem; font-weight: 800; }
.mock-row > div { flex: 1; min-width: 0; }
.mock-row strong { display: block; font-size: .86rem; }
.mock-row small { display: block; color: var(--muted); font-size: .74rem; }
.chip { padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.chip.paid { background: var(--green-soft); color: var(--green); }
.chip.due { background: var(--red-soft); color: var(--red); }
.chip.today { background: var(--gold-soft); color: var(--gold); }
.mock-note { margin: 12px 0 0; color: var(--muted); font-size: .7rem; text-align: center; }

.float-card {
  position: absolute;
  left: -22px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  font-size: .82rem;
  font-weight: 700;
}
.float-card .tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.float-card small { display: block; color: var(--muted); font-size: .7rem; font-weight: 600; }

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

.band { padding: 88px 0; }
.band.tint { border-block: 1px solid var(--line); background: #fff; }
.section-head { max-width: 60ch; margin: 0 auto 46px; text-align: center; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

/* Problem -> solution */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.compare-col { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow); }
.compare-col.after { border-color: #cdebd9; background: linear-gradient(160deg, #f4fbf7, #fff); }
.compare-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 1.1rem; }
.compare-col h3 .i { width: 22px; height: 22px; color: var(--red); }
.compare-col.after h3 .i { color: var(--green); }
.compare-col ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.compare-col li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.compare-col li .i { width: 18px; height: 18px; margin-top: 2px; color: #b9c2bb; }
.compare-col.after li { color: var(--ink); }
.compare-col.after li .i { color: var(--green); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
}
.feature-card:hover { transform: translateY(-3px); border-color: #cfe0d4; box-shadow: var(--shadow-lg); }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.feature-icon .i { width: 24px; height: 24px; }
.feature-card.b .feature-icon { background: var(--indigo-soft); color: var(--indigo); }
.feature-card.g .feature-icon { background: var(--gold-soft); color: var(--gold); }
.feature-card h3 { margin-bottom: 6px; font-size: 1.08rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--green), var(--green-deep));
  color: #fff;
  font-weight: 800;
}
.step h3 { margin-bottom: 6px; font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split h2 { margin-bottom: 14px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.split > div > p { color: var(--muted); font-size: 1.04rem; line-height: 1.65; }
.check-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .98rem; line-height: 1.5; }
.check-list .i { width: 20px; height: 20px; margin-top: 1px; color: var(--green); }

/* Phone mock */
.phone { justify-self: center; width: min(280px, 100%); padding: 16px 14px 20px; border: 10px solid #101a14; border-radius: 36px; background: #fbf8ff; box-shadow: var(--shadow-lg); }
.phone-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.phone-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f86a10; color: #fff; }
.phone-dot .i { width: 16px; height: 16px; }
.phone-head strong { font-size: .88rem; }
.phone-head small { display: block; color: var(--muted); font-size: .7rem; }
.scan-box { display: grid; place-items: center; align-content: center; gap: 6px; height: 150px; margin-bottom: 12px; border: 2px dashed #f86a10; border-radius: 14px; background: #fff7ed; color: #b4530c; font-size: .8rem; font-weight: 700; }
.scan-box .i { width: 42px; height: 42px; }
.phone-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; padding: 10px 12px; border-radius: 10px; background: #fff; font-size: .8rem; font-weight: 600; box-shadow: 0 1px 2px rgba(17, 24, 39, .05); }

/* ---------------- Pricing ---------------- */

.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
}
.price-main { padding: 40px; }
.price-tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-amount { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; }
.price-amount strong { font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(3rem, 7vw, 4.2rem); letter-spacing: -.04em; line-height: 1; }
.price-amount span { color: var(--muted); font-weight: 600; }
.price-caption { margin-bottom: 26px; color: var(--muted); }
.price-list { margin-top: 0; }
.price-side { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px; color: #fff; background: linear-gradient(160deg, var(--green-dark), var(--green-deep)); }
.price-side .label { margin: 0; color: rgba(255, 255, 255, .7); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.price-side .renewal { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.price-side .renewal strong { font-family: "Space Grotesk", Inter, sans-serif; font-size: 2.4rem; letter-spacing: -.03em; line-height: 1; }
.price-side .renewal span { color: rgba(255, 255, 255, .75); font-weight: 600; }
.price-side p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .94rem; line-height: 1.6; }
.price-side .btn { margin-top: 8px; }
.price-fine { max-width: 920px; margin: 18px auto 0; color: var(--muted); font-size: .86rem; text-align: center; }

/* ---------------- FAQ ---------------- */

.faq { display: grid; gap: 10px; max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); transition: border-color var(--t-fast), box-shadow var(--t-med); }
.faq details[open] { border-color: #cfe0d4; box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform var(--t-med) var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); color: var(--green); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); line-height: 1.65; animation: faq-in var(--t-med) var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------------- CTA + footer ---------------- */

.cta {
  padding: 56px 40px;
  border-radius: 24px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 85% 8%, rgba(79, 70, 229, .32), transparent 45%),
    linear-gradient(150deg, var(--green-dark), var(--green-deep));
  box-shadow: var(--shadow-lg);
}
.cta h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.cta p { max-width: 50ch; margin: 0 auto 26px; color: rgba(255, 255, 255, .82); line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-about p { max-width: 36ch; margin: 12px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.footer-col h4 { margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.footer-col a { display: block; padding: 5px 0; color: var(--muted); font-size: .92rem; font-weight: 600; text-decoration: none; }
.footer-col a:hover { color: var(--green); }
.footer-base { padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

/* ---------------- Auth pages ---------------- */

.auth-page { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 100vh; }
.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 44px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 6%, rgba(79, 70, 229, .34), transparent 46%),
    radial-gradient(circle at 4% 0%, rgba(255, 255, 255, .14), transparent 32%),
    linear-gradient(160deg, var(--green-dark), var(--green-deep));
}
.auth-aside .brand { color: #fff; }
.auth-aside h2 { margin: auto 0 0; font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.auth-aside p { margin: 0; color: rgba(255, 255, 255, .8); line-height: 1.6; }
.auth-aside .check-list li { color: rgba(255, 255, 255, .9); font-size: .94rem; }
.auth-aside .check-list .i { color: var(--mint); }
.aside-price { padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-md); background: rgba(255, 255, 255, .08); font-size: .9rem; }
.aside-price strong { color: #fff; }
.aside-foot { margin-top: auto !important; font-size: .84rem; }
.aside-foot a { color: #fff; font-weight: 700; }

.auth-main { display: grid; place-items: center; padding: 44px 24px; }
.auth-card { width: min(520px, 100%); padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow); animation: card-in 420ms var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.auth-card h1 { margin-bottom: 6px; font-size: 1.8rem; }
.auth-card .lede { margin-bottom: 22px; color: var(--muted); font-size: .96rem; }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; align-content: start; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field > span { color: var(--ink); font-size: .82rem; font-weight: 700; }
.field input:not([type="checkbox"]) {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cfd9d1;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field input:hover { border-color: #b4c4b8; }
.field input:focus { border-color: var(--green); box-shadow: var(--ring); }
.field input.has-error { border-color: var(--red); background: #fffafa; }
.field input.has-error:focus { box-shadow: 0 0 0 3px rgba(196, 61, 50, .18); }
.field-hint { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.field-error { color: var(--red); font-size: .78rem; font-weight: 700; line-height: 1.4; }
.field-error:empty { display: none; }

.password-wrap { position: relative; }
.password-wrap input { padding-right: 48px !important; }
.password-toggle { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); transform: translateY(-50%); transition: background var(--t-fast), color var(--t-fast); }
.password-toggle:hover { background: var(--green-soft); color: var(--green); }

.strength { display: flex; align-items: center; gap: 8px; }
.strength-track { flex: 1; height: 5px; overflow: hidden; border-radius: 999px; background: var(--line); }
.strength-fill { width: 0; height: 100%; border-radius: 999px; background: var(--red); transition: width var(--t-med) var(--ease), background var(--t-med); }
.strength-fill.ok { background: var(--gold); }
.strength-fill.good { background: var(--green); }
.strength small { min-width: 44px; color: var(--muted); font-size: .74rem; font-weight: 700; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfb; font-size: .88rem; line-height: 1.5; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.checkbox.has-error { border-color: var(--red); background: #fffafa; }
.checkbox input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.link-btn { padding: 0; border: 0; background: none; color: var(--green); font-weight: 700; text-decoration: underline; }

.form-note { margin-bottom: 16px; padding: 11px 14px; border-radius: var(--r-sm); font-size: .88rem; font-weight: 600; line-height: 1.45; }
.form-note.error { border: 1px solid #f0cac5; background: var(--red-soft); color: var(--red); animation: card-in 240ms var(--ease); }
.auth-submit { margin-top: 18px; }
.auth-alt { margin: 18px 0 0; color: var(--muted); font-size: .92rem; text-align: center; }
.auth-alt a { font-weight: 700; }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-mark { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 50%; background: var(--green-soft); color: var(--green); animation: pop 420ms var(--ease) both; }
.success-mark .i { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.link-box { display: flex; align-items: center; gap: 10px; margin: 8px 0 20px; padding: 12px 14px; border: 1px dashed #b5dcc5; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); font-weight: 700; word-break: break-all; }
.link-box .i { color: var(--green); }

/* Gym card on the signup page: fills in live as the owner types (auth.js). */
.gym-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(400px, 100%);
  aspect-ratio: 1.586;
  margin: auto 0 0;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(198, 242, 107, .16), transparent 42%),
    linear-gradient(135deg, #0e5a40 0%, var(--green-dark) 55%, #032219 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 300ms var(--ease);
  will-change: transform;
}
.gym-card-watermark { position: absolute; right: -30px; bottom: -46px; width: 200px; height: 200px; color: #c6f26b; opacity: .1; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transform: rotate(-28deg); pointer-events: none; }
.gym-card-shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.gym-card.is-shining .gym-card-shine { animation: card-shine 900ms var(--ease); }
@keyframes card-shine { to { transform: translateX(120%); } }
.gym-card-top { display: flex; align-items: center; justify-content: space-between; }
.gym-card-logo { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #c6f26b; }
.gym-card-logo::before {
  content: "";
  width: 30px;
  height: 20px;
  background: var(--green-dark);
  -webkit-mask: url("/landing/logo-mark.png") center / contain no-repeat;
  mask: url("/landing/logo-mark.png") center / contain no-repeat;
}
.gym-card-tag { padding: 4px 10px; border-radius: 999px; background: #c6f26b; color: var(--green-dark); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.gym-card-name {
  margin-top: auto;
  overflow: hidden;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  white-space: nowrap;
  text-overflow: ellipsis;
  /* Foil-pressed lettering: a light metallic face with a dark edge above. */
  background: linear-gradient(180deg, #ffffff 0%, #e4f7ea 48%, #a9d9bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .5)) drop-shadow(0 1px 0 rgba(255, 255, 255, .1));
}
.gym-card-name.is-empty { background: none; color: rgba(255, 255, 255, .32); filter: none; }
.gym-card-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; color: rgba(255, 255, 255, .78); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.gym-card-meta span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #c6f26b; vertical-align: 2px; }
.gym-card-meta .is-empty { color: rgba(255, 255, 255, .34); }
.auth-aside .gym-card + h2 { margin-top: 30px; }

.phone-wrap { display: flex; }
.phone-prefix { display: grid; place-items: center; padding: 0 12px; border: 1px solid #cfd9d1; border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--bg); color: var(--muted); font-weight: 700; }
.phone-wrap input { border-radius: 0 var(--r-sm) var(--r-sm) 0 !important; }

.signup-steps { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.signup-steps span { width: 10px; height: 6px; border-radius: 99px; background: var(--line); transition: width var(--t-med) var(--ease), background var(--t-med); }
.signup-steps span.on { background: var(--green-dark); }
.signup-steps span.current { width: 26px; }
.signup-steps small { margin-left: 6px; color: var(--muted); font-size: .8rem; font-weight: 700; }
#signupCard h1 { margin-bottom: 22px; }
.step-actions { display: flex; gap: 12px; margin-top: 18px; }
.step-actions .btn-block { flex: 1; }
.step-back { flex: none; width: 56px; padding: 0; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.step-back .i { transform: rotate(180deg); }
.field-grid[hidden], .step-actions[hidden], #nextBtn[hidden] { display: none; }
.field-grid:not([hidden]) { animation: card-in 280ms var(--ease); }

/* Terms dialog */
dialog.terms { width: min(480px, calc(100% - 32px)); padding: 26px; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog.terms::backdrop { background: rgba(5, 45, 33, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog.terms[open] { animation: card-in 240ms var(--ease); }
dialog.terms h2 { margin-bottom: 12px; font-size: 1.3rem; }
dialog.terms p { color: var(--muted); font-size: .94rem; line-height: 1.65; }
dialog.terms .btn { margin-top: 8px; }

/* ---------------- Scroll reveal ---------------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */

@media (max-width: 960px) {
  .band { padding: 68px 0; }
  .hero { padding: 52px 0 72px; }
  .hero .wrap, .split, .auth-page, .pricing-card, .compare { grid-template-columns: 1fr; }
  .hero .wrap { gap: 44px; }
  .hero-card { transform: none; }
  .float-card { left: 12px; bottom: -22px; }
  .feature-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }

  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(246, 248, 245, .98);
    box-shadow: 0 18px 30px rgba(16, 31, 24, .08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }

  .auth-aside { padding: 26px 24px; gap: 14px; }
  .auth-aside h2 { margin-top: 8px; font-size: 1.5rem; }
  .auth-aside .check-list, .auth-aside .aside-price, .aside-foot { display: none; }
  .gym-card { width: min(360px, 100%); margin: 6px auto 0; padding: 18px 20px; }
  .auth-aside .gym-card + h2 { margin-top: 14px; text-align: center; }
  .auth-main { padding: 28px 16px 44px; }
}

@media (max-width: 620px) {
  .wrap { width: min(var(--container), 100% - 32px); }
  .feature-grid, .steps, .field-grid, .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn-ghost { display: none; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .band { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .cta { padding: 38px 22px; }
  .price-main, .price-side { padding: 28px 22px; }
  .compare-col { padding: 22px; }
  .auth-card { padding: 22px; }
  .float-card { display: none; }
  .mock-stat strong { font-size: 1.05rem; }
}

@media (hover: none) {
  .feature-card:hover { transform: none; box-shadow: var(--shadow); border-color: var(--line); }
  .hero-card:hover { transform: rotate(-1.2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .gym-card { transition: none; transform: none; }
  .gym-card.is-shining .gym-card-shine { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------- Highlights strip + USP sections ---------------- */

.highlights { padding: 28px 0; border-bottom: 1px solid var(--line); background: #fff; }
.highlights .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.highlight { display: flex; align-items: flex-start; gap: 12px; }
.highlight > .i { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--green-soft); color: var(--green); }
.highlight strong { display: block; font-size: .95rem; }
.highlight span { display: block; margin-top: 2px; color: var(--muted); font-size: .84rem; line-height: 1.45; }

.split > div > p + p { margin-top: -4px; }
.split-rev > :first-child { order: 0; }

.rules-card, .ledger-card { justify-self: center; width: min(460px, 100%); padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow-lg); }
.rules-title { margin-bottom: 12px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rule { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 600; }
.rule:last-of-type { border-bottom: 0; }
.opt { padding: 5px 10px; border-radius: 999px; background: #f0f3f0; color: var(--muted); font-size: .76rem; font-weight: 700; text-align: right; }
.opt.on { background: var(--green-soft); color: var(--green); }

.ledger-day { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.ledger-day span { font-size: .8rem; color: var(--muted); }
.ledger-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ledger-row > div { flex: 1; min-width: 0; }
.ledger-row strong { display: block; font-size: .9rem; }
.ledger-row small { display: block; color: var(--muted); font-size: .76rem; }
.ledger-row b { font-size: .9rem; font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.in { background: var(--green); }
.dot.out { background: var(--red); }
b.in { color: var(--green); }
b.out { color: var(--red); }

@media (max-width: 960px) {
  .highlights .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-rev .ledger-card { order: 2; }
}
@media (max-width: 620px) {
  .highlights .wrap { grid-template-columns: 1fr; gap: 16px; }
  .rule { flex-direction: column; align-items: flex-start; gap: 8px; }
  .opt { text-align: left; }
}

.rules-card .mock-note, .ledger-card .mock-note { margin: 14px 0 0; font-size: .72rem; line-height: 1.4; }

/* ---------------- Offer, trainers, videos, offer badge ---------------- */

.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.offer-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.offer-card .feature-icon.b { background: var(--indigo-soft); color: var(--indigo); }
.offer-card h3 { margin-bottom: 8px; font-size: 1.3rem; font-family: "Space Grotesk", Inter, sans-serif; }
.offer-card > p { color: var(--muted); line-height: 1.6; }

.rules-card .ledger-row:last-of-type { border-bottom: 0; }
.rules-card .ledger-row .chip { flex: none; }

.offer-badge { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--mint); color: var(--green-deep); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-side { gap: 12px; }
.price-side .label + .renewal { margin-bottom: 4px; }
.price-side .label:nth-of-type(2) { margin-top: 10px; }

.video-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; }
.video-tab { min-height: 42px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-weight: 700; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.video-tab:hover { border-color: #c4d4c8; color: var(--ink); }
.video-tab.active { border-color: var(--green); background: var(--green); color: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.video-card { display: block; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); text-align: left; box-shadow: var(--shadow); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); animation: card-in 360ms var(--ease) both; }
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0e1a14 center / cover no-repeat; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-play span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--green-dark); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); transition: transform var(--t-med) var(--ease); }
.video-card:hover .video-play span { transform: scale(1.08); }
.video-label { display: block; padding: 12px 14px; font-size: .9rem; font-weight: 700; }

dialog.video-modal { width: min(920px, calc(100% - 24px)); padding: 0; overflow: visible; background: #000; border-radius: var(--r-md); }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: var(--r-md); }
.video-close { position: absolute; top: -46px; right: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ink); }

@media (max-width: 960px) { .offer-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .offer-card { padding: 22px; } .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .video-label { padding: 10px; font-size: .82rem; } }

/* ---------------- Live numbers + testimonials ---------------- */

.stats { padding: 44px 0; color: #fff; background: linear-gradient(160deg, var(--green-dark), var(--green-deep)); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; color: rgba(255, 255, 255, .75); font-size: .9rem; font-weight: 600; }

.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 960px) { .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .stats .wrap { gap: 12px; } .stat span { font-size: .76rem; } }

/* ---------------- Team ---------------- */

.ceo { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 44px; align-items: center; margin-bottom: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
.ceo-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); background: var(--green-soft); }
.ceo-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ceo-body h3 { margin-bottom: 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.ceo-body p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.initials { display: grid; place-items: center; background: linear-gradient(150deg, var(--green), var(--green-deep)); color: #fff; font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; }
.ceo-photo.initials { font-size: 4rem; }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); box-shadow: var(--shadow); }
.team-card h3 { margin-bottom: 10px; font-size: 1.15rem; font-family: "Space Grotesk", Inter, sans-serif; }
.team-story { color: var(--muted); font-size: .94rem; line-height: 1.65; }
.team-people { display: grid; gap: 12px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.team-people li { display: flex; align-items: center; gap: 12px; }
.person-photo { flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; font-size: .85rem; }
.person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-people strong { display: block; font-size: .92rem; }
.team-people span { color: var(--muted); font-size: .8rem; }

@media (max-width: 960px) { .ceo { grid-template-columns: 1fr; gap: 24px; } .ceo-photo { max-width: 320px; } .team-grid { grid-template-columns: 1fr; } }

/* ---------------- Plan switch ---------------- */
.plan-switch { display: flex; gap: 4px; width: fit-content; margin: 0 auto 22px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); box-shadow: var(--shadow); }
.plan-opt { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.plan-opt:hover { color: var(--ink); }
.plan-opt:focus-visible { outline: none; box-shadow: var(--ring); }
.plan-opt.active { background: var(--green); color: #fff; }
.plan-pop { padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.plan-pane[hidden] { display: none; }
.price-side .plan-pane { display: flex; flex-direction: column; gap: 12px; }
.price-side .plan-pane[hidden] { display: none; }
.price-side .price-note { font-size: .82rem; text-align: center; color: rgba(255, 255, 255, .7); }
@media (max-width: 620px) { .plan-opt { padding: 9px 14px; font-size: .92rem; } .plan-pop { display: none; } }
.price-lead { margin: 0 0 12px; color: var(--ink); font-weight: 700; }

/* ---------------- Offer banner ---------------- */
.offer-banner { padding: 10px 16px; background: linear-gradient(90deg, var(--green-deep), var(--green-dark)); color: #fff; text-align: center; font-size: .92rem; }
.offer-banner p { margin: 0; line-height: 1.5; }
.offer-banner s { color: rgba(255, 255, 255, .6); }
.offer-banner a { margin-left: 6px; color: var(--mint); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ob-tag { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-was { color: var(--muted); font-size: 1.4rem; font-weight: 600; text-decoration-thickness: 2px; }
.price-save { display: inline-block; width: fit-content; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: .82rem; font-weight: 800; }

/* ---------------- Logo ---------------- */
.brand-mark img { display: block; width: 74%; height: auto; }

/* ---------------- Testimonial carousel and review form ---------------- */
.quote-dots { display: none; }
.review-cta { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 960px) {
  .quote-grid { display: flex; gap: 14px; margin: 0 -16px; padding: 4px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .quote-grid::-webkit-scrollbar { display: none; }
  .quote { flex: 0 0 min(86%, 420px); scroll-snap-align: start; }
  .quote-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .quote-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #c4d4c8; cursor: pointer; transition: width var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
  .quote-dot.active { width: 22px; background: var(--green); }
}
dialog.review-dialog { width: min(520px, calc(100% - 32px)); }
.review-dialog .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--ink); font: inherit; resize: vertical; outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.review-dialog .field textarea:focus { border-color: var(--green); box-shadow: var(--ring); }
.review-dialog .field-grid { grid-template-columns: 1fr; }
.review-dialog .field-error { margin: 10px 0 0; }
.review-ok { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--green-soft); color: var(--green-dark) !important; font-weight: 600; }
.review-ok[hidden] { display: none; }
.review-actions { display: flex; gap: 10px; margin-top: 14px; }
.review-actions .btn { margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------------- Testimonial cards ---------------- */
#testimonials { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--green-soft), var(--bg) 70%); }
#testimonials::before, #testimonials::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
#testimonials::before { top: -120px; left: -100px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(17, 120, 74, .14), transparent 70%); }
#testimonials::after { right: -120px; bottom: -120px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(143, 227, 180, .35), transparent 70%); }
#testimonials .wrap { position: relative; z-index: 1; }
.quote { position: relative; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 30px 26px 24px; overflow: hidden; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.quote:nth-child(2) { border-top-color: var(--indigo); }
.quote:nth-child(3) { border-top-color: var(--gold); }
.quote::before { content: "\201C"; position: absolute; top: -6px; right: 18px; color: var(--green-soft); font-family: Georgia, serif; font-size: 8rem; line-height: 1; pointer-events: none; }
.quote:nth-child(2)::before { color: var(--indigo-soft); }
.quote:nth-child(3)::before { color: var(--gold-soft); }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quote-stars { position: relative; display: flex; gap: 3px; color: #f5a623; }
.quote-stars svg { width: 20px; height: 20px; fill: currentColor; filter: drop-shadow(0 1px 1px rgba(163, 101, 0, .25)); }
.quote blockquote { position: relative; flex: 1; margin: 0; font-size: 1rem; line-height: 1.7; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.quote-avatar { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, var(--green), var(--green-deep)); color: #fff; font-family: "Space Grotesk", Inter, sans-serif; font-size: .95rem; font-weight: 700; box-shadow: 0 6px 14px rgba(17, 120, 74, .25); }
.quote:nth-child(2) .quote-avatar { background: linear-gradient(150deg, #6c63ff, var(--indigo)); box-shadow: 0 6px 14px rgba(79, 70, 229, .25); }
.quote:nth-child(3) .quote-avatar { background: linear-gradient(150deg, #d99a2b, var(--gold)); box-shadow: 0 6px 14px rgba(163, 101, 0, .25); }
.quote figcaption strong { display: block; font-size: 1rem; }
.quote-topic { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: .76rem; font-weight: 700; }
.quote:nth-child(2) .quote-topic { background: var(--indigo-soft); color: var(--indigo); }
.quote:nth-child(3) .quote-topic { background: var(--gold-soft); color: var(--gold); }
@media (max-width: 960px) { .quote { padding: 26px 22px 22px; } .quote::before { font-size: 6.5rem; } }

/* ---------------- Referral partner portal ---------------- */
.field > span em { color: var(--muted); font-style: normal; font-weight: 500; }
.form-note.ok { border: 1px solid #bfe3cb; background: #eaf7ee; color: var(--green-dark); }
.partner-dash { width: min(640px, 100%); }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dash-h { margin: 26px 0 10px; font-size: 1.05rem; }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 10px; padding: 12px 14px; border: 1px dashed var(--green); border-radius: var(--r-md); background: #f4faf6; }
.code-box strong { font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.5rem; letter-spacing: .08em; }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 20px 0 8px; }
.dash-stats div { padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--r-md); text-align: center; }
.dash-stats strong { display: block; font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.dash-stats span { color: var(--muted); font-size: .74rem; font-weight: 600; }
.dash-list { display: grid; gap: 8px; }
.dash-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); }
.dash-row small { display: block; color: var(--muted); font-size: .76rem; }
.status-pill { padding: 3px 10px; border-radius: 999px; background: #eef1ef; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.status-pill.successful, .status-pill.paid { background: #dff3e6; color: var(--green-dark); }
.status-pill.rejected { background: #fbe4e1; color: var(--red); }
@media (max-width: 620px) { .dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .code-box strong { font-size: 1.2rem; } }

/* ---------------- Partner programme page ---------------- */
.brand-tag { padding: 2px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-family: Inter, sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.partner-hero { padding-bottom: 72px; }
.partner-hero .join-panel { display: flex; justify-content: center; }
.partner-hero .auth-card { width: min(460px, 100%); color: var(--ink); box-shadow: var(--shadow-lg); }
.partner-hero .auth-card h2 { margin-bottom: 6px; font-size: 1.6rem; }
.hero-points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .9); font-weight: 600; }
.hero-points .i { color: var(--mint); }

.partner-stats { border-bottom: 1px solid var(--line); background: #fff; }
.partner-stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.partner-stats .wrap > div { padding: 26px 16px; border-right: 1px solid var(--line); text-align: center; }
.partner-stats .wrap > div:last-child { border-right: 0; }
.partner-stats strong { display: block; color: var(--green); font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.02em; }
.partner-stats .wrap > div > span { color: var(--muted); font-size: .86rem; font-weight: 600; }

.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps strong, .steps em { color: var(--ink); }

.earn-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.earn-grid h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.earn-lede { max-width: 52ch; color: var(--muted); font-size: 1.04rem; line-height: 1.65; }
.calc { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.calc label { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 700; }
.calc label strong { color: var(--green); font-size: 1.2rem; }
.calc input[type=range] { width: 100%; accent-color: var(--green); }
.calc-out { margin: 14px 0 0; color: var(--muted); }
.calc-out strong { color: var(--green-dark); font-family: "Space Grotesk", Inter, sans-serif; font-size: 2rem; letter-spacing: -.02em; }
.earn-card { padding: 30px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(160deg, var(--green-dark), var(--green-deep)); box-shadow: var(--shadow-lg); }
.earn-tag { margin-bottom: 14px; color: var(--mint); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.earn-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.earn-price s { color: rgba(255, 255, 255, .55); font-size: 1.3rem; }
.earn-price strong { font-family: "Space Grotesk", Inter, sans-serif; font-size: 3rem; letter-spacing: -.03em; line-height: 1; }
.earn-price > span { color: rgba(255, 255, 255, .75); font-weight: 600; }
.earn-list { display: grid; gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.earn-list li { display: flex; gap: 10px; color: rgba(255, 255, 255, .92); font-size: .95rem; line-height: 1.5; }
.earn-list .i { margin-top: 2px; color: var(--mint); }
.earn-note { margin: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .7); font-size: .82rem; line-height: 1.55; }

.rules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rule-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--shadow); }
.rule-card.b .feature-icon { background: var(--indigo-soft); color: var(--indigo); }
.rule-card.g .feature-icon { background: var(--gold-soft); color: var(--gold); }
.rule-card h3 { margin-bottom: 12px; font-size: 1.12rem; }
.rule-card ul { display: grid; gap: 10px; margin: 0; padding-left: 18px; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.rule-card strong { color: var(--ink); }

.pay-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pay-step { position: relative; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); }
.pay-step h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.pay-step p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.pay-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pay-badge.done { background: var(--green-soft); color: var(--green); }
.pay-facts { display: grid; gap: 12px; max-width: 780px; margin: 30px auto 0; padding: 0; list-style: none; }
.pay-facts li { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--muted); line-height: 1.55; }
.pay-facts .i { margin-top: 2px; color: var(--green); }

.dash-page { grid-template-columns: 1fr; min-height: auto; padding: 36px 0 60px; }
.dash-page .auth-main { padding: 0 20px; }

@media (max-width: 960px) {
  .steps-4, .pay-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-grid { grid-template-columns: 1fr; }
  .earn-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .partner-stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-stats .wrap > div:nth-child(2) { border-right: 0; }
  .partner-stats .wrap > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps-4, .pay-timeline { grid-template-columns: 1fr; }
  .partner-hero { padding-top: 48px; }
  .brand-tag { display: none; }
}

/* Referral band on the home page */
.referral-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.referral-band h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.referral-lede { max-width: 54ch; color: var(--muted); font-size: 1.04rem; line-height: 1.65; }
.referral-points { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; font-weight: 600; }
.referral-points li { display: flex; gap: 10px; align-items: center; }
.referral-points .i { color: var(--green); }
.referral-fine { margin: 0; color: var(--muted); font-size: .9rem; }
.referral-card { padding: 30px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(160deg, var(--green-dark), var(--green-deep)); box-shadow: var(--shadow-lg); }
.referral-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }
.referral-row > strong { color: #fff; font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.3rem; }
.referral-row.total { border-bottom: 0; color: var(--mint); font-weight: 800; }
.referral-row.total strong { color: var(--mint); font-size: 2.2rem; }
@media (max-width: 960px) { .referral-band { grid-template-columns: 1fr; gap: 30px; } }
.price-referral { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .92); font-size: .86rem; line-height: 1.5; }
.price-referral a { color: var(--mint); font-weight: 700; }

/* ---------------- Plans & payment page ---------------- */
.plans-body { background: var(--bg); }
.plans-main { padding: 36px 0 70px; }
.plans-wrap { max-width: 920px; }
.plans-loading { padding: 60px 0; color: var(--muted); text-align: center; }
.plans-notice { margin-bottom: 26px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; line-height: 1.55; }
.plans-notice.bad { border-color: #efc6c1; background: var(--red-soft); color: #8e2a21; }
.plans-notice.warn { border-color: #f1d9a2; background: var(--gold-soft); color: #7a4c00; }
.plans-notice.ok { border-color: #bfe3cb; background: #eaf7ee; color: var(--green-dark); }
.plans-notice.info { border-color: #d7d8ff; background: var(--indigo-soft); color: #3730a3; }
.plans-head { margin-bottom: 20px; text-align: center; }
.plans-head h1, .plans-head h2 { margin: 0 0 6px; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.plans-sub { color: var(--muted); text-align: center; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.plan-card.featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), var(--shadow-lg); }
.plan-card.selected { background: #f4fbf7; }
.plan-tag { position: absolute; top: -12px; left: 24px; padding: 3px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.plan-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.plan-price strong { font-family: "Space Grotesk", Inter, sans-serif; font-size: 2.6rem; letter-spacing: -.03em; }
.plan-price span { color: var(--muted); font-weight: 600; }
.plan-discount { margin: 4px 0 0; color: var(--green); font-size: .86rem; font-weight: 700; }
.plan-discount s { color: var(--muted); }
.plan-blurb { margin: 12px 0; color: var(--muted); }
.plan-points { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; flex: 1; }
.plan-points li { display: flex; gap: 8px; font-size: .92rem; }
.plan-points .i { margin-top: 2px; color: var(--green); }
.pay-panel, .verify-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.pay-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.qr-box { padding: 18px; border: 1px dashed #b9cfc0; border-radius: var(--r-lg); background: #fbfdfb; text-align: center; }
.qr-box img { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 auto 10px; background: #fff; }
.qr-amount { margin: 0; font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.8rem; font-weight: 700; }
.qr-hint { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.pay-details { margin: 0 0 14px; }
.pay-details > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pay-details dt { color: var(--muted); }
.pay-details dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.pay-discount { margin: 0 0 12px; color: var(--green); font-size: .88rem; font-weight: 700; }
.upi-open { margin-bottom: 16px; }
.change-plan { display: block; margin: 14px auto 0; }
.pay-side .field { margin-bottom: 12px; }
.verify-card { max-width: 620px; margin: 0 auto; text-align: center; }
.verify-card h2 { margin: 8px 0 10px; font-size: 1.7rem; }
.verify-meta { padding: 10px 14px; border-radius: var(--r-md); background: var(--gold-soft); color: #7a4c00; font-weight: 600; }
.verify-meta:empty { display: none; }
.verify-actions { display: grid; gap: 10px; margin: 18px 0; }
.plans-support { color: var(--muted); font-size: .88rem; }
@media (max-width: 720px) {
  .plan-grid, .pay-grid { grid-template-columns: 1fr; }
  .pay-panel, .verify-card { padding: 20px; }
}

/* Payment breakdown */
.qr-label { margin: 4px 0 0; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.breakdown { margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fbfdfb; overflow: hidden; }
.bd-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .94rem; text-align: left; }
.bd-row.off span:last-child { color: var(--green); font-weight: 700; }
.bd-row.total { border-bottom: 0; background: var(--green-soft); font-weight: 800; font-size: 1.05rem; color: var(--green-dark); }
.verify-card .breakdown { max-width: 420px; margin: 0 auto 16px; }
