.home-features {
  color: var(--text-muted);
  background: var(--surface);
  overflow: hidden;
}
.home-features * {
  box-sizing: border-box;
}
.home-features h1, .home-features h2, .home-features p {
  margin: 0;
  padding: 0;
  border: 0;
}
.home-features h1, .home-features h2 {
  color: var(--text-primary);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-align: left;
}
.home-features p {
  font-size: 18px;
  line-height: 1.7;
}
.home-features .feature-overview {
  position: relative;
  isolation: isolate;
  padding: 96px 32px 48px;
  background: linear-gradient(#0d0912, #171020 45%);
}
.home-features .feature-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 63% 67%, rgba(177, 44, 208, 0.0705882353), transparent 48%), radial-gradient(ellipse at 37% 47%, rgba(34, 208, 242, 0.0392156863), transparent 44%), radial-gradient(ellipse at 53% 85%, rgba(248, 33, 126, 0.0431372549), transparent 55%);
}
.home-features .feature-overview::after {
  content: "";
  position: absolute;
  inset: auto 12% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177, 44, 208, 0.1490196078) 38%, rgba(34, 208, 242, 0.1019607843) 65%, transparent);
}
.home-features .feature-intro {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}
.home-features .feature-intro h1 {
  font-size: clamp(42px, 6vw, 76px);
  text-align: center;
  margin-bottom: 18px;
}
.home-features .feature-intro h1 span {
  color: var(--accent-light);
  background: linear-gradient(110deg, #b12cd0, #ff8ecb 65%, #f8217e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-features .feature-intro p {
  max-width: 620px;
  margin: auto;
  font-size: 20px;
  line-height: 1.65;
}
.home-features .activity-artwork {
  width: min(100%, clamp(300px, 42vw, 460px));
  margin: 18px auto 0;
}
.home-features .activity-artwork img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(8, 5, 13, 0.2666666667));
}
.home-features .feature-row {
  max-width: 1200px;
  margin: auto;
  padding: 115px 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 90px;
}
.home-features .feature-row-reversed {
  grid-template-columns: 1fr 1.1fr;
  padding-bottom: 160px;
}
.home-features .feature-row-reversed .feature-visual {
  grid-column: 2;
  grid-row: 1;
}
.home-features .feature-row-reversed .feature-copy {
  grid-column: 1;
  grid-row: 1;
}
.home-features .feature-copy h2 {
  font-size: clamp(35px, 4vw, 51px);
  margin: 20px 0 28px;
}
.home-features .feature-copy h2 span {
  color: #aa95b7;
}
.home-features .feature-copy p + p {
  margin-top: 18px;
}
.home-features .feature-copy .feature-eyebrow {
  color: #ff8ecb;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.home-features .feature-link, .home-features .feature-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
}
.home-features .feature-link:hover {
  color: #ff8ecb;
}
.home-features a:focus-visible, .home-features button:focus-visible {
  outline: 2px solid #22d0f2;
  outline-offset: 5px;
}
.home-features .feature-visual {
  min-width: 0;
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.home-features .feature-visual::before {
  content: "";
  position: absolute;
  inset: -10px -30px;
  background: radial-gradient(ellipse at center, rgba(177, 44, 208, 0.1490196078), transparent 70%);
  z-index: -1;
}
.home-features .switch-visual {
  min-height: 430px;
}
.home-features .config-window {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(140deg, #21172b, #100c17);
  border: 1px solid #574064;
  border-radius: 15px;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.3333333333), inset 0 1px rgba(255, 255, 255, 0.0509803922);
  overflow: hidden;
}
.home-features .config-toolbar {
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #392842;
  color: #a998b7;
  font: 12px "Fira Mono", monospace;
}
.home-features .config-toolbar > span:last-child {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.home-features .config-footer {
  display: flex;
  justify-content: center;
  padding: 12px 18px;
  border-top: 1px solid #392842;
}
.home-features .window-dots {
  display: flex;
  gap: 6px;
}
.home-features .window-dots i {
  width: 7px;
  height: 7px;
  background: #665471;
  border-radius: 50%;
}
.home-features .sdk-picker {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 4px;
  border-radius: 9px;
  background: #0d0912;
  border: 1px solid #392842;
}
.home-features .sdk-picker button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #b9a9c5;
  padding: 8px 20px;
  border-radius: 6px;
  font: 500 13px Inter, Arial, sans-serif;
  cursor: pointer;
}
.home-features .sdk-picker button[aria-pressed=true] {
  background: #39203e;
  color: #f7f1fa;
  box-shadow: inset 0 0 0 1px rgba(177, 44, 208, 0.3411764706);
}
.home-features .sdk-picker button span {
  color: #ff8ecb;
  padding-left: 2px;
}
.home-features .config-code {
  margin: 0;
  padding: 22px 24px 30px;
  min-height: 205px;
  background: transparent;
  overflow: auto;
  font: 12px/1.9 "Fira Mono", monospace;
  color: #8e7b9c;
}
.home-features .config-code code {
  font: inherit;
}
.home-features .code-key {
  color: #b9a9c5;
}
.home-features .code-value {
  color: #ff8ecb;
}
.home-features .branch-visual {
  padding: 0;
  min-height: 440px;
  background: none;
  border: 0;
  box-shadow: none;
}
.home-features .branch-visual::before {
  inset: -15% -25%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 60% 38%, rgba(248, 33, 126, 0.0705882353), transparent 58%), radial-gradient(ellipse at 40% 65%, rgba(34, 208, 242, 0.062745098), transparent 60%);
  filter: blur(35px);
}
.home-features .branch-diagram {
  display: block;
  width: 125%;
  max-width: none;
  height: auto;
  flex-shrink: 0;
  overflow: visible;
  transform: rotate(-8deg);
  mask-image: radial-gradient(ellipse 50% 48% at 50% 48%, #000 28%, rgba(0, 0, 0, 0.7333333333) 54%, transparent 100%);
}
.home-features .branch-diagram path {
  fill: none;
  stroke-linecap: round;
}
.home-features .branch-line {
  stroke-width: 12;
}
.home-features .branch-highlight {
  stroke-width: 2;
  opacity: 0.38;
  filter: blur(0.4px);
}
.home-features .branch-glow {
  stroke-width: 32;
  opacity: 0.34;
  filter: blur(11px);
}
.home-features .branch-bloom {
  stroke-width: 65;
  opacity: 0.13;
  filter: blur(24px);
}
.home-features .branch-pair:nth-of-type(2) {
  opacity: 0.88;
}
.home-features .branch-pair:nth-of-type(3) {
  opacity: 0.75;
}
.home-features .branch-pull {
  stroke-width: 7;
  opacity: 0.65;
}
.home-features .branch-pull-haze {
  stroke: #b12cd0;
  stroke-width: 22;
  opacity: 0.2;
  filter: blur(9px);
}
.home-features .branch-pulse {
  stroke: #ffd4eb;
  stroke-width: 5;
  stroke-dasharray: 7 93;
  stroke-dashoffset: 100;
  opacity: 0.65;
  animation: branch-pull 5s linear infinite;
  animation-delay: calc(var(--pull-delay) + var(--connection-delay));
  filter: drop-shadow(0 0 7px rgba(248, 33, 126, 0.6666666667));
}
@keyframes branch-pull {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-features .branch-pulse {
    animation: none;
    opacity: 0;
  }
}
@media (max-width: 1000px) {
  .home-features .feature-row {
    gap: 45px;
    padding-left: 32px;
    padding-right: 32px;
  }
  .home-features .config-code {
    font-size: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 760px) {
  .home-features .feature-overview {
    padding: 72px 20px 36px;
  }
  .home-features .feature-intro p {
    font-size: 18px;
  }
  .home-features .feature-row, .home-features .feature-row-reversed {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 80px 24px;
  }
  .home-features .feature-row .feature-copy {
    grid-row: 1;
    grid-column: 1;
  }
  .home-features .feature-row .feature-visual {
    grid-row: 2;
    grid-column: 1;
  }
  .home-features .feature-copy {
    max-width: 520px;
    margin: auto;
    width: 100%;
  }
  .home-features .feature-visual {
    width: 100%;
    max-width: 520px;
    margin: auto;
    min-height: 390px;
  }
  .home-features .branch-visual {
    min-height: 330px;
  }
  .home-features .feature-copy h2 {
    font-size: 39px;
  }
  .home-features .feature-copy p {
    font-size: 17px;
  }
  .home-features .config-code {
    font-size: 11px;
  }
}
@media (max-width: 400px) {
  .home-features .config-code {
    font-size: 10px;
  }
}