/*!
 * 珍妮樂齡 — 升級版 Landing（base）
 * 保留品牌珊瑚橘血脈，排版/視覺/節奏升級。RWD + 樂齡無障礙。
 * © 2026 宥爵智能科技有限公司
 */

/* ============================================
   設計 Tokens
   ============================================ */
:root {
    /* 品牌色（承襲原專案）*/
    --coral:        #F2784B;
    --coral-dark:   #E0633A;
    --coral-deep:   #C44E26;
    --coral-soft:   #FFE6DA;
    --coral-tint:   #FFF1E8;
    --teal:         #3FA796;
    --teal-deep:    #2E8576;
    --rose:         #E8857B;
    --amber:        #E8A23D;
    --green:        #5BA37A;
    --purple:       #8B7DD8;
    --line-green:   #06C755;

    /* 背景／文字（主題會覆寫）*/
    --bg:           #FFF9F3;
    --bg-warm:      #FFF1E8;
    --bg-elevated:  #FFFFFF;
    --bg-dark:      #3D2F2A;
    --bg-dark-2:    #4A3A33;

    --ink:          #2E2925;
    --ink-soft:     #6E665C;
    --ink-faint:    #9A9088;
    --on-dark:      #FFF6EF;

    --border:       #F0E2D6;
    --border-strong:#E4D2C2;

    /* 節奏／形狀 */
    --radius-sm:    14px;
    --radius:       20px;
    --radius-lg:    28px;
    --radius-xl:    40px;
    --shadow-sm:    0 4px 14px rgba(150, 95, 60, 0.08);
    --shadow:       0 12px 34px rgba(150, 95, 60, 0.12);
    --shadow-lg:    0 26px 64px rgba(150, 95, 60, 0.20);
    --ring:         0 0 0 4px rgba(242, 120, 75, 0.18);

    /* 字體 */
    --font-body:    'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Noto Sans TC', -apple-system, sans-serif;

    /* 可由 Tweaks/字級鈕調整 */
    --type-scale:   1;        /* Tweaks 整體字級倍率 */
    --user-type-scale: 1;     /* A＋/A− 樂齡字級 */
    --radius-scale: 1;        /* 圓角倍率 */
    --maxw:         1180px;
    --ease:         cubic-bezier(.22,.61,.36,1);
    --t:            .28s var(--ease);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: calc(18px * var(--type-scale) * var(--user-type-scale)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.78;
    font-size: 1rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
strong { color: var(--coral-deep); font-weight: 700; }
::selection { background: var(--coral-soft); color: var(--coral-deep); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* 共用容器 */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* 微標籤 */
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--coral-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); border-radius: 2px; }

/* Pill badge */
.pill {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--bg-elevated); color: var(--coral-deep);
    font-weight: 700; font-size: .98rem;
    padding: 10px 18px; border-radius: 999px;
    border: 1.5px solid var(--coral-soft); box-shadow: var(--shadow-sm);
}
.pill.on-dark { background: rgba(255,255,255,.1); color: var(--on-dark); border-color: rgba(255,255,255,.18); }

/* ============================================
   按鈕
   ============================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 11px;
    font-family: inherit; font-size: 1.12rem; font-weight: 700; line-height: 1;
    padding: 17px 28px; border-radius: calc(16px * var(--radius-scale));
    border: 2px solid transparent; cursor: pointer; transition: var(--t);
    white-space: nowrap;
}
.btn i { font-size: .95em; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(242,120,75,.36); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(242,120,75,.42); }
.btn-ghost { background: var(--bg-elevated); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral-deep); transform: translateY(-2px); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 10px 24px rgba(6,199,85,.3); }
.btn-line:hover { filter: brightness(.96); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.22rem; padding: 19px 32px; }

/* ============================================
   導航列
   ============================================ */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    padding: 14px 0; transition: var(--t);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(14px) saturate(1.1);
    border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 1.32rem; color: var(--coral-deep); }
.brand-mark {
    width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
    background: linear-gradient(140deg, var(--coral), var(--rose));
    display: grid; place-items: center; color: #fff; font-size: 1.5rem;
    box-shadow: 0 8px 18px rgba(242,120,75,.34);
}
img.brand-mark { object-fit: cover; background: #fff; padding: 0; }
.brand-text { white-space: nowrap; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 1.04rem; color: var(--ink); transition: color var(--t); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--coral); border-radius: 2px; transition: width var(--t); }
.nav-links a:hover { color: var(--coral-deep); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 12px; }

.afont { display: flex; gap: 5px; }
.afont button {
    width: 42px; height: 42px; border-radius: 11px; border: 2px solid var(--border-strong);
    background: var(--bg-elevated); color: var(--ink); cursor: pointer; font-weight: 800; font-size: .95rem;
    transition: var(--t);
}
.afont button:hover { border-color: var(--coral); color: var(--coral-deep); }
.link-login { font-weight: 700; font-size: 1.04rem; color: var(--coral-deep); padding: 11px 12px; }
.link-login:hover { color: var(--coral); }
.nav-cta { padding: 12px 22px; font-size: 1.02rem; border-radius: 13px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.55rem; color: var(--ink); cursor: pointer; padding: 6px; }

/* ============================================
   Hero（基底，版型由 variants 控制）
   ============================================ */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(1100px 520px at 82% -8%, var(--coral-soft), transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }

.hero-text .pill { margin-bottom: 24px; }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.22;
    letter-spacing: .01em; margin-bottom: 22px; text-wrap: balance;
}
.hero-title .hl {
    background: linear-gradient(118deg, var(--coral), var(--rose));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { font-size: 1.3rem; color: var(--ink-soft); margin-bottom: 30px; max-width: 30ch; }
.hero-desc strong { white-space: nowrap; }

/* 語音優先 */
.voice {
    display: inline-flex; align-items: center; gap: 18px; margin-bottom: 30px;
    background: var(--bg-elevated); padding: 12px 22px 12px 12px; border-radius: 999px;
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.mic {
    width: 76px; height: 76px; border-radius: 50%; border: none; cursor: pointer; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
    color: #fff; font-size: 1.85rem;
    box-shadow: 0 12px 28px rgba(242,120,75,.5); transition: var(--t);
}
.mic::after { content: ""; position: absolute; }
.voice.idle .mic { animation: micPulse 2.6s ease-in-out infinite; }
.mic:hover { transform: scale(1.06); }
.voice.live .mic { background: linear-gradient(135deg, var(--teal), var(--teal-deep)); animation: none; }
@keyframes micPulse {
    0%,100% { box-shadow: 0 12px 28px rgba(242,120,75,.5); }
    50% { box-shadow: 0 12px 28px rgba(242,120,75,.5), 0 0 0 14px rgba(242,120,75,.08); }
}
@media (prefers-reduced-motion: reduce) { .voice.idle .mic { animation: none; } }
.voice-copy { display: flex; flex-direction: column; gap: 3px; }
.voice-hint { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.voice-sub { font-size: .95rem; color: var(--ink-soft); }
.wave { display: none; align-items: flex-end; gap: 4px; height: 26px; }
.voice.live .wave { display: flex; }
.voice.live .voice-hint::before { content: "聆聽中…"; }
.voice.live .voice-hint-text { display: none; }
.wave span { width: 4px; background: var(--teal); border-radius: 4px; animation: wv .9s ease-in-out infinite; }
.wave span:nth-child(2){animation-delay:.1s}.wave span:nth-child(3){animation-delay:.2s}.wave span:nth-child(4){animation-delay:.3s}.wave span:nth-child(5){animation-delay:.15s}
@keyframes wv { 0%,100%{height:8px}50%{height:24px} }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-trust li { font-size: 1.02rem; color: var(--ink-soft); font-weight: 500; display: flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--green); }

/* Hero 視覺：頭像 */
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.avatar-ring {
    width: min(380px, 100%); aspect-ratio: 1; border-radius: 50%; position: relative;
    background: conic-gradient(from 200deg, var(--coral-soft), #fff, var(--coral-tint), #fff);
    padding: 12px; box-shadow: var(--shadow-lg);
}
.avatar-photo {
    width: 100%; height: 100%; border-radius: 50%; overflow: hidden; position: relative;
    background: radial-gradient(circle at 50% 38%, #fff, var(--coral-tint));
    display: grid; place-items: center;
}
.avatar-emoji { font-size: 8.5rem; line-height: 1; filter: drop-shadow(0 8px 16px rgba(0,0,0,.1)); }
.avatar-photo image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.bubble {
    position: absolute; background: var(--bg-elevated); color: var(--ink);
    font-size: 1.02rem; font-weight: 600; padding: 13px 18px; border-radius: 18px 18px 18px 5px;
    box-shadow: var(--shadow); max-width: 230px; z-index: 3;
}
.bubble.b1 { top: 13%; right: -4%; }
.bubble.b2 { bottom: 12%; left: -6%; border-radius: 18px 18px 5px 18px; }
.bubble i { color: var(--rose); }
.visual-caption {
    text-align: center; font-size: 1.06rem; color: var(--ink-soft); line-height: 1.85;
    background: var(--bg-elevated); padding: 16px 22px; border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 380px;
}
.visual-caption b { color: var(--coral-deep); }

/* ============================================
   區段共用
   ============================================ */
.section { padding: 92px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 900; line-height: 1.3; text-wrap: balance; }
.section-title.light { color: var(--on-dark); }
.section-sub { font-size: 1.22rem; color: var(--ink-soft); margin-top: 14px; text-wrap: pretty; }
.section-sub.light { color: rgba(255,255,255,.82); }

/* 功能卡 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fcard {
    background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 36px 30px; box-shadow: var(--shadow-sm); transition: var(--t); position: relative; overflow: hidden;
}
.fcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--coral-soft); }
.fic { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; font-size: 1.85rem; color: #fff; margin-bottom: 20px; }
.fic.coral { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.fic.teal { background: linear-gradient(135deg, var(--teal), var(--teal-deep)); }
.fic.rose { background: linear-gradient(135deg, var(--rose), #D96A5F); }
.fic.green { background: linear-gradient(135deg, var(--green), #468560); }
.fic.amber { background: linear-gradient(135deg, var(--amber), #CE8A28); }
.fic.purple { background: linear-gradient(135deg, var(--purple), #6F61C0); }
.fcard h3 { font-size: 1.42rem; font-weight: 700; margin-bottom: 11px; }
.fcard p { font-size: 1.1rem; color: var(--ink-soft); }

/* 照片功能卡（參考稿）*/
.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard {
    background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 30px 28px 28px; box-shadow: var(--shadow-sm); transition: var(--t);
    display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--coral-soft); }
.pcard-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: var(--coral-deep); background: var(--coral-tint); margin-bottom: 18px; }
.pcard h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.pcard p { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 22px; }
.pcard .shot { margin-top: auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: linear-gradient(135deg, #F3E1D0, #FBEEE1); }
.pcard .shot img { width: 100%; height: 190px; object-fit: cover; display: block; }
.pcard .shot image-slot { width: 100%; height: 190px; display: block; }

/* 家屬安心 */
.family { background: var(--bg-dark); color: var(--on-dark); }
.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.family-text, .family-visual { min-width: 0; }
.family-text .section-title { color: var(--on-dark); margin: 18px 0 18px; }
.family-desc { font-size: 1.24rem; color: rgba(255,255,255,.84); margin-bottom: 26px; }
.family-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 30px; }
.family-list li { font-size: 1.16rem; color: #fff; padding: 11px 0; display: flex; align-items: center; gap: 15px; }
.family-list i { color: var(--coral); background: rgba(242,120,75,.18); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: .95rem; }

.family-visual { display: grid; place-items: center; }
.phone {
    width: 100%; max-width: 348px; background: var(--bg-elevated); color: var(--ink); border-radius: 30px;
    padding: 26px 24px; box-shadow: var(--shadow-lg); border: 8px solid #2b211d;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.phone-top b { font-size: 1.2rem; font-weight: 900; }
.phone-top .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(91,163,122,.18); }
.prow { display: flex; justify-content: space-between; align-items: center; padding: 15px 17px; border-radius: 14px; margin-bottom: 11px; font-size: 1.06rem; font-weight: 600; }
.prow span:first-child { display: flex; align-items: center; gap: 11px; }
.prow.ok { background: #EAF7F0; color: var(--teal-deep); }
.prow.warn { background: #FDEEDD; color: #C77E1E; }
.pnote { margin-top: 14px; font-size: 1.02rem; color: var(--ink-soft); background: var(--bg-warm); padding: 14px 18px; border-radius: 14px; line-height: 1.7; }

/* 為什麼喜歡 */
.why { text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 22px; box-shadow: var(--shadow-sm); transition: var(--t); }
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-item .wic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; color: var(--coral-deep); background: var(--coral-tint); }
.why-item h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.why-item p { font-size: 1.05rem; color: var(--ink-soft); }

/* 方案 */
.pricing-wrap { background: var(--bg-warm); border-radius: var(--radius-xl); padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price {
    background: var(--bg-elevated); border: 2px solid var(--border); border-radius: var(--radius-lg);
    padding: 38px 30px; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column;
}
.price.feat { border-color: var(--coral); box-shadow: var(--shadow-lg); }
@media (min-width: 901px){ .price.feat { transform: scale(1.045); } }
.price-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-weight: 700; font-size: .92rem; padding: 7px 20px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 18px rgba(242,120,75,.35); }
.price-name { font-size: 1.42rem; font-weight: 700; margin-bottom: 12px; }
.price-amt { font-size: 2.5rem; font-weight: 900; color: var(--coral-deep); line-height: 1; }
.price-amt .tbd { color: var(--ink-faint); }
.price-unit { font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); }
.price-period { font-size: 1.02rem; color: var(--ink-soft); margin: 8px 0 22px; }
.price-feats { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; flex-grow: 1; }
.price-feats li { font-size: 1.08rem; padding: 8px 0; display: flex; align-items: center; gap: 11px; }
.price-feats i { color: var(--green); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 28px; box-shadow: var(--shadow-sm); transition: var(--t); }
.faq[open] { border-color: var(--coral-soft); box-shadow: var(--shadow); }
.faq summary { font-size: 1.2rem; font-weight: 700; padding: 20px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--coral); font-weight: 900; font-size: 1.4rem; flex-shrink: 0; transition: transform var(--t); }
.faq[open] summary::after { content: "－"; }
.faq p { font-size: 1.08rem; color: var(--ink-soft); padding: 0 0 22px; }

/* CTA */
.cta-box {
    background: linear-gradient(135deg, var(--coral), var(--rose));
    border-radius: var(--radius-xl); padding: 76px 30px; text-align: center; color: #fff;
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,.22), transparent 60%); }
.cta-box > * { position: relative; }
.cta-box h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 900; margin-bottom: 12px; text-wrap: balance; }
.cta-box p { font-size: 1.3rem; opacity: .95; margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-box .btn-primary { background: #fff; color: var(--coral-deep); box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.cta-box .btn-primary:hover { background: #fff; }
.cta-hint { margin-top: 18px; font-size: 1.06rem; opacity: .95; }
.cta-hint a { color: #fff; text-decoration: underline; font-weight: 700; }

/* Footer（深色暖棕・完整資料）*/
.footer { background: var(--bg-dark); color: var(--on-dark); padding: 60px 0 28px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 2fr; gap: 56px; padding-bottom: 36px; align-items: start; }
.footer-brand { max-width: 360px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { background: rgba(255,255,255,.12); }
.footer-tagline { font-size: 1.02rem; color: rgba(255,255,255,.7); margin-top: 14px; line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 1.06rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 1.02rem; color: rgba(255,255,255,.76); padding: 7px 0; transition: color var(--t); }
.footer-col a:hover { color: var(--coral); }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; }
.footer-legal { font-size: .95rem; color: rgba(255,255,255,.62); line-height: 1.7; }
.footer-legal strong { color: var(--coral); }
.footer-legal a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--coral); }
.footer-copyright { font-size: .87rem; color: rgba(255,255,255,.48); margin-top: 12px; }
.footer-partner { font-size: .92rem; color: rgba(255,255,255,.62); margin-top: 8px; }
.footer-partner i { color: var(--coral); margin-right: 6px; }

/* 顯現：一律可見、不靠動畫露出（避免背景分頁暫停動畫時內容消失）。
   進場改用 transform 位移，即使動畫被暫停在起始幀，內容仍可見（僅位移，不透明）。 */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
    .reveal.in { animation: riseIn .55s var(--ease); }
}
@keyframes riseIn { from { transform: translateY(20px); } to { transform: none; } }

/* ============================================
   響應式
   ============================================ */
@media (max-width: 980px) {
    .nav-links { display: none; }
    .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg-elevated); padding: 20px 24px; gap: 18px; box-shadow: var(--shadow); border-top: 1px solid var(--border); }
    .afont { display: none; }
    .nav-toggle { display: block; }
    .nav-cta { padding: 10px 16px; font-size: .96rem; }
    .link-login { padding: 8px 8px; font-size: .96rem; }
    .hero-grid, .family-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-visual { order: -1; }
    .feature-grid { grid-template-columns: 1fr; }
    .photo-cards { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
    html { font-size: calc(17px * var(--type-scale) * var(--user-type-scale)); }
    .hero { padding-top: 116px; }
    .section { padding: 64px 0; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .avatar-emoji { font-size: 6.5rem; }
    .bubble { font-size: .92rem; max-width: 180px; }
    .voice { padding: 10px 18px 10px 10px; }
    .mic { width: 64px; height: 64px; font-size: 1.5rem; }
    .cta-box { padding: 52px 22px; }
}
