:root {
  --bg: #090c10;
  --surface: #0f141c;
  --surface-elevated: #141b25;
  --surface-app: #0c141d;
  --surface-titlebar: #12171e;
  --cell-weekday: rgba(13, 24, 36, 0.72);
  --cell-weekend: rgba(42, 26, 20, 0.56);
  --ink: #edf1f7;
  --dim: rgba(232, 238, 244, 0.74);
  --faint: rgba(232, 238, 244, 0.64);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --rule: rgba(125, 160, 190, 0.22);
  --rule-strong: rgba(154, 187, 213, 0.34);
  --today: #cddc4a;
  --today-ink: #090c10;
  --festival: #e8c15a;
  --term: #6fcf7f;
  --outlook: #2c5aa0;
  --now-line: #35d8ff;
  --primary-surface: #eef3f8;
  --primary-ink: #090c10;
  --max: 1120px;
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse 85% 440px at 50% 0%, rgba(42, 78, 114, 0.22), transparent 72%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--today);
  outline-offset: 2px;
}

svg {
  display: block;
  fill: currentColor;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--today-ink);
  background: var(--today);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

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

/* ---- Topbar ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 60px;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 12, 16, 0.8);
  backdrop-filter: blur(18px) saturate(140%);
}

.topbar__inner {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__wordmark > span {
  color: var(--today);
}

.brand__mark {
  width: 24px;
  height: 24px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #101720;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand__mark i {
  border-radius: 2px;
  border: 1px solid rgba(237, 241, 247, 0.28);
}

.brand__mark i:last-child {
  border-color: var(--today);
  background: var(--today);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--dim);
  font-size: 13.5px;
}

.nav a {
  transition: color 140ms ease;
}

.nav a:hover {
  color: var(--ink);
}

.topbar__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.locale-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.locale-picker select {
  appearance: none;
  -webkit-appearance: none;
  height: 34px;
  padding: 0 28px 0 11px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.locale-picker select:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
}

.locale-picker__caret {
  position: absolute;
  right: 9px;
  width: 13px;
  height: 13px;
  color: var(--dim);
  pointer-events: none;
}

.topbar__jump {
  height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.topbar__jump:hover {
  background: var(--primary-surface);
  border-color: var(--primary-surface);
  color: var(--primary-ink);
}

/* ---- Sections ---- */
.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* ---- Editorial Hero ---- */
.hero {
  padding: 68px 0 42px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  color: var(--dim);
  font-size: 12px;
  line-height: 1.3;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.hero-pill:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.hero-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--today);
  flex: none;
}

.hero-pill__arrow {
  color: var(--faint);
  font-size: 12px;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f4f7fa;
}

.hero h1 em {
  font-style: normal;
  font-weight: inherit;
  color: rgba(232, 238, 244, 0.62);
}

.hero__lead {
  margin: 18px auto 0;
  max-width: 660px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dim);
  text-wrap: balance;
}

.download-grid {
  margin: 30px auto 0;
  width: min(100%, 540px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.download-card {
  position: relative;
  min-height: 68px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.download-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.26);
  background: var(--surface-elevated);
}

.download-card.is-likely {
  border-color: rgba(238, 243, 248, 0.85);
  background: var(--primary-surface);
  color: var(--primary-ink);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.download-card.is-likely:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.download-card.is-likely::before {
  position: absolute;
  top: 7px;
  right: 12px;
  content: attr(data-recommended);
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(9, 12, 16, 0.08);
  color: rgba(9, 12, 16, 0.72);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.download-card__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.download-card.is-likely .download-card__icon {
  background: rgba(9, 12, 16, 0.07);
}

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

.download-card__copy {
  min-width: 0;
}

.download-card strong,
.download-card small {
  display: block;
}

.download-card strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.download-card small {
  margin-top: 2px;
  color: var(--faint);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.download-card.is-likely small {
  color: rgba(9, 12, 16, 0.66);
}

.download-card__arrow {
  padding-top: 0;
  font-size: 16px;
  line-height: 1;
  opacity: 0.72;
}

.download-card.is-likely .download-card__arrow {
  align-self: end;
  margin-bottom: 2px;
}

.hero__meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--faint);
  font-size: 12.5px;
}

.hero__meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

/* ---- Interactive Desktop Preview Stage ---- */
.stage-section {
  padding-bottom: 48px;
}

.desktop-stage {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(28, 72, 102, 0.24), transparent 65%),
    radial-gradient(700px 400px at 88% 100%, rgba(16, 86, 94, 0.16), transparent 65%),
    linear-gradient(180deg, #0e141c 0%, #0a0f15 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.app-window {
  position: relative;
  border-radius: 10px;
  border: 1px solid rgba(154, 187, 213, 0.26);
  background: var(--surface-app);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.app-titlebar {
  min-height: 44px;
  padding: 6px 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
  background: var(--surface-titlebar);
}

.app-titlebar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-pin {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--faint);
  flex: none;
}

.app-pin svg,
.chrome-glyph svg {
  width: 15px;
  height: 15px;
}

.space-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.space-pill {
  height: 26px;
  padding: 0 9px 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--faint);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 130ms ease, background-color 130ms ease, color 130ms ease;
}

.space-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink);
}

.space-pill.is-active {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.space-pill__box {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid var(--dot);
  display: grid;
  place-items: center;
  color: #090c10;
  transition: background-color 130ms ease;
}

.space-pill__box svg {
  width: 10px;
  height: 10px;
  opacity: 0;
}

.space-pill.is-active .space-pill__box {
  background: var(--dot);
}

.space-pill.is-active .space-pill__box svg {
  opacity: 1;
}

.app-date {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.app-titlebar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.view-segment {
  display: inline-flex;
  padding: 2px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.view-segment__btn {
  height: 24px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 130ms ease, color 130ms ease;
}

.view-segment__btn.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.chrome-glyph {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--faint);
}

.week-head {
  height: 30px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
  background: rgba(13, 24, 36, 0.9);
  color: var(--faint);
  font-size: 12px;
}

.week-head span {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--rule);
}

.week-head span.is-weekend {
  color: rgba(232, 193, 90, 0.72);
}

.week-head span:last-child {
  border-right: 0;
}

.calendar-demo {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hybrid-agenda-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}

.preview-cell {
  position: relative;
  min-width: 0;
  min-height: 132px;
  padding: 9px 10px 10px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--cell-weekday);
  display: flex;
  flex-direction: column;
}

.hybrid-agenda-strip .preview-cell {
  min-height: 108px;
  border-bottom: 0;
}

.preview-cell:nth-child(7n) {
  border-right: 0;
}

.calendar-demo .preview-cell:nth-last-child(-n + 7) {
  border-bottom: 0;
}

.preview-cell.is-weekend {
  background: var(--cell-weekend);
}

.preview-cell.is-today {
  z-index: 2;
  box-shadow: inset 0 0 0 1.5px var(--today);
}

.preview-cell__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.preview-cell__head b {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.preview-cell.is-today .preview-cell__head b {
  color: var(--today);
}

.preview-cell__lunar {
  font-size: 11px;
  color: rgba(232, 238, 244, 0.5);
  white-space: nowrap;
}

.preview-cell__lunar.is-term {
  color: var(--term);
}

.preview-cell__lunar.is-festival {
  color: var(--festival);
}

.preview-cell__tasks {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.preview-task {
  width: 100%;
  padding: 2px 3px;
  margin: 0 -3px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(237, 241, 247, 0.9);
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.preview-task:hover {
  background: rgba(255, 255, 255, 0.06);
}

.preview-task.is-filtered-out {
  display: none;
}

.preview-task__bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--dot);
  display: grid;
  place-items: center;
  color: #090c10;
  flex: none;
  transition: background-color 120ms ease;
}

.preview-task__bullet svg {
  width: 7px;
  height: 7px;
  opacity: 0;
}

.preview-task.is-done .preview-task__bullet {
  background: var(--dot);
}

.preview-task.is-done .preview-task__bullet svg {
  opacity: 1;
}

.preview-task__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-task.is-done .preview-task__text {
  color: rgba(232, 238, 244, 0.36);
  text-decoration: line-through;
}

.preview-draft {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 2px 4px;
  margin-left: -4px;
  margin-right: -4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--ink);
}

.preview-draft span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.spec-caret {
  display: inline-block;
  width: 1.5px;
  height: 12px;
  margin-left: 2px;
  background: var(--today);
}

.editor-strip {
  margin-top: 8px;
  align-self: flex-start;
  height: 26px;
  padding: 0 3px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(28, 31, 38, 0.96);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.editor-strip span {
  width: 22px;
  height: 20px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--dim);
  font-size: 11px;
}

.editor-strip span:first-child {
  background: rgba(10, 132, 255, 0.18);
  color: #64b5ff;
}

/* ---- Hybrid Preview Pane ---- */
.hybrid-status-bar {
  height: 28px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--rule);
  background: rgba(16, 28, 42, 0.92);
  color: var(--dim);
  font-size: 11.5px;
}

.hybrid-status-bar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38c97e;
}

.hybrid-timeline {
  display: grid;
  grid-template-columns: 48px 1fr;
  height: 170px;
}

.hybrid-hours {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 6px 6px 0;
  border-right: 1px solid var(--rule);
  background: rgba(10, 19, 29, 0.86);
  color: rgba(232, 238, 244, 0.5);
  font: 10px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hybrid-cols {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hybrid-col {
  position: relative;
  border-right: 1px solid var(--rule);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 33px,
      rgba(125, 160, 190, 0.14) 34px
    ),
    var(--cell-weekday);
}

.hybrid-col:last-child {
  border-right: 0;
}

.hybrid-col.is-weekend {
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 33px,
      rgba(125, 160, 190, 0.12) 34px
    ),
    var(--cell-weekend);
}

.hybrid-col.is-today {
  box-shadow: inset 0 0 0 1px var(--today);
}

.hybrid-now-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 86px;
  z-index: 3;
  border-top: 2px solid var(--now-line);
}

.hybrid-now-line::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--now-line);
}

.hybrid-event {
  position: absolute;
  left: 5px;
  right: 5px;
  z-index: 2;
  padding: 4px 6px;
  border-radius: 4px;
  border-left: 2px solid #74abff;
  background: var(--outlook);
  color: #ffffff;
  font-size: 11px;
  line-height: 1.25;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hybrid-event strong {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hybrid-event span {
  font-size: 10px;
  opacity: 0.78;
}

.hybrid-event.is-cancelled {
  border-left-color: rgba(232, 238, 244, 0.45);
  background: repeating-linear-gradient(
    -45deg,
    rgba(88, 101, 114, 0.88) 0,
    rgba(88, 101, 114, 0.88) 5px,
    rgba(68, 79, 90, 0.88) 5px,
    rgba(68, 79, 90, 0.88) 10px
  );
  text-decoration: line-through;
  opacity: 0.84;
}

.stage-caption {
  margin: 14px 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 12.5px;
}

/* ---- Features Section ---- */
.section--features {
  padding: 56px 0 36px;
}

.eyebrow {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 20px;
  height: 1.5px;
  background: var(--today);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-heading > p:last-child {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 15px;
  text-wrap: balance;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  grid-column: span 2;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 150ms ease;
}

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

.feature--wide {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 32px;
  padding: 28px;
}

.feature--sync {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  padding: 28px;
}

.feature__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.feature h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.feature p {
  margin: 0;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.68;
}

.feature__tag {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--faint);
  font-size: 11px;
  font-weight: 500;
}

/* ---- Feature UI Specimens ---- */
.specimen {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0a1018;
  padding: 16px;
}

.specimen--editor {
  display: grid;
  grid-template-columns: 1fr 188px;
  gap: 12px;
  align-items: start;
}

.spec-cell {
  min-height: 136px;
  padding: 12px;
  border-radius: 8px;
  border: 1.5px solid var(--today);
  background: var(--cell-weekday);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-cell__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
}

.spec-cell__head b {
  color: var(--today);
}

.spec-cell__head span {
  color: var(--faint);
  font-size: 11px;
}

.spec-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink);
}

.spec-line--active {
  padding: 4px 6px;
  margin: 0 -6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
}

.spec-line span {
  display: inline-flex;
  align-items: center;
}

.spec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--today);
  flex: none;
}

.spec-dot--work {
  border-color: #3b9eff;
}

.spec-dot--personal {
  border-color: #38c97e;
}

.spec-popover {
  padding: 9px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1c1f26;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.48);
  font-size: 12px;
}

.spec-popover__title {
  padding: 2px 4px 4px;
  font-size: 11px;
  color: var(--faint);
}

.spec-popover__row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 6px;
  border-radius: 5px;
  color: var(--dim);
}

.spec-popover__row.is-selected {
  background: rgba(10, 132, 255, 0.18);
  color: var(--ink);
}

.spec-popover__row b {
  margin-left: auto;
  font-size: 11px;
  color: #64b5ff;
}

.spec-swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.spec-popover__sep {
  height: 1px;
  margin: 6px 2px;
  background: rgba(255, 255, 255, 0.09);
}

.spec-popover__colors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 2px;
}

.spec-popover__colors i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.spec-popover__colors i.is-on {
  box-shadow: 0 0 0 2px #1c1f26, 0 0 0 3.5px #ffffff;
}

.spec-switcher {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
}

.spec-switcher__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.spec-check {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.5px solid var(--dot);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #090c10;
  flex: none;
}

.spec-check.is-checked {
  background: var(--dot);
}

.spec-switcher__name {
  flex: 1;
  color: var(--ink);
}

.spec-primary {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--faint);
  font-size: 10.5px;
}

.spec-switcher__foot {
  margin-top: 2px;
  padding: 6px 8px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-size: 11.5px;
}

.spec-switcher__foot em {
  font-style: normal;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.spec-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.spec-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dim);
}

.spec-toggle {
  width: 28px;
  height: 16px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
}

.spec-toggle.is-on {
  background: #0a84ff;
  justify-content: flex-end;
}

.spec-toggle i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
}

.spec-repeat-row {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 11.5px;
}

.spec-repeat-row > span:first-child {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spec-badge {
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
}

.spec-badge--rest {
  background: rgba(56, 201, 126, 0.18);
  color: #6fcf7f;
}

.spec-badge--work {
  background: rgba(232, 168, 72, 0.18);
  color: #e8a848;
}

.spec-hybrid {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  border: 1px solid var(--rule);
  overflow: hidden;
}

.spec-hybrid__tasks {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--rule);
  background: var(--cell-weekday);
  font-size: 12px;
}

.spec-hybrid__grid {
  position: relative;
  height: 96px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 23px,
      rgba(125, 160, 190, 0.12) 24px
    ),
    var(--cell-weekday);
}

.spec-hybrid__now {
  position: relative;
  border-top: 1.5px solid var(--now-line);
}

.spec-event {
  padding: 5px 8px;
  border-radius: 4px;
  border-left: 2px solid #74abff;
  background: var(--outlook);
  color: #ffffff;
  font-size: 11.5px;
}

.spec-event--cancelled {
  border-left-color: rgba(232, 238, 244, 0.45);
  background: repeating-linear-gradient(
    -45deg,
    rgba(88, 101, 114, 0.85) 0,
    rgba(88, 101, 114, 0.85) 5px,
    rgba(68, 79, 90, 0.85) 5px,
    rgba(68, 79, 90, 0.85) 10px
  );
  text-decoration: line-through;
  opacity: 0.84;
}

.specimen--sync {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.spec-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.spec-node {
  min-height: 44px;
  padding: 8px 10px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.spec-node--relay {
  border-color: rgba(205, 220, 74, 0.35);
  background: rgba(205, 220, 74, 0.06);
}

.spec-wire {
  padding: 0 4px;
  text-align: center;
  font: 10px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
  color: var(--faint);
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-pills span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--dim);
  font-size: 11.5px;
}

/* ---- Desktop Craft Spec Row ---- */
.specs-strip {
  margin-top: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 20, 28, 0.65);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spec-item {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
}

.spec-item:last-child {
  border-right: 0;
}

.spec-item h4 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.spec-item p {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.65;
}

/* ---- Install Section ---- */
.install {
  padding: 56px 0 36px;
}

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

.install-card {
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
}

.install-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  color: var(--ink);
  flex: none;
}

.platform-symbol svg {
  width: 21px;
  height: 21px;
}

.install-card__head span,
.install-card__head strong {
  display: block;
}

.install-card__head div > span {
  font-size: 17px;
  font-weight: 600;
}

.install-card__head strong {
  margin-top: 2px;
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.install-card ol {
  margin: 22px 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.install-card li {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid var(--border);
}

.install-card li:last-child {
  border-bottom: 0;
}

.install-card li > span {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--dim);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.install-card li p {
  margin: 0;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.6;
}

.install-card__cta {
  min-height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.install-card__cta:hover,
.install-card__cta.is-likely {
  border-color: var(--primary-surface);
  background: var(--primary-surface);
  color: var(--primary-ink);
}

.checksum-link,
.checksum-links {
  margin: 12px 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 12px;
}

.checksum-link a,
.checksum-links a {
  color: var(--dim);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
}

.checksum-link a:hover,
.checksum-links a:hover {
  color: var(--today);
  text-decoration-color: var(--today);
}

/* ---- Release Log ---- */
.release-log {
  padding: 56px 0 72px;
}

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

.release-entry {
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) 1fr;
  gap: 36px;
  border-bottom: 1px solid var(--border);
}

.release-entry[data-current="true"] {
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 10px;
  margin-top: 10px;
  border: 1px solid rgba(205, 220, 74, 0.28);
  background: rgba(205, 220, 74, 0.04);
}

.release-entry__meta > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.release-entry h3 {
  margin: 0;
  font: 600 17px/1.25 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: -0.02em;
}

.release-entry__latest {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(205, 220, 74, 0.45);
  background: rgba(205, 220, 74, 0.12);
  color: var(--today);
  font-size: 11px;
  font-weight: 500;
}

.release-entry__meta > span {
  margin-top: 6px;
  display: block;
  color: var(--faint);
  font-size: 12.5px;
}

.release-entry time {
  font-variant-numeric: tabular-nums;
}

.release-entry ul {
  margin: 0;
  padding-left: 18px;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.72;
}

.release-entry li + li {
  margin-top: 6px;
}

.release-entry li::marker {
  color: var(--today);
}

.release-archive {
  margin-top: 16px;
}

.release-archive summary {
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--dim);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 140ms ease, color 140ms ease;
}

.release-archive summary::-webkit-details-marker {
  display: none;
}

.release-archive summary::before {
  content: "▸";
  color: var(--today);
  font-size: 12px;
  transition: transform 140ms ease;
}

.release-archive[open] summary::before {
  transform: rotate(90deg);
}

.release-archive summary:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.release-archive__list {
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.footer__inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.footer__note {
  margin: 10px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.footer-contact {
  margin: 0;
}

.footer-contact a {
  color: var(--dim);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.22);
  text-underline-offset: 4px;
}

.footer-contact a:hover {
  color: var(--today);
  text-decoration-color: var(--today);
}

/* ---- Responsive Breakpoints ---- */
@media (max-width: 1020px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature {
    grid-column: span 1;
  }

  .feature--wide,
  .feature--sync {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

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

  .spec-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .spec-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .topbar {
    height: auto;
    min-height: 58px;
    padding: 8px 0;
  }

  .topbar__inner,
  .section,
  .footer__inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .topbar__inner {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    padding-top: 6px;
    border-top: 1px solid var(--border);
    font-size: 13px;
  }

  .hero {
    padding: 40px 0 28px;
  }

  .desktop-stage {
    padding: 10px;
    border-radius: 12px;
  }

  .app-titlebar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .app-date {
    text-align: left;
  }

  .app-titlebar__right {
    justify-content: flex-start;
    gap: 10px;
  }

  .preview-pane {
    overflow-x: auto;
  }

  .week-head,
  .calendar-demo,
  .hybrid-agenda-strip,
  .hybrid-status-bar,
  .hybrid-timeline {
    min-width: 680px;
  }

  .feature-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature--wide,
  .feature--sync {
    grid-column: span 1;
  }

  .specimen--editor {
    grid-template-columns: 1fr;
  }

  .spec-flow {
    grid-template-columns: 1fr;
  }

  .release-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 470px) {
  .topbar__jump {
    display: none;
  }

  .hero-pill {
    font-size: 11px;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .download-card.is-likely::before {
    top: 8px;
    right: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .download-card,
  .topbar__jump,
  .install-card__cta,
  .locale-picker select,
  .space-pill,
  .view-segment__btn {
    border: 1px solid currentColor;
  }
}
