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

:root {
  --bg: #0c0e1a;
  --bg2: #111326;
  --bg3: #161830;
  --line: rgba(255, 255, 255, .07);
  --line2: rgba(255, 255, 255, .11);
  --muted: #3e4270;
  --sub: #6b71a8;
  --body: #a0a6d6;
  --head: #e8eaff;
  --white: #fff;
  --acc: #5865f2;
  --acc2: #818cf8;
  --green: #23d18b;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  background: rgba(12, 14, 26, .85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--white);
  letter-spacing: -.5px;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo-mark {
  width: 42px;
  height: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 0;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  padding: 7px 14px;
  transition: color .15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--head);
}

.nav-dl {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--acc);
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  cursor: pointer;
  margin-left: 12px;
  transition: background .15s;
  font-family: "Inter", sans-serif;
}

.nav-dl:hover { background: #4752c4; }

main {
  padding-top: 54px;
}

.hero,
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.hero {
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 42px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(88, 101, 242, .08) 0%, transparent 60%),
    var(--bg);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow,
.section-kicker,
.command-label,
.cmd-label,
.layout-title {
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker,
.command-label,
.cmd-label {
  color: var(--muted);
}

.hero h1,
.section-head h2 {
  font-family: "Unbounded", sans-serif;
  color: var(--white);
  letter-spacing: -2px;
  line-height: .98;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 4.8rem);
  max-width: 760px;
}

.lede {
  max-width: 680px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--sub);
}

.lede strong {
  color: var(--body);
  font-weight: 600;
}

.command-wrap,
.hero-facts {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}

.command-wrap {
  padding: 22px 22px 20px;
  align-self: center;
}

.command-bar,
.mini-command {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  background: #0a0c17;
  padding: 14px 14px 14px 16px;
}

.command-bar code,
.mini-command code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  color: var(--head);
  word-break: break-all;
}

.command-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sub);
}

.copy-btn {
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.04);
  color: var(--head);
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  width: 78px;
  min-width: 78px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  text-align: center;
}

.copy-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.copy-btn.small {
  width: 64px;
  min-width: 64px;
  padding: 8px 12px;
}

.copy-btn.done {
  color: var(--green);
  border-color: rgba(35, 209, 139, .35);
}

.hero-facts {
  display: grid;
  grid-template-columns: 1fr;
}

.fact-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.fact-row:last-child { border-bottom: none; }

.fact-key {
  font-size: 12px;
  font-weight: 600;
  color: var(--head);
}

.fact-value {
  font-size: 13px;
  line-height: 1.6;
  color: var(--sub);
}

.section {
  padding-top: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  margin-top: 10px;
  max-width: 700px;
}

.plain-list {
  border-top: 1px solid var(--line);
}

.plain-item,
.cmd-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.plain-index,
.step-no {
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  color: var(--acc2);
}

.plain-item h3,
.step h3,
.faq-item h3 {
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.plain-item p,
.step p,
.cmd-row p,
.faq-item p,
.layout-note {
  color: var(--sub);
  font-size: 14px;
  line-height: 1.8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 30px 30px 34px;
  border-right: 1px solid var(--line);
}

.step:last-child { border-right: none; }

.step-no {
  display: inline-block;
  margin-bottom: 10px;
}

.step h3 {
  margin-bottom: 0;
  max-width: 18ch;
}

.step p {
  max-width: 32ch;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}

.layout-col {
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}

.layout-col:last-child { border-right: none; }

.layout-title {
  color: var(--acc2);
  margin-bottom: 18px;
}

.channel-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.channel-list li {
  color: var(--head);
  font-size: 15px;
  font-weight: 500;
  padding-left: 18px;
  position: relative;
}

.channel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--muted);
}

.layout-note {
  margin-top: 16px;
}

.command-list {
  border-top: 1px solid var(--line);
}

.cmd-row {
  grid-template-columns: minmax(0, 420px) 1fr;
}

.cmd-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  display: block;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  display: block;
  margin-bottom: 10px;
  max-width: none;
}

.faq-item p {
  display: block;
  max-width: 760px;
}

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 40px 70px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.foot-logo {
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--head);
  letter-spacing: -.04em;
  display: flex;
  align-items: center;
  gap: 9px;
}

.foot-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.foot-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.foot-links a,
.foot-copy {
  font-size: 12px;
  color: var(--muted);
}

.foot-links a:hover { color: var(--head); }

.r {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}

.r.on {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .hero,
  .steps,
  .layout-grid,
  .cmd-row {
    grid-template-columns: 1fr;
  }

  .step,
  .layout-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .layout-col:last-child,
  .step:last-child {
    border-bottom: none;
  }

  .step h3,
  .step p {
    max-width: none;
  }
}

@media (max-width: 720px) {
  nav {
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .nav-dl {
    margin-left: 8px;
    padding: 8px 14px;
  }

  .hero,
  .section,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 50px;
    gap: 26px;
  }

  .plain-item,
  .cmd-row,
  .faq-item,
  .fact-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .command-bar,
  .mini-command {
    grid-template-columns: 1fr;
  }

  .copy-btn,
  .copy-btn.small {
    width: 100%;
  }
}
