:root {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-elevated: #161b22;
  --surface: rgba(22, 27, 34, 0.86);
  --surface-soft: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #e6edf3;
  --text-muted: rgba(201, 209, 217, 0.8);
  --text-soft: rgba(201, 209, 217, 0.6);
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1120px;
  --content: 760px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08), transparent 34%),
    linear-gradient(180deg, #0d1117 0%, #0b0f14 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  flex: 1;
}

.page-bg {
  display: none;
}

img {
  max-width: 100%;
}

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

a:hover {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2.6rem));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.section-narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(13, 17, 23, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-name {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.38rem 0.76rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.9rem;
  transition: background-color 140ms ease, color 140ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.56rem 1.02rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #3b82f6 0%, #2f6fe0 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 8px 20px rgba(47, 111, 224, 0.22);
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  background: linear-gradient(180deg, #4a8df8 0%, #3067cb 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 10px 24px rgba(47, 111, 224, 0.26);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.015);
  color: var(--text);
  box-shadow: none;
}

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

.button.small {
  min-height: 38px;
  padding: 0.52rem 0.88rem;
  font-size: 0.88rem;
}

.github-link {
  gap: 0.48rem;
}

.github-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.hero {
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 3.2rem;
}

.hero-aurora {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-copy-centered {
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
}

h1,
h2,
h3,
h4,
.footer-title {
  margin: 0;
  line-height: 1.12;
  color: var(--text);
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.06rem;
}

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

.lead {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: rgba(230, 237, 243, 0.84);
}

.hero-lead-centered {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions .button {
  min-width: 150px;
}

.hero-actions {
  margin-top: 1.6rem;
}

.hero-actions-centered,
.cta-centered .cta-actions {
  justify-content: center;
}

.hero-footnote {
  max-width: 56rem;
  margin: 1.25rem auto 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
}

@keyframes page-glow-left {
  0% {
    transform: translate3d(-4%, -3%, 0) scale(1);
    opacity: 0.48;
  }

  100% {
    transform: translate3d(8%, 4%, 0) scale(1.14);
    opacity: 0.64;
  }
}

@keyframes page-glow-right {
  0% {
    transform: translate3d(4%, 0, 0) scale(1);
    opacity: 0.42;
  }

  100% {
    transform: translate3d(-7%, 6%, 0) scale(1.16);
    opacity: 0.6;
  }
}

@keyframes hero-aurora-drift {
  0% {
    transform: translateX(-50%) scale(0.98);
    filter: blur(28px);
    opacity: 0.84;
  }

  50% {
    transform: translateX(-48%) translateY(1.2%) scale(1.03);
    filter: blur(34px);
    opacity: 0.98;
  }

  100% {
    transform: translateX(-52%) translateY(-1%) scale(1.08);
    filter: blur(30px);
    opacity: 0.9;
  }
}

.hero-showcase {
  position: relative;
  z-index: 1;
  margin-top: 2.2rem;
}

.showcase-shell,
.page-panel,
.cta,
.page-list .card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.showcase-shell-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.showcase-main {
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
}

.showcase-main-hero img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.statement-section {
  padding-top: 0.75rem;
  padding-bottom: 2.6rem;
}

.statement-block {
  max-width: 900px;
}

.statement-block h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  line-height: 1.25;
}

.feature-section {
  padding-top: 4.3rem;
  padding-bottom: 4.3rem;
}

.feature-section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.story-section {
  padding-top: 3.1rem;
  padding-bottom: 3.1rem;
}

.story-section-alt {
  background: var(--surface-soft);
}

.story-block {
  display: grid;
  gap: 1.5rem;
}

.story-copy {
  max-width: 640px;
}

.story-heading-inline {
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  line-height: 1.08;
  white-space: nowrap;
}

.story-shot {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

.story-shot::before {
  content: "";
  position: absolute;
  inset: -10% auto auto 8%;
  width: 42%;
  height: 38%;
  filter: blur(26px);
  opacity: 0.6;
  pointer-events: none;
}

.story-shot img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.story-shot-history::before {
  background: linear-gradient(135deg, rgba(103, 232, 135, 0.38), rgba(96, 165, 250, 0.18));
}

.story-shot-stash::before {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.34), rgba(59, 130, 246, 0.16));
}

.story-shot-plugins::before {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.34), rgba(74, 222, 128, 0.16));
}

.feature-grid,
.footer-grid,
.proof-grid {
  display: grid;
  gap: 2.4rem;
}

.feature-grid {
  grid-template-columns: minmax(280px, 0.64fr) minmax(680px, 1.36fr);
  align-items: center;
  gap: 3.2rem;
  overflow: visible;
}

.feature-grid-reverse {
  grid-template-columns: minmax(680px, 1.36fr) minmax(280px, 0.64fr);
}

.feature-copy-block {
  max-width: 380px;
}

.feature-lead {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.feature-list,
.prose ul,
.prose ol {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
}

.feature-list li,
.prose li {
  margin: 0.45rem 0;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.8rem;
}

.feature-list li {
  position: relative;
  margin: 0;
  padding: 0.9rem 1rem 0.9rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  color: rgba(255, 255, 255, 0.76);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(96, 165, 250, 0.95));
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.feature-list li::after {
  content: "";
  position: absolute;
  left: 1.39rem;
  top: 1.32rem;
  width: 0.34rem;
  height: 0.2rem;
  border-left: 2px solid #04110a;
  border-bottom: 2px solid #04110a;
  transform: rotate(-45deg);
}

.feature-media {
  position: relative;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  width: min(860px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-grid > .feature-media {
  justify-self: end;
  margin-right: -3.5rem;
}

.feature-grid-reverse > .feature-media {
  justify-self: start;
  margin-left: -3.5rem;
}

.feature-media::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 70%;
  height: 70%;
  filter: blur(34px);
  opacity: 0.8;
  pointer-events: none;
}

.feature-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: calc(var(--radius) - 10px);
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.feature-media-glow-green::before {
  background: linear-gradient(135deg, rgba(103, 232, 135, 0.5), rgba(96, 165, 250, 0.26));
}

.feature-media-glow-blue::before {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.44), rgba(59, 130, 246, 0.24));
}

.feature-media-glow-violet::before {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.44), rgba(74, 222, 128, 0.2));
}

.proof-section {
  padding-top: 1rem;
  padding-bottom: 2.2rem;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-label {
  color: rgba(201, 209, 217, 0.72);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.proof-value {
  margin-top: 0.42rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.cta-wrap {
  padding-bottom: 4.6rem;
}

.cta {
  display: grid;
  gap: 1.2rem;
  padding: 2rem;
}

.cta-centered {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 14, 19, 0.88);
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 2.4rem 0 1.5rem;
  gap: 1.4rem;
}

.footer-copy {
  max-width: 34ch;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-top: 0.45rem;
}

.footer-grid a,
.footer-bottom p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 0 1.3rem;
}

.page-section {
  padding-top: 4.2rem;
}

.page-shell {
  max-width: calc(var(--content) + 180px);
}

.page-header {
  max-width: var(--content);
  margin-bottom: 1.5rem;
}

.page-panel {
  max-width: var(--content);
  padding: 1.5rem;
}

.content-wrap {
  max-width: calc(var(--content) + 180px);
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.prose p + p,
.prose p + ul,
.prose p + ol,
.prose ul + p,
.prose ol + p {
  margin-top: 1rem;
}

.prose a,
.page-list a {
  color: #7dd3fc;
}

.prose a:hover,
.page-list a:hover {
  color: #bae6fd;
}

.prose code {
  padding: 0.15rem 0.38rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #dbeafe;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92em;
}

.prose pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #0a0d12;
  border: 1px solid var(--border);
}

.prose pre code {
  padding: 0;
  background: transparent;
}

.page-list {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-list .card {
  padding: 1.3rem;
}

@media (max-width: 980px) {
  .feature-grid,
  .feature-grid-reverse,
  .footer-grid,
  .proof-grid,
  .page-list {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 84px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.7rem 0;
  }

  .hero {
    padding-top: 4.8rem;
  }

  .hero-showcase {
    margin-top: 1.5rem;
  }

  .feature-copy-block {
    max-width: none;
  }

  .feature-media,
  .feature-grid > .feature-media,
  .feature-grid-reverse > .feature-media {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 1.35rem));
  }

  .section {
    padding: 3.2rem 0;
  }

  .site-header {
    position: static;
  }

  .nav-list {
    justify-content: center;
  }

  .button,
  .button.small {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .showcase-shell-hero,
  .feature-media,
  .page-panel,
  .cta,
  .roadmap-step-card {
    padding: 0.9rem;
  }

  .story-shot {
    border-radius: 18px;
  }

  .story-shot img {
    border-radius: 16px;
  }

  .story-copy {
    max-width: none;
  }

  .story-heading-inline {
    white-space: normal;
  }

}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .hero-aurora {
    animation: none;
  }
}
