/* Fonts */
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: #111827;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #e2e8f0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    #111827;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  text-align: center;
  padding: 80px 0 48px;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo {
  width: 1.6em;
  height: 1.6em;
}

.header .tagline {
  font-size: 1.1rem;
  color: #94a3b8;
}

/* Sections */
section {
  margin-bottom: 48px;
}

section h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #64748b;
  margin-bottom: 16px;
}

section p {
  color: #cbd5e1;
}

/* Code block */
.code-block {
  background: rgba(0, 0, 0, 0.4);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: 8px;
  padding: 20px;
  font-family: "SF Mono", "Fira Code", "Fira Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.after-code {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #64748b;
}

.after-code a {
  color: #94a3b8;
}

/* Features list */
.features ul {
  list-style: none;
  padding: 0;
}

.features li {
  padding: 6px 0;
  color: #cbd5e1;
  position: relative;
  padding-left: 20px;
}

.features li::before {
  content: "\00b7";
  position: absolute;
  left: 4px;
  color: #34d399;
  font-weight: bold;
}

/* Footer */
.footer {
  text-align: center;
  padding: 32px 0 64px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.9rem;
  color: #64748b;
}

.footer a {
  color: #94a3b8;
}

/* Links */
a {
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .header {
    padding: 48px 0 32px;
  }

  .header h1 {
    font-size: 1.6rem;
  }

  section {
    margin-bottom: 36px;
  }

  .code-block {
    font-size: 0.75rem;
    padding: 16px;
  }
}
