:root {
  --page-bg: #000;
  --text: #fff;
  --text2: #aaa;
  --muted: rgb(255 255 255 / 50%);
  --accent: #e40e3c;
  --panel-bg: linear-gradient(180deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 3%));
  --panel-border: rgb(255 255 255 / 12%);
  --font-cn: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-latin: "Celebes", "SF Pro Display", "Arial Black", var(--font-cn);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-bg);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-cn);
  letter-spacing: 0;
}

button,
a {
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
}

.page-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--page-bg);
  padding: 24px clamp(20px, 4vw, 52px) 32px;
}

.brand,
.about-button {
  color: var(--text);
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.brand-name,
.hero-brand {
  font-family: var(--font-latin);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}

.brand-name {
  font-size: 16px;
  white-space: nowrap;
}

.about-button {
  position: relative;
  top: -2px;
  display: inline-flex;
  width: 84px;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.1%);
  text-decoration: none;
  padding: 10px;
  appearance: none;
  cursor: pointer !important;
  user-select: none;
  -webkit-user-select: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.about-button:hover {
  border-color: rgb(255 255 255 / 45%);
  background: rgb(255 255 255 / 12%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 8%) inset;
}

.about-button:active {
  border-color: rgb(255 255 255 / 30%);
  background: rgb(255 255 255 / 8%);
  box-shadow: none;
}

.about-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.about-button::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  bottom: -4px;
  left: -4px;
  cursor: pointer !important;
}

.about-button span {
  cursor: pointer !important;
  pointer-events: auto !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.about-content {
  display: flex;
  flex: 1;
  width: min(100%, 884px);
  flex-direction: column;
  justify-content: center;
  gap: clamp(92px, 17svh, 164px);
  margin: 0 auto;
  padding: clamp(96px, 17svh, 180px) 0 clamp(72px, 12svh, 128px);
}

.about-intro,
.about-company {
  color: var(--text2);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.about-intro p,
.about-company p {
  margin: 0;
}

.about-company p+p {
  margin-top: 25px;
}

.legal-content {
  width: min(100%, 884px);
  margin: 0 auto;
  padding: 92px 0 48px;
}

.legal-header-block {
  margin-bottom: 30px;
}

.legal-header-block h1,
.footer-links {
  margin: 0;
}

.legal-header-block h1 {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.16;
}

.legal-meta,
.legal-intro,
.legal-body p,
.legal-body li {
  color: var(--text2);
}

.legal-meta,
.legal-intro,
.legal-body p,
.legal-body ul {
  margin: 0;
}

.legal-meta {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.legal-intro {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.9;
}

.legal-intro + .legal-intro {
  margin-top: 12px;
}

.legal-body {
  font-size: 14px;
  line-height: 1.85;
}

.legal-body section + section {
  margin-top: 26px;
}

.legal-body h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.legal-body p + p,
.legal-body p + ul,
.legal-body ul + p {
  margin-top: 10px;
}

.legal-body ul {
  padding-left: 20px;
}

.legal-body li + li {
  margin-top: 8px;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3.2svh, 32px);
  padding: clamp(56px, 8svh, 92px) 0 clamp(44px, 7svh, 78px);
  text-align: center;
}

.hero-title {
  width: min(100%, 360px);
}

.hero-brand,
.hero-title h1,
.download-panel p,
.site-footer p,
.feature-summary {
  margin: 0;
}

.hero-brand {
  font-size: clamp(32px, 4.2vw, 40px);
  color: var(--text);
}

.hero-title h1 {
  margin-top: 4px;
  font-size: clamp(25px, 3.2vw, 32px);
  font-weight: 700;
  line-height: 1.18;
}

.product-visual {
  position: relative;
  width: clamp(266px, 56vw, 366px);
  aspect-ratio: 366 / 430;
}

.visual-glow {
  position: absolute;
  top: -19.8%;
  left: -33%;
  z-index: 0;
  width: 176.8%;
  height: 150.7%;
  pointer-events: none;
}

.phone-hand {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.download-panel {
  display: flex;
  width: min(100%, 280px);
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.download-panel p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.app-store-button {
  display: inline-flex;
  width: 132px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #000;
  text-decoration: none;
  padding: 0;
}

.app-store-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.app-store-button img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.app-store-button>span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.download-label {
  margin-bottom: -1px;
  font-family: "SF Pro Display", "SF Pro Text", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
}

.app-store-button strong {
  font-family: "SF Pro Display", "SF Pro Text", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.05;
  white-space: nowrap;
}

.feature-showcase {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) 0 0;
}

.feature-showcase::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 50%;
  z-index: 0;
  width: min(74vw, 840px);
  height: min(74vw, 840px);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgb(228 14 60 / 18%) 0%, rgb(228 14 60 / 3%) 48%, transparent 74%);
  transform: translateX(-50%);
  filter: blur(28px);
  pointer-events: none;
}

.feature-heading,
.feature-content {
  position: relative;
  z-index: 1;
}

.feature-heading {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.feature-eyebrow {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 14px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4.5vw, 32px);
  font-weight: 700;
  line-height: 1.08;
}

.feature-summary {
  margin-top: 14px;
  color: var(--text2);
  font-size: 16px;
  line-height: 1.75;
}

.feature-content {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 44px);
}

.feature-stage {
  min-width: 0;
}

.feature-stage-shell {
  border: 1px solid var(--panel-border);
  border-radius: 36px;
  background: var(--panel-bg);
  box-shadow:
    0 32px 80px rgb(0 0 0 / 30%),
    inset 0 1px 0 rgb(255 255 255 / 4%);
  padding: clamp(16px, 2.4vw, 24px);
}

.feature-stage-screen {
  position: relative;
  min-height: clamp(360px, 52vw, 620px);
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 24%, rgb(228 14 60 / 26%), transparent 34%),
    linear-gradient(180deg, #161616 0%, #090909 70%, #020202 100%);
}

.feature-stage-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 26%), transparent 84%);
  pointer-events: none;
}

.feature-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 320ms ease,
    transform 420ms ease;
}

.feature-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-media--image {
  padding: 0;
}

.feature-media--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: drop-shadow(0 20px 50px rgb(0 0 0 / 34%));
}

.feature-media--placeholder {
  flex-direction: column;
  padding: 44px 20px;
  text-align: center;
}

.feature-slide:nth-child(2) .feature-media--placeholder {
  background:
    radial-gradient(circle at 50% 20%, rgb(78 181 255 / 24%), transparent 30%),
    linear-gradient(180deg, #111e29 0%, #071118 100%);
}

.feature-slide:nth-child(3) .feature-media--placeholder {
  background:
    radial-gradient(circle at 50% 18%, rgb(228 14 60 / 22%), transparent 32%),
    linear-gradient(180deg, #241018 0%, #0b0709 100%);
}

.feature-slide:nth-child(4) .feature-media--placeholder {
  background:
    radial-gradient(circle at 50% 18%, rgb(255 198 54 / 24%), transparent 32%),
    linear-gradient(180deg, #21180d 0%, #0b0805 100%);
}

.feature-slide:nth-child(5) .feature-media--placeholder {
  background:
    radial-gradient(circle at 50% 18%, rgb(103 255 170 / 20%), transparent 32%),
    linear-gradient(180deg, #112117 0%, #060907 100%);
}

.feature-placeholder-device {
  position: relative;
  width: clamp(162px, 36%, 228px);
  aspect-ratio: 10 / 19;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 10%) 0%, rgb(255 255 255 / 3%) 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 8%),
    0 18px 40px rgb(0 0 0 / 26%);
}

.feature-placeholder-device::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 50%;
  width: 34%;
  height: 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / 18%);
  transform: translateX(50%);
}

.feature-placeholder-device::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 16%), rgb(255 255 255 / 2%)),
    linear-gradient(180deg, rgb(0 0 0 / 24%), rgb(0 0 0 / 38%));
}

.feature-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 0 4px;
}

.feature-progress-text {
  font-family: var(--font-latin);
  font-size: 14px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgb(255 255 255 / 78%);
}

.feature-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.feature-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 18%);
  padding: 0;
  transition:
    width 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.feature-dot.is-active {
  width: 36px;
  background: var(--accent);
}

.feature-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.feature-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.feature-item {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 10%);
  background: transparent;
  color: inherit;
  padding: 22px 0;
  text-align: left;
}

.feature-item:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.feature-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
  border-radius: 18px;
}

.feature-item-index {
  padding-top: 4px;
  font-family: var(--font-latin);
  font-size: 15px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgb(255 255 255 / 38%);
  transition: color 180ms ease;
}

.feature-item-body {
  min-width: 0;
}

.feature-item-body strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.18;
  transition: color 180ms ease;
}

.feature-item-description {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--text2);
  font-size: 16px;
  line-height: 1.8;
  transition:
    max-height 280ms ease,
    opacity 180ms ease,
    margin-top 280ms ease;
}

.feature-item-indicator {
  align-self: start;
  width: 12px;
  height: 12px;
  margin-top: 10px;
  border-right: 1.5px solid rgb(255 255 255 / 26%);
  border-bottom: 1.5px solid rgb(255 255 255 / 26%);
  transform: rotate(-45deg);
  transition:
    transform 220ms ease,
    border-color 180ms ease;
}

.feature-item:hover .feature-item-body strong,
.feature-item:focus-visible .feature-item-body strong,
.feature-item.is-active .feature-item-body strong {
  color: #fff;
}

.feature-item.is-active .feature-item-index {
  color: var(--accent);
}

.feature-item.is-active .feature-item-description {
  max-height: 180px;
  margin-top: 12px;
  opacity: 1;
}

.feature-item.is-active .feature-item-indicator {
  border-color: var(--accent);
  transform: rotate(45deg);
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-links a {
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links a[aria-current="page"] {
  color: var(--text);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.site-footer p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

.home-page .site-footer {
  padding-top: 32px;
}

@media (max-width: 960px) {
  .feature-content {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) and (min-height: 900px) {

  .home-page,
  .about-page,
  .legal-page {
    padding: 0;
  }

  .about-page {
    min-height: 1024px;
  }

  .site-header {
    position: absolute;
    top: 24px;
    right: 42px;
    left: 30px;
  }

  .hero {
    display: block;
    min-height: 1024px;
    padding: 0;
  }

  .hero-title {
    position: absolute;
    top: 172px;
    left: 50%;
    width: 256px;
    transform: translateX(-50%);
  }

  .hero-brand {
    font-size: 40px;
  }

  .hero-title h1 {
    font-size: 32px;
  }

  .product-visual {
    position: absolute;
    top: 293px;
    left: 50%;
    width: 366px;
    height: 430px;
    transform: translateX(-50%);
  }

  .visual-glow {
    top: -85px;
    left: -121px;
    width: 647px;
    height: 648px;
  }

  .download-panel {
    position: absolute;
    top: 753px;
    left: 50%;
    width: 224px;
    transform: translateX(-50%);
  }

  .home-page .feature-showcase {
    width: min(100%, 1240px);
    padding: 0 30px;
  }

  .home-page .feature-stage-screen {
    min-height: 580px;
  }

  .home-page .site-footer {
    padding: 48px 30px 37px;
  }

  .about-page .site-footer {
    position: absolute;
    right: 0;
    bottom: 37px;
    left: 0;
    padding-top: 0;
  }

  .legal-page .legal-content {
    padding-top: 148px;
    padding-bottom: 60px;
  }

  .legal-page .site-footer {
    padding: 0 30px 37px;
  }

  .about-page .about-content {
    position: absolute;
    top: 403px;
    left: 278px;
    display: block;
    width: 884px;
    margin: 0;
    padding: 0;
  }

  .about-page .about-company {
    position: absolute;
    top: 274px;
    left: 0;
    width: max-content;
  }
}

@media (min-width: 760px) and (max-height: 899px) {
  .hero {
    gap: 18px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .hero-brand {
    font-size: 32px;
    color: #fe001e;
  }

  .hero-title h1 {
    font-size: 26px;
  }

  .product-visual {
    width: min(33vw, 320px);
    min-width: 260px;
  }

  .download-panel {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 20px 20px 26px;
  }

  .hero {
    gap: 22px;
    padding-top: 52px;
    padding-bottom: 42px;
  }

  .hero-title {
    width: min(100%, 320px);
  }

  .product-visual {
    width: min(82vw, 336px);
  }

  .download-panel {
    gap: 20px;
  }

  .download-panel p {
    font-size: 15px;
  }

  .feature-showcase {
    padding-top: 12px;
  }

  .feature-heading h2 {
    margin-top: 8px;
  }

  .feature-summary {
    font-size: 15px;
    line-height: 1.68;
  }

  .feature-stage-shell {
    border-radius: 28px;
    padding: 14px;
  }

  .feature-stage-screen {
    min-height: 360px;
    border-radius: 24px;
  }

  .feature-media--image {
    padding: 0;
  }

  .feature-media--placeholder {
    padding: 34px 16px;
  }

  .feature-progress {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .feature-dots {
    justify-content: flex-start;
  }

  .feature-item {
    grid-template-columns: 44px minmax(0, 1fr) 12px;
    gap: 12px;
    padding: 18px 0;
  }

  .feature-item-body strong {
    font-size: 18px;
  }

  .feature-item-description {
    font-size: 15px;
    line-height: 1.72;
  }

  .feature-item.is-active .feature-item-description {
    max-height: 220px;
  }

  .about-content {
    gap: 96px;
    padding-top: 108px;
  }

  .legal-content {
    padding-top: 84px;
    padding-bottom: 36px;
  }

  .legal-header-block h1 {
    font-size: 24px;
  }

  .legal-intro {
    font-size: 14px;
    line-height: 1.8;
  }

  .legal-body {
    font-size: 13px;
    line-height: 1.8;
  }

  .legal-body h2 {
    font-size: 15px;
  }

  .footer-links {
    gap: 14px;
  }

  .footer-links a {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .page-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 13px;
  }

  .about-button {
    width: 78px;
    min-height: 36px;
    padding: 9px;
    font-size: 13px;
  }

  .hero {
    padding-top: 42px;
  }

  .feature-item {
    grid-template-columns: 40px minmax(0, 1fr) 12px;
  }

  .feature-item-description {
    font-size: 14px;
  }
}
