:root {
  --bg: #07110d;
  --bg-2: #0d1f17;
  --surface: #10241a;
  --ink: #f3f7f4;
  --muted: #9bb5a6;
  --green: #2f9e5b;
  --ember: #ff6b2c;
  --line: rgba(255, 255, 255, 0.1);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 44rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
}

.site::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 15% 0%, rgba(47, 158, 91, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(255, 107, 44, 0.1), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, #050a08 100%);
  z-index: -2;
}

.site::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
  pointer-events: none;
  z-index: -1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  background: rgba(7, 17, 13, 0.72);
  position: sticky;
  top: 0;
  z-index: 20;
}

.mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.mark span {
  color: var(--green);
}

.mark:hover {
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

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

.wrap {
  width: min(100% - 2.5rem, 52rem);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.hero {
  padding: 1rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.ember {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  margin-bottom: 1.25rem;
  background:
    radial-gradient(circle at 35% 30%, #fff3, transparent 40%),
    linear-gradient(145deg, var(--ember), #b93a10 55%, var(--green) 120%);
  box-shadow: 0 0 36px rgba(255, 107, 44, 0.28);
}

.hero h1,
.article h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.lede {
  max-width: 38rem;
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: #04140b;
}

.btn-primary:hover {
  background: #3bb86c;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.section {
  margin-bottom: 2.75rem;
}

.section h2,
.article h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.section h3,
.article h3 {
  font-size: 1.1rem;
  margin: 1.4rem 0 0.55rem;
}

.section p,
.article p,
.section li,
.article li {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.section strong,
.article strong {
  color: var(--ink);
  font-weight: 700;
}

.section ul,
.article ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.section li,
.article li {
  margin-bottom: 0.45rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
  background: rgba(16, 36, 26, 0.65);
}

.feature h3 {
  margin-top: 0;
  color: var(--ink);
}

.guide-list {
  display: grid;
  gap: 0.85rem;
}

.guide-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
  background: rgba(16, 36, 26, 0.55);
  color: var(--ink);
  text-decoration: none;
}

.guide-list a:hover {
  border-color: rgba(47, 158, 91, 0.55);
}

.guide-list span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

.article {
  max-width: var(--max);
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.8125rem;
}

.site-footer a {
  color: var(--muted);
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }
}
