:root {
  --page: #fbfcfd;
  --surface: #ffffff;
  --surface-soft: #f2f6f8;
  --surface-blue: #edf5f8;
  --ink: #172d40;
  --ink-strong: #0d2234;
  --ink-soft: #607486;
  --ink-muted: #637787;
  --line: rgba(31, 61, 84, 0.11);
  --line-strong: rgba(31, 61, 84, 0.18);
  --blue: #236b98;
  --blue-dark: #174f78;
  --blue-soft: #e5f0f5;
  --green: #2c8064;
  --green-soft: #e6f3ee;
  --amber: #bd7b32;
  --amber-soft: #fff4e8;
  --red: #c15e50;
  --shadow-soft: 0 18px 55px rgba(31, 57, 78, 0.08);
  --content: 1220px;
  --reading: 970px;
  --sidebar: 220px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 0%, rgba(93, 150, 179, 0.1), transparent 28rem),
    var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p,
li,
td,
th {
  overflow-wrap: anywhere;
}

code {
  border-radius: 7px;
  padding: 0.12em 0.38em;
  color: #1e587f;
  background: #edf4f7;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 11px 15px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink-strong);
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, summary):focus-visible {
  outline: 3px solid rgba(35, 107, 152, 0.28);
  outline-offset: 3px;
}

.docs-shell,
.site-header,
.public-footer {
  width: min(var(--content), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

/* Shared public header, tuned to the light FlowClick landing shell. */
.site-header-band {
  position: relative;
  z-index: 100;
  padding: 18px 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 17px rgba(30, 62, 84, 0.11);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-title {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-title strong {
  color: #213c51;
  font-size: 0.96rem;
  font-weight: 740;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.brand-title small {
  color: var(--ink-muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 10px;
  color: #53697a;
  font-size: 0.82rem;
  font-weight: 610;
  line-height: 1.2;
}

.site-nav a:hover {
  color: var(--blue-dark);
  background: var(--surface-blue);
}

.site-nav .nav-login {
  margin-left: 8px;
  color: var(--ink-strong);
}

.docs-layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 42px 0 72px;
}

.docs-sidebar {
  grid-column: 1;
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 4px 0 12px;
}

.docs-nav {
  display: block;
}

.docs-nav > summary {
  display: none;
}

.docs-nav__content {
  display: grid;
  gap: 22px;
}

.sidebar-home {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 11px;
  color: #496579;
}

.sidebar-home span {
  font-size: 0.78rem;
  font-weight: 720;
}

.sidebar-home small {
  color: var(--ink-muted);
  font-size: 0.65rem;
}

.sidebar-home:hover,
.sidebar-home.is-active {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.nav-section {
  display: grid;
  gap: 9px;
}

.nav-section h2 {
  margin: 0;
  color: #3e586b;
  font-size: 0.72rem;
  font-weight: 740;
  line-height: 1.25;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.nav-section p {
  display: none;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.nav-links {
  display: grid;
  gap: 2px;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: 8px;
  color: #627587;
  font-size: 0.73rem;
  line-height: 1.35;
}

.nav-links a:hover {
  color: var(--blue-dark);
  background: rgba(229, 240, 245, 0.68);
}

.nav-links a.is-active {
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 700;
}

.docs-content {
  grid-column: 2;
  width: 100%;
  min-width: 0;
}

.docs-hero,
.article,
.content-block,
.group-panel,
.docs-primary-product {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
}

.docs-hero {
  padding: clamp(32px, 5vw, 58px);
  background:
    radial-gradient(circle at 90% 0%, rgba(119, 166, 188, 0.22), transparent 17rem),
    linear-gradient(135deg, #f7fbfc 0%, #fff 65%);
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  margin: 0 0 14px;
  color: #3f718f;
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.docs-hero h1,
.article h1 {
  max-width: 800px;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 690;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.docs-hero > p:last-child,
.lead {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.13rem);
  line-height: 1.65;
}

.docs-primary-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: clamp(24px, 4vw, 36px);
  border-color: rgba(35, 107, 152, 0.18);
  background: linear-gradient(135deg, #edf5f8 0%, #f8fbfc 100%);
}

.docs-primary-product .eyebrow {
  margin-bottom: 8px;
}

.docs-primary-product h2,
.group-head h2,
.content-block h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  letter-spacing: -0.028em;
  line-height: 1.16;
}

.docs-primary-product p:last-child,
.group-head p {
  max-width: 700px;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.docs-primary-product > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 15px;
  border-radius: 11px;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(23, 79, 120, 0.16);
  font-size: 0.77rem;
  font-weight: 700;
  white-space: nowrap;
}

.docs-primary-product > a:hover {
  background: var(--blue);
}

.docs-groups {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.group-panel {
  padding: clamp(22px, 3.5vw, 32px);
}

.group-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.group-kicker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.72rem;
  font-weight: 750;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.topic-list a {
  display: grid;
  gap: 5px;
  min-height: 102px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.topic-list a:hover {
  background: var(--surface-blue);
}

.topic-list strong {
  color: #29465b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.topic-list span {
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.article {
  max-width: var(--reading);
  padding: clamp(28px, 5vw, 58px);
  box-shadow: 0 14px 42px rgba(31, 57, 78, 0.055);
}

.article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-updated {
  margin: 14px 0 0;
  color: #8293a1;
  font-size: 0.68rem;
}

.article-body {
  display: grid;
  gap: 23px;
  margin-top: 30px;
}

.article-body > p,
.content-block p,
.content-block li,
.doc-checklist li,
.doc-steps li {
  color: #3e5365;
  font-size: 0.94rem;
  line-height: 1.67;
}

.article-body > p {
  margin: 0;
}

.doc-audience-tabs {
  display: grid;
  gap: 18px;
  margin-top: 4px;
}

.doc-audience-tabs__intro {
  display: grid;
  gap: 4px;
}

.doc-audience-tabs__intro strong {
  color: #29465b;
  font-size: 0.88rem;
}

.doc-audience-tabs__intro span {
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.doc-audience-tabs__switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #edf2f4;
}

.doc-audience-tabs__switcher button {
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  color: #607587;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 720;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.doc-audience-tabs__switcher button:hover {
  color: var(--blue-dark);
}

.doc-audience-tabs__switcher button[aria-selected="true"] {
  color: #224862;
  background: #fff;
  box-shadow: 0 5px 18px rgba(31, 57, 78, 0.09);
}

.doc-audience-tabs__switcher button:focus-visible {
  outline: 3px solid rgba(35, 107, 152, 0.28);
  outline-offset: 2px;
}

.doc-audience-tabs__panel {
  display: grid;
  gap: 23px;
  padding-top: 5px;
}

.doc-audience-tabs__panel[hidden] {
  display: none;
}

.doc-audience-tabs__panel > p {
  margin: 0;
  color: #3e5365;
  font-size: 0.94rem;
  line-height: 1.67;
}

.article a:not(.doc-link-grid a) {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-color: rgba(35, 107, 152, 0.28);
  text-underline-offset: 3px;
}

.doc-block {
  display: grid;
  gap: 12px;
  scroll-margin-top: 24px;
}

.doc-block h2 {
  margin: 6px 0 0;
  color: #243f54;
  font-size: clamp(1.2rem, 2.2vw, 1.48rem);
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.doc-checklist,
.doc-steps {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 22px;
}

.doc-checklist {
  padding-left: 0;
  list-style: none;
}

.doc-checklist li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
}

.doc-checklist li::before {
  content: "";
  width: 11px;
  height: 11px;
  margin-top: 0.45em;
  border: 1.5px solid rgba(44, 128, 100, 0.58);
  border-radius: 4px;
  background: var(--green-soft);
}

.doc-action-path {
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 7px;
  padding: 2px 7px 3px;
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.doc-note {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-left: 3px solid #7ca6bc;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #f3f7f8;
}

.doc-note.is-warning {
  border-left-color: var(--amber);
  background: var(--amber-soft);
}

.doc-note strong {
  color: #2b465a;
  font-size: 0.8rem;
}

.doc-note p {
  margin: 0;
  color: #526878;
  font-size: 0.87rem;
  line-height: 1.58;
}

.doc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.doc-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
}

.doc-table th,
.doc-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: #42586a;
  font-size: 0.78rem;
  line-height: 1.48;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.doc-table th {
  color: #304c60;
  background: #f5f8fa;
  font-weight: 720;
}

.doc-table tr:last-child td {
  border-bottom: 0;
}

.doc-table.has-2-columns th:first-child {
  width: 34%;
}

.doc-table.has-3-columns th:first-child {
  width: 22%;
}

.doc-table.has-3-columns th:nth-child(2) {
  width: 29%;
}

.doc-table.has-4-columns th:first-child {
  width: 18%;
}

.doc-table.has-4-columns th:nth-child(2),
.doc-table.has-4-columns th:nth-child(3) {
  width: 24%;
}

.content-block {
  max-width: var(--reading);
  margin-top: 20px;
  padding: clamp(22px, 4vw, 34px);
}

.content-block > p {
  max-width: 720px;
  margin: 12px 0 0;
}

.related-pages {
  display: grid;
  gap: 16px;
  background: #f6f9fa;
}

.related-pages h2 {
  font-size: 1.25rem;
}

.doc-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.doc-link-grid a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 13px;
  border-radius: 10px;
  color: var(--blue-dark);
  background: #fff;
  font-size: 0.77rem;
  font-weight: 680;
  line-height: 1.35;
}

.doc-link-grid a:hover {
  background: var(--blue-soft);
}

/* Shared public footer, visually aligned with the landing rather than a dark card. */
.public-footer {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(540px, 1.2fr);
  gap: clamp(36px, 7vw, 70px);
  margin-top: 0;
  padding: 64px 0 34px;
  border-top: 1px solid var(--line);
}

.public-footer__brand {
  max-width: 360px;
}

.public-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.public-footer__logo > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 17px rgba(30, 62, 84, 0.1);
}

.public-footer__logo img {
  width: 33px;
  height: 33px;
}

.public-footer__logo strong {
  color: #213c51;
  font-size: 0.92rem;
}

.public-footer__brand > p {
  margin: 18px 0 0;
  color: #5f7484;
  font-size: 0.82rem;
  line-height: 1.6;
}

.public-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.public-footer__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 680;
}

.public-footer__primary {
  color: #fff;
  background: var(--blue-dark);
}

.public-footer__secondary {
  border: 1px solid var(--line-strong);
  color: #516b7d;
  background: #fff;
}

.public-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.public-footer__nav section {
  display: grid;
  align-content: start;
  gap: 9px;
}

.public-footer__nav h2 {
  margin: 0 0 5px;
  color: #3a5467;
  font-size: 0.74rem;
  font-weight: 720;
}

.public-footer__nav a {
  color: #607484;
  font-size: 0.75rem;
  line-height: 1.42;
}

.public-footer__nav a:hover {
  color: var(--blue-dark);
}

.public-footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 21px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 61, 84, 0.08);
  color: #637787;
  font-size: 0.68rem;
}

@media (max-width: 1180px) {
  .docs-shell,
  .site-header,
  .public-footer {
    width: min(100% - 36px, var(--content));
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 26px;
  }

  .docs-sidebar {
    grid-column: 1;
    position: static;
    max-height: none;
    padding: 0;
  }

  .docs-content {
    grid-column: 1;
  }

  .docs-nav {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.86);
  }

  .docs-nav > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
  }

  .docs-nav > summary::-webkit-details-marker {
    display: none;
  }

  .docs-nav > summary span {
    color: #314f64;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .docs-nav > summary small {
    color: var(--ink-muted);
    font-size: 0.68rem;
    text-align: right;
  }

  .docs-nav > summary::after {
    content: "⌄";
    color: var(--blue-dark);
    font-size: 1rem;
    grid-column: 2;
    grid-row: 1;
  }

  .docs-nav[open] > summary::after {
    transform: rotate(180deg);
  }

  .docs-nav__content {
    gap: 18px;
    padding: 0 16px 18px;
    border-top: 1px solid var(--line);
  }

  .sidebar-home {
    margin-top: 12px;
  }

  .nav-section p {
    display: block;
  }

  .article,
  .content-block {
    max-width: none;
  }

  .public-footer {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 980px) {
  .docs-nav__content {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .docs-shell,
  .site-header,
  .public-footer {
    width: min(100% - 28px, var(--content));
  }

  .site-header-band {
    padding: 12px 0;
  }

  .site-header {
    align-items: flex-start;
    gap: 12px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }

  .brand-mark img {
    width: 31px;
    height: 31px;
  }

  .brand-title small {
    display: none;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    min-height: 35px;
    padding: 7px 8px;
    font-size: 0.68rem;
  }

  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) {
    display: none;
  }

  .docs-layout {
    padding: 18px 0 52px;
  }

  .docs-hero,
  .article,
  .content-block,
  .group-panel,
  .docs-primary-product {
    border-radius: var(--radius-md);
  }

  .docs-hero,
  .article,
  .content-block,
  .group-panel {
    padding: 22px;
  }

  .docs-hero h1,
  .article h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .docs-primary-product {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .docs-primary-product > a {
    width: 100%;
  }

  .topic-list,
  .doc-link-grid {
    grid-template-columns: 1fr;
  }

  .topic-list a {
    min-height: 0;
  }

  .article-header {
    padding-bottom: 22px;
  }

  .article-body {
    gap: 20px;
    margin-top: 23px;
  }

  .article-body > p,
  .content-block p,
  .content-block li,
  .doc-checklist li,
  .doc-steps li {
    font-size: 0.9rem;
  }

  .doc-table th,
  .doc-table td {
    padding: 10px 11px;
  }

  .public-footer {
    padding-top: 46px;
  }

  .public-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .public-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
