:root {
  --paper: #f4f6f9;
  --surface: #ffffff;
  --ink: #07182d;
  --muted: #526174;
  --line: #c4ccd7;
  --line-strong: #8996a8;
  --accent: #f0642f;
  --accent-dark: #b83d14;
  --cyan: #13aebf;
  --shadow: 0 24px 70px rgb(20 44 76 / 0.13);
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --header-height: 72px;
  --letter-spacing-body: 0.012em;
  --letter-spacing-heading: 0.006em;
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: var(--letter-spacing-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

button {
  font: inherit;
}

code {
  font-family: var(--font-mono);
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.shell {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: #f7f9fc;
  font-weight: 700;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-height);
  border-bottom: 1px solid rgb(137 150 168 / 0.55);
  background: rgb(244 246 249 / 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: var(--letter-spacing-heading);
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  white-space: nowrap;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  transition: transform 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 9px 16px;
  background: var(--ink);
  color: #f7f9fc !important;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero {
  display: grid;
  min-height: calc(100dvh - 116px);
  padding-block: clamp(48px, 7vh, 82px);
  align-items: center;
  grid-template-columns: minmax(320px, 0.78fr) minmax(560px, 1.42fr);
  gap: clamp(42px, 6vw, 92px);
}

.hero-copy {
  align-self: center;
}

.hero h1 {
  font-weight: 850;
  letter-spacing: var(--letter-spacing-heading);
  line-height: 1.08;
  font-size: clamp(1.9rem, 3.4vw, 3.6rem);
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-line + .hero-line {
  margin-top: 0.2em;
}

.hero-copy > p {
  max-width: 31rem;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 540;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
}

.button:active,
.copy-button:active,
.install-tab:active,
.menu-toggle:active,
.nav-cta:active {
  transform: translateY(1px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: #ffffff;
}

.hero-media {
  min-width: 0;
}

.image-frame,
.feature-media,
.mobile-proof {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-frame {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-align: right;
}

.sources-section {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.sources-section .shell {
  padding-block: 34px 38px;
}

.sources-section h2 {
  margin-bottom: 30px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  letter-spacing: var(--letter-spacing-heading);
  line-height: 1.1;
}

.source-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.source-item {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 15px 17px;
  border-left: 1px solid var(--line);
}

.source-item:last-child {
  border-right: 1px solid var(--line);
}

.source-item img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.source-item span {
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 760;
  line-height: 1.35;
}

.section {
  padding-block: clamp(88px, 10vw, 148px);
}

.section-heading {
  max-width: 750px;
}

.section-heading h2,
.feature-copy h2,
.privacy-inner h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.5rem);
  font-weight: 850;
  letter-spacing: var(--letter-spacing-heading);
  line-height: 1.02;
}

.section-heading p,
.feature-copy > p,
.privacy-inner p {
  max-width: 42rem;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.workflow-grid {
  display: grid;
  margin-top: 60px;
  border-block: 1px solid var(--line-strong);
  grid-template-columns: 0.92fr 0.92fr 1.36fr;
}

.workflow-step {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--line);
}

.workflow-step::after {
  position: absolute;
  top: 50%;
  right: -10px;
  z-index: 2;
  display: grid;
  width: 19px;
  height: 30px;
  content: ">";
  transform: translateY(-50%);
  place-items: center;
  background: var(--paper);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
}

.workflow-step:last-child {
  overflow: hidden;
  border-right: 0;
}

.workflow-step:last-child::after {
  display: none;
}

.workflow-step h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: var(--letter-spacing-heading);
}

.workflow-step p {
  max-width: 28rem;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.workflow-step > code {
  display: block;
  margin-top: 32px;
  color: var(--ink);
  font-size: 0.77rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.workflow-step-visual img {
  width: calc(100% + 88px);
  max-width: none;
  margin: 30px -44px -44px;
  border-top: 1px solid var(--line);
}

.features-section {
  padding-block: 0;
}

.feature-row {
  display: grid;
  min-height: 760px;
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
}

.feature-row + .feature-row {
  border-top: 1px solid var(--line);
}

.feature-media {
  overflow: hidden;
  min-width: 0;
}

.feature-media img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.feature-copy {
  max-width: 560px;
}

.feature-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4.05rem);
}

.feature-copy code {
  color: var(--ink);
  font-size: 0.88em;
  font-weight: 700;
}

.feature-index {
  display: grid;
  margin-top: 40px;
}

.feature-index > div {
  display: grid;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  grid-template-columns: minmax(110px, 0.42fr) 1fr;
  gap: 18px;
}

.feature-index dt {
  font-weight: 820;
}

.feature-index dd {
  color: var(--muted);
  font-size: 0.93rem;
}

.feature-row-session {
  grid-template-columns: minmax(360px, 0.82fr) minmax(320px, 0.62fr);
}

.feature-row-session .feature-copy {
  justify-self: start;
}

.mobile-proof {
  width: min(100%, 500px);
  height: 590px;
  overflow: hidden;
  justify-self: end;
}

.mobile-proof img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.privacy-section {
  border-block: 1px solid #d64c1b;
  background: var(--accent);
  color: #ffffff;
}

.privacy-inner {
  display: grid;
  min-height: 430px;
  padding-block: clamp(76px, 9vw, 126px);
  align-items: end;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(48px, 8vw, 120px);
}

.privacy-inner h2 {
  max-width: 780px;
  color: #ffffff;
}

.privacy-inner p {
  margin-top: 0;
  color: #ffffff;
  font-weight: 650;
}

.install-section {
  background: var(--surface);
}

.install-heading p {
  max-width: 38rem;
}

.install-panel {
  margin-top: 48px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.install-tabs {
  display: flex;
  border-bottom: 1px solid rgb(255 255 255 / 0.22);
}

.install-tab {
  padding: 14px 18px;
  border: 0;
  border-right: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 0;
  background: transparent;
  color: #bdc8d8;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 780;
}

.install-tab.is-active {
  background: var(--accent);
  color: #ffffff;
}

.command-panel {
  display: grid;
  padding: 24px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
}

.command-panel[hidden] {
  display: none;
}

.command-panel code {
  color: #f6f8fb;
  font-size: clamp(0.72rem, 1.2vw, 0.9rem);
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.copy-button {
  min-width: 94px;
  padding: 10px 13px;
  border: 1px solid #f6f8fb;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.copy-button:hover {
  background: #ffffff;
  color: var(--ink);
}

.copy-status {
  min-height: 1.5rem;
  padding: 0 24px 14px;
  color: #dfe7f2;
  font-size: 0.8rem;
}

.launch-note,
.platform-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.launch-note {
  padding-block: 26px;
}

.launch-note span {
  font-weight: 760;
}

.launch-note code {
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.platform-row {
  padding-block: 30px;
}

.platform-row strong {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.platform-row span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: var(--paper);
}

.footer-inner {
  display: grid;
  min-height: 150px;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 30px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.83rem;
  text-align: left;
  margin: 0;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.footer-right a {
  justify-self: end;
  font-size: 0.85rem;
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy {
    animation: hero-enter 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .js .hero-media {
    animation: hero-enter 720ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .shell {
    width: min(100% - 40px, 1040px);
  }

  .hero {
    grid-template-columns: minmax(290px, 0.72fr) minmax(500px, 1.28fr);
    gap: 42px;
  }

  .source-item {
    flex-direction: column;
    text-align: center;
  }

  .source-item span {
    min-height: 2.7em;
  }

  .feature-row {
    gap: 58px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 12px;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--paper);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    margin-top: 12px;
    padding-inline: 14px;
    border-bottom: 0;
    text-align: center;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 68px 76px;
    grid-template-columns: 1fr;
    gap: 52px;
  }

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

  .hero-copy > p {
    max-width: 38rem;
  }

  .source-rail {
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(150px, 1fr));
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .source-item {
    scroll-snap-align: start;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-step::after {
    top: auto;
    right: 50%;
    bottom: -15px;
    width: 30px;
    height: 30px;
    transform: translateX(50%) rotate(90deg);
  }

  .workflow-step:last-child {
    border-bottom: 0;
  }

  .workflow-step-visual img {
    width: calc(100% + 56px);
    margin: 28px -28px -28px;
  }

  .feature-row,
  .feature-row-session {
    min-height: auto;
    padding-block: 96px;
    grid-template-columns: 1fr;
  }

  .feature-row-session .feature-copy {
    order: 1;
  }

  .feature-row-session .mobile-proof {
    order: 2;
  }

  .mobile-proof {
    width: min(100%, 560px);
    justify-self: start;
  }

  .privacy-inner {
    min-height: auto;
    padding-block: 88px;
    align-items: start;
    grid-template-columns: 1fr;
  }

  .privacy-inner p {
    max-width: 42rem;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 32px, 560px);
  }

  .brand span {
    font-size: 0.95rem;
  }

  .hero {
    padding-block: 52px 64px;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 7.5vw, 2.4rem);
  }

  .hero-copy > p {
    margin-top: 24px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-media figcaption {
    text-align: left;
  }

  .sources-section .shell {
    padding-block: 28px 32px;
  }

  .source-rail {
    margin-right: -16px;
    padding-right: 16px;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading h2,
  .feature-copy h2,
  .privacy-inner h2 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .workflow-grid {
    margin-top: 42px;
  }

  .workflow-step {
    padding: 28px;
  }

  .feature-row,
  .feature-row-session {
    padding-block: 82px;
    gap: 46px;
  }

  .feature-media img {
    min-height: 270px;
  }

  .feature-index > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .feature-index dd {
    font-size: 0.9rem;
  }

  .mobile-proof {
    height: 500px;
  }

  .privacy-inner {
    padding-block: 72px;
    gap: 34px;
  }

  .install-tabs {
    flex-direction: column;
  }

  .install-tab {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.22);
    text-align: left;
  }

  .command-panel {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .copy-button {
    justify-self: start;
  }

  .launch-note,
  .platform-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .launch-note code {
    overflow-wrap: anywhere;
  }

  .footer-inner {
    min-height: 190px;
    padding-block: 32px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-inner p {
    text-align: left;
  }

  .footer-inner > a:last-child {
    justify-self: start;
  }
}

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

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

}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }
}
