/* (C) Copyright 2026 Precisely. 
*  
 *
 * This software contains unpublished, confidential, and proprietary 
 * information of Precisely. No disclosure or use of any portion of the 
 * software may be made without the express written consent of Precisely.
 *
 */

:root {
  --bg: #f5f4ef;
  --card: #ffffff;
  --ink: #1f2933;
  --accent: #0b6e4f;
  --accent-2: #147d64;
  --border: #d9e2ec;
  --divider-strong: #334e68;
  --download-button-width: clamp(20rem, 44vw, 24rem);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, #e6fffa 0%, transparent 35%),
    radial-gradient(circle at bottom left, #fff3c4 0%, transparent 25%),
    var(--bg);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

h1,
h2 {
  margin-top: 0;
}

.subtitle {
  color: #486581;
}

.steps-list {
  margin: 0;
  padding-left: 1.25rem;
}

.section-divider {
  border-top: 2px solid var(--divider-strong);
  margin: 0 0 1rem;
}

.steps-list li {
  margin: 0.45rem 0;
}

.steps-followup {
  margin: 0.75rem 0 0;
}

.step-complete {
  color: #9aa5b1;
}

.step-current {
  font-weight: 700;
  color: #0b6e4f;
  background: #e6fffa;
  border: 1px solid #8ed0c0;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
}

.step-pending,
.step-normal {
  color: var(--ink);
  font-weight: 400;
}

.resource-links {
  margin-top: 1rem;
  padding-top: 0.75rem;
}

.resource-links p {
  margin: 0.6rem 0;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li {
  margin: 0.5rem 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

a:hover,
a:focus {
  color: var(--accent-2);
  text-decoration: underline;
}

.btn-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  width: var(--download-button-width);
  text-align: center;
}

.download-note {
  margin-left: 0;
  color: #486581;
  font-size: 0.95rem;
  line-height: 1.35;
  min-width: 0;
}

details {
  margin-top: 0.75rem;
}

.downloads hr {
  border: 0;
  border-top: 2px solid var(--divider-strong);
  margin: 1rem 0 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: #334e68;
}

.downloads ul {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
}

.download-row,
.downloads li {
  display: grid;
  grid-template-columns: minmax(24rem, 1.6fr) 1.4fr 9rem;
  column-gap: 0.75rem;
  align-items: center;
}

.downloads li {
  margin: 0.45rem 0;
}

.download-name {
  overflow-wrap: anywhere;
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

.downloads details li {
  margin: 0;
  padding: 0.7rem 0;
  align-items: center;
}

.downloads details ul {
  border-top: 1px solid var(--border);
  border-bottom: 2px solid var(--divider-strong);
}

.downloads details li + li {
  border-top: 1px solid var(--border);
}

.downloads details li > a {
  display: inline-block;
  align-self: center;
  width: 100%;
  text-align: center;
}

.download-row > .btn-link,
.downloads li > .btn-link {
  width: 100%;
  margin-top: 0;
}

.crumbs {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.crumbs a {
  font-weight: 500;
}

.site-footer {
  padding: 1rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
}

.site-footer a {
  font-weight: 600;
}

@media (max-width: 900px) {
  .download-row,
  .downloads li {
    grid-template-columns: 1fr;
  }

  .btn-link,
  .downloads details li > a {
    width: 100%;
  }

  .download-note {
    margin-top: 0.4rem;
  }
}
