:root {
  --bg0: #070a12;
  --bg1: #0a1224;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --subtle: rgba(255, 255, 255, 0.12);
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.09);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow2: 0 8px 24px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-sm: 14px;
  --ring: 0 0 0 4px rgba(135, 180, 255, 0.18);
  --accent: #87b4ff;
  --accent2: #9f7aea;
  --good: #43d19e;
  --warn: #ffcc66;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(1400px 850px at 20% -10%, rgba(159, 122, 234, 0.30), transparent 60%),
    radial-gradient(1100px 700px at 90% 10%, rgba(135, 180, 255, 0.26), transparent 65%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 12px;
  color: white;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 18, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0.2px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: var(--shadow2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--subtle);
  background: none;
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);
}

.button:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.10);
}

.button.primary {
  background: linear-gradient(135deg, rgba(135, 180, 255, 0.95), rgba(159, 122, 234, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: rgba(8, 10, 16, 0.96);
}

.button.primary:hover {
  filter: brightness(1.03);
}

.button.small {
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 650;
}

.hero {
  padding: 72px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--muted);
  font-weight: 650;
  width: fit-content;
}

.kicker .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(67, 209, 158, 0.18);
}

.hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.7px;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

.trust {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
}

.shots-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: end;
}

.shot-card {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.shot-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.shot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.section {
  padding: 36px 0;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.section-title h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.2px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow2);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.1px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 650;
  margin-bottom: 10px;
}

.card .tag svg {
  width: 16px;
  height: 16px;
}

.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  color: rgba(8, 10, 16, 0.9);
  background: linear-gradient(135deg, rgba(135, 180, 255, 0.9), rgba(159, 122, 234, 0.9));
  flex: 0 0 auto;
}

.step h3 {
  margin: 0 0 6px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.shots-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.shot {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow2);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.shot:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.prose {
  color: var(--muted);
}

.prose h2,
.prose h3 {
  color: var(--text);
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin: 8px 0;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-size: 0.95em;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.92);
}

.footer {
  padding: 34px 0 44px;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 30px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: rgba(255, 255, 255, 0.76);
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 650;
}

.pill svg {
  width: 16px;
  height: 16px;
  opacity: 0.92;
}

dialog.lightbox {
  border: none;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  max-width: min(1040px, calc(100vw - 24px));
  max-height: min(92vh, 960px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.7);
  background: rgba(10, 18, 36, 0.94);
  color: white;
}

dialog.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.lightbox-inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.lightbox-top .title {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
  font-size: 0.98rem;
}

.lightbox-top .controls {
  display: inline-flex;
  gap: 8px;
}

.icon-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 750;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-media {
  display: grid;
  place-items: center;
  padding: 14px;
}

.lightbox-media img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.55);
}

.lightbox-caption {
  padding: 12px 14px 14px;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.98rem;
}

@media (max-width: 980px) {
  .topbar-inner {
    position: relative;
  }
  .nav-toggle {
    display: inline-grid;
    margin-left: auto;
  }
  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 18, 36, 0.95);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 30;
  }
  .topbar-inner.menu-active .nav {
    display: flex;
  }
  .nav a {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
  }
  .nav .button.small.primary {
    text-align: center;
    margin-top: 4px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .shots-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }
  .shots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
