:root {
  color-scheme: light;
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #25302c;
  --muted: #6d6257;
  --leaf: #2f6b59;
  --leaf-dark: #1f473c;
  --coral: #d96c5f;
  --sun: #e8b94d;
  --sky: #527da3;
  --paper: #fffaf0;
  --paper-strong: #fff2d3;
  --line: rgba(70, 56, 42, 0.18);
  --shadow: 0 24px 60px rgba(54, 42, 29, 0.18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 247, 231, 0.96), rgba(250, 250, 247, 0.98)),
    #fafaf7;
}

a {
  color: inherit;
}

.redirect-notice {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: #27362f;
  color: #fffaf0;
  box-shadow: 0 8px 24px rgba(31, 39, 35, 0.18);
}

.redirect-notice span {
  display: block;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.9rem;
}

.text-button {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(47, 107, 89, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-link {
  text-decoration: none;
  font-weight: 800;
  color: var(--leaf-dark);
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
}

.top-link:hover {
  background: rgba(47, 107, 89, 0.1);
}

main {
  overflow: hidden;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 132px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  align-items: center;
  gap: clamp(28px, 7vw, 88px);
  padding: 12px 0 34px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.1vw, 4.45rem);
  line-height: 1.04;
  letter-spacing: 0;
  color: #26342f;
  max-width: 760px;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: #514840;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.8;
  font-weight: 600;
}

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

.store-button,
.route-link {
  min-height: 58px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.store-button {
  padding: 10px 16px;
  min-width: min(100%, 248px);
}

.store-button strong,
.store-button small {
  display: block;
}

.store-button small {
  margin-top: 2px;
  font-size: 0.82rem;
  opacity: 0.78;
  max-width: 205px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-button.primary {
  background: var(--leaf);
  color: #fffaf0;
  box-shadow: 0 16px 34px rgba(47, 107, 89, 0.26);
}

.store-button.secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

.store-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.24);
  font-weight: 900;
}

.secondary .store-icon {
  background: rgba(82, 125, 163, 0.12);
  color: var(--sky);
}

.availability-note {
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
  margin: 18px 0 0;
  max-width: 620px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.phone-shell {
  width: min(82vw, 310px);
  aspect-ratio: 1320 / 2868;
  border-radius: 38px;
  padding: 10px;
  background: #2d302e;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 29px;
}

.companion {
  position: absolute;
  width: clamp(86px, 16vw, 132px);
  filter: drop-shadow(0 14px 18px rgba(54, 42, 29, 0.18));
  pointer-events: none;
}

.companion.cat {
  left: max(0px, 2vw);
  bottom: 72px;
  transform: rotate(-5deg);
}

.companion.dog {
  right: max(0px, 1vw);
  top: 82px;
  transform: rotate(6deg);
}

.routes,
.showcase {
  padding: 76px 0;
}

.routes {
  background: #f8ead5;
  border-top: 1px solid rgba(70, 56, 42, 0.08);
  border-bottom: 1px solid rgba(70, 56, 42, 0.08);
}

.section-heading,
.route-grid,
.showcase-grid {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.12;
}

.route-grid {
  width: min(820px, calc(100% - 32px));
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.route-card,
.method-panel,
.showcase figure {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.78);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(54, 42, 29, 0.08);
}

.route-card {
  padding: 22px;
}

.route-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--leaf-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.route-card h3 {
  margin: 18px 0 8px;
  font-size: 1.24rem;
}

.route-card p {
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 600;
}

.route-link {
  width: 100%;
  margin-top: 18px;
  padding: 0 16px;
  background: #26342f;
  color: #fffaf0;
  font-weight: 900;
}

.route-link.muted {
  background: #fffaf0;
  color: var(--leaf-dark);
  border: 1px solid var(--line);
}

.showcase {
  background: #fafaf7;
}

.showcase-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 0.82fr 0.82fr 1fr;
  align-items: stretch;
  gap: 14px;
}

.showcase figure {
  margin: 0;
  padding: 14px;
  overflow: hidden;
}

.showcase figure img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.showcase figcaption {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
  padding: 14px 2px 2px;
}

.method-panel {
  padding: clamp(22px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(82, 125, 163, 0.12), rgba(232, 185, 77, 0.22)),
    var(--paper);
}

.method-panel h3 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
}

.method-panel p {
  margin: 0;
  color: #4b433b;
  line-height: 1.9;
  font-weight: 650;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer a {
  text-decoration: none;
  color: var(--leaf-dark);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 30;
  background: #26342f;
  color: #fffaf0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(31, 39, 35, 0.22);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 14px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .phone-shell {
    width: min(72vw, 280px);
  }

  .route-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .route-card p {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
  }

  .top-actions {
    display: none;
  }

  h1 {
    font-size: clamp(2.02rem, 10vw, 2.72rem);
  }

  .hero-actions,
  .store-button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .phone-shell {
    width: min(70vw, 252px);
    border-radius: 32px;
  }

  .phone-shell img {
    border-radius: 23px;
  }

  .companion.cat {
    bottom: 46px;
  }

  .companion.dog {
    top: 54px;
  }

  .redirect-notice {
    align-items: flex-start;
    flex-direction: column;
  }
}
