:root {
  --bg: #090d0b;
  --bg-raised: #121816;
  --bg-card: #171e1b;
  --line: rgba(0, 230, 118, 0.18);
  --text: #f3f7f4;
  --muted: #a7b5ad;
  --green: #00e676;
  --green-deep: #00c853;
  --ink: #07140d;
  --danger: #ff5a6a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1080px;
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(0, 230, 118, 0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(0, 200, 83, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--green);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 80;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 11, 0.86);
  backdrop-filter: blur(16px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.35);
}

.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--text);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.4), 0 10px 30px rgba(0, 230, 118, 0.18);
}

.btn-primary:hover {
  background: var(--green-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero {
  padding: 72px 0 36px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 230, 118, 0.08);
  color: var(--green);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  max-width: 14ch;
  margin-top: 18px;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.lede {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: 28px 0 10px;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.section-head p,
.prose p {
  color: var(--muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 14px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ai-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: inherit;
}

.ai-card:hover {
  border-color: rgba(0, 230, 118, 0.45);
}

.ai-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 800;
  color: #07140d;
}

.ai-card h3 {
  margin: 0;
  font-size: 1rem;
}

.ai-card .maker {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.ai-card p {
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.train-pill {
  display: inline-flex;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 58px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 230, 118, 0.12);
  color: var(--green);
  font-family: var(--display);
  font-weight: 800;
}

.band {
  margin: 36px auto;
  padding: 36px 28px;
  border-radius: 28px;
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 50%),
    linear-gradient(135deg, #00a85a, #00e676 55%, #7dffb8);
  color: var(--ink);
}

.band h2,
.band p {
  color: var(--ink);
}

.band p {
  max-width: 52ch;
  margin-top: 8px;
}

.band .btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: none;
  margin-top: 18px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--muted);
  margin: 8px 0 0;
}

.prose {
  padding: 48px 0 24px;
}

.prose h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: none;
}

.prose h2 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0e1411;
  border-radius: 12px;
  padding: 12px 14px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  min-height: 1.4em;
  color: var(--green);
  font-weight: 700;
}

.tg-btn svg,
.tg-banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tg-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(90deg, #229ed9, #0088cc);
  color: #fff;
}

.tg-banner strong,
.tg-banner span {
  display: block;
}

.tg-banner span span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
}

.tg-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tg-icon svg {
  width: 26px;
  height: 26px;
}

.install-app {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: #2979ff;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(41, 121, 255, 0.35);
}

.brand img {
  background: #07140d;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 860px) {
  .grid-3,
  .grid-2,
  .ai-grid {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .header-bar .btn {
    display: none;
  }
}
