:root {
  --navy: #29275f;
  --navy-light: #3b3978;
  --blue: #1179c5;
  --cyan: #2fbfe8;
  --ink: #171b2a;
  --muted: #586174;
  --line: #d9dce4;
  --panel: #ffffff;
  --soft: #f5f6f9;
  --success: #117a3b;
  --warning: #a35a00;
  --error: #b42318;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #f7f8fb;
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", sans-serif;
  font-size: 17px;
}

.layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  background: var(--navy);
  color: white;
  height: 100vh;
  overflow-y: auto;
  padding: 34px 24px 28px;
  position: sticky;
  top: 0;
}

.brand {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 54px;
}

.brand-icon {
  height: 94px;
  width: 94px;
}

.brand-name {
  font-size: 54px;
  font-weight: 800;
  line-height: 0.9;
}

.brand-subtitle {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 5px;
}

.mobile-nav-toggle {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  color: white;
  cursor: pointer;
  display: none;
  font: inherit;
  font-weight: 700;
  margin-bottom: 18px;
  padding: 16px 18px;
  position: relative;
  text-align: left;
  width: 100%;
}

.mobile-nav-toggle::after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid white;
  content: "";
  height: 0;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
}

.navigation {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nav-group-title {
  color: rgba(255, 255, 255, 0.58);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  margin: 0 0 8px;
  padding-left: 8px;
  text-transform: uppercase;
}

.nav-link {
  border-left: 3px solid transparent;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.88);
  display: block;
  padding: 11px 13px;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  outline: none;
}

.nav-link.active {
  border-left-color: var(--cyan);
}

.content {
  max-width: 1240px;
  padding: 92px 48px 76px;
}

.page-heading {
  margin-bottom: 28px;
}

.page-kicker {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1 {
  color: var(--blue);
  font-size: 44px;
  line-height: 1;
  margin: 0;
}

h1::after {
  background: var(--navy);
  content: "";
  display: block;
  height: 7px;
  margin-top: 28px;
  width: 200px;
}

h2 {
  font-size: 27px;
  margin: 0 0 16px;
}

h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

p {
  line-height: 1.6;
  margin: 0 0 16px;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.intro {
  font-size: 23px;
  line-height: 1.52;
  max-width: 1050px;
}

.section {
  max-width: 1120px;
}

.section+.section {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.summary-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 18px;
}

.summary-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
}

.summary-label {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.summary-value {
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
}

table {
  background: white;
  border: 1px solid var(--line);
  border-collapse: collapse;
  min-width: 700px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f0f2f6;
  font-size: 15px;
}

td {
  color: #252b3b;
}

tr:last-child td {
  border-bottom: 0;
}

code {
  background: #eef4fb;
  border-radius: 4px;
  color: #163c75;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.92em;
  padding: 2px 5px;
}

pre {
  background: #171948;
  border-radius: 6px;
  color: #f5f8ff;
  margin: 14px 0 0;
  overflow-x: auto;
  padding: 18px;
}

pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.note {
  border-left: 5px solid var(--cyan);
  background: #eef9fd;
  padding: 15px 17px;
}

.warning {
  border-left-color: var(--warning);
  background: #fff6e8;
}

.success {
  border-left-color: var(--success);
  background: #eefaf2;
}

.flow-list {
  display: grid;
  gap: 14px;
}

.flow {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}

.flow-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.flow-step {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
  padding: 8px 10px;
}

.flow-arrow {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px 17px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  color: var(--muted);
  margin: 12px 0 0;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist>li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 14px 16px;
}

.source-link {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    height: auto;
    position: relative;
  }

  .brand {
    margin-bottom: 24px;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .navigation {
    display: none;
  }

  .navigation.open {
    display: flex;
  }

  .content {
    padding: 34px 20px 50px;
  }

  h1 {
    font-size: 38px;
  }  

  .description-list>li {
    border: none !important;
  }
}