:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #eef8f9;
  --text: #111827;
  --text-soft: #4b5563;
  --line: #dfe4ea;
  --brand: #075e7c;
  --brand-bright: #27c9f2;
  --brand-soft: #d9f6fb;
  --green: #287a45;
  --green-soft: #e9f7ee;
  --gold: #9a5b00;
  --gold-soft: #fff2d5;
  --shadow: 0 18px 46px rgba(36, 50, 60, 0.14);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--surface);
  border: 2px solid var(--brand);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(7, 94, 124, 0.16);
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 19px;
  line-height: 1.3;
}

.brand small {
  color: var(--text-soft);
  font-size: 13px;
}

.header-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: min(720px, calc(100svh - 80px));
  margin: 0 auto;
  padding: 54px 0 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.92fr);
  align-items: center;
  gap: 72px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 800;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-slogan {
  margin-bottom: 24px;
  color: #243247;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  font-weight: 750;
}

.hero-description {
  max-width: 580px;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.85;
}

.release-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.release-line span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: #374151;
  font-size: 14px;
  font-weight: 650;
}

.device-notice {
  max-width: 580px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  color: #633b00;
  font-size: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 18px;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.text-button:focus-visible,
.icon-button:focus-visible,
.header-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid #f0a12b;
  outline-offset: 3px;
}

.button-primary {
  min-width: 242px;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(7, 94, 124, 0.24);
}

.button-primary:hover {
  background: #064f68;
}

.button-primary[aria-disabled="true"] {
  background: #7b8794;
  box-shadow: none;
  cursor: not-allowed;
}

.button-secondary {
  background: var(--surface);
  border-color: #9cc9d5;
  color: var(--brand);
}

.button-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  font-size: 25px;
  line-height: 1;
}

.button-icon-help {
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
}

.download-note {
  margin: 18px 0 0;
  color: #5f6b78;
  font-size: 14px;
  line-height: 1.6;
}

.product-visual {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-shell {
  position: relative;
  width: 286px;
  height: 620px;
  overflow: hidden;
  padding: 10px;
  border: 7px solid #202a38;
  border-radius: 38px;
  background: #202a38;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}

.phone-speaker {
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 2;
  width: 62px;
  height: 7px;
  border-radius: 7px;
  background: #202a38;
  transform: translateX(-50%);
}

.qr-panel {
  width: min(100%, 340px);
  margin-top: 22px;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(36, 50, 60, 0.16);
  backdrop-filter: blur(14px);
}

.qr-code {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
}

.qr-code img {
  width: 100%;
  height: 100%;
}

.qr-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.qr-panel p {
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.text-button {
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.value-band {
  padding: 48px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-band article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}

.feature-index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.feature-index-green {
  background: var(--green-soft);
  color: var(--green);
}

.feature-index-gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.value-band h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.value-band p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}

.install-band {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 88px;
}

.install-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.install-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
}

.install-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
}

.install-steps li {
  min-height: 174px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.install-steps span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 900;
}

.install-steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.install-steps p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}

footer {
  min-height: 88px;
  padding: 20px max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  background: #eef1f5;
  color: #596574;
  font-size: 14px;
}

footer nav {
  display: flex;
  gap: 24px;
}

footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--text);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.24);
}

dialog::backdrop {
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
}

.dialog-head {
  min-height: 78px;
  padding: 18px 22px 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  margin: 0;
  font-size: 23px;
}

.icon-button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #edf1f4;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

dialog ol {
  margin: 0;
  padding: 24px 34px 8px 56px;
}

dialog li {
  margin-bottom: 16px;
  padding-left: 4px;
  font-size: 17px;
  line-height: 1.7;
}

.dialog-tip {
  margin: 8px 28px 28px;
  padding: 14px 16px;
  background: var(--gold-soft);
  color: #633b00;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
  }

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

  .phone-shell {
    width: 258px;
    height: 560px;
  }

  .qr-panel {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 32px);
    height: 72px;
  }

  .brand img {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .brand small,
  .header-link {
    display: none;
  }

  .hero {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 44px 0 54px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-slogan {
    font-size: 26px;
  }

  .hero-description {
    font-size: 17px;
    line-height: 1.75;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 60px;
  }

  .product-visual {
    min-height: 520px;
    overflow: hidden;
  }

  .phone-shell {
    width: 246px;
    height: 532px;
    border-radius: 34px;
    transform: rotate(1deg);
  }

  .value-band {
    padding: 38px 24px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .install-band {
    width: calc(100% - 32px);
    padding: 60px 0 64px;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .install-steps li {
    min-height: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button {
    transition: none;
  }
}
