/* ==========================================================================
   Page-specific — the homepage demo, the record panel, resources, contact
   Anything reused on two or more pages belongs in components.css instead.
   ========================================================================== */

/* --- Homepage: the live Orin demo --------------------------------------- */

.demo__card {
  background: var(--surface);
  border-radius: var(--radius-panel);
  padding: var(--space-32) 34px 34px;
  box-shadow: var(--shadow-lift);
}
.demo__step { display: none; }
.demo__step.is-active { display: block; }

.demo__question {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: var(--space-24);
}
.demo__code {
  font-family: var(--font-mono);
  font-size: .86em;
  background: var(--paper);
  padding: 2px 7px;
  border-radius: 6px;
}
.demo__options { display: flex; flex-direction: column; gap: 9px; }
.demo__option {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  font-size: var(--text-body);
  color: var(--ink);
  text-align: left;
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.demo__option:hover { border-color: var(--beacon-deep); background: var(--tint-warm); }
.demo__followups { display: flex; flex-wrap: wrap; gap: 9px; }
.demo__reset {
  margin-top: var(--space-20);
  padding: var(--space-12) var(--space-20);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
}
.demo__reset:hover { border-color: var(--beacon-deep); color: var(--ink); }
.demo__aside { font-size: var(--text-xs); color: var(--slate-soft); margin: 18px 0 var(--space-12); }

/* The record panel: what a conventional LMS stores vs what this does. */
.record {
  background: var(--vigil-deep);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-panel);
  padding: var(--space-32) 34px 34px;
}
.record__label {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--space-24);
}
.record__who { font-size: var(--text-xs); font-weight: 600; color: var(--on-dark); margin-bottom: 10px; }
.record__who--ours { color: var(--beacon-soft); margin-bottom: 14px; }
.record__old {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-dark);
}
.record__pill {
  padding: var(--space-8) 14px;
  border-radius: var(--radius-pill);
  background: var(--vigil-soft);
  color: var(--on-dark);
  font-size: 14.5px;
}
.record__rows { display: flex; flex-direction: column; gap: var(--space-12); }
.record__row { display: flex; gap: 14px; align-items: flex-start; }
.record__dot {
  flex: none;
  width: 12px; height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--mastery-untouched-dark);
}
/* Grey means no evidence yet, never a failure. */
.record__dot--strong    { background: var(--mastery-strong-dark); }
.record__dot--weak      { background: var(--mastery-weak-dark); }
.record__dot--untouched { background: var(--mastery-untouched-dark); }
.record__name { font-size: var(--text-body); font-weight: 500; color: var(--paper); }
.record__detail { font-size: 14px; line-height: 1.5; color: var(--on-dark); margin-top: 3px; }
.record__foot {
  font-size: 14px;
  line-height: var(--leading-normal);
  color: var(--on-dark);
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

/* --- Homepage: audience strip ------------------------------------------- */
.audience {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-44);
  align-items: center;
  justify-content: space-between;
}
.audience__label {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-soft);
}
.audience__list { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.audience__item { font-size: 17px; font-weight: 600; color: var(--slate); }

/* --- Product pages: the Orin example card ------------------------------- */
.orin-example__head {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-bottom: 18px;
}
.orin-example__label {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.orin-example__body { font-size: 17.5px; line-height: 1.58; color: var(--paper); margin-bottom: 14px; }
.orin-example__why { font-size: 14.5px; line-height: 1.55; color: var(--on-dark); margin-bottom: 26px; }
/* Static, illustrative buttons — these are a picture of the product UI, not
   controls, so they are spans and are not focusable. */
.orin-example__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pseudo-btn {
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
}
.pseudo-btn--primary { background: var(--beacon-deep); color: var(--surface); }
.pseudo-btn--ghost { border: 1.5px solid var(--line-dark); color: var(--paper); }

/* --- UniCompass: the five-stage thread ---------------------------------- */
.thread { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-20); align-items: stretch; }
.thread .card { padding: 28px 26px 30px; }

/* --- Enquire ------------------------------------------------------------ */
.enquire__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 40px 42px 42px;
  box-shadow: var(--shadow-card);
}
.enquire__sent {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 48px 44px;
  box-shadow: var(--shadow-card);
  display: none;
}
.enquire__sent.is-visible { display: block; }
.enquire__form.is-hidden { display: none; }
.enquire__group-label {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: var(--space-12);
}

/* Numbered "what happens next" list on a Vigil panel */
.steps {
  background: var(--vigil);
  border-radius: var(--radius-card);
  padding: 30px 32px;
  position: relative;
  overflow: hidden;
}
.steps__list { display: flex; flex-direction: column; gap: 18px; }
.steps__item { display: flex; gap: 14px; }
.steps__n {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--vigil-soft);
  color: var(--paper);
  font-size: var(--text-xs);
  font-weight: 600;
  display: grid;
  place-items: center;
}
.steps__body { font-size: 15.5px; line-height: 1.55; color: var(--on-dark); }

/* --- Resources ---------------------------------------------------------- */
.resource {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 32px 32px;
  color: inherit;
  transition: border-color var(--dur-fast) var(--ease);
}
.resource:hover { border-color: var(--beacon-deep); color: inherit; }
.resource__meta { display: flex; flex-wrap: wrap; gap: var(--space-12); align-items: center; margin-bottom: var(--space-16); }
.resource__length { font-size: var(--text-xs); color: var(--slate-soft); }
.resource__title { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.28; margin-bottom: var(--space-12); }
.resource__blurb { font-size: var(--text-sm); line-height: var(--leading-normal); color: var(--slate); }
.resource.is-hidden { display: none; }

.featured {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
  margin-bottom: 22px;
  color: inherit;
  transition: border-color var(--dur-fast) var(--ease);
}
.featured:hover { border-color: var(--beacon-deep); color: inherit; }
.featured.is-hidden { display: none; }
.featured__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
.featured__media { min-height: 300px; }
.featured__body { padding: var(--space-44) 46px; }

.empty-state {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-56) 40px;
  text-align: center;
}
.empty-state.is-visible { display: block; }

/* --- Contact ------------------------------------------------------------ */
.office__region {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate-soft);
  margin-bottom: 14px;
}
.office__region--hq { color: var(--beacon-deep); }
.office__city { font-size: 21px; font-weight: 600; margin-bottom: var(--space-12); }
.office__detail { font-size: var(--text-sm); line-height: var(--leading-body); color: var(--slate-soft); }
.route-card { border-top: 4px solid transparent; }
.route-card--primary { border-top-color: var(--beacon); }

/* --- Security ----------------------------------------------------------- */
.cert__name { font-size: 17px; font-weight: 600; color: var(--paper); margin-bottom: var(--space-8); }
.cert__status { font-size: 15px; line-height: 1.55; color: var(--on-dark); }
.cert__status--progress { color: var(--beacon-soft); }
