:root {
  --green: #06c755;
  --ink: #111;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --header: 75px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  background: #fff;
  border-bottom: 1px solid transparent;
}
.header.scrolled { border-bottom-color: var(--line); }
.logo {
  justify-self: start;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 52px;
  font-size: 16px;
  font-weight: 500;
}
.nav a {
  position: relative;
  padding: 6px 0;
  color: #111;
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #111;
}
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  color: #111;
  font-size: 15px;
  font-weight: 500;
}
.globe { display: block; }
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #111;
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

.dl-hero {
  width: min(1100px, calc(100% - 80px));
  margin: 0 auto;
  padding: 56px 0 12px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
}
.kicker {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.dl-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(48px, 5.6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
.lead {
  max-width: 540px;
  margin: 18px 0 0;
  color: #444;
  font-size: 17px;
  line-height: 1.75;
}
.dl-hero img {
  width: min(340px, 100%);
  margin-left: auto;
}

.platforms {
  width: min(1100px, calc(100% - 80px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.plat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.plat h2 {
  margin: 14px 0 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.device {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.plat .desc {
  margin: 10px 0 18px;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}
.plat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 0 16px;
  min-width: 100px;
  height: 36px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.plat-btn:hover { background: #05b34c; }

.steps {
  width: min(1100px, calc(100% - 80px));
  margin: 56px auto 0;
  padding-bottom: 8px;
}
.steps h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
}
.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}
.step em {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}
.step p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.75;
}
.note {
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #444;
  font-size: 15px;
  line-height: 1.75;
}

.block {
  width: min(1100px, calc(100% - 80px));
  margin: 64px auto 0;
}
.block h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
}
.sync-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sync-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 20px;
}
.sync-lead {
  max-width: 760px;
  margin: -6px 0 22px;
  color: #444;
  font-size: 16px;
  line-height: 1.8;
}
.sync-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}
.sync-list p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}
.sync-note {
  margin: 22px 0 0;
  color: #444;
  font-size: 15px;
  line-height: 1.8;
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: -4px;
}
.faq-list details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.faq-list details p {
  margin: 0;
  padding: 0 32px 20px 4px;
  color: #555;
  font-size: 15px;
  line-height: 1.75;
}
.cta {
  width: min(1100px, calc(100% - 80px));
  margin: 72px auto 0;
  padding: 8px 24px 96px;
  text-align: center;
}
.cta h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
}
.cta p {
  margin: 14px auto 28px;
  max-width: 520px;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 0 32px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.cta-btn:hover { background: #05b34c; }

.dl-icon {
  width: 18px;
  height: 18px;
  background: url("../img/sprite-dl.png") no-repeat;
  background-size: 165px 107.5px;
  flex-shrink: 0;
}
.dl-icon.app { background-position: -5px -44px; }
.dl-icon.gp { background-position: -39px -44px; }
.dl-icon.desk { background-position: -75px -44px; }
.dl-icon.win { background-position: -111px -44px; }
.mark svg { display: block; }

footer {
  background: #fff;
  padding: 8px 40px 36px;
}
.foot {
  width: min(1100px, 100%);
  margin: 0 auto;
}
.dl-row, .legal, .sns { list-style: none; margin: 0; padding: 0; }
.dl-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #e5e5e5;
}
.dl-row li, .legal li { display: flex; align-items: center; }
.dl-row li:not(:last-child)::after,
.legal li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 12px;
  margin: 0 14px;
  background: #d0d0d0;
}
.dl-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}
.dl-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1e1e1e;
  font-size: 14px;
}
.dl-row a:hover { color: var(--green); }
.foot-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 0;
  padding-top: 22px;
  color: #4a4a4a;
  font-size: 14px;
}
.foot-bar p { margin: 0 28px 0 0; }
.legal { display: flex; flex-wrap: wrap; align-items: center; }
.legal a { color: inherit; }
.legal a:hover { color: #111; }
.sns {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.sns img { display: block; height: 22px; width: auto; }

@media (max-width: 980px) {
  .platforms, .step-list, .sync-list { grid-template-columns: 1fr 1fr; }
  .dl-hero { grid-template-columns: 1fr; }
  .dl-hero img { margin: 8px 0 0; }
}
@media (max-width: 720px) {
  .header { display: flex; justify-content: space-between; padding: 0 16px; }
  .menu-btn { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; }
  .dl-hero, .platforms, .steps, .block, .cta { width: calc(100% - 32px); }
  .platforms, .step-list, .sync-list { grid-template-columns: 1fr; }
  .foot-bar, .dl-row { align-items: flex-start; }
  .sns { margin-left: 0; }
  footer { padding-left: 16px; padding-right: 16px; }
}
