:root {
  color-scheme: light;
  --brand: #5b6fe9;
  --brand-deep: #3d4fc4;
  --ink: #1a1f3d;
  --muted: #686e85;
  --background: #f4f5fb;
  --surface: #ffffff;
  --line: #e2e6f2;
  --soft: #f1f3fb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(91, 111, 233, 0.16), transparent 34rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-deep); }

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

:focus-visible {
  outline: 3px solid rgba(91, 111, 233, 0.28);
  outline-offset: 3px;
}

.site-header,
.site-footer,
.page-shell {
  width: min(920px, calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(61, 79, 196, 0.2);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

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

.company-home {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-right: 1px solid var(--line);
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a {
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--brand-deep);
  background: var(--soft);
}

.page-shell { padding: 34px 0 80px; }

.document {
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(226, 230, 242, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(26, 31, 61, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.updated {
  display: inline-flex;
  margin: 22px 0 6px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--soft);
  font-size: 13px;
  font-weight: 650;
}

.document section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

h3 { margin: 22px 0 8px; font-size: 17px; }

p { margin: 10px 0; }

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

li + li { margin-top: 7px; }

.callout,
.support-card {
  padding: 18px 20px;
  border: 1px solid #dde5ff;
  border-radius: 18px;
  background: #f9fbff;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.support-card h2 { font-size: 18px; }

.support-card p { color: var(--muted); }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 13px;
  color: #fff;
  background: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.button:hover { color: #fff; background: var(--brand); }

.site-footer {
  padding: 24px 0 44px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.footer-links a { text-decoration: none; }

@media (max-width: 680px) {
  .site-header {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-nav { justify-content: flex-start; }
  .header-links {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }
  .company-home { border-right: 0; }
  .page-shell { padding-top: 18px; }
  .document { border-radius: 22px; }
  .support-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: center; flex-direction: column; }
}

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

/* Trial help copy controls */
button.button { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
