.portal-page {
  min-height: 100vh;
  overflow-x: hidden;
  color: #1f2937;
  background: #fff;
}
.portal-page * {
  box-sizing: border-box;
}
.portal-page button,
.portal-page a {
  letter-spacing: 0;
}
.portal-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.portal-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid #e8edf5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.portal-header__inner {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.portal-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: #1f2937;
  text-decoration: none;
}
.portal-brand__mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  background: #eef1ff;
}
.portal-brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.portal-brand__text {
  display: flex;
  flex-direction: column;
}
.portal-brand__text strong {
  color: #172033;
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
}
.portal-brand__text span {
  color: #64748b;
  font-size: 11px;
  line-height: 16px;
}
.portal-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
.portal-nav button,
.portal-nav a {
  padding: 8px 0;
  border: 0;
  color: #475569;
  font-size: 13px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}
.portal-nav button:hover,
.portal-nav a:hover,
.portal-nav button:focus-visible,
.portal-nav a:focus-visible {
  color: #536dfe;
  outline: none;
}
.portal-nav a[aria-current='page'] {
  color: #536dfe;
  font-weight: 600;
}
.portal-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}
.portal-theme-toggle {
  flex: 0 0 auto;
  margin-left: 0;
}
.portal-login,
.portal-primary-action,
.portal-secondary-action,
.service-cta > a {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.portal-login {
  min-width: 76px;
  border: 1px solid #536dfe;
  color: #536dfe;
  background: #fff;
}
.portal-login:hover,
.portal-login:focus-visible {
  color: #fff;
  background: #536dfe;
}
.portal-menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  color: #1f2937;
  background: #fff;
  cursor: pointer;
}
.portal-menu-button:hover,
.portal-menu-button:focus-visible {
  border-color: #536dfe;
  color: #536dfe;
  background: #eef1ff;
  outline: none;
}
.portal-mobile-nav {
  display: none;
}
.portal-hero {
  background: #f7f9fc;
}
.portal-hero__inner {
  display: grid;
  min-height: calc(100vh - 200px);
  grid-template-columns: minmax(400px, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: clamp(44px, 6vw, 84px);
  padding: 56px 0 48px;
}
.portal-eyebrow,
.section-kicker,
.section-heading > span {
  display: inline-block;
  color: #536dfe;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}
.portal-hero h1 {
  margin: 18px 0 0;
  color: #101827;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}
.portal-title__brand,
.portal-title__product {
  display: block;
  letter-spacing: 0;
}
.portal-title__brand {
  font-size: 56px;
}
.portal-title__product {
  margin-top: 8px;
  font-size: 42px;
  white-space: nowrap;
}
.portal-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}
.portal-primary-action {
  height: 44px;
  border: 1px solid #536dfe;
  color: #fff;
  background: #536dfe;
  box-shadow: 0 8px 20px rgba(83, 109, 254, 0.2);
}
.portal-primary-action:hover,
.portal-primary-action:focus-visible {
  border-color: #6c82ff;
  background: #6c82ff;
}
.portal-secondary-action {
  height: 44px;
  border: 1px solid #dfe5ef;
  color: #334155;
  background: #fff;
}
.portal-secondary-action:hover,
.portal-secondary-action:focus-visible {
  border-color: #536dfe;
  color: #536dfe;
}
.portal-proof-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}
.portal-proof-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #536175;
  font-size: 13px;
}
.portal-proof-list .app-iconify {
  color: #536dfe;
}
.product-stage,
.grading-console,
.approval-flow,
.analytics-board {
  overflow: hidden;
  border: 1px solid #dce3ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(31, 45, 61, 0.09);
}
.product-stage {
  box-shadow: 0 20px 50px rgba(31, 45, 61, 0.12);
}
.product-stage__topbar {
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #e8edf5;
}
.product-stage__title,
.product-stage__status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #243047;
  font-size: 13px;
  font-weight: 600;
}
.product-stage__logo {
  width: 25px;
  height: 25px;
  overflow: hidden;
  border-radius: 5px;
}
.product-stage__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-stage__status {
  color: #64748b;
  font-size: 11px;
  font-weight: 400;
}
.product-stage__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px #ecfdf3;
}
.product-stage__body {
  display: grid;
  min-height: 392px;
  grid-template-columns: 88px minmax(0, 1fr);
}
.product-stage__sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 10px;
  border-right: 1px solid #e8edf5;
  background: #fafbfe;
}
.product-stage__sidebar span {
  display: flex;
  height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 7px;
  color: #8490a5;
  font-size: 10px;
}
.product-stage__sidebar span.is-active {
  color: #536dfe;
  background: #eef1ff;
}
.product-stage__workspace {
  min-width: 0;
  padding: 22px;
}
.workspace-heading,
.task-progress__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.workspace-heading > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.workspace-heading strong {
  color: #243047;
  font-size: 15px;
}
.workspace-heading span {
  color: #94a3b8;
  font-size: 11px;
}
.workspace-heading .workspace-badge {
  padding: 4px 9px;
  border-radius: 5px;
  color: #168449;
  background: #ecfdf3;
}
.workspace-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  border-top: 1px solid #e8edf5;
  border-bottom: 1px solid #e8edf5;
}
.workspace-metrics div {
  padding: 14px 10px;
  border-right: 1px solid #e8edf5;
}
.workspace-metrics div:first-child {
  padding-left: 0;
}
.workspace-metrics div:last-child {
  border-right: 0;
}
.workspace-metrics span,
.workspace-metrics strong {
  display: block;
}
.workspace-metrics span {
  color: #94a3b8;
  font-size: 10px;
}
.workspace-metrics strong {
  margin-top: 3px;
  color: #253047;
  font-size: 21px;
}
.workspace-detail {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(190px, 1.15fr);
  gap: 20px;
  margin-top: 22px;
}
.scan-preview {
  position: relative;
  display: flex;
  min-height: 184px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  background: #f8faff;
}
.scan-preview > span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #8490a5;
  font-size: 9px;
}
.scan-preview__paper {
  display: flex;
  width: 96px;
  height: 132px;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid #dfe5ef;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05);
  transform: rotate(-2deg);
}
.paper-line {
  width: 64%;
  height: 3px;
  background: #e5eaf2;
}
.paper-line.is-long {
  width: 100%;
}
.paper-answer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 5px 0;
}
.paper-answer-grid i {
  width: 9px;
  height: 9px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
}
.paper-answer-grid i.is-marked {
  border-color: #536dfe;
  background: #536dfe;
}
.scan-preview__focus {
  position: absolute;
  width: 120px;
  height: 72px;
  border: 1px solid #536dfe;
}
.scan-preview__focus::after {
  position: absolute;
  top: 50%;
  right: -10px;
  left: -10px;
  height: 1px;
  background: #536dfe;
  box-shadow: 0 0 8px rgba(83, 109, 254, 0.2);
  content: '';
}
.task-progress {
  padding-top: 6px;
}
.task-progress__heading {
  margin-bottom: 22px;
  color: #475569;
  font-size: 11px;
}
.task-progress__heading strong {
  color: #536dfe;
  font-size: 18px;
}
.task-progress__row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: 10px;
}
.task-progress__row > div {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f7;
}
.task-progress__row > div i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #536dfe;
}
.task-progress__row em {
  font-style: normal;
  text-align: right;
}
.workflow-strip {
  scroll-margin-top: 88px;
  border-top: 1px solid #e8edf5;
  border-bottom: 1px solid #e8edf5;
  background: #fff;
}
.workflow-strip__inner {
  display: grid;
  min-height: 126px;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 12px;
  padding: 16px 0;
}
.workflow-strip__label {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.workflow-strip__label span {
  color: #536dfe;
  font-size: 12px;
  font-weight: 600;
}
.workflow-strip__label strong {
  color: #334155;
  font-size: 13px;
}
.workflow-strip ol {
  display: grid;
  grid-template-columns: repeat(9, minmax(92px, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}
.workflow-strip ol li {
  position: relative;
}
.workflow-strip ol li::after {
  position: absolute;
  top: 19px;
  right: -4px;
  width: 8px;
  height: 1px;
  background: #cbd5e1;
  content: '';
}
.workflow-strip ol li:last-child::after {
  display: none;
}
.workflow-strip ol button,
.workflow-strip ol a {
  display: flex;
  width: 100%;
  min-height: 60px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  color: #475569;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.workflow-strip ol button:hover,
.workflow-strip ol a:hover,
.workflow-strip ol button:focus-visible,
.workflow-strip ol a:focus-visible {
  color: #536dfe;
  background: #eef1ff;
  outline: none;
}
.workflow-strip ol button span,
.workflow-strip ol a span {
  color: #a3adbd;
  font-size: 10px;
}
.workflow-strip ol button strong,
.workflow-strip ol a strong {
  font-size: 11px;
  white-space: nowrap;
}
.portal-section {
  padding: 104px 0;
  scroll-margin-top: 72px;
}
.portal-section--muted {
  background: #f7f9fc;
}
.section-heading {
  max-width: 700px;
  margin-bottom: 50px;
}
.section-heading h2 {
  margin: 12px 0 0;
  color: #172033;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
.section-heading p {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
}
.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.workflow-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e8edf5;
  border-left: 1px solid #e8edf5;
}
.workflow-overview article {
  position: relative;
  min-height: 224px;
  padding: 30px 26px;
  border-right: 1px solid #e8edf5;
  border-bottom: 1px solid #e8edf5;
  background: #fff;
}
.workflow-overview article:hover .app-iconify {
  color: #536dfe;
}
.workflow-overview .app-iconify {
  color: #8490a5;
  transition: color 0.2s ease;
}
.workflow-overview h3 {
  margin: 28px 0 10px;
  color: #243047;
  font-size: 16px;
  font-weight: 600;
}
.workflow-overview p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.75;
}
.workflow-overview__index {
  position: absolute;
  top: 28px;
  right: 24px;
  color: #cbd3df;
  font-size: 12px;
  font-weight: 600;
}
.feature-layout,
.analytics-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
}
.feature-layout--reverse {
  grid-template-columns: minmax(560px, 1.18fr) minmax(380px, 0.82fr);
}
.feature-copy h2 {
  margin: 12px 0 0;
  color: #172033;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}
.feature-copy > p {
  margin: 20px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.85;
}
.feature-checks {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.feature-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-size: 14px;
}
.feature-checks .app-iconify {
  color: #22c55e;
}
.console-toolbar,
.approval-flow__header,
.analytics-board__header {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #e8edf5;
}
.console-toolbar > div,
.approval-flow__header > div,
.analytics-board__header > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.console-toolbar strong,
.approval-flow__header strong,
.analytics-board__header strong {
  color: #243047;
  font-size: 14px;
}
.console-toolbar span,
.approval-flow__header span,
.analytics-board__header span {
  color: #8490a5;
  font-size: 11px;
}
.console-body {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(0, 1fr) 178px;
}
.answer-surface {
  position: relative;
  padding: 34px 38px;
  border-right: 1px solid #e8edf5;
  background: #fbfcfe;
}
.answer-surface__question {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  background: #536dfe;
}
.handwriting-lines {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 10px 4px;
  margin-top: 26px;
}
.handwriting-lines i {
  display: block;
  width: 100%;
  height: 1px;
  background: #e4e9f1;
}
.handwriting-lines i::before {
  display: block;
  width: 52%;
  height: 2px;
  background: #aeb8c8;
  content: '';
  transform: translateY(-7px) rotate(-1deg);
}
.handwriting-lines i:nth-child(2)::before {
  width: 76%;
}
.handwriting-lines i:nth-child(3)::before {
  width: 64%;
}
.handwriting-lines i:nth-child(4)::before {
  width: 82%;
}
.mark-correction {
  position: absolute;
  right: 42px;
  bottom: 40px;
  color: #ef4444;
  font-family: Georgia, serif;
  font-size: 38px;
  font-style: italic;
  transform: rotate(-8deg);
}
.score-panel {
  display: flex;
  flex-direction: column;
  padding: 30px 22px;
}
.score-panel > span {
  color: #64748b;
  font-size: 12px;
}
.score-panel > strong {
  margin-top: 8px;
  color: #536dfe;
  font-size: 34px;
}
.score-panel .score-panel__action {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  background: #536dfe;
}
.score-scale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.score-scale i {
  height: 32px;
  border: 1px solid #e8edf5;
  border-radius: 5px;
  background: #f7f9fc;
}
.score-scale i:nth-child(5) {
  border-color: #536dfe;
  background: #eef1ff;
}
.approval-flow__header > strong {
  padding: 4px 9px;
  border-radius: 5px;
  color: #b7791f;
  font-size: 11px;
  background: #fffbeb;
}
.approval-flow__track {
  display: grid;
  padding: 30px 30px 16px;
}
.approval-flow__track > div {
  position: relative;
  display: grid;
  min-height: 70px;
  grid-template-columns: 38px 1fr;
  gap: 14px;
}
.approval-flow__track > div::before {
  position: absolute;
  top: 38px;
  bottom: 0;
  left: 18px;
  width: 1px;
  background: #dfe5ef;
  content: '';
}
.approval-flow__track > div:last-child::before {
  display: none;
}
.approval-flow__track > div > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8edf5;
  border-radius: 50%;
  color: #8490a5;
  background: #fff;
}
.approval-flow__track > div.is-current > span {
  border-color: #536dfe;
  color: #536dfe;
  background: #eef1ff;
}
.approval-flow__track > div > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}
.approval-flow__track > div strong {
  color: #334155;
  font-size: 13px;
}
.approval-flow__track > div em {
  color: #94a3b8;
  font-size: 11px;
  font-style: normal;
}
.approval-flow__rule {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
  border-top: 1px solid #e8edf5;
  color: #64748b;
  font-size: 12px;
  background: #f8faff;
}
.approval-flow__rule .app-iconify {
  color: #536dfe;
}
.portal-section--dark {
  background: #182235;
}
.analytics-layout {
  grid-template-columns: minmax(360px, 0.82fr) minmax(600px, 1.18fr);
}
.feature-copy--light h2 {
  color: #fff;
}
.feature-copy--light > p {
  color: #b7c1d2;
}
.feature-copy--light .section-kicker {
  color: #8fa1ff;
}
.analytics-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.analytics-values div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.analytics-values strong {
  color: #fff;
  font-size: 18px;
}
.analytics-values span {
  color: #8490a5;
  font-size: 11px;
}
.analytics-board {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
.analytics-board__header > span {
  padding: 5px 9px;
  border-radius: 5px;
  color: #536dfe;
  background: #eef1ff;
}
.analytics-board__summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #e8edf5;
}
.analytics-board__summary div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 18px 20px;
  border-right: 1px solid #e8edf5;
}
.analytics-board__summary div:last-child {
  border-right: 0;
}
.analytics-board__summary span {
  grid-column: 1 / -1;
  color: #94a3b8;
  font-size: 10px;
}
.analytics-board__summary strong {
  color: #253047;
  font-size: 21px;
}
.analytics-board__summary em {
  align-self: end;
  color: #22c55e;
  font-size: 10px;
  font-style: normal;
}
.analytics-board__chart {
  display: grid;
  min-height: 250px;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 26px 26px 22px;
}
.chart-scale {
  display: flex;
  height: 174px;
  flex-direction: column;
  justify-content: space-between;
  color: #a3adbd;
  font-size: 9px;
  text-align: right;
}
.chart-bars {
  display: grid;
  height: 198px;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: end;
}
.chart-bars > div {
  display: grid;
  height: 100%;
  grid-template-rows: 174px 18px;
  gap: 6px;
}
.chart-bars span {
  display: flex;
  height: 174px;
  align-items: flex-end;
  border-bottom: 1px solid #dfe5ef;
  background: repeating-linear-gradient(to bottom, #fff, #fff 42px, #edf1f7 43px);
}
.chart-bars span i {
  display: block;
  width: 100%;
  min-height: 8px;
  border-radius: 4px 4px 0 0;
  background: #536dfe;
}
.chart-bars em {
  color: #8490a5;
  font-size: 9px;
  font-style: normal;
  text-align: center;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e8edf5;
  border-bottom: 1px solid #e8edf5;
}
.service-grid article {
  min-height: 210px;
  padding: 30px 26px;
  border-right: 1px solid #e8edf5;
}
.service-grid article:last-child {
  border-right: 0;
}
.service-grid .app-iconify {
  color: #536dfe;
}
.service-grid h3 {
  margin: 24px 0 10px;
  color: #243047;
  font-size: 16px;
}
.service-grid p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.75;
}
.service-cta {
  display: flex;
  min-height: 146px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 34px;
  margin-top: 48px;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  background: #f7f9fc;
}
.service-cta span {
  color: #536dfe;
  font-size: 12px;
  font-weight: 600;
}
.service-cta h2 {
  margin: 8px 0 0;
  color: #172033;
  font-size: 24px;
  font-weight: 700;
}
.service-cta > a {
  min-width: 126px;
  border: 1px solid #536dfe;
  color: #fff;
  background: #536dfe;
}
.service-cta > a:hover,
.service-cta > a:focus-visible {
  border-color: #6c82ff;
  background: #6c82ff;
}
.contact-section {
  background: #f7f9fc;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: clamp(72px, 10vw, 140px);
}
.contact-copy {
  max-width: 620px;
}
.contact-copy h2 {
  margin: 12px 0 0;
  color: #172033;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}
.contact-copy > p {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.8;
}
.contact-details {
  padding: 0;
  margin: 34px 0 0;
  border-top: 1px solid #e8edf5;
  list-style: none;
}
.contact-details li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid #e8edf5;
}
.contact-details li > span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #536dfe;
  background: #eef1ff;
}
.contact-details div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-details strong {
  color: #243047;
  font-size: 14px;
  font-weight: 600;
}
.contact-details em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.6;
}
.contact-code {
  width: 320px;
  margin: 0;
  justify-self: end;
}
.contact-code img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(31, 45, 61, 0.09);
}
.contact-code figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.contact-code strong {
  color: #243047;
  font-size: 13px;
}
.contact-code span {
  color: #64748b;
  font-size: 11px;
}
.portal-footer {
  color: #a8b2c3;
  background: #121a29;
}
.portal-footer__main {
  display: grid;
  min-height: 220px;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: start;
  gap: 80px;
  padding-top: 50px;
  padding-bottom: 42px;
}
.portal-brand--footer .portal-brand__mark {
  border-color: rgba(255, 255, 255, 0.12);
  background: #fff;
}
.portal-brand--footer .portal-brand__text strong {
  color: #fff;
}
.portal-brand--footer .portal-brand__text span {
  color: #a8b2c3;
}
.portal-footer__brand > p {
  margin: 18px 0 0;
  color: #7f8b9f;
  font-size: 13px;
}
.portal-footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.portal-footer__links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.portal-footer__links strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 13px;
}
.portal-footer__links button,
.portal-footer__links a,
.portal-footer__links span {
  padding: 0;
  border: 0;
  color: #8f9bad;
  font-size: 12px;
  text-decoration: none;
  background: transparent;
}
.portal-footer__links button,
.portal-footer__links a {
  cursor: pointer;
}
.portal-footer__links button:hover,
.portal-footer__links a:hover,
.portal-footer__links button:focus-visible,
.portal-footer__links a:focus-visible {
  color: #fff;
}
.portal-footer__bottom {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #718096;
  font-size: 11px;
}
.portal-footer__bottom .portal-footer__icp {
  color: #718096;
  text-decoration: none;
  white-space: nowrap;
}
.portal-footer__bottom .portal-footer__icp:hover {
  color: #a0aec0;
}
@media (max-width: 1080px) {
  .portal-nav {
    gap: 18px;
  }
  .portal-hero__inner,
  .feature-layout,
  .feature-layout--reverse,
  .analytics-layout {
    grid-template-columns: minmax(340px, 0.86fr) minmax(500px, 1.14fr);
    gap: 42px;
  }
  .portal-title__brand {
    font-size: 48px;
  }
  .portal-title__product {
    font-size: 34px;
  }
  .workflow-strip ol {
    overflow-x: auto;
  }
  .workflow-overview,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-grid article:nth-child(2) {
    border-right: 0;
  }
  .service-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid #e8edf5;
  }
}
@media (max-width: 900px) {
  .portal-nav {
    display: none;
  }
  .portal-menu-button {
    display: inline-flex;
  }
  .portal-mobile-nav {
    position: absolute;
    right: 0;
    left: 0;
    display: grid;
    padding: 10px 24px 16px;
    border-bottom: 1px solid #e8edf5;
    background: #fff;
    box-shadow: 0 8px 28px rgba(31, 45, 61, 0.06);
  }
  .portal-mobile-nav button,
  .portal-mobile-nav a {
    min-height: 44px;
    border: 0;
    border-bottom: 1px solid #e8edf5;
    color: #334155;
    text-align: left;
    background: transparent;
  }
  .portal-mobile-nav a {
    display: flex;
    align-items: center;
    font-size: 13px;
    text-decoration: none;
  }
  .portal-hero__inner,
  .feature-layout,
  .feature-layout--reverse,
  .analytics-layout {
    grid-template-columns: 1fr;
  }
  .portal-hero__inner {
    padding-top: 64px;
  }
  .product-stage,
  .grading-console,
  .approval-flow,
  .analytics-board {
    width: min(100%, 680px);
    margin: 0 auto;
  }
  .feature-layout--reverse .approval-flow {
    order: 2;
  }
  .feature-layout--reverse .feature-copy {
    order: 1;
  }
  .workflow-strip__inner {
    display: block;
    padding: 18px 0;
  }
  .workflow-strip__label {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
  }
  .workflow-strip ol {
    grid-template-columns: repeat(9, 120px);
  }
  .portal-footer__main {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
  }
  .contact-code {
    width: 300px;
  }
}
@media (max-width: 640px) {
  .portal-container {
    width: calc(100% - 32px);
  }
  .portal-header__inner {
    height: 66px;
  }
  .portal-brand__text span {
    display: none;
  }
  .portal-login {
    min-width: 64px;
    height: 38px;
    padding: 0 14px;
  }
  .portal-hero__inner {
    min-height: auto;
    padding: 48px 0 32px;
  }
  .portal-title__brand {
    font-size: 40px;
  }
  .portal-title__product {
    margin-top: 6px;
    font-size: 28px;
  }
  .portal-hero__actions {
    margin-top: 30px;
  }
  .portal-primary-action,
  .portal-secondary-action {
    flex: 1 1 150px;
  }
  .product-stage__body {
    grid-template-columns: 1fr;
  }
  .product-stage__sidebar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px;
    border-right: 0;
    border-bottom: 1px solid #e8edf5;
  }
  .product-stage__workspace {
    padding: 18px 14px;
  }
  .workspace-detail {
    grid-template-columns: 1fr;
  }
  .scan-preview {
    min-height: 170px;
  }
  .portal-section {
    padding: 72px 0;
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .section-heading h2,
  .feature-copy h2 {
    font-size: 28px;
  }
  .workflow-overview,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .workflow-overview article,
  .service-grid article {
    min-height: 0;
    border-right: 1px solid #e8edf5 !important;
    border-bottom: 1px solid #e8edf5 !important;
  }
  .console-body {
    grid-template-columns: 1fr;
  }
  .answer-surface {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid #e8edf5;
  }
  .score-panel {
    min-height: 210px;
  }
  .analytics-values {
    gap: 10px;
  }
  .analytics-board__summary div {
    padding: 14px 10px;
  }
  .analytics-board__summary strong {
    font-size: 17px;
  }
  .analytics-board__chart {
    padding: 22px 14px 18px;
  }
  .chart-bars {
    gap: 7px;
  }
  .service-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
  .service-cta h2 {
    font-size: 21px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .contact-copy h2 {
    font-size: 28px;
  }
  .contact-code {
    width: min(100%, 300px);
    justify-self: center;
  }
  .portal-footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
  .portal-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-page *,
  .portal-page *::before,
  .portal-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.portal-page--dark {
  color: #e5e7eb;
  background: #151515 !important;
}
.portal-page--dark .portal-header {
  border-color: #303030;
  background: rgba(21, 21, 21, 0.96);
}
.portal-page--dark .portal-brand__mark {
  border-color: #3a3a3a;
  background: rgba(83, 109, 254, 0.18);
}
.portal-page--dark .portal-brand__text strong,
.portal-page--dark .product-stage__title,
.portal-page--dark .portal-hero h1,
.portal-page--dark .workspace-heading strong,
.portal-page--dark .workspace-metrics strong,
.portal-page--dark .workflow-strip__label strong,
.portal-page--dark .section-heading h2,
.portal-page--dark .workflow-overview h3,
.portal-page--dark .feature-copy h2,
.portal-page--dark .console-toolbar strong,
.portal-page--dark .approval-flow__header strong,
.portal-page--dark .analytics-board__header strong,
.portal-page--dark .approval-flow__track strong,
.portal-page--dark .analytics-board__summary strong,
.portal-page--dark .service-grid h3,
.portal-page--dark .service-cta h2,
.portal-page--dark .contact-copy h2,
.portal-page--dark .contact-details strong,
.portal-page--dark .contact-code strong {
  color: #e5e7eb;
}
.portal-page--dark .portal-brand__text span,
.portal-page--dark .portal-nav button,
.portal-page--dark .portal-nav a,
.portal-page--dark .portal-proof-list li,
.portal-page--dark .product-stage__status,
.portal-page--dark .workspace-heading span,
.portal-page--dark .workspace-metrics span,
.portal-page--dark .scan-preview > span,
.portal-page--dark .task-progress__heading,
.portal-page--dark .task-progress__row,
.portal-page--dark .workflow-strip button,
.portal-page--dark .workflow-strip a,
.portal-page--dark .section-heading p,
.portal-page--dark .workflow-overview p,
.portal-page--dark .feature-copy > p,
.portal-page--dark .feature-checks li,
.portal-page--dark .console-toolbar span,
.portal-page--dark .approval-flow__header span,
.portal-page--dark .analytics-board__header span,
.portal-page--dark .score-panel > span,
.portal-page--dark .approval-flow__track em,
.portal-page--dark .approval-flow__rule,
.portal-page--dark .analytics-values span,
.portal-page--dark .service-grid p,
.portal-page--dark .contact-copy > p,
.portal-page--dark .contact-details em,
.portal-page--dark .contact-code figcaption span {
  color: #9ca3af;
}
.portal-page--dark .workflow-strip button span,
.portal-page--dark .workflow-strip a span,
.portal-page--dark .workflow-overview__index,
.portal-page--dark .chart-scale,
.portal-page--dark .chart-bars em {
  color: #6b7280;
}
.portal-page--dark .portal-login {
  background: #151515;
}
.portal-page--dark .portal-login:hover,
.portal-page--dark .portal-login:focus-visible {
  color: #fff;
  background: #536dfe;
}
.portal-page--dark .portal-menu-button,
.portal-page--dark .portal-secondary-action {
  border-color: #3a3a3a;
  color: #e5e7eb;
  background: #1e1e1e;
}
.portal-page--dark .portal-menu-button:hover,
.portal-page--dark .portal-secondary-action:hover,
.portal-page--dark .portal-menu-button:focus-visible,
.portal-page--dark .portal-secondary-action:focus-visible {
  border-color: #6c82ff;
  color: #6c82ff;
  background: rgba(83, 109, 254, 0.18);
}
.portal-page--dark .portal-hero,
.portal-page--dark .portal-section--muted,
.portal-page--dark .contact-section {
  background: #101318;
}
.portal-page--dark .product-stage,
.portal-page--dark .grading-console,
.portal-page--dark .approval-flow,
.portal-page--dark .analytics-board {
  border-color: #303030;
  background: #151515;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}
.portal-page--dark .product-stage__topbar,
.portal-page--dark .workspace-metrics,
.portal-page--dark .workflow-strip,
.portal-page--dark .workflow-overview,
.portal-page--dark .console-toolbar,
.portal-page--dark .approval-flow__header,
.portal-page--dark .analytics-board__header,
.portal-page--dark .analytics-board__summary,
.portal-page--dark .service-grid,
.portal-page--dark .contact-details,
.portal-page--dark .contact-code img {
  border-color: #303030;
}
.portal-page--dark .product-stage__sidebar {
  border-color: #303030;
  background: #1e1e1e;
}
.portal-page--dark .product-stage__sidebar span {
  color: #9ca3af;
}
.portal-page--dark .product-stage__sidebar span.is-active {
  color: #6c82ff;
  background: rgba(83, 109, 254, 0.18);
}
.portal-page--dark .workspace-badge {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
}
.portal-page--dark .workspace-metrics div,
.portal-page--dark .analytics-board__summary div,
.portal-page--dark .service-grid article,
.portal-page--dark .contact-details li {
  border-color: #303030;
}
.portal-page--dark .scan-preview,
.portal-page--dark .answer-surface,
.portal-page--dark .approval-flow__rule,
.portal-page--dark .score-scale i,
.portal-page--dark .service-cta {
  border-color: #303030;
  background: #1e1e1e;
}
.portal-page--dark .scan-preview__paper,
.portal-page--dark .approval-flow__track > div > span {
  border-color: #3a3a3a;
  background: #151515;
}
.portal-page--dark .paper-line,
.portal-page--dark .handwriting-lines i,
.portal-page--dark .task-progress__row > div {
  background: #303030;
}
.portal-page--dark .handwriting-lines i::before {
  background: #6b7280;
}
.portal-page--dark .paper-answer-grid i {
  border-color: #3a3a3a;
}
.portal-page--dark .workflow-strip,
.portal-page--dark .workflow-overview article {
  background: #151515;
}
.portal-page--dark .workflow-strip ol li::after,
.portal-page--dark .approval-flow__track > div::before {
  background: #3a3a3a;
}
.portal-page--dark .workflow-overview article {
  border-color: #303030 !important;
}
.portal-page--dark .workflow-overview .app-iconify {
  color: #9ca3af;
}
.portal-page--dark .answer-surface {
  border-color: #303030;
}
.portal-page--dark .score-scale i:nth-child(5),
.portal-page--dark .approval-flow__track > div.is-current > span,
.portal-page--dark .analytics-board__header > span,
.portal-page--dark .contact-details li > span {
  border-color: #536dfe;
  color: #6c82ff;
  background: rgba(83, 109, 254, 0.18);
}
.portal-page--dark .approval-flow__header > strong {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.16);
}
.portal-page--dark .portal-section--dark {
  background: #1e1e1e;
}
.portal-page--dark .feature-copy--light > p {
  color: #9ca3af;
}
.portal-page--dark .analytics-board__summary span {
  color: #6b7280;
}
.portal-page--dark .chart-bars span {
  border-color: #3a3a3a;
  background: repeating-linear-gradient(to bottom, #151515, #151515 42px, #303030 43px);
}
.portal-page--dark .service-cta {
  border-color: #3a3a3a;
}
.portal-page--dark .portal-mobile-nav {
  border-color: #303030;
  background: #151515;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}
.portal-page--dark .portal-mobile-nav button,
.portal-page--dark .portal-mobile-nav a {
  border-color: #303030;
  color: #e5e7eb;
}
.portal-page--dark .portal-mobile-nav button:hover,
.portal-page--dark .portal-mobile-nav a:hover,
.portal-page--dark .portal-mobile-nav button:focus-visible,
.portal-page--dark .portal-mobile-nav a:focus-visible {
  color: #6c82ff;
  background: rgba(83, 109, 254, 0.18);
  outline: none;
}
.portal-page--dark .portal-footer {
  background: #101318;
}
html {
  -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #1f2937;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}
a {
  color: #536dfe;
}
img {
  max-width: 100%;
}
.sg-dark-switch {
  position: relative;
  display: flex;
  width: 50px;
  height: 26px;
  padding: 0 6px;
  margin-left: auto;
  appearance: none;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 30px;
  cursor: pointer;
  background-color: #151515;
}
.sg-dark-switch:focus-visible {
  outline: 2px solid #536dfe;
  outline-offset: 2px;
}
.sg-dark-switch-inner {
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.5s, background-color 0.5s;
  will-change: transform;
}
.sg-dark-switch--dark .sg-dark-switch-inner {
  transform: translateX(calc(100% + 2px));
}
.portal-header .sg-dark-switch {
  border-color: rgba(15, 23, 42, 0.16);
}
.portal-page--dark body {
  color: #e5e7eb;
  background: #151515;
}
.portal-page--dark .portal-header .sg-dark-switch {
  border-color: rgba(255, 255, 255, 0.38);
}
.portal-page--dark .portal-page {
  color: #e5e7eb;
  background: #151515;
}
.portal-hero__intro {
  max-width: 560px;
  margin: 20px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.85;
}
.portal-page--dark .portal-hero__intro,
.portal-page--dark .portal-hero__intro {
  color: #9ca3af;
}
.portal-page--dark .portal-nav a[aria-current='page'] {
  color: #6c82ff;
}
.portal-breadcrumb {
  border-bottom: 1px solid #e8edf5;
  background: #fff;
}
.portal-breadcrumb ol {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  margin: 0 auto;
  list-style: none;
}
.portal-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
}
.portal-breadcrumb li:not(:first-child)::before {
  color: #cbd5e1;
  content: '/';
}
.portal-breadcrumb li[aria-current='page'] {
  color: #64748b;
}
.portal-breadcrumb li a {
  color: #64748b;
  text-decoration: none;
}
.portal-breadcrumb li a:hover,
.portal-breadcrumb li a:focus-visible {
  color: #536dfe;
  text-decoration: underline;
}
.portal-page--dark .portal-breadcrumb {
  border-color: #303030;
  background: #151515;
}
.portal-page--dark .portal-breadcrumb li {
  color: #6b7280;
}
.portal-page--dark .portal-breadcrumb li[aria-current='page'] {
  color: #9ca3af;
}
.portal-page--dark .portal-breadcrumb li a {
  color: #9ca3af;
}
.portal-page--dark .portal-breadcrumb li a:hover,
.portal-page--dark .portal-breadcrumb li a:focus-visible {
  color: #6c82ff;
}
.portal-article-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid #e8edf5;
  background: #f7f9fc;
}
.portal-article-hero h1 {
  max-width: 900px;
  margin: 14px 0 0;
  color: #101827;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.portal-article-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.75;
}
.portal-article-hero .portal-article-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.portal-page--dark .portal-article-hero {
  border-color: #303030;
  background: #101318;
}
.portal-page--dark .portal-article-hero h1 {
  color: #e5e7eb;
}
.portal-page--dark .portal-article-hero p {
  color: #9ca3af;
}
.portal-article {
  padding: 56px 0 72px;
}
.portal-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 64px;
}
.portal-prose {
  max-width: 780px;
}
.portal-prose h2 {
  padding-left: 14px;
  margin: 48px 0 16px;
  border-left: 4px solid #536dfe;
  color: #172033;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}
.portal-prose h2:first-child {
  margin-top: 0;
}
.portal-prose h3 {
  margin: 28px 0 10px;
  color: #243047;
  font-size: 17px;
  font-weight: 600;
}
.portal-prose p {
  margin: 0 0 16px;
  color: #3f4a5c;
  font-size: 15px;
  line-height: 1.9;
}
.portal-prose ul,
.portal-prose ol {
  padding-left: 22px;
  margin: 0 0 18px;
}
.portal-prose li {
  margin-bottom: 10px;
  color: #3f4a5c;
  font-size: 15px;
  line-height: 1.8;
}
.portal-prose strong {
  color: #1f2937;
  font-weight: 600;
}
.portal-prose a {
  color: #536dfe;
  text-decoration: none;
}
.portal-prose a:hover,
.portal-prose a:focus-visible {
  text-decoration: underline;
}
.portal-page--dark .portal-prose h2 {
  color: #e5e7eb;
}
.portal-page--dark .portal-prose h3,
.portal-page--dark .portal-prose strong {
  color: #e5e7eb;
}
.portal-page--dark .portal-prose p,
.portal-page--dark .portal-prose li {
  color: #9ca3af;
}
.portal-page--dark .portal-prose a {
  color: #6c82ff;
}
.portal-faq {
  margin: 8px 0 0;
}
.portal-faq__item {
  padding: 20px 0;
  border-bottom: 1px solid #e8edf5;
}
.portal-faq__item:first-child {
  padding-top: 4px;
}
.portal-faq dt {
  margin-bottom: 8px;
  color: #1f2937;
  font-size: 15px;
  font-weight: 600;
}
.portal-faq dd {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.85;
}
.portal-page--dark .portal-faq__item {
  border-color: #303030;
}
.portal-page--dark .portal-faq dt {
  color: #e5e7eb;
}
.portal-page--dark .portal-faq dd {
  color: #9ca3af;
}
.portal-aside {
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05);
}
.portal-aside h2 {
  margin: 0 0 14px;
  color: #172033;
  font-size: 15px;
  font-weight: 600;
}
.portal-aside ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.portal-aside li + li {
  margin-top: 4px;
}
.portal-aside a {
  display: block;
  padding: 7px 0;
  color: #64748b;
  font-size: 13px;
  text-decoration: none;
}
.portal-aside a:hover,
.portal-aside a:focus-visible {
  color: #536dfe;
}
.portal-aside__cta {
  display: block;
  padding: 12px 16px;
  margin-top: 18px;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  background: #536dfe;
}
.portal-aside__cta:hover,
.portal-aside__cta:focus-visible {
  background: #6c82ff;
}
.portal-page--dark .portal-aside {
  border-color: #303030;
  background: #151515;
}
.portal-page--dark .portal-aside h2 {
  color: #e5e7eb;
}
.portal-page--dark .portal-aside a {
  color: #9ca3af;
}
.portal-page--dark .portal-aside a:hover,
.portal-page--dark .portal-aside a:focus-visible {
  color: #6c82ff;
}
.portal-cta {
  padding: 48px 0;
  border-top: 1px solid #e8edf5;
  background: #f7f9fc;
}
.portal-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.portal-cta h2 {
  margin: 0;
  color: #172033;
  font-size: 24px;
  font-weight: 600;
}
.portal-cta p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}
.portal-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}
.portal-page--dark .portal-cta {
  border-color: #303030;
  background: #101318;
}
.portal-page--dark .portal-cta h2 {
  color: #e5e7eb;
}
.portal-page--dark .portal-cta p {
  color: #9ca3af;
}
.portal-contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 8px 0 32px;
}
.portal-contact-methods article {
  padding: 22px;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05);
}
.portal-contact-methods h2 {
  padding: 0;
  margin: 0 0 8px;
  border: 0;
  color: #172033;
  font-size: 15px;
  font-weight: 600;
}
.portal-contact-methods p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.8;
}
.portal-page--dark .portal-contact-methods article {
  border-color: #303030;
  background: #151515;
}
.portal-page--dark .portal-contact-methods article h2 {
  color: #e5e7eb;
}
.portal-page--dark .portal-contact-methods article p {
  color: #9ca3af;
}
.portal-contact-code {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: 28px;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05);
}
.portal-contact-code img {
  display: block;
  width: 260px;
  height: auto;
  border: 1px solid #e8edf5;
  border-radius: 8px;
}
.portal-contact-code strong {
  display: block;
  margin-bottom: 8px;
  color: #172033;
  font-size: 15px;
}
.portal-contact-code p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.8;
}
.portal-page--dark .portal-contact-code {
  border-color: #303030;
  background: #151515;
}
.portal-page--dark .portal-contact-code strong {
  color: #e5e7eb;
}
.portal-page--dark .portal-contact-code p {
  color: #9ca3af;
}
.portal-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 8px;
}
.portal-capability-grid article {
  padding: 22px;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05);
}
.portal-capability-grid h3 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 15px;
  font-weight: 600;
}
.portal-capability-grid p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.8;
}
.portal-page--dark .portal-capability-grid article {
  border-color: #303030;
  background: #151515;
}
.portal-page--dark .portal-capability-grid article h3 {
  color: #e5e7eb;
}
.portal-page--dark .portal-capability-grid article p {
  color: #9ca3af;
}
@media (max-width: 900px) {
  .portal-article__layout,
  .portal-contact-code {
    grid-template-columns: minmax(0, 1fr);
  }
  .portal-aside {
    position: static;
  }
  .portal-contact-code {
    justify-items: center;
    text-align: center;
  }
  .portal-contact-methods,
  .portal-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 640px) {
  .portal-article-hero {
    padding: 44px 0 32px;
  }
  .portal-article-hero h1 {
    font-size: 28px;
  }
  .portal-prose h2 {
    font-size: 20px;
  }
  .portal-contact-methods,
  .portal-capability-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .portal-contact-code {
    padding: 20px;
  }
  .portal-contact-code img {
    width: min(100%, 260px);
  }
}
