/* 藏錶 Dialtrail 官網：錶盒內襯（亞麻底、皮革、縫線、秒針紅）。淺色與深色各一組。 */
:root {
  --bg: #F3EEE7; --sheet: #FBF8F4; --ink: #231A14; --quiet: #6E6158;
  --leather: #4A3426; --on-leather: #F6EFE6; --stitch: #D8C6AE; --hand: #B0412E; --on-hand: #fff;
  --chip: #EFE7DC; --weave: rgba(74, 52, 38, .045); --bezel: #1B1512;
  --serif: "Source Serif 4", "Noto Serif TC", "Noto Serif SC", "Noto Serif JP", "Noto Serif KR", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Hiragino Sans", "Noto Sans", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17120F; --sheet: #221B16; --ink: #EDE5DB; --quiet: #B3A699;
    --leather: #2E2018; --on-leather: #EDE5DB; --stitch: #5C4A3B; --hand: #E2735C; --on-hand: #17120F;
    --chip: #2D241E; --weave: rgba(255, 255, 255, .028); --bezel: #000;
  }
}
.lang-zh-Hant { --serif: "Source Serif 4", "Noto Serif TC", serif; }
.lang-zh-Hans { --serif: "Source Serif 4", "Noto Serif SC", serif; }
.lang-ja { --serif: "Source Serif 4", "Noto Serif JP", serif; }
.lang-ko { --serif: "Source Serif 4", "Noto Serif KR", serif; }

@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink); font: 1.0625rem/1.75 var(--sans);
  background: var(--bg);
  background-image: repeating-linear-gradient(0deg, var(--weave) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, var(--weave) 0 1px, transparent 1px 3px);
  -webkit-text-size-adjust: 100%; overflow-wrap: anywhere;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; text-wrap: balance; margin: 0 0 .6em; }
p, li { text-wrap: pretty; }
a { color: var(--hand); text-underline-offset: .2em; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(70rem, 100% - 2rem); margin-inline: auto; }
.kicker { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); font-weight: 600; margin: 0 0 .8em; }
.lang-zh-Hant .kicker, .lang-zh-Hans .kicker, .lang-ja .kicker, .lang-ko .kicker { letter-spacing: .04em; }

/* 頁首：一條皮革帶，下緣縫線 */
.top { background: var(--leather); color: var(--on-leather); position: relative; }
.top::after { content: ""; position: absolute; inset: auto 0 5px; border-bottom: 1.5px dashed var(--stitch); opacity: .7; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.125rem; }
.brand img { border-radius: 22%; }
.top nav { display: flex; gap: 1.1rem; font-size: .9375rem; }
.top nav a { color: var(--on-leather); text-decoration: none; opacity: .85; }
.top nav a:hover, .top nav a[aria-current] { opacity: 1; text-decoration: underline; }

/* 截圖：深色圓角外框 */
.shot { margin: 0; }
.bezel { background: var(--bezel); padding: .5rem; border-radius: 2.6rem; box-shadow: 0 1.25rem 2.5rem -1rem rgba(60, 40, 25, .45); }
.bezel img { border-radius: 2.1rem; width: 100%; }
.shot figcaption { font-size: .875rem; color: var(--quiet); margin-top: .9rem; line-height: 1.6; }

/* 開頭 */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; padding: 3.5rem 0 4rem; }
.hero h1 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); }
.lead { font-size: 1.125rem; color: var(--quiet); max-width: 36rem; }
.hero .shot { max-width: 21rem; justify-self: center; }
.points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9375rem; }
.points li::before { content: "✓"; color: var(--hand); font-weight: 700; margin-right: .4em; }
.stage { display: inline-flex; align-items: center; gap: .55rem; margin: 1.2rem 0 0; padding: .55rem 1rem; border: 1.5px dashed var(--stitch); border-radius: .5rem; background: var(--sheet); font-weight: 600; font-size: .9375rem; }
.stage .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--hand); }
.get { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.2rem; padding: .8rem 1.3rem; border-radius: .6rem; background: var(--hand); color: var(--on-hand); text-decoration: none; font-weight: 600; }

/* 功能段落 */
.feat { padding: 4rem 0; border-top: 1px solid var(--stitch); }
.feat .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feat.flip .copy { order: 2; }
.feat.solo .wrap { grid-template-columns: minmax(0, 46rem); }
.feat h2, .memory h2, .screens h2, .watch h2, .own h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); }
.ticks { padding: 0; list-style: none; margin: 1.2rem 0 0; }
.ticks li { position: relative; padding: .7rem 0 .7rem 1.5rem; border-top: 1px dashed var(--stitch); }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: 1.3rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--hand); }
.shots { display: grid; gap: 1.5rem; justify-items: center; }
.shots.n1 .shot { max-width: 20rem; }
.shots.n2 { grid-template-columns: 1fr 1fr; align-items: start; }
.shots.n2 .shot:nth-child(2) { margin-top: 3rem; }

/* 錶背：拋光背蓋般的資料卡 */
.memory { padding: 4rem 0; background: var(--leather); color: var(--on-leather); position: relative; }
.memory::before, .memory::after { content: ""; position: absolute; inset: 7px 0 auto; border-top: 1.5px dashed var(--stitch); opacity: .7; }
.memory::after { inset: auto 0 7px; }
.memory .kicker { color: var(--stitch); }
.memory .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.caseback { margin: 0; background: var(--sheet); color: var(--ink); border: 1px solid var(--stitch); border-radius: 1.75rem; padding: .6rem 1.6rem; }
.caseback div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--stitch); }
.caseback div:first-child { border-top: 0; }
.caseback dt { font-family: var(--serif); font-weight: 700; }
.caseback dd { margin: 0; color: var(--quiet); font-size: .96875rem; }

/* 其他畫面 */
.screens { padding: 4rem 0; }
.screen-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; margin-top: 1.5rem; }
.screen .shot { max-width: 17rem; margin: 0 auto 1.4rem; }
.screen h3 { font-size: 1.25rem; }
.screen p { color: var(--quiet); margin: 0; }

/* Apple Watch */
.watch { padding: 4rem 0; border-top: 1px solid var(--stitch); }
.watch .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.aw-card { background: var(--sheet); border: 1.5px dashed var(--stitch); border-radius: 1rem; padding: 1.6rem 1.8rem; }
.steps { margin: 0; padding-left: 1.4rem; }
.steps li { padding: .35rem 0; }
.steps li::marker { color: var(--hand); font-weight: 700; font-family: var(--serif); }
.aw-note { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--stitch); font-weight: 600; }
.paid { margin: .5rem 0 0; font-size: .875rem; color: var(--quiet); }

/* 資料在手機＋基本資料 */
.own { padding: 4rem 0; background: var(--chip); }
.own .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.facts h3 { font-size: 1.125rem; }
.facts dl { margin: 0; }
.facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--stitch); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--quiet); }

/* 結尾 */
.end { background: var(--leather); color: var(--on-leather); text-align: center; padding: 4rem 0; }
.end img { margin: 0 auto 1.2rem; border-radius: 22%; }
.end h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); }
.end p { max-width: 34rem; margin-inline: auto; opacity: .9; }
.stage.on-leather { background: transparent; color: var(--on-leather); }
.end-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin-top: 1.4rem; }
.end-links a { color: var(--on-leather); }

/* 說明頁、隱私頁 */
.doc { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; padding: 3rem 0 4rem; }
.toc { position: sticky; top: 1rem; align-self: start; font-size: .875rem; }
.toc-h { font-family: var(--serif); font-weight: 700; margin: 0 0 .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { padding: .2rem 0; }
.toc a { color: var(--quiet); text-decoration: none; }
.toc a:hover { color: var(--hand); }
.doc article { max-width: 44rem; }
.doc h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.doc .intro { font-size: 1.125rem; color: var(--quiet); }
.doc .date { color: var(--quiet); font-size: .875rem; }
.doc section { padding: 1.4rem 0; border-top: 1px dashed var(--stitch); scroll-margin-top: 1rem; }
.doc section h2 { font-size: 1.25rem; }
.nf { grid-template-columns: 1fr; }
.nf-links { columns: 2; }

/* 頁尾 */
.foot { border-top: 1px solid var(--stitch); padding: 2.5rem 0 3rem; font-size: .875rem; color: var(--quiet); }
.foot-main { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; }
.foot-main .brand { color: var(--ink); margin-right: auto; }
.foot a { color: var(--quiet); }
.foot-langs { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.4rem; }
.foot-langs a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
.copy { margin: 1.4rem 0 0; }

@media (max-width: 52rem) {
  .hero, .feat .wrap, .memory .wrap, .watch .wrap, .own .wrap, .doc { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; gap: 2rem; }
  .feat.flip .copy { order: 0; }
  .doc { gap: 1rem; }
  .toc { position: static; }
  .screen-row { grid-template-columns: 1fr; }
}
@media (max-width: 30rem) {
  .shots.n2 { gap: .9rem; }
  .shots.n2 .shot:nth-child(2) { margin-top: 1.5rem; }
  .bezel { padding: .3rem; border-radius: 1.6rem; }
  .bezel img { border-radius: 1.35rem; }
  .caseback { padding: .4rem 1.1rem; }
  .caseback div, .facts div { grid-template-columns: 1fr; gap: .2rem; }
  .top nav { gap: .8rem; font-size: .875rem; }
  .nf-links { columns: 1; }
}
