/* Gymnoid public site. No JavaScript, no external requests, system fonts. */

:root {
  color-scheme: dark light;
  --bg: #0a0e13;
  --bg-2: #0f151c;
  --card: #131b24;
  --line: #1f2b39;
  --ink: #eaf1f8;
  --soft: #aab8c8;
  --mute: #8394a8;
  --mint: #3df2d0;
  --mint-ink: #04211c;
  --glow: rgba(61, 242, 208, 0.13);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1120px;
  --font: "Inter var", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8fb;
    --bg-2: #eaf0f5;
    --card: #ffffff;
    --line: #d9e3ec;
    --ink: #0d1720;
    --soft: #3e5165;
    --mute: #5a6c80;
    --mint: #0e5a49;
    --mint-ink: #ffffff;
    --glow: rgba(14, 90, 73, 0.1);
    --shadow: 0 18px 40px rgba(16, 38, 56, 0.12);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
/* Icons come from the sprite in index.html; sizes are set where they are used. */
.ic {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px;
  background: var(--mint); color: var(--mint-ink); border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 156px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; color: var(--soft); font-size: 15px; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--mint); color: var(--mint-ink); box-shadow: 0 8px 26px var(--glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px var(--glow); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--mint); }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 10px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 84px 0 96px;
  background:
    radial-gradient(900px 420px at 78% -8%, var(--glow), transparent 70%),
    radial-gradient(700px 380px at 6% 40%, var(--glow), transparent 70%),
    var(--bg);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 18px;
}
h1 {
  font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 850;
}
h1 .hl { color: var(--mint); }
.lead { margin-top: 22px; font-size: clamp(18px, 2vw, 21px); color: var(--soft); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--mute); font-size: 15px; font-weight: 600; }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure .ic { width: 18px; height: 18px; color: var(--mint); }

.stack { display: grid; gap: 14px; position: relative; }
.stack-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.chip {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.chip:nth-child(3) { margin-left: 28px; }
.chip:nth-child(4) { margin-left: 8px; }
.chip .badge { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--glow); color: var(--mint); }
.chip .badge .ic { width: 24px; height: 24px; }
.chip b { display: block; font-size: 16px; line-height: 1.3; }
.chip span { display: block; font-size: 14px; color: var(--mute); line-height: 1.4; }

/* ---------- sections ---------- */
section { padding: 92px 0; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 40em; margin-bottom: 52px; }
.head.center { margin-inline: auto; text-align: center; }
h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 820; }
.head p { margin-top: 16px; color: var(--soft); font-size: 19px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.card {
  padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--mint) 55%, var(--line)); transform: translateY(-2px); }
.ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--glow); color: var(--mint); margin-bottom: 18px; }
.ico .ic { width: 26px; height: 26px; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 750; }
.card p { margin-top: 10px; color: var(--soft); font-size: 16px; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 50%; background: var(--mint); color: var(--mint-ink); font-weight: 800;
}
.step p { margin-top: 10px; color: var(--soft); font-size: 16px; }

/* ---------- member app split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ticks { margin-top: 26px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; color: var(--soft); }
.ticks .ic { flex: none; width: 24px; height: 24px; color: var(--mint); margin-top: 2px; }
.ticks b { color: var(--ink); }
.panel {
  padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
}
.panel .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.panel .row:last-child { border-bottom: 0; padding-bottom: 0; }
.panel .row:first-of-type { padding-top: 0; }
.panel .k { font-weight: 700; }
.panel .v { color: var(--mute); font-size: 15px; text-align: right; }
.tag { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--glow); color: var(--mint); }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); align-items: stretch; max-width: 980px; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px 28px 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
}
.plan.featured { border: 1.5px solid var(--mint); box-shadow: 0 24px 60px var(--glow); }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--mint); color: var(--mint-ink); }
.plan .seats { margin-top: 6px; color: var(--soft); font-weight: 600; }
.price { margin: 16px 0 4px; font-size: 44px; line-height: 1.1; font-weight: 850; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; font-weight: 600; color: var(--mute); letter-spacing: 0; }
.plan .ticks { margin: 22px 0 28px; gap: 12px; font-size: 15.5px; }
.plan .btn { margin-top: auto; }
.more {
  max-width: 760px; margin: 28px auto 0; padding: 20px 24px; text-align: center; color: var(--soft);
  border: 1px dashed var(--line); border-radius: 14px;
}
.more a { color: var(--mint); font-weight: 700; }
.rate { font-weight: 800; color: var(--ink); }
.fine { max-width: 760px; margin: 18px auto 0; text-align: center; color: var(--mute); font-size: 14.5px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 18px; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(45deg); transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { padding: 0 22px 22px; color: var(--soft); }

/* ---------- final cta + footer ---------- */
.final { text-align: center; }
.final .cta-row { justify-content: center; }
.final p { margin: 16px auto 0; color: var(--soft); font-size: 19px; max-width: 34em; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--mute); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot img { width: 120px; height: auto; display: block; }
.foot a { color: var(--soft); }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.nf h1 { font-size: clamp(34px, 6vw, 56px); }
.nf p { margin: 16px 0 28px; color: var(--soft); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 44px; }
  .grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan.featured { order: -1; }
  .nav a:not(.btn) { display: none; }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .chip:nth-child(3), .chip:nth-child(4) { margin-left: 0; }
  .brand img { width: 132px; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
