.brand img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}
.hero {
  position: relative;
  background: radial-gradient(ellipse at 80% 25%, #e5f2ff 0, transparent 52%);
}
.hero h1 {
  font-size: clamp(48px, 5.8vw, 82px);
  letter-spacing: -4px;
}
.herotop {
  align-items: center;
}
.hero .stage {
  display: none;
}
.hero .underhero {
  padding: 35px 0 10px;
}
.livechip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #e8f0ff;
  border-radius: 40px;
  color: #2459ec;
  font-size: 11px;
}
.livechip:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2459ec;
  box-shadow: 0 0 0 5px #2459ec10;
  animation: pulse 2s ease 3;
}
.simulator {
  background: #101c36;
  color: white;
  border-radius: 14px;
  padding: 35px;
  box-shadow: 0 20px 50px #101c3614;
  margin-top: 28px;
  position: relative;
  overflow: hidden;
}
.simulator:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.sim-head,
.sim-grid {
  position: relative;
}
.sim-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.sim-head h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
}
.sim-head p {
  font-size: 12px;
  color: #a6b9d7;
  margin-top: 8px;
}
.ghost {
  border: 1px solid #627494;
  background: none;
  color: white;
  border-radius: 5px;
  padding: 9px 14px;
  font-size: 12px;
}
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
}
.sim-controls {
  background: #ffffff08;
  border: 1px solid #ffffff14;
  border-radius: 9px;
  padding: 24px;
}
.sim-controls label {
  display: block;
  font-size: 12px;
  color: #becbe1;
  margin-bottom: 19px;
}
.sim-controls label b {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  font-weight: 500;
}
.sim-controls input[type="number"],
.sim-controls input[type="text"] {
  width: 100%;
  background: #172642;
  border: 1px solid #60708d;
  border-radius: 5px;
  color: #fff;
  font: inherit;
  padding: 11px;
}
.sim-controls input[type="range"] {
  width: 100%;
  accent-color: #59a3ff;
}
.sim-controls .toggle {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: -6px;
  color: white;
}
.sim-controls .toggle input {
  accent-color: #2594ff;
  width: 16px;
  height: 16px;
}
.sim-controls .twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dashboard-demo {
  background: #fff;
  border-radius: 9px;
  color: #101c36;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.demo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.demo-top b {
  font-size: 14px;
}
.demo-top small {
  font-size: 9px;
  color: #718096;
}
.demo-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.demo-metrics article {
  padding-bottom: 17px;
  border-bottom: 1px solid #e2e7ef;
}
.demo-metrics small {
  font-size: 10px;
  color: #64748b;
}
.demo-metrics strong {
  display: block;
  font-family: Manrope;
  font-size: 25px;
  letter-spacing: -0.8px;
  margin-top: 7px;
}
.demo-metrics .outstanding strong {
  color: #2459ec;
}
.billing-bar {
  display: flex;
  height: 12px;
  background: #edf0f5;
  border-radius: 4px;
  overflow: hidden;
  margin: 13px 0;
}
.billing-bar i {
  height: 100%;
  transition: width 0.55s ease;
  display: block;
}
.billing-bar i:first-child {
  background: #2459ec;
}
.billing-bar i:nth-child(2) {
  background: #88baff;
}
.legend {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 9px;
  color: #64748b;
}
.legend span:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #2459ec;
  margin-right: 5px;
}
.legend span:nth-child(2):before {
  background: #88baff;
}
.legend span:nth-child(3):before {
  background: #edf0f5;
}
.sim-note {
  font-size: 10px;
  line-height: 1.7;
  color: #a6b9d7;
  margin-top: 18px;
  position: relative;
}
.demo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 23px;
  gap: 10px;
}
.demo-footer span {
  font-size: 10px;
  color: #64748b;
}
.demo-footer button {
  font-size: 11px;
  padding: 11px 15px;
}
.number-flash {
  animation: flash 0.45s ease;
}
.steps .step {
  transition: transform 0.3s;
}
.steps .step:hover {
  transform: translateY(-7px);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.booking {
  background: #101c36;
  color: white;
  border-radius: 12px;
  padding: 55px;
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.booking h2 {
  font-size: 42px;
}
.booking p {
  font-size: 14px;
  line-height: 1.8;
  color: #b6c5df;
  margin-top: 20px;
}
.booking form {
  align-self: center;
}
.booking label {
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
}
.emailrow {
  display: flex;
  gap: 10px;
}
.emailrow input {
  width: 100%;
  min-width: 0;
  border: 1px solid #7d8ca6;
  background: white;
  color: #101c36;
  border-radius: 5px;
  padding: 15px;
  font: inherit;
  font-size: 14px;
}
.emailrow button {
  white-space: nowrap;
}
.booking small {
  display: block;
  font-size: 10px;
  color: #afbed8;
  line-height: 1.7;
  margin-top: 12px;
}
.prototype {
  font-size: 10px;
  letter-spacing: 1px;
  color: #b4cffc;
  text-transform: uppercase;
  margin-bottom: 17px;
}
.adminlink {
  background: none;
  border: 0;
  text-decoration: underline;
  color: #66748a;
  font-size: 11px;
  padding: 0;
}
.modal {
  border: 0;
  padding: 0;
  border-radius: 13px;
  width: min(850px, calc(100% - 30px));
  max-height: 90vh;
  color: #101c36;
  box-shadow: 0 35px 100px #0005;
}
.modal::backdrop {
  background: #0b173bbd;
  backdrop-filter: blur(5px);
}
.modal-inner {
  padding: 30px;
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}
.modal-heading h2 {
  font-size: 26px;
  letter-spacing: -1px;
}
.close {
  background: #f1f4f8;
  border: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  flex: none;
  color: #101c36;
  font-size: 21px;
}
.notice {
  background: #edf4ff;
  border-left: 3px solid #2459ec;
  color: #435775;
  font-size: 11px;
  padding: 12px;
  line-height: 1.6;
  margin: 15px 0 24px;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}
.monthbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.monthbar b {
  font-size: 14px;
}
.monthbar button {
  border: 1px solid #dce3ef;
  background: #fff;
  border-radius: 4px;
  width: 30px;
  height: 30px;
  color: #101c36;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.weekday {
  text-align: center;
  font-size: 10px;
  color: #7f8ba0;
  padding-bottom: 8px;
}
.day {
  border: 0;
  border-radius: 5px;
  background: #edf4ff;
  color: #164fc9;
  min-height: 36px;
  font-size: 12px;
  position: relative;
}
.day:disabled {
  color: #a9b2c1;
  background: #f6f7fa;
  cursor: default;
}
.day[aria-pressed="true"],
.slot[aria-pressed="true"] {
  background: #2459ec;
  color: white;
}
.day.available:after {
  content: "";
  width: 3px;
  height: 3px;
  position: absolute;
  bottom: 4px;
  left: calc(50% - 1px);
  background: currentColor;
  border-radius: 50%;
}
.slot {
  border: 1px solid #dbe4f1;
  border-radius: 5px;
  background: #fff;
  color: #164fc9;
  padding: 10px;
  font-size: 12px;
}
.times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 15px 0;
}
.detail-title {
  font-size: 13px;
}
.quiet {
  font-size: 11px;
  color: #6b7b90;
  line-height: 1.7;
}
.modal .button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.calendar-caption {
  font-size: 10px;
  color: #73849b;
  margin-top: 13px;
}
.success {
  padding: 30px;
  text-align: center;
}
.success h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.success p {
  font-size: 13px;
  line-height: 1.8;
  color: #5e7089;
  margin-bottom: 20px;
}
.adminform {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.adminform label {
  font-size: 11px;
}
.adminform input {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid #bcc9db;
  border-radius: 4px;
  font: inherit;
  margin-top: 7px;
}
.admin-list {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}
.adminrow {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px;
  background: #f3f6fb;
  border-radius: 5px;
  font-size: 12px;
  align-items: center;
}
.adminrow button {
  background: white;
  border: 1px solid #d4deeb;
  color: #64748b;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 11px;
}
.adminrow button:disabled {
  opacity: 0.5;
  cursor: default;
}
.adminrequests {
  margin-top: 22px;
  border-top: 1px solid #e2e7ef;
  padding-top: 20px;
}
.adminrequests h3 {
  font-size: 14px;
  margin-bottom: 12px;
}
.request-row {
  font-size: 11px;
  padding: 9px 0;
  border-bottom: 1px solid #eef2f8;
  overflow-wrap: anywhere;
}
.feedback {
  font-size: 12px;
  margin-top: 12px;
  color: #156c55;
  min-height: 18px;
}
.soa-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 13px;
}
.soa-table td {
  padding: 13px 5px;
  border-bottom: 1px solid #dce4ee;
}
.soa-table td:last-child {
  text-align: right;
}
.soa-table tr:last-child {
  font-weight: 700;
  color: #2459ec;
}
.soa-project {
  font-size: 14px;
  color: #66758b;
}
.hero-orbit {
  position: absolute;
  right: 3%;
  top: 5%;
  width: 200px;
  height: 200px;
  border: 1px solid #c5ddff88;
  border-radius: 50%;
  pointer-events: none;
  animation: drift 7s ease-in-out 2;
  z-index: -1;
}
@keyframes drift {
  50% {
    transform: translate(-20px, 25px) rotate(15deg);
  }
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 9px #2459ec00;
  }
}
@keyframes flash {
  50% {
    color: #2a8aff;
    transform: translateY(-2px);
  }
}
@media (max-width: 760px) {
  .hero h1 {
    font-size: 48px;
    letter-spacing: -2.8px;
  }
  .simulator {
    padding: 20px 16px;
  }
  .sim-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sim-head h2 {
    font-size: 21px;
  }
  .sim-head {
    gap: 10px;
  }
  .sim-head p {
    font-size: 10px;
  }
  .sim-controls {
    padding: 18px;
  }
  .dashboard-demo {
    padding: 20px;
  }
  .demo-metrics strong {
    font-size: 23px;
  }
  .booking {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 24px;
  }
  .booking h2 {
    font-size: 33px;
  }
  .emailrow {
    flex-direction: column;
  }
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .modal-inner {
    padding: 22px;
  }
  .adminform {
    grid-template-columns: 1fr 1fr;
  }
  .adminform button {
    grid-column: 1/-1;
  }
  .sim-controls .twocol {
    gap: 10px;
  }
  .navlinks button {
    align-self: start;
  }
  .booking {
    margin-bottom: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .billing-bar i {
    transition: none;
  }
}

/* Book a demo, connected to the Kordesk server (2026-11-02): the visitor's details in the time dialog. */
.booking-details {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.booking-details label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #101c36;
}
.booking-details label span {
  font-weight: 400;
  color: #626e82;
}
.booking-details input,
.booking-details textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid #dce2ec;
  border-radius: 5px;
  background: #fff;
  color: #101c36;
  resize: vertical;
}
.booking-details input:focus,
.booking-details textarea:focus {
  outline: 2px solid #7c9fff;
  outline-offset: 1px;
  border-color: #2459ec;
}
.booking-details .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#booking-form-note:not(:empty) {
  color: #ffc9c9;
  font-weight: 600;
  margin-bottom: 6px;
}
#booking-error {
  color: #b3213b;
}

/* Phones zoom into any field under 16px when it is tapped, and stay zoomed: touch screens get 16px fields. */
@media (pointer: coarse) {
  .emailrow input,
  .booking-details input,
  .booking-details textarea,
  .package-form input,
  .package-form select,
  .package-form textarea,
  .sim-controls input[type="number"],
  #ws-search,
  .ws-heading select {
    font-size: 16px;
  }
}

/* The model's results as they look in Kordesk (Billing & Collections): app font, header, figure cards. */
.dashboard-demo {
  font-family: "Inter Variable", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #f1f5f9;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  gap: 14px;
}
.dashboard-demo > :not(.demo-appbar) {
  margin-left: 18px;
  margin-right: 18px;
}
.dashboard-demo > :last-child {
  margin-bottom: 18px;
}
.demo-appbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: #0b1a2e;
  color: #fff;
}
.demo-appbar img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #fff;
  padding: 1px;
}
.demo-appbar b {
  font-size: 12px;
  letter-spacing: 0.06em;
}
.demo-appbar span {
  font-size: 12px;
  color: #94a3b8;
  margin-right: auto;
}
.demo-appbar i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1976ff;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
}
.dashboard-demo .demo-top {
  margin-top: 4px;
}
.dashboard-demo .demo-top b {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}
.dashboard-demo .demo-top small {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #64748b;
}
.dashboard-demo .demo-metrics article {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 14px;
  box-shadow: 0 1px 2px #0f172a0a;
}
.dashboard-demo .demo-metrics small {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}
.dashboard-demo .demo-metrics strong {
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.dashboard-demo .demo-metrics .outstanding {
  background: #fffbeb;
  border-color: #fde68a;
}
.dashboard-demo .demo-metrics .outstanding strong {
  color: #b45309;
}
.dashboard-demo .demo-footer button {
  background: #1976ff;
  border-radius: 8px;
  font-family: inherit;
}
