:root {
  --cream: #fff8f4;
  --paper: #fffdfb;
  --ink: #3b2038;
  --muted: #745e70;
  --pink: #f17ab9;
  --pink-bright: #ff8bc7;
  --pink-deep: #a62e6e;
  --pink-pale: #ffe2f0;
  --lilac: #d9c7ff;
  --lilac-deep: #705398;
  --sky: #c9efff;
  --mint: #cbf4df;
  --gold: #f4c34d;
  --line: rgba(59, 32, 56, 0.14);
  --shadow: 0 24px 60px rgba(112, 55, 94, 0.13);
  --display: "Segoe UI Variable Display", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI Variable Text", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 4% 8%, rgba(255, 210, 232, 0.75) 0 20rem, transparent 20.1rem),
    radial-gradient(circle at 98% 16%, rgba(221, 204, 255, 0.64) 0 24rem, transparent 24.1rem),
    radial-gradient(circle at 58% 58%, rgba(205, 242, 255, 0.38) 0 26rem, transparent 26.1rem),
    var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.5;
  background-image: radial-gradient(rgba(112, 55, 94, 0.1) 0.6px, transparent 0.6px);
  background-size: 16px 16px;
  mask-image: linear-gradient(to bottom, black, transparent 60%);
}

::selection {
  color: var(--ink);
  background: var(--pink-pale);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--lilac-deep);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

code,
pre {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(59, 32, 56, 0.08);
  background: rgba(255, 248, 244, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--pink-pale);
}

.brand-dot {
  color: var(--pink-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  transition: color 160ms ease;
}

.nav-links a:not(.nav-github)::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--pink);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:not(.nav-github):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-github {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  padding-top: 88px;
  padding-bottom: 104px;
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--pink-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid rgba(166, 46, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  text-transform: none;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5dc48d;
  box-shadow: 0 0 0 4px rgba(93, 196, 141, 0.14);
}

h1,
h2,
h3 {
  font-family: var(--display);
}

h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(3.6rem, 6.4vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.93;
}

h1 em {
  position: relative;
  z-index: 0;
  color: var(--pink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.055em;
}

h1 em::after {
  position: absolute;
  right: -0.06em;
  bottom: 0.02em;
  left: -0.04em;
  z-index: -1;
  height: 0.26em;
  content: "";
  background: var(--pink-pale);
  border-radius: 999px;
  transform: rotate(-1.5deg);
}

.lede {
  max-width: 560px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 21px;
  border: 1.5px solid transparent;
  border-radius: 16px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

.button small {
  padding-left: 9px;
  border-left: 1px solid currentColor;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.7;
}

.button-primary {
  color: #fff;
  background: var(--pink-deep);
  box-shadow: 0 12px 24px rgba(166, 46, 110, 0.2);
}

.button-primary:hover {
  box-shadow: 0 16px 30px rgba(166, 46, 110, 0.28);
  background: #92245f;
}

.button-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.button-ghost:hover {
  background: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta span::before {
  width: 4px;
  height: 4px;
  content: "";
  background: var(--pink);
  border-radius: 50%;
}

.hero-stage {
  position: relative;
  display: grid;
  min-height: 530px;
  place-items: center;
  overflow: hidden;
  border: 1.5px solid rgba(59, 32, 56, 0.24);
  border-radius: 48px 48px 52px 48px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.75), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(201, 239, 255, 0.9), transparent 45%),
    linear-gradient(145deg, #ffddeb 0%, #f4dcff 50%, #dff5ff 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-stage::before,
.hero-stage::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.hero-stage::before {
  top: -92px;
  right: -78px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-stage::after {
  bottom: -130px;
  left: -105px;
  width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-buffy {
  position: relative;
  z-index: 2;
  width: min(300px, 72%);
  filter: drop-shadow(0 24px 22px rgba(91, 38, 77, 0.16));
  animation: bob 5s ease-in-out infinite;
}

.float-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1.5px solid rgba(59, 32, 56, 0.2);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(94, 47, 79, 0.12);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.tag-working {
  top: 18%;
  left: 7%;
  transform: rotate(-5deg);
}

.tag-working i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(244, 195, 77, 0.16);
}

.tag-done {
  right: 7%;
  bottom: 21%;
  gap: 4px;
  color: var(--pink-deep);
  transform: rotate(4deg);
}

.tag-done b {
  color: var(--gold);
  font-size: 18px;
  line-height: 0.6;
}

.stage-sparkle,
.stage-heart {
  position: absolute;
  z-index: 1;
  font-size: 25px;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.75));
}

.sparkle-one {
  top: 26%;
  right: 15%;
  color: #fff;
  animation: twinkle 3.5s ease-in-out infinite;
}

.sparkle-two {
  bottom: 27%;
  left: 14%;
  color: var(--pink-deep);
  font-size: 16px;
  animation: twinkle 4s 0.8s ease-in-out infinite;
}

.stage-heart {
  top: 48%;
  left: 10%;
  color: var(--pink-bright);
  font-size: 16px;
  animation: bob 4.5s 0.5s ease-in-out infinite;
}

.stage-caption {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  z-index: 3;
  color: rgba(59, 32, 56, 0.58);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.kicker {
  margin-bottom: 13px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(255, 253, 251, 0.68);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.feature-card:hover {
  border-color: rgba(166, 46, 110, 0.3);
  background: var(--paper);
  transform: translateY(-2px);
}

.feature-icon {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.icon-pink {
  color: var(--pink-deep);
  background: var(--pink-pale);
}

.icon-lilac {
  color: var(--lilac-deep);
  background: #eee6ff;
}

.icon-sky {
  color: #28718e;
  background: var(--sky);
}

.icon-mint {
  color: #2c7a5d;
  background: var(--mint);
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.feature-card code,
.how-copy code,
.install-source code {
  padding: 2px 5px;
  border-radius: 5px;
  color: var(--pink-deep);
  background: rgba(241, 122, 185, 0.1);
  font-size: 0.88em;
}

.screenshots-section {
  padding: 88px 0 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 90%, rgba(255, 213, 232, 0.72), transparent 23rem),
    radial-gradient(circle at 92% 10%, rgba(217, 199, 255, 0.55), transparent 25rem),
    rgba(255, 253, 251, 0.48);
}

.screenshots-heading {
  max-width: 600px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(112, 55, 94, 0.06);
}

.shot-art {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 18px;
}

.shot-art img {
  width: min(228px, 72%);
  filter: drop-shadow(0 13px 12px rgba(91, 38, 77, 0.12));
}

.art-pink {
  background: linear-gradient(140deg, #ffe3ef, #ffd0e6);
}

.art-lilac {
  background: linear-gradient(140deg, #efe7ff, #e0d0ff);
}

.art-sky {
  background: linear-gradient(140deg, #e4f8ff, #d0efff);
}

.art-mint {
  background: linear-gradient(140deg, #e2fff2, #c9f4e1);
}

.shot figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  align-items: baseline;
  padding: 18px 23px 20px;
  border-top: 1px solid var(--line);
}

.shot figcaption strong {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -0.02em;
}

.shot figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.how-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.how-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.how-copy > p {
  margin-bottom: 17px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(166, 46, 110, 0.35);
  color: var(--pink-deep);
  font-size: 14px;
  font-weight: 750;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.how-terminal {
  overflow: hidden;
  border: 1px solid rgba(59, 32, 56, 0.25);
  border-radius: 23px;
  background: #2a1729;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.terminal-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f17ab9;
}

.terminal-bar span:nth-child(2) {
  background: #e7bd54;
}

.terminal-bar span:nth-child(3) {
  background: #70c994;
}

.terminal-bar b {
  margin-left: auto;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-terminal pre {
  margin: 0;
  padding: 22px 20px 27px;
  overflow-x: auto;
  color: #ffd9ec;
  font-size: 12.5px;
  line-height: 1.9;
}

.how-terminal .prompt {
  color: #8de0b4;
}

.how-terminal .muted {
  color: rgba(255, 217, 236, 0.42);
}

.install-section {
  padding-top: 18px;
  padding-bottom: 100px;
}

.install-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(36px, 7vw, 90px);
  overflow: hidden;
  padding: clamp(31px, 6vw, 64px);
  border-radius: 38px;
  color: #fff6fb;
  background:
    radial-gradient(circle at 90% 8%, rgba(241, 122, 185, 0.2), transparent 18rem),
    radial-gradient(circle at 8% 100%, rgba(217, 199, 255, 0.11), transparent 17rem),
    #3b2038;
  box-shadow: 0 28px 70px rgba(69, 29, 58, 0.2);
  isolation: isolate;
}

.install-card::before {
  position: absolute;
  top: -80px;
  right: -55px;
  z-index: -1;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.kicker-light {
  color: #ffafd6;
}

.install-copy h2 {
  margin-bottom: 16px;
  color: #fff8fc;
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.03;
}

.install-copy > p {
  max-width: 500px;
  margin-bottom: 23px;
  color: rgba(255, 246, 251, 0.7);
}

.button-light {
  color: var(--ink);
  background: #fff6fb;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

.button-light:hover {
  background: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.fine-print {
  max-width: 500px;
  margin-top: 17px !important;
  margin-bottom: 13px !important;
  color: rgba(255, 246, 251, 0.5) !important;
  font-size: 12px;
  line-height: 1.55;
}

.checksum {
  max-width: 500px;
  color: rgba(255, 246, 251, 0.5);
  font-size: 11px;
}

.checksum summary {
  width: fit-content;
  cursor: pointer;
  font-weight: 600;
}

.checksum code {
  display: block;
  margin-top: 9px;
  overflow-wrap: anywhere;
  color: rgba(255, 246, 251, 0.66);
  font-size: 10.5px;
}

.install-source {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.055);
}

.source-label {
  margin-bottom: 12px;
  color: #ffafd6;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.install-source pre {
  margin: 0 0 17px;
  padding: 14px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.16);
  color: #ffd9ec;
  font-size: 11px;
  line-height: 1.75;
}

.install-source p {
  margin-bottom: 16px;
  color: rgba(255, 246, 251, 0.6);
  font-size: 12px;
  line-height: 1.6;
}

.install-source code {
  color: #ffc0df;
  background: rgba(255, 255, 255, 0.07);
}

.text-link-light {
  border-color: rgba(255, 175, 214, 0.35);
  color: #ffc1df;
  font-size: 12px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 23px 40px;
  align-items: center;
  padding-top: 27px;
  padding-bottom: 31px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-brand {
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.footer-brand span {
  color: var(--pink-deep);
}

.footer p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--pink-deep);
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(116, 94, 112, 0.7);
  font-size: 11px;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.88) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(9deg);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 47px;
    padding-top: 64px;
    padding-bottom: 78px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-stage {
    width: min(100%, 560px);
    min-height: 480px;
    margin-inline: auto;
  }

  .how-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .install-card {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .install-source {
    max-width: 510px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 32px, 1160px);
  }

  .nav {
    min-height: 66px;
  }

  .nav-links {
    gap: 13px;
    font-size: 12px;
  }

  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2) {
    display: none;
  }

  .nav-github {
    padding: 8px 11px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero {
    padding-top: 47px;
  }

  .hero-stage {
    min-height: 380px;
    border-radius: 35px;
  }

  .hero-buffy {
    width: min(230px, 70%);
  }

  .float-tag {
    padding: 9px 11px;
    font-size: 10px;
  }

  .tag-working {
    top: 13%;
    left: 5%;
  }

  .tag-done {
    right: 5%;
    bottom: 18%;
  }

  .stage-caption {
    font-size: 8px;
  }

  .section,
  .screenshots-section {
    padding-top: 65px;
    padding-bottom: 68px;
  }

  .feature-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 22px;
  }

  .shot-art {
    min-height: 255px;
  }

  .install-section {
    padding-top: 2px;
    padding-bottom: 70px;
  }

  .install-card {
    padding: 27px 21px 23px;
    border-radius: 27px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .footer-note {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
