:root {
  color-scheme: light;
  --primary: #1677ff;
  --primary-dark: #075dd4;
  --success: #1fbd68;
  --success-dark: #149654;
  --ink: #152033;
  --muted: #5f6d82;
  --line: rgba(22, 119, 255, 0.13);
  --surface: #ffffff;
  --canvas: #f4f8ff;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(24, 61, 114, 0.12), 0 4px 16px rgba(24, 61, 114, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 20px 14px calc(100px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(22, 119, 255, 0.15), transparent 35%),
    linear-gradient(180deg, #f8fbff 0%, var(--canvas) 100%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.page-glow {
  position: fixed;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
}

.page-glow--one {
  top: 8%;
  left: -160px;
  background: rgba(22, 119, 255, 0.12);
}

.page-glow--two {
  right: -180px;
  bottom: 12%;
  background: rgba(31, 189, 104, 0.08);
}

.site-shell {
  width: min(100%, 760px);
  margin: 0 auto;
}

.landing-card {
  position: relative;
  overflow: hidden;
  padding: 28px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.landing-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #1677ff, #64a8ff, #1677ff);
  content: "";
}

.hero {
  padding: 10px 2px 4px;
  text-align: center;
}

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

h1 {
  max-width: 650px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  font-size: clamp(30px, 7.4vw, 49px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.guide {
  margin-top: 14px;
}

.guide img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #eef6ff;
  box-shadow: 0 12px 30px rgba(22, 119, 255, 0.08);
}

.service-card,
.bonus-card {
  margin-top: 24px;
  border-radius: var(--radius-lg);
}

.service-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(22, 119, 255, 0.14);
  background: linear-gradient(145deg, rgba(22, 119, 255, 0.08), rgba(22, 119, 255, 0.025));
}

.section-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.11);
  font-size: 22px;
}

.service-content {
  min-width: 0;
  flex: 1;
}

.service-card h2,
.download-section h2 {
  margin-bottom: 13px;
  font-size: clamp(16px, 4.3vw, 19px);
  line-height: 1.5;
}

.copy-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.copy-row strong {
  color: var(--primary);
  font-size: clamp(23px, 6.4vw, 30px);
  line-height: 1.2;
  letter-spacing: 0.015em;
}

.copy-button {
  display: inline-flex;
  min-width: 86px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 15px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.24);
  font: 700 15px/1 var(--font);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

@media (min-width: 520px) {
  .copy-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.copy-button svg,
.download-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.copy-button:hover {
  background: var(--primary-dark);
  box-shadow: 0 11px 24px rgba(22, 119, 255, 0.3);
  transform: translateY(-2px);
}

.copy-button:active,
.download-button:active {
  transform: scale(0.98);
}

.copy-button:focus-visible,
.download-button:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.3);
  outline-offset: 3px;
}

.bonus-card {
  padding: 21px 20px;
  border: 1px solid rgba(255, 171, 26, 0.18);
  background: linear-gradient(145deg, #fff9ed, #fffdf8);
  box-shadow: 0 12px 30px rgba(192, 121, 0, 0.06);
}

.bonus-card p {
  margin-bottom: 12px;
  font-size: clamp(16px, 4.1vw, 18px);
}

.bonus-card p:last-child {
  margin-bottom: 0;
  font-weight: 680;
}

.download-section {
  padding-top: 28px;
  text-align: center;
}

.download-section h2 {
  margin-bottom: 16px;
  color: #36445a;
}

.service-promise {
  margin: 28px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(22, 119, 255, 0.1);
  border-radius: 18px;
  color: #3f4f66;
  background: #f7faff;
  font-size: clamp(15px, 4vw, 17px);
  font-weight: 650;
  text-align: center;
}

.contact-guide {
  margin-top: 28px;
}

.contact-guide h2 {
  margin-bottom: 0;
  font-size: clamp(19px, 5vw, 23px);
  line-height: 1.45;
}

.download-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #27c875, var(--success));
  box-shadow: 0 14px 30px rgba(31, 189, 104, 0.24);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.download-button:hover {
  box-shadow: 0 17px 34px rgba(31, 189, 104, 0.32);
  filter: saturate(1.08) brightness(0.98);
  transform: translateY(-2px);
}

.footer {
  padding: 24px 16px 0;
  color: #8591a4;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
}

.mobile-download {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(20, 64, 116, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 -8px 30px rgba(20, 64, 116, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}

.mobile-download .download-button {
  max-width: 760px;
  min-height: 54px;
  margin: 0 auto;
  border-radius: 16px;
}

.toast {
  position: fixed;
  z-index: 30;
  bottom: calc(86px + env(safe-area-inset-bottom));
  left: 50%;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(21, 32, 51, 0.92);
  box-shadow: 0 10px 30px rgba(21, 32, 51, 0.22);
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px) scale(0.96);
  transition: opacity 200ms ease, transform 200ms ease;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (min-width: 640px) {
  body {
    padding: 48px 24px;
  }

  .landing-card {
    padding: 52px;
  }

  .hero {
    padding-top: 2px;
  }

  .guide {
    margin-top: 16px;
  }

  .service-card {
    gap: 18px;
    padding: 26px;
  }

  .section-icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .bonus-card {
    padding: 26px;
  }

  .download-section {
    padding-top: 38px;
  }

  .download-button {
    min-height: 64px;
    font-size: 19px;
  }

  .mobile-download {
    display: none;
  }

  .toast {
    bottom: 32px;
  }
}

@media (max-width: 380px) {
  .service-card {
    display: block;
  }

  .section-icon {
    margin-bottom: 12px;
  }

  .copy-button {
    min-width: 78px;
    padding-right: 12px;
    padding-left: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
