/* Tick日程隐私政策页面：沿用应用品牌色并保持移动端优先。 */
:root {
  --brand: #2f80f7;
  --brand-dark: #2167d9;
  --brand-soft: #eaf3ff;
  --text: #182033;
  --text-secondary: #667085;
  --background: #f7f9fc;
  --surface: #ffffff;
  --border: #e8edf4;
  --warning-soft: #fff8e8;
  --warning-border: #ffc83d;
  --shadow: 0 14px 40px rgb(24 32 51 / 7%);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--background);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 2%, rgb(47 128 247 / 10%), transparent 24rem),
    var(--background);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgb(232 237 244 / 88%);
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-icon {
  position: relative;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: var(--brand);
  box-shadow: 0 6px 14px rgb(47 128 247 / 24%);
}

.brand-icon-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgb(255 255 255 / 24%);
}

.brand-icon-check {
  margin-top: 4px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.header-link {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  max-width: 820px;
  padding: 96px 0 58px;
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1px solid rgb(47 128 247 / 16%);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 6.2vw, 64px);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 750px;
  margin-bottom: 26px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.85;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--text-secondary);
  font-size: 13px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 74px;
}

.summary-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.summary-symbol {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
}

.summary-card h2 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.summary-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.content-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgb(255 255 255 / 74%);
}

.toc-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li {
  margin: 0;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.55;
  transition: color 160ms ease;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--brand-dark);
}

.policy-content {
  min-width: 0;
  padding: 2px 54px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-content section {
  position: relative;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 88px;
}

.policy-content section:last-child {
  border-bottom: 0;
}

.section-number {
  display: block;
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.policy-content h2 {
  margin-bottom: 22px;
  font-size: 27px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.policy-content p,
.policy-content li {
  color: #3f4a5f;
  font-size: 15px;
}

.policy-content p:last-child,
.policy-content ul:last-child {
  margin-bottom: 0;
}

.policy-content ul {
  margin: 0 0 20px;
  padding-left: 1.25em;
}

.policy-content li {
  margin: 9px 0;
  padding-left: 5px;
}

.policy-content strong {
  color: var(--text);
}

.notice {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--warning-border);
  border-radius: 0 12px 12px 0;
  background: var(--warning-soft);
}

.notice p {
  margin: 5px 0 0;
  font-size: 14px;
}

.table-wrap {
  width: 100%;
  margin: 24px 0 15px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
  text-align: left;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  color: #3f4a5f;
  font-size: 13px;
  line-height: 1.65;
  vertical-align: top;
}

th {
  background: var(--background);
  color: var(--text);
  font-weight: 700;
}

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

th:first-child,
td:first-child {
  width: 22%;
  color: var(--text);
  font-weight: 600;
}

.small-text {
  color: var(--text-secondary) !important;
  font-size: 13px !important;
}

.contact-card {
  display: flex;
  margin: 25px 0 14px;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgb(47 128 247 / 16%);
  border-radius: 14px;
  background: var(--brand-soft);
}

.contact-card div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-label {
  color: var(--text-secondary);
  font-size: 12px;
}

.contact-card strong {
  font-size: 18px;
}

.copy-button {
  min-width: 92px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.copy-button:hover {
  background: var(--brand-dark);
}

.copy-button:active {
  transform: scale(0.98);
}

.copy-button:focus-visible,
.header-link:focus-visible,
.brand:focus-visible,
.toc a:focus-visible {
  outline: 3px solid rgb(47 128 247 / 30%);
  outline-offset: 3px;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 64px auto 0;
  padding: 30px 0 46px;
  color: var(--text-secondary);
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 12px;
}

/* 平板与小屏电脑布局。 */
@media (max-width: 900px) {
  .hero {
    padding-top: 72px;
  }

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

  .summary-card {
    min-height: 0;
  }

  .summary-symbol {
    margin-bottom: 20px;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .toc {
    position: static;
  }

  .toc ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 16px;
  }
}

/* 手机端减少留白，保证正文与按钮可舒适点击。 */
@media (max-width: 600px) {
  .header-inner,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    height: 62px;
  }

  .hero {
    padding: 54px 0 38px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 39px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .summary-grid {
    margin-bottom: 42px;
  }

  .summary-card {
    padding: 22px;
    border-radius: 15px;
  }

  .toc {
    padding: 18px;
  }

  .toc ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-content {
    padding: 0 20px;
    border-radius: 16px;
  }

  .policy-content section {
    padding: 42px 0;
  }

  .policy-content h2 {
    font-size: 23px;
  }

  .contact-card {
    padding: 17px;
  }

  footer {
    margin-top: 38px;
  }
}

/* 尊重系统减少动态效果设置。 */
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* 打印时移除导航和交互元素，便于导出为整洁的 PDF。 */
@media print {
  body {
    background: #fff;
  }

  .site-header,
  .toc,
  .copy-button {
    display: none;
  }

  main {
    width: 100%;
  }

  .hero {
    padding-top: 24px;
  }

  .content-layout {
    display: block;
  }

  .policy-content {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .policy-content section {
    break-inside: avoid;
  }
}
