/* ==========================================================================
   世界时间 · shijieshijianwang.com
   设计基线来自 NewsPicks BizPremium：白底、#146af5 主蓝、#222 深色分段、
   Noto Sans 标题、2px 按钮圆角、10px 卡片圆角、无阴影、留白优先。
   ========================================================================== */

:root {
  --blue: #146af5;
  --blue-hover: #0e51ed;
  --blue-soft: #eef4ff;
  --blue-line: #d3e1ff;
  --bg: #ffffff;
  --tint: #f5f5f5;
  --tint-2: #fafafa;
  --dark: #222222;
  --footer: #111111;
  --text: #333333;
  --strong: #222222;
  --muted: #666666;
  --muted-light: #6f6f6f;
  --line: #e6e6e6;
  --line-strong: #c7c7c7;
  --white: #ffffff;
  --green: #0b6b4a;
  --amber: #8a5200;

  --font: "Noto Sans", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", "Liberation Mono",
    Consolas, monospace;

  --radius-sm: 2px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  --max: 1200px;
  --max-narrow: 880px;
  --gutter: clamp(18px, 4.5vw, 56px);
  --section: clamp(56px, 7vw, 96px);
  --header-h: 72px;
  --header-offset: 73px;

  --ease: cubic-bezier(0.4, 0.4, 0, 1);
  --fast: 0.3s;
  --base: 0.4s;

  --shadow-pop: 0 18px 48px rgba(17, 17, 17, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 24px);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--header-offset);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17.6px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--strong);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(44px, 5.6vw, 70.4px);
  line-height: 1.14;
}

h2 {
  font-size: clamp(30.8px, 3.8vw, 46.2px);
  line-height: 1.24;
}

h3 {
  font-size: clamp(22px, 2vw, 26.4px);
  line-height: 1.4;
}

ul,
ol {
  padding-left: 1.2em;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--fast) var(--ease), opacity var(--fast) var(--ease);
}

a:hover {
  color: var(--blue-hover);
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: top var(--fast) var(--ease);
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.noscript-note {
  padding: 9px 0;
  background: #fff6e8;
  border-bottom: 1px solid #f0ddbd;
  color: #7a5200;
  font-size: 13.2px;
  line-height: 1.7;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(var(--max-narrow), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.num {
  font-variant-numeric: tabular-nums;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-hover);
  font-size: 12.1px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.kicker--light {
  color: #9dc0ff;
}

.kicker--light::before {
  background: #9dc0ff;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  vertical-align: middle;
}

.text-muted {
  color: var(--muted);
}

.underline {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--strong);
}

.brand:hover {
  color: var(--strong);
}

.brand__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}

.brand__icon svg {
  width: 21px;
  height: 21px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 20.9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__en {
  margin-top: 3px;
  color: var(--muted-light);
  font-size: 9.9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav__item {
  position: relative;
}

.nav__link,
.nav__drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #3e3e3e;
  font-size: 15.4px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.nav__link:hover,
.nav__drop-btn:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav__link[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
}

.nav__drop-btn svg {
  width: 12px;
  height: 12px;
  transition: transform var(--fast) var(--ease);
}

.nav__item.is-open .nav__drop-btn svg {
  transform: rotate(180deg);
}

.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 20;
  display: none;
  width: 260px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  transform: translateX(-50%);
}

.nav__panel--wide {
  width: 420px;
}

.nav__item.is-open .nav__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  animation: fadeDown 0.22s var(--ease) both;
}

.nav__panel--wide.is-open,
.nav__item.is-open .nav__panel--wide {
  grid-template-columns: 1fr 1fr;
}

.nav__item:last-of-type .nav__panel {
  left: auto;
  right: 0;
  transform: none;
  animation: none;
}

.nav__panel a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14.9px;
}

.nav__panel a:hover {
  background: var(--blue-soft);
  color: var(--blue-hover);
}

.nav__drop-btn.is-active {
  color: var(--blue);
  font-weight: 700;
}

.nav__panel small {
  color: var(--muted-light);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.nav__panel-head {
  grid-column: 1 / -1;
  padding: 4px 12px 8px;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.header-side {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  margin-left: 0;
}

.header-clock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12.7px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-clock time {
  min-width: 58px;
  color: var(--strong);
  font-family: var(--mono);
  font-size: 13.2px;
  font-variant-numeric: tabular-nums;
}

.header-clock .dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 138, 95, 0.1);
}

.menu-btn {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.menu-btn svg {
  width: 18px;
  height: 18px;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* --------------------------------------------------------------------------
   Buttons, chips, forms
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 15.4px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
    border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.button svg {
  width: 15px;
  height: 15px;
}

.button--primary {
  background: var(--blue);
  color: var(--white);
}

.button--primary:hover {
  background: var(--blue-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.button--secondary {
  border-color: var(--blue);
  color: var(--blue);
}

.button--secondary:hover {
  background: var(--blue);
  color: var(--white);
}

.button--ghost {
  color: var(--blue);
  padding-inline: 12px;
}

.button--ghost:hover {
  background: rgba(20, 106, 245, 0.08);
  color: var(--blue-hover);
}

.button--light {
  background: var(--white);
  color: var(--strong);
}

.button--light:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.button--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button--sm {
  min-height: 34px;
  padding: 6px 14px;
  font-size: 13.8px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.5;
  white-space: nowrap;
  transition: all var(--fast) var(--ease);
}

.chip:hover {
  border-color: var(--line-strong);
  color: var(--strong);
}

.chip[aria-pressed="true"],
.chip.is-active {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-hover);
  font-weight: 700;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field > label,
.field__label {
  color: var(--muted);
  font-size: 12.1px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--strong);
  font-size: 15.4px;
  line-height: 1.5;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}

.input:hover,
.select:hover {
  border-color: #a8a8a8;
}

.input:focus,
.select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 106, 245, 0.12);
}

.input::placeholder {
  color: var(--muted-light);
}

.select {
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.input-group .button {
  min-height: 44px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  flex: none;
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 16px;
  height: 16px;
  color: var(--muted-light);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-field .input {
  padding-left: 38px;
}

.form-note {
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Generic section headings and page hero
   -------------------------------------------------------------------------- */

.section {
  padding-block: var(--section);
}

.section--tint {
  background: var(--tint);
}

.section--dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.74);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--flat {
  padding-block: clamp(40px, 5vw, 64px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head__title {
  margin-top: 14px;
}

.section-head__body {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}

.section-head__body p + p {
  margin-top: 12px;
}

.section-head--center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-head--center .kicker {
  justify-content: center;
}

.section-head--center .section-head__body {
  margin-top: 16px;
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.section-foot p {
  color: var(--muted);
  font-size: 14.3px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-hover);
  font-size: 14.3px;
  font-weight: 700;
}

.arrow-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--fast) var(--ease);
}

.arrow-link:hover svg {
  transform: translateX(3px);
}

.page-hero {
  padding-block: clamp(36px, 5vw, 64px) 0;
}

.page-hero--tint {
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.page-hero__head {
  max-width: 900px;
}

.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(39.6px, 4.8vw, 59.4px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--muted-light);
  font-size: 13.2px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
  color: var(--line-strong);
}

.breadcrumb [aria-current="page"] {
  color: var(--strong);
}

.page-hero__lede {
  max-width: 820px;
  margin-top: 18px;
  color: #5c5c5c;
  font-size: clamp(16.5px, 1.5vw, 18.7px);
  line-height: 1.85;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13.2px;
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 76px) clamp(44px, 6vw, 72px);
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 106, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 106, 245, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 62%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12.1px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__eyebrow .dot {
  margin-right: 2px;
}

.hero__eyebrow span + span::before {
  content: "/";
  margin-right: 10px;
  color: var(--line-strong);
}

.hero h1 {
  max-width: 880px;
  margin-top: 20px;
  font-size: clamp(48.4px, 6.4vw, 72.6px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero__lead {
  max-width: 780px;
  margin-top: 18px;
  color: #555555;
  font-size: clamp(16.5px, 1.6vw, 18.7px);
  line-height: 1.85;
}

.hero__tool {
  margin-top: clamp(28px, 4vw, 40px);
}

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.7px;
}

.hero__notes span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__notes span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* --------------------------------------------------------------------------
   Quick tools
   -------------------------------------------------------------------------- */

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
  padding: 22px 22px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--strong);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}

.quick-card:hover {
  background: var(--blue);
  color: var(--white);
}

.quick-card__en {
  color: var(--muted-light);
  font-size: 9.9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.quick-card:hover .quick-card__en,
.quick-card:hover .quick-card__note {
  color: rgba(255, 255, 255, 0.72);
}

.quick-card__name {
  font-size: 20.9px;
  font-weight: 700;
}

.quick-card__note {
  margin-top: auto;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.6;
}

.quick-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
}

.quick-card__arrow svg {
  width: 13px;
  height: 13px;
}

.quick-card:hover .quick-card__arrow {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Clock board
   -------------------------------------------------------------------------- */

.clock-board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.clock-board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.clock-board__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.4px;
  font-weight: 700;
  color: var(--strong);
}

.clock-board__title .dot {
  width: 5px;
  height: 5px;
}

.clock-board__count {
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.clock-board__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.clock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.clock-board--4 .clock-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clock-filler {
  background: var(--white);
}

.clock-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 20px 18px;
  background: var(--white);
  transition: background var(--fast) var(--ease);
}

.clock-card:hover {
  background: #fbfcff;
}

.clock-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.clock-card__city {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 17.6px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--strong);
}

.clock-card__city .dot {
  width: 5px;
  height: 5px;
  background: var(--muted-light);
}

.clock-card.is-day .clock-card__city .dot {
  background: var(--blue);
}

.clock-card.is-night .clock-card__city .dot {
  background: #6b7a99;
}

.clock-card__en {
  margin-top: 4px;
  color: var(--muted-light);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clock-card__time {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-top: 16px;
  color: var(--strong);
  font-family: var(--font-display);
  font-size: clamp(33px, 3.3vw, 44px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.clock-card__sec {
  margin-left: 2px;
  color: var(--muted-light);
  font-size: 0.46em;
  letter-spacing: 0;
}

.clock-card__ampm {
  color: var(--muted);
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.clock-card__date {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.5;
}

.clock-card__day {
  padding: 1px 5px;
  border-radius: 2px;
  background: var(--tint);
  color: var(--muted);
  font-size: 11px;
}

.clock-card__day.is-next {
  background: var(--blue-soft);
  color: var(--blue);
}

.clock-card__day.is-prev {
  background: #fff4e6;
  color: var(--amber);
}

.clock-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 2px;
  background: var(--tint);
  color: #666666;
  font-size: 11px;
  line-height: 1.7;
  white-space: nowrap;
}

.badge--blue {
  background: var(--blue-soft);
  color: var(--blue-hover);
}

.badge--dst {
  background: #fff4e6;
  color: var(--amber);
}

.badge--green {
  background: #eaf7f1;
  color: var(--green);
}

.badge--dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
}

.clock-card__remove {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted-light);
  opacity: 0;
  transition: opacity var(--fast) var(--ease), background var(--fast) var(--ease);
}

.clock-card:hover .clock-card__remove,
.clock-card__remove:focus-visible {
  opacity: 1;
}

.clock-card__remove:hover {
  background: var(--tint);
  color: var(--strong);
}

.clock-card__remove svg {
  width: 12px;
  height: 12px;
}

.clock-card__bar {
  position: relative;
  height: 2px;
  margin-top: 14px;
  background: var(--line);
  overflow: hidden;
}

.clock-card__bar span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--day-progress, 0%);
  background: var(--blue);
  transition: width 0.6s var(--ease);
}

.clock-card.is-night .clock-card__bar span {
  background: #6b7a99;
}

.clock-board__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--tint-2);
  color: var(--muted);
  font-size: 13.2px;
}

.clock-board__foot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.clock-board__foot a,
.clock-board__foot button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--blue);
  font-size: 13.2px;
  font-weight: 700;
}

.clock-board__foot button {
  color: var(--muted);
}

.clock-board__foot button:hover {
  color: var(--strong);
}

.clock-board__empty {
  grid-column: 1 / -1;
  padding: 40px 24px;
  background: var(--white);
  text-align: center;
  color: var(--muted);
  font-size: 14.3px;
}

/* City search */
.city-search {
  position: relative;
  width: min(260px, 44vw);
  min-width: 180px;
}

.city-search .input {
  min-height: 36px;
  padding: 6px 10px 6px 32px;
  font-size: 13.8px;
  border-color: var(--line);
  background: var(--tint-2);
}

.city-search svg {
  left: 11px;
  width: 14px;
  height: 14px;
}

.city-search__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: max(100%, 300px);
  max-height: 320px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
}

.city-search__list li button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  text-align: left;
}

.city-search__list li button:hover,
.city-search__list li button.is-active {
  background: var(--blue-soft);
}

.city-search__list .cs-name {
  color: var(--strong);
  font-size: 14.9px;
  font-weight: 700;
}

.city-search__list .cs-meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.6px;
}

.city-search__list .cs-add {
  color: var(--blue);
  font-size: 17.6px;
  line-height: 1;
}

.city-search__empty {
  padding: 14px 12px;
  color: var(--muted);
  font-size: 13.2px;
}

/* --------------------------------------------------------------------------
   Content cards / grids
   -------------------------------------------------------------------------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 26px 24px;
  background: var(--white);
  color: var(--strong);
  transition: background var(--fast) var(--ease);
}

.tool-card:hover {
  background: var(--tint-2);
  color: var(--strong);
}

.tool-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tool-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
}

.tool-card__icon svg {
  width: 19px;
  height: 19px;
}

.tool-card__index {
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.tool-card__title {
  margin-top: 4px;
  font-size: 19.8px;
  font-weight: 700;
  line-height: 1.4;
}

.tool-card__text {
  color: var(--muted);
  font-size: 14.3px;
  line-height: 1.7;
}

.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--blue);
  font-size: 13.2px;
  font-weight: 700;
}

.tool-card__link svg {
  width: 12px;
  height: 12px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--strong);
  transition: border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.country-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  color: var(--strong);
}

.country-card__cc {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
  color: var(--blue-hover);
  font-family: var(--mono);
  font-size: 13.2px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.country-card:hover .country-card__cc {
  background: var(--blue-soft);
}

.country-card__body {
  display: block;
  min-width: 0;
}

.country-card__name,
.country-card__meta {
  display: flex;
}

.country-card__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 700;
}

.country-card__name small {
  color: var(--muted-light);
  font-size: 9.9px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.country-card__meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-card__arrow {
  margin-left: auto;
  color: var(--muted-light);
}

.country-card__arrow svg {
  width: 14px;
  height: 14px;
}

.city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--strong);
  font-size: 13.8px;
  transition: all var(--fast) var(--ease);
}

.city-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.city-link small {
  color: var(--muted-light);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.city-link:hover small {
  color: var(--blue);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.feature {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.feature__index {
  color: var(--blue-hover);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.feature__title {
  margin-top: 12px;
  font-size: 20.9px;
  font-weight: 700;
  line-height: 1.4;
}

.feature__text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.9px;
  line-height: 1.8;
}

.feature__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 13.2px;
  font-weight: 700;
}

.prose-block {
  max-width: var(--max-narrow);
}

.prose-block h2 {
  margin-bottom: 18px;
}

.prose-block h3 {
  margin: 34px 0 10px;
  font-size: 24.2px;
  font-weight: 700;
}

.prose-block p {
  color: #4d4d4d;
  font-size: 17.1px;
  line-height: 1.95;
}

.prose-block p + p {
  margin-top: 14px;
}

.prose-block strong {
  color: var(--strong);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.two-col__aside {
  position: sticky;
  top: calc(var(--header-offset) + 28px);
}

.fact-list {
  border-top: 1px solid var(--line);
}

.fact-list__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.3px;
}

.fact-list__row dt {
  color: var(--muted);
}

.fact-list__row dd {
  color: var(--strong);
  font-weight: 500;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat {
  padding: 22px 20px;
  background: var(--white);
}

.stat__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat__value {
  margin-top: 6px;
  color: var(--strong);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.stat__note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.7px;
}

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
  color: #3a3a3a;
  font-size: 15.4px;
  line-height: 1.85;
}

.callout strong {
  color: var(--strong);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12.1px;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.step h3 {
  font-family: var(--font);
  font-size: 18.7px;
  font-weight: 700;
}

.step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.9px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.9px;
  line-height: 1.5;
  text-align: left;
}

.table th {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--tint-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover td {
  background: #fbfcff;
}

.table .cell-city {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
  color: var(--strong);
  font-weight: 700;
}

.table .cell-city small {
  color: var(--muted-light);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.table .cell-time {
  font-family: var(--mono);
  font-size: 15.4px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--strong);
}

.table .cell-muted {
  color: var(--muted);
  font-size: 13.2px;
}

.table .cell-offset {
  font-family: var(--mono);
  font-size: 13.2px;
  white-space: nowrap;
}

.table td a {
  color: var(--strong);
}

.table td a:hover {
  color: var(--blue);
}

.table caption {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.7px;
  text-align: left;
  background: var(--white);
}

.table--article {
  margin: 22px 0;
  border: 1px solid var(--line);
  font-size: 14.3px;
}

.table--article th,
.table--article td {
  padding: 10px 12px;
}

.table--article caption {
  font-size: 13.2px;
}

.table-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.table-tools__left,
.table-tools__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.table-tools .search-field {
  width: min(280px, 52vw);
}

.table-tools .input {
  min-height: 38px;
  font-size: 13.8px;
}

.table-tools__count {
  color: var(--muted);
  font-size: 12.7px;
}

.table-empty {
  padding: 28px 16px;
  color: var(--muted);
  font-size: 14.3px;
  text-align: center;
}

.offset-group {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.offset-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--tint-2);
}

.offset-group__offset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--strong);
  font-family: var(--mono);
  font-size: 14.3px;
  font-weight: 700;
}

.offset-group__offset .dot {
  width: 5px;
  height: 5px;
}

.offset-group__meta {
  color: var(--muted);
  font-size: 12.7px;
}

.offset-group__cities a {
  color: var(--blue-hover);
}

.offset-group__cities a small {
  color: var(--muted-light);
}

.offset-group__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 16px;
}

/* --------------------------------------------------------------------------
   Tool pages: shared panels
   -------------------------------------------------------------------------- */

.tool-page {
  padding-block: clamp(32px, 5vw, 56px) var(--section);
}

.tool-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.tool-intro__side {
  padding: 18px 20px;
  border-left: 2px solid var(--blue);
  background: var(--tint-2);
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.8;
}

.tool-intro__side strong {
  display: block;
  margin-bottom: 4px;
  color: var(--strong);
  font-size: 14.3px;
}

.panel {
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.panel--tint {
  background: var(--tint-2);
}

.panel + .panel {
  margin-top: 16px;
}

.panel__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--strong);
}

.panel__title small {
  color: var(--muted);
  font-size: 12.1px;
  font-weight: 500;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.tool-layout--wide {
  grid-template-columns: minmax(0, 1fr);
}

.tool-layout__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}

.seg button {
  padding: 6px 11px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12.1px;
  line-height: 1.5;
  white-space: nowrap;
}

.seg button:last-child {
  border-right: 0;
}

.seg button[aria-pressed="true"] {
  background: var(--blue);
  color: var(--white);
}

.seg button:hover:not([aria-pressed="true"]) {
  background: var(--tint);
  color: var(--strong);
}

/* City picker combobox */
.city-picker {
  position: relative;
}

.city-picker .input {
  padding-right: 32px;
}

.city-picker::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.city-picker__list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  z-index: 40;
  width: 100%;
  max-height: 300px;
  margin: 0;
  padding: 5px;
  overflow-y: auto;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
}

.city-picker__list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  text-align: left;
  font-size: 14.3px;
}

.city-picker__list button:hover,
.city-picker__list button.is-active {
  background: var(--blue-soft);
}

.city-picker__list small {
  color: var(--muted);
  font-size: 11px;
}

.city-picker__empty {
  padding: 12px;
  color: var(--muted);
  font-size: 13.2px;
}

/* Planner */
.planner {
  display: grid;
  gap: 16px;
}

.planner__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.swap-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--muted);
  transition: all var(--fast) var(--ease);
}

.swap-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.swap-btn svg {
  width: 15px;
  height: 15px;
}

.planner__times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.planner-result {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  border-color: var(--dark);
}

.planner-result::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.planner-result .kicker {
  color: #9dc0ff;
}

.planner-result .kicker::before {
  background: #9dc0ff;
}

.diff-headline {
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(26.4px, 3vw, 37.4px);
  font-weight: 400;
  line-height: 1.35;
}

.diff-headline strong {
  color: #7fb0ff;
  font-weight: 700;
}

.diff-sub {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13.8px;
  line-height: 1.8;
}

.diff-now {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.diff-now__city {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.diff-now__time {
  margin-top: 4px;
  color: var(--white);
  font-family: var(--mono);
  font-size: clamp(24.2px, 3vw, 33px);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.diff-now__date {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.1px;
  margin-top: 2px;
}

.diff-now__arrow {
  color: rgba(255, 255, 255, 0.35);
}

.diff-now__arrow svg {
  width: 20px;
  height: 20px;
}

.overlap-panel {
  margin-top: 18px;
}

.overlap-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

.overlap {
  display: grid;
  grid-template-columns: repeat(24, minmax(34px, 1fr));
  gap: 3px;
  min-width: 840px;
}

.overlap__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.overlap__hour {
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 9.9px;
}

.overlap__cell {
  height: 54px;
  border-radius: 2px;
  background: var(--tint);
  transition: background var(--fast) var(--ease);
}

.overlap__cell.is-both {
  background: var(--blue);
}

.overlap__cell.is-one {
  background: #b9d1ff;
}

.overlap__cell.is-edge {
  background: #e3edff;
}

.overlap__cell:hover {
  outline: 2px solid var(--strong);
  outline-offset: -2px;
}

.overlap__other {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.9px;
}

.overlap__other.is-next {
  color: var(--blue);
  font-weight: 700;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.1px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--tint);
}

.legend i.is-both {
  background: var(--blue);
}

.legend i.is-one {
  background: #b9d1ff;
}

.slot-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.slot-item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.slot-item--best {
  border-color: var(--blue-line);
  background: var(--blue-soft);
}

.slot-item__time {
  color: var(--strong);
  font-size: 14.3px;
  font-weight: 700;
  line-height: 1.5;
}

.slot-item__other {
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.5;
}

.slot-item__tag {
  justify-self: end;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--white);
  color: var(--blue);
  font-size: 11px;
  white-space: nowrap;
}

.slot-empty {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 13.8px;
  text-align: center;
}

/* Converter */
.convert-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.convert-form .button {
  min-height: 44px;
}

.convert-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--tint);
}

.convert-primary__label {
  color: var(--muted);
  font-size: 12.1px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.convert-primary__city {
  margin-top: 6px;
  color: var(--strong);
  font-size: 24.2px;
  font-weight: 700;
}

.convert-primary__time {
  margin-top: 8px;
  color: var(--strong);
  font-family: var(--font-display);
  font-size: clamp(37.4px, 5vw, 57.2px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.convert-primary__date {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.3px;
}

.convert-primary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.convert-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--line);
}

.result-item {
  padding: 14px 16px;
  background: var(--white);
}

.result-item__city {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  color: var(--strong);
  font-size: 13.8px;
  font-weight: 700;
}

.result-item__city small {
  color: var(--muted-light);
  font-size: 9.9px;
  font-weight: 500;
}

.result-item__time {
  margin-top: 5px;
  color: var(--strong);
  font-family: var(--mono);
  font-size: 19.8px;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.result-item__date {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.6px;
}

.result-item__meta {
  margin-top: 4px;
  color: var(--muted-light);
  font-size: 10.5px;
}

.copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.copy-row code {
  flex: 1 1 320px;
  min-width: 0;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--strong);
  font-family: var(--mono);
  font-size: 13.2px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.copy-btn {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12.7px;
}

.copy-status {
  color: var(--green);
  font-size: 12.1px;
}

/* Big live clock (country / city pages) */
.page-hero--dark {
  position: relative;
  padding-block: clamp(32px, 4vw, 48px) clamp(36px, 5vw, 56px);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.page-hero--dark::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -60%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.015),
    0 0 0 160px rgba(255, 255, 255, 0.01);
  pointer-events: none;
}

.page-hero--dark .wrap {
  position: relative;
  z-index: 1;
}

.page-hero--dark h1 {
  color: var(--white);
}

.page-hero--dark .page-hero__lede {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero--dark .breadcrumb a,
.page-hero--dark .breadcrumb {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero--dark .breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero--dark .breadcrumb svg {
  color: rgba(255, 255, 255, 0.25);
}

.page-hero--dark .breadcrumb a:hover {
  color: var(--white);
}

.time-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.time-hero__content {
  min-width: 0;
}

.live-clock {
  min-width: 0;
}

.live-clock__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.live-clock__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.1px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-clock__label .dot {
  width: 6px;
  height: 6px;
  background: #7fb0ff;
}

.live-clock__zone {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 11px;
}

.live-clock__time {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-top: 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(63.8px, 9vw, 105.6px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.live-clock__sec {
  margin-left: 3px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.34em;
  letter-spacing: 0;
}

.live-clock__date {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15.4px;
  line-height: 1.6;
}

.live-clock__date .live-clock__weekday {
  color: rgba(255, 255, 255, 0.64);
}

.live-clock__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.live-clock__meta .badge {
  padding: 4px 9px;
  font-size: 11.6px;
}

.live-clock--light .live-clock__time {
  color: var(--strong);
}

.live-clock--light .live-clock__date {
  color: var(--muted);
}

.live-clock--light .live-clock__date .live-clock__weekday {
  color: var(--muted-light);
}

.live-clock--light .live-clock__sec {
  color: var(--muted-light);
}

.live-clock--light .live-clock__meta .badge {
  background: var(--tint);
  color: var(--muted);
}

.hero-clock {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  min-width: 0;
}

.hero-clock__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11.6px;
}

.hero-clock__foot a {
  color: #9dc0ff;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--line);
  gap: 1px;
}

.fact-strip__item {
  padding: 18px 20px;
  background: var(--white);
}

.fact-strip__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-strip__value {
  margin-top: 5px;
  color: var(--strong);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
}

.fact-strip__note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.6px;
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.zone-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.zone-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.zone-card__name {
  font-size: 17.6px;
  font-weight: 700;
  color: var(--strong);
}

.zone-card__en {
  color: var(--muted-light);
  font-size: 9.9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.zone-card__offset {
  margin-top: 4px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12.7px;
}

.zone-card__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.zone-card__note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.7px;
  line-height: 1.7;
}

.zone-card__live {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12.1px;
}

.zone-card__live span {
  font-family: var(--mono);
  color: var(--strong);
  font-variant-numeric: tabular-nums;
}

.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.city-pills a {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 2px;
  background: var(--tint);
  color: var(--text);
  font-size: 12.7px;
}

.city-pills a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.city-pills a small {
  color: var(--muted-light);
  font-size: 9.9px;
}

/* Big UTC / Beijing clock card */
.big-clock-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.66);
}

.big-clock-card h2 {
  color: var(--white);
  font-size: clamp(24.2px, 2.6vw, 30.8px);
}

.big-clock-card p {
  margin-top: 10px;
  font-size: 14.3px;
  line-height: 1.8;
}

.big-clock-card .live-clock__meta {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Articles
   -------------------------------------------------------------------------- */

.article {
  padding-block: clamp(34px, 5vw, 56px) var(--section);
}

.article__head {
  max-width: 840px;
}

.article__head h1 {
  margin-top: 14px;
  font-size: clamp(35.2px, 4.6vw, 52.8px);
  line-height: 1.25;
}

.article__lead {
  margin-top: 18px;
  color: #4f4f4f;
  font-size: clamp(16.5px, 1.7vw, 18.7px);
  line-height: 1.9;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.2px;
}

.article__toc {
  max-width: 840px;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--tint-2);
}

.article__toc-title {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article__toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 28px;
  margin: 0;
  padding-left: 1.1em;
  color: var(--muted);
  font-size: 13.8px;
}

.article__toc li {
  padding: 2px 0;
}

.article__toc a {
  color: var(--text);
}

.article__toc a:hover {
  color: var(--blue);
}

.article__body {
  max-width: 840px;
  margin-top: 34px;
}

.article__body h2 {
  margin: 42px 0 14px;
  font-size: clamp(26.4px, 2.8vw, 33px);
  scroll-margin-top: calc(var(--header-offset) + 20px);
}

.article__body h2:first-child {
  margin-top: 0;
}

.article__body h3 {
  margin: 28px 0 10px;
  font-size: 22px;
  font-weight: 700;
}

.article__body p {
  color: #3f3f3f;
  font-size: 17.6px;
  line-height: 2;
}

.article__body p + p {
  margin-top: 15px;
}

.article__body ul,
.article__body ol {
  margin: 16px 0;
  color: #3f3f3f;
  line-height: 1.95;
}

.article__body li + li {
  margin-top: 4px;
}

.article__body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article__body strong {
  color: var(--strong);
}

.article__body code {
  padding: 1px 5px;
  border-radius: 2px;
  background: var(--tint);
  color: #b03a00;
  font-family: var(--mono);
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

.article__body table {
  margin: 24px 0;
  border: 1px solid var(--line);
  font-size: 14.9px;
}

.article__body th,
.article__body td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.article__body th {
  background: var(--tint-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article__body tr:last-child td {
  border-bottom: 0;
}

.article__body blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--blue);
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.9;
}

.article__end {
  max-width: 840px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article__end p {
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.8;
}

.article__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-related {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-related h2 {
  font-size: 22px;
  font-weight: 700;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--strong);
  transition: border-color var(--fast) var(--ease);
}

.related-card:hover {
  border-color: var(--blue);
  color: var(--strong);
}

.related-card__kicker {
  color: var(--muted-light);
  font-size: 9.4px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.related-card__title {
  font-size: 15.4px;
  font-weight: 700;
  line-height: 1.6;
}

.related-card__meta {
  margin-top: auto;
  color: var(--muted);
  font-size: 12.1px;
}

/* Article listing */
.article-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.article-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 92px 44px;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: var(--strong);
}

.article-card:hover {
  color: var(--strong);
}

.article-card__kicker {
  color: var(--muted-light);
  font-size: 9.9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-card__title {
  margin-top: 6px;
  font-size: clamp(18.7px, 2vw, 23.1px);
  font-weight: 700;
  line-height: 1.5;
}

.article-card:hover .article-card__title {
  color: var(--blue);
}

.article-card__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  color: var(--muted);
  font-size: 12.1px;
  white-space: nowrap;
}

.article-card__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
}

.article-card:hover .article-card__arrow {
  border-color: var(--blue);
  color: var(--blue);
}

.article-card__arrow svg {
  width: 15px;
  height: 15px;
}

.article-related {
  max-width: 840px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-related h2 {
  font-size: 22px;
  font-weight: 700;
}

.feature-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slots__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.slots__title strong {
  color: var(--strong);
  font-size: 16.5px;
}

.slots__title span {
  color: var(--muted);
  font-size: 13.2px;
  line-height: 1.7;
}

.result-item.is-target {
  background: var(--blue-soft);
}

.result-item.is-target .result-item__city {
  color: var(--blue-hover);
}

.diff-headline__join {
  color: rgba(255, 255, 255, 0.55);
}

.overlap__other sup {
  color: var(--blue);
  font-size: 8.8px;
  vertical-align: super;
  line-height: 0;
}

.faq-group {
  margin-top: 42px;
}

.faq-group:first-child {
  margin-top: 0;
}

.faq-group > h2 {
  margin-bottom: 10px;
  font-size: clamp(24.2px, 2.6vw, 30.8px);
}

.section--dark .steps {
  border-color: rgba(255, 255, 255, 0.14);
}

.section--dark .step {
  border-color: rgba(255, 255, 255, 0.14);
}

.section--dark .step::before {
  color: #9dc0ff;
}

.section--dark .step h3 {
  color: var(--white);
}

.section--dark .step p {
  color: rgba(255, 255, 255, 0.6);
}

.city-region {
  margin-top: clamp(38px, 5vw, 56px);
}

.city-region:first-child {
  margin-top: 0;
}

.city-region .section-head {
  margin-bottom: 24px;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.city-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--strong);
  transition: border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.city-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  color: var(--strong);
}

.city-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.city-card__name {
  font-size: 17.6px;
  font-weight: 700;
}

.city-card__en {
  color: var(--muted-light);
  font-size: 9.4px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.city-card__time {
  margin-top: 6px;
  color: var(--strong);
  font-family: var(--mono);
  font-size: 26.4px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.city-card__meta {
  color: var(--muted);
  font-size: 12.1px;
}

@media (max-width: 1180px) {
  .city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .feature-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-side {
    margin-left: auto;
  }

  .article-card {
    grid-template-columns: minmax(0, 1fr) 44px;
  }
}

@media (max-width: 767px) {
  .feature-grid--3 {
    grid-template-columns: 1fr;
  }

  .city-grid {
    grid-template-columns: 1fr;
  }

  .article__body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .article-card {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .article-card__kicker {
    grid-column: 1 / -1;
  }

  .article-card__meta {
    display: none;
  }

  .article-card__arrow {
    grid-column: 2;
    grid-row: 2;
  }

  .article-card > span:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .slots__title {
    display: block;
  }

  .slots__title span {
    display: block;
    margin-top: 4px;
  }
}


/* --------------------------------------------------------------------------
   FAQ, CTA, footer
   -------------------------------------------------------------------------- */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  color: var(--strong);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  flex: none;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 17.6px;
  font-weight: 400;
  line-height: 1.5;
  transition: transform var(--fast) var(--ease);
}

.faq-item[open] summary::before {
  content: "−";
}

.faq-item summary span {
  flex: 1;
}

.faq-item summary .faq-mark {
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
}

.faq-item__answer {
  padding: 0 0 20px 30px;
  color: var(--muted);
  font-size: 14.9px;
  line-height: 1.9;
}

.faq-item__answer a,
.callout a,
.section-foot p a,
.form-note a,
.prose-block a {
  color: var(--blue-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq-item__answer p + p {
  margin-top: 8px;
}

.home-faq {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.home-faq__aside {
  position: sticky;
  top: calc(var(--header-offset) + 24px);
}

.home-faq__aside h2 {
  margin-top: 14px;
}

.home-faq__aside p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.3px;
  line-height: 1.8;
}

.home-faq__aside .arrow-link {
  margin-top: 18px;
}

.cta {
  padding-block: clamp(48px, 6vw, 76px);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
}

.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  max-width: 700px;
  color: var(--white);
  font-size: clamp(28.6px, 3.6vw, 44px);
  line-height: 1.3;
}

.cta p {
  max-width: 620px;
  margin-top: 12px;
  font-size: 14.9px;
  line-height: 1.8;
}

.site-footer {
  padding-top: clamp(44px, 6vw, 64px);
  background: var(--footer);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.8px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(4, minmax(0, 0.62fr));
  gap: clamp(20px, 3.6vw, 48px);
  padding-bottom: 40px;
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand .brand__icon {
  background: var(--blue);
}

.footer-brand .brand__en {
  color: rgba(255, 255, 255, 0.58);
}

.footer-brand__text {
  max-width: 340px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13.2px;
  line-height: 1.9;
}

.footer-brand__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.footer-brand__status .dot {
  width: 5px;
  height: 5px;
  background: #52c99a;
}

.footer-col__title {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9.9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.8px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col__title {
  margin-bottom: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 56px 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.56);
  font-size: 12.1px;
}

.footer-bottom p + p {
  margin-top: 4px;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom a:hover {
  color: var(--white);
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--strong);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--fast) var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.to-top svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   About / privacy / misc
   -------------------------------------------------------------------------- */

.simple-page {
  padding-block: clamp(34px, 5vw, 56px) var(--section);
}

.simple-page__head {
  max-width: 840px;
}

.simple-page__head h1 {
  margin-top: 12px;
  font-size: clamp(35.2px, 4.4vw, 50.6px);
}

.simple-page__body {
  max-width: 840px;
  margin-top: 30px;
}

.simple-page__body h2 {
  margin: 38px 0 12px;
  font-size: 26.4px;
  font-weight: 700;
}

.simple-page__body h2:first-child {
  margin-top: 0;
}

.simple-page__body p {
  color: #444444;
  font-size: 16.5px;
  line-height: 1.95;
}

.simple-page__body p + p {
  margin-top: 12px;
}

.simple-page__body ul {
  margin: 14px 0;
  color: #444444;
  font-size: 15.4px;
  line-height: 1.9;
}

.simple-page__body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.value-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--tint-2);
}

.value-card h3 {
  font-family: var(--font);
  font-size: 16.5px;
  font-weight: 700;
}

.value-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.8;
}

.page-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.page-nav a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--strong);
}

.page-nav a:hover {
  border-color: var(--blue);
}

.page-nav small {
  color: var(--muted-light);
  font-size: 9.9px;
  letter-spacing: 0.12em;
}

.page-nav span {
  font-size: 15.4px;
  font-weight: 700;
}

.page-nav a:last-child {
  text-align: right;
}

.notfound {
  display: grid;
  place-items: center;
  min-height: 72vh;
  padding-block: 60px;
  text-align: center;
}

.notfound__code {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 13.2px;
  letter-spacing: 0.2em;
}

.notfound h1 {
  margin-top: 14px;
  font-size: clamp(35.2px, 5vw, 57.2px);
}

.notfound p {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 15.4px;
  line-height: 1.8;
}

.notfound .button-row {
  justify-content: center;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Reveal animation & reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .header-clock {
    display: none;
  }

  .nav__link,
  .nav__drop-btn {
    padding-inline: 9px;
    font-size: 14.3px;
  }
}

@media (hover: none) {
  .clock-card__remove {
    opacity: 1;
  }
}

@media (max-width: 1023px) {
  :root {
    --header-h: 64px;
    --header-offset: 113px;
  }

  .header-inner {
    gap: 14px;
  }

  .header-side {
    display: none;
  }

  .site-header {
    height: var(--header-offset);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .header-inner {
    height: var(--header-h);
  }

  .clock-filler {
    display: none;
  }

  .menu-btn {
    display: none;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: auto;
    height: 48px;
    margin: 0;
    padding: 0 var(--gutter);
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--white);
    border-top: 1px solid var(--line);
    transform: none;
    visibility: visible;
    transition: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav__item {
    flex: 0 0 auto;
    position: static;
    border: 0;
  }

  .nav__link,
  .nav__drop-btn {
    display: inline-flex;
    width: auto;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    font-size: 15.4px;
    border-radius: 0;
    white-space: nowrap;
  }

  .nav__link {
    position: relative;
  }

  .nav__link[aria-current="page"]::after {
    display: block;
    left: 8px;
    right: 8px;
    bottom: 0;
    height: 2px;
  }

  .nav .nav__item .nav__panel,
  .nav .nav__item.is-open .nav__panel {
    position: fixed;
    top: var(--header-offset);
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    max-height: calc(100vh - var(--header-offset) - 24px);
    display: none;
    padding: 10px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-pop);
    transform: none;
    animation: none;
    z-index: 130;
  }

  .nav .nav__item.is-open .nav__panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .nav__panel a {
    padding: 12px;
    background: var(--tint-2);
    font-size: 15.4px;
  }

  .nav__panel-head {
    display: none;
  }

  .clock-grid,
  .clock-board--4 .clock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-grid,
  .country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tool-intro__side {
    border-left-width: 2px;
  }

  .tool-layout {
    grid-template-columns: 1fr;
  }

  .time-hero,
  .big-clock-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .time-hero > .live-clock,
  .hero-clock {
    max-width: 640px;
  }

  .home-faq {
    grid-template-columns: 1fr;
  }

  .home-faq__aside {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .article-card__kicker {
    grid-column: 1 / -1;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col__aside {
    position: static;
  }
}

@media (max-width: 767px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .quick-grid,
  .tool-grid,
  .country-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 0;
    padding: 18px 20px;
  }

  .quick-card__note {
    margin-top: 2px;
  }

  .clock-grid,
  .clock-board--4 .clock-grid {
    grid-template-columns: 1fr;
  }

  .clock-card {
    padding: 18px 18px 16px;
  }

  .clock-card__time {
    font-size: 41.8px;
  }

  .clock-board__head {
    align-items: flex-start;
  }

  .clock-board__tools {
    width: 100%;
    justify-content: space-between;
  }

  .city-search {
    width: 100%;
    flex: 1 1 170px;
  }

  .settings-grid,
  .zone-grid {
    grid-template-columns: 1fr;
  }

  .convert-form {
    grid-template-columns: 1fr;
  }

  .result-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .article__toc ol {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .planner__row {
    grid-template-columns: 1fr;
  }

  .swap-btn {
    width: 100%;
    height: 34px;
  }

  .swap-btn svg {
    transform: rotate(90deg);
  }

  .slot-item {
    grid-template-columns: 1fr auto;
  }

  .slot-item__other {
    grid-column: 1 / -1;
    order: 3;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .page-nav {
    grid-template-columns: 1fr;
  }

  .page-nav a:last-child {
    text-align: left;
  }

  .article-card {
    padding: 20px 0;
  }

  .article-card__meta {
    display: none;
  }

  .city-search__list {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 559px) {
  .header-inner {
    padding-inline: 0;
  }

  .brand__en {
    display: none;
  }

  .brand__name {
    font-size: 18.7px;
  }

  .brand__icon {
    width: 32px;
    height: 32px;
  }

  .hero__eyebrow span + span::before {
    display: none;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 57.2px);
  }

  .hero__notes {
    gap: 6px 14px;
  }

  .result-list {
    grid-template-columns: 1fr;
  }

  .fact-strip,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .clock-board__foot {
    align-items: flex-start;
  }

  .clock-board__foot-actions {
    width: 100%;
    justify-content: space-between;
  }

  .live-clock__time {
    font-size: clamp(52.8px, 15vw, 70.4px);
  }

  .page-hero--dark {
    padding-bottom: 32px;
  }

  .zone-card {
    padding: 16px;
  }

  .panel {
    padding: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-col {
    gap: 7px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .to-top {
    right: 12px;
    bottom: 12px;
  }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .to-top,
  .clock-board__tools,
  .clock-board__foot,
  .button,
  .table-tools {
    display: none !important;
  }

  body {
    padding-top: 0;
    color: #000;
    font-size: 13.2px;
  }

  .hero,
  .section--tint,
  .page-hero--dark,
  .big-clock-card,
  .planner-result {
    background: #fff !important;
    color: #000 !important;
    border: 0;
    padding-block: 12px;
  }

  .live-clock__time,
  .live-clock__date,
  .page-hero--dark h1,
  .big-clock-card h2 {
    color: #000 !important;
  }

  .table-wrap,
  .table-scroll {
    border: 0;
    overflow: visible;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
