:root {
  color-scheme: light;
  --ink: #251a2b;
  --muted: #6e6175;
  --line: #eadbd6;
  --paper: #fffaf7;
  --soft: #f5ebe8;
  --peach: #ff7f66;
  --peach-strong: #ec4f55;
  --mint: #2fae8f;
  --plum: #5c4778;
  --sky: #d9edf4;
  --shadow: 0 24px 70px rgba(63, 34, 42, 0.16);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 12px 10px 14px;
  transform: translateX(-50%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(37, 26, 43, 0.26);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  border-color: rgba(234, 219, 214, 0.82);
  background: rgba(255, 250, 247, 0.9);
  box-shadow: 0 16px 40px rgba(37, 26, 43, 0.12);
}

.site-header.solid-header {
  color: var(--ink);
  border-color: rgba(234, 219, 214, 0.9);
  background: rgba(255, 250, 247, 0.94);
  box-shadow: 0 16px 40px rgba(37, 26, 43, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(236, 79, 85, 0.24);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 4vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.header-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover {
  opacity: 1;
}

.header-action {
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  border-radius: 8px;
  background: var(--peach-strong);
  box-shadow: 0 12px 30px rgba(236, 79, 85, 0.24);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: flex;
  min-height: 640px;
  height: 88svh;
  max-height: 820px;
  overflow: hidden;
  isolation: isolate;
  background: #15101f;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 12, 25, 0.92) 0%, rgba(18, 12, 25, 0.76) 38%, rgba(18, 12, 25, 0.16) 72%),
    linear-gradient(0deg, rgba(18, 12, 25, 0.34), rgba(18, 12, 25, 0.02) 48%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: clamp(142px, 22vh, 210px);
  color: #fff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 118px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  width: min(560px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.35;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.download-button,
.platform-row {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 202px;
  min-height: 66px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
}

.download-button.primary,
.download-button.is-recommended {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--peach-strong);
  box-shadow: 0 18px 44px rgba(236, 79, 85, 0.32);
}

.download-button:hover,
.platform-row:hover {
  transform: translateY(-2px);
}

.download-button strong,
.download-button small,
.platform-text strong,
.platform-text small {
  display: block;
}

.download-button strong {
  font-size: 16px;
}

.download-button small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.device-tip {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  display: grid;
  width: 30px;
  height: 48px;
  place-items: start center;
  padding-top: 8px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
}

.scroll-cue span {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  animation: cue 1.5s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(12px);
    opacity: 1;
  }
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.download-band,
.features-band,
.trust-band,
.faq-band {
  padding: clamp(64px, 8vw, 104px) 0;
}

.download-band {
  background:
    linear-gradient(180deg, #fffaf7 0%, #f7eee9 100%);
  border-bottom: 1px solid var(--line);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.download-copy h2,
.section-heading h2,
.trust-layout h2,
.about-hero h1,
.about-block h2,
.record-layout h2 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.download-copy p,
.feature-card p,
.trust-list,
.faq-list p,
.qr-area p,
.about-hero p,
.record-layout p {
  color: var(--muted);
  line-height: 1.8;
}

.download-copy > p {
  margin: 20px 0 0;
  font-size: 17px;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.release-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--plum);
  font-size: 13px;
  font-weight: 800;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(234, 219, 214, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.platform-list {
  display: grid;
  gap: 12px;
}

.platform-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 26px;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.platform-row.is-recommended {
  border-color: rgba(236, 79, 85, 0.42);
  box-shadow: 0 16px 38px rgba(236, 79, 85, 0.16);
}

.platform-text strong {
  font-size: 16px;
}

.platform-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.row-arrow {
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--muted);
  border-right: 2px solid var(--muted);
  transform: rotate(45deg);
}

.qr-area {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-frame {
  display: block;
  width: 192px;
  height: 192px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.qr-area strong {
  display: block;
  font-size: 16px;
}

.qr-area p {
  max-width: 180px;
  margin: 6px auto 0;
  font-size: 13px;
}

.features-band {
  background: #fffaf7;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin-bottom: 30px;
}

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

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
}

.trust-band {
  color: #fff;
  background: #251a2b;
}

.trust-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
}

.trust-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
}

.trust-list li {
  position: relative;
  padding-left: 22px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.faq-band {
  background:
    linear-gradient(180deg, #fffaf7 0%, #f8f3f0 100%);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(24px, 6vw, 72px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 800;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  margin-left: auto;
  color: var(--peach-strong);
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.plain-page {
  background:
    linear-gradient(180deg, #fffaf7 0%, #f7eee9 44%, #fffaf7 100%);
}

.about-hero {
  padding: 144px 0 76px;
  border-bottom: 1px solid var(--line);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
}

.about-hero h1 {
  font-size: clamp(46px, 7vw, 86px);
}

.about-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 18px;
}

.company-seal {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border: 1px solid rgba(234, 219, 214, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.company-seal img {
  width: 86px;
  height: 86px;
  border-radius: 8px;
}

.about-band {
  padding: clamp(54px, 7vw, 94px) 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.about-block {
  min-height: 100%;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 52px rgba(63, 34, 42, 0.1);
}

.about-block h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
}

.info-list {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(234, 219, 214, 0.78);
}

.info-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.info-list dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.record-band {
  padding: clamp(54px, 7vw, 86px) 0;
  color: #fff;
  background: #251a2b;
}

.record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.record-layout p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.record-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100% - 36px));
  padding: 14px 16px;
  transform: translateY(16px);
  pointer-events: none;
  opacity: 0;
  color: #fff;
  border-radius: 8px;
  background: #251a2b;
  box-shadow: 0 16px 46px rgba(37, 26, 43, 0.22);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 860px) {
  .site-header {
    top: 10px;
    grid-template-columns: auto auto;
    width: calc(100% - 20px);
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 670px;
    height: 90svh;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(18, 12, 25, 0.42) 0%, rgba(18, 12, 25, 0.22) 36%, rgba(18, 12, 25, 0.9) 100%),
      linear-gradient(90deg, rgba(18, 12, 25, 0.72), rgba(18, 12, 25, 0.08));
  }

  .hero-inner {
    align-self: flex-end;
    padding-top: 0;
    padding-bottom: 90px;
  }

  .hero-copy {
    font-size: clamp(21px, 7vw, 29px);
  }

  .download-layout,
  .trust-layout,
  .faq-layout,
  .about-layout,
  .record-layout {
    grid-template-columns: 1fr;
  }

  .about-hero-inner {
    grid-template-columns: 1fr;
  }

  .company-seal {
    width: 120px;
    height: 120px;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .qr-area {
    grid-template-columns: 192px 1fr;
    justify-items: start;
    text-align: left;
  }

  .qr-area p {
    max-width: none;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 58px;
    padding: 8px;
  }

  .brand span {
    font-size: 17px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: 708px;
  }

  .hero-actions,
  .download-button {
    width: 100%;
  }

  .download-button {
    justify-content: flex-start;
  }

  .platform-row {
    grid-template-columns: 1fr 18px;
    min-height: 82px;
    padding: 12px;
  }

  .qr-area {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer {
    flex-direction: column;
  }

  .about-hero {
    padding-top: 118px;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .record-link {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}
/* Right-side app preview override */
.hero {
  display: block;
  background:
    radial-gradient(circle at 22% 26%, rgba(122, 210, 187, 0.08), transparent 28%),
    linear-gradient(90deg, #15101f 0%, #181324 58%, #15101f 100%);
}

.hero-media {
  top: 112px;
  right: clamp(28px, 6vw, 108px);
  bottom: auto;
  left: auto;
  width: min(34vw, 360px);
  height: min(68vh, 640px);
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: #f4f7ed;
  box-shadow: 0 30px 90px rgba(18, 12, 25, 0.38);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-shade {
  display: none;
}

.hero-inner {
  width: min(560px, calc(100% - 32px));
  margin: 0 0 0 clamp(24px, 5vw, 96px);
}

.hero h1 {
  font-size: clamp(58px, 8vw, 104px);
}

.hero-copy {
  width: min(500px, 100%);
}

@media (max-width: 860px) {
  .hero {
    min-height: 760px;
    height: auto;
    padding-bottom: 24px;
  }

  .hero-media {
    top: 92px;
    right: 14px;
    width: min(42vw, 220px);
    height: 420px;
    border-radius: 22px;
  }

  .hero-inner {
    width: min(520px, calc(100% - 28px));
    margin-left: 16px;
    padding-top: 176px;
    padding-bottom: 84px;
  }
}

@media (max-width: 560px) {
  .hero-media {
    top: 88px;
    right: 10px;
    width: 150px;
    height: 334px;
    opacity: 0.92;
  }

  .hero h1 {
    font-size: clamp(50px, 14vw, 76px);
  }

  .hero-inner {
    padding-top: 196px;
  }
}
/* Dynamic live app preview */
.hero {
  background:
    repeating-linear-gradient(118deg, transparent 0 72px, rgba(255, 255, 255, 0.018) 72px 73px),
    linear-gradient(115deg, #15101f 0%, #211629 53%, #102923 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 54%, rgba(122, 210, 187, 0.1) 54% 55%, transparent 55% 100%),
    repeating-linear-gradient(90deg, transparent 0 109px, rgba(122, 210, 187, 0.035) 109px 110px);
  background-size: 180% 100%, 100% 100%;
  animation: heroLines 14s linear infinite;
}

.hero-media {
  top: 104px;
  right: clamp(24px, 5vw, 92px);
  bottom: auto;
  left: auto;
  width: min(40vw, 480px);
  height: min(72vh, 680px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  perspective: 1200px;
  filter: drop-shadow(0 34px 45px rgba(6, 12, 10, 0.34));
}

.hero-media::before {
  content: "";
  position: absolute;
  right: 3%;
  bottom: -18px;
  width: 70%;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  filter: blur(14px);
  animation: phoneShadow 6s ease-in-out infinite;
}

.phone-preview {
  position: absolute;
  top: 0;
  right: 5%;
  height: 100%;
  aspect-ratio: 9 / 20;
  overflow: hidden;
  border: 7px solid #16171b;
  border-radius: 34px;
  background: #f4f7ed;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 35px 90px rgba(6, 10, 9, 0.46);
  transform-style: preserve-3d;
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, 0.13) 48%, transparent 63%);
  transform: translateX(-130%);
  animation: screenShine 7s 1.5s ease-in-out infinite;
}

.phone-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 50%;
  width: 48px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(15, 16, 18, 0.84);
}

@keyframes heroLines {
  to { background-position: -180% 0, 0 0; }
}

@keyframes phoneFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotateY(-7deg) rotateX(2deg); }
  50% { transform: translate3d(0, -14px, 0) rotateY(-3deg) rotateX(0); }
}

@keyframes phoneShadow {
  0%, 100% { transform: scaleX(1); opacity: 0.55; }
  50% { transform: scaleX(0.9); opacity: 0.36; }
}

@keyframes screenShine {
  0%, 64% { transform: translateX(-130%); }
  82%, 100% { transform: translateX(130%); }
}

.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .feature-card:nth-child(2) { transition-delay: 90ms; }
.motion-ready .feature-card:nth-child(3) { transition-delay: 180ms; }

@media (max-width: 860px) {
  .hero-media {
    top: 92px;
    right: 8px;
    width: min(46vw, 260px);
    height: 470px;
  }

  .phone-preview {
    border-width: 5px;
    border-radius: 25px;
  }

}

@media (max-width: 560px) {
  .hero-media {
    top: 88px;
    right: 6px;
    width: 178px;
    height: 356px;
    opacity: 1;
  }

  .hero h1 {
    width: max-content;
    max-width: calc(100% - 190px);
    font-size: 42px;
    white-space: nowrap;
  }

  .hero-copy {
    width: calc(100% - 190px);
    font-size: 19px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .phone-preview,
  .hero-media::before {
    animation: none;
  }

  .motion-ready .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}