:root {
  --ink: #070019;
  --night: #0d0626;
  --deep: #1d064f;
  --brand: #5f4cfa;
  --brand-mid: #7d67f9;
  --brand-light: #7d6bff;
  --mint: #4dfed5;
  --coral: #ff4d4d;
  --fg: #f3f0f5;
  --muted: #9a91a1;
  --line: hsla(0, 0%, 100%, 0.08);
  --card: hsla(0, 0%, 100%, 0.02);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;
  --font-mono: ui-monospace, "IBM Plex Mono", monospace;
  --max: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

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

.glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 35%, rgba(95, 76, 250, 0.28), rgba(7, 0, 25, 0) 70%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 0, 25, 0.8);
  backdrop-filter: blur(12px);
}

.header-inner,
.wrap,
.article {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand:hover {
  color: #fff;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-nav a:not(.btn-primary) {
  color: var(--fg);
  text-decoration: none;
  font-size: 15px;
}

.header-nav a:not(.btn-primary):hover {
  color: #fff;
}

.header-cta {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 8px;
  text-align: center;
}

h1,
h2,
.h-section {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--fg);
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 500;
}

h2,
.h-section {
  margin: 72px 0 20px;
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 36px 0 14px;
}

p {
  margin: 0 0 18px;
  color: rgba(243, 240, 245, 0.88);
}

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 40rem;
}

.hero .lede {
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
}

.cta-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.example,
.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 24px;
  padding: 22px 24px;
  margin: 0 0 18px;
}

.example h3 {
  margin-top: 0;
}

blockquote {
  margin: 0;
  padding: 0;
  color: var(--fg);
  font-size: 16px;
  line-height: 1.7;
  white-space: pre-line;
}

.keyword {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.li-mock {
  text-align: left;
  max-width: 520px;
  margin: 40px auto 8px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
}

.li-post,
.li-comment {
  padding: 20px 22px;
}

.li-comment {
  border-top: 1px solid var(--line);
  background: hsla(0, 0%, 100%, 0.015);
}

.li-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.li-person strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

.li-meta {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-mid), var(--brand));
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.avatar-alt {
  background: linear-gradient(180deg, #3d3566, #2a2448);
}

.li-comment .keyword {
  margin: 0;
  font-size: 16px;
}

.li-dm {
  margin: 0 16px 16px;
  padding: 14px 16px;
  border-radius: 16px 16px 16px 6px;
  border: 1px solid rgba(95, 76, 250, 0.35);
  background: rgba(95, 76, 250, 0.16);
}

.li-dm-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.li-dm blockquote {
  font-size: 15px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 28px 0;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-mid), var(--brand));
  box-shadow: 0 10px 30px -12px rgba(95, 76, 250, 0.8);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  color: rgba(243, 240, 245, 0.9);
  background: hsla(0, 0%, 100%, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-ghost:hover {
  color: #fff;
  background: hsla(0, 0%, 100%, 0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 28px 0 8px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 24px;
  color: var(--muted);
  font-size: 14px;
}

.stats span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats b {
  color: var(--brand-light);
  font-weight: 600;
  font-size: 22px;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.steps {
  display: grid;
  gap: 12px;
}

.step-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 14px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 24px;
  padding: 20px 22px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  grid-row: 1 / span 2;
  border-radius: 10px;
  background: rgba(95, 76, 250, 0.18);
  color: var(--brand-light);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.step-card h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.step-card p {
  margin: 0;
  grid-column: 2;
}

.uses li {
  color: rgba(243, 240, 245, 0.88);
}

.uses {
  margin: 0;
  padding: 0;
  list-style: none;
}

.uses li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 0 0 10px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--fg);
  background: rgba(95, 76, 250, 0.12);
}

th:nth-child(3),
td:nth-child(3) {
  color: var(--mint);
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  color: var(--muted);
  font-weight: 500;
}

.mid-cta {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px solid rgba(95, 76, 250, 0.35);
  background: linear-gradient(180deg, rgba(95, 76, 250, 0.16), rgba(7, 0, 25, 0.2));
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 18px 20px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
}

.closing {
  margin: 80px 0 40px;
  padding: 36px 28px;
  border-radius: 24px;
  border: 1px solid rgba(95, 76, 250, 0.35);
  background: linear-gradient(180deg, rgba(95, 76, 250, 0.16), rgba(7, 0, 25, 0.2));
}

.closing h2 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer .wrap {
  width: min(var(--max), calc(100% - 40px));
}

.site-footer p {
  margin: 0 0 12px;
  color: var(--muted);
}

.site-footer p:last-child {
  margin-bottom: 0;
}

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

.footer-links a {
  color: var(--fg);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.article {
  padding: 56px 0 80px;
}

.article h1 {
  font-size: clamp(32px, 6vw, 52px);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
}

.crumb a {
  color: var(--muted);
  text-decoration: none;
}

.crumb a:hover {
  color: #fff;
}

.blog-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.blog-card {
  display: block;
  margin: 0;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.blog-card:hover {
  color: inherit;
  border-color: rgba(95, 76, 250, 0.45);
  background: rgba(95, 76, 250, 0.08);
}

.blog-card h2 {
  margin: 0;
  font-size: 22px;
}

.more-guides {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.more-guides h2 {
  margin-top: 0;
  font-size: 22px;
}

.more-guides ul {
  margin: 0;
  padding-left: 18px;
}

.ol-plain {
  margin: 0 0 18px;
  padding-left: 20px;
}

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .header-inner,
  .wrap,
  .article,
  .site-footer .wrap {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 62px;
    gap: 10px;
  }

  .hero {
    padding-top: 40px;
  }

  .brand {
    font-size: 13px;
  }

  .brand span.domain {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 34vw;
  }

  .header-nav {
    gap: 12px;
  }

  .header-nav a:not(.btn-primary) {
    font-size: 14px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary:not(.header-cta),
  .btn-ghost {
    width: 100%;
  }

  .hero-cta .btn-primary {
    width: auto;
    min-width: 180px;
  }

  .closing,
  .mid-cta {
    padding: 24px 18px;
  }

  .stats {
    padding: 18px 16px;
  }

  .stats b {
    font-size: 20px;
  }
}
