@font-face {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/noto-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/noto-500.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("../fonts/barlow-500.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A9, U+00B7, U+2013-2014, U+2026, U+30FB;
}

:root {
  --bg: #000;
  --fg: #f4f4f4;
  --muted: #b0b0b0;
  --dim: #8a8a8a;
  --line: rgba(255, 255, 255, 0.16);
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --num: "Barlow Condensed", "Noto Sans TC", sans-serif;
  --pad: clamp(20px, 4vw, 48px);
  --header: 68px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

::selection { background: #fff; color: #000; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
  box-sizing: border-box;
}

header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: calc(var(--header) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  text-decoration: none;
  color: #fff;
  font-family: var(--num);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}

nav {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}

nav a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #fff;
  border-radius: 2px;
}

.btn:hover { background: transparent; color: #fff; }

.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; margin-left: 0.25rem; }

a:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

main { padding-top: calc(var(--header) + env(safe-area-inset-top)); }

.hero {
  min-height: calc(100svh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vh, 72px) 0 clamp(28px, 5vh, 56px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.hero-grid > * { min-width: 0; }

h1 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-size: clamp(64px, 8.6vw, 120px);
}

h1 .line { display: block; }

h1 .line-sub {
  margin-top: 0.42em;
  font-size: 0.32em;
  letter-spacing: 0;
  line-height: 1.2;
  font-weight: 500;
}

h1 .line-sub::before {
  content: "";
  display: block;
  width: 1.6em;
  height: 1px;
  background: #fff;
  margin-bottom: 0.55em;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--dim);
  font-family: var(--num);
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#summary {
  margin: 1.4rem 0 0;
  max-width: min(36em, 100%);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.6rem;
}

.quiet {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.quiet:hover { color: #fff; border-color: #fff; }

.hero-photo {
  margin: 0;
}

.hero-photo img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-photo figcaption {
  margin-top: 10px;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(36px, 6vh, 64px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.specs div {
  padding: 16px 16px 4px 0;
  border-right: 1px solid var(--line);
}

.specs div:last-child { border-right: 0; }

.specs dt {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  font-weight: 400;
}

.specs dd {
  margin: 4px 0 0;
  font-family: var(--num);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 500;
}

section.chapter,
.faq,
.close {
  padding: clamp(72px, 14vh, 140px) 0;
  scroll-margin-top: 84px;
}

h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  max-width: 14em;
}

.feats {
  list-style: none;
  margin: clamp(28px, 5vh, 56px) 0 0;
  padding: 0;
}

.feats li {
  display: grid;
  grid-template-columns: 3.5rem minmax(8rem, 11rem) 1fr;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.feats li:last-child { border-bottom: 1px solid var(--line); }

.feats .n {
  font-family: var(--num);
  font-size: 22px;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.feats h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

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

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  list-style: none;
  margin: clamp(28px, 5vh, 48px) 0 1.5rem;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.platforms li {
  background: #000;
  padding: 1.25rem 1rem 1.1rem;
  font-family: var(--num);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.9;
  letter-spacing: 0.03em;
}

.cloud {
  max-width: 36em;
  color: var(--muted);
  margin: 0;
}

.price {
  background: #fff;
  color: #000;
  padding: clamp(80px, 16vh, 160px) 0;
  scroll-margin-top: 84px;
}

.price .kicker { color: #666; }

.price h2 {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  max-width: none;
  color: #000;
  line-height: 0.8;
}

.price-num {
  font-family: var(--num);
  font-weight: 500;
  font-size: clamp(140px, 28vw, 320px);
  letter-spacing: -0.045em;
  line-height: 0.78;
}

.price-pre,
.price-unit {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  padding-bottom: 0.55em;
  font-weight: 500;
}

.price-note {
  margin: 1.25rem 0 1.75rem;
  max-width: 28em;
  color: #222;
  font-size: 18px;
}

.price .btn { background: #000; color: #fff; border-color: #000; }
.price .btn:hover { background: #fff; color: #000; }
.price .btn:focus-visible { outline-color: #000; }

.faq h2 { margin-bottom: 1.5rem; }

.faq article {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  max-width: 46rem;
}

.faq article:last-child { border-bottom: 1px solid var(--line); }

.faq h3 {
  margin: 0 0 0.4rem;
  font-size: 18px;
  font-weight: 500;
}

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

.faq a { color: #fff; }

.close h2 { max-width: 10em; }

.close .btn { margin-top: 1.5rem; }

.fine {
  margin: 1rem 0 0;
  color: var(--dim);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: end;
  justify-content: space-between;
}

.foot strong {
  font-family: var(--num);
  font-size: 42px;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.foot p { margin: 0.15rem 0 0; color: var(--dim); font-size: 14px; }

.foot nav { margin-left: 0; flex-wrap: wrap; }

.legal { color: var(--dim); font-size: 14px; }

@media (max-width: 860px) {
  .hero-grid { display: block; width: 100%; max-width: 100%; }
  .hero-grid > div,
  #summary,
  .actions,
  .specs { max-width: 100%; }
  .hero-photo { width: 100%; max-width: 100%; margin-top: 28px; overflow: hidden; }
  .hero-photo img { width: 100%; max-width: 100%; height: auto; }
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .specs div { border-bottom: 1px solid var(--line); min-width: 0; }
  .specs dd { font-size: clamp(26px, 7vw, 36px); letter-spacing: 0; }
  .feats li { grid-template-columns: 2.5rem 1fr; }
  .feats p { grid-column: 2; }
  .price h2 { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  nav.primary { display: none; }
  .btn-sm { margin-left: auto; }
  h1 { font-size: clamp(52px, 15vw, 72px); letter-spacing: -0.03em; }
  .platforms { grid-template-columns: 1fr; }
  .price-num { font-size: clamp(112px, 34vw, 180px); letter-spacing: -0.04em; }
}

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