/* FISAI Gym landing. Dark like the app (near-black + FISAI green), hand-written, no build. */

:root {
  --bg: #0c0e12;
  --surface: #14171d;
  --surface-2: #1b1f26;
  --hair: rgba(255, 255, 255, .11);
  --fg: #f5f5f7;
  --fg-2: #a1a1a6;
  --acc: #1e9e3c;
  --acc-2: #6aa33f;
  --acc-ink: #04150a;
  --acc-soft: rgba(30, 158, 60, .16);
  --r: 20px;
  --max: 1120px;
  --pad: clamp(20px, 5vw, 34px);
  --sec: clamp(64px, 10vw, 120px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

a { color: var(--acc-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 19px; margin-bottom: 8px; }
p { color: var(--fg-2); }
.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
section.wrap { padding-block: var(--sec); }
.sub { font-size: 19px; margin: 10px 0 36px; max-width: 60ch; }
.fine { font-size: 14px; }

.skip { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--acc); color: var(--acc-ink); border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

nav { position: sticky; top: 0; z-index: 50; background: rgba(12, 14, 18, .8); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.nav-in { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-size: 20px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.brand b { color: var(--acc-2); }
.nav-links { display: flex; gap: 20px; margin-left: 8px; }
.nav-links a { color: var(--fg-2); font-size: 15px; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--hair); border-radius: 999px; padding: 2px; }
.lang button { background: none; border: 0; color: var(--fg-2); font: inherit; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-acc { background: var(--acc); color: #fff; }
.btn-ghost { border-color: var(--hair); color: var(--fg); }
.btn-lg { padding: 14px 26px; font-size: 17px; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; padding-block: clamp(48px, 8vw, 110px); }
.kicker { color: var(--acc-2); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); margin-bottom: 22px; }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 54ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero-shot img { width: min(320px, 100%); margin-inline: auto; border-radius: 36px; border: 1px solid var(--hair); box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r); padding: 26px; }
.card ol { color: var(--fg-2); padding-left: 22px; display: grid; gap: 8px; }

.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.shots img { border-radius: 22px; border: 1px solid var(--hair); }
figcaption { text-align: center; color: var(--fg-2); font-size: 14px; margin-top: 10px; }

.panel { background: linear-gradient(160deg, var(--acc-soft), var(--surface) 60%); border: 1px solid var(--hair); border-radius: 28px; padding: clamp(28px, 5vw, 56px); text-align: center; }
.panel p { max-width: 62ch; margin: 14px auto 26px; font-size: 18px; }
.panel .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.panel .steps { text-align: left; max-width: 52ch; margin: 30px auto 0; padding-left: 26px; color: var(--fg-2); display: grid; gap: 10px; font-size: 16px; }
.panel .steps li::marker { color: var(--acc); font-weight: 700; }

footer { border-top: 1px solid var(--hair); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.foot p { font-size: 14px; }
.foot p + p { margin-top: 8px; }

@media (max-width: 960px) {
  .grid, .grid.two { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .shots figure:nth-child(n+4) { display: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lead, .fine { margin-inline: auto; }
  .cta { justify-content: center; }
  .hero-shot { order: -1; }
  .hero-shot img { width: min(240px, 70%); }
  .grid, .grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav-right .btn { display: none; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shots figure:nth-child(n+3) { display: none; }
}
