@font-face {
  font-family: "Minecraftia";
  src: url("fonts/Minecraftia.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg-0: #0b0d11;
  --bg-1: #11141a;
  --bg-2: #171b22;
  --bg-3: #1e232c;
  --line: #222832;
  --line-strong: #313844;
  --ink: #e8ebf0;
  --ink-2: #adb5c2;
  --ink-3: #8a93a3;
  --accent: #4cc26a;
  --accent-hi: #6fd88a;
  --accent-lo: #2b8443;
  --r-1: 2px;
  --r-2: 4px;
  --r-3: 6px;
  --r-4: 8px;
  --gutter: 16px;
  --ring: 0 0 0 2px var(--bg-0), 0 0 0 4px rgba(76, 194, 106, 0.75);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --mc: "Minecraftia", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
img[src*="/vanilla/"], .brand img { image-rendering: crisp-edges; image-rendering: pixelated; }

:root { --d: 1; --px16: 16px; --px32: 32px; --px48: 48px; }
@media (min-resolution: 1.1dppx) { :root { --d: 1.1; } }
@media (min-resolution: 1.2dppx) { :root { --d: 1.25; } }
@media (min-resolution: 1.4dppx) { :root { --d: 1.5; } }
@media (min-resolution: 1.7dppx) { :root { --d: 1.75; } }
@media (min-resolution: 2dppx) { :root { --d: 2; } }
@media (min-resolution: 2.2dppx) { :root { --d: 2.25; } }
@media (min-resolution: 2.4dppx) { :root { --d: 2.5; } }
@media (min-resolution: 2.7dppx) { :root { --d: 3; } }
@supports (width: round(nearest, 10px, 1px)) {
  :root {
    --px16: calc(round(nearest, 16px * var(--d), 16px) / var(--d));
    --px32: calc(round(nearest, 32px * var(--d), 16px) / var(--d));
    --px48: calc(round(nearest, 48px * var(--d), 16px) / var(--d));
  }
}
img[src*="/vanilla/"][width="16"] { width: var(--px16); height: var(--px16); }
img[src*="/vanilla/"][width="32"], .brand img { width: var(--px32); height: var(--px32); }
img[src*="/vanilla/"][width="48"] { width: var(--px48); height: var(--px48); }

a { color: var(--accent-hi); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: none; box-shadow: var(--ring); }

b { color: var(--ink); font-weight: 600; }

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86em;
  color: #d7f5df;
  background: rgba(76, 194, 106, 0.1);
  border: 1px solid rgba(76, 194, 106, 0.2);
  border-radius: var(--r-1);
  padding: 1px 6px;
  overflow-wrap: anywhere;
}

h1, h2, h3, .brand, .btn, .num, .kicker {
  font-family: var(--mc);
  font-weight: 400;
  -webkit-font-smoothing: none;
  font-smooth: never;
  letter-spacing: 0;
}

h1 { font-size: 32px; line-height: 48px; margin: 0 0 24px; text-shadow: 3px 3px 0 #000; overflow-wrap: break-word; text-wrap: balance; }
h2 { text-wrap: balance; }
h2 { font-size: 24px; line-height: 40px; margin: 0; text-shadow: 2px 2px 0 #000; }
h3 { font-size: 16px; line-height: 24px; margin: 0 0 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.wide { max-width: 1240px; }
.wrap.narrow { max-width: 820px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 2px 18px 0;
  font-size: 16px;
  line-height: 16px;
  color: #f4f6f9;
  text-decoration: none;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
  background: #3a414d;
  border: 2px solid #050607;
  border-radius: var(--r-1);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.16), inset 0 -3px 0 rgba(0, 0, 0, 0.38);
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 150ms var(--ease);
  white-space: nowrap;
}
.btn:hover { background: #464e5c; border-color: #e8ebf0; color: #ffffa0; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-lo); box-shadow: inset 0 2px 0 rgba(160, 255, 180, 0.35), inset 0 -3px 0 rgba(0, 40, 10, 0.5); }
.btn-primary:hover { background: #33964d; }
.btn-sm { min-height: 40px; padding: 2px 14px 0; }
.btn-lg { min-height: 52px; padding: 2px 24px 0; }
.btn-soon, .btn-soon:hover { cursor: not-allowed; color: #aeb5c2; background: #2a2f37; border-color: #050607; transform: none; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 13, 17, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 24px; line-height: 24px; text-shadow: 2px 2px 0 #000; }
.brand span { padding-top: 4px; }
.brand img { image-rendering: pixelated; }
.brand.small { font-size: 16px; line-height: 16px; }
.brand.small span { padding-top: 2px; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-2); transition: color 150ms var(--ease), background-color 150ms var(--ease); }
.nav a:hover { color: var(--ink); background: var(--bg-3); }
.top .btn { margin-left: auto; }

.hero { position: relative; padding: 48px 0 56px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(76, 194, 106, 0.16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent);
  pointer-events: none;
}
.hero-text { position: relative; max-width: 860px; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 4px 12px 4px 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.lead { font-size: 18px; line-height: 1.65; color: var(--ink-2); margin: 0 auto; max-width: 680px; }
.cta { display: flex; flex-direction: column; gap: 12px; justify-content: center; margin: 32px 0 16px; }
.note { color: var(--ink-3); font-size: 14px; margin: 12px 0 0; }

.window {
  position: relative;
  margin: 48px 0 0;
  border-radius: var(--r-4);
  border: 1px solid var(--line-strong);
  background: var(--bg-1);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 120px rgba(76, 194, 106, 0.08);
}
.window-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #3a414d; }
.url { margin: 0 auto; padding: 2px 14px; font-size: 12px; color: var(--ink-3); background: var(--bg-0); border: 1px solid var(--line); border-radius: 999px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window img { width: 100%; }

.perks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-1); }
.perk-list { list-style: none; margin: 0 auto; padding-top: 20px; padding-bottom: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.perk-list li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.perk-list img { flex: none; }

.section { padding: 72px 0; }
.section.alt { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.kicker { margin: 0 0 8px; font-size: 16px; line-height: 16px; color: var(--accent-hi); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: none; }
.step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-4); padding: 24px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.num {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding-top: 4px;
  font-size: 16px;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
  background: var(--accent-lo);
  border: 2px solid #050607;
  border-radius: var(--r-1);
  box-shadow: inset 0 2px 0 rgba(160, 255, 180, 0.35), inset 0 -3px 0 rgba(0, 40, 10, 0.5);
}
.step p, .feature p { margin: 0; color: var(--ink-2); font-size: 15px; }
.callout { margin: 24px 0 0; padding: 16px 20px; font-size: 14px; color: var(--ink-2); background: var(--bg-1); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-3); }

.features { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-4); padding: 24px; transition: border-color 150ms var(--ease), background-color 150ms var(--ease); }
.feature:hover { border-color: var(--line-strong); background-color: var(--bg-1); }
.feature img[src*="/vanilla/"] {
  width: calc(var(--px32) + 16px);
  height: calc(var(--px32) + 16px);
  padding: 8px;
  margin-bottom: 16px;
  background: #8b8b8b;
  box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #ffffff;
}

.gallery { display: grid; grid-template-columns: 1fr; gap: 16px; }
.shot { position: relative; margin: 0; border-radius: var(--r-4); overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  font-size: 14px;
  color: #fff;
  background: rgba(16, 0, 16, 0.92);
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, #5000ff, #28007f) 1;
}

.table-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-4); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); background: var(--bg-1); }
td { color: var(--ink-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

.faq { display: grid; gap: 12px; }
details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-3); transition: border-color 150ms var(--ease); }
details[open] { border-color: var(--line-strong); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  border-radius: var(--r-3);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 150ms var(--ease);
}
details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }

.final { padding: 0 0 80px; }
.final-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: 48px;
  padding-bottom: 48px;
  background: radial-gradient(ellipse at 50% 0%, rgba(76, 194, 106, 0.18), transparent 70%), var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-4);
}
.final-card p { margin: 0 0 8px; color: var(--ink-2); }
.final-card { padding-left: var(--gutter); padding-right: var(--gutter); }

.footer { border-top: 1px solid var(--line); background: var(--bg-1); }
.footer-inner { display: flex; flex-direction: column; gap: 8px; padding-top: 32px; padding-bottom: 40px; color: var(--ink-3); font-size: 14px; }
.footer-inner p { margin: 0; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.credits { font-size: 13px; }

@media (max-width: 639px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  td { border: 0; padding: 2px 0; }
  td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
  td + td { margin-top: 8px; }
  .cta .btn { width: 100%; }
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .cta { flex-direction: row; }
  .perk-list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  h2 { font-size: 32px; line-height: 48px; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .nav { display: flex; }
  .top .btn { margin-left: 8px; }
  .hero { padding: 88px 0 72px; }
  h1 { font-size: 40px; line-height: 56px; }
  .faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
  .faq-layout .section-head { position: sticky; top: 96px; }
  .lead { font-size: 19px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 96px 0; }
  .footer-inner { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
  .footer-inner .credits { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
