:root {
  --copper: #7a2f13;
  --copper-dark: #55200e;
  --copper-soft: #f2e5dc;
  --graphite: #5f6460;
  --ink: #202322;
  --muted: #666b68;
  --line: #e6e0d8;
  --paper: #fffdf7;
  --mist: #f6f7f2;
  --teal: #16736b;
  --gold: #c9922f;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(49, 35, 24, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 247, 0.92);
  border-bottom: 1px solid rgba(122, 47, 19, 0.12);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--copper-dark);
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(122, 47, 19, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #454946;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--copper-soft);
  color: var(--copper-dark);
}

.nav-cta,
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--copper);
  color: var(--white);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(122, 47, 19, 0.22);
}

.button.secondary {
  background: var(--white);
  color: var(--copper-dark);
  border-color: rgba(122, 47, 19, 0.24);
  box-shadow: none;
}

.button.store {
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.92) 54%, rgba(122, 47, 19, 0.09) 100%),
    repeating-linear-gradient(90deg, rgba(95, 100, 96, 0.07) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(95, 100, 96, 0.06) 0 1px, transparent 1px 64px),
    var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0), var(--paper));
  pointer-events: none;
}

.hero-inner,
.section-inner,
.page-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 44px;
  padding: 68px 0 98px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(22, 115, 107, 0.1);
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.13;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(44px, 7vw, 88px);
  color: var(--copper-dark);
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  color: var(--ink);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.lead {
  max-width: 680px;
  margin-top: 20px;
  color: #454946;
  font-size: clamp(18px, 2vw, 22px);
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  max-width: 660px;
}

.proof-item {
  padding: 16px;
  border: 1px solid rgba(122, 47, 19, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
}

.proof-item strong {
  display: block;
  color: var(--copper-dark);
  font-size: 24px;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.market-panel {
  align-self: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(122, 47, 19, 0.18);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.panel-head strong {
  display: block;
  font-size: 20px;
}

.panel-head span {
  color: var(--muted);
  font-size: 14px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(22, 115, 107, 0.12);
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.ticker-list {
  padding: 10px 22px 20px;
}

.ticker {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(230, 224, 216, 0.8);
}

.ticker:last-child {
  border-bottom: 0;
}

.ticker strong {
  display: block;
  font-size: 18px;
}

.ticker small {
  color: var(--muted);
}

.spark {
  width: 86px;
  height: 34px;
  border-radius: 4px;
  background:
    linear-gradient(150deg, transparent 7%, rgba(22, 115, 107, 0.18) 8% 38%, transparent 39%),
    linear-gradient(30deg, transparent 10%, rgba(201, 146, 47, 0.22) 11% 44%, transparent 45%),
    linear-gradient(170deg, transparent 22%, rgba(122, 47, 19, 0.22) 23% 62%, transparent 63%);
  border: 1px solid rgba(95, 100, 96, 0.14);
}

.change {
  color: var(--teal);
  font-weight: 800;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--mist);
}

.section.copper {
  background: var(--copper-dark);
  color: var(--white);
}

.section.copper h2,
.section.copper .section-kicker {
  color: var(--white);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.7fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.section-kicker {
  color: var(--copper);
  font-weight: 850;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
  font-size: 18px;
}

.section.copper .section-title p,
.section.copper .muted {
  color: rgba(255, 255, 255, 0.74);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: stretch;
}

.feature-photo,
.about-photo,
.download-photo,
.contact-photo {
  min-height: 470px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-photo img,
.about-photo img,
.download-photo img,
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-stack {
  display: grid;
  gap: 16px;
}

.feature-item,
.info-card,
.step,
.scenario,
.legal-section,
.contact-card,
.form-card,
.download-card,
.update-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(49, 35, 24, 0.06);
}

.feature-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
}

.icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--copper-soft);
  color: var(--copper-dark);
  font-size: 24px;
  font-weight: 900;
}

.feature-item p,
.info-card p,
.step p,
.scenario p,
.legal-section p,
.download-card p,
.update-card p {
  margin-top: 8px;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.scenario-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.scenario {
  padding: 24px;
  min-height: 210px;
}

.scenario:nth-child(2) {
  transform: translateY(28px);
}

.scenario:nth-child(3) {
  transform: translateY(-8px);
}

.scenario:nth-child(4) {
  background: var(--ink);
  color: var(--white);
}

.scenario:nth-child(4) p {
  color: rgba(255, 255, 255, 0.74);
}

.disclaimer {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  margin-top: 42px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(122, 47, 19, 0.09);
  border: 1px solid rgba(122, 47, 19, 0.18);
}

.quote-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quote {
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.quote p {
  color: rgba(255, 255, 255, 0.86);
}

.quote strong {
  display: block;
  margin-top: 18px;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.phone-card {
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--ink), var(--graphite));
  color: var(--white);
}

.phone-card .mini-chart {
  height: 112px;
  margin-top: 28px;
  display: flex;
  align-items: end;
  gap: 9px;
}

.phone-card .mini-chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--gold);
}

.page-hero {
  padding: 76px 0 64px;
  background:
    linear-gradient(120deg, rgba(122, 47, 19, 0.12), rgba(22, 115, 107, 0.08)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.58fr);
  gap: 32px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 68px);
}

.page-hero p {
  margin-top: 18px;
  color: #484d49;
  font-size: 19px;
}

.hero-note {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(122, 47, 19, 0.15);
  box-shadow: var(--shadow);
}

.stats-grid,
.value-grid,
.legal-grid,
.contact-grid,
.download-grid,
.requirements {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  padding: 24px;
}

.info-card strong.stat {
  display: block;
  color: var(--copper-dark);
  font-size: 34px;
  line-height: 1;
}

.about-split,
.contact-layout,
.download-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-layout {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.legal-toc span {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--copper-soft);
  color: var(--copper-dark);
  font-size: 14px;
  font-weight: 750;
}

.legal-section {
  padding: 28px;
  margin-bottom: 18px;
}

.legal-section h2 {
  font-size: 28px;
}

.legal-section ul,
.legal-section ol {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.highlight {
  margin: 24px 0;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(22, 115, 107, 0.1);
  border: 1px solid rgba(22, 115, 107, 0.18);
}

.contact-layout {
  align-items: start;
}

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

.contact-card {
  padding: 22px;
}

.form-card {
  padding: 28px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7d0c8;
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(122, 47, 19, 0.16);
  border-color: var(--copper);
}

.form-row {
  margin-top: 16px;
}

.check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 500;
}

.check input {
  min-height: auto;
  margin-top: 5px;
}

.form-message {
  display: none;
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: 8px;
  font-weight: 750;
}

.form-message.success {
  display: block;
  background: rgba(22, 115, 107, 0.1);
  color: var(--teal);
}

.form-message.error {
  display: block;
  background: rgba(122, 47, 19, 0.1);
  color: var(--copper-dark);
}

.download-layout {
  align-items: stretch;
}

.download-card,
.update-card {
  padding: 28px;
}

.download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.requirements {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer {
  padding: 44px 0;
  background: #171918;
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

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

.h5-body .page-hero {
  padding-top: 42px;
}

.h5-body .page-hero-inner,
.h5-body .about-split,
.h5-body .value-grid,
.h5-body .stats-grid {
  grid-template-columns: 1fr;
}

.h5-body .site-footer {
  text-align: center;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-inner,
  .section-title,
  .feature-split,
  .page-hero-inner,
  .about-split,
  .contact-layout,
  .download-layout,
  .download-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background-position: 64% center;
  }

  .market-panel {
    max-width: 560px;
  }

  .steps,
  .stats-grid,
  .value-grid,
  .requirements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-inner,
  .section-inner,
  .page-hero-inner,
  .legal-layout,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 66px 0;
  }

  .hero-inner {
    padding: 48px 0 72px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-proof,
  .steps,
  .scenario-layout,
  .stats-grid,
  .value-grid,
  .field-grid,
  .download-grid,
  .requirements,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .scenario:nth-child(2),
  .scenario:nth-child(3) {
    transform: none;
  }

  .feature-photo,
  .about-photo,
  .download-photo,
  .contact-photo {
    min-height: 310px;
  }

  .panel-head,
  .ticker {
    grid-template-columns: 1fr;
  }

  .ticker {
    gap: 8px;
  }

  .download-band {
    padding: 24px;
  }
}
