/* Xiaoli's default purple, softened for the website's charcoal surfaces. */
:root {
  color-scheme: dark;
  --background: #171717;
  --band: #101010;
  --surface: #262626;
  --border: #404040;
  --text: #fff;
  --muted: #a3a3a3;
  --accent: #7047c2;
  --accent-rgb: 112, 71, 194;
  --on-accent: #ffffff;
  --accent-text: #b7a0e0;
  --accent-hover: #7c56cd;
  --radius: 8px;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}
html.lenis {
  scroll-behavior: auto;
}
html:has(dialog[open]) {
  overflow: hidden;
}
dialog {
  overscroll-behavior: contain;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
button {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.plan-toggle input:focus-visible + span {
  outline: 2px solid white;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 12px;
  left: 24px;
  z-index: 3;
  padding: 10px 16px;
  background: var(--accent);
  transform: translateY(-160%);
  color: var(--on-accent);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  background: #171717;
  border-bottom: 1px solid #262626;
  box-shadow: 0 1px 3px #0000000d;
  position: sticky;
  top: 0;
  z-index: 2;
}
.header-inner {
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.desktop-nav a,
.login-link {
  font-weight: 500;
  color: #d4d4d4;
  line-height: 24px;
  border-radius: 8px;
  padding: 8px 12px;
  transition:
    color 0.2s,
    background 0.2s;
}
.desktop-nav a:hover,
.login-link:hover {
  color: #fff;
  background: #262626;
}
.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}
.page-error { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; padding:32px; text-align:center; }
.page-error h1 { font-size:28px; line-height:1.3; }
.page-error p { max-width:460px; color:var(--muted); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 50px;
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
  color: var(--on-accent);
}
.button:hover {
  background: var(--accent-hover);
}
.button:active {
  transform: translateY(1px);
}
.button-small {
  padding: 8px 20px;
  min-height: 40px;
}
.button-secondary {
  background: #383838;
  border-color: transparent;
  color: #f0f0f0;
}
.button-secondary:hover {
  background: #484848;
  border-color: transparent;
}
.icon {
  width: 20px;
  height: 20px;
  color: inherit;
}
.menu-button {
  display: none;
  padding: 10px;
  background: #383838;
  border: 1px solid transparent;
  border-radius: 8px;
}
.mobile-nav {
  padding: 12px 24px 24px;
  display: grid;
  gap: 8px;
  border-top: 1px solid #262626;
}
.mobile-nav a {
  padding: 10px;
  border-radius: 8px;
  color: #d4d4d4;
}
.mobile-nav a:hover {
  background: #262626;
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--band);
}
.hero-atmosphere,
.pricing-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-atmosphere::before,
.pricing-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-radial-gradient(
    ellipse at 100% 100%,
    transparent 0 78px,
    #bb9bea18 79px 80px,
    transparent 81px 158px
  );
  mask-image: linear-gradient(115deg, transparent 12%, #0009 45%, #000 85%);
}
.hero-atmosphere::after,
.pricing-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('/atmosphere-grain.svg') repeat;
  opacity: .035;
}
.hero-inner {
  padding-block: 144px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.25;
}
.hero h1 span {
  color: var(--accent);
}
.hero-copy > p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.625;
  max-width: 512px;
  margin-top: 16px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-visual-stage {
  min-width: 0;
  width: 100%;
  perspective: 1200px;
}
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1.45;
  border: 0;
  background: #262626;
  border-radius: 8px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform-origin: center;
}
.website .hero-visual video {
  position: absolute;
  left: 50%;
  top: 0;
  width: 160%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 20px 22px #0007);
}
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.cart-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}
.section-heading {
  text-align: center;
}
.section-heading h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}
.section-heading p {
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  margin-top: 16px;
}
.features {
  background: var(--band);
  padding-block: 96px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}
.feature {
  padding: 32px;
  border: 1px solid #333;
  border-radius: 12px;
  background: var(--surface);
}
.feature-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 24px;
}
.feature h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}
.feature p {
  color: var(--muted);
  line-height: 26px;
  margin-top: 12px;
}
.showcase {
  padding-block: 96px;
  background: var(--band);
}
.video-frame {
  max-width: 1216px;
  margin: 64px auto 0;
  aspect-ratio: 16/9;
  border: 1px solid #404040;
  border-radius: 12px;
  overflow: hidden;
  background: #101010;
}
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.pricing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 96px;
  background: var(--band);
}
.pricing-atmosphere::before {
  transform: rotate(180deg);
  opacity: .65;
}
.pricing-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 64px;
}
.plan-toggle {
  display: inline-flex;
  margin: 0 0 32px;
  padding: 4px;
  border: 1px solid #404040;
  border-radius: 9999px;
  background: #262626;
}
.plan-toggle label {
  position: relative;
  cursor: pointer;
}
.plan-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.plan-toggle span {
  display: block;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: #a3a3a3;
  transition:
    background 0.2s,
    color 0.2s;
}
.plan-toggle input:checked + span {
  background: var(--accent);
  color:var(--on-accent);
}
.plan-toggle label:hover span {
  color: #fff;
}
.pricing-card {
  width: 100%;
  max-width: 672px;
  border: 1px solid #404040;
  border-radius: 12px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 20px 25px -5px #0000001a;
}
.plan-badge {
  display: inline-block;
  margin-top: 4px;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 20px;
}
.price {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}
.old-price {
  justify-content: flex-end;
}
.old-price {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: #a3a3a3;
}
.old-price s {
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  text-decoration-thickness: 2px;
}
.old-price > span {
  font-size: 14px;
}
.price strong {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}
.benefits {
  list-style: none;
  padding: 0;
  margin: 24px 0 24px;
  display: grid;
  gap: 8px;
  color: #d4d4d4;
}
.benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.benefits .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.pricing-button {
  display: flex;
  width: 100%;
  border-radius: 8px;
  min-height: 48px;
  padding-block: 11px;
}
.site-footer {
  background: #171717;
  border-top: 1px solid #262626;
  padding-block: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.site-footer .brand {
  font-size: 18px;
}
.site-footer .brand-logo {
  width: 40px;
  height: 40px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.icon-link {
  display: flex;
  padding: 4px;
  color: #a3a3a3;
}
.icon-link img,
.icon-link svg {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(0.64);
  transition: color 0.2s;
}
.icon-link:hover {
  color: #fff;
}
.icon-link svg {
  filter: none;
}
.copyright {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 20px;
  text-align: right;
}
.copyright span {
  display: block;
  margin-top: 4px;
}
.subpage {
  min-height: calc(100dvh - 190px);
  padding-block: 96px;
}
.subpage-content {
  max-width: 768px;
  margin: auto;
}
.subpage h1 {
  font-size: 48px;
  line-height: 1.25;
  margin-bottom: 24px;
}
.subpage .lead {
  font-size: 18px;
  line-height: 29px;
  color: var(--muted);
  margin-bottom: 32px;
}
.subpage h2 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.subpage p {
  color: var(--muted);
  line-height: 1.7;
}
.subpage .button {
  margin-top: 32px;
}
.faq-list {
  margin-top: 40px;
}
.faq-list details {
  border-bottom: 1px solid #404040;
  padding: 24px 0;
}
.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}
.faq-list details p {
  padding-top: 16px;
}
.back-link {
  display: inline-flex;
  color: var(--muted);
  margin-bottom: 32px;
}
.back-link:hover {
  color: var(--text);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual-stage {
    animation: hero-in 0.65s ease-out both;
  }
  .hero-visual-stage {
    animation-delay: 0.08s;
  }
  @keyframes hero-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (max-width: 1023px) {
  .hero-inner {
    padding-block: 128px;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero h1 {
    font-size: 48px;
    line-height: 60px;
  }
  .hero-copy {
    text-align: left;
  }
  .hero-copy > p {
    margin-inline: 0;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-visual-stage {
    max-width: 800px;
    margin-inline: auto;
  }
  .desktop-nav {
    gap: 8px;
  }
  .header-inner {
    gap: 16px;
  }
  .header-actions {
    gap: 8px;
  }
  .login-link {
    padding-inline: 8px;
  }
  .feature {
    padding: 24px;
  }
  .feature-grid {
    gap: 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr auto;
  }
  .footer-links {
    justify-self: end;
  }
  .copyright {
    grid-column: 1/-1;
    text-align: center;
  }
  .section-heading h2 {
    font-size: 36px;
    line-height: 40px;
  }
}
@media (max-width: 767px) {
  .desktop-nav,
  .header-actions > .login-link {
    display: none;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .menu-button {
    display: block;
  }
  .hero-inner {
    padding-block: 80px;
  }
  .features,
  .showcase,
  .pricing {
    padding-block: 80px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }
  .feature {
    padding: 28px;
  }
  .feature-icon {
    margin-bottom: 20px;
  }
  .video-frame {
    margin-top: 48px;
  }
  .pricing-stack {
    margin-top: 48px;
  }
  .subpage {
    padding-block: 64px;
  }
  .subpage h1 {
    font-size: 40px;
  }
}
@media (max-width: 479px) {
  .container {
    padding-inline: 20px;
  }
  .brand {
    gap: 8px;
  }
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions .button {
    padding: 8px 14px;
    font-size: 14px;
  }
  .hero-inner {
    padding-block: 72px;
    gap: 40px;
  }
  .hero h1 {
    font-size: 44px;
    line-height: 55px;
  }
  .hero-copy > p {
    font-size: 18px;
    line-height: 29.25px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    padding-inline: 18px;
    font-size: 14px;
  }
  .section-heading h2 {
    font-size: 34px;
    line-height: 1.15;
  }
  .section-heading p {
    font-size: 16px;
    line-height: 26px;
  }
  .pricing-card {
    padding: 24px;
  }
  .price strong {
    font-size: 44px;
  }
  .footer-inner {
    gap: 24px;
  }
  .footer-links {
    gap: 16px;
  }
  .copyright {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Match reference typography and stacked actions on smaller screens. */
@media (max-width: 639px) {
  .container {
    padding-inline: 24px;
  }
  .hero h1 {
    font-size: 48px;
    line-height: 60px;
  }
  .hero-copy > p {
    font-size: 20px;
    line-height: 32.5px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .button {
    font-size: 16px;
    padding: 12px 24px;
  }
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  .brand {
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 36px;
    line-height: 40px;
  }
  .section-heading p {
    font-size: 18px;
    line-height: 28px;
  }
  .plan-top {
    gap: 16px;
  }
  .price strong {
    font-size: 36px;
    line-height: 40px;
  }
  .plan-intro {
    max-width: 130px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer-links {
    justify-self: center;
  }
  .copyright {
    font-size: 14px;
  }
}
@media (max-width: 359px) {
  .header-actions .button {
    padding-inline: 10px;
  }
  .header-actions {
    gap: 6px;
  }
  .menu-button {
    padding: 8px;
  }
  .brand {
    gap: 6px;
  }
  .plan-top {
    flex-direction: column;
  }
  .price {
    text-align: left;
  }
  .old-price {
    justify-content: flex-start;
  }
}
.text-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-visual {
  display: block;
  padding: 0;
  background: transparent;
  text-align: inherit;
  cursor: default;
}
@media (max-width: 479px) {
  .plan-top {
    flex-direction: column;
    gap: 20px;
  }
  .plan-intro {
    max-width: none;
  }
  .price {
    text-align: left;
  }
  .price strong {
    white-space: nowrap;
  }
  .old-price {
    justify-content: flex-start;
  }
}
