:root {
  --background: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --primary: #ff8a1f;
  --primary-dark: #e96f05;
  --text: #18212f;
  --text-muted: #5d6878;
  --border: #e6e9ee;
  --success: #16875b;
  --shadow: 0 18px 55px rgba(30, 41, 59, 0.1);
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  width: min(calc(100% - 32px), var(--content-width));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 750;
}

.brand img,
.app-icon,
footer img {
  border-radius: 10px;
}

.beta-badge {
  padding: 6px 10px;
  border: 1px solid #ffd6ad;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
}

main {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.hero {
  min-height: 650px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 56px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  min-width: 0;
}

.app-identity {
  display: flex;
  align-items: center;
  gap: 20px;
}

.app-icon {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  box-shadow: 0 12px 30px rgba(255, 138, 31, 0.24);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 750;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.16;
}

.hero-description {
  max-width: 560px;
  margin: 30px 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.platform-button {
  width: 100%;
  min-height: 78px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-radius: 8px;
  border: 1px solid transparent;
}

.platform-button svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.platform-button span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.platform-button strong {
  font-size: 17px;
}

.platform-button small {
  font-size: 13px;
}

.platform-button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(233, 111, 5, 0.22);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.platform-button-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 16px 32px rgba(233, 111, 5, 0.28);
}

.platform-button-primary:focus-visible,
.icon-button:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(255, 138, 31, 0.34);
  outline-offset: 3px;
}

.button-arrow {
  width: 23px !important;
  height: 23px !important;
}

.platform-button-disabled {
  border-color: var(--border);
  background: #f4f5f7;
  color: #7b8491;
}

.coming-soon {
  display: inline-flex !important;
  width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e7e9ed;
  color: #5d6673;
  font-size: 12px;
  font-weight: 700;
}

.release-notes {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--text-muted);
  font-size: 13px;
}

.release-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.release-notes svg {
  width: 17px;
  height: 17px;
  fill: var(--success);
}

.product-visual {
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-visual::before {
  content: "";
  width: 88%;
  aspect-ratio: 1;
  position: absolute;
  border-radius: 50%;
  background: #fff1df;
}

.product-visual img {
  width: min(100%, 410px);
  aspect-ratio: 3 / 4;
  position: relative;
  object-fit: cover;
  border: 8px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(30, 41, 59, 0.2);
}

.details {
  padding: 88px 0 70px;
}

.section-heading {
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.detail-card-wide {
  grid-column: 1 / -1;
}

.detail-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.detail-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.detail-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.detail-card > p,
.checksum-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.checksum-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.checksum-copy > div {
  min-width: 0;
}

.checksum-copy p {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.icon-button {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.icon-button:hover {
  border-color: #ffc78f;
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

footer {
  min-height: 80px;
  padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.toast {
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 10;
  border-radius: 8px;
  background: #18212f;
  color: #ffffff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 840px) {
  .hero {
    min-height: auto;
    padding: 38px 28px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 620px;
    margin: 0 auto;
  }

  .product-visual {
    min-height: 480px;
  }

  .product-visual img {
    width: min(76vw, 390px);
  }
}

@media (max-width: 560px) {
  .site-header,
  main {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .site-header {
    min-height: 66px;
  }

  .hero {
    padding: 28px 18px;
  }

  .app-identity {
    align-items: flex-start;
    gap: 15px;
  }

  .app-icon {
    width: 66px;
    height: 66px;
  }

  h1 {
    font-size: 34px;
  }

  .eyebrow {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .hero-description {
    margin: 24px 0;
    font-size: 16px;
    line-height: 1.7;
  }

  .platform-button {
    min-height: 74px;
    padding: 13px 14px;
    grid-template-columns: 29px minmax(0, 1fr) auto;
    gap: 11px;
  }

  .platform-button svg {
    width: 27px;
    height: 27px;
  }

  .platform-button strong {
    font-size: 15px;
  }

  .platform-button small {
    font-size: 12px;
  }

  .product-visual {
    min-height: 380px;
  }

  .details {
    padding: 62px 0 50px;
  }

  h2 {
    font-size: 27px;
  }

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

  .detail-card-wide {
    grid-column: auto;
  }

  .detail-card {
    padding: 22px;
  }

  .checksum-copy {
    align-items: flex-start;
  }

  .release-notes {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
