/* margo. 官方網站 — 產品介紹頁 */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --line: #d2d2d7;
  --link: #1E3A8A;
  --link-dark: #93B4FF;
  --radius-tile: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang TC", "Noto Sans TC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.47; font-size: 17px; letter-spacing: -0.01em; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.wide { max-width: 1260px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

/* ---------- 導覽列 ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: 52px; background: rgba(255, 255, 255, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.nav .wide { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 22px; }
.nav__links { display: flex; gap: 24px; }
.nav__links a { color: var(--ink); font-size: 13px; opacity: 0.85; }
.nav__links a:hover { opacity: 1; text-decoration: none; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 14px; border-radius: 980px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.pill:hover { text-decoration: none; background: #000; }
.pill--lg { height: 48px; padding: 0 26px; font-size: 17px; }
.pill--light { background: #fff; color: var(--ink); }
.pill--light:hover { background: #e8e8ed; }
.pill--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pill--ghost:hover { background: rgba(0, 0, 0, 0.04); }
.more { font-size: 17px; white-space: nowrap; }
.more::after { content: " ›"; }
@media (max-width: 760px) { .nav__links { display: none; } }

/* ---------- 字級 ---------- */
.eyebrow { margin: 0; font-size: 21px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.h-hero { margin: 0; font-size: clamp(56px, 11vw, 112px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.h-xl { margin: 0; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.h-l { margin: 0; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; }
.h-m { margin: 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.lead { margin: 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.copy { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); font-weight: 600; letter-spacing: -0.005em; }
.copy strong { color: var(--ink); font-weight: 600; }
.dark .copy { color: #86868b; }
.dark .copy strong { color: #f5f5f7; }
.small { font-size: 14px; color: var(--ink-2); }
.grad { background: linear-gradient(90deg, #1d1d1f 0%, #5F5F5F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 區塊 ---------- */
section { position: relative; }
.sec { padding: clamp(96px, 12vw, 160px) 0; }
.sec--alt { background: var(--bg-alt); }
.dark { background: #000; color: #f5f5f7; }
.dark a { color: var(--link-dark); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.head { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.head.center { margin: 0 auto; align-items: center; }

/* ---------- 裝置外框（圖片皆為實際設計稿畫面） ---------- */
.iphone { position: relative; width: 100%; max-width: 340px; padding: clamp(7px, 3vw, 12px); border-radius: 15% / 7%; background: #1d1d1f; box-shadow: 0 0 0 1.5px #3a3a3c inset, 0 40px 80px -20px rgba(0, 0, 0, 0.35); }
.iphone img { width: 100%; height: auto; border-radius: 12.4% / 5.8%; background: #fff; }
.ipad { position: relative; width: 100%; padding: clamp(6px, 1.4vw, 16px); border-radius: 3.6% / 5.2%; background: #1d1d1f; box-shadow: 0 0 0 1.5px #3a3a3c inset, 0 50px 100px -30px rgba(0, 0, 0, 0.35); }
.ipad img { width: 100%; border-radius: 2.2% / 3.2%; background: #fff; }
.ipad--portrait { border-radius: 5.2% / 3.6%; }
.ipad--portrait img { border-radius: 3.2% / 2.2%; }
.mac { width: 100%; padding: 0 7%; }
.mac__screen { padding: clamp(5px, 1.2vw, 14px); border-radius: 2.2% / 3.4% ; background: #1d1d1f; box-shadow: 0 0 0 1.5px #3a3a3c inset; }
.mac__screen img { width: 100%; border-radius: 0.6%; }
.mac__base { position: relative; height: clamp(10px, 1.6vw, 20px); margin: 0 -7%; border-radius: 0 0 40% 40% / 0 0 100% 100%; background: linear-gradient(#e3e3e6, #b9b9be); }
.mac__base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 14%; height: 40%; border-radius: 0 0 12px 12px; background: #a7a7ac; }

/* ---------- 首屏 ---------- */
.hero { padding: clamp(64px, 9vw, 112px) 0 0; overflow: hidden; }
.hero__text { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hero__mark { width: clamp(84px, 10vw, 120px); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 8px; }
.hero__stage { position: relative; margin: clamp(56px, 7vw, 88px) auto 0; max-width: 1040px; padding: 0 22px; }
.hero__stage .ipad { width: 88%; margin-left: 0; }
.hero__stage .iphone { position: absolute; right: 22px; bottom: -8%; width: 27%; max-width: 300px; }
.hero__fade { height: 120px; }

/* ---------- 亮點（橫向捲動） ---------- */
.gallery { margin-top: 48px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(22px, calc((100vw - 1036px) / 2)) 24px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.tile { flex: none; width: min(78vw, 372px); scroll-snap-align: center; border-radius: var(--radius-tile); background: #fff; padding: 36px 32px 0; display: flex; flex-direction: column; gap: 28px; overflow: hidden; height: 640px; }
.tile .lead { font-size: 21px; }
.tile .lead span { color: var(--ink-2); }
.tile .iphone { margin: 0 auto; max-width: 270px; border-radius: 15% / 7%; }
.tile--dark { background: #000; color: #f5f5f7; }
.tile--dark .lead span { color: #86868b; }
.gallery__ctrl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 8px; }
.dots { display: flex; gap: 10px; padding: 0 18px; height: 44px; align-items: center; border-radius: 22px; background: rgba(210, 210, 215, 0.5); }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: #86868b; transition: width 300ms var(--ease), background 300ms; }
.dots button[aria-current="true"] { width: 40px; background: var(--ink); }
.arrow { width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(210, 210, 215, 0.5); display: flex; align-items: center; justify-content: center; }
.arrow:disabled { opacity: 0.35; cursor: default; }

/* ---------- 檢視切換 ---------- */
.views { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px 88px; margin-top: 64px; }
.views__device { flex: 0 1 320px; }
.views__panel { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; gap: 28px; }
.seg { display: inline-flex; padding: 4px; border-radius: 980px; background: #1d1d1f; align-self: flex-start; }
.seg button { height: 40px; min-width: 64px; padding: 0 18px; border: 0; border-radius: 980px; background: transparent; color: #a1a1a6; font-size: 15px; font-weight: 600; transition: background 250ms, color 250ms; }
.seg button[aria-pressed="true"] { background: #f5f5f7; color: #1d1d1f; }
.views__desc { min-height: 168px; }
.swap { transition: opacity 280ms var(--ease); }
.swap.is-out { opacity: 0; }

/* ---------- 左右圖文 ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 96px; }
.split > .split__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 22px; }
.split > .split__media { flex: 0 1 340px; margin: 0 auto; }
.split--rev { flex-direction: row-reverse; }
.points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.points li { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; border-top: 1px solid var(--line); }
.points b { font-size: 19px; }
.points span { color: var(--ink-2); font-size: 17px; }

/* ---------- 主題挑色 ---------- */
.themes { display: flex; flex-direction: column; align-items: center; gap: 36px; margin-top: 64px; }
.themes .iphone { max-width: 320px; }
.swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.swatches button { width: 32px; height: 32px; border-radius: 16px; border: 0; padding: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); position: relative; }
.swatches button[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }
.themes__name { font-size: 17px; font-weight: 600; min-height: 1.5em; }
.themes__name span { color: var(--ink-2); font-weight: 500; }

/* ---------- 大螢幕 ---------- */
.big { display: flex; flex-direction: column; gap: clamp(64px, 9vw, 120px); margin-top: 72px; }
.big__item { display: flex; flex-direction: column; gap: 32px; }
.big__cap { max-width: 640px; margin: 0 auto; text-align: center; }

/* ---------- Pro 磚牆 ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.bento > div { border-radius: var(--radius-tile); background: #fff; padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; overflow: hidden; }
.bento .span2 { grid-column: span 2; }
.bento .tall { grid-row: span 2; }
.bento .full { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 40px; min-height: 0; }
.bento .full .stack { flex: 1 1 320px; gap: 8px; }
.bento .big-num { font-size: clamp(56px, 7vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.bento .bento__img { margin-top: auto; }
.bento .bento__img .iphone { max-width: 250px; margin: 0 auto -32%; }
.bento .icon { width: 44px; height: 44px; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento .span2 { grid-column: auto; } .bento .tall { grid-row: auto; } .bento .full { grid-column: auto; } }

/* ---------- 同步 ---------- */
.devices { display: flex; flex-wrap: nowrap; gap: 64px; margin-top: 56px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.devices::-webkit-scrollbar { display: none; }
.devices > div { flex: none; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; white-space: nowrap; }
.devices > div:first-child { margin-left: auto; }
.devices > div:last-child { margin-right: auto; }
.devices.is-marquee { max-width: none; padding-left: 0; padding-right: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.devices.is-marquee > div { margin: 0; }
@media (max-width: 620px) { .devices { gap: 44px; } }
.devices svg { width: 56px; height: 56px; }

/* ---------- 方案 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.plan { border-radius: var(--radius-tile); background: #fff; padding: 40px 32px 36px; display: flex; flex-direction: column; gap: 24px; }
.plan--hi { background: #1d1d1f; color: #f5f5f7; }
.plan__top { display: flex; flex-direction: column; gap: 6px; min-height: 96px; }
.plan__badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #f5f5f7; color: #1d1d1f; }
.plan h3 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.plan__sub { margin: 0; font-size: 15px; color: var(--ink-2); }
.plan--hi .plan__sub, .plan--hi .plan__note, .plan--hi li span { color: #a1a1a6; }
.plan__price { margin: 0; font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.plan__price small { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.plan--hi .plan__price small { color: #a1a1a6; }
.plan__note { margin: -12px 0 0; min-height: 1.5em; font-size: 14px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.plan--hi ul { border-color: #424245; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.plan__cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: center; }
.plan__cta .pill { height: 48px; font-size: 17px; }
.plan__fine { margin: 0; min-height: 1.4em; font-size: 12px; color: var(--ink-2); }
.plan--hi .plan__fine { color: #a1a1a6; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-left: auto; margin-right: auto; } .plan__top { min-height: 0; } }

/* ---------- 常見問題 ---------- */
.faq { max-width: 820px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; transition: transform 300ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { margin: 0 0 28px; font-size: 17px; color: var(--ink-2); max-width: 680px; }

/* ---------- 結尾 ---------- */
.final { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.final svg { width: 140px; height: 88px; }

/* ---------- 頁尾 ---------- */
.foot { background: var(--bg-alt); color: var(--ink-2); font-size: 12px; line-height: 1.6; }
.foot .wrap { padding-top: 28px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 20px; }
.foot__notes { margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; list-style: none; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.foot__cols div { display: flex; flex-direction: column; gap: 8px; min-width: 120px; }
.foot__cols h2 { margin: 0 0 2px; font-size: 12px; font-weight: 600; color: var(--ink); }
.foot a { color: #424245; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 0; }
.foot__legal a { padding: 0 10px; border-left: 1px solid var(--line); }
.foot__legal a:first-child { padding-left: 0; border-left: 0; }

/* ---------- 條款頁 ---------- */
.doc { padding: clamp(56px, 8vw, 96px) 0 120px; }
.doc__head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.doc__meta { margin: 0; font-size: 14px; color: var(--ink-2); }
.doc__body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 72px; padding-top: 48px; }
.toc { flex: 1 1 220px; max-width: 260px; position: sticky; top: 80px; display: flex; flex-direction: column; gap: 4px; }
.toc h2 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 5px 0; font-size: 14px; color: var(--ink-2); }
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc__other { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.article { flex: 999 1 560px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 56px; }
.article section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 80px; }
.article h2 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.article p, .article li { font-size: 17px; line-height: 1.75; color: #333336; }
.article p { margin: 0; }
.article ul { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.table { overflow-x: auto; border-radius: 18px; background: var(--bg-alt); }
.table table { width: 100%; min-width: 560px; border-collapse: collapse; }
.table th { text-align: left; padding: 14px 18px; font-size: 13px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 18px; font-size: 15px; line-height: 1.65; vertical-align: top; border-bottom: 1px solid #e5e5ea; }
.table td:first-child { white-space: nowrap; font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.ask { padding: 28px; border-radius: 22px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 6px; }
.ask h2 { font-size: 21px; }
@media (max-width: 760px) { .toc { position: static; max-width: none; } }

/* ---------- 進場動畫 ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .swap, .dots button { transition: none; }
}

/* ---------- 語言切換 ---------- */
.lang { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 980px; color: var(--ink); font-size: 13px; opacity: 0.85; white-space: nowrap; }
.lang:hover { opacity: 1; text-decoration: none; background: rgba(0, 0, 0, 0.05); }
.lang svg { width: 16px; height: 16px; flex: none; }
.foot__lang { display: flex; align-items: center; gap: 0; padding-top: 4px; }
.foot__lang svg { width: 14px; height: 14px; margin-right: 8px; flex: none; }
.foot__lang a { padding: 0 10px; border-left: 1px solid var(--line); }
.foot__lang a:first-of-type { padding-left: 0; border-left: 0; }
.foot__lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) { .nav .wide { gap: 10px; } }

/* Added by tools/site-import.mjs: the footer lists all nine languages. */
.foot__lang { flex-wrap: wrap; row-gap: 6px; }
/* What margo. is, under the hero tagline (Google brand verification). */
.hero__about { max-width: 620px; margin: 0 auto; padding: 0 20px; font-size: 19px; line-height: 1.5; color: #6e6e73; }

/* Header language menu */
.lang__chev { width: 12px !important; height: 12px !important; margin-left: -2px; opacity: 0.7; transition: transform 160ms ease; }
.lang[aria-expanded="true"] { opacity: 1; background: rgba(0, 0, 0, 0.05); }
.lang[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.langmenu { position: absolute; top: 46px; z-index: 60; min-width: 184px; padding: 6px; display: flex; flex-direction: column; gap: 1px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0; transform: translateY(-4px) scale(0.98); transform-origin: top right; transition: opacity 160ms ease, transform 160ms ease; }
.langmenu.is-open { opacity: 1; transform: none; }
.langmenu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; padding: 0 10px 0 12px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.langmenu a:hover, .langmenu a:focus-visible { background: rgba(0, 0, 0, 0.05); text-decoration: none; outline: none; }
.langmenu a svg { width: 14px; height: 14px; visibility: hidden; }
.langmenu a[aria-current] { font-weight: 600; }
.langmenu a[aria-current] svg { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .langmenu, .lang__chev { transition: none; } }

/* 在 Claude、ChatGPT 使用：範例 */
.ai-ex { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ai-ex li { align-self: flex-start; max-width: 100%; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--soft, #F2F2F2); font-weight: 500; }

@media (max-width: 420px) { .nav .lang > span { display: none; } }

/* 在 Claude、ChatGPT 使用：用網址連結 */
.step-hint { display: block; margin-top: 2px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.url-box { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 16px; background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--line); }
.url-box__text { flex: 1 1 auto; min-width: 0; font: 600 16px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.url-box__btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 96px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; transition: background 0.2s var(--ease); }
.url-box__btn svg { width: 17px; height: 17px; }
.url-box__btn:hover { background: #3a3a3c; }
.url-box__btn.is-done { background: #1E7A45; }
.dark .url-box { background: #1c1c1e; box-shadow: inset 0 0 0 1px #3a3a3c; }
.dark .url-box__text { color: #f5f5f7; }
.dark .url-box__btn { background: #f5f5f7; color: #1d1d1f; }
.dark .url-box__btn.is-done { background: #34C759; color: #000; }
@media (max-width: 480px) { .url-box { flex-direction: column; align-items: stretch; padding: 14px; gap: 12px; } .url-box__text { font-size: 15px; } .url-box__btn { width: 100%; min-height: 48px; } }
/* 首頁：請 AI 幫你整理事項 */
.ai-demo { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 64px; }
.ai-demo__chat { margin: 0; flex: 0 1 340px; }
.dark .ai-demo__chat li { background: #2c2c2e; color: #f5f5f7; font-size: 19px; line-height: 1.45; padding: 16px 20px; border-radius: 22px 22px 22px 8px; }
.ai-demo__arrow { flex: none; width: 32px; height: 32px; color: #6e6e73; }
.ai-demo__day { flex: 0 1 360px; padding: 26px 24px 18px; border-radius: 28px; background: #fff; color: #1d1d1f; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.ai-demo__date { margin: 0 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: #1E3A8A; }
.ai-demo__row { display: flex; align-items: center; gap: 10px; min-height: 50px; border-bottom: 1px solid #e5e5ea; font-size: 17px; }
.ai-demo__row:last-child { border-bottom: 0; }
.ai-demo__row i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #d2d2d7; }
.ai-demo__row b { font-weight: 600; }
.ai-demo__time { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 600; color: #6e6e73; }
.ai-demo__time svg { width: 13px; height: 13px; }
.ai-demo__bar { height: 10px; border-radius: 5px; background: #ececf0; }
.ai-demo__row.is-new { margin: 0 -12px; padding: 0 12px; border-radius: 14px; border-bottom-color: transparent; background: #EEF3FF; animation: ai-new 2.4s var(--ease) 0.6s both; }
@keyframes ai-new { 0% { background: #DCE6FF; transform: scale(0.97); opacity: 0; } 25% { opacity: 1; transform: none; } 100% { background: #EEF3FF; } }
@media (max-width: 760px) { .ai-demo { flex-direction: column; gap: 18px; margin-top: 48px; } .ai-demo__chat, .ai-demo__day { flex: none; width: 100%; max-width: 380px; } .ai-demo__arrow { transform: rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .ai-demo__row.is-new { animation: none; } }

/* Added by tools/site-import.mjs (fixes). The hero phone's bezel follows its size (about 4% of its width, as on a wide
   screen): on a phone it is ~120 px wide and the usual 12 px bezel swallowed the screen. */
.hero__stage .iphone { padding: clamp(4px, 1.1vw, 12px); }
/* Closed, the language menu must take no taps: its display: flex would otherwise beat
   [hidden] and leave invisible language links over the page (taps on the FAQ switched language). */
.langmenu[hidden] { display: none; }
.langmenu:not(.is-open) { pointer-events: none; }
