/* 首頁（2026-10-30 重做）專用：字標、MemorGi 窗的 HTML 示範、配色主題區。共用的 token 在 site.css */

.wordmark { font-family: ui-rounded, 'SF Pro Rounded', system-ui, sans-serif; font-weight: 700; letter-spacing: -.01em; }
.wordmark b { color: var(--gold); font-weight: 700; }

.hero2 { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero2::before {
    content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; pointer-events: none;
    background: radial-gradient(closest-side, rgba(212, 175, 106, .16), transparent 70%);
}
.hero2-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
.hero2 h1 { font-family: var(--display); font-size: clamp(38px, 5.4vw, 66px); line-height: 1.12; margin: 14px 0 20px; text-wrap: balance; }
.hero2 .lead { color: var(--ink-2); font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.85; max-width: 32em; }
.hero2 .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.chips li { font-family: var(--mono); font-size: 12px; color: var(--ink-3); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 11px; }
.eyebrow2 { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--gold-deep); }

/* ---------- MemorGi 窗（HTML 畫的，配色吃 --w-*） ---------- */
.mgwin {
    --w-bg: #18181a; --w-surface: #3a3a3c; --w-accent: #d9a852;
    position: relative; border-radius: 22px; padding: 14px 14px 16px 64px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--w-bg) 88%, #fff 12%), var(--w-bg));
    border: 1px solid color-mix(in srgb, var(--w-accent) 18%, transparent);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
    transition: background .5s var(--ease), border-color .5s var(--ease);
    color: #f4efe6;
}
.mgwin[data-scheme="light"] { color: #1d1d1f; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .6); }
.mgwin .rail {
    position: absolute; left: 12px; top: 14px; bottom: 16px; width: 40px; border-radius: 14px;
    background: var(--w-surface); display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 10px;
    transition: background .5s var(--ease);
}
.mgwin .rail i { width: 22px; height: 22px; border-radius: 7px; background: color-mix(in srgb, currentColor 14%, transparent); }
.mgwin .rail i.on { background: color-mix(in srgb, var(--w-accent) 30%, var(--w-surface)); outline: 1.5px solid var(--w-accent); }
.mgwin .bar {
    height: 30px; border-radius: 10px; background: var(--w-surface); margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px; padding: 0 12px; font-family: var(--mono); font-size: 11.5px; opacity: .92;
    transition: background .5s var(--ease);
}
.mgwin .bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--w-accent); }
.mgwin .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mgwin .grid figure {
    margin: 0; border-radius: 10px; overflow: hidden; background: var(--w-surface); aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transition: background .5s var(--ease), box-shadow .3s;
}
.mgwin .grid figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mgwin .grid figure.sel { box-shadow: 0 0 0 2px var(--w-accent), 0 6px 20px -6px var(--w-accent); }
.mgwin .peek { position: absolute; left: 40px; top: -46px; width: 92px; pointer-events: none; }

/* ---------- 配色主題區 ---------- */
.themes { padding: clamp(64px, 9vw, 120px) 0; background: var(--paper-warm); border-block: 1px solid var(--rule); }
.themes-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.themes h2 { font-family: var(--display); font-size: clamp(30px, 3.8vw, 46px); line-height: 1.2; margin: 12px 0 16px; }
.themes p { color: var(--ink-2); line-height: 1.85; }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 18px; }
.swatches button {
    width: 34px; height: 34px; border-radius: 50%; cursor: pointer; padding: 0;
    border: 1.5px solid var(--rule);
    background: conic-gradient(var(--b) 0 33%, var(--a) 0 66%, var(--c) 0);
    transition: transform .2s var(--ease), border-color .2s;
}
.swatches button:hover { transform: translateY(-2px); }
.swatches button[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 106, .28); }
.scheme { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; gap: 2px; }
.scheme button { border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 14px; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.scheme button[aria-pressed="true"] { background: var(--gold); color: #141414; }
.theme-name { font-family: var(--mono); font-size: 13px; color: var(--gold-deep); margin-left: 12px; }

/* ---------- 1.0 的細節 ---------- */
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 34px; }
.details .card h3 { font-size: 18px; margin: 10px 0 8px; }
.details .card p { color: var(--ink-2); font-size: 15px; line-height: 1.75; margin: 0; }
.details .card .ico { font-size: 22px; }

/* ---------- 卡片牆 ---------- */
.kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.kinds figure { margin: 0; }
.kinds img { width: 100%; height: auto; border-radius: 12px; display: block; box-shadow: var(--shadow-rest); }
.kinds figcaption { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.kinds figcaption b { color: var(--ink); }

@media (max-width: 900px) {
    .hero2-in, .themes-in { grid-template-columns: 1fr; }
    .kinds { grid-template-columns: repeat(2, 1fr); }
    .mgwin { padding-left: 58px; }
}
@media (prefers-reduced-motion: reduce) {
    .mgwin, .mgwin *, .swatches button { transition: none !important; }
}

/* ---------- 區塊骨架（首頁重做時新開的幾個名字） ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec h2, .dogband h2 { font-family: var(--display); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.22; margin: 12px 0 14px; text-wrap: balance; }
.sec .eyebrow { display: inline-block; }
.sub { color: var(--ink-2); font-size: 17px; line-height: 1.85; max-width: 38em; text-wrap: pretty; margin-bottom: 28px; }
.band { background: var(--paper-warm); border-block: 1px solid var(--rule); }
.stats { border-block: 1px solid var(--rule); background: var(--paper-deep); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 26px 0; }
.stat-row div { text-align: center; }
.stat-row dt { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); color: var(--gold-deep); }
.stat-row dd { margin: 4px 0 0; color: var(--ink-3); font-size: 14px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.final h2 { font-size: clamp(30px, 4vw, 50px); }
.dogband { padding: clamp(64px, 9vw, 112px) 0; text-align: center; background: var(--paper-warm); border-top: 1px solid var(--rule); }
.dogband p { color: var(--ink-2); }
@media (max-width: 700px) { .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } }

/* 主題區下面那排實機截圖 */
.theme-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.theme-shots img { width: 100%; height: auto; border-radius: 12px; display: block; box-shadow: var(--shadow-rest); }
@media (max-width: 700px) { .theme-shots { grid-template-columns: repeat(2, 1fr); } }
