/* Evolve the existing purple brand; keep shared support/legal layouts intact. */
.marketing {
  --color-primary: #6543bc;
  --color-primary-strong: #4c2e96;
  --color-foreground: #302743;
  --color-text: #332e3d;
  --color-muted: #655e70;
  --color-border: #ded6ed;
  --container: 1160px;
  background: #fff8f0;
  font-family: "Noto Sans TC", "Segoe UI", sans-serif;
}
.marketing .site-header { background: rgba(255,248,240,.96); border-color: #e4d5e9; }
.marketing main { background: radial-gradient(ellipse 850px 560px at 0 0, #d6bff2 0%, transparent 75%), radial-gradient(ellipse 850px 600px at 100% 160px, #f4c7dc 0%, transparent 75%), #fff8f0; }
.marketing .brand-mark, .marketing .video-brand img, .marketing .download-app img { border-radius: 0; box-shadow: none; }
.marketing .nav { gap: 1rem; }
.marketing .nav-links a { padding: .65rem .65rem; font-size: .88rem; color: var(--color-text); }
.marketing .hero { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 3rem; padding-top: 4.5rem; padding-bottom: 5rem; }
.marketing .hero-kicker { margin: 0 0 1.1rem; color: var(--color-primary); font-weight: 700; font-size: .95rem; }
.marketing h1 { font-size: clamp(2.2rem,4.3vw,3.5rem); line-height: 1.28; letter-spacing: -.045em; margin: 0 0 1.4rem; }
.marketing h1 span { color: var(--color-primary); }
.marketing .lead { font-size: 1.05rem; line-height: 1.9; color: var(--color-muted); margin: 0; }
.marketing .hero-actions { margin-top: 1.8rem; gap: 1rem; }
.download-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; width: 100%; max-width: 420px; }
.marketing .download-button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: var(--color-primary-strong); color: white; border: 0; border-radius: 12px; padding: .8rem 1.1rem; min-height: 74px; gap: .15rem; text-decoration: none; box-shadow: none; width: auto; }
.download-button span { font-size: .75rem; font-weight: 400; }
.download-button strong { font-size: 1.08rem; white-space: nowrap; }
.marketing .download-button:hover { background: #3d247b; transform: translateY(-2px); }
.web-link { color: var(--color-primary-strong); display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; font-weight: 600; text-underline-offset: 5px; }
.marketing .video-stage { min-height: 0; padding: 0; }
.marketing .video-card { padding: 1.1rem; border: 1px solid #d9bfeb; border-radius: 20px; box-shadow: 0 18px 45px #6a368322; background: #fffaf5; transform: none; }
.marketing .video-brand { gap: .65rem; }
.marketing .video-brand strong { font-size: 1rem; }
.marketing .video-brand small { color: var(--color-muted); }
.marketing .video-player { aspect-ratio: 16/9; border-radius: 10px; background: #f1eafa; overflow: hidden; }
.video-player video { display: block; width: 100%; height: 100%; object-fit: contain; }
.marketing .video-caption { color: var(--color-muted); font-size: .8rem; font-weight: 400; margin: .8rem 0 0; }
.marketing .section { padding: 4.5rem 0; }
.marketing .section-header { max-width: 720px; margin: 0 0 2.3rem; text-align: left; }
.marketing h2 { color: var(--color-foreground); font-size: clamp(1.65rem,2.5vw,2.2rem); letter-spacing: -.035em; line-height: 1.45; }
.marketing .section-header p { color: var(--color-muted); font-size: 1rem; margin-top: .65rem; }
.product-section { background: linear-gradient(155deg, #eee1f9, #f9e6ed); border-block: 1px solid #e3cee9; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem; }
.product-feature { display: grid; grid-template-columns: 1fr .82fr; gap: 1rem; padding: 1.6rem 1.4rem 0; border: 1px solid #e3dcec; border-radius: 20px; background: #fff; overflow: hidden; }
.memory-feature { background: #ded0f5; border-color: #c9b4e9; }
.product-feature:nth-child(2) { background: #f8dce7; border-color: #e7bccc; }
.product-feature:nth-child(3) { background: #fff0d0; border-color: #ead6a9; }
.review-feature { background: #dceee8; border-color: #bad9cf; }
.feature-copy { padding-bottom: 1.7rem; }
.feature-number { color: #68527e; font-size: .85rem; font-variant-numeric: tabular-nums; }
.product-feature h3 { font-size: 1.55rem; color: var(--color-foreground); line-height: 1.5; margin: .8rem 0; letter-spacing: -.03em; }
.product-feature p { font-size: .95rem; line-height: 1.85; color: #5c5269; margin: 0 0 1.2rem; }
.feature-detail { font-size: .8rem; color: var(--color-primary-strong); font-weight: 600; }
.screenshot-link { display: block; align-self: end; overflow: hidden; border-radius: 16px 16px 0 0; border: 1px solid #d8cce5; border-bottom: 0; background: #fff; margin-top: 1rem; }
.screenshot-link img { width: 100%; height: auto; }
.section-note, .plan-note { font-size: .85rem; color: var(--color-muted); line-height: 1.85; }
.section-note { margin: 1rem 0 0; }
.daily-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin: 0; gap: 2.5rem; list-style: none; }
.daily-flow li { border-top: 2px solid #c4a6de; padding-top: 1.2rem; }
.daily-flow li > span { color: var(--color-primary); font-size: .85rem; font-weight: 600; }
.daily-flow h3 { font-size: 1.2rem; margin: .8rem 0 .6rem; }
.daily-flow p { color: var(--color-muted); font-size: .95rem; margin: 0; }
.plans-section { background: #e9ddf6; border-block: 1px solid #d8c5ec; }
.plan-comparison { border: 1px solid #ddd2eb; border-radius: 16px; background: #fff; overflow: hidden; }
.plan-comparison table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.plan-comparison th, .plan-comparison td { padding: 1rem 1.4rem; text-align: left; border-bottom: 1px solid #ebe5f2; }
.plan-comparison thead th { background: #e4d5f4; font-size: 1rem; }
.plan-comparison tbody th { font-size: .95rem; font-weight: 500; }
.plan-comparison td { font-size: .95rem; }
.plan-comparison td:last-child, .plan-comparison thead th:last-child { color: var(--color-primary-strong); font-weight: 700; background: #eee3fb; }
.plan-comparison tr:last-child th, .plan-comparison tr:last-child td { border-bottom: none; }
.plan-note { max-width: 950px; }
.faq-layout { display: grid; grid-template-columns: .85fr 1.6fr; gap: 3rem; }
.faq-section { background: #fce9ed; }
.faq-layout h2 { margin-top: 0; }
.faq-layout > div > p { color: var(--color-muted); font-size: .9rem; }
.faq-list details { border-bottom: 1px solid #e0d7eb; padding: .5rem 0; }
.faq-list summary { min-height: 52px; padding: .7rem .2rem; font-weight: 600; cursor: pointer; color: var(--color-foreground); }
.faq-list p { font-size: .95rem; color: var(--color-muted); line-height: 1.9; margin: .3rem 0 1.2rem; }
.marketing .download-card { background: radial-gradient(ellipse at 100% 0, #f5d1e2, transparent 65%), #ddc9f3; border: 1px solid #c9acdf; border-radius: 20px; box-shadow: 0 16px 36px #6a368315; }
.marketing .download-copy h2 { font-size: 2rem; }
.marketing .download-points span { background: #fff; color: var(--color-primary-strong); }
.marketing .qr-card { border-radius: 12px; box-shadow: none; }
.marketing .app-store-link { background: var(--color-primary-strong); border-color: var(--color-primary-strong); box-shadow: none; }
.marketing .download-app { align-items: center; }
.support-strip { background: #f1e5f6; border-top: 1px solid #dcc8e9; padding: 2rem 0; }
.support-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.support-strip h2 { font-size: 1.1rem; margin: 0; }
.support-strip nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.support-strip a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-underline-offset: 4px; }
.marketing .site-footer { background: #e2d3ed; color: var(--color-text); border-top: 1px solid #d3bedf; }
.marketing .site-footer p, .marketing .footer-links a, .marketing .copyright { color: var(--color-muted); }
.marketing .footer-title { color: var(--color-foreground); }
.marketing .copyright { border-color: #dfd5e8; }
.marketing .footer-links a { overflow-wrap: anywhere; }
.marketing [id] { scroll-margin-top: 96px; }
.marketing a, .marketing button, .marketing summary { touch-action: manipulation; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:1050px) {
  .marketing .hero { gap: 2rem; }
  .marketing .nav-links a { font-size: .8rem; padding-inline: .45rem; }
  .product-feature { padding: 1.25rem 1rem 0; gap: .8rem; }
  .product-feature h3 { font-size: 1.3rem; }
}
@media(max-width:800px) {
  .marketing .hero { grid-template-columns: 1fr; padding-top: 2.5rem; padding-bottom: 3rem; gap: 2rem; }
  .marketing h1 { font-size: clamp(2.1rem,7vw,3.2rem); }
  .marketing .hero-copy { max-width: 560px; }
  .marketing .video-stage { max-width: 620px; width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
  .product-feature { grid-template-columns: 1.2fr .8fr; padding: 1.5rem 1.5rem 0; }
  .product-feature h3 { font-size: 1.55rem; }
  .screenshot-link { max-width: 210px; justify-self: end; }
  .daily-flow { gap: 1.3rem; }
  .faq-layout { grid-template-columns: 1fr; gap: 1rem; }
  .faq-layout h2 br { display: none; }
  .support-strip .container { align-items: flex-start; flex-direction: column; gap: .5rem; }
}
@media(max-width:720px) {
  .marketing .nav-links { background: #fff8f0; max-height: calc(100dvh - 76px); overflow-y: auto; }
  .marketing .nav-links a { font-size: .95rem; }
  .marketing .section { padding: 3rem 0; }
  .daily-flow { grid-template-columns: 1fr; gap: 1.5rem; }
  .daily-flow h3 { margin: .4rem 0; }
  .plan-comparison th, .plan-comparison td { padding: .9rem .7rem; font-size: .85rem; }
  .plan-comparison tbody th { font-size: .85rem; }
  .marketing .download-copy h2 { font-size: 1.7rem; }
  .marketing .store-downloads { flex-direction: row; flex-wrap: wrap; }
}
@media(max-width:420px) {
  .marketing .hero { padding-top: 2rem; }
  .marketing .hero .lead { font-size: 1rem; }
  .desktop-break { display: none; }
  .marketing .download-button { padding: .75rem; }
  .download-button strong { font-size: .95rem; }
  .product-feature { padding: 1rem 1rem 0; grid-template-columns: 1.05fr .95fr; }
  .product-feature h3 { font-size: 1.23rem; }
  .product-feature p { font-size: .88rem; }
  .feature-detail { font-size: .73rem; }
  .marketing .video-brand strong { font-size: .88rem; }
  .marketing .qr-platforms { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: none; width: 100%; gap: .7rem; }
  .marketing .qr-card { padding: .6rem; min-width: 0; }
  .marketing .qr-card img { max-width: 100%; height: auto; }
}
@media(prefers-reduced-motion:reduce) {
  html:has(.marketing) { scroll-behavior: auto; }
  .marketing *, .marketing *::before, .marketing *::after { transition: none !important; animation: none !important; }
}
