/* Beetle – gym owner website
   Colours come from the app: yellow #FACC15, ink #18181B, teal beetle. */

:root {
  --yellow: #FACC15;
  --yellow-2: #FDE047;
  --yellow-deep: #EAB308;
  --yellow-soft: #FEF3C7;
  --yellow-ink: #5C4600;
  --ink: #18181B;
  --ink-2: #27272A;
  --text: #1F1E22;
  --muted: #5F5A50;
  --line: #ECE6DA;
  --bg: #FFFDF7;
  --teal: #14A38F;
  --teal-deep: #0B5C52;
  --wa: #25D366;
  --active: #22A35A;
  --upcoming: #3B82F6;
  --inactive: #F59E0B;
  --lost: #C2410C;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(24, 24, 27, .05), 0 2px 8px rgba(24, 24, 27, .05);
  --shadow: 0 18px 40px -18px rgba(24, 24, 27, .22), 0 4px 12px -4px rgba(24, 24, 27, .08);
  --shadow-lg: 0 50px 90px -30px rgba(24, 24, 27, .45), 0 20px 40px -20px rgba(24, 24, 27, .25);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
/* The tilted band is wider than the screen: clip it so phones can't slide sideways. */
main { overflow-x: hidden; }
@supports (overflow: clip) { main { overflow-x: clip; } }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--yellow-deep); outline-offset: 3px; border-radius: 10px;
}
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none;
}
.skip:focus { left: 12px; }

h2 {
  font: 800 clamp(34px, 4.6vw, 56px)/1.04 var(--font-display);
  letter-spacing: -.03em; margin: 0 0 16px; color: var(--ink);
}
h3 { font: 700 22px/1.2 var(--font-display); letter-spacing: -.015em; margin: 0 0 8px; color: var(--ink); }
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; margin: 0 0 18px; padding: 8px 13px; border-radius: 999px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  color: #7A5D00; background: var(--yellow-soft);
}
.kicker-light { background: rgba(250, 204, 21, .14); color: var(--yellow); }
.sub { font-size: 18px; color: var(--muted); margin: 0; }

/* ───────── Buttons ───────── */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: translate .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; transition: translate .25s var(--ease);
}
.btn:hover svg { translate: 3px 0; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -10px rgba(24, 24, 27, .6); }
.btn-primary:hover { translate: 0 -2px; box-shadow: 0 16px 30px -12px rgba(24, 24, 27, .6); }
.btn-ghost { background: rgba(255, 255, 255, .7); border-color: var(--line); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { translate: 0 -2px; border-color: var(--ink); }
.btn-lg { padding: 17px 26px; font-size: 16px; }
.btn-sm { padding: 11px 17px; font-size: 14px; }
.btn-block { width: 100%; }
.shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
  translate: -120% 0; animation: shine 5.5s var(--ease) 2.5s infinite;
}
@keyframes shine { 0% { translate: -120% 0; } 22%, 100% { translate: 120% 0; } }

/* ───────── Top bar ───────── */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.nav.scrolled {
  background: rgba(255, 253, 247, .8); box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font: 800 23px/1 var(--font-display); letter-spacing: -.02em;
}
.brand img { border-radius: 10px; transition: rotate .5s var(--ease), scale .5s var(--ease); }
.brand:hover img { rotate: -14deg; scale: 1.06; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a:not(.btn) {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 500; color: var(--text); transition: background-color .2s;
}
.nav-links a:not(.btn):hover { background: rgba(24, 24, 27, .05); }
.nav-links a.active { background: rgba(250, 204, 21, .3); color: var(--ink); }
.nav-cta-menu { display: none; }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(24, 24, 27, .06); position: relative;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ───────── Hero ───────── */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: -72px; padding: 136px 0 104px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% 8%, #FFF2B8 0%, transparent 62%),
    linear-gradient(180deg, #FFFAE6 0%, var(--bg) 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: #FDE68A; top: -170px; right: -90px; opacity: .8; }
.b2 { width: 380px; height: 380px; background: #99F6E4; bottom: -150px; right: 24%; opacity: .45; animation-duration: 23s; }
.b3 { width: 320px; height: 320px; background: #FED7AA; top: 32%; left: -140px; opacity: .45; animation-duration: 27s; }
@keyframes drift {
  0% { translate: 0 0; scale: 1; }
  50% { translate: -40px 30px; scale: 1.08; }
  100% { translate: 30px -24px; scale: .95; }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(24, 24, 27, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 27, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  padding: 7px 15px 7px 11px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--wa); }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { from { scale: 1; opacity: .7; } to { scale: 3.2; opacity: 0; } }

.hero-title {
  font: 800 clamp(46px, 7vw, 86px)/.98 var(--font-display);
  letter-spacing: -.04em; margin: 0 0 24px; color: var(--ink);
}
.hero-title .line { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.1em; }
.word { display: inline-block; animation: rise .95s var(--ease) both; }
.w1 { animation-delay: .05s; } .w2 { animation-delay: .13s; } .w3 { animation-delay: .21s; }
.w4 { animation-delay: .32s; } .w5 { animation-delay: .42s; }
@keyframes rise { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
.hl {
  font-style: normal; white-space: nowrap;
  background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 90%, transparent 90%) no-repeat 0 0 / 0% 100%;
  animation: mark .9s var(--ease) 1s forwards;
}
@keyframes mark { to { background-size: 100% 100%; } }

.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 560px; margin: 0 0 32px; }
.intro { animation: fadeUp .85s var(--ease) both; }
.i1 { animation-delay: 0s; } .i2 { animation-delay: .5s; } .i3 { animation-delay: .65s; } .i4 { animation-delay: .8s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-notes {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
}
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes svg {
  width: 19px; height: 19px; padding: 3.5px; border-radius: 50%; background: var(--ink);
  fill: none; stroke: var(--yellow); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
}

/* Phone */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 660px; perspective: 1400px; }
.tilt {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.phone {
  position: relative; width: 304px; height: 630px; padding: 11px; border-radius: 50px;
  background: #0E0E10;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2D2D33, 0 0 0 1px rgba(0, 0, 0, .35);
  animation: phoneIn 1.1s var(--ease) .2s backwards, floaty 7s ease-in-out 1.3s infinite;
}
@keyframes phoneIn { from { opacity: 0; transform: translateY(70px) rotate(5deg) scale(.95); } }
@keyframes floaty { 50% { translate: 0 -14px; } }
.phone-island {
  position: absolute; top: 21px; left: 50%; width: 94px; height: 27px; margin-left: -47px;
  border-radius: 20px; background: #0E0E10; z-index: 3;
}
.screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 40px; background: #FBF8FC;
  padding: 50px 14px 0; display: flex; flex-direction: column; gap: 10px;
  font-size: 12px; color: #1B1B1E; line-height: 1.35;
}
.app-status {
  position: absolute; top: 17px; left: 30px; right: 28px;
  display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 12px;
}
.sig { display: flex; align-items: flex-end; gap: 2px; }
.sig i { display: block; width: 3px; border-radius: 1px; background: #1B1B1E; }
.sig i:nth-child(1) { height: 5px; } .sig i:nth-child(2) { height: 8px; } .sig i:nth-child(3) { height: 11px; }
.app-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px; }
.app-top small { display: block; color: #6F695C; font-size: 11px; }
.app-top b { display: block; font: 800 19px/1.1 var(--font-display); letter-spacing: -.01em; }
.app-top img { border-radius: 10px; }
.app-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat { background: #fff; border: 1px solid #F0ECF2; border-radius: 16px; padding: 10px 12px; }
.stat small { display: block; color: #6F695C; font-size: 10.5px; font-weight: 600; }
.stat b { display: block; font: 800 27px/1.15 var(--font-display); font-variant-numeric: tabular-nums; }
.stat-yellow { background: var(--yellow); border-color: transparent; }
.stat-yellow small { color: #5C4600; }
.trend { font-size: 10px; font-weight: 700; color: #006D2F; }
.muted-s { font-size: 10px; font-weight: 600; color: #6F695C; }
.app-card { background: #fff; border: 1px solid #F0ECF2; border-radius: 16px; padding: 10px 12px; }
.app-card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.app-card-head b { font-size: 12.5px; }
.app-card-head small { font-size: 10.5px; font-weight: 600; color: #735C00; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 64px; }
.bars i {
  flex: 1; border-radius: 6px 6px 3px 3px; background: #FFF1C2; transform-origin: bottom;
  animation: grow 1s var(--ease) backwards;
}
.bars i:nth-child(1) { height: 38%; animation-delay: 1.15s; }
.bars i:nth-child(2) { height: 60%; animation-delay: 1.22s; }
.bars i:nth-child(3) { height: 46%; animation-delay: 1.29s; }
.bars i:nth-child(4) { height: 76%; animation-delay: 1.36s; }
.bars i:nth-child(5) { height: 54%; animation-delay: 1.43s; }
.bars i:nth-child(6) { height: 92%; animation-delay: 1.5s; background: var(--yellow); }
.bars i:nth-child(7) { height: 68%; animation-delay: 1.57s; }
@keyframes grow { from { transform: scaleY(0); } }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.app-list li { display: flex; align-items: center; gap: 8px; animation: slideIn .6s var(--ease) backwards; }
.app-list li:nth-child(1) { animation-delay: 1.5s; }
.app-list li:nth-child(2) { animation-delay: 1.65s; }
.app-list li:nth-child(3) { animation-delay: 1.8s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-14px); } }
.app-list div { flex: 1; min-width: 0; }
.app-list b { display: block; font-size: 11.5px; }
.app-list small { display: block; font-size: 10px; color: #6F695C; }
.av { flex: none; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.av1 { background: #D6F5DE; color: #006D2F; }
.av2 { background: #FFDAD6; color: #93000A; }
.av3 { background: #E0E7FF; color: #3730A3; }
.pill { flex: none; font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #FEF3C7; color: #785A00; }
.pill-wa { background: #D9FDD3; color: #0A7A3E; }
.app-tabbar {
  margin: auto -14px 0; display: flex; justify-content: space-around; align-items: center;
  padding: 14px 10px 20px; background: #fff; border-top: 1px solid #F0ECF2;
}
.app-tabbar span { width: 22px; height: 5px; border-radius: 3px; background: #E5E7EB; }
.app-tabbar span.on { width: 30px; background: var(--yellow); }

/* Floating cards around the phone */
.float-card {
  position: absolute; z-index: 4; transform: translateZ(70px);
  background: #fff; border: 1px solid rgba(24, 24, 27, .06); border-radius: 18px;
  box-shadow: var(--shadow); padding: 12px 14px; font-size: 13px; line-height: 1.45;
  animation: pop .7s var(--ease) backwards, bob 6s ease-in-out infinite;
}
@keyframes pop { from { opacity: 0; scale: .6; } }
@keyframes bob { 50% { translate: 0 -10px; } }
.float-card b { display: block; font-size: 13.5px; color: var(--ink); }
.float-card small { display: block; font-size: 11.5px; color: var(--muted); }
.fc-wa { width: 252px; left: -124px; bottom: 30px; animation-delay: 1.7s, 0s; }
.fc-wa-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 11px; font-weight: 700; color: #128C7E; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
.fc-wa p { margin: 0; color: #1B1B1E; }
.fc-wa b { display: inline; font-size: inherit; }
.ticks { float: right; margin-top: 3px; font-size: 11px; font-weight: 800; letter-spacing: -3px; color: #34B7F1; }
.fc-paid { left: -132px; top: 206px; display: flex; align-items: center; gap: 10px; animation-delay: 2.15s, 1.2s; }
.fc-sent { right: -86px; top: 34px; display: flex; align-items: center; gap: 10px; animation-delay: 2.55s, 2.4s; }
.fc-icon { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; }
.fc-icon-green { background: #D6F5DE; color: #006D2F; font-size: 17px; }
.fc-icon-yellow { background: var(--yellow); }
.fc-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── Moving band ───────── */
.band {
  position: relative; z-index: 2; overflow: hidden; margin: -10px -20px 0; padding: 19px 0;
  background: var(--ink); color: #fff; rotate: -1.4deg;
  box-shadow: 0 20px 40px -20px rgba(24, 24, 27, .5);
}
.band-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.band:hover .band-track { animation-play-state: paused; }
.band ul { display: flex; list-style: none; margin: 0; padding: 0; }
.band li {
  display: flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap;
  font: 700 21px/1 var(--font-display); letter-spacing: -.01em;
}
.band li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--yellow); rotate: 45deg; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Scroll reveal ───────── */
.js .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ───────── Before / after ───────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  display: grid; gap: 18px; padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.tag-before { background: #FDECEA; color: #B42318; }
.tag-after { background: #D6F5DE; color: #006D2F; }
.why-before p { margin: 12px 0 0; color: var(--muted); }
.why-before p span { background: linear-gradient(#D9534F, #D9534F) no-repeat 0 58% / 0% 2px; transition: background-size .9s var(--ease) .6s; }
.why-card.in .why-before p span { background-size: 100% 2px; }
.why-after { border-top: 1px dashed var(--line); padding-top: 18px; }
.js .why-after { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0s) + 1.2s); }
.js .why-card.in .why-after { opacity: 1; transform: none; }
.why-after p { margin: 12px 0 0; font-size: 17px; font-weight: 600; color: var(--ink); }

/* ───────── Features ───────── */
.features { background: linear-gradient(180deg, var(--bg) 0%, #FFF7DC 100%); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: translate .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { translate: 0 -4px; box-shadow: var(--shadow); border-color: #E0D9CB; }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(250, 204, 21, .16), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.card p { margin: 0; color: var(--muted); }
.card-copy { position: relative; }
.icon-badge { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; }
.icon-badge svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ib-yellow { background: var(--yellow); color: var(--ink); }
.ib-green { background: #D9FDD3; color: #0A7A3E; }
.ib-teal { background: #CCFBF1; color: #0F766E; }
.ib-orange { background: #FFEDD5; color: #C2410C; }
.ib-green2 { background: #DCFCE7; color: #15803D; }
.ib-blue { background: #DBEAFE; color: #1D4ED8; }
.ib-dark { background: var(--ink); color: var(--yellow); }

.f-members { grid-column: span 7; display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: center; }
.f-remind { grid-column: span 5; }
.f-install { grid-column: span 5; }
.f-msgs { grid-column: span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.f-import, .f-dash, .f-offline { grid-column: span 4; }

/* Member status */
.split { display: flex; gap: 3px; height: 14px; margin-bottom: 18px; border-radius: 999px; overflow: hidden; background: #F1EEE8; }
.split i { display: block; height: 100%; transform-origin: left; transition: transform 1s var(--ease); }
.js .split i { transform: scaleX(0); }
.js .in .split i { transform: none; }
.split i:nth-child(1) { transition-delay: .3s; } .split i:nth-child(2) { transition-delay: .5s; }
.split i:nth-child(3) { transition-delay: .7s; } .split i:nth-child(4) { transition-delay: .9s; }
.s-active { flex: 58; background: var(--active); }
.s-upcoming { flex: 9; background: var(--upcoming); }
.s-inactive { flex: 20; background: var(--inactive); }
.s-lost { flex: 13; background: var(--lost); }
.status-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.status-list li {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: #FBF8F1; font-size: 14px;
}
.status-list li span:last-child { text-align: right; font-size: 13px; color: var(--muted); }
.dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; }
.d-active { background: var(--active); } .d-upcoming { background: var(--upcoming); }
.d-inactive { background: var(--inactive); } .d-lost { background: var(--lost); }

/* Reminder bubbles */
.bubbles {
  margin-top: 22px; padding: 16px; border-radius: 18px; display: grid; gap: 10px;
  background-color: #EFEAE2;
  background-image: radial-gradient(rgba(0, 0, 0, .05) 1.2px, transparent 1.2px);
  background-size: 15px 15px;
}
.bubble {
  max-width: 92%; padding: 10px 12px 8px; border-radius: 4px 14px 14px 14px;
  background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .07); font-size: 14px; line-height: 1.45; color: #111B21;
}
.bubble b { color: #128C7E; }
.bubble .ticks { margin-left: 8px; }
.js .f-remind .bubble { opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .f-remind.in .bubble { opacity: 1; transform: none; }
.f-remind .bubble:nth-child(1) { transition-delay: .45s; }
.f-remind .bubble:nth-child(2) { transition-delay: 1s; justify-self: start; }

/* Installments */
.install-demo { margin-top: 24px; display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; }
.ring { grid-area: 1 / 1; width: 120px; height: 120px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring-bg { stroke: #F1EEE8; }
.ring-fg { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 104.72; transition: stroke-dashoffset 1.4s var(--ease) .35s; }
.js .f-install:not(.in) .ring-fg { stroke-dashoffset: 314.16; }
.ring-label { grid-area: 1 / 1; display: grid; place-content: center; text-align: center; }
.ring-label b { font: 800 22px/1 var(--font-display); color: var(--ink); }
.ring-label small { font-size: 12px; color: var(--muted); }
.parts { grid-area: 1 / 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.parts li {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 12px; background: #FBF8F1; font-size: 14px; font-weight: 600;
}
.parts small { font-size: 12px; font-weight: 600; white-space: nowrap; }
.parts .paid span::before { content: "✓ "; color: #15803D; }
.parts .paid small { color: #15803D; }
.parts .due { background: #FFF6D6; }
.parts .due small { color: #A16207; }

/* Gym messages */
.msg-demo { padding: 16px; border-radius: 18px; background: #FBF8F1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip {
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text);
  font: 600 12.5px/1 var(--font-body); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.msg-preview { display: grid; padding: 15px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.mp { grid-area: 1 / 1; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mp.on { opacity: 1; transform: none; }
.mp-foot { grid-area: 2 / 1; display: flex; gap: 8px; margin-top: 14px; }
.mp-btn { padding: 7px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.mp-btn.ghost { background: transparent; border: 1px solid var(--line); }

/* Excel import */
.sheet { margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px; }
.sheet .row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--line); }
.sheet .row span { padding: 8px 10px; border-left: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .row span:first-child { border-left: 0; }
.sheet .head { border-top: 0; background: #E7F6EC; color: #15803D; font-weight: 700; }
.js .f-import .row:not(.head) { opacity: 0; transform: translateX(-16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .f-import.in .row:not(.head) { opacity: 1; transform: none; }
.f-import .row:nth-child(2) { transition-delay: .35s; }
.f-import .row:nth-child(3) { transition-delay: .5s; }
.f-import .row:nth-child(4) { transition-delay: .65s; }

/* Calendar */
.cal { margin-top: 20px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal span { font-size: 11px; font-weight: 700; color: var(--muted); }
.cal i { position: relative; aspect-ratio: 1; border-radius: 9px; background: #FBF8F1; }
.cal i.ev::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--yellow-deep);
}
.cal i.today { background: var(--ink); animation: todayPulse 2.4s infinite; }
.cal i.today::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: var(--yellow); }
@keyframes todayPulse {
  0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, .7); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(250, 204, 21, 0); }
}

/* Offline */
.offline-bar {
  margin-top: 20px; display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: 12px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600;
}
.off-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--inactive); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ib-dark .slash { stroke: #F87171; stroke-dasharray: 23; stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease) .5s; }
.js .f-offline:not(.in) .slash { stroke-dashoffset: 23; }

/* Smaller features */
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.mini { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .65); border: 1px solid var(--line); }
.mini-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--yellow-soft); }
.mini-icon svg { width: 21px; height: 21px; fill: none; stroke: #8A6A00; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mini h4 { margin: 0 0 4px; font: 700 16px/1.25 var(--font-display); color: var(--ink); }
.mini p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ───────── Reminders (dark) ───────── */
.reminders { background: var(--ink); color: #E9E7EE; overflow: hidden; isolation: isolate; }
.rem-glow {
  position: absolute; z-index: -1; width: 820px; height: 820px; top: -320px; left: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, .17), transparent 62%);
  animation: drift 20s ease-in-out infinite alternate; pointer-events: none;
}
.reminders::after {
  content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -260px; bottom: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 163, 143, .22), transparent 62%); pointer-events: none;
}
.reminders h2 { color: #fff; }
.hl-y { color: var(--yellow); }
.rem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rem-lead { max-width: 520px; margin: 0 0 30px; font-size: 18px; color: #B9B6C0; }

.timeline { --p: 0; position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 15px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px;
}
.timeline::before { background: rgba(255, 255, 255, .12); }
.timeline::after { background: var(--yellow); transform-origin: top; transform: scaleY(var(--p)); transition: transform .7s var(--ease); }
.timeline button {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: grid; grid-template-columns: 32px 1fr; column-gap: 14px;
  padding: 10px 12px 10px 0; border-radius: 14px; transition: background-color .3s;
}
.timeline button:hover { background: rgba(255, 255, 255, .04); }
.timeline button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.t-dot {
  grid-row: span 2; position: relative; z-index: 1; width: 14px; height: 14px; margin: 5px 0 0 9px; border-radius: 50%;
  background: var(--ink); border: 2px solid rgba(255, 255, 255, .3);
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.timeline b { font: 700 17px/1.35 var(--font-display); color: #fff; opacity: .5; transition: opacity .3s; }
.timeline button > span:last-child { font-size: 14.5px; color: #A9A6B1; opacity: .6; transition: opacity .3s; }
.timeline li.past .t-dot { background: var(--yellow); border-color: var(--yellow); }
.timeline li.past b { opacity: .8; }
.timeline li.on .t-dot { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 7px rgba(250, 204, 21, .18); }
.timeline li.on b, .timeline li.on button > span:last-child { opacity: 1; }

.rem-chat { display: flex; justify-content: center; }
.chat {
  width: 100%; max-width: 430px; border-radius: 30px; overflow: hidden; background: #EFEAE2;
  box-shadow: 0 50px 90px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .07);
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; background: var(--teal-deep); color: #fff; }
.chat-head img { border-radius: 50%; background: var(--yellow); }
.chat-head b { display: block; font-size: 15.5px; }
.chat-head small { display: block; font-size: 12px; opacity: .8; }
.chat-body {
  min-height: 560px; padding: 16px 16px 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  background-image: radial-gradient(rgba(0, 0, 0, .05) 1.2px, transparent 1.2px); background-size: 16px 16px;
}
.day-chip {
  align-self: center; margin-bottom: auto; padding: 5px 12px; border-radius: 8px;
  background: #fff; color: #54656F; font-size: 12px; font-weight: 600; box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}
.cmsg {
  align-self: flex-start; max-width: 88%; padding: 9px 12px 6px; border-radius: 4px 14px 14px 14px;
  background: #fff; color: #111B21; font-size: 14.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.js .cmsg { display: none; }
.js .cmsg.show { display: block; animation: msgIn .5s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.cmsg p { margin: 0; }
.cmsg time { display: block; margin-top: 2px; text-align: right; font-size: 11px; color: #667781; }
.typing {
  align-self: flex-start; display: flex; gap: 4px; padding: 13px 15px; border-radius: 4px 14px 14px 14px;
  background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); animation: msgIn .3s var(--ease);
}
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA5AB; animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ───────── How it works ───────── */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 17%; right: 17%; height: 2px;
  background-image: linear-gradient(90deg, var(--yellow-deep) 55%, transparent 55%); background-size: 14px 2px;
  animation: dash .9s linear infinite;
}
@keyframes dash { to { background-position: 14px 0; } }
.how { padding-bottom: 72px; }
.step { position: relative; padding: 0 10px; text-align: center; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 22px;
  border-radius: 20px; background: var(--yellow); color: var(--ink); font: 800 25px/1 var(--font-display);
  box-shadow: 0 12px 26px -12px rgba(234, 179, 8, .9), inset 0 -3px 0 rgba(0, 0, 0, .08);
  rotate: -6deg; transition: rotate .4s var(--ease), scale .4s var(--ease);
}
.step:hover .step-num { rotate: 0deg; scale: 1.08; }
.step p { max-width: 310px; margin: 0 auto; color: var(--muted); }

/* ───────── Pricing ───────── */
.pricing { background: linear-gradient(180deg, var(--bg) 0%, #FFF5D1 55%, var(--bg) 100%); }
.price-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 24px; max-width: 1020px; margin: 0 auto; }
.price-card {
  position: relative; overflow: hidden; isolation: isolate; padding: 38px; border-radius: 30px;
  background: var(--ink); color: #E9E7EE; box-shadow: var(--shadow-lg);
}
.price-card::before {
  content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; top: -150px; right: -130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, .32), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
.ribbon { display: inline-block; margin-bottom: 18px; padding: 7px 13px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 800; }
.price-card h3 { color: #fff; font-size: 24px; }
.price { display: flex; align-items: flex-end; margin: 4px 0 14px; color: #fff; }
.price .cur { font: 700 32px/1 var(--font-display); margin: 0 4px 14px 0; }
.amt { font: 800 100px/.9 var(--font-display); letter-spacing: -.045em; }
.per { margin: 0 0 10px 14px; font-size: 15px; line-height: 1.3; color: #B9B6C0; }
.price-note { margin: 0 0 24px; font-size: 14.5px; color: #B9B6C0; }
.price-note b { color: #fff; }
.checks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 11px; }
.checks li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; }
.checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price-card .btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 26px -12px rgba(250, 204, 21, .7); }
.price-card .btn-primary:hover { background: var(--yellow-2); }

.calc-card { padding: 38px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-hint { margin: 0 0 24px; color: var(--muted); }
.calc-label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--ink); }
.range-row { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
input[type="range"] {
  --fill: 15%; flex: 1; min-width: 0; height: 8px; margin: 0; border-radius: 999px; cursor: pointer;
  -webkit-appearance: none; appearance: none; outline: none;
  background: linear-gradient(90deg, var(--yellow) var(--fill), #F1EEE8 var(--fill));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); border: 6px solid var(--yellow); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: transform .2s var(--ease);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 6px solid var(--yellow); box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: 3px solid rgba(234, 179, 8, .6); outline-offset: 8px; }
output {
  min-width: 72px; padding: 10px 12px; border-radius: 12px; text-align: center;
  background: var(--yellow-soft); color: var(--ink); font: 800 22px/1 var(--font-display); font-variant-numeric: tabular-nums;
}
.calc-result { margin-bottom: 16px; padding: 24px; border-radius: 22px; background: var(--yellow); text-align: center; }
.calc-result small { display: block; font-weight: 600; color: var(--yellow-ink); }
.calc-result b {
  display: block; margin: 4px 0; font: 800 clamp(46px, 6vw, 62px)/1.05 var(--font-display);
  letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.calc-result .cur { font-size: .55em; vertical-align: .45em; margin-right: 2px; }
.calc-day { margin: 0 0 22px; text-align: center; font-size: 14.5px; color: var(--muted); }
.calc-day b { color: var(--ink); }
.calc-legend {
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.calc-legend b { color: var(--ink); }
.calc-legend .dot { margin-right: 6px; }

/* ───────── FAQ ───────── */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq .section-head { position: sticky; top: 112px; margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .3s, box-shadow .3s;
}
.faq-list details[open] { border-color: #E0D9CB; box-shadow: var(--shadow-sm); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer; padding: 20px 64px 20px 22px;
  font: 700 17px/1.35 var(--font-display); color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--yellow-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: rotate .35s var(--ease), background-color .3s;
}
.faq-list details[open] summary::after { rotate: 45deg; background-color: var(--yellow); }
.faq-a { padding: 0 22px 22px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-a b { color: var(--ink); }

/* ───────── Download ───────── */
.cta { padding: 30px 0 120px; }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: center;
  padding: 64px; border-radius: 36px; background: var(--yellow);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(24, 24, 27, .09) 1.4px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.cta-box h2 { font-size: clamp(34px, 4.4vw, 54px); }
.cta-box p { max-width: 520px; margin: 0 0 30px; font-size: 19px; color: var(--yellow-ink); }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px 12px 18px; border-radius: 16px;
  background: var(--ink); color: #fff; box-shadow: 0 16px 30px -14px rgba(24, 24, 27, .7);
}
.store-badge svg { width: 28px; height: 28px; fill: var(--yellow); }
.store-badge small { display: block; font-size: 11.5px; letter-spacing: .02em; opacity: .75; }
.store-badge b { display: block; font: 700 19px/1.15 var(--font-display); }
.cta-art { position: relative; display: grid; place-items: center; }
.cta-beetle {
  position: relative; z-index: 1; width: 100%; max-width: 250px; height: auto;
  filter: drop-shadow(0 30px 26px rgba(61, 46, 0, .35));
  animation: beetle 5s ease-in-out infinite;
}
@keyframes beetle {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  25% { transform: rotate(-3deg) translateY(-14px); }
  50% { transform: rotate(6deg) translateY(0); }
  75% { transform: rotate(2deg) translateY(-8px); }
}
.ring-pulse, .ring-pulse::after {
  position: absolute; width: 230px; height: 230px; border-radius: 50%; border: 2px solid rgba(24, 24, 27, .16);
  animation: ringOut 3.2s var(--ease) infinite;
}
.ring-pulse::after { content: ""; inset: -2px; animation-delay: 1.6s; }
@keyframes ringOut { from { scale: .55; opacity: 1; } to { scale: 1.5; opacity: 0; } }

/* ───────── Footer ───────── */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { font-weight: 500; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-copy { margin: 0; font-size: 14px; color: var(--muted); }

/* ───────── Laptop and tablet ───────── */
@media (max-width: 1100px) {
  .fc-wa { left: -80px; }
  .fc-paid { left: -80px; }
  .fc-sent { right: -40px; }
  .f-members, .f-msgs { grid-template-columns: 1fr; gap: 22px; }
  .minis { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 14px 16px 22px;
    background: rgba(255, 253, 247, .97); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(24, 24, 27, .35);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; translate: 0 -12px;
    transition: opacity .3s var(--ease), translate .3s var(--ease), visibility 0s .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s var(--ease), translate .3s var(--ease); }
  .nav-links a:not(.btn) { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav-cta-menu { display: inline-flex; margin-top: 10px; padding: 16px; }
  .nav-cta { margin-left: auto; }
  .menu-btn { display: block; }
  .nav.menu-open { background: rgba(255, 253, 247, .97); box-shadow: 0 1px 0 var(--line); }

  .hero { padding: 112px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { min-height: 650px; }

  .why-grid { grid-template-columns: 1fr; }
  .f-members, .f-remind, .f-install, .f-msgs, .f-offline { grid-column: span 12; }
  .f-import, .f-dash { grid-column: span 6; }

  .rem-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq .section-head { position: static; margin-bottom: 32px; }
  .cta-box { grid-template-columns: 1fr; padding: 48px 28px; text-align: center; }
  .cta-box p { margin-left: auto; margin-right: auto; }
  .store-row { justify-content: center; }
  .cta-art { order: -1; }
  .cta-beetle { max-width: 170px; }
  .ring-pulse, .ring-pulse::after { width: 170px; height: 170px; }
}

/* ───────── Phone ───────── */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .sub { font-size: 16.5px; }
  .hero-title { font-size: clamp(42px, 12vw, 58px); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual { min-height: 590px; }
  .phone { width: 272px; height: 566px; border-radius: 46px; }
  .screen { border-radius: 36px; padding-top: 46px; }
  .fc-wa { width: 214px; left: -34px; bottom: 16px; font-size: 12px; }
  .fc-paid { left: -34px; top: 184px; }
  .fc-sent { right: -30px; top: 22px; }
  .band li { font-size: 17px; }
  .card { padding: 22px; }
  .f-import, .f-dash { grid-column: span 12; }
  .minis { grid-template-columns: 1fr; }
  .install-demo { grid-template-columns: 104px 1fr; gap: 16px; }
  .ring { width: 104px; height: 104px; }
  .status-list li { grid-template-columns: auto auto; }
  .status-list li span:last-child { grid-column: 2; text-align: left; margin-top: -8px; }
  .chat-body { min-height: 600px; }
  .price-card, .calc-card { padding: 28px 22px; }
  .amt { font-size: 84px; }
  .calc-legend { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 16px; padding: 18px 58px 18px 18px; }
  .faq-a { padding: 0 18px 20px; }
  .cta { padding-bottom: 72px; }
  .cta-box { border-radius: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 359px) {
  .nav-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .fc-paid { left: -18px; }
  .fc-wa { left: -18px; }
  .fc-sent { right: -16px; }
}

/* ───────── Less motion ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ───────── Page not found ───────── */
.nf {
  min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px;
  padding: 40px 16px; text-align: center;
  background: radial-gradient(700px 400px at 50% 20%, #FFF2B8, transparent 70%);
}
.nf h1 { margin: 10px 0 0; font: 800 clamp(34px, 6vw, 52px)/1.05 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.nf p { margin: 0 0 14px; color: var(--muted); font-size: 18px; }
.nf-beetle { width: 150px; height: auto; animation: beetle 5s ease-in-out infinite; filter: drop-shadow(0 20px 20px rgba(61, 46, 0, .3)); }
