/* Unrote - the /assist/ page: the hero, the rules demo with its log (shared/pages/assist.js), the steps, the admin
   console, the tools, where the data lives, the FAQ and the closing call. Linked after base.css and
   components.css, so a class here wins over a class of the same weight there. */

/* sections and the parts several of them share */
.sec {
  padding: 72px 0;
}
.sec-grey {
  background: #dcdcd6;
}
.split {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.split-text {
  flex: 0 0 38%;
  min-width: 260px;
}
.split-text p {
  margin: 16px 0 0;
  max-width: 36ch;
}
.split-text p + p {
  margin-top: 12px;
}
.price-link {
  font-size: 16px;
}

/* the hero */
.hero {
  padding: 48px 0 72px;
}
.hero-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  align-items: flex-start;
}
.hero-lead {
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

/* the rules demo: a rule per action, and the log that follows them */
.rules-sec {
  padding: 56px 0;
}
.split-text .try-hint {
  margin-top: 24px;
  font-size: 16px;
  color: #55544f;
  max-width: 34ch;
}
.rules-demo {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.rules {
  padding: 4px 24px 2px;
  font-size: 16px;
}
.act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 14px 0;
  border-top: 1px solid #dcdcd6;
}
.act-locked {
  border-top: 2px solid #181715;
}
.act-name {
  font-weight: 600;
  flex: 1 1 220px;
}
.act-note {
  font-size: 16px;
  color: #55544f;
}
.rule-set {
  display: flex;
  gap: 4px;
}
.rule {
  border: 0;
  border-radius: 0;
  background: #dcdcd6;
  color: #181715;
  padding: 0 16px;
  min-height: 44px;
  font: 600 15px/1 'Inter Tight',sans-serif;
  cursor: pointer;
  transition: background-color 200ms ease,transform 160ms cubic-bezier(.23,1,.32,1);
}
.rule:active {
  transform: scale(.97);
}
.rule.on {
  background: #181715;
  color: #e8e8e3;
}
.log {
  padding: 24px 24px 28px;
}
.log-head {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #55544f;
  margin-bottom: 16px;
}
.log-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.log-lines .row {
  display: grid;
  grid-template-columns: 52px 72px 1fr;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid #dcdcd6;
}
.log-lines .tab {
  color: #55544f;
}
.log-lines .who {
  font-weight: 600;
}
.log-foot {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #55544f;
  margin-top: 16px;
  border-top: 1px solid #dcdcd6;
  padding-top: 12px;
}

/* from one server to the whole team */
.start-lead {
  margin-top: 12px;
  max-width: 48ch;
}
.steps {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr));
  gap: 32px 40px;
  font-size: 17px;
}
.steps h3 {
  margin: 0 0 8px;
}

/* one console for the admin */
.ctrl-side {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.note {
  padding: 18px 22px;
  background: #2b2a26;
}
.note b {
  font-weight: 600;
}

/* what it works with */
.tools {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,380px),1fr));
  gap: 40px 64px;
  font-size: 17px;
}
.tools dt {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.tools dd {
  margin: 0;
}

/* where the data lives */
.data-list {
  flex: 1 1 480px;
}

/* questions */
.faq {
  margin-top: 32px;
  margin-left: min(33%,440px);
}
.faq-end {
  border-top: 1px solid #c8c8c2;
}

/* the closing call */
.cta {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.cta-text {
  max-width: 44ch;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cta-mail {
  font-size: 16px;
}

@media (hover:hover) and (pointer:fine) {
  .rule:hover {
    background: #ffffff;
  }
  .rule.on:hover {
    background: #2b2a26;
  }
}
/* a log line that changed with the last rule click settles in (shared/pages/assist.js) */
.log-lines .row.fresh {
  animation: settle 250ms cubic-bezier(.23,1,.32,1) both;
}
@media (prefers-reduced-motion:reduce) {
  .log-lines .row.fresh {
    animation: none;
  }
}
