/* KADO 官網：白底、黑字、一個強調色；系統字型（Apple 裝置用 PingFang TC／SF，其他用 Noto Sans TC 或系統字），不下載網路字型 */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #d2d2d7;
  --accent: #0066cc;
  --accent-ink: #ffffff;
  --card: #ffffff;
  --shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 12px 40px rgb(0 0 0 / 8%);
  --radius: 22px;
  --wrap: 1080px;
  --gutter: clamp(16px, 5vw, 40px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg-soft: #161617; --ink: #f5f5f7; --ink-2: #a1a1a6; --line: #424245;
    --accent: #2997ff; --btn: #0071e3; --card: #1d1d1f; --shadow: 0 0 0 1px #2c2c2e;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --bg-soft: #161617; --ink: #f5f5f7; --ink-2: #a1a1a6; --line: #424245;
  --accent: #2997ff; --btn: #0071e3; --card: #1d1d1f; --shadow: 0 0 0 1px #2c2c2e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); line-height: 1.6; font-size: 17px; letter-spacing: .01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; font-weight: 700; line-height: 1.15; }
p { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 12px; z-index: 10; background: var(--bg); padding: 8px 12px; }

/* 導覽 */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 52px; }
.nav .logo { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.nav .logo img { width: 22px; height: 22px; }
.nav .links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; }
.nav .links a { color: var(--ink); opacity: .85; }
.nav .links a[aria-current="page"] { opacity: 1; font-weight: 600; }
@media (max-width: 640px) { .nav .links a:not(.keep) { display: none; } }

/* 共用 */
.eyebrow { color: var(--ink-2); font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section.soft { background: var(--bg-soft); }
.headline { font-size: clamp(32px, 5.4vw, 56px); }
.sub { color: var(--ink-2); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; margin-top: 16px; max-width: 40em; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 28px; }
.center .actions { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 980px; background: var(--btn, var(--accent)); color: var(--accent-ink); font-size: 17px; font-weight: 500; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.more { font-size: 17px; }
.more::after { content: " ›"; }

/* 首頁 Hero */
.hero { padding: clamp(56px, 9vw, 112px) 0 0; text-align: center; }
.hero h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1.04; }
.hero .sub { margin-inline: auto; }

/* 產品磚 */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: clamp(48px, 7vw, 80px); }
.tile { background: var(--bg-soft); border-radius: var(--radius); padding: 40px 32px 0; display: flex; flex-direction: column; overflow: hidden; color: var(--ink); min-height: 520px; }
.tile:hover { text-decoration: none; }
.tile h2 { font-size: 28px; }
.tile .tag { color: var(--ink-2); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.tile p { color: var(--ink-2); margin-top: 10px; font-size: 17px; }
.tile .more { color: var(--accent); margin-top: 14px; display: inline-block; }
.tile .art { margin-top: auto; padding-top: 28px; display: flex; justify-content: center; }
.tile .art img { width: 62%; max-width: 230px; border-radius: 28px 28px 0 0; box-shadow: var(--shadow); }

/* 房卡（純 CSS 畫出來的立卡，不是照片） */
.roomcard { width: 210px; aspect-ratio: 5 / 7; border-radius: 16px; background: linear-gradient(160deg, #fbfaf7, #efebe3); box-shadow: 0 2px 4px rgb(0 0 0 / 6%), 0 24px 48px rgb(0 0 0 / 14%); color: #2b2a27; padding: 22px 20px; display: flex; flex-direction: column; text-align: left; }
.roomcard .rc-hotel { font-size: 11px; letter-spacing: .24em; color: #6d675d; }
.roomcard .rc-room { font-size: 40px; font-weight: 700; margin-top: 10px; letter-spacing: .02em; }
.roomcard .rc-room small { font-size: 14px; font-weight: 500; margin-left: 4px; color: #6d675d; }
.roomcard .rc-line { margin-top: 8px; font-size: 13px; line-height: 1.5; color: #4a463f; }
.roomcard .rc-tap { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #6d675d; }
.roomcard .rc-ring { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #b9b1a3; display: grid; place-items: center; }
.roomcard .rc-ring::after { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #b9b1a3; }
.roomcard .rc-qr { width: 44px; height: 44px; margin-left: auto; background: repeating-conic-gradient(#2b2a27 0 25%, transparent 0 50%) 0 0 / 8px 8px; border-radius: 4px; opacity: .85; }

/* 手機 */
.phone { width: 260px; border-radius: 40px; padding: 10px; background: #1d1d1f; box-shadow: var(--shadow); }
.phone img { border-radius: 31px; width: 100%; }
.duo { display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 4vw, 48px); margin-top: clamp(48px, 7vw, 72px); flex-wrap: wrap; }

/* 功能列 */
.features { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 48px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.section.soft .feature { box-shadow: none; }
.feature h3 { font-size: 22px; }
.feature p { color: var(--ink-2); margin-top: 10px; }
.feature .k { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 8px; display: block; }

/* 大段落：左文右圖 */
.split { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr .9fr; } .split.rev > :first-child { order: 2; } }
.split .art { display: flex; justify-content: center; }
.list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.list li { padding-left: 28px; position: relative; color: var(--ink-2); }
.list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.list li b { color: var(--ink); font-weight: 600; }

/* 語言 */
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.langs span { border: 1px solid var(--line); border-radius: 980px; padding: 8px 18px; font-size: 17px; }

/* 步驟 */
.steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 48px; counter-reset: s; }
.steps li { list-style: none; background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.section.soft .steps li { box-shadow: none; }
.steps li::before { counter-increment: s; content: counter(s); display: block; font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }
.steps { padding: 0; }

/* 價格 */
.prices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 48px; }
.price { background: var(--card); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.price h3 { font-size: 21px; }
.price .amt { font-size: 44px; font-weight: 700; margin-top: 12px; letter-spacing: -.01em; }
.price .amt small { font-size: 17px; font-weight: 500; color: var(--ink-2); margin-left: 6px; }
.price ul { margin: 20px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 8px; }
.tiers { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 16px; }
.tiers th, .tiers td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tiers td:last-child, .tiers th:last-child { text-align: right; }
.tiers th { color: var(--ink-2); font-weight: 500; }
.fine { color: var(--ink-2); font-size: 14px; margin-top: 20px; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 32px 22px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--ink-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding: 0 0 24px; max-width: 46em; }

/* 聯絡 */
.contact .ways { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 28px; font-size: 19px; }

/* 頁尾 */
.foot { background: var(--bg-soft); color: var(--ink-2); font-size: 12px; padding: 28px 0 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.foot a { color: var(--ink-2); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.actions.centered { justify-content: center; }
.wifi-card { max-width: 340px; text-align: left; }
.wifi-pass { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; color: var(--ink) !important; margin-top: 14px; }
.prices.left { text-align: left; }
/* 三張產品磚：手機畫面統一比例，只露出上半部，高度一致 */
.tile { min-height: 0; }
.tile .art { height: 300px; overflow: hidden; align-items: flex-start; }
.tile .art img { aspect-ratio: 600 / 1152; object-fit: cover; object-position: top; }
