/* ==========================================================================
   D12 Enterprise — page styles (demo/enterprise.html)
   Stage "scale": calmer hero, more proof, restrained motion.
   ========================================================================== */

/* Hero ------------------------------------------------------------------- */
.ent-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: center;
  gap: 48px;
}

.ent-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ent-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--hero-size);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.04em;
  font-variation-settings: 'wdth' var(--hero-wdth);
}

.ent-hero__lead {
  max-width: 48ch;
  margin: 0;
  font-size: 19px;
  color: var(--ink-2);
}

.ent-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ent-hero__btn {
  min-height: 0;
  padding: 16px 24px;
  border: 0;
  line-height: 1.55;
}

.ent-hero__btn--secondary {
  padding: 15px 22px;
  border: 1px solid var(--line-2);
}

/* Security / compliance status cards */
.sec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.sec-card__status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pos);
}

.sec-card__status--progress {
  color: var(--warn);
}

.sec-card__title {
  font-size: 15px;
}

.sec-card__desc {
  font-size: 13px;
  color: var(--ink-2);
}

/* Admin and control ------------------------------------------------------ */
.ent-h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.03em;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 14px;
}

.panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.panel__head {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

/* Audit log */
.audit {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit__row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.audit__time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}

/* Permissions matrix */
.perms {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.perms th,
.perms td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
  color: var(--ink-3);
}

.perms th:first-child {
  width: 30%;
  padding-left: 18px;
  color: var(--ink);
}

.perms tr > :last-child {
  padding-right: 18px;
}

.perms thead th {
  padding-top: 8px;
  padding-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
}

.perms td.perms__yes {
  color: var(--pos);
}

/* Commitments ------------------------------------------------------------ */
.commit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}

.commit {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.commit__value {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.commit__text {
  font-size: 13px;
  color: var(--ink-2);
}

.commit__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
}

/* Book a demo ------------------------------------------------------------ */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: start;
  gap: 24px;
}

.booking {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-frame);
}

.booking__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.booking__title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -.02em;
}

.booking__step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking__step .input {
  padding: 0 12px;
}

.booking__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Pill option (team size, time slot) — selected = ink fill */
.pick {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.pick--mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
}

.pick[aria-checked="true"],
.pick[aria-pressed="true"],
.day[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--canvas);
}

.booking__route {
  font-size: 13px;
  color: var(--ink-2);
}

.booking__rep {
  font-size: 14px;
  color: var(--ink-2);
}

.booking__cta {
  align-self: flex-start;
  padding: 0 22px;
}

.booking__days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 56px;
  padding: 8px 4px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.day__name {
  font-size: 11px;
}

.booking__done {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--pos-bg);
  color: var(--ink);
  font-size: 14px;
}

.booking__nav {
  display: flex;
  gap: 10px;
}

.booking__back {
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-weight: 600;
  cursor: pointer;
}

/* Procurement FAQ -------------------------------------------------------- */
.faq-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -.025em;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  padding: 16px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq__icon {
  font-family: var(--font-mono);
}

.faq__a {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--ink-2);
}
