:root {
  color-scheme: light;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #0f766e;
  --paper: #ffffff;
  --background: #f5f7fa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.clock-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.clock-shell { width: min(100%, 920px); text-align: center; }

.brand {
  margin-bottom: 52px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.brand-dot { color: var(--accent); }

.clock-card {
  padding: clamp(34px, 8vw, 78px) 24px clamp(38px, 8vw, 74px);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.03);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.clock {
  display: block;
  color: #0f172a;
  font-size: clamp(4.5rem, 15vw, 10.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 0.95;
  white-space: nowrap;
}

.date {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
}

.accuracy {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 0;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.14);
}

.accuracy.is-synced .status-dot {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.hint { margin: 10px 0 0; color: #94a3b8; font-size: 12px; }

@media (max-width: 520px) {
  .clock-page { min-height: auto; padding: 32px 16px 24px; }
  .brand { margin-bottom: 36px; }
  .clock-card { border-radius: 18px; }
  .clock { font-size: clamp(3.8rem, 17vw, 6rem); letter-spacing: -0.06em; }
}
