/* Install guide (timeline), FAQ and the closing call to action. */
.install { display: grid; gap: 2.5rem; }
.install-intro { text-align: center; }
.install-intro .sub { color: var(--muted); font-size: 1.1rem; max-width: 28rem; margin: 0 auto 1.75rem; }
.hint {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  max-width: 28rem;
  margin: 1.75rem auto 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-50);
  color: #6b4a07;
  font-size: 0.95rem;
  text-align: start;
}
.hint .ico { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; color: #b07a10; }

.guide {
  list-style: none;
  margin: 0;
  padding: 1.75rem 1.25rem 0.5rem;
  counter-reset: guide;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.guide li {
  counter-increment: guide;
  position: relative;
  padding-inline-start: 3.5rem;
  padding-bottom: 1.6rem;
}
.guide li::before {
  content: counter(guide);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--mint-50);
  color: var(--brand);
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(15, 92, 77, 0.15) inset;
}
.guide li::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(1.2rem - 1px);
  top: 2.8rem;
  bottom: 0.4rem;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.guide li:last-child::after { display: none; }
.guide li:last-child::before { background: var(--brand); color: #fff; box-shadow: none; }
.guide h3 { margin: 0.2rem 0 0.25rem; font-size: 1.075rem; }
.guide p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.faq details:hover { border-color: #cfe0d9; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-sm);
}
.faq summary::-webkit-details-marker { display: none; }
/* Down chevron from physical borders: it points the same way in RTL and LTR. */
.faq summary::after {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  margin: -0.3rem 0.4rem 0;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 0.3rem; }
.faq details p { margin: 0; padding: 0 1.35rem 1.25rem; color: var(--muted); }

/* Closing call to action */
.closing {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  border-radius: clamp(24px, 3vw, 36px);
  text-align: center;
  color: #c9e2da;
  background:
    radial-gradient(34rem 18rem at 100% 0%, rgba(110, 231, 197, 0.2), transparent 60%),
    radial-gradient(26rem 16rem at 0% 100%, rgba(245, 184, 61, 0.14), transparent 60%),
    linear-gradient(160deg, var(--brand-800), var(--brand-950));
  box-shadow: var(--shadow-lg);
}
.closing img { display: block; margin: 0 auto 1.5rem; border-radius: 16px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5); }
.closing h2 { color: #fff; }
.closing p { margin: 0 auto 2rem; max-width: 30rem; font-size: 1.1rem; }
.closing .btn { flex: 1 1 15rem; max-width: 22rem; }

@media (min-width: 960px) {
  .install { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
  .install-intro { text-align: start; position: sticky; top: 7rem; }
  .install-intro .sub, .hint { margin-inline: 0; }
  .guide { padding: 2.25rem 2rem 0.75rem; }
}
