/* KeyTrellis "Getting started" page. Loaded after site.css. */

.page {
  min-height: 100vh;
  background: #fbf7f4;
  color: #32131f;
  font-family: var(--font-body);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  padding: clamp(54px, 8vw, 108px) 0 clamp(58px, 8vw, 96px);
}

.hero > .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
}

.heroCopy {
  max-width: 680px;
}

.eyebrow {
  margin: 0;
  color: #5a1733;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1,
.sectionIntro h2,
.systemsPanel h2,
.trainingHeading h2,
.readinessCard h2,
.closingSection h2 {
  color: #5a1733;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.8vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 780px;
  margin: 18px 0 22px;
}

.hero h1 span {
  color: #32131f;
}

.heroIntro {
  max-width: 650px;
  margin: 0;
  color: #32131f;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.heroBoundary {
  max-width: 620px;
  margin: 16px 0 0;
  padding-left: 15px;
  border-left: 2px solid #efb0c0;
  color: #5b3b49;
  font-size: 0.9rem;
  line-height: 1.65;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.primaryAction {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #5a1733;
  border-radius: 999px;
  background: #5a1733;
  color: #fffdfc;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.primaryAction:hover {
  background: #451128;
  color: #fffdfc;
}

.textAction {
  color: #5a1733;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.textAction:hover {
  text-decoration-thickness: 2px;
}

.heroCard {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid #e5cfd6;
  border-radius: 24px;
  background: #fffdfc;
  box-shadow: 0 18px 54px -42px rgb(50 19 31 / 32%);
}

.heroCardTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #efb0c0;
  color: #5a1733;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.heroCardTop strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.06em;
  text-transform: none;
}

.heroRoute {
  display: grid;
  gap: 5px;
  padding-top: 17px;
}

.heroRouteStep {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 54px;
}

.routeNumber {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #efb0c0;
  border-radius: 50%;
  color: #5a1733;
  font-size: 0.68rem;
  font-weight: 800;
}

.heroRouteStep strong,
.heroRouteStep small {
  display: block;
}

.heroRouteStep strong {
  color: #32131f;
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.heroRouteStep small {
  margin-top: 3px;
  color: #684957;
  font-size: 0.77rem;
}

.heroCard > p {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e5cfd6;
  color: #5b3b49;
  font-size: 0.84rem;
  line-height: 1.6;
}

.timelineSection,
.documentsSection,
.faqSection {
  padding: clamp(64px, 9vw, 108px) 0;
}

.timelineSection {
  background: #f5e4ea;
}

.sectionIntro {
  max-width: 730px;
}

.sectionIntro h2,
.systemsPanel h2,
.trainingHeading h2,
.readinessCard h2,
.closingSection h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.sectionIntro > p:last-child,
.systemsPanel > div > p:last-child,
.trainingHeading > div > p:last-child,
.readinessCard > div > p:last-child,
.closingSection > p:not(.eyebrow) {
  max-width: 660px;
  margin: 16px 0 0;
  color: #32131f;
  font-size: 0.98rem;
  line-height: 1.75;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 23px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: #efb0c0;
  content: "";
}

.timelineCard {
  position: relative;
  min-width: 0;
  padding: 18px 18px 20px;
  border: 1px solid #e5cfd6;
  border-radius: 18px;
  background: #fffdfc;
}

.timelineIndex {
  position: relative;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid #efb0c0;
  border-radius: 50%;
  background: #fffdfc;
  color: #5a1733;
  font-size: 0.74rem;
  font-weight: 800;
}

.timelineDays {
  margin: 18px 0 5px;
  color: #5a1733;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timelineCard h3,
.responsibilityCard h3,
.documentCard h3,
.trainingCard h3,
.faqTrigger {
  color: #5a1733;
  font-family: var(--font-display);
  font-size: 1.23rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.timelineCard h3 {
  margin: 0;
}

.timelineCard > p:last-child {
  margin: 10px 0 0;
  color: #32131f;
  font-size: 0.86rem;
  line-height: 1.65;
}

.timelineNote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 850px;
  margin: 22px 0 0;
  color: #32131f;
  font-size: 0.84rem;
  line-height: 1.6;
}

.timelineNote svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: #5a1733;
}

.rolesSection,
.trainingSection {
  padding: clamp(64px, 9vw, 108px) 0;
  background: #fffdfc;
}

.responsibilityGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.responsibilityCard {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #e5cfd6;
  border-radius: 18px;
  background: #fbf7f4;
}

.responsibilityHeading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.responsibilityHeading svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #5a1733;
}

.responsibilityCard h3 {
  margin: 0;
}

.responsibilityCard ul {
  display: grid;
  gap: 15px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.responsibilityCard li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: #32131f;
  font-size: 0.9rem;
  line-height: 1.6;
}

.responsibilityCard li svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: #5a1733;
}

.systemsSection {
  padding: clamp(54px, 8vw, 88px) 0;
}

.systemsPanel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 36px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid #e5cfd6;
  border-radius: 22px;
  background: #f5e4ea;
}

.systemsPanel h2 {
  max-width: 590px;
}

.systemChips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.systemChips li {
  padding: 9px 13px;
  border: 1px solid #e5cfd6;
  border-radius: 999px;
  background: #fffdfc;
  color: #32131f;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 650;
}

.documentsSection {
  background: #fffdfc;
}

.documentGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.documentCard {
  min-height: 185px;
  padding: 23px;
  border: 1px solid #e5cfd6;
  border-radius: 16px;
  background: #fbf7f4;
}

.documentCard > svg {
  width: 20px;
  height: 20px;
  color: #5a1733;
}

.documentCard h3 {
  margin: 17px 0 0;
}

.documentCard p {
  margin: 9px 0 0;
  color: #32131f;
  font-size: 0.87rem;
  line-height: 1.65;
}

.trainingHeading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.trainingHeading > div:first-child {
  max-width: 720px;
}

.trainingMark {
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #efb0c0;
  border-radius: 22px;
  color: #5a1733;
}

.trainingMark svg {
  width: 30px;
  height: 30px;
}

.trainingGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.trainingCard {
  min-height: 185px;
  padding: 22px;
  border: 1px solid #e5cfd6;
  border-radius: 16px;
  background: #fbf7f4;
}

.trainingCard > p {
  margin: 0;
  color: #5a1733;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trainingCard h3 {
  margin: 13px 0 18px;
  font-size: 1.12rem;
}

.trainingCard > span {
  color: #684957;
  font-size: 0.79rem;
}

.readinessSection {
  padding: clamp(58px, 8vw, 92px) 0;
}

.readinessCard {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: clamp(23px, 4vw, 40px);
  border: 1px solid #e5cfd6;
  border-radius: 20px;
  background: #f5e4ea;
}

.readinessIcon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #5a1733;
  color: #fffdfc;
}

.readinessIcon svg {
  width: 19px;
  height: 19px;
}

.readinessCard h2 {
  margin-top: 8px;
}

.faqSection {
  background: #fffdfc;
}

.faqList {
  margin-top: 28px;
  border-top: 1px solid #e5cfd6;
}

.faqItem {
  border-color: #e5cfd6;
}

.faqTrigger {
  gap: 18px;
  padding: 20px 2px;
  text-align: left;
}

.faqTrigger:hover {
  text-decoration: none;
}

.faqTrigger svg {
  color: #5a1733;
}

.faqAnswer {
  max-width: 770px;
  padding: 0 30px 21px 2px;
  color: #32131f;
  font-size: 0.91rem;
  line-height: 1.7;
}

.closingSection {
  padding: clamp(60px, 9vw, 104px) 0;
  border-top: 1px solid #e5cfd6;
}

.closingSection h2 {
  max-width: 760px;
}

.closingSection > p:not(.eyebrow) {
  max-width: 740px;
  margin-bottom: 24px;
}

@media (max-width: 820px) {
  .hero > .container,
  .systemsPanel {
    grid-template-columns: 1fr;
  }

  .heroCard {
    max-width: 620px;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .trainingGrid {
    grid-template-columns: 1fr;
  }

  .trainingCard {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, 520px);
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
  }

  .heroActions {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .heroActions .primaryAction {
    width: 100%;
  }

  .textAction {
    align-self: center;
  }

  .timeline,
  .responsibilityGrid,
  .documentGrid {
    grid-template-columns: 1fr;
  }

  .timelineCard {
    padding: 18px;
  }

  .systemsPanel {
    gap: 22px;
  }

  .trainingHeading {
    align-items: start;
  }

  .trainingMark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .trainingMark svg {
    width: 22px;
    height: 22px;
  }

  .readinessCard {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primaryAction,
  .textAction,
  .faqItem [data-state="open"],
  .faqItem [data-state="closed"] {
    animation: none;
    transition: none;
  }
}

/* ---------- FAQ (native <details> accordion) ---------- */
.faqItem {
  border-bottom: 1px solid #e5cfd6;
}

.faqTrigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.faqTrigger::-webkit-details-marker {
  display: none;
}

.faqTrigger::after {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-right: 2px solid #5a1733;
  border-bottom: 2px solid #5a1733;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 200ms ease;
  content: "";
}

.faqItem[open] .faqTrigger::after {
  transform: rotate(-135deg) translateY(-3px);
}
