/* navi-go overlays on Navi style.css */

.site-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #4F4F4F;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-topbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.site-topbar .brand img {
  height: 36px;
  width: auto;
}
/* 品牌副標：讓每一頁的視線起點就說明產品在做什麼 */
.site-topbar .brand__tagline {
  /* 斜體是合成的：Plus Jakarta Sans 與 PingFang TC 都沒有義大利體字重。 */
  font-size: 25px;
  font-style: italic;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.site-topbar nav a {
  color: rgba(255, 255, 255, 0.92);
  margin-left: 14px;
  text-decoration: none;
  font-size: 15pt;
}
.site-topbar nav a[aria-current="page"] {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-topbar nav a.nav-cta[aria-current="page"] {
  text-decoration: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}
/* 導覽列的轉換入口做成膠囊按鈕，和其他純文字連結區隔 */
.site-topbar nav a.nav-cta {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: #4F4F4F;
  font-weight: 700;
}
/* hover 跟著改成灰階：頂欄已經不是綠底，留著綠字會變成整條列唯一的綠。 */
.site-topbar nav a.nav-cta:hover {
  background: #ededed;
  color: #2b2b2b;
  text-decoration: none;
}

/* 收合式 LINE 客服入口：桌機才顯示，不擋地圖。 */
.floating-line {
  display: none;
  position: fixed;
  /* 右側：舊的 #LineBtn 也在右下，但那組 CSS 已經沒有元素在用了。 */
  right: 24px;
  bottom: 120px;
  z-index: 1040;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  color: #06c755;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}
.floating-line:hover {
  background: #fff;
  color: #06c755;
}
/* LINE 綠底圓形 + 白色標誌，跟 LINE 官方的呈現一致。 */
.floating-line__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #06c755;
  color: #fff;
  flex: 0 0 auto;
}
.floating-line__icon svg {
  width: 30px;
  height: 30px;
  display: block;
}
@media (min-width: 992px) {
  .floating-line {
    display: inline-flex;
  }
}

.experience-cta-wrap {
  position: relative;
  z-index: 1;
}

.btn-experience {
  display: inline-block;
  padding: 10px 18px;
  background: #71afa0;
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.btn-experience:hover {
  filter: brightness(0.95);
  color: #fff;
}

/* Hero CTA — 官網體驗入口，需一眼看到 */
.btn-experience-hero {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: min(100%, 360px);
  padding: 18px 32px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d9488 0%, #71afa0 45%, #14b8a6 100%);
  box-shadow:
    0 0 0 0 rgba(13, 148, 136, 0.55),
    0 12px 32px rgba(13, 148, 136, 0.35);
  animation: experience-pulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-experience-hero::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}
.btn-experience-hero:hover,
.btn-experience-hero:focus-visible {
  transform: translateY(-2px) scale(1.02);
  color: #fff !important;
  box-shadow:
    0 0 0 6px rgba(13, 148, 136, 0.18),
    0 16px 40px rgba(13, 148, 136, 0.42);
  animation: none;
}
.btn-experience-label {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.btn-experience-hint {
  font-size: clamp(0.72rem, 1.8vw, 0.85rem);
  font-weight: 500;
  opacity: 0.92;
  line-height: 1.3;
}
@keyframes experience-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(13, 148, 136, 0.55),
      0 12px 32px rgba(13, 148, 136, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(13, 148, 136, 0),
      0 14px 36px rgba(13, 148, 136, 0.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-experience-hero {
    animation: none;
  }
}

/* fixedBar: leave room so it does not cover map/boards */
body.has-fixed-bar {
  padding-bottom: 88px;
}
.fixedBar {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.fixedBar .fixedBtn {
  text-decoration: none;
  color: inherit;
}
.fixedBar .fixedBtn-secondary {
  background: linear-gradient(135deg, #0d9488, #71afa0);
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
  animation: fixed-cta-pulse 2.8s ease-in-out infinite;
}
.fixedBar .fixedBtn-secondary:hover {
  color: #fff;
  filter: brightness(1.05);
}
@keyframes fixed-cta-pulse {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
  }
  50% {
    box-shadow: 0 4px 22px rgba(13, 148, 136, 0.65), 0 0 0 4px rgba(13, 148, 136, 0.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fixedBar .fixedBtn-secondary {
    animation: none;
  }
}
.page-experience .fixedBtn-secondary {
  display: none;
}

/* Text store buttons — must NOT use Navi .BtnApple/.BtnGoogle absolute hotspots */
.download-block {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 16px 0;
}
.download-block .store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.download-block .store-btn {
  display: inline-block;
  position: static;
  width: auto;
  height: auto;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  background: #71afa0;
}
.download-block .store-btn:hover {
  filter: brightness(0.95);
  color: #fff;
}
.download-block .qr-row {
  display: none;
  gap: 16px;
}
.download-block .qr-row figure {
  margin: 0;
  text-align: center;
}
.download-block .qr-row img {
  width: 120px;
  height: auto;
}
@media (min-width: 992px) {
  .download-block .qr-row {
    display: flex;
  }
}

/* Experience page shell — do not override experience.css map grid/heights */
.page-experience {
  background: #f7f7f7;
}
.page-experience main {
  padding-bottom: 1.5rem;
}
/* Map8 容器的定位規則在 experience.css，那一支首頁與體驗頁都會載。
   這裡曾經有一份 .page-experience 限定的複本，解除限定之後變成
   一字不差的重複，已移除——同一條規則只留一個地方改。 */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: #134e4a;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  left: 0.5rem;
}

.home-depart-cta__inner {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 20px;
  background: linear-gradient(165deg, #ecfdf5 0%, #f0fdfa 55%, #fff 100%);
  border: 1px solid rgba(13, 148, 136, 0.15);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.08);
}
.home-depart-cta h2 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #134e4a;
  margin-bottom: 0.5rem;
}
.home-depart-cta p {
  color: #5b8a82;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
}
.home-depart-cta .download-block {
  justify-content: center;
}

.scenario-reveal {
  --scenario-ease: cubic-bezier(0.32, 0.72, 0, 1);
  opacity: 0;
  transform: translateY(2.5rem);
  transition:
    opacity 0.85s var(--scenario-ease),
    transform 0.85s var(--scenario-ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.scenario-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scenario-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Home: pricing pitch --- */
.pricing-pitch {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
}
.pricing-eyebrow,
.pricing-title,
.comments-heading {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #134e4a;
}
.pricing-lead,
.comments-lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #5b8a82;
}
.pricing-card {
  margin-bottom: 1.25rem;
}
.pricing-shell {
  padding: 0.35rem;
  border-radius: 1.5rem;
  background: rgba(113, 175, 160, 0.12);
  box-shadow: inset 0 0 0 1px rgba(19, 78, 74, 0.06);
}
.pricing-core {
  padding: 1.15rem 1.25rem;
  border-radius: calc(1.5rem - 0.35rem);
  background: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 36px rgba(13, 148, 136, 0.1);
}
.pricing-amount {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  color: #0d9488;
  letter-spacing: -0.03em;
}
.pricing-currency {
  font-size: 0.55em;
  font-weight: 700;
  margin-right: 0.15em;
}
.pricing-amount small {
  font-size: 0.38em;
  font-weight: 600;
  color: #5b8a82;
}
.pricing-note {
  margin: 0.65rem 0 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #5b8a82;
}
.pricing-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(113, 175, 160, 0.14);
  color: #134e4a !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.45s cubic-bezier(0.32, 0.72, 0, 1), transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}
.pricing-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(19, 78, 74, 0.08);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}
.pricing-cta:hover,
.pricing-cta:focus-visible {
  background: rgba(113, 175, 160, 0.22);
  color: #134e4a !important;
  transform: translateY(-1px);
}
.pricing-cta:hover .pricing-cta-icon,
.pricing-cta:focus-visible .pricing-cta-icon {
  transform: translate(2px, -2px);
}

/* --- Home: inline comment form --- */
.home-comments-band .comments-heading {
  margin-top: 0.25rem;
}
.comment-form-panel {
  padding: 1.25rem;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(13, 148, 136, 0.08);
}
.comment-form-title {
  margin: 0 0 0.35rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #134e4a;
}
.comment-form-block .js-captcha-error {
  color: crimson;
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* --- Structured site footer --- */
.site-footer {
  background: #30655b;
  color: rgba(255, 255, 255, 0.92);
  padding: clamp(2rem, 5vw, 3rem) 0 1rem;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4.5vw, 3rem);
  align-items: start;
}
.site-footer__brand p {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}
.site-footer__col {
  padding-left: 1.6rem;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
}
.site-footer__col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer__col a {
  display: block;
  margin-bottom: 0.45rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  transition: opacity 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.site-footer__qr {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.site-footer__col a.site-footer__qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}
.site-footer__qr-item img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border-radius: 10px;
}
.site-footer__col a:hover,
.site-footer__col a:focus-visible {
  opacity: 0.78;
  text-decoration: underline;
}
.site-footer__legal {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}
.site-footer-visual {
  padding-top: 0;
}

.page-comments .pagination {
  flex-wrap: wrap;
  gap: 4px;
  margin: 1.5rem 0 0;
}
.page-comments .page-link {
  color: #0f766e;
  border-color: #c5eadc;
  min-width: 2.4rem;
  text-align: center;
}
.page-comments .page-link:hover {
  color: #0b5f58;
  background: #e8f6f1;
}
.page-comments .page-item.active .page-link {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}
.page-comments .page-item.disabled .page-link {
  color: #9bb8b1;
}

@media (max-width: 767px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-footer__col {
    padding-left: 0;
    padding-top: 1.4rem;
    border-left: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.28);
  }
  .site-footer__qr {
    flex-wrap: wrap;
  }
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: relative;
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 5px; }

@media (max-width: 991.98px) {
  .site-topbar {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: block;
  }
  .site-topbar #site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 2px;
  }
  .site-topbar #site-nav.is-open {
    display: flex;
  }
  .site-topbar #site-nav a {
    /* 44px minimum touch target. */
    padding: 11px 4px;
    line-height: 22px;
  }
  /* 窄螢幕的 topbar 只放 logo 和選單鈕，副標讓位 */
  .site-topbar .brand__tagline {
    display: none;
  }
  .site-topbar nav a.nav-cta {
    align-self: flex-start;
    padding: 9px 14px;
    margin-left: 4px;
  }
}

/* Decision 4: one fixed affordance per viewport class.
   .floating-line is display:none by default and inline-flex from 992px. */
@media (min-width: 992px) {
  .fixedBar {
    display: none;
  }
  body.has-fixed-bar {
    padding-bottom: 0;
  }
}

@media (max-width: 991.98px) {
  .floating-line {
    display: none;
  }
  body.has-fixed-bar {
    /* The bar computes to about 53px including padding, not the 62px the
       audit estimated. 72px leaves clearance without a visible gap. */
    padding-bottom: 72px;
  }
}

/* Banner pause: quiet 44×44 corner control, not a new CTA. */
.carousel-pause {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
}
.carousel-pause:hover {
  background: rgba(0, 0, 0, 0.55);
}
.carousel-pause:focus {
  outline: none;
}
.carousel-pause:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.65);
}
.carousel-pause__icon {
  display: block;
  width: 10px;
  height: 14px;
  border-style: solid;
  border-width: 0 3px;
  border-color: #fff;
  box-sizing: border-box;
}
#carouselExampleIndicators.is-paused .carousel-pause__icon {
  width: 0;
  height: 0;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
}

/* /compare is a PAPAGO-only feature list, not a competitor table */
.page-compare .compare-meta {
  color: #5b8a82;
  font-size: 0.95rem;
}
.page-compare .compare-meta a {
  color: #0d9488;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.page-compare .compare-meta a:hover,
.page-compare .compare-meta a:focus-visible {
  color: #134e4a;
}
.page-compare .feature-list {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.page-compare .feature-list th,
.page-compare .feature-list td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(19, 78, 74, 0.12);
  text-align: left;
  vertical-align: top;
}
.page-compare .feature-list th {
  background: #71afa0;
  color: #fff;
  font-weight: 600;
}
.page-compare .feature-list tbody tr:nth-child(even) {
  background: #f7faf9;
}
.page-compare .feature-list td:first-child {
  width: 32%;
  font-weight: 600;
  color: #134e4a;
}

/* 最新消息：圖與文同一張卡（董事長「圖文二則一」），縮圖不要再拉滿版。 */
/* 功能對照頁的「訂閱後還能用這些」三欄 */
.compare-extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.compare-extra article {
  background: #f7fbfa;
  border: 1px solid #d8e9e4;
  border-radius: 14px;
  padding: 18px 20px;
}
.compare-extra h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #0f766e;
}
.compare-extra p {
  margin: 0;
  line-height: 1.75;
}

/* 送出按鈕置中：這是表單裡唯一的動作，靠左會像被推到角落。 */
.comment-form-block .js-comment-submit {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 50px;
}

.home-news {
  width: min(1080px, 92vw);
  margin: clamp(28px, 5vh, 48px) auto clamp(36px, 6vh, 56px);
}
.home-news__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
/* 最新消息與使用者體驗分享是同一層級的區塊大標，字級寫在同一條規則裡，
   要改一起改。分開寫過一次的結果是：留言那一區被留成一顆 0.625rem 的
   小膠囊，而最新消息是 34px。 */
.page-home .home-news__head h2,
.page-home .home-comments-band .comments-heading {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #134e4a;
  font-weight: 800;
}
.home-news__head h1,
.home-news__head h2 {
  margin: 0;
  color: #134e4a;
  font-weight: 800;
}
.home-news__more {
  flex-shrink: 0;
  color: #0f766e;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.home-news__more:hover { text-decoration: underline; }
.home-news__more:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.news-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px 20px;
  align-items: start;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(11, 43, 36, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(11, 43, 36, 0.05);
}
.news-card--text {
  grid-template-columns: minmax(0, 1fr);
}
.news-card__media {
  display: block;
  width: 168px;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
  background: #e8f3f0;
}
.news-card__body {
  min-width: 0;
}
.news-card__date {
  display: block;
  margin: 0 0 6px;
  color: #5b8a82;
  font-size: 15px;
}
.news-card__body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  color: #134e4a;
}
.news-card__body p {
  margin: 0;
  color: #5b8a82;
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .news-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .news-card__media {
    width: 100%;
    height: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-news__more { transition: none; }
}

/* —— 首頁字級：標題／內文／輔助 22／18／15（手機 18／15／12）。
   Hero 大標、輪播區 feat__head、功能體驗區 exp-block__title 除外。 —— */
.page-home h2,
.page-home .comments-heading {
  font-size: 22px;
  line-height: 1.35;
}
.page-home .feat__head {
  font-size: clamp(36px, 4.4vw, 50px);
  line-height: 1.22;
}
.page-home .feat__lede {
  font-size: 21px;
  line-height: 1.65;
}
/* 功能體驗區的大標沿用輪播區的字級。
   這一區取代了輪播區，標題卻是 h2，被上面那條 .page-home h2（特異度
   0,1,1）壓成 22px——比它取代掉的 feat__head 小了一半以上。
   例外清單要跟著搬，不然「換一個區塊」就變成「悄悄縮一半」。 */
.page-home .exp-block__title {
  font-size: clamp(36px, 4.4vw, 50px);
  line-height: 1.22;
}
.page-home .exp-block__lede {
  font-size: 21px;
  line-height: 1.65;
}
.page-home .feat__stop h3,
.page-home .feat-stack h3 {
  font-size: 22px;
  line-height: 1.35;
}
.page-home .feat__stop p,
.page-home .feat-stack article p {
  font-size: 19px;
  line-height: 1.7;
}
.page-home .pricing-lede,
.page-home .comments-lead {
  font-size: 18px;
  line-height: 1.7;
}
.page-home .news-card__body h3 {
  font-size: 22px;
}
.page-home .pricing-eyebrow {
  font-size: 15px;
  line-height: 1.65;
}
.page-home .news-card__date { font-size: 15px; line-height: 1.65; }
.page-home .news-card__body p { font-size: 17px; line-height: 1.7; }
@media (max-width: 991.98px) {
  .page-home h2,
  .page-home .comments-heading {
    font-size: 18px;
  }
  .page-home .feat__head {
    font-size: 30px;
  }
  .page-home .feat__lede {
    font-size: 17px;
  }
  .page-home .exp-block__title {
    font-size: 30px;
  }
  .page-home .exp-block__lede {
    font-size: 17px;
  }
  .page-home .feat__stop h3,
  .page-home .feat-stack h3 {
    font-size: 18px;
  }
  .page-home .feat__stop p,
  .page-home .feat-stack article p {
    font-size: 16px;
  }
  .page-home .pricing-lede,
  .page-home .comments-lead,
  .page-home .upgrade-card h3,
  .page-home .news-card__body h3 {
    font-size: 15px;
  }
  .page-home .pricing-eyebrow,
  .page-home .news-card__date {
    font-size: 12px;
  }
  /* 手機上兩個區塊大標也要一起改，桌機是同一條規則。 */
  .page-home .home-news__head h2,
  .page-home .home-comments-band .comments-heading {
    font-size: 22px;
  }
}

/* 區塊用底色分開：相鄰段對比要夠大，不用髮絲線。 */
.home-upgrade {
  background: #fff;
  padding: clamp(36px, 6vh, 56px) 0;
}
.home-upgrade__inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
}
.home-upgrade__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.upgrade-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: #f0fdf9;
  border: 1px solid rgba(13, 148, 136, 0.16);
  min-height: 100%;
  transition: transform 0.15s, box-shadow 0.15s;
}
.upgrade-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.14);
}
.upgrade-card h3 {
  margin: 0;
  font-weight: 800;
  color: #0f766e;
}
.upgrade-card p {
  margin: 0;
  color: #5b8a82;
}
.upgrade-card__num {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #0f766e;
  line-height: 1.1;
}
/* 最新消息：區塊滿版（container-fluid），內容寬度交給裡面的 .container，
   跟方案、留言同一個骨架。背景色依產品要求拿掉。 */
.home-news {
  width: auto;
  max-width: none;
  margin: 0;
  padding: clamp(56px, 8vh, 92px) 0;
}
.home-comments-band {
  background: #eceeed;
  padding: 48px 0 40px;
}
@media (max-width: 1100px) {
  .home-upgrade__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .home-upgrade__grid { grid-template-columns: 1fr; }
}

/* 直向手機框：抄自 papago-web 體驗頁（Dynamic Island + 狀態列 + 底部橫條）。 */
.phone-frame {
  --phone-status: 1.9rem;
  --phone-home: 1.1rem;
  --phone-bezel: 0.55rem;
  height: var(--shell-height, auto);
  padding: var(--phone-bezel);
  border-radius: 2.1rem;
  background: linear-gradient(160deg, #2b3a44 0%, #16222a 45%, #0d1519 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 18px 45px rgba(13, 21, 25, 0.32);
  position: relative;
}
.phone-frame::before,
.phone-frame::after {
  content: "";
  position: absolute;
  left: -2px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(#3a4a55, #1b262d);
}
.phone-frame::before { top: 22%; height: 6%; }
.phone-frame::after { top: 32%; height: 12%; }
.phone-frame__screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.65rem;
  overflow: hidden;
  background: #0b1418;
  position: relative;
}
.phone-frame__status {
  position: relative;
  flex: 0 0 var(--phone-status);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.1rem;
  background: #0b1418;
  color: #f2f6f7;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.phone-frame__island {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4.6rem;
  height: 1.05rem;
  border-radius: 999px;
  background: #05090b;
}
.phone-frame__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.phone-frame__signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 1px;
  height: 0.6rem;
}
.phone-frame__signal i {
  width: 2px;
  border-radius: 1px;
  background: #f2f6f7;
  font-style: normal;
  display: block;
}
.phone-frame__signal i:nth-child(1) { height: 30%; }
.phone-frame__signal i:nth-child(2) { height: 50%; }
.phone-frame__signal i:nth-child(3) { height: 75%; }
.phone-frame__signal i:nth-child(4) { height: 100%; }
.phone-frame__wifi {
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid #f2f6f7;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}
.phone-frame__battery {
  position: relative;
  width: 1.15rem;
  height: 0.58rem;
  border: 1px solid rgba(242, 246, 247, 0.75);
  border-radius: 3px;
  background: linear-gradient(90deg, #f2f6f7 78%, transparent 78%) content-box;
  padding: 1px;
}
.phone-frame__battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 30%;
  width: 2px;
  height: 40%;
  border-radius: 0 1px 1px 0;
  background: rgba(242, 246, 247, 0.75);
}
.phone-frame__home {
  flex: 0 0 var(--phone-home);
  position: relative;
  background: #0b1418;
}
.phone-frame__home::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32%;
  max-width: 8rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(242, 246, 247, 0.85);
}
.phone-frame--hero {
  --phone-status: 1.55rem;
  --phone-home: 0.85rem;
  --phone-bezel: 0.45rem;
  width: min(100%, 340px);
  height: auto;
  min-height: 100%;
  border-radius: 1.65rem;
  align-self: stretch;
}
.phone-frame--hero .phone-frame__screen {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  min-height: 420px;
}
.phone-frame--hero .phone-frame__status { font-size: 0.6rem; }
.phone-frame--hero .phone-frame__island { width: 3.6rem; height: 0.85rem; }
.phone-frame--map {
  width: min(100%, 420px);
  justify-self: center;
}
.phone-frame .map-canvas {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
