@font-face { font-family: "Ridgeline Sans"; src: url("/themes/contour-01/assets/fonts/ridgeline-sans.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/themes/contour-01/assets/fonts/inter.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Apex Sans"; src: url("/themes/motorsport/apex-01/assets/fonts/apex-sans.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Rotor Mono"; src: url("/themes/cipher/rotor-01/assets/fonts/rotor-mono.ttf") format("truetype"); font-weight: 600; font-display: swap; }
:root {
  /* Graphite with one signal accent (the logo's long tick): neutral so each face's own palette carries the colour. */
  --bg: #111315; --panel: #16191b; --panel-2: #1c1f22; --well: #0d0f10; --rule: #282c30; --rule-2: #3a4045;
  --text: #e9ebec; --dim: #a2a9af; --faint: #7d868d; --accent: #ff6b3d; --accent-hi: #ff8a63; --accent-2: #e5552a; --accent-ink: #1a0b05;
  --accent-soft: #ff6b3d1f; --accent-line: #6b3424;
  --display: "Ridgeline Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --radius: 18px; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
body { background: radial-gradient(1100px 620px at 74% -10%, #1b1f23 0, transparent 62%), radial-gradient(900px 500px at -10% 40%, #121518 0, transparent 60%), var(--bg); min-height: 100vh; -webkit-font-smoothing: antialiased; }
:lang(ko) { word-break: keep-all; }
:lang(ko) .eyebrow { text-transform: none; }
:lang(ko) .label, :lang(ko) .eyebrow, :lang(ko) .live { letter-spacing: .02em; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
#app { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 0 0 40px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; margin: 0 -16px; padding-inline: 16px; background: linear-gradient(var(--bg) 55%, #11131500); backdrop-filter: blur(6px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 25px/1 var(--display); letter-spacing: -.005em; text-transform: lowercase; text-decoration: none; white-space: nowrap; color: var(--text); }
.mark { flex: none; display: block; }
.brand:hover .mark .sig { stroke: var(--accent-hi); }
.top nav { display: flex; gap: 4px; align-items: center; }
.top nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; color: var(--dim); text-decoration: none; white-space: nowrap; }
.top nav a:hover { color: var(--text); background: var(--panel); }
.top nav a.on { color: var(--text); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--rule-2); }
.top nav .lang { border: 1px solid var(--rule-2); margin-left: 8px; color: var(--text); }

/* hero */
/* landing and face detail share one split hero: copy left, a live watch that opens the try page right */
.hero.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 480px); gap: 64px; align-items: center; padding: 48px 0 80px; }
.hero.landing { padding: 56px 0 64px; }
.hero.landing h1 + .ctas { margin-top: 36px; }
.showcase { display: grid; justify-items: center; gap: 18px; min-width: 0; }
.showcase-name { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 6px 8px; color: var(--dim); font-size: 13.5px; text-decoration: none; }
.showcase-name strong { font: 600 20px/1 var(--display); letter-spacing: .03em; color: var(--text); }
.showcase-name:hover strong { color: var(--accent); }
.picker { display: flex; gap: 8px; padding: 5px; border: 1px solid var(--rule); border-radius: 999px; background: var(--well); }
.pick { display: grid; padding: 0; border: 0; background: transparent; border-radius: 50%; }
.pick img { width: 44px; height: 44px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1px #ffffff14; opacity: .6; transition: opacity .15s ease, box-shadow .15s ease, transform .15s ease; }
.pick:hover img { opacity: 1; transform: scale(1.06); }
.pick.on img { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.pick:focus-visible { border-radius: 50%; }
.hero-copy { min-width: 0; }
.watch-col { display: grid; justify-items: center; gap: 16px; text-decoration: none; }
.watch-col .bezel { transition: transform .25s ease; }
.watch-col:hover .bezel { transform: scale(1.015); }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow .badge { margin-left: 12px; vertical-align: 1px; text-transform: none; letter-spacing: .04em; }
.eyebrow a { color: var(--dim); text-decoration: none; }
.eyebrow a:hover { color: var(--text); }
.eyebrow .sep { margin: 0 10px; color: var(--faint); }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: .96; letter-spacing: -.005em; max-width: 14ch; text-wrap: balance; }
:lang(ko) .hero h1 { font-family: inherit; font-weight: 700; letter-spacing: -.03em; line-height: 1.12; max-width: 14ch; font-size: clamp(36px, 5.2vw, 62px); }
.lede { color: var(--dim); margin: 20px 0 0; font-size: 17px; max-width: 560px; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink); padding: 13px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid var(--accent); transition: transform .15s ease, background .15s ease; }
.cta svg { width: 16px; height: 16px; flex: none; }
.cta:hover { background: var(--accent-hi); border-color: var(--accent-hi); transform: translateY(-1px); }
.cta { box-shadow: 0 8px 24px -10px #ff6b3d80; }
.cta.ghost, .cta.muted { box-shadow: none; }
.cta.ghost { background: transparent; color: var(--text); border-color: var(--rule-2); }
.cta.ghost:hover { background: var(--panel); }
.cta.muted { background: transparent; border-color: var(--rule); color: var(--dim); font-weight: 500; }
.cta.muted:hover { transform: none; }

.watch { display: grid; place-items: center; position: relative; }
.watch::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, #ff6b3d26, transparent); filter: blur(40px); z-index: -1; }
.bezel { width: min(460px, calc(100vw - 48px)); aspect-ratio: 1; border-radius: 50%; padding: 4.2%; background: linear-gradient(145deg, #50565c 0%, #1d2023 26%, #111315 55%, #2a2e32 82%, #43494f 100%); box-shadow: 0 40px 90px #000d, 0 4px 18px #0009, inset 0 1px 1px #ffffff30, inset 0 -3px 8px #000a; }
.screen, .mini { border-radius: 50%; overflow: hidden; background: #000; aspect-ratio: 1; }
.screen svg, .mini svg { display: block; width: 100%; height: 100%; }

/* try page: one screen, controls left, watch right */
#app:has(.studio-main) { width: min(1480px, calc(100% - 32px)); padding-bottom: 0; }
.studio { display: grid; grid-template-columns: minmax(360px, 460px) minmax(0, 1fr); gap: 40px; height: calc(100dvh - 72px); padding-bottom: 20px; }
.stage { display: grid; align-content: center; justify-items: center; gap: 22px; min-height: 0; border-radius: 28px; background: radial-gradient(closest-side, #1c202440, transparent 80%); }
.stage .watch { width: 100%; }
.stage .bezel { width: min(680px, 100%, calc(100dvh - 190px)); }
.panel { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--rule); border-radius: 22px; padding: 22px 22px 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; color: inherit; text-decoration: none; }
.panel-title:hover h1 { color: var(--accent); }
.panel h1 { font-size: 36px; line-height: 1; }
.panes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 22px; padding: 4px; border: 1px solid var(--rule); border-radius: 14px; background: var(--well); }
.panes button { border: 0; background: transparent; color: var(--dim); padding: 9px 10px; border-radius: 10px; font-size: 13.5px; }
.panes button:hover { color: var(--text); }
.panes button.on { background: var(--panel-2); color: var(--text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--rule-2); }
.pane { padding: 14px 2px 22px; flex: 1 0 auto; }
.pane > .fine:first-child { display: block; margin: 0; }
.panel-foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 -22px; padding: 14px 22px 18px; border-top: 1px solid var(--rule); background: linear-gradient(180deg, #15181af2, var(--panel)); backdrop-filter: blur(8px); border-radius: 0 0 21px 21px; }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin: -8px -8px 20px; padding: 5px; background: var(--well); border: 1px solid var(--rule); border-radius: 16px; }
.tab { display: grid; justify-items: center; gap: 6px; padding: 9px 4px 8px; border-radius: 11px; font-size: 12.5px; color: var(--dim); text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.tab img { width: 40px; height: 40px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1px #ffffff14; opacity: .72; transition: opacity .15s ease, box-shadow .15s ease; }
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tab:hover { color: var(--text); background: #ffffff06; }
.tab:hover img { opacity: 1; }
.tab.on { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--rule-2); font-weight: 600; }
.tab.on img { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.tag { font: 600 11px/1 Inter, sans-serif; vertical-align: middle; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); border-radius: 999px; padding: 4px 9px; letter-spacing: .1em; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; background: var(--well); }
.seg button { border: 0; background: transparent; padding: 7px 15px; border-radius: 999px; font-size: 13.5px; color: var(--dim); }
.seg button.on { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.label { display: block; margin: 18px 0 9px; color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.panel > .label:first-of-type { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--rule); background: var(--well); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 13px; color: var(--dim); }
.chip:hover:not(:disabled) { border-color: var(--rule-2); color: var(--text); }
.chip i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #ffffff22; }
.chip.on { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.chip:disabled { opacity: .45; cursor: not-allowed; }
.chip small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.fine { color: var(--faint); font-size: 12.5px; }

.clock-actions { display: inline-flex; margin: 0; gap: 4px; padding: 4px; border: 1px solid var(--rule); border-radius: 999px; background: var(--well); }
.clock-actions button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--dim); padding: 7px 13px; border-radius: 999px; font-size: 13px; }
.clock-actions button:hover { color: var(--text); background: var(--panel-2); }
.clock-actions button[aria-pressed="true"] { color: #f2603a; }
.clock-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.clock-actions button[data-clock-action="toggle"] svg path { fill: currentColor; }
.clock-actions button[data-clock-action="toggle"][aria-pressed="false"] svg path { fill: none; stroke-width: 2.4; }


.sims .setting.toggle { align-self: end; }
.chip.plain { padding: 6px 12px; }
.sims { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 12px; align-items: end; }
.sim { display: grid; gap: 8px; font-size: 13px; color: var(--dim); }
.sim-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sim .num { display: inline-flex; align-items: center; gap: 2px; background: var(--well); border: 1px solid var(--rule); border-radius: 9px; padding: 0 9px 0 0; }
.sim .num:focus-within { border-color: var(--accent); }
.sim .num input { width: 78px; font: inherit; font-size: 14px; font-weight: 600; color: var(--text); background: transparent; border: 0; padding: 6px 4px 6px 9px; text-align: right; font-variant-numeric: tabular-nums; outline: none; -moz-appearance: textfield; }
.sim .num input::-webkit-inner-spin-button, .sim .num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sim .num i { font-style: normal; color: var(--faint); font-size: 12px; }
.sim input[type="range"] { width: 100%; accent-color: var(--accent); margin: 0; }
.presets { display: flex; flex-wrap: wrap; gap: 4px; }
.presets button { border: 1px solid var(--rule); background: transparent; color: var(--dim); border-radius: 999px; padding: 3px 9px; font-size: 12px; font-variant-numeric: tabular-nums; }
.presets button:hover { color: var(--text); border-color: var(--rule-2); }
.presets button.on { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.when { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 16px; }
.when label, .setting, .sim-text { display: grid; gap: 6px; font-size: 13px; color: var(--dim); }
.when input, .setting select, .sim-text input { font: inherit; font-size: 13.5px; color: var(--text); background: var(--well); border: 1px solid var(--rule); border-radius: 10px; padding: 8px 10px; color-scheme: dark; width: 100%; min-width: 0; }
.setting select:disabled, .setting input:disabled { opacity: .45; cursor: not-allowed; }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 14px; }
.setting small { margin-left: 6px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.setting.toggle { grid-template-columns: 1fr auto; align-items: center; align-self: end; min-height: 38px; }
.setting.toggle input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: #2b3034; position: relative; cursor: pointer; margin: 0; transition: background .15s ease; }
.setting.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--dim); transition: translate .15s ease, background .15s ease; }
.setting.toggle input:checked { background: var(--accent); }
.setting.toggle input:checked::after { translate: 16px 0; background: var(--accent-ink); }

/* sections */
main > section:not(.hero, .studio) { padding: 88px 0; border-top: 1px solid var(--rule); }
main > .hero.landing + section { border-top: 0; padding-top: 40px; }
main > section h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.05; letter-spacing: .01em; }
:lang(ko) main > section h2 { font-family: inherit; font-weight: 700; letter-spacing: -.02em; }
.note { color: var(--dim); margin: 12px 0 32px; max-width: 620px; font-size: 16px; }
/* a heading without a note (the face page's other faces) keeps the same gap to its content */
main > section > h2 + :not(.note) { margin-top: 32px; }
main > section h2 .dim { color: var(--faint); }


.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.collection { scroll-margin-top: 72px; }
/* the collection note is one sentence pair: a single line on desktop, natural wrapping below */
@media (min-width: 1021px) { .collection .note { max-width: none; } }
@media (min-width: 1021px) { .cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: grid; gap: 8px; align-content: start; border: 1px solid var(--rule); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border-radius: 22px; padding: 12px 12px 16px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: var(--rule-2); transform: translateY(-3px); }
.shot { position: relative; display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 8px; border-radius: 16px; background: radial-gradient(closest-side, #1f2327, var(--well)); }
.dial { position: relative; width: 84%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #000; box-shadow: 0 0 0 5px #22262a, 0 0 0 6px #ffffff14, 0 18px 30px -12px #000; }
.dial svg, .dial img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* always-on layer: showcase.ts renders it live at the current minute while shown (hover, focus or a toggle); without JS it stays hidden */
.aod-face { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.aod-host.aod-on .aod-face { opacity: 1; }
.card { position: relative; }
.aod-toggle { position: absolute; top: 20px; right: 20px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--dim); background: #111315cc; border: 1px solid var(--rule-2); border-radius: 50%; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.aod-toggle svg { width: 15px; height: 15px; }
.aod-toggle:hover { color: var(--text); }
.aod-toggle[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.card.featured .aod-toggle { top: 24px; right: 24px; }
@media (prefers-reduced-motion: reduce) { .aod-face { transition: none; } }
.shot .badge { position: absolute; top: 8px; left: 8px; }
.card h3 { font: 600 22px/1 var(--display); letter-spacing: .03em; }
/* landing bento: faces on Google Play get a large card with the store button, the rest fill the grid beside it */
.cards.bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card.featured { grid-column: span 2; grid-row: span 2; border-color: var(--accent-line); background: radial-gradient(520px 320px at 50% 0%, #1b1f2380, transparent), linear-gradient(180deg, var(--panel-2), var(--panel)); padding: 16px 16px 20px; }
.card.featured:hover { border-color: var(--accent); }
.card.featured { display: flex; flex-direction: column; }
.card.featured .shot { flex: 1 1 auto; aspect-ratio: auto; min-height: 300px; container-type: size; }
.card.featured .dial { width: min(86cqw, 86cqh); }
.card.featured h3 { font-size: 34px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; }
.meta { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 4px; }
.meta h3 { min-width: 0; }
/* store link on released faces' cards; everything else on a card opens the face page */
.play-chip { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 7px 12px; border: 1px solid var(--rule-2); border-radius: 999px; color: var(--text); font-size: 12.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s ease, border-color .15s ease; }
.play-chip svg { width: 14px; height: 14px; flex: none; }
.play-chip:hover { background: var(--panel); border-color: var(--accent-line); }
.card:not(.featured) .play-chip { padding: 0; width: 34px; height: 34px; justify-content: center; }
.card:not(.featured) .play-chip span { display: none; }
.meta .num { color: var(--faint); font: 600 13px/1 var(--display); letter-spacing: .1em; }
.badge { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--dim); background: #111315cc; border: 1px solid var(--rule-2); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.badge.live { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.badge.paid { color: var(--text); }
.badges { display: inline-flex; gap: 6px; align-items: center; }
.shot .badges { position: absolute; top: 8px; left: 8px; }
.shot .badges .badge { position: static; }

.compare-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--rule); }
thead th { color: var(--faint); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
tbody th { font-weight: 500; }
td { color: var(--dim); white-space: nowrap; }
td:last-child { color: var(--accent); }
.pair-wide { display: flex; gap: 20px; }
.pair-wide figure { margin: 0; display: grid; gap: 10px; justify-items: center; width: 190px; }
.mini { width: 100%; }
figcaption { color: var(--faint); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.faq-list { display: grid; gap: 10px; max-width: 820px; margin-top: 28px; }
.faq details { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 0 20px; }
.faq details[open] { border-color: var(--rule-2); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 28px 17px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; color: var(--accent); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--dim); max-width: 680px; }
/* desktop: heading left, questions right, so the list doesn't leave half the row empty */
@media (min-width: 1021px) {
  .faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 48px; align-items: start; }
  .faq-list { margin-top: 0; max-width: none; }
}


footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule); color: var(--faint); font-size: 12.5px; display: grid; gap: 28px; }
footer p { margin: 0; }
footer .brand { font-size: 17px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 48px; }
.foot-brand p { margin: 12px 0 0; color: var(--dim); font-size: 13.5px; }
footer p > a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
footer p > a:hover { color: var(--text); text-decoration-color: currentColor; }
.foot-contact { display: grid; gap: 6px; }
.foot-contact p { color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
:lang(ko) .foot-contact p { text-transform: none; letter-spacing: .02em; }
.foot-contact a { color: var(--text); font-size: 15px; text-decoration: none; }
.foot-contact a:hover { color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-bottom a, .foot-bottom .foot-link { padding: 0; border: 0; background: none; color: var(--dim); font-size: 12.5px; text-decoration: none; }
.foot-bottom a:hover, .foot-bottom .foot-link:hover { color: var(--text); }

/* cookie consent: non-blocking corner card (same flow as devrives.com, tickmark tokens) */
.consent { position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px)); max-height: min(85vh, 640px); overflow-y: auto; padding: 20px; background: var(--panel); border: 1px solid var(--rule-2); border-radius: var(--radius); box-shadow: 0 24px 60px -20px #000000d9; font-size: 13.5px; color: var(--dim); animation: consent-in .2s ease-out; }
.consent:focus { outline: none; }
@keyframes consent-in { from { opacity: 0; translate: 0 8px; } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
.consent p { margin: 0; }
.consent-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 8px; }
.consent h2 { font-size: 19px; line-height: 1.25; color: var(--text); }
:lang(ko) .consent h2 { font-family: inherit; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.consent-close { display: grid; place-items: center; margin: -6px -6px 0 0; padding: 6px; border: 0; border-radius: 999px; background: none; color: var(--faint); }
.consent-close:hover { color: var(--text); background: var(--panel-2); }
.consent-close svg { width: 18px; height: 18px; }
.consent-link { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--text); font-size: 13px; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 4px; }
.consent-link:hover { text-decoration-color: var(--accent); }
.consent-details { display: grid; gap: 10px; margin: 12px 0 0; padding: 14px; background: var(--well); border: 1px solid var(--rule); border-radius: 12px; font-size: 12.5px; }
.consent-details dt { color: var(--text); font-weight: 600; }
.consent-details dd { margin: 2px 0 0; }
.consent-prefs { display: grid; gap: 8px; margin-top: 14px; }
.consent-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel-2); font-size: 12.5px; line-height: 1.5; }
.consent-row-title { color: var(--text); font-size: 13.5px; font-weight: 600; margin-bottom: 2px !important; }
.consent-req { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--faint); font-size: 12px; }
.switch { position: relative; flex: none; width: 40px; height: 24px; padding: 0; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--well); transition: background .15s ease, border-color .15s ease; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--faint); transition: translate .15s ease, background .15s ease; }
.switch.on { background: var(--accent); border-color: var(--accent); }
.switch.on::after { translate: 16px 0; background: var(--accent-ink); }
.switch.locked { opacity: .55; cursor: not-allowed; }
.consent-actions { display: grid; gap: 8px; margin-top: 18px; }
.consent-pair { display: flex; gap: 8px; }
/* reject and accept are equal size: no dark pattern */
.consent-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: 999px; background: transparent; color: var(--text); font-size: 13.5px; font-weight: 600; transition: background .15s ease, border-color .15s ease; }
.consent-btn:hover { background: var(--panel-2); }
.consent-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.consent-btn.primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); }
.consent-btn.ghost { border-color: transparent; color: var(--dim); font-weight: 500; }
.consent-btn.ghost:hover { color: var(--text); }
.consent-btn svg { width: 15px; height: 15px; flex: none; }
.consent-notice { margin-top: 12px !important; color: var(--faint); font-size: 12px; }
.consent-notice a { color: var(--dim); text-underline-offset: 2px; }
.consent-notice a:hover { color: var(--accent); }

/* 404: one centred column; the logo mark sits in a small dial as the only visual. */
.lost { min-height: 100vh; min-height: 100svh; width: min(560px, calc(100% - 32px)); padding: 48px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.lost-dial { display: grid; place-items: center; width: 132px; height: 132px; margin-bottom: 32px; border-radius: 50%; color: var(--text); text-decoration: none; background: radial-gradient(circle at 50% 35%, var(--panel-2), var(--well) 78%); border: 1px solid var(--rule); box-shadow: inset 0 0 0 6px var(--panel), inset 0 0 0 7px var(--rule), 0 24px 60px -28px #000; }
.lost-dial:hover .sig { stroke: var(--accent-hi); }
.lost .eyebrow { margin-bottom: 14px; }
.lost h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
:lang(ko) .lost h1 { font-family: inherit; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; font-size: clamp(30px, 4.4vw, 44px); }
.lost .lede { margin: 16px auto 0; max-width: 40ch; text-wrap: balance; }
.lost .ctas { justify-content: center; margin-top: 30px; }
.lost-lang { margin-top: 22px; color: var(--faint); font-size: 13.5px; text-decoration: none; }
.lost-lang:hover { color: var(--text); }

@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare-grid { grid-template-columns: 1fr; }
  .cards.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.featured { grid-row: auto; }
  .hero.split { gap: 40px; }
}
@media (max-width: 860px) {
  .hero.split { grid-template-columns: 1fr; gap: 36px; padding-top: 20px; }
  .hero.landing { padding: 40px 0 40px; }
  .hero.split .bezel { width: min(400px, calc(100vw - 64px)); }
  .studio { grid-template-columns: 1fr; height: auto; gap: 20px; }
  .stage { order: -1; padding: 8px 0; }
  .stage .bezel { width: min(420px, calc(100vw - 64px)); }
  .panel { overflow: visible; }
  .top nav a:not(.lang) { padding-inline: 10px; }
  main > section:not(.hero, .studio) { padding: 56px 0; }
}
@media (max-width: 640px) { .card.featured { grid-column: 1 / -1; } .card.featured .shot { min-height: 0; aspect-ratio: 4 / 3; } .card.featured h3 { font-size: 28px; } .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .card { padding: 10px 10px 14px; } .aod-toggle { top: 18px; right: 18px; width: 28px; height: 28px; } .card h3 { font-size: 19px; } }
@media (max-width: 520px) {
  .sims, .when, .settings { grid-template-columns: 1fr; }
  .clock-actions button span { display: none; }
  .clock-actions button { padding: 8px 12px; }
  .panel { padding: 18px 16px 0; }
  .panel-foot { margin: 0 -16px; padding: 12px 16px 16px; }
  .seg button { padding: 7px 12px; }
  .brand { font-size: 18px; letter-spacing: .04em; gap: 8px; }
  .brand .mark { width: 22px; height: 22px; }
  .top nav a:not(.lang) { padding-inline: 8px; font-size: 13px; }
  .top nav .lang { margin-left: 4px; padding-inline: 10px; font-size: 13px; }
  .top { gap: 8px; }
  .top nav { gap: 0; }
  .pick img { width: 38px; height: 38px; }
  .picker { gap: 5px; }
  .tabs { margin: -4px -4px 18px; }
  .tab { font-size: 11px; padding: 8px 2px 7px; }
  .tab img { width: 34px; height: 34px; }
  .pair-wide figure { width: calc(50% - 10px); }
  td { white-space: normal; }
}

/* face page watch: the always-on layer fades in over the screen on hover, focus or the moon toggle under it */
.watch-wrap { display: grid; justify-items: center; gap: 14px; }
.screen.layered { position: relative; }
.screen-live, .mini-live { width: 100%; height: 100%; }
.mini { position: relative; }
.pair-wide figure { cursor: default; }
.watch-wrap .aod-toggle { position: static; width: auto; height: auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; }
.watch-wrap .aod-toggle svg { width: 14px; height: 14px; }

/* how to read a face: a live watch beside the parts; pointing at a part lights it up on the dial */
.guide-body { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: start; }
.guide-dial { position: sticky; top: 88px; display: grid; justify-items: center; }
.guide-dial .bezel { width: min(440px, 100%); }
.guide-screen svg [data-part] { transition: opacity .25s ease; }
.guide-screen.focus svg [data-part]:not(.lit) { opacity: .1; }
.guide-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.guide-item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: center; width: 100%; margin: 0; padding: 14px 18px 16px; text-align: left; color: inherit; font: inherit; cursor: pointer; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--rule); border-radius: 14px; transition: border-color .2s ease, background .2s ease; }
.guide-item:hover, .guide-item.on { border-color: var(--rule-2); background: var(--panel-2); }
.guide-item[aria-pressed="true"] { border-color: var(--accent-line); }
.guide-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.g-title { font-size: 16px; font-weight: 600; }
.g-text { grid-column: 2; color: var(--dim); font-size: 14.5px; line-height: 1.55; text-wrap: pretty; }
.mark-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 3px #ffffff10; }
.mark-dot.none { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }

/* two faces: the landing shows two equal large cards */
.cards.bento:has(> :nth-child(2):last-child) .card.featured { grid-row: auto; }
/* one other face (face page): a wide card, dial left, name and tagline right */
.cards.solo { grid-template-columns: minmax(0, 1fr); }
.cards.solo .card { grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 32px; align-content: center; padding: 14px 32px 14px 14px; }
.cards.solo .shot { grid-row: 1 / span 2; margin: 0; }
.cards.solo .meta { align-self: end; }
.cards.solo .card h3 { font-size: 34px; }
.cards.solo .tagline { align-self: start; margin: 0; padding: 0 4px; color: var(--dim); max-width: 48ch; }
.cards.solo .aod-toggle { top: 22px; right: auto; left: 236px; }
.card .tagline { margin: 0; }

@media (max-width: 1020px) { .guide-body { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; } }
/* phones: the watch stays pinned under the header while the parts scroll beneath it */
@media (max-width: 760px) {
  .guide-body { grid-template-columns: 1fr; gap: 16px; }
  .guide-dial { top: 64px; z-index: 2; padding: 8px 0 14px; background: linear-gradient(180deg, var(--bg) 85%, transparent); }
  .guide-dial .bezel { width: min(240px, 62vw); }
}
@media (max-width: 640px) {
  .cards.bento:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; }
  .cards.solo .card { grid-template-columns: 1fr; padding: 10px 10px 16px; }
  .cards.solo .shot { grid-row: auto; aspect-ratio: 4 / 3; }
  .cards.solo .aod-toggle { left: auto; right: 18px; top: 18px; }
  .cards.solo .card h3 { font-size: 26px; }
}
/* a short face list: tabs put the dial beside the name */
.tabs:not(:has(> :nth-child(4))) .tab { grid-auto-flow: column; align-items: center; justify-content: center; gap: 10px; font-size: 14px; padding: 7px 10px; }
.tabs:not(:has(> :nth-child(4))) .tab img { width: 34px; height: 34px; }
