/* Fit57 marketing site. Mobile first; breakpoints at 600px, 900px, 1200px.
   Colour system: competition bumper plates. Each plate colour stands for one product area
   (blue = booking, yellow = check-ins & visits, red = plans & alerts, green = WhatsApp,
   white = payments & notes) and is used the same way on every page. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0C1A3D;
  --navy-2: #13275A;
  --navy-3: #1C3677;
  --ink: #0A1128;
  --chalk: #F1F3F8;
  --white: #FFFFFF;
  --steel: #C3C9D6;
  --text-dim-dark: #C9D2EA;   /* secondary text on navy */
  --text-dim-light: #475270;  /* secondary text on chalk/white */
  --line: #D6DCE8;

  --red: #F2342A;
  --red-text: #C21E14;
  --blue: #2E5BFF;
  --yellow: #FFC21A;
  --yellow-deep: #B98600;
  --green: #1FB85C;
  --wa: #1DA851;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  --gutter: 16px;
  --maxw: 1200px;
  --header-h: 64px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --focus: var(--blue);
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 900px) { :root { --gutter: 40px; --header-h: 72px; } }

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--chalk);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-s);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- Type ---------- */

.h-display {
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  /* Sized from the longest line ("Run your gym." = 5.72em) so each line fits its column. */
  font-size: clamp(3rem, calc((100vw - 48px) / 5.9), 8rem);
}
.h-display span { display: block; }
/* French lines run ~25% longer ("Gérez votre gym." = 7.07em); keep the three-line poster shape. */
:lang(fr) .h-display { font-size: clamp(2.25rem, calc((100vw - 48px) / 7.3), 6.75rem); }
@media (min-width: 900px) {
  .h-display { font-size: clamp(4rem, calc((100vw - 120px) * .122), 8rem); }
  :lang(fr) .h-display { font-size: clamp(3.5rem, calc((100vw - 120px) * .098), 6.75rem); }
}

.h-page {
  font-stretch: 64%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .88;
  font-size: clamp(2.5rem, 12.5vw, 7rem); /* 2.5rem floor: "CONFIDENTIALITÉ" must fit a 320px screen */
  text-wrap: balance;
}

.h-section {
  font-stretch: 70%;
  font-weight: 850;
  line-height: .96;
  font-size: clamp(2.25rem, 8vw, 4rem);
  text-wrap: balance;
}

.h-item {
  font-stretch: 86%;
  font-weight: 760;
  line-height: 1.15;
  font-size: 1.3125rem;
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.45;
  max-width: 34em;
}
@media (min-width: 900px) { .lead { font-size: 1.3125rem; } }

.num { font-stretch: 125%; font-weight: 900; font-variant-numeric: tabular-nums; }

.prose { max-width: 36em; }
.prose p + p { margin-top: .9em; }

/* Category tag: plate-colour swatch + area name */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .9375rem;
}
.tag::before {
  content: "";
  width: 12px; height: 26px;
  border-radius: 3px;
  background: var(--cat);
  box-shadow: inset 0 0 0 1px rgba(10, 17, 40, .18);
}

.c-blue   { --cat: var(--blue);   --cat-ink: #fff; --cat-shade: #2249D6; }
.c-yellow { --cat: var(--yellow); --cat-ink: var(--ink); --cat-shade: #EDAE00; }
.c-red    { --cat: var(--red);    --cat-ink: #fff; --cat-shade: #D8261D; }
.c-green  { --cat: var(--green);  --cat-ink: #fff; --cat-shade: #16A04E; }
.c-white  { --cat: #FFFFFF;       --cat-ink: var(--ink); --cat-shade: #E6EAF2; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: 0 1.35em;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  font-weight: 800;
  font-stretch: 90%;
  font-size: 1.0625rem;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease, border-color .15s ease;
}

/* Primary: a chunky push button that presses in when used */
.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--yellow-deep);
}
.btn-primary:hover { background: #FFCD42; }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--yellow-deep); }

.on-yellow .btn-primary { background: var(--ink); color: #fff; box-shadow: 0 5px 0 #000; }
.on-yellow .btn-primary:hover { background: #1B2548; }
.on-yellow .btn-primary:active { box-shadow: 0 1px 0 #000; }

.btn-line {
  border-color: currentColor;
  background: transparent;
}
.btn-line:hover { background: rgba(255, 255, 255, .08); }
.on-light .btn-line:hover, .on-yellow .btn-line:hover { background: rgba(10, 17, 40, .06); }

.btn-sm { min-height: 40px; padding: 0 .9em; font-size: .9375rem; }
.btn-primary.btn-sm { box-shadow: 0 3px 0 var(--yellow-deep); }
.btn-primary.btn-sm:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--yellow-deep); }

.btn-wa .icon { width: 1.3em; height: 1.3em; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  --focus: var(--yellow);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-stretch: 118%;
  font-weight: 900;
  font-size: 1.375rem;
  letter-spacing: -.02em;
  line-height: 1;
}
.logo svg { width: 30px; height: 30px; }

.nav {
  display: none;
  gap: 28px;
  margin-left: 40px;
}
.nav a {
  text-decoration: none;
  font-weight: 650;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
}
.nav a:hover { border-bottom-color: rgba(255, 255, 255, .4); }
.nav a[aria-current="page"] { border-bottom-color: var(--yellow); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius-s);
  font-weight: 800;
  font-size: .875rem;
  text-decoration: none;
}
.lang:hover { border-color: #fff; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.menu {
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: var(--navy);
  padding: 8px 0 24px;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu a {
  padding: 12px 0;
  font-stretch: 70%;
  font-weight: 850;
  font-size: 2rem;
  line-height: 1.1;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.menu a[aria-current="page"] { color: var(--yellow); }

@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-toggle, .menu { display: none !important; }
}
.header-actions .btn-sm { white-space: nowrap; }
@media (max-width: 599px) {
  .logo { font-size: 1.25rem; gap: 6px; }
  .logo svg { width: 26px; height: 26px; }
  .header-actions { gap: 6px; }
  .lang { min-width: 36px; padding: 0 6px; }
  .header-actions .btn-sm { padding: 0 .7em; font-size: .875rem; font-stretch: 78%; }
}
@media (max-width: 359px) {
  .header-actions .btn-sm { display: none; }
}

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

.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }

.on-navy { background: var(--navy); color: #fff; --focus: var(--yellow); }
.on-navy-2 { background: var(--navy-2); color: #fff; --focus: var(--yellow); }
.on-chalk { background: var(--chalk); }
.on-white { background: var(--white); }
.on-yellow { background: var(--yellow); color: var(--ink); --focus: var(--ink); }

.on-navy .lead, .on-navy-2 .lead, .on-navy .dim, .on-navy-2 .dim { color: var(--text-dim-dark); }
.on-chalk .dim, .on-white .dim { color: var(--text-dim-light); }

.section-head { display: grid; gap: 20px; margin-bottom: 48px; }
@media (min-width: 900px) { .section-head { margin-bottom: 64px; } }

/* ---------- Home hero + barbell ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  --focus: var(--yellow);
  padding-top: 40px;
}

.hero-grid { display: grid; gap: 48px; }
.hero .lead { margin-top: 24px; color: var(--text-dim-dark); }
.hero .actions { margin-top: 32px; }

.hero-device {
  position: relative;
  z-index: 2;
  justify-self: center;
  margin-bottom: -250px;
}

@media (min-width: 900px) {
  .hero { padding-top: 64px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr);
    gap: 40px;
  }
  .hero-device { align-self: end; margin-bottom: -340px; }
}

/* The loaded barbell. Plates sit outside the collars at 50% ± --span. */
.barbell {
  --plate-h: 124px;
  --span: 126px;
  position: relative;
  z-index: 1;
  height: 190px;
  pointer-events: none;
}
.barbell-inner { position: absolute; inset: 0; }

.bar, .sleeve, .collar, .plates { position: absolute; top: 50%; }

.bar {
  left: 0; right: 0;
  height: 10px;
  margin-top: -5px;
  background: linear-gradient(#E3E7EE, #8F97AA 60%, #697186);
}
.bar::after {
  content: "";
  position: absolute;
  inset: 0 calc(50% - var(--span) + 36px);
  background:
    repeating-linear-gradient(45deg, rgba(10, 17, 40, .22) 0 1.5px, transparent 1.5px 4px),
    repeating-linear-gradient(-45deg, rgba(10, 17, 40, .22) 0 1.5px, transparent 1.5px 4px);
}

.sleeve {
  height: 18px;
  margin-top: -9px;
  background: linear-gradient(#EDF0F5, #A3AABB 55%, #7B8397);
}
.sleeve-l { left: 0; right: calc(50% + var(--span)); }
.sleeve-r { right: 0; left: calc(50% + var(--span)); }

.collar {
  width: 12px;
  height: 46px;
  margin-top: -23px;
  border-radius: 3px;
  background: linear-gradient(90deg, #8A92A5, #E8ECF2 45%, #7A8295);
}
.collar-l { right: calc(50% + var(--span)); }
.collar-r { left: calc(50% + var(--span)); }

.plates {
  display: flex;
  align-items: center;
  gap: 3px;
  transform: translateY(-50%);
}
.plates-l { right: calc(50% + var(--span) + 14px); flex-direction: row-reverse; }
.plates-r { left: calc(50% + var(--span) + 14px); }

.plate {
  width: var(--w);
  height: var(--plate-h);
  border-radius: 6px;
  background: var(--c);
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, .2), inset -3px 0 0 rgba(0, 0, 0, .22);
}
.p25 { --c: var(--red); --w: 20px; }
.p20 { --c: var(--blue); --w: 18px; }
.p15 { --c: var(--yellow); --w: 15px; }
.p10 { --c: var(--green); --w: 12px; }
.p5  { --c: #F4F6FA; --w: 10px; height: calc(var(--plate-h) * .6); }
.pclamp { --c: #B9C0CE; --w: 12px; height: calc(var(--plate-h) * .3); border-radius: 3px; }

.plates .plate:nth-child(1) { --i: 0; }
.plates .plate:nth-child(2) { --i: 1; }
.plates .plate:nth-child(3) { --i: 2; }
.plates .plate:nth-child(4) { --i: 3; }
.plates .plate:nth-child(5) { --i: 4; }
.plates .plate:nth-child(6) { --i: 5; }

@media (min-width: 900px) {
  .barbell { --plate-h: 176px; --span: min(40vw, 580px); height: 250px; }
  .p25 { --w: 38px; }
  .p20 { --w: 33px; }
  .p15 { --w: 27px; }
  .p10 { --w: 22px; }
  .p5  { --w: 16px; }
  .pclamp { --w: 20px; }
}

/* The page-load moment: plates slide onto the sleeves, heaviest first, then the bar settles. */
@media (prefers-reduced-motion: no-preference) {
  .plates-l .plate { animation: load-l .6s cubic-bezier(.2, 1.2, .4, 1) both; animation-delay: calc(.2s + var(--i) * .1s); }
  .plates-r .plate { animation: load-r .6s cubic-bezier(.2, 1.2, .4, 1) both; animation-delay: calc(.2s + var(--i) * .1s); }
  .barbell-inner { animation: settle .4s ease-out 1.05s both; }
  .hero .pip.on { animation: pip .25s ease-out both; animation-delay: calc(.35s + var(--i) * .1s); }

  @keyframes load-l { from { transform: translateX(-75vw); } }
  @keyframes load-r { from { transform: translateX(75vw); } }
  @keyframes settle { 35% { transform: translateY(5px); } 70% { transform: translateY(-1px); } }
  @keyframes pip { from { background: #D5DAE6; transform: scaleY(.4); } }
}

/* ---------- Device mockups (all illustrations built in HTML/CSS, labelled with role="img") ---------- */

.phone {
  width: 240px;
  aspect-ratio: 9 / 19;
  padding: 9px;
  border-radius: 40px;
  background: #050A1A;
  box-shadow: 0 30px 60px rgba(3, 8, 25, .45), inset 0 0 0 1.5px #2B3B6B;
  flex: none;
}
@media (min-width: 900px) { .hero .phone { width: 290px; } }

.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
}
.hero .phone .screen { font-size: 13px; }
.screen::before {
  content: "";
  position: absolute;
  top: 9px; left: 50%;
  width: 70px; height: 20px;
  margin-left: -35px;
  border-radius: 12px;
  background: #050A1A;
}

.tablet {
  width: min(100%, 440px);
  padding: 12px;
  border-radius: 26px;
  background: #050A1A;
  box-shadow: 0 30px 60px rgba(3, 8, 25, .35), inset 0 0 0 1.5px #2B3B6B;
}
.tablet .screen { border-radius: 16px; font-size: 13px; padding-bottom: 14px; }
.tablet .screen::before { display: none; }

.ui-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 38px 14px 10px;
}
.tablet .ui-top { padding-top: 16px; }
.ui-title { font-stretch: 80%; font-weight: 850; font-size: 1.6em; line-height: 1; }
.ui-sub { color: #5A6480; font-size: .92em; }
.ui-chip {
  padding: 4px 9px;
  border-radius: 999px;
  background: #EEF1F7;
  font-weight: 700;
  font-size: .9em;
  white-space: nowrap;
}

.ui-tabs { display: flex; gap: 6px; padding: 0 14px 10px; }
.ui-tab {
  flex: 1;
  padding: 6px 0;
  border-radius: 8px;
  background: #EEF1F7;
  text-align: center;
  font-weight: 700;
  font-size: .9em;
}
.ui-tab.is-on { background: var(--ink); color: #fff; }

.ui-list { display: grid; gap: 7px; padding: 0 10px; }

.ui-card {
  padding: 10px 11px;
  border-radius: 12px;
  background: #F1F3F8;
}

.ui-slot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3px 10px;
}
.ui-time { font-stretch: 90%; font-weight: 850; font-size: 1.2em; font-variant-numeric: tabular-nums; }
.ui-what { font-weight: 700; }
.ui-meta { grid-column: 2 / 4; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #5A6480; font-size: .92em; }
.ui-count { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

.pips { display: flex; gap: 3px; }
.pip { width: 11px; height: 7px; border-radius: 2px; background: #D5DAE6; }
.pip.on { background: var(--blue); }
.pips .pip:nth-child(1) { --i: 0; }
.pips .pip:nth-child(2) { --i: 1; }
.pips .pip:nth-child(3) { --i: 2; }
.pips .pip:nth-child(4) { --i: 3; }
.pips .pip:nth-child(5) { --i: 4; }
.pips .pip:nth-child(6) { --i: 5; }
.pips .pip:nth-child(7) { --i: 6; }
.pips .pip:nth-child(8) { --i: 7; }

.ui-badge {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 6px;
  font-weight: 800;
  font-size: .85em;
  line-height: 1.2;
  white-space: nowrap;
}
.b-blue { background: #E3EAFF; color: #1D3FC4; }
.b-yellow { background: #FFF0C2; color: #6E4F00; }
.b-red { background: #FFE2DF; color: var(--red-text); }
.b-green { background: #DDF5E6; color: #0F6B34; }
.b-ink { background: var(--ink); color: #fff; }

/* Member plan progress + bottom tab bar (hero phone) */
.ui-myplan { margin: 0 10px 8px; padding: 10px 11px; border-radius: 12px; background: var(--navy); color: #fff; }
.ui-myplan .ui-row { justify-content: space-between; }
.ui-myplan .num { font-size: 1.25em; }
.ui-progress { height: 7px; margin-top: 7px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.ui-progress i { display: block; width: var(--p); height: 100%; border-radius: 4px; background: var(--red); }
.p-62 { --p: 62.5%; }
.ui-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 9px 8px 16px;
  border-top: 1px solid #E3E7EF;
  color: #5A6480;
  font-weight: 700;
  font-size: .85em;
}
.ui-tabbar .is-on { color: var(--blue); }

.ui-btn {
  display: block;
  margin: 10px 10px 0;
  padding: 10px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.ui-row { display: flex; align-items: center; gap: 10px; }
.ui-row > .grow { flex: 1; min-width: 0; }
.ui-avatar {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--av, #DCE3F5);
  color: var(--ink);
  font-weight: 800;
  font-size: .85em;
  flex: none;
}
.ui-name { font-weight: 750; }
.ui-small { color: #5A6480; font-size: .9em; }

.ui-alert {
  margin: 0 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #FFF1EF;
  border-left: 5px solid var(--red);
}
.ui-alert strong { display: block; color: var(--red-text); font-size: 1.05em; }

.ui-toggle {
  width: 34px; height: 20px;
  border-radius: 999px;
  background: #C9D0DE;
  position: relative;
  flex: none;
}
.ui-toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
}
.ui-toggle.is-on { background: var(--green); }
.ui-toggle.is-on::after { left: 17px; }

.ui-check {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 2px solid #C9D0DE;
  flex: none;
}
.ui-check.is-on { background: var(--yellow); border-color: var(--yellow); }
.ui-check svg { width: 16px; height: 16px; }

/* QR scan screen */
.ui-scan {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 12px;
  background: #1A2233;
  color: #fff;
  text-align: center;
}
.ui-viewfinder {
  position: relative;
  width: 150px; height: 150px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
}
.ui-viewfinder svg { width: 100%; height: 100%; }
.ui-viewfinder::before {
  content: "";
  position: absolute;
  inset: -12px;
  --c: var(--yellow);
  background:
    linear-gradient(var(--c), var(--c)) top left / 30px 4px,
    linear-gradient(var(--c), var(--c)) top left / 4px 30px,
    linear-gradient(var(--c), var(--c)) top right / 30px 4px,
    linear-gradient(var(--c), var(--c)) top right / 4px 30px,
    linear-gradient(var(--c), var(--c)) bottom left / 30px 4px,
    linear-gradient(var(--c), var(--c)) bottom left / 4px 30px,
    linear-gradient(var(--c), var(--c)) bottom right / 30px 4px,
    linear-gradient(var(--c), var(--c)) bottom right / 4px 30px;
  background-repeat: no-repeat;
}
.ui-scanline {
  position: absolute;
  left: 8px; right: 8px; top: 58%;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
}
.ui-done {
  padding: 12px 10px 14px;
  background: #fff;
}

/* Plans */
.ui-plans { display: grid; gap: 7px; padding: 0 10px; }
.ui-plan {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F1F3F8;
  border-left: 5px solid var(--red);
}
.ui-plan .num { font-size: 1.5em; line-height: 1; }

.ui-weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px 10px 0; }
.ui-week { display: grid; gap: 5px; justify-items: center; font-size: .85em; color: #5A6480; }
.ui-dots { display: flex; flex-direction: column-reverse; gap: 3px; height: 36px; justify-content: flex-start; }
.ui-dot { width: 22px; height: 9px; border-radius: 3px; background: var(--red); }

/* Report chart */
.ui-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 130px;
  padding: 10px 14px 0;
}
.ui-bar {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--yellow);
  position: relative;
}
.ui-bar span {
  position: absolute;
  top: -18px; left: 0; right: 0;
  text-align: center;
  font-weight: 800;
  font-size: .85em;
}
.ui-axis { display: flex; gap: 8px; padding: 6px 14px 0; color: #5A6480; font-size: .85em; }
.ui-axis span { flex: 1; text-align: center; }

.h-26 { --h: 26%; } .h-71 { --h: 71%; } .h-79 { --h: 79%; } .h-85 { --h: 85%; }
.h-91 { --h: 91%; } .h-94 { --h: 94%; } .h-100 { --h: 100%; }

.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 0 14px 12px; }
.ui-stat { padding: 9px 10px; border-radius: 10px; background: #F1F3F8; }
.ui-stat .num { display: block; font-size: 1.45em; line-height: 1.1; }

/* WhatsApp chat */
.ui-wa-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 36px 12px 10px;
  background: #0F5A40;
  color: #fff;
}
.ui-wa-head .ui-avatar { --av: var(--yellow); }
.ui-wa-head .ui-small { color: rgba(255, 255, 255, .78); }
.ui-wa-body {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px 10px;
  background: #ECE6DD;
}
.ui-bubble {
  max-width: 88%;
  padding: 8px 10px 6px;
  border-radius: 10px 10px 10px 2px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.ui-bubble time { display: block; text-align: right; color: #6B7280; font-size: .8em; margin-top: 2px; }
.ui-day { justify-self: center; padding: 3px 9px; border-radius: 6px; background: #fff; color: #5A6480; font-size: .82em; font-weight: 700; }

/* Member profile */
.ui-profile { display: flex; align-items: center; gap: 12px; padding: 16px 14px 12px; }
.ui-profile .ui-avatar { width: 44px; height: 44px; font-size: 1em; }
.ui-section-label { padding: 10px 14px 6px; font-weight: 800; font-size: .92em; }
.ui-pay { display: grid; gap: 6px; padding: 0 14px; }
.ui-pay .ui-card { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ui-note {
  margin: 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FFF8E1;
  border-left: 4px solid var(--yellow);
}

/* ---------- Home: who it's for ---------- */

.who-list { display: grid; }
.who-item {
  display: grid;
  gap: 6px;
  padding: 24px 0;
  border-top: 3px solid var(--ink);
}
.who-item:last-child { border-bottom: 3px solid var(--ink); }
.who-item h3 {
  font-stretch: 68%;
  font-weight: 850;
  font-size: clamp(1.9rem, 6vw, 2.75rem);
  line-height: 1;
}
@media (min-width: 900px) {
  .who-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 40px; padding: 28px 0; }
}

.who-more { margin-top: 28px; max-width: 40em; font-size: 1.125rem; font-weight: 600; }

/* ---------- Home: benefits ---------- */

.benefits { display: grid; gap: 40px; }
.benefit {
  display: grid;
  gap: 12px;
  align-content: start;
  padding-left: 22px;
  border-left: 10px solid var(--cat);
}
.benefit .tag::before { display: none; }
.benefit .tag { color: var(--text-dim-dark); }
.benefit p { color: var(--text-dim-dark); max-width: 32em; }
@media (min-width: 900px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
  .benefit .h-item { font-size: 1.625rem; }
}

/* ---------- Home: steps ---------- */

.steps { display: grid; gap: 40px; counter-reset: step; list-style: none; }
.step { display: grid; gap: 12px; align-content: start; }
.step-num {
  font-size: 4.5rem;
  line-height: .85;
  color: var(--navy);
  -webkit-text-stroke: 0;
}
.step p { color: var(--text-dim-light); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .step { padding-top: 24px; border-top: 6px solid var(--navy); }
  .step-num { font-size: 6rem; }
}

/* ---------- Home: services teaser ---------- */

.teaser { display: grid; gap: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius-s);
  font-weight: 650;
  text-decoration: none;
}
.chips a:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
@media (min-width: 900px) {
  .teaser { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 64px; }
}

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  /* platform tape along the top edge */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, transparent 14px 28px);
}
.cta-inner { display: grid; gap: 24px; }
.cta-inner .lead { max-width: 30em; }
@media (min-width: 900px) {
  .cta-inner { grid-template-columns: minmax(0, 1.2fr) auto; align-items: end; gap: 48px; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--navy);
  color: #fff;
  --focus: var(--yellow);
  padding: 56px 0 64px;
}
.page-hero .lead { margin-top: 24px; color: var(--text-dim-dark); }
@media (min-width: 900px) { .page-hero { padding: 88px 0 96px; } }

.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; list-style: none; }
.legend a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, .07);
  font-weight: 700;
  text-decoration: none;
}
.legend a:hover { background: rgba(255, 255, 255, .14); }
.legend a::before {
  content: "";
  width: 10px; height: 24px;
  border-radius: 3px;
  background: var(--cat);
}

/* ---------- Features ---------- */

.feature { padding: 64px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-grid { display: grid; gap: 36px; align-items: center; }
.feature-copy { display: grid; gap: 18px; align-content: start; }
.feature-copy .h-section { font-size: clamp(2rem, 7vw, 3.25rem); }
.feature-copy p { color: var(--text-dim-light); max-width: 34em; }

.ticks { display: grid; gap: 10px; list-style: none; }
.ticks li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.ticks li::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--cat);
  box-shadow: inset 0 0 0 1px rgba(10, 17, 40, .2);
  transform: translateY(-1px);
}

@media (min-width: 900px) {
  .feature { padding: 96px 0; }
  .feature-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .feature:nth-of-type(even) .feature-copy { order: 2; }
}

/* A plate-coloured stage behind each mockup, with the plate's front face in the corner */
.stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  gap: 16px;
  min-height: 420px;
  padding: 40px 20px;
  border-radius: var(--radius-l);
  background: var(--cat);
  isolation: isolate;
}
.stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -160px; bottom: -190px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0A1128 0 5%, #D2D7E2 5% 11%, rgba(0, 0, 0, .16) 11% 12.5%, transparent 12.5% 43%, rgba(0, 0, 0, .12) 43% 44.5%, transparent 44.5%),
    var(--cat-shade);
}
.stage-kg {
  position: absolute;
  z-index: -1;
  right: 24px; top: 18px;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(10, 17, 40, .14);
}
.c-white .stage { box-shadow: inset 0 0 0 2px var(--line); }
.c-white .ticks li::before { background: var(--navy); }
.stage-pair { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; justify-content: center; }
.stage-pair .phone { width: 210px; }
@media (min-width: 900px) {
  .stage { min-height: 560px; padding: 56px 40px; }
  .stage-pair .phone { width: 220px; }
  .stage > .phone { width: 260px; }
}

/* ---------- Services ---------- */

.service-group + .service-group { margin-top: 72px; }
.service-group > .h-section { margin-bottom: 12px; }
.service-group > .dim { margin-bottom: 32px; max-width: 34em; }

.service {
  display: grid;
  gap: 12px;
  padding: 28px 0;
  border-top: 3px solid var(--ink);
}
.service:last-child { border-bottom: 3px solid var(--ink); }
.service h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-stretch: 70%;
  font-weight: 850;
  font-size: clamp(1.75rem, 5.5vw, 2.5rem);
  line-height: 1;
}
.service h3::before {
  content: "";
  flex: none;
  width: 10px; height: .9em;
  border-radius: 3px;
  background: var(--cat, var(--navy));
}
.service p { color: var(--text-dim-light); max-width: 34em; }
.service .btn { justify-self: start; margin-top: 4px; }
@media (min-width: 900px) {
  .service {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
  }
  .service .btn { margin-top: 0; }
}

.sociaphase { margin-top: 20px; color: var(--text-dim-dark); font-size: 1rem; }

/* ---------- Book a demo ---------- */

.demo {
  background: var(--navy);
  color: #fff;
  --focus: var(--yellow);
  padding: 48px 0 72px;
}
.demo-grid { display: grid; gap: 40px; }
/* Kept short on phones: this page doubles as the landing page for ads, so the form comes quickly. */
.demo .h-page { font-size: clamp(2.75rem, 11vw, 6rem); }
.demo-intro .lead { margin-top: 16px; color: var(--text-dim-dark); font-size: 1.0625rem; }
.demo-intro h2 { margin-top: 32px; font-stretch: 80%; font-weight: 800; font-size: 1.375rem; }

.demo-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; }
.demo-facts li {
  padding: 6px 12px;
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, .1);
  font-weight: 700;
  font-size: .9375rem;
}

.gets { display: grid; gap: 14px; margin-top: 16px; list-style: none; }
.gets li { display: grid; gap: 2px; padding-left: 16px; border-left: 6px solid var(--cat); }
.gets strong { font-weight: 750; font-size: 1.0625rem; }
.gets span { color: var(--text-dim-dark); font-size: .9375rem; }
@media (min-width: 900px) {
  .demo-intro .lead { font-size: 1.25rem; margin-top: 24px; }
  .demo-intro h2 { margin-top: 44px; font-size: 1.5rem; }
  .gets { gap: 20px; margin-top: 20px; }
  .gets strong { font-size: 1.125rem; }
  .gets span { font-size: 1rem; }
}

@media (min-width: 900px) {
  .demo { padding: 80px 0 112px; }
  .demo-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
  .demo-panel { position: sticky; top: calc(var(--header-h) + 24px); }
}

.demo-panel {
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  --focus: var(--blue);
  box-shadow: 0 30px 70px rgba(3, 8, 25, .4);
  overflow: hidden;
}

.wa-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 16px 20px;
  background: #E3F6EA;
  border-bottom: 1px solid #C6EBD3;
}
.wa-strip p { font-weight: 700; }
.wa-strip p span { display: block; font-weight: 400; color: #2B5A3D; font-size: .9375rem; }
.btn-wa-solid { background: var(--wa); color: #fff; min-height: 46px; }
.btn-wa-solid:hover { background: #178F44; }

.form { display: grid; gap: 18px; padding: 24px 20px 28px; }
@media (min-width: 600px) { .form { padding: 32px; } .wa-strip { padding: 18px 32px; } }
.form-title { font-stretch: 80%; font-weight: 850; font-size: 1.75rem; line-height: 1.05; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 700; font-size: .9375rem; }
.field label .opt { font-weight: 400; color: var(--text-dim-light); }
.field .hint { color: var(--text-dim-light); font-size: .875rem; }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid #C5CCDB;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem; /* 16px+ keeps iOS from zooming */
  line-height: 1.4;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8E98AF; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(46, 91, 255, .35);
  outline-offset: 0;
  border-color: var(--blue);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-text); }
.field-error { color: var(--red-text); font-weight: 650; font-size: .9rem; }
.field-error:empty { display: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: grid; gap: 14px; }
.form-foot .btn { width: 100%; }
@media (min-width: 600px) { .form-foot .btn { width: auto; justify-self: start; } }
.privacy { color: var(--text-dim-light); font-size: .875rem; }
.privacy a { color: var(--ink); font-weight: 700; }

.form-status {
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 650;
}
.form-status[hidden] { display: none; }
.form-status.is-error { background: #FFECEA; color: #8F160E; border-left: 5px solid var(--red-text); }

.btn[aria-disabled="true"] { opacity: .7; cursor: progress; }

.form-done { display: grid; gap: 14px; padding: 40px 24px 44px; text-align: left; }
@media (min-width: 600px) { .form-done { padding: 48px 32px 52px; } }
.form-done[hidden] { display: none; }
.done-mark {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}
.done-mark svg { width: 32px; height: 32px; }
.form-done h2 { font-stretch: 72%; font-weight: 900; font-size: 2.5rem; line-height: 1; }
.form-done p { color: var(--text-dim-light); }
.form-done:focus { outline: none; }

/* No-JS fallback: the PHP script redirects back to #demo-sent or #demo-failed */
.nojs-note { display: none; margin: 0 20px; }
.nojs-note:target { display: block; margin-top: 20px; }
.nojs-note.is-ok { background: #DDF5E6; color: #0F6B34; border-left: 5px solid var(--green); }

/* ---------- Privacy policy ---------- */

.policy { max-width: 42em; }
.policy h2 {
  margin-top: 44px;
  font-stretch: 80%;
  font-weight: 850;
  font-size: 1.625rem;
  line-height: 1.15;
}
.policy h2:first-child { margin-top: 0; }
.policy p, .policy ul { margin-top: 12px; }
.policy ul { padding-left: 1.25em; }
.policy li + li { margin-top: 6px; }
.policy a { font-weight: 650; overflow-wrap: anywhere; }
.policy .updated { margin-top: 44px; color: var(--text-dim-light); font-size: .9375rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: #060D22;
  color: #fff;
  --focus: var(--yellow);
  padding: 56px 0 96px;
}
.footer-grid { display: grid; gap: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a, .footer-meta a { text-decoration: none; font-weight: 650; }
.footer-nav a:hover, .footer-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.footer-meta a { display: inline-flex; align-items: center; gap: 8px; }
.footer-legal { color: #9AA6C4; font-size: .9375rem; }
@media (min-width: 900px) {
  .site-footer { padding: 64px 0; }
  .footer-grid { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px 48px; }
  .footer-nav { justify-content: center; }
  .footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* Floating WhatsApp button, on every page */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 24px rgba(3, 8, 25, .35), 0 0 0 3px rgba(255, 255, 255, .9);
  --focus: var(--ink);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
@media (min-width: 900px) { .wa-float { right: 24px; bottom: 24px; } }

/* ---------- 404 ---------- */

.nf { min-height: 70vh; display: grid; align-content: center; gap: 24px; }
.nf-alt { display: grid; gap: 20px; margin-top: 24px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .15); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Spacing utilities ---------- */
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-28 { margin-top: 28px; }
