/* Current visual theme. Loaded after site.css; edit colors and card effects here. */

:root {
  color-scheme: light;
  --bg0: #f6f6f4;
  --bg1: #fff;
  --bg2: #ececea;
  --glass: #fff;
  --glass2: #fff;
  --glass3: #fff;
  --bdr1: #e3e3df;
  --bdr2: #c9c9c4;
  --bdr3: #92928c;
  --tx1: #121212;
  --tx2: #4f4f4c;
  --tx3: #73736f;
  --ac1: #121212;
  --ac2: #121212;
  --ac3: #121212;
  --gr1: #121212;
  --gr2: #121212;
  --gr3: #121212;
  --sh1: 0 2px 8px rgba(0,0,0,.04);
  --sh2: 0 10px 30px rgba(0,0,0,.07);
  --sh3: 0 18px 48px rgba(0,0,0,.09);
  --sh-acc: none;
  --r1: 6px;
  --r2: 10px;
  --r3: 14px;
  --r4: 18px;
  --e2: .25s ease;
}

html,body {
  background: var(--bg0);
}

body {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  letter-spacing: -.01em;
}

::selection {
  background: #222;
  color: #fff;
}

.ambient,.hero-feed,.hero-bg-ring {
  display: none;
}

.section {
  scroll-margin-top: 70px;
  padding: 100px 28px;
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-title {
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.25;
}

.section-title>.text-gradient {
  margin-left: .12em;
}

.section-sub {
  color: var(--tx2);
  font-size: .97rem;
}

.text-gradient {
  background: none;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.chip {
  border: 1px solid var(--bdr2);
  background: #fff;
  color: #333;
  border-radius: 4px;
  padding: 5px 11px;
  font-size: .72rem;
  letter-spacing: .1em;
}

.skip-link {
  background: #111;
  border-radius: 0 0 8px 8px;
}

/* Navigation and hero */

.navbar,.navbar.scrolled {
  padding: 0;
  padding-top: env(safe-area-inset-top,0px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--bdr1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar-inner {
  max-width: 1320px;
  min-height: 68px;
  padding: 0 28px;
}

.brand-logo {
  filter: grayscale(1);
  border-radius: 5px;
}

.brand-text {
  background: none;
  color: #111;
  -webkit-text-fill-color: currentColor;
  font-weight: 800;
  letter-spacing: -.035em;
}

.nav-menu {
  gap: 34px;
}

.nav-item {
  color: #595955;
  font-size: .85rem;
}

.nav-item::after {
  height: 1px;
  background: #111;
  border-radius: 0;
}

.nav-cta {
  background: #111;
  color: #fff;
  border-radius: 7px;
  box-shadow: none;
  padding: 10px 18px;
}

.nav-cta:hover {
  background: #333;
  box-shadow: none;
  transform: translateY(-1px);
}

.nav-burger {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-burger span {
  background: #111;
  border-radius: 0;
}

.nav-mobile {
  background: #fff;
  transform: none;
  visibility: hidden;
  opacity: 0;
  transition: none;
}

.nav-mobile.open {
  transform: none;
  visibility: visible;
  opacity: 1;
  transition: none;
}

.nav-mobile::before {
  content: "WorldBox";
  position: absolute;
  top: 19px;
  left: 28px;
  color: #111;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.nav-mobile a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 28px;
  font-weight: 700;
}

.hero {
  min-height: min(800px,100svh);
  padding: 150px 24px 110px;
  background: #fff;
  color: #111;
  isolation: isolate;
}

.hero::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(1180px,90vw);
  height: 1px;
  transform: translateX(-50%);
  background: #e1e1dd;
}

.hero-body {
  max-width: 780px;
}

.hero-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  padding: 9px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #e8e8e5;
  border-radius: 16px;
  filter: grayscale(1);
  box-shadow: none;
}

.hero-badge {
  background: #fafaf9;
  color: #555550;
  border: 1px solid #e2e2de;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: .75rem;
  letter-spacing: .04em;
}

.hero-badge-dot {
  background: #111;
  box-shadow: none;
}

.hero-badge-dot::after {
  display: none;
}

.hero-title {
  font-size: clamp(3rem,7vw,6rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -.065em;
  margin-bottom: 24px;
}

.hero-title .text-gradient {
  display: block;
  color: #8a8a85;
  -webkit-text-fill-color: #8a8a85;
  font-size: .78em;
  letter-spacing: -.06em;
}

.hero-desc {
  color: #5f5f5a;
  font-size: clamp(.97rem,1.5vw,1.12rem);
  line-height: 1.9;
  margin-bottom: 34px;
}

.hero-actions {
  gap: 12px;
}

.hero-logo,.hero-badge,.hero-title,.hero-desc,.hero-actions {
  animation: none;
  opacity: 1;
  transform: none;
}

.btn-glass {
  background: #fff;
  color: #111;
  border: 1px solid #fff;
  border-radius: 7px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}

.btn-glass::before,.btn-glass::after {
  display: none;
}

.btn-glass:hover {
  background: #ededeb;
  color: #111;
  border-color: #ededeb;
  box-shadow: none;
  transform: translateY(-2px);
}

.hero .btn-glass-accent {
  background: #111;
  color: #fff;
  border-color: #111;
}

.hero .btn-glass-accent:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.hero .btn-glass:not(.btn-glass-accent) {
  background: #fff;
  color: #111;
  border-color: #d0d0cb;
}

.hero .btn-glass:not(.btn-glass-accent):hover {
  background: #f5f5f3;
  border-color: #aaa;
}

/* Features */

#features {
  background: #fff;
}

.accordion {
  max-width: 1080px;
  gap: 10px;
}

.aco-card,.aco-card.aco-open {
  background: #fff;
  border: 1px solid var(--bdr1);
  border-radius: 10px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.aco-card:hover,.aco-card.aco-open {
  border-color: #8f8f89;
}

.aco-trigger {
  padding: 22px 26px;
}

.aco-trigger:hover {
  background: #fafaf9;
}

.aco-title {
  font-size: 1rem;
  font-weight: 700;
}

.aco-index {
  display: inline-block;
  min-width: 29px;
  margin-right: 12px;
  color: #999993;
  font-size: .73rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  vertical-align: 2px;
}

.aco-meta {
  background: #f1f1ef;
  color: #5b5b57;
  border-radius: 4px;
}

.aco-card.aco-open .aco-arrow {
  color: #111;
}

.aco-body-inner {
  padding: 0 26px 24px;
}

.aco-tags {
  gap: 8px;
}

.aco-tag,.aco-tag-1,.aco-tag-2,.aco-tag-3,.aco-tag-4 {
  background: #fafaf9;
  border-color: #e2e2de;
  color: #4b4b48;
  border-radius: 5px;
}

.aco-tag:hover,.aco-tag-1:hover,.aco-tag-2:hover,.aco-tag-3:hover,.aco-tag-4:hover {
  background: #eee;
  color: #111;
  border-color: #bdbdb8;
  transform: none;
}

/* Product screenshots */

#browser {
  background: #f6f6f4;
}

.carousel {
  max-width: 1120px;
}

.carousel-frame {
  aspect-ratio: 2412/1080;
}

.carousel-ctrl {
  top: calc((100% - 90px)/2);
}

.carousel-stage {
  background: #fff;
  border: 1px solid #d7d7d2;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.carousel-img {
  padding: 18px;
  background: #fff;
}

.carousel-info {
  background: #fff;
  border-top: 1px solid var(--bdr1);
  padding: 22px 28px;
}

.carousel-title {
  letter-spacing: -.03em;
}

.carousel-ctrl {
  background: #fff;
  color: #111;
  border: 1px solid #d6d6d1;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.carousel-ctrl:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: none;
}

.carousel-dot::before {
  background: #c9c9c5;
  border: 0;
  box-shadow: none;
}

.carousel-dot.active::before {
  background: #111;
  border: 0;
  box-shadow: none;
}

/* Pricing */

#pricing {
  background: #fff;
}

.price-grid {
  max-width: 1280px;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.price-card,.price-pop,.price-season,.price-ultimate {
  min-height: 440px;
  padding: 31px 22px 22px;
  background: #fff;
  color: #111;
  border: 1px solid #dcdcd7;
  border-radius: 11px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none;
  will-change: auto;
  overflow: visible;
}

.price-card::before,.price-card::after,.price-season::before,.price-season::after,.price-ultimate::before,.price-ultimate::after,.price-pop::after,.price-ultimate .price-badge::after {
  display: none;
  animation: none;
}

.price-card:hover,.price-pop:hover,.price-season:hover,.price-ultimate:hover {
  border-color: #777;
  box-shadow: 0 8px 26px rgba(0,0,0,.07);
  transform: translateY(-3px);
}

.price-pop {
  background: #171717;
  color: #fff;
  border-color: #171717;
}

.price-pop:hover {
  border-color: #171717;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.price-head {
  margin-bottom: 27px;
}

.price-name,.price-season .price-name,.price-ultimate .price-name {
  background: none;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  font-size: 1.22rem;
  letter-spacing: -.035em;
}

.price-en {
  color: #858580;
  letter-spacing: .13em;
}

.price-pop .price-en {
  color: #b6b6b2;
}

.price-badge,.price-pop .price-badge,.price-ultimate .price-badge {
  top: -1px;
  right: 16px;
  background: #111;
  color: #fff;
  border-radius: 0 0 5px 5px;
  box-shadow: none;
}

.price-pop .price-badge {
  background: #fff;
  color: #111;
}

.price-num-row {
  gap: 6px;
  margin-bottom: 27px;
}

.price-num {
  font-size: clamp(2.2rem,3vw,2.75rem);
  font-weight: 850;
  letter-spacing: -.065em;
}

.price-old {
  color: #858580;
}

.price-unit {
  color: #777770;
}

.price-pop .price-old,.price-pop .price-unit {
  color: #b0b0ab;
}

.price-feats {
  gap: 10px;
  margin-bottom: 28px;
}

.price-feats li {
  color: #555550;
  font-size: .83rem;
}

.price-pop .price-feats li {
  color: #e3e3df;
}

.price-feats svg circle {
  fill: #111;
  fill-opacity: 1;
}

.price-feats svg path {
  stroke: #fff;
}

.price-pop .price-feats svg circle {
  fill: #fff;
}

.price-pop .price-feats svg path {
  stroke: #111;
}

.price-actions {
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.price-actions .price-btn,.price-actions .price-btn-android,.price-actions .price-btn-ios,.price-actions .price-btn-accent {
  min-height: 42px;
  background: #f2f2f0;
  color: #111;
  border: 1px solid #e5e5e1;
  border-radius: 6px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.price-actions .price-btn:hover,.price-actions .price-btn-accent:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: none;
}

.price-pop .price-actions .price-btn {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.price-pop .price-actions .price-btn:hover {
  background: #ddd;
  border-color: #ddd;
}

.price-safe {
  color: #777770;
}

/* Download, release notes, footer */

#download {
  background: #111;
  color: #fff;
  padding: 105px 24px;
}

#download .section-title {
  font-size: clamp(2rem,5vw,3.5rem);
}

#download .section-sub,#download .dl-meta {
  color: #c3c3bf;
}

#download .btn-glass-accent {
  background: #fff;
  color: #111;
  border-color: #fff;
}

#download .btn-glass:not(.btn-glass-accent) {
  background: transparent;
  color: #fff;
  border-color: #777;
}

#download .btn-glass:not(.btn-glass-accent):hover {
  background: #2c2c2c;
  border-color: #aaa;
}

#download a[style] {
  color: #fff!important;
}

#changelog {
  background: #f6f6f4;
}

.timeline {
  max-width: 840px;
  padding-left: 36px;
}

.timeline::before {
  background: #c8c8c3;
}

.tl-marker,.tl-marker-live,.tl-marker-stable,.tl-marker-major {
  background: #fff;
  border-color: #111;
  box-shadow: none;
}

.tl-marker-live {
  background: #111;
}

.tl-card {
  background: #fff;
  border: 1px solid #e0e0db;
  border-radius: 9px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 23px 26px;
}

.tl-card:hover {
  border-color: #aaa;
  box-shadow: none;
}

.tl-tag,.tl-tag-live,.tl-tag-stable,.tl-tag-major {
  background: #f0f0ee;
  color: #383835;
  border-radius: 4px;
}

.tl-tag-live {
  background: #111;
  color: #fff;
}

.tl-list li::before {
  background: #111;
  opacity: .7;
}

.footer {
  background: #fff;
  color: #66665f;
  border-top: 1px solid var(--bdr1);
  padding: 42px 24px;
}

.footer a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  color: #777770;
  opacity: 1;
}

/* Mobile action bar and update dialog */

.bottom-bar {
  background: #fff;
  border-top: 1px solid var(--bdr1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bottom-bar-btn {
  border-radius: 7px;
}

.bottom-bar-buy {
  background: #111;
  color: #fff;
  box-shadow: none;
}

.bottom-bar-dl {
  background: #f3f3f1;
  color: #111;
  border-color: #deded9;
}

.upd-overlay {
  background: rgba(0,0,0,.55);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.upd-modal {
  background: #fff;
  border: 1px solid #d5d5d0;
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(0,0,0,.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.upd-modal::before {
  background: #111;
}

.upd-badge {
  background: #111;
  color: #fff;
  border-radius: 4px;
  box-shadow: none;
}

.upd-summary span {
  background: #f7f7f5;
  border-color: #e2e2de;
  border-radius: 4px;
}

.upd-change-group,.upd-change-group:last-child,.upd-version-previous .upd-change-group {
  background: #fafaf9;
  border-color: #e4e4e0;
  box-shadow: none;
}

.upd-change-title small {
  background: #eaeae7;
  color: #444;
}

.upd-change-list li::before {
  background: #111;
  box-shadow: none;
}

.upd-btn {
  border-radius: 7px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.upd-btn-primary {
  background: #111;
  color: #fff;
  box-shadow: none;
}

.upd-btn-secondary,.upd-btn-tertiary {
  background: #f1f1ef;
  color: #111;
  border-color: #deded9;
  box-shadow: none;
}

.upd-btn-primary:hover {
  background: #333;
}

.upd-btn-secondary:hover,.upd-btn-tertiary:hover {
  background: #e5e5e2;
}

/* The optional return notice uses the same palette if it is reintroduced. */

.return-gate {
  --return-yellow: #111;
  --return-amber: #333;
  --return-green: #111;
  --return-text: #111;
  --return-text-2: #555;
  background: #fff;
}

.return-nav-status i {
  background: #111;
  box-shadow: none;
}

.return-name {
  background: none;
  color: #111;
  -webkit-text-fill-color: currentColor;
}

.return-singapore svg,.return-image-bg {
  display: none;
}

.return-enter,.return-enter:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  border-radius: 7px;
  box-shadow: none;
}

.return-countdown {
  background: #f0f0ee;
  color: #111;
  border-radius: 7px;
}

:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

@media(max-width:1100px) {
  .price-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:768px) {
  .section {
    padding: 72px 18px;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .navbar-inner {
    min-height: 62px;
  }
  .hero {
    min-height: 680px;
    padding: 130px 18px 90px;
  }
  .hero-title {
    font-size: clamp(2.9rem,11vw,4.7rem);
  }
  .price-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    max-width: 680px;
  }
  .price-card,.price-pop,.price-season,.price-ultimate {
    min-height: 420px;
    padding: 27px 20px 20px;
  }
  #download {
    padding: 86px 18px;
  }
  .carousel-ctrl {
    border-radius: 6px;
  }
}

@media(max-width:540px) {
  .hero {
    min-height: 630px;
    padding: 115px 18px 72px;
  }
  .hero-body {
    width: 100%;
  }
  .hero-logo {
    width: 68px;
    height: 68px;
    border-radius: 12px;
  }
  .hero-title {
    font-size: clamp(2.7rem,12vw,3.6rem);
  }
  .hero-desc {
    font-size: .94rem;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn-glass {
    max-width: 360px;
    min-height: 48px;
  }
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 410px;
    gap: 12px;
  }
  .price-card,.price-pop,.price-season,.price-ultimate {
    min-height: 0;
    padding: 23px 20px 20px;
  }
  .price-head {
    margin-bottom: 14px;
  }
  .price-num-row {
    margin-bottom: 18px;
  }
  .price-feats {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px 10px;
    margin-bottom: 19px;
  }
  .price-custom .price-feats {
    grid-template-columns: 1fr;
  }
  .price-feats li {
    font-size: .78rem;
    line-height: 1.35;
    gap: 6px;
  }
  .price-actions .price-btn {
    min-height: 45px;
    font-size: .79rem;
  }
  .carousel-img {
    padding: 8px;
  }
  .carousel-info {
    padding: 17px;
  }
  .carousel-dot {
    flex-basis: 20px;
    width: 20px;
  }
  .aco-trigger {
    padding: 16px 17px;
  }
  .aco-body-inner {
    padding: 0 17px 19px;
  }
  .tl-card {
    padding: 17px;
  }
  .footer {
    padding-bottom: 100px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .hero::before {
    display: none;
  }
  .price-card {
    transition: none;
  }
}

/* Gray edition: soft neutral surfaces, charcoal emphasis, clear mobile contrast. */

:root {
  --bg0: #e9e9e7;
  --bg1: #f2f2f0;
  --bg2: #dededb;
  --glass: #f8f8f6;
  --glass2: #f8f8f6;
  --glass3: #f8f8f6;
  --bdr1: #d1d1cd;
  --bdr2: #b9b9b5;
  --bdr3: #888884;
  --tx1: #292929;
  --tx2: #585856;
  --tx3: #70706d;
  --ac1: #111111;
  --ac2: #111111;
  --ac3: #111111;
  --gr1: #111111;
  --gr2: #111111;
  --gr3: #111111;
}

html,body {
  background: #e9e9e7;
}

::selection {
  background: #494948;
  color: #fff;
}

.skip-link {
  background: #111111;
}

.navbar,.navbar.scrolled {
  background: rgba(241,241,239,.97);
  border-color: #d0d0cd;
}

.brand-text,.nav-item:hover,.nav-item.active {
  color: #292929;
}

.nav-item::after {
  background: #4a4a49;
}

.nav-cta,.nav-cta:hover {
  background: #111111;
  color: #fff;
}

.nav-burger span {
  background: #363635;
}

.nav-mobile {
  background: #efefed;
}

.nav-mobile::before {
  color: #292929;
}

.chip {
  background: #e4e4e1;
  border-color: #cececa;
  color: #4d4d4b;
}

.hero {
  background: #ebebea;
  color: #292929;
}

.hero::after {
  background: #d0d0cd;
}

.hero-logo {
  background: #f7f7f5;
  border-color: #d4d4d0;
}

.hero-badge {
  background: #e0e0dd;
  border-color: #cdcdca;
  color: #535350;
}

.hero-badge-dot {
  background: #555553;
}

.hero-title .text-gradient {
  color: #878783;
  -webkit-text-fill-color: #878783;
}

.hero-desc {
  color: #555552;
}

.btn-glass {
  background: #f6f6f4;
  color: #292929;
  border-color: #d0d0cc;
}

.btn-glass:hover {
  background: #fff;
  color: #292929;
  border-color: #bababa;
}

.hero .btn-glass-accent,.hero .btn-glass-accent:hover {
  background: #111111;
  color: #fff;
  border-color: #111111;
}

.hero .btn-glass:not(.btn-glass-accent) {
  background: #ededeb;
  color: #292929;
  border-color: #bdbdb9;
}

.hero .btn-glass:not(.btn-glass-accent):hover {
  background: #f7f7f5;
  border-color: #999995;
}

#features {
  background: #f2f2f0;
}

.aco-card,.aco-card.aco-open {
  background: #f9f9f7;
  border-color: #d4d4d0;
}

.aco-card:hover,.aco-card.aco-open {
  border-color: #a9a9a5;
}

.aco-trigger:hover {
  background: #f0f0ee;
}

.aco-meta {
  background: #e8e8e5;
  color: #575754;
}

.aco-tag,.aco-tag-1,.aco-tag-2,.aco-tag-3,.aco-tag-4 {
  background: #eeeeeb;
  border-color: #d7d7d3;
  color: #4e4e4b;
}

/* The panel height animates between its measured pixel values. */
.aco-body {
  transition: height .48s cubic-bezier(.4,0,.2,1);
}

.aco-arrow {
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}

.aco-body-inner {
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .3s ease, transform .38s ease;
}

.aco-card.aco-open .aco-body-inner {
  opacity: 1;
  transform: translateY(0);
}

.aco-tag:hover,.aco-tag-1:hover,.aco-tag-2:hover,.aco-tag-3:hover,.aco-tag-4:hover {
  background: #e4e4e1;
  border-color: #b8b8b4;
}

#browser {
  background: #e4e4e2;
}

.carousel-stage,.carousel-img,.carousel-info {
  background: #f7f7f5;
}

.carousel-stage {
  border-color: #ccccca;
  box-shadow: 0 16px 44px rgba(0,0,0,.05);
}

.carousel-ctrl {
  background: #f0f0ee;
  border-color: #cececa;
}

.carousel-ctrl:hover {
  background: #111111;
  color: #fff;
  border-color: #111111;
}

.carousel-dot.active::before {
  background: #4b4b49;
}

#pricing {
  background: #ebebea;
}

.price-card,.price-season,.price-ultimate {
  background: #f8f8f6;
  color: #292929;
  border-color: #cececa;
}

.price-card:hover,.price-season:hover,.price-ultimate:hover {
  border-color: #8d8d89;
}

.price-pop,.price-pop:hover {
  background: #111111;
  color: #fff;
  border-color: #111111;
}

.price-badge,.price-ultimate .price-badge {
  background: #555553;
}

.price-pop .price-badge {
  background: #e8e8e5;
  color: #292929;
}

.price-feats svg circle {
  fill: #4b4b49;
}

.price-pop .price-feats svg circle {
  fill: #e8e8e5;
}

.price-pop .price-feats svg path {
  stroke: #111111;
}

.price-actions .price-btn,.price-actions .price-btn-android,.price-actions .price-btn-ios,.price-actions .price-btn-accent {
  background: #e9e9e6;
  border-color: #d7d7d3;
  color: #292929;
}

.price-actions .price-btn:hover,.price-actions .price-btn-accent:hover {
  background: #111111;
  color: #fff;
  border-color: #111111;
}

.price-pop .price-actions .price-btn {
  background: #f1f1ef;
  border-color: #f1f1ef;
  color: #292929;
}

.price-pop .price-actions .price-btn:hover {
  background: #dcdcd9;
  border-color: #dcdcd9;
}

#download {
  background: #111111;
}

#download .btn-glass-accent {
  background: #f0f0ee;
  border-color: #f0f0ee;
  color: #292929;
}

#download .btn-glass:not(.btn-glass-accent) {
  background: transparent;
  border-color: #a5a5a1;
  color: #fff;
}

#download .btn-glass:not(.btn-glass-accent):hover {
  background: #4a4a49;
  border-color: #c2c2bf;
}

#changelog {
  background: #e5e5e3;
}

.tl-card {
  background: #f8f8f6;
  border-color: #d1d1cd;
}

.tl-marker,.tl-marker-stable,.tl-marker-major {
  background: #e5e5e3;
  border-color: #555553;
}

.tl-marker-live {
  background: #555553;
  border-color: #555553;
}

.tl-tag,.tl-tag-stable,.tl-tag-major {
  background: #e5e5e2;
  color: #4a4a48;
}

.tl-tag-live {
  background: #555553;
  color: #fff;
}

.tl-list li::before {
  background: #555553;
}

.footer {
  background: #e2e2e0;
  border-color: #cececa;
  color: #62625f;
}

.footer a {
  color: #333331;
}

.bottom-bar {
  background: #ededeb;
  border-color: #cbcbc7;
}

.bottom-bar-buy {
  background: #111111;
}

.bottom-bar-dl {
  background: #dededb;
  border-color: #c9c9c5;
}

.upd-modal {
  background: #f1f1ef;
  border-color: #c8c8c4;
}

.upd-modal::before,.upd-badge,.upd-btn-primary {
  background: #111111;
}

.upd-summary span,.upd-change-group,.upd-change-group:last-child,.upd-version-previous .upd-change-group {
  background: #f8f8f6;
  border-color: #d8d8d4;
}

.upd-btn-secondary,.upd-btn-tertiary {
  background: #e4e4e1;
  border-color: #cececa;
}

.upd-btn-primary:hover {
  background: #30302f;
}

.upd-btn-secondary:hover,.upd-btn-tertiary:hover {
  background: #d9d9d6;
}

/* Pricing icons are CSS, so editing plan text needs only one HTML line. */
.price-feats li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.price-pop .price-feats li::before {
  background: #fff;
  color: #111;
}

/* The custom plan is the only full-color element in the pricing area.
   Two matching rainbow runs make the loop seamless. */
.price-custom {
  color: #fff;
  border-color: #754383;
  background: linear-gradient(
    90deg,
    #9f2a65 0%,
    #ad443a 7.14%,
    #a35c20 14.28%,
    #807117 21.42%,
    #267650 28.56%,
    #176b89 35.7%,
    #494ea6 42.84%,
    #9f2a65 50%,
    #ad443a 57.14%,
    #a35c20 64.28%,
    #807117 71.42%,
    #267650 78.56%,
    #176b89 85.7%,
    #494ea6 92.84%,
    #9f2a65 100%
  );
  background-size: 200% 100%;
  box-shadow: 0 15px 40px rgba(74,40,97,.25);
  animation: customRainbowFlow 10s linear infinite;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

@keyframes customRainbowFlow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.price-custom:hover {
  border-color: #b77ca8;
  box-shadow: 0 20px 50px rgba(74,40,97,.35);
  transform: translateY(-5px);
}

.price-custom .price-name,
.price-custom .price-num {
  color: #fff;
}

.price-custom .price-en,
.price-custom .price-old,
.price-custom .price-unit {
  color: #e7dcf8;
}

.price-custom .price-feats {
  gap: 12px;
}

.price-custom .price-feats li {
  align-items: flex-start;
  color: #fff;
  font-size: .85rem;
  line-height: 1.48;
}

.price-custom .price-feats li::before {
  margin-top: 2px;
  background: #fff;
  color: #5b2296;
}

.price-custom .price-badge {
  background: #fff;
  color: #562293;
}

.price-custom .price-actions .price-btn-custom {
  min-height: 48px;
  background: #fff;
  border-color: #fff;
  color: #2f2259;
  font-weight: 800;
  font-size: .9rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.price-custom .price-actions .price-btn-custom:hover {
  background: #e9e7ff;
  border-color: #e9e7ff;
  color: #24184a;
  transform: translateY(-2px);
}

/* Team links are visible on the first screen and below the plan cards. */
.hero-team-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 8px 4px;
  color: #555551;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .22s ease, transform .22s ease;
}

.hero-team-link:hover {
  color: #111;
  transform: translateY(-2px);
}

.pricing-team-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pricing-team-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 26px;
  border: 1px solid #474744;
  border-radius: 7px;
  background: #232322;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .22s ease, transform .22s ease, border-color .22s ease;
}

.pricing-team-action a:hover {
  background: #393937;
  border-color: #111;
  transform: translateY(-2px);
}

.pricing-team-action + .price-safe {
  margin-top: 18px;
}

#download {
  text-align: center;
}

#download .dl-buttons {
  display: inline-flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

#download .dl-backup {
  margin-top: 8px;
  color: #c8c8c8;
  font-size: .75rem;
}

#download .dl-backup-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Lightbox styling lives here, separate from the gallery logic. */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.94);
  cursor: pointer;
  transition: opacity .2s ease;
}

.image-lightbox.closing {
  opacity: 0;
}

.image-lightbox img {
  max-width: 94vw;
  max-height: 94vh;
  object-fit: contain;
  border-radius: 12px;
}

/* Gentle entrance motion; content remains readable before it animates. */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: enterFromBelow .6s ease both; }
  .hero-badge { animation: enterFromBelow .6s ease .1s both; }
  .hero-title { animation: enterFromBelow .7s ease .16s both; }
  .hero-desc,.hero-actions { animation: enterFromBelow .7s ease .24s both; }

  .motion-pending {
    opacity: .78;
    transform: translateY(14px);
  }

  .motion-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .55s ease, transform .55s ease;
  }
}

@keyframes enterFromBelow {
  from { opacity: .55; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 540px) {
  .price-custom .price-feats { display: flex; flex-direction: column; }
  .price-custom .price-feats li { font-size: .84rem; }
  .pricing-team-action a { width: min(100%, 360px); }
}

@media (prefers-reduced-motion: reduce) {
  /* These two requested effects remain subtle even if Windows reduces motion. */
  .price-custom {
    animation-duration: 14s !important;
    animation-iteration-count: infinite !important;
  }
  .aco-body { transition-duration: .48s !important; }
  .aco-arrow { transition-duration: .4s !important; }
  .aco-body-inner { transition-duration: .3s, .38s !important; }
  .carousel-slide { transition-duration: .45s, 0s !important; }
  .hero-logo,.hero-badge,.hero-title,.hero-desc,.hero-actions { animation: none; }
  .motion-pending,.motion-visible { opacity: 1; transform: none; transition: none; }
}

/* Opening plays on each load, then crossfades into the page. */
.intro-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  align-items: center;
  justify-content: center;
  background: #f2f2f0;
  color: #171717;
  cursor: pointer;
}

.intro-active .intro-overlay {
  display: flex;
  animation: introVeil 1.8s ease-in-out forwards;
}

.intro-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-10px);
  pointer-events: none;
}

.intro-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: introMark .42s cubic-bezier(.2,.8,.2,1) both;
}

.intro-name {
  margin: 22px 0 0;
  font-size: clamp(1.6rem, 6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.05em;
  animation: introText .48s ease-out .22s both;
}

.intro-wordmark {
  margin: 1px 0 0;
  color: #858582;
  font-size: clamp(1.05rem, 4vw, 1.4rem);
  font-weight: 750;
  letter-spacing: -.04em;
  animation: introText .48s ease-out .32s both;
}

.intro-skip {
  position: absolute;
  top: max(20px, env(safe-area-inset-top, 0px));
  right: max(20px, env(safe-area-inset-right, 0px));
  padding: 9px 12px;
  border: 1px solid #d5d5d1;
  border-radius: 7px;
  background: #fff;
  color: #5b5b57;
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
}

.intro-skip:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 3px;
}

@keyframes introMark {
  from { opacity: 0; transform: scale(.9) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes introText {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introVeil {
  0%, 62% { opacity: 1; visibility: visible; pointer-events: auto; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 540px) {
  .intro-logo { width: 68px; height: 68px; }
  .intro-skip { top: max(14px, env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }
}

/* Keep the opening paused if its tab starts or becomes hidden. */
.intro-waiting .intro-overlay,
.intro-waiting .intro-logo,
.intro-waiting .intro-name,
.intro-waiting .intro-wordmark {
  animation-play-state: paused !important;
}

/* The brief opening also appears when the system reduces other page motion. */
@media (prefers-reduced-motion: reduce) {
  .intro-active .intro-overlay {
    animation-duration: 1.8s !important;
    animation-iteration-count: 1 !important;
  }
  .intro-active .intro-logo {
    animation-duration: .42s !important;
    animation-iteration-count: 1 !important;
  }
  .intro-active .intro-name,
  .intro-active .intro-wordmark {
    animation-duration: .48s !important;
    animation-iteration-count: 1 !important;
  }
}
