/* Tempus Arcanum - the presentation site. The app's own palette: ink, warm gold, parchment text. */
:root {
  --ink: #0e0d0c;
  --surface: #191715;
  --raised: #24211e;
  --line: #34302b;
  --gold: #d9bc82;
  --gold-deep: #9c7f48;
  --text: #f3eee5;
  --muted: #a69d90;
  --serif: "EB Garamond", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 70% 50% at 70% -10%, rgba(217, 188, 130, .14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 30%, rgba(156, 127, 72, .08), transparent 70%);
  background-repeat: no-repeat;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; color: var(--gold); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ── top bar ───────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px var(--gutter); max-width: var(--max); margin: 0 auto;
  background: linear-gradient(var(--ink) 60%, rgba(14, 13, 12, 0));
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 600 19px var(--serif);
  letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gold); position: relative; }
.mark::before, .mark::after { content: ""; position: absolute; left: 50%; bottom: 50%; width: 1.5px; background: var(--gold);
  transform-origin: bottom; }
.mark::before { height: 7px; transform: translateX(-50%) rotate(-50deg); }
.mark::after { height: 9px; transform: translateX(-50%) rotate(40deg); }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--text); text-decoration: none; }
.top nav a.pill { color: var(--ink); background: var(--gold); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.top nav a.pill:hover { background: #e7cf9f; }
@media (max-width: 640px) { .top nav a:not(.pill) { display: none; } }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(24px, 6vw, 72px) var(--gutter) clamp(40px, 7vw, 90px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
}
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1 { font-size: clamp(44px, 6.2vw, 82px); }
.lede { margin: 24px 0 30px; font-size: clamp(17px, 1.6vw, 20px); color: #d7d0c4; max-width: 34ch; }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.play img { width: 200px; height: auto; margin-left: -10px; }
.hero-watch { display: grid; place-items: center; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .hero-watch { order: -1; }
}

/* ── the watch, drawn in CSS ──────────────────────────────────────────── */
.watch { --size: 240px; position: relative; width: var(--size); aspect-ratio: 1; }
.watch.big { --size: min(400px, 72vw); margin: 60px 0 0; }
.case {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 200deg, #5d5852, #c9c3b8 18%, #6e6860 32%, #2b2825 50%, #8f897f 66%, #e3ddd2 80%, #5d5852);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  padding: calc(var(--size) * .035);
}
.bezel { width: 100%; height: 100%; border-radius: 50%; background: #0a0908; padding: calc(var(--size) * .03);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .9) inset; }
.glass { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #000;
  isolation: isolate; }
.glass::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 3;
  background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 38%),
              radial-gradient(circle at 50% 50%, transparent 62%, rgba(0, 0, 0, .35)); }
.dial { width: 100%; height: 100%; object-fit: cover; }
.crown { position: absolute; right: calc(var(--size) * -.035); top: 50%; width: calc(var(--size) * .06); height: calc(var(--size) * .12);
  transform: translateY(-50%); border-radius: 4px;
  background: repeating-linear-gradient(0deg, #9a948a 0 2px, #4a4641 2px 4px); z-index: -1; }
.lug { position: absolute; left: 50%; width: 52%; height: 34%; transform: translateX(-50%); z-index: -1;
  background: linear-gradient(90deg, #121110, #2c2926 18%, #1d1b19 50%, #2c2926 82%, #121110);
  border-radius: 18px; }
.lug-t { top: -24%; -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); }
.lug-b { bottom: -24%; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.lug::after { content: ""; position: absolute; left: 8%; right: 8%; top: 0; bottom: 0; border-left: 1px dashed rgba(217, 188, 130, .18);
  border-right: 1px dashed rgba(217, 188, 130, .18); }
.slides .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.slides .slide.on { opacity: 1; }
.hero-watch .now { margin: 64px 0 0; font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: opacity .5s; }

/* ── the moving strip of dials ─────────────────────────────────────────── */
.strip { overflow: hidden; padding: 8px 0 24px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.row { display: flex; gap: 22px; margin: 0 0 22px; padding: 0; list-style: none; width: max-content; }
.row li { width: clamp(96px, 12vw, 150px); flex: none; }
.row img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: #000;
  box-shadow: 0 0 0 5px #23201d, 0 0 0 6px #3a352f, 0 18px 30px -12px rgba(0, 0, 0, .8); }
.row.a { animation: slide 90s linear infinite; }
.row.b { animation: slide 110s linear infinite reverse; margin-left: -80px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── blocks ────────────────────────────────────────────────────────────── */
.block { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 110px) var(--gutter) 0; }
.head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(34px, 4.8vw, 58px); }
.head .muted { margin: 16px 0 0; font-size: 18px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.tile { background: linear-gradient(180deg, var(--surface), rgba(25, 23, 21, .3)); border: 1px solid var(--line);
  border-radius: 24px; padding: 36px 24px 24px; display: grid; justify-items: center; text-align: center; }
.tile .watch { --size: min(220px, 60vw); margin-bottom: 26px; }
.tile h3 { font-size: 26px; }
.tile p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.cat { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 1;
  border: 1px solid var(--line); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; opacity: .85; }
.cat:hover img { transform: scale(1.06); opacity: 1; }
.cat span { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; color: var(--text);
  background: linear-gradient(transparent, rgba(0, 0, 0, .85)); display: grid; }
.cat b { font: 500 19px var(--serif); }
.cat i { font-style: normal; font-size: 13px; color: var(--gold); }
.cat:hover { text-decoration: none; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { border-top: 1px solid var(--line); padding-top: 22px; }
.steps b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold);
  color: var(--gold); font: 500 18px var(--serif); margin-bottom: 18px; }
.steps h3 { font-size: 26px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.fact { padding: 30px 12px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.fact b { display: block; font: 500 clamp(40px, 5vw, 58px) var(--serif); color: var(--gold); }
.fact span { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; }
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 30px; background: var(--surface); }
.plan.gold { border-color: var(--gold-deep); background: linear-gradient(160deg, rgba(156, 127, 72, .28), var(--surface) 60%); }
.plan h3 { font-size: 22px; color: var(--muted); }
.plan .big { font: 500 38px var(--serif); margin: 8px 0 14px; }
.plan ul { margin: 0 0 22px; padding-left: 18px; color: #d7d0c4; }
.plan li { margin: 6px 0; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.btn { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 600; padding: 12px 22px; border-radius: 999px; }
.btn:hover { background: #e7cf9f; text-decoration: none; }

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; max-width: 780px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 500 22px var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--gold); font: 300 28px var(--sans); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: #d7d0c4; max-width: 68ch; }
.faq .center { margin-top: 32px; }

.final { text-align: center; padding-bottom: 20px; }
.final h2 { margin-bottom: 26px; }
.final .play { display: inline-block; }
.final .play img { margin: 0; }

/* ── documents (privacy, terms) ───────────────────────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 20px; }
.doc h1 { font-size: clamp(40px, 6vw, 62px); margin-bottom: 8px; }
.doc h2 { font-size: 30px; margin: 44px 0 12px; }
.doc h3 { font-size: 22px; margin: 26px 0 8px; }
.doc p, .doc li { color: #ddd6ca; }
.doc ul { padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--gold); font-weight: 600; }
.doc .summary { border: 1px solid var(--gold-deep); background: rgba(156, 127, 72, .12); border-radius: 16px; padding: 18px 22px; }
.doc.center { text-align: center; padding-top: 90px; }
.doc .muted { margin-top: 0; }

/* ── footer ────────────────────────────────────────────────────────────── */
.foot { margin-top: clamp(70px, 10vw, 120px); border-top: 1px solid var(--line); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 10px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 24px; }
.foot p { margin: 8px 0 0; font-size: 15px; }
.foot .links { display: grid; gap: 8px; font-size: 15px; }
.fine { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter) 40px; color: #6f685e; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .row.a, .row.b { animation: none; }
  .slides .slide, .cat img { transition: none; }
}
