:root {
  --ink-900: #1c2336;
  --ink-700: #2d3650;
  --ink-500: #4b5877;
  --sand-100: #f8f3e9;
  --sand-200: #efe4cd;
  --sand-300: #e5d7ba;
  --mint-500: #0f7a76;
  --mint-700: #0a5956;
  --coral-400: #e68556;
  --white: #ffffff;
  --ring: rgba(15, 122, 118, 0.22);
  --card-shadow: 0 24px 70px rgba(28, 35, 54, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(230, 133, 86, 0.2), transparent 58%),
    radial-gradient(900px 500px at 90% 0%, rgba(15, 122, 118, 0.18), transparent 62%),
    linear-gradient(180deg, #fffdf8 0%, var(--sand-100) 55%, #f7f0e1 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.38;
  animation: drift 14s ease-in-out infinite;
}

.bg-orb-one {
  left: -120px;
  top: 26vh;
  background: rgba(230, 133, 86, 0.42);
}

.bg-orb-two {
  right: -140px;
  top: 58vh;
  background: rgba(15, 122, 118, 0.34);
  animation-delay: -7s;
}

.shell {
  width: min(1100px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(253, 249, 240, 0.78);
  border-bottom: 1px solid rgba(45, 54, 80, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.topnav {
  display: inline-flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav a {
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.topnav a:hover,
.text-link:hover {
  color: var(--mint-700);
}

.hero {
  padding: 5.3rem 0 4.2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.download-hero {
  padding: 5.2rem 0 2rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--mint-700);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
}

h1 {
  margin-top: 0.9rem;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 12ch;
  color: var(--ink-900);
}

h1 span {
  color: var(--ink-500);
}

.hero-copy {
  margin: 1.2rem 0 0;
  color: var(--ink-700);
  max-width: 58ch;
}

.cta-row {
  margin-top: 1.45rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--mint-500), var(--mint-700));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(10, 89, 86, 0.3);
}

.btn-quiet {
  border: 1px solid rgba(45, 54, 80, 0.18);
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.55);
}

.download-btn {
  font-size: 1rem;
  min-width: 220px;
}

.download-meta,
.download-tip {
  margin: 0.8rem 0 0;
  color: var(--ink-700);
}

.download-meta {
  font-weight: 700;
}

.download-tip code,
.maintainer-note code {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(45, 54, 80, 0.14);
  border-radius: 8px;
  padding: 0.14rem 0.42rem;
  font-family: "Consolas", "Courier New", monospace;
  color: var(--ink-900);
}

.hero-points {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-700);
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--coral-400), #f2b96d);
}

.hero-panel {
  border-radius: 24px;
  padding: 1rem;
  background: linear-gradient(160deg, #f7f6f2 0%, #f1e4ce 45%, #ead5be 100%);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(28, 35, 54, 0.09);
}

.panel-kicker {
  margin: 0 0 0.8rem;
  color: var(--ink-700);
  font-weight: 700;
}

.panel-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(28, 35, 54, 0.09);
}

.panel-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.panel-title-row h2 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.chip {
  padding: 0.3rem 0.66rem;
  border-radius: 999px;
  background: rgba(15, 122, 118, 0.12);
  color: var(--mint-700);
  font-weight: 700;
  font-size: 0.78rem;
}

.panel-list {
  list-style: none;
  margin: 0.9rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.panel-list li {
  background: #f8f5ef;
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(45, 54, 80, 0.08);
}

.panel-list strong {
  display: block;
  font-size: 0.96rem;
}

.panel-list span {
  font-size: 0.86rem;
  color: var(--ink-500);
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-end;
}

.panel-footer p {
  margin: 0;
  font-weight: 700;
}

.panel-footer small {
  color: var(--ink-500);
}

.text-link {
  text-decoration: none;
  color: var(--mint-500);
  font-weight: 700;
}

.section {
  padding: 4.1rem 0 0.6rem;
}

.section-head {
  max-width: 68ch;
}

.section-head h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.feature-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(45, 54, 80, 0.1);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 24px rgba(28, 35, 54, 0.06);
}

.feature-card h3 {
  font-size: 1.06rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0.55rem 0 0;
  color: var(--ink-700);
}

.workflow-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.workflow-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 54, 80, 0.1);
  padding: 0.95rem;
}

.workflow-list span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, #1a6d68, #134d4a);
}

.workflow-list h3 {
  font-size: 1.03rem;
}

.workflow-list p {
  margin: 0.45rem 0 0;
  color: var(--ink-700);
}

.plan-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.plan-card {
  background: rgba(255, 255, 255, 0.73);
  border-radius: 18px;
  border: 1px solid rgba(45, 54, 80, 0.1);
  padding: 1.1rem;
}

.plan-card h3 {
  font-size: 1.2rem;
  font-family: "Fraunces", Georgia, serif;
}

.plan-card ul {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.plan-card li {
  color: var(--ink-700);
  padding-left: 1.05rem;
  position: relative;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral-400);
}

.plan-card-pro {
  border-color: rgba(15, 122, 118, 0.25);
  box-shadow: 0 12px 36px rgba(10, 89, 86, 0.12);
}

.safety-panel {
  margin-top: 1.45rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(233, 243, 241, 0.82));
  border-radius: 22px;
  padding: 1.2rem;
  border: 1px solid rgba(15, 122, 118, 0.17);
  box-shadow: 0 10px 24px rgba(15, 122, 118, 0.08);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.safety-panel h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.5rem, 2.7vw, 2rem);
}

.safety-panel p {
  margin: 0.8rem 0 0;
  color: var(--ink-700);
}

.safety-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.safety-panel li {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(45, 54, 80, 0.1);
  border-radius: 12px;
  padding: 0.72rem;
  color: var(--ink-700);
}

.download-layout {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.download-card {
  border-radius: 18px;
  border: 1px solid rgba(45, 54, 80, 0.11);
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 24px rgba(28, 35, 54, 0.06);
}

.download-card h2 {
  font-size: 1.4rem;
}

.install-steps,
.release-list {
  margin: 0.85rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.56rem;
  color: var(--ink-700);
}

.maintainer-note {
  margin-top: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 122, 118, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(230, 243, 241, 0.78));
  padding: 1.1rem;
}

.maintainer-note h2 {
  font-size: 1.4rem;
}

.maintainer-note p {
  margin: 0.72rem 0 0;
  color: var(--ink-700);
}

.cta-band {
  margin-top: 3.2rem;
  margin-bottom: 1rem;
  border-radius: 22px;
  padding: 1.35rem;
  border: 1px solid rgba(45, 54, 80, 0.12);
  background: linear-gradient(140deg, rgba(230, 133, 86, 0.2), rgba(255, 255, 255, 0.78) 40%, rgba(15, 122, 118, 0.22));
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

.cta-band p {
  margin: 0.8rem auto 0;
  max-width: 62ch;
  color: var(--ink-700);
}

.cta-band .cta-row {
  justify-content: center;
}

.footer {
  padding: 1.2rem 0 2.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  color: var(--ink-700);
  border-top: 1px solid rgba(45, 54, 80, 0.1);
  margin-top: 1.8rem;
}

.footer p {
  margin: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.feature-card,
.workflow-list li,
.plan-card,
.safety-panel li,
.hero-points li,
.panel-list li {
  transition: opacity 440ms ease, transform 440ms ease;
}

.js .reveal .feature-card,
.js .reveal .workflow-list li,
.js .reveal .plan-card,
.js .reveal .safety-panel li,
.js .reveal .hero-points li,
.js .reveal .panel-list li {
  opacity: 0;
  transform: translateY(14px);
}

.js .reveal.in-view .feature-card,
.js .reveal.in-view .workflow-list li,
.js .reveal.in-view .plan-card,
.js .reveal.in-view .safety-panel li,
.js .reveal.in-view .hero-points li,
.js .reveal.in-view .panel-list li {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.in-view .feature-card:nth-child(2),
.js .reveal.in-view .workflow-list li:nth-child(2),
.js .reveal.in-view .plan-card:nth-child(2),
.js .reveal.in-view .hero-points li:nth-child(2),
.js .reveal.in-view .panel-list li:nth-child(2),
.js .reveal.in-view .safety-panel li:nth-child(2) {
  transition-delay: 70ms;
}

.js .reveal.in-view .feature-card:nth-child(3),
.js .reveal.in-view .workflow-list li:nth-child(3),
.js .reveal.in-view .hero-points li:nth-child(3),
.js .reveal.in-view .panel-list li:nth-child(3),
.js .reveal.in-view .safety-panel li:nth-child(3) {
  transition-delay: 140ms;
}

.js .reveal.in-view .feature-card:nth-child(4),
.js .reveal.in-view .workflow-list li:nth-child(4),
.js .reveal.in-view .safety-panel li:nth-child(4) {
  transition-delay: 210ms;
}

.js .reveal.in-view .feature-card:nth-child(5) {
  transition-delay: 280ms;
}

.js .reveal.in-view .feature-card:nth-child(6) {
  transition-delay: 350ms;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .workflow-list,
  .plan-grid,
  .safety-panel,
  .download-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar-inner {
    padding: 0.5rem 0;
    align-items: flex-start;
  }

  .topnav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.8rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .section {
    padding-top: 3.2rem;
  }

  .btn {
    width: 100%;
  }

  .panel-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.05);
  }
}
