/* BJJ Run showcase page: the app's Dark theme colours, nothing to build. */
:root {
  --bg: #0b0d11;
  --bg2: #12151b;
  --card: #1a1e25;
  --line: #2a2f39;
  --text: #e8ebf0;
  --dim: #9aa1ae;
  --accent: #6ea8fe;
  --theirs: #e46ad4;
  --gold: #e5b642;
  --good: #4fc3a1;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #1b2333 0%, var(--bg) 60%) no-repeat, var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial,
    "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Malgun Gothic", "Microsoft YaHei", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }

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

/* --- header ---------------------------------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 14px;
  padding: 12px max(16px, calc((100% - 1160px) / 2));
  background: rgba(11, 13, 17, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px;
}

.brand img { border-radius: 8px; }

.badge {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(229, 182, 66, 0.45); border-radius: 999px; padding: 2px 10px;
}

.grow { flex: 1; }

.language { min-width: 0; }

.language select {
  max-width: 100%;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 7px 10px; font: inherit; font-size: 15px;
}

.button {
  display: inline-block;
  background: var(--accent); color: #08101f;
  font-weight: 700; text-decoration: none;
  padding: 14px 26px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(110, 168, 254, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(110, 168, 254, 0.35); }

.button.small { padding: 8px 16px; border-radius: 10px; box-shadow: none; }

/* --- sections ----------------------------------------------------------------------------- */

main { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

.hero { text-align: center; padding: 72px 0 40px; }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1.1; margin: 0 auto 18px; max-width: 16em;
  letter-spacing: -0.01em;
}

.lead { font-size: clamp(18px, 2vw, 21px); color: var(--dim); max-width: 40em; margin: 0 auto 28px; }

.note { color: var(--dim); font-size: 14px; margin-top: 12px; }

.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02);
  background: var(--bg2);
}

.shot.wide { margin-top: 48px; }

.feature {
  display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center;
  padding: 64px 0;
}

.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .text { order: 2; }

.feature h2, .steps h2, .alpha h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin: 0 0 14px; }

.feature p { color: var(--dim); font-size: 18px; margin: 0; }

.cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  padding: 40px 0 64px;
}

.cards article {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 24px;
}

.cards h3 { margin: 10px 0 8px; font-size: 21px; line-height: 1.3; }

.cards p { margin: 0; color: var(--dim); }

.dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 14px var(--dot); }

.languages { margin-top: 14px !important; font-size: 14px; line-height: 1.9; }

.steps { text-align: center; padding: 40px 0 56px; }

.steps ol {
  list-style: none; padding: 0; margin: 28px auto 32px; max-width: 980px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; text-align: left; color: var(--text);
}

.steps li::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%;
  background: rgba(110, 168, 254, 0.14); color: var(--accent); font-weight: 700;
}

.alpha {
  max-width: 820px; margin: 0 auto 72px;
  border: 1px solid rgba(229, 182, 66, 0.4); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(229, 182, 66, 0.08), rgba(229, 182, 66, 0.02));
  padding: 26px 28px;
}

.alpha h2 { color: var(--gold); font-size: 22px; }

.alpha p { margin: 0; color: var(--dim); }

.alpha .contact { margin-top: 14px; color: var(--text); }

footer { text-align: center; color: var(--dim); font-size: 14px; padding: 28px 16px 40px; border-top: 1px solid var(--line); }

/* --- narrow screens ------------------------------------------------------------------------ */

@media (max-width: 820px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .feature.flip .text { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .steps ol { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .top { gap: 10px; }
  .badge { display: none; }
}

@media (max-width: 520px) {
  .brand span { display: none; }
  .top { gap: 8px; }
  .language { flex: 1; }
  .language select { width: 100%; }
  .grow { display: none; }
  .button.small { padding: 8px 12px; white-space: nowrap; }
  .hero h1 { overflow-wrap: anywhere; }
}
