:root {
  --ink: #12203d;
  --green: #112248;
  --muted: #616a7d;
  --lime: #8eabe5;
  --line: #d9dee9;
  --bg: #f0f2f7;
  --error: #a43b35;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.5 ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: #0c2f7b;
  font-weight: 650;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #0e50da;
  outline-offset: 2px;
}
input:focus-visible,
select:focus-visible {
  outline: none;
  border-color: #0e50da;
  box-shadow: 0 0 0 3px rgba(14, 80, 218, 0.1);
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  background: white;
  padding: 10px;
  z-index: 3;
}
.demo-banner {
  text-align: center;
  background: #c3d1ee;
  color: #2e3d5d;
  font-size: 12px;
  font-weight: 700;
  padding: 7px;
}
.header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: auto;
  padding: 0 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-size: 28px;
  line-height: 0.8;
  letter-spacing: -1.4px;
  font-weight: 800;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 3.6px;
  margin-top: 7px;
}
.brand-dot {
  color: #7483a5;
}
.mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 39px;
  border-radius: 11px;
  background: var(--green);
  color: var(--lime);
  font-size: 27px;
  line-height: 1;
}
.header-note {
  font-size: 12px;
  color: var(--muted);
}
main {
  min-height: calc(100vh - 148px);
}
.layout {
  max-width: 1180px;
  margin: 20px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 56px;
  align-items: center;
}
.intro {
  padding: 40px 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 800;
  color: #475a84;
}
.intro h2 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -2.6px;
  max-width: 600px;
  margin: 18px 0;
}
.intro p {
  max-width: 500px;
  font-size: 17px;
  color: var(--muted);
}
.illustration {
  position: relative;
  margin-top: 42px;
  border-radius: 24px;
  background: var(--green);
  color: white;
  padding: 27px;
  max-width: 480px;
  overflow: hidden;
}
.illustration:after {
  content: "";
  position: absolute;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  right: -25px;
  top: -50px;
}
.illustration strong {
  display: block;
  font-size: 17px;
}
.illustration p {
  font-size: 13px;
  color: #c4ccdd;
  margin-bottom: 0;
}
.orb {
  float: right;
  width: 58px;
  height: 58px;
  border-radius: 22px;
  background: var(--lime);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 25px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 18px 50px #1a25450a;
}
.card h1,
.card h2 {
  letter-spacing: -0.7px;
  line-height: 1.2;
  margin: 8px 0;
}
.card h1 {
  font-size: 29px;
}
.card h2 {
  font-size: 23px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.stack {
  display: grid;
  gap: 16px;
}
.form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
}
input,
select {
  width: 100%;
  border: 1px solid #c6cede;
  border-radius: 10px;
  padding: 12px 13px;
  background: white;
  color: var(--ink);
  min-height: 46px;
}
input::placeholder {
  color: #8c94a8;
}
.button {
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  border-radius: 10px;
  padding: 12px 17px;
  min-height: 46px;
  font-weight: 750;
}
.button:hover:not(:disabled) {
  background: #153271;
}
.button.secondary {
  background: white;
  color: var(--green);
  border-color: #c6cede;
}
.button.text {
  background: transparent;
  color: var(--green);
  border: 0;
  padding: 5px;
  min-height: auto;
}
.button.danger {
  color: #9d423a;
}
.full {
  width: 100%;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 25px 0;
}
.notice {
  padding: 14px 16px;
  border-radius: 11px;
  background: #ecf0f7;
  border: 1px solid #d7deed;
  color: #3d4a66;
  font-size: 13px;
}
.notice.error {
  background: #fff2f0;
  border-color: #f1d1cb;
  color: #873c35;
}
.notice:empty {
  display: none;
}
.demo-box {
  background: #eef2f9;
  border: 1px solid #cdd7ec;
  padding: 14px;
  border-radius: 11px;
  font-size: 13px;
}
.demo-box strong {
  display: block;
}
.footer {
  max-width: 1320px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  color: #7c869d;
  font-size: 12px;
}
.team {
  max-width: 1200px;
  margin: 15px auto 60px;
  padding: 0 24px;
}
.team-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 30px 0;
}
.team-head h1 {
  font-size: 35px;
  letter-spacing: -1.4px;
  margin: 4px 0;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.team-grid .wide {
  grid-column: 1/-1;
}
.card-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
}
.card-title p {
  margin: 5px 0 0;
}
.inline {
  display: flex;
  gap: 10px;
  align-items: end;
}
.inline label {
  flex: 1;
}
.inline button {
  flex-shrink: 0;
}
.result {
  margin-top: 18px;
}
.merchant {
  padding: 16px;
  background: #f3f5f9;
  border-radius: 12px;
  margin-top: 10px;
}
.merchant strong,
.merchant small {
  display: block;
}
.merchant small {
  color: var(--muted);
}
.merchant label {
  margin-top: 13px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}
.link-output {
  overflow-wrap: anywhere;
  word-break: break-all;
  font-size: 12px;
  background: #f2f4f8;
  padding: 10px;
  border-radius: 8px;
}
.list {
  display: grid;
  gap: 0;
  margin-top: 15px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.row strong,
.row small {
  display: block;
}
.row small {
  color: var(--muted);
  margin-top: 3px;
}
.row .actions {
  margin: 0;
  justify-content: flex-end;
}
.pill {
  display: inline-block;
  border-radius: 99px;
  background: #e8ecf5;
  color: #495671;
  font-size: 11px;
  font-weight: 750;
  padding: 4px 9px;
}
.pill.expired,
.pill.revoked {
  background: #f1f1ed;
  color: #6c7078;
}
.pill.accepted {
  background: #e5eaf4;
  color: #1a397c;
}
.steps {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.steps span {
  height: 5px;
  border-radius: 5px;
  background: #e0e4ed;
  flex: 1;
}
.steps span.active {
  background: #6f7ea2;
}
.details {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.detail {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.detail span {
  color: var(--muted);
}
.detail strong {
  text-align: right;
}
.loading {
  text-align: center;
  padding: 100px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .header {
    padding: 0 22px;
    height: 70px;
  }
  .header-note {
    display: none;
  }
  .layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
  }
  .intro {
    padding: 22px 0 8px;
    width: 100%;
  }
  .intro h2 {
    font-size: 38px;
    margin: 10px 0;
  }
  .intro p {
    font-size: 15px;
  }
  .illustration {
    display: none;
  }
  .card {
    padding: 24px;
    width: 100%;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-grid .wide {
    grid-column: auto;
  }
  .team-head {
    align-items: start;
  }
  .footer {
    padding: 20px 24px;
  }
  .footer span:last-child {
    display: none;
  }
}
@media (max-width: 480px) {
  .inline {
    display: grid;
  }
  .row {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .row .actions {
    justify-content: start;
  }
  .team-head {
    flex-direction: column;
  }
  .detail {
    font-size: 13px;
  }
}

.people-section {
  margin-top: 24px;
}
.people-section h3 {
  margin: 0;
  font-size: 17px;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 12px;
}
.person-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.person-card:has(input:checked) {
  border-color: #304e8f;
  background: #f1f4f9;
}
.person-card.unavailable {
  background: #f4f6f9;
}
.person-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.person-choice input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
  flex: none;
}
.person-badge {
  color: #36486e;
  font-weight: 700;
}
.person-detail {
  color: var(--muted);
}
.person-reason {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  color: #875446;
}
.selection-summary:not(:empty) {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #c6cfe2;
  background: #ecf0f7;
  border-radius: 12px;
}
.selection-summary p {
  margin: 5px 0 0;
}

.invite-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}
.invite-steps li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}
.invite-steps li > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #e3e8f3;
  color: var(--green);
  font-weight: 750;
}
.invite-steps li.upcoming {
  color: var(--muted);
  background: #f5f6f9;
}
.invite-steps small {
  color: var(--muted);
}
.invite-disabled {
  margin-top: 16px;
}
@media (max-width: 600px) {
  .invite-steps {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .invite-steps li {
    padding: 9px 12px;
  }
}

.pilot-batch {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.pilot-batch > small {
  display: block;
  color: var(--muted);
}

/* First access and invitation lifecycle */
.first-access-layout {
  align-items: start;
}
.first-access-layout .intro {
  position: sticky;
  top: 30px;
}
.first-access-summary {
  padding: 18px 0;
  margin: 8px 0 18px;
  border-bottom: 1px solid var(--line);
}
.first-access-summary > strong {
  display: block;
  margin-top: 6px;
  font-size: 19px;
  overflow-wrap: anywhere;
}
.first-access-summary p {
  margin: 5px 0 0;
}
.first-access-card .notice {
  line-height: 1.65;
}
input[readonly] {
  background: #f2f4f7;
  color: #545e72;
}
.field-hint {
  margin: -8px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.password-toggle {
  justify-self: start;
  font-size: 12px;
  margin-top: -6px;
}
.invitation-expiry {
  padding-top: 12px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.access-link {
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
.invitation-person {
  min-width: 0;
  overflow-wrap: anywhere;
}
.invitation-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.button.compact {
  padding: 8px 12px;
  min-height: 38px;
  font-size: 12px;
}
.contract-attachment {
  margin: 6px 0 14px;
}
.contract-attachment summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}
.contract-attachment form {
  margin-top: 10px;
}
.revoke-confirm {
  padding: 16px;
  margin: 0 0 14px;
  background: #fff7f3;
  border: 1px solid #ecd9ce;
  border-radius: 10px;
}
.revoke-confirm p {
  margin: 7px 0;
  color: #71534a;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  .first-access-layout .intro {
    position: static;
    padding-bottom: 18px;
  }
  .first-access-layout .intro h2 {
    font-size: 31px;
    letter-spacing: -1.3px;
  }
}
@media (max-width: 480px) {
  .invitation-actions {
    justify-content: flex-start;
  }
  .first-access-card .notice {
    font-size: 12px;
  }
}
