/* Resources and its guides: legal.css's readable document, with the
   homepage's header (the mark, the links, Book a demo) and its buttons. */
:root {
  --line-strong: #d5dbe1;
  --surface-hover: #f6f8fa;
  --brand-hover: #5149e6;
  --on-brand: #ffffff;
  --brand-text: #635bff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --line-strong: #3a414e;
    --surface-hover: #1a1e25;
    --brand-text: #9690ff;
  }
}
.page {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.actions .text-link {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.actions .text-link:hover,
.actions .text-link[aria-current] {
  color: var(--brand-text);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.button.primary {
  background: var(--brand);
  color: var(--on-brand);
}
.button.primary:hover {
  background: var(--brand-hover);
}
.button.large {
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
}
footer {
  margin-top: auto;
}
@media (max-width: 520px) {
  .brand {
    gap: 10px;
  }
  .actions .wide {
    display: none;
  }
  header .button {
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }
}
/* Small capitals over a title. */
.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.lead {
  margin: 0 0 32px;
  font-size: 19px;
  color: var(--muted);
}
/* Resources: each guide a link with its line. */
.guides {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.guides li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.guides a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  text-decoration: none;
}
.guides strong {
  font-size: 21px;
  line-height: 1.3;
}
.guides a:hover strong {
  color: var(--brand-text);
}
.guides span {
  color: var(--muted);
}
/* A guide: numbered steps, each with what to do this week. */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 8px 0 0;
}
.steps > li {
  counter-increment: step;
  margin: 0;
  padding: 28px 0 0 52px;
  position: relative;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 30px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-text);
  border: 1.5px solid var(--line-strong);
}
.steps h2 {
  margin: 0 0 6px;
}
.start {
  margin: 10px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--brand);
  background: var(--surface-hover);
  border-radius: 0 6px 6px 0;
}
.start b {
  color: var(--ink);
}
.cite {
  font-size: 14px;
  color: var(--muted);
}
.close {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.close .button {
  margin-top: 8px;
}
@media (max-width: 520px) {
  .steps > li {
    padding-left: 44px;
  }
  .steps > li::before {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}
