/* The client manual (#249), in the look of the invitation mail. The IBM Plex faces are declared in wizard.css. */
.manual {
  --manual-accent: #c2410c;
  --manual-accent-light: #fffaf6;
  --manual-ink: #1c1917;
  --manual-text: #44403c;
  --manual-grey: #57534e;
  --manual-border: #e5e3dc;
  --manual-border-strong: #d8d5cb;
  --manual-ground: #f6f5f1;
  --manual-info-bg: #eef2fb;
  --manual-info-border: #c5d3f1;
  --manual-info-text: #1e3a8a;
  --manual-green: #15803d;
  --manual-mono: "IBM Plex Mono", ui-monospace, monospace;
  font-family: "IBM Plex Sans", system-ui, Arial, sans-serif;
  color: var(--manual-text);
  font-size: 16px;
  line-height: 1.6;
  background: var(--manual-ground);
  -webkit-font-smoothing: antialiased;
  padding: 32px 0 8px;
  min-height: 100vh;
}

.manual *,
.manual *::before,
.manual *::after {
  box-sizing: border-box;
}

.manual h1,
.manual h2,
.manual h3 {
  color: var(--manual-ink);
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
}

.manual p {
  margin: 0 0 12px;
}

.manual strong,
.manual .manual-ui {
  font-weight: 600;
  color: var(--manual-ink);
}

.manual a {
  color: var(--manual-accent);
}

.manual :focus-visible {
  outline: 3px solid var(--manual-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.manual .manual-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.manual .manual-card,
.manual .manual-hero .manual-wrap {
  background: #fff;
  border: 1px solid var(--manual-border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.06);
}

.manual .manual-hero {
  padding: 0 24px;
  margin-bottom: 20px;
}

.manual .manual-hero .manual-wrap {
  padding: 40px 36px;
}

.manual .manual-eyebrow {
  font-family: var(--manual-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--manual-grey);
  margin-bottom: 20px;
}

.manual .manual-hero h1 {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
  max-width: 680px;
  line-height: 1.15;
}

.manual .manual-hero p {
  font-size: 18px;
  max-width: 620px;
  margin: 16px 0 0;
}

.manual .manual-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 40px;
}

.manual .manual-needs {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 28px 32px;
}

.manual .manual-needs h2,
.manual .manual-overview h2,
.manual .manual-cta h2 {
  font-size: 20px;
}

.manual .manual-checks {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
}

.manual .manual-checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.manual .manual-checks li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 7px;
  height: 13px;
  border: solid var(--manual-green);
  border-width: 0 2.6px 2.6px 0;
  transform: rotate(45deg);
}

.manual .manual-overview {
  padding: 28px 32px;
}

.manual .manual-overview h2 {
  margin-bottom: 24px;
}

.manual .manual-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.manual .manual-track::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 19px;
  height: 1.5px;
  background: var(--manual-border-strong);
}

.manual .manual-track > li {
  padding-left: 0;
  margin-top: 0;
}

.manual .manual-track > li::before {
  content: none;
}

.manual .manual-dot {
  text-align: center;
  position: relative;
}

.manual .manual-dot a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 0 4px;
  border-radius: 10px;
}

.manual .manual-dot__number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #a8a29e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--manual-grey);
  position: relative;
  z-index: 1;
}

.manual .manual-dot__name {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-top: 8px;
  color: var(--manual-ink);
}

.manual .manual-dot__what {
  display: block;
  font-size: 13px;
  color: var(--manual-grey);
  line-height: 1.35;
  margin-top: 2px;
}

.manual .manual-dot--tool .manual-dot__number {
  background: var(--manual-ink);
  border-color: var(--manual-ink);
  color: #fff;
}

.manual .manual-dot--focus .manual-dot__number {
  background: var(--manual-accent);
  border-color: var(--manual-accent);
  color: #fff;
}

.manual .manual-dot--focus .manual-dot__name {
  color: var(--manual-accent);
}

.manual .manual-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 24px 0 20px;
  font-size: 13px;
  color: var(--manual-grey);
}

.manual .manual-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: -1px;
  margin-right: 6px;
  border: 1.5px solid #a8a29e;
  background: #fff;
}

.manual .manual-legend--tool i {
  background: var(--manual-ink);
  border-color: var(--manual-ink);
}

.manual .manual-legend--focus i {
  background: var(--manual-accent);
  border-color: var(--manual-accent);
}

.manual .manual-button {
  display: inline-block;
  background: var(--manual-accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 2px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.manual .manual-step {
  padding: 0 32px 28px;
  scroll-margin-top: 16px;
  overflow: hidden;
}

.manual .manual-step__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 -32px 24px;
  padding: 22px 32px;
  border-bottom: 1px solid var(--manual-border);
}

.manual .manual-step__number {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--manual-ink);
  color: #fff;
  font-weight: 600;
  font-size: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.manual .manual-step__label {
  font-family: var(--manual-mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--manual-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}

.manual .manual-step h2,
.manual .manual-faq h2 {
  font-size: clamp(21px, 3.5vw, 26px);
  font-weight: 700;
}

.manual .manual-lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--manual-ink);
  margin-bottom: 14px;
}

.manual h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--manual-grey);
  margin: 28px 0 10px;
}

.manual .manual-actions {
  list-style: none;
  counter-reset: manual-action;
  margin: 8px 0 20px;
  padding: 0;
}

.manual .manual-actions > li {
  counter-increment: manual-action;
  position: relative;
  padding-left: 40px;
  margin: 0 0 12px;
}

.manual .manual-actions > li::before {
  content: counter(manual-action);
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #a8a29e;
  color: var(--manual-ink);
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manual .manual-sub {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.manual .manual-sub li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.manual .manual-sub li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 2px;
  background: var(--manual-accent);
}

.manual .manual-tip {
  background: var(--manual-info-bg);
  border: 1px solid var(--manual-info-border);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 16px 0 0;
  color: var(--manual-info-text);
}

.manual .manual-tip strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
  color: var(--manual-info-text);
}

.manual .manual-tip p,
.manual .manual-tip .manual-ui {
  margin: 0;
  color: var(--manual-info-text);
}

.manual .manual-faq {
  padding: 0 32px 24px;
  overflow: hidden;
}

.manual .manual-faq h2 {
  margin: 0 -32px 16px;
  padding: 22px 32px;
  border-bottom: 1px solid var(--manual-border);
}

.manual details {
  border: 1px solid var(--manual-border-strong);
  border-radius: 14px;
  margin-bottom: 10px;
  padding: 0 18px;
}

.manual summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--manual-ink);
  padding: 14px 36px 14px 0;
  position: relative;
}

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

.manual summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 6px;
  font-weight: 500;
  font-size: 26px;
  color: var(--manual-accent);
  transition: transform 0.2s;
}

.manual details[open] summary::after {
  transform: rotate(45deg);
}

.manual details p {
  margin: 0 0 14px;
}

.manual .manual-cta {
  overflow: hidden;
}

.manual .manual-cta h2 {
  padding: 20px 28px;
  border-bottom: 1px solid var(--manual-border);
}

.manual .manual-cta p {
  margin: 0;
  padding: 18px 28px;
  background: var(--manual-accent-light);
}

@media (max-width: 720px) {
  .manual .manual-needs {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .manual .manual-needs,
  .manual .manual-overview {
    padding: 22px 20px;
  }

  .manual .manual-step,
  .manual .manual-faq {
    padding-left: 20px;
    padding-right: 20px;
  }

  .manual .manual-step__head,
  .manual .manual-faq h2 {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .manual .manual-hero .manual-wrap {
    padding: 28px 22px;
  }

  .manual .manual-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .manual .manual-track::before {
    left: 19px;
    right: auto;
    top: 10px;
    bottom: 10px;
    width: 1.5px;
    height: auto;
  }

  .manual .manual-dot {
    text-align: left;
  }

  .manual .manual-dot a {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 14px;
    align-items: center;
  }

  .manual .manual-dot__number {
    grid-row: span 2;
  }

  .manual .manual-dot__name {
    margin-top: 0;
  }

  .manual .manual-legend {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manual * {
    transition: none !important;
  }
}

@media print {
  .manual .manual-step {
    break-before: page;
  }
}
