:root {
  --bg: #080909;
  --ink: #c4c7c5;
  --title: #f1f1ed;
  --muted: #727573;
  --navy: #f0ce8d;
  --accent: #d7ad63;
  --line: #343636;
  --band: #202222;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.75;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid #0b0c0c;
}

.bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.nav-toggle,
.menu-icon {
  display: none;
}

.menu-icon {
  width: 44px;
  height: 44px;
  position: relative;
}

.menu-icon span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.menu-icon span:nth-child(1) { top: 14px; }
.menu-icon span:nth-child(2) { top: 21px; }
.menu-icon span:nth-child(3) { top: 28px; }

.nav-toggle:checked + .menu-icon span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .menu-icon span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-toggle:focus-visible + .menu-icon {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.brand {
  color: var(--title);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1.15rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  font-size: 0.95rem;
}

nav a {
  color: var(--ink);
}

.banner {
  height: 68vh;
  min-height: 420px;
  max-height: 760px;
  overflow: hidden;
  background: #080909;
}

.banner img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero {
  padding: 64px 0 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0 0 16px;
  color: var(--title);
  font-size: 2.5rem;
  line-height: 1.25;
  font-weight: 700;
}

.lede {
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
}

.en {
  margin: 12px 0 0;
  max-width: 42rem;
  color: var(--muted);
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.section h2 {
  margin: 6px 0 16px;
  color: var(--title);
  font-size: 1.7rem;
  line-height: 1.3;
}

.section > p {
  margin: 0;
  max-width: 46rem;
}

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

.cols h3 {
  margin: 0 0 8px;
  color: var(--title);
  font-size: 1.05rem;
}

.cols p {
  margin: 0;
  color: var(--muted);
}

.band {
  background: var(--band);
  border-top: 0;
}

.product {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.app-icon {
  flex: none;
  padding: 2px;
  border-radius: 22px;
  background: linear-gradient(145deg, #f0ce8d, #d7ad63 42%, #9a9d9b 78%, #f0ce8d);
  box-shadow:
    0 0 16px rgba(215, 173, 99, 0.55),
    0 0 36px rgba(215, 173, 99, 0.28);
}

.app-icon img {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 20px;
}

.product h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.product p {
  margin: 0;
  max-width: 40rem;
}

dl {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 10px 20px;
  margin: 8px 0 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
}

.policy {
  padding-bottom: 64px;
}

.policy h1 {
  font-size: 2rem;
}

.meta {
  color: var(--muted);
  margin: 0 0 24px;
}

.policy h2 {
  margin: 28px 0 8px;
  color: var(--title);
  font-size: 1.05rem;
}

.policy p {
  margin: 0 0 12px;
  white-space: pre-line;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  padding: 20px 0 32px;
  text-align: center;
}

footer a {
  color: var(--navy);
}

footer p {
  margin: 0 0 6px;
}

@media (max-width: 760px), (max-device-width: 760px) {
  .wrap {
    width: min(1080px, calc(100% - 32px));
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  body {
    padding-top: 65px;
  }

  .bar {
    flex-wrap: wrap;
    min-height: 64px;
    gap: 0 16px;
  }

  .menu-icon {
    display: block;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 3;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  nav {
    display: none;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 8px;
    font-size: 1rem;
  }

  .nav-toggle:checked ~ nav {
    display: flex;
  }

  nav a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .banner {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .banner img {
    height: auto;
    object-fit: contain;
  }

  .hero {
    padding: 36px 0 12px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .section {
    padding: 36px 0;
  }

  .section h2 {
    font-size: 1.35rem;
  }

  .cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  dt:not(:first-of-type) {
    margin-top: 16px;
  }

  .product {
    flex-direction: column;
    gap: 16px;
  }

  dd {
    margin-bottom: 4px;
    overflow-wrap: anywhere;
  }

  .policy h1 {
    font-size: 1.55rem;
  }

  footer {
    padding: 18px 0 28px;
  }
}
