/* Zipkart documentation theme */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url(../fonts/plus-jakarta-sans-latin.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url(../fonts/jetbrains-mono-latin.woff2) format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bg: #ffffff;
  --bg-soft: #f5f9f8;
  --surface: #ffffff;
  --surface-2: #f8fbfa;
  --line: #e2eae9;
  --line-strong: #cfdcda;
  --ink: #0d2224;
  --text: #2f4648;
  --muted: #5d7274;
  --faint: #8aa09f;
  --brand: #008577;
  --brand-strong: #006e62;
  --brand-soft: #e6f4f2;
  --brand-ink: #015d53;
  --coral: #ff6b57;
  --coral-soft: #fff0ed;
  --blue: #2563eb;
  --blue-soft: #eef4ff;
  --amber: #b45309;
  --amber-soft: #fff7e6;
  --amber-line: #f6c66b;
  --red: #c81e3a;
  --red-soft: #fff0f2;
  --green: #15803d;
  --green-soft: #ecfdf3;
  --code-bg: #0f1d1f;
  --code-ink: #e3efee;
  --code-line: #1f3335;
  --inline-code: #edf4f3;
  --shadow: 0 1px 2px rgba(13, 34, 36, .05), 0 8px 24px rgba(13, 34, 36, .07);
  --shadow-lg: 0 10px 40px rgba(13, 34, 36, .14);
  --radius: 14px;
  --top: 64px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a1516;
  --bg-soft: #0d1b1c;
  --surface: #102223;
  --surface-2: #0f1f20;
  --line: #1e3335;
  --line-strong: #2a4547;
  --ink: #eaf4f3;
  --text: #c8d8d7;
  --muted: #93aaa9;
  --faint: #6f8786;
  --brand: #2bb8a6;
  --brand-strong: #4fd2bf;
  --brand-soft: rgba(43, 184, 166, .13);
  --brand-ink: #7fe0d2;
  --coral: #ff7a68;
  --coral-soft: rgba(255, 107, 87, .12);
  --blue: #7aa7ff;
  --blue-soft: rgba(96, 140, 255, .12);
  --amber: #f5b14a;
  --amber-soft: rgba(245, 177, 74, .1);
  --amber-line: rgba(245, 177, 74, .4);
  --red: #ff8095;
  --red-soft: rgba(255, 92, 120, .1);
  --green: #4ade80;
  --green-soft: rgba(74, 222, 128, .1);
  --code-bg: #071112;
  --code-ink: #dbe9e8;
  --code-line: #183032;
  --inline-code: #15292b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--top) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
}

.ic {
  width: 18px;
  height: 18px;
  flex: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 99;
}

.skip:focus {
  left: 12px;
}

button {
  font: inherit;
  color: inherit;
}

kbd {
  font-family: var(--mono);
  font-size: 12px;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}
/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--top);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.brand img {
  height: 30px;
  width: auto;
}

.brand:hover {
  text-decoration: none;
}

.logo-d {
  display: none;
}

[data-theme="dark"] .logo-d {
  display: block;
}

[data-theme="dark"] .logo-l {
  display: none;
}

.brand-tag {
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-ink);
  background: var(--brand-soft);
  padding: 2px 9px;
  border-radius: 999px;
}

.ver {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 1px 8px;
  border-radius: 999px;
}

.search-btn {
  margin-left: 18px;
  flex: 0 1 340px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 10px 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
}

.search-btn span {
  flex: 1;
  text-align: left;
}

.search-btn:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.top-links {
  margin-left: auto;
  display: flex;
  gap: 4px;
}

.top-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 7px 11px;
  border-radius: 8px;
}

.top-links a .ic {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.top-links a:hover {
  background: var(--bg-soft);
  text-decoration: none;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
}

.icon-btn:hover {
  border-color: var(--line-strong);
}

.menu-btn {
  display: none;
}

.t-sun {
  display: none;
}

[data-theme="dark"] .t-sun {
  display: block;
}

[data-theme="dark"] .t-moon {
  display: none;
}

.t-sun,
.t-moon {
  line-height: 0;
}
/* ---------- layout ---------- */
.layout {
  display: flex;
  align-items: flex-start;
  max-width: 1600px;
  margin: 0 auto;
}

.sidebar {
  position: sticky;
  top: var(--top);
  width: 296px;
  flex: none;
  height: calc(100vh - var(--top));
  overflow-y: auto;
  border-right: 1px solid var(--line);
  padding: 18px 12px 18px 16px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
}

.main {
  flex: 1;
  min-width: 0;
  padding: 36px 56px 0;
}

.toc {
  position: sticky;
  top: var(--top);
  width: 250px;
  flex: none;
  height: calc(100vh - var(--top));
  overflow-y: auto;
  padding: 36px 20px 24px 8px;
  font-size: 13.5px;
}

.doc {
  max-width: 860px;
  margin: 0 auto;
}

.is-home .doc {
  max-width: 1080px;
}

.is-home .toc {
  display: none;
}

.is-home .doc-head {
  display: none;
}
/* ---------- sidebar nav ---------- */
.nav-group {
  margin-bottom: 4px;
}

.nav-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  background: none;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  text-align: left;
}

.nav-head:hover {
  background: var(--bg-soft);
}

.nav-head .ic {
  color: var(--brand);
  width: 18px;
  height: 18px;
}

.nav-head span {
  flex: 1;
}

.nav-head .caret {
  color: var(--faint);
  width: 16px;
  height: 16px;
  transition: transform .2s;
}

.nav-group.open .caret {
  transform: rotate(180deg);
}

.nav-group ul {
  list-style: none;
  margin: 2px 0 8px;
  padding: 0 0 0 19px;
  display: none;
}

.nav-group.open ul {
  display: block;
}

.nav-group li a {
  display: block;
  padding: 5px 10px 5px 15px;
  margin-left: -1px;
  border-left: 2px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.nav-group li a:hover {
  color: var(--ink);
  text-decoration: none;
  border-left-color: var(--line-strong);
}

.nav-group li a.active {
  color: var(--brand-ink);
  font-weight: 700;
  border-left-color: var(--brand);
  background: linear-gradient(90deg, var(--brand-soft), transparent);
  border-radius: 0 8px 8px 0;
}

.nav-part {
  margin: 20px 10px 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}

.nav-part:first-child {
  margin-top: 4px;
}

.nav-head .nav-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.nav-group li a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.nl-n {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 0 4px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
}

.nav-group li a.active .nl-n {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.nav-sec {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 12px 0 4px 15px;
  border-left: 2px solid var(--line);
  margin-left: -1px;
}

.side-foot {
  margin-top: auto;
  padding: 16px 6px 4px;
}

.side-foot {
  display: grid;
  gap: 8px;
}

.side-foot a.wa {
  background: #25d366;
  color: #fff;
}

.side-foot a.wa:hover {
  background: #1fb457;
  text-decoration: none;
}

.side-foot a.wa span {
  display: grid;
  line-height: 1.25;
}

.side-foot a.wa small {
  font-weight: 500;
  font-size: 12px;
  opacity: .92;
}

.side-foot a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
/* ---------- TOC ---------- */
.toc-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.toc li a {
  display: block;
  padding: 4px 0 4px 14px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--muted);
  line-height: 1.4;
}

.toc li.sub a {
  padding-left: 26px;
  font-size: 13px;
}

.toc li a:hover {
  color: var(--ink);
  text-decoration: none;
}

.toc li a.on {
  color: var(--brand-ink);
  border-left-color: var(--brand);
  font-weight: 600;
}
/* ---------- doc header ---------- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-transform: none;
  margin-bottom: 8px;
}

.crumbs .sep {
  width: 14px;
  height: 14px;
  color: var(--faint);
}

.doc h1 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 800;
}

.lead {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 760px;
}

.lead:empty {
  display: none;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.badges:empty {
  display: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.badge .ic {
  width: 14px;
  height: 14px;
}

.badge.alt {
  background: var(--coral-soft);
  color: var(--coral);
}

.doc-head {
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
/* ---------- content typography ---------- */
.content {
  font-size: 16px;
}

.content > :first-child {
  margin-top: 0;
}

.content h2 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 52px 0 14px;
  font-weight: 800;
}

.content h3 {
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
  margin: 34px 0 10px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.content h4 {
  font-size: 16.5px;
  color: var(--ink);
  margin: 26px 0 8px;
  font-weight: 700;
}

.content h2 .anchor,
.content h3 .anchor {
  margin-left: 8px;
  color: var(--faint);
  opacity: 0;
  font-weight: 500;
  text-decoration: none;
}

.content h2:hover .anchor,
.content h3:hover .anchor {
  opacity: 1;
}

.content p {
  margin: 0 0 16px;
}

.content ul,
.content ol {
  padding-left: 24px;
  margin: 0 0 18px;
}

.content li {
  margin: 6px 0;
}

.content li::marker {
  color: var(--brand);
  font-weight: 700;
}

.content strong {
  color: var(--ink);
  font-weight: 700;
}

.content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

.content code {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--inline-code);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-word;
}

.content mark {
  background: #fff1a8;
  color: #111;
  padding: 0 3px;
  border-radius: 3px;
}
/* code blocks */
.content pre,
.highlight pre {
  position: relative;
  margin: 0 0 20px;
  background: var(--code-bg);
  color: var(--code-ink);
  border: 1px solid var(--code-line);
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.65;
}

.content pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
  word-break: normal;
}

.highlight {
  position: relative;
  margin: 0 0 20px;
}

.highlight pre {
  margin: 0;
}

.code-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 -1px;
  padding: 6px 12px;
  font-family: var(--mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 12px;
  font-weight: 600;
  color: #cfe3e0;
  background: var(--code-bg);
  border: 1px solid var(--code-line);
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 10px 10px 0 0;
  position: relative;
  z-index: 1;
}

.code-title + pre,
.code-title + .highlight {
  margin-top: 0;
}

.code-title + .highlight pre,
.code-title + pre {
  border-top-left-radius: 0;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #cfe3e1;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s;
}

.copy-btn .ic {
  width: 14px;
  height: 14px;
}

.highlight:hover .copy-btn,
pre:hover .copy-btn,
.copy-btn:focus {
  opacity: 1;
}

.copy-btn.done {
  color: #7ff0c4;
}

.code-title {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 6px;
}
/* tables */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.55;
}

.content th {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-soft);
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.content td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

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

.content td code {
  white-space: nowrap;
}
/* UI markers */
.ui-path {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  font-size: .9em;
  font-weight: 600;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border-radius: 7px;
  padding: 1px 8px;
  line-height: 1.6;
  vertical-align: baseline;
}

.ui-path .sep {
  width: 13px;
  height: 13px;
  opacity: .65;
}

.ui-btn {
  display: inline-block;
  font-size: .86em;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 7px;
  padding: 1px 9px;
  line-height: 1.6;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .12);
}
/* ---------- admonitions ---------- */
.admonition,
details {
  position: relative;
  margin: 0 0 22px;
  padding: 14px 18px 12px 52px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--text);
}

.admonition > :last-child,
details > :last-child {
  margin-bottom: 0;
}

.admonition-title,
details > summary {
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px !important;
  font-size: 15.5px;
}

.adm-ic {
  position: absolute;
  left: 18px;
  top: 16px;
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.admonition.note,
.admonition.info {
  border-left-color: var(--blue);
  background: var(--blue-soft);
}

.admonition.note .adm-ic,
.admonition.info .adm-ic {
  color: var(--blue);
}

.admonition.tip {
  border-left-color: var(--brand);
  background: var(--brand-soft);
}

.admonition.success {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.admonition.success .adm-ic {
  color: var(--green);
}

.admonition.warning,
.admonition.important {
  border-left-color: var(--amber-line);
  background: var(--amber-soft);
}

.admonition.warning .adm-ic,
.admonition.important .adm-ic {
  color: var(--amber);
}

.admonition.danger {
  border-left-color: var(--red);
  background: var(--red-soft);
}

.admonition.danger .adm-ic {
  color: var(--red);
}

.admonition ul,
.admonition ol {
  margin-bottom: 6px;
}

details {
  padding-left: 18px;
  background: var(--surface-2);
  border-left-color: var(--line-strong);
}

details > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  line-height: 1.45;
}

details > summary::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0;
  border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  background: linear-gradient(var(--brand), var(--brand)) center / 10px 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 10px no-repeat, var(--brand-soft);
  transition: transform .2s;
}

details[open] > summary::before {
  background: linear-gradient(var(--brand), var(--brand)) center / 10px 2px no-repeat, var(--brand-soft);
}

details > summary:hover::before {
  transform: scale(1.06);
}

details > summary::marker {
  content: "";
}

details[open] > summary {
  margin-bottom: 10px !important;
}

details > summary::-webkit-details-marker {
  display: none;
}
/* ---------- steps ---------- */
.steps {
  counter-reset: step;
  position: relative;
  margin: 8px 0 28px;
  padding-left: 56px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--line-strong), var(--line));
}

.steps > h3 {
  position: relative;
  counter-increment: step;
  margin: 36px 0 10px;
}

.steps > h3:first-child {
  margin-top: 4px;
}

.steps > h3::before {
  content: counter(step);
  position: absolute;
  left: -56px;
  top: -3px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--bg);
}
/* ---------- screenshots ---------- */
.shot {
  margin: 22px 0 28px;
}

.shot-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shot.size-md .shot-frame,
.shot.size-md figcaption,
.shot.size-md .legend {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.shot.size-sm .shot-frame,
.shot.size-sm figcaption,
.shot.size-sm .legend {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.bbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.bbar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.bbar i:nth-child(2) {
  background: #febc2e;
}

.bbar i:nth-child(3) {
  background: #28c840;
}

.bbar span {
  margin-left: 10px;
  height: 18px;
  flex: 0 1 46%;
  border-radius: 6px;
  background: var(--line);
  opacity: .6;
}

.shot-zoom {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.shot-inner {
  position: relative;
  display: block;
}

.shot-inner img {
  display: block;
  width: 100%;
  height: auto;
}

.is-tall .shot-zoom {
  max-height: 600px;
  overflow: hidden;
}

.is-tall .shot-zoom::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(transparent, var(--surface));
  pointer-events: none;
}

.shot-more {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

[data-theme="dark"] .shot-more {
  background: var(--brand);
  color: #04201c;
}

.shot-more .ic {
  width: 14px;
  height: 14px;
}

.shot figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

.shot-missing {
  padding: 40px;
  text-align: center;
  color: var(--red);
  background: var(--red-soft);
  font-weight: 600;
}

.mark {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  opacity: .55;
  animation: pulse 2.2s ease-out infinite;
}

.mark b {
  font-weight: 800;
}

@keyframes pulse {
  0% {
    transform: scale(.7);
    opacity: .7;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark::after {
    animation: none;
  }
}

.legend {
  list-style: none;
  padding: 0 !important;
  margin: 14px 0 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 18px;
}

.legend li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
}

.legend li b {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  margin-top: 1px;
}
/* phones */
.phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 28px;
  margin: 24px 0 30px;
  padding: 26px 18px;
  background: radial-gradient(120% 120% at 50% 0%, var(--brand-soft), transparent 70%), var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.phone {
  margin: 0;
  width: 200px;
  text-align: center;
}

.phones.n4 {
  gap: 26px 22px;
}

.phones.n4 .phone {
  width: 166px;
}

.phones.n5 {
  gap: 26px 14px;
  padding-left: 12px;
  padding-right: 12px;
}

.phones.n5 .phone {
  width: 138px;
}

.phones.n5 .phone-frame {
  border-width: 5px;
  border-radius: 24px;
}

.phones.n5 .phone-frame img {
  border-radius: 19px;
}

.phones.n5 .phone figcaption {
  font-size: 12.5px;
}

.phone-frame {
  display: block;
  aspect-ratio: 9 / 19.5;
  border: 6px solid #0e1c1e;
  border-radius: 30px;
  overflow: hidden;
  background: #0e1c1e;
  box-shadow: 0 1px 0 #2c4648 inset, 0 14px 30px rgba(13, 34, 36, .22);
  cursor: zoom-in;
  transition: transform .2s;
}

.phone-frame:hover {
  transform: translateY(-3px);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
}

.phone figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
/* cards */
.cards {
  display: grid;
  gap: 16px;
  margin: 20px 0 30px;
}

.cards.c2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.c3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.c4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}

a.card:hover {
  text-decoration: none;
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 6px;
}

.card-ic .ic {
  width: 21px;
  height: 21px;
}

.card-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.card-t {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.35;
}

.card-x {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.card-go {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--faint);
  transition: color .15s, transform .15s;
}

a.card:hover .card-go {
  color: var(--brand);
  transform: translateX(3px);
}
/* split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin: 8px 0 24px;
}

.split-col > :first-child {
  margin-top: 0;
}
/* tabs (pymdownx.tabbed alternate) */
.tabbed-set {
  position: relative;
  display: flex;
  flex-flow: column wrap;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.tabbed-set > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tabbed-labels {
  display: flex;
  gap: 2px;
  width: 100%;
  overflow: auto;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 0 8px;
  scrollbar-width: none;
}

.tabbed-labels > label {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  margin-bottom: -1px;
}

.tabbed-labels > label:hover {
  color: var(--ink);
}

.tabbed-content {
  width: 100%;
}

.tabbed-block {
  display: none;
  padding: 16px 18px 2px;
}

.tabbed-block > pre:first-child,
.tabbed-block > .highlight:first-child {
  margin-top: 0;
}

.tabbed-set > input:nth-child(1):checked ~ .tabbed-labels > :nth-child(1),
.tabbed-set > input:nth-child(2):checked ~ .tabbed-labels > :nth-child(2),
.tabbed-set > input:nth-child(3):checked ~ .tabbed-labels > :nth-child(3),
.tabbed-set > input:nth-child(4):checked ~ .tabbed-labels > :nth-child(4),
.tabbed-set > input:nth-child(5):checked ~ .tabbed-labels > :nth-child(5),
.tabbed-set > input:nth-child(6):checked ~ .tabbed-labels > :nth-child(6) {
  color: var(--brand-ink);
  border-bottom-color: var(--brand);
}

.tabbed-set > input:nth-child(1):checked ~ .tabbed-content > :nth-child(1),
.tabbed-set > input:nth-child(2):checked ~ .tabbed-content > :nth-child(2),
.tabbed-set > input:nth-child(3):checked ~ .tabbed-content > :nth-child(3),
.tabbed-set > input:nth-child(4):checked ~ .tabbed-content > :nth-child(4),
.tabbed-set > input:nth-child(5):checked ~ .tabbed-content > :nth-child(5),
.tabbed-set > input:nth-child(6):checked ~ .tabbed-content > :nth-child(6) {
  display: block;
}
/* task lists / checklists */
.task-list-item {
  list-style: none;
  position: relative;
  margin: 0 !important;
  padding: 10px 12px 10px 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.task-list-item + .task-list-item {
  margin-top: 8px !important;
}

.content ul:has(> .task-list-item) {
  padding-left: 0;
}

.task-list-control {
  position: absolute;
  left: 12px;
  top: 11px;
}

.task-list-control input {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
}

.task-list-indicator {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
}

.task-list-control input:checked + .task-list-indicator {
  background: var(--brand) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 15px no-repeat;
  border-color: var(--brand);
}

.task-list-item.done {
  background: var(--bg-soft);
}

.task-list-item.done > :not(.task-list-control) {
  opacity: .65;
}

.progress {
  margin: 4px 0 22px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.progress-top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--ink);
  font-size: 14.5px;
  margin-bottom: 10px;
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.progress-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), #3fc9b6);
  border-radius: 999px;
  transition: width .3s;
}

.progress button {
  margin-top: 10px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
/* figures + misc */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.pill img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.meta thead {
  display: none;
}

.meta td:first-child {
  font-weight: 700;
  color: var(--ink);
  width: 30%;
  white-space: nowrap;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
}
/* ---------- pager + footer ---------- */
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 56px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}

.pager a:hover {
  border-color: var(--brand);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.pager a span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.pager a span .ic {
  width: 15px;
  height: 15px;
}

.pager a b {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-ink);
}

.pager .next {
  text-align: right;
  align-items: flex-end;
}

.foot {
  max-width: 860px;
  margin: 40px auto 0;
  padding: 22px 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.is-home .foot {
  max-width: 1080px;
}

.foot b {
  color: var(--ink);
}
/* ---------- home page ---------- */
.hero {
  position: relative;
  overflow: hidden;
  margin: -4px 0 36px;
  padding: 52px 52px 46px;
  border-radius: 24px;
  color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, rgba(63, 201, 182, .45), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(255, 107, 87, .28), transparent 60%), linear-gradient(135deg, #0b3a37, #062120);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
}

.hero h1,
.hero .h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 18px 0 14px;
  color: #fff;
  font-weight: 800;
  max-width: 760px;
}

.hero .h1 em {
  font-style: normal;
  color: #6fe3d2;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  max-width: 640px;
  margin: 0 0 26px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: #ff6b57;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 87, .35);
}

.btn-primary:hover {
  background: #ff5a44;
}

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .14);
}

.hero-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-apps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}

.hero-apps img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  margin: 46px 0 6px;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 18px;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 18px 0 30px;
  counter-reset: rm;
}

.rm {
  position: relative;
  padding: 18px 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.rm:hover {
  border-color: var(--brand);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.rm .n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}

.rm b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.rm small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
}

.rm .t {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-ink);
  background: var(--brand-soft);
  padding: 2px 9px;
  border-radius: 999px;
}

.rm .t .ic {
  width: 12px;
  height: 12px;
}

.arch {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 18px 0 30px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.arch-col {
  display: grid;
  gap: 10px;
}

.arch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.arch-item img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: none;
}

.arch-item .ai {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.arch-item b {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.3;
}

.arch-item small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
  display: block;
}

.arch-core {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  padding: 22px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, #0b3a37, #062120);
  color: #fff;
  min-width: 210px;
  box-shadow: var(--shadow-lg);
}

.arch-core .fire {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  color: #ffb547;
}

.arch-core .fire .ic {
  width: 28px;
  height: 28px;
}

.arch-core b {
  font-size: 16px;
}

.arch-core small {
  color: rgba(255, 255, 255, .75);
  font-size: 12.5px;
  line-height: 1.5;
}
/* ---------- search modal ---------- */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10vh 16px 16px;
  background: rgba(6, 18, 19, .55);
  backdrop-filter: blur(3px);
}

.search-modal[hidden] {
  display: none;
}

.search-box {
  width: min(680px, 100%);
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.search-field .ic {
  color: var(--brand);
  width: 20px;
  height: 20px;
}

.search-field input {
  flex: 1;
  height: 58px;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
}

.search-results {
  overflow-y: auto;
  padding: 8px;
}

.search-results a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text);
}

.search-results a:hover,
.search-results a.sel {
  background: var(--brand-soft);
  text-decoration: none;
}

.sr-t {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}

.sr-g {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-ink);
}

.sr-h {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.sr-x {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}

.sr-x mark,
.sr-t mark {
  background: rgba(255, 196, 0, .35);
  color: inherit;
  border-radius: 3px;
  padding: 0 1px;
}

.search-empty {
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.search-foot {
  display: flex;
  gap: 18px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.search-foot kbd {
  margin-right: 3px;
}
/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: rgba(4, 12, 13, .92);
}

.lightbox[hidden] {
  display: none;
}

.lb-stage {
  flex: 1;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 56px 70px 16px;
}

.lb-stage img {
  max-width: min(100%, 1500px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  background: #fff;
  margin: auto;
}

.lb-stage.phone-img img {
  max-width: min(100%, 460px);
}

.lb-cap {
  padding: 12px 20px 18px;
  text-align: center;
  color: #d6e6e4;
  font-size: 14.5px;
}

.lb-btn {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, .18);
}

.lb-close {
  top: 14px;
  right: 16px;
}

.lb-prev {
  left: 14px;
  top: 50%;
}

.lb-next {
  right: 14px;
  top: 50%;
}
/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .toc {
    display: none;
  }
  .main {
    padding: 32px 44px 0;
  }
}

@media (max-width: 1080px) {
  .top-links {
    display: none;
  }
  .theme-btn {
    margin-left: auto;
  }
  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards.c4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .menu-btn {
    display: grid;
  }
  .sidebar {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    height: 100vh;
    transform: translateX(-102%);
    transition: transform .22s ease;
    box-shadow: var(--shadow-lg);
    padding-top: 18px;
  }
  body.nav-open .sidebar {
    transform: none;
  }
  .scrim {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(6, 18, 19, .45);
  }
  .scrim[hidden] {
    display: none;
  }
  .main {
    padding: 26px 22px 0;
  }
  .search-btn {
    margin-left: auto;
    flex: 0 1 auto;
  }
  .search-btn span,
  .search-btn .k-hint {
    display: none;
  }
  .theme-btn {
    margin-left: 0;
  }
  .ver {
    display: none;
  }
  .cards.c3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
  .arch {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 36px 26px 32px;
  }
}

@media (max-width: 600px) {
  .brand-tag {
    display: none;
  }
  .cards.c2,
  .cards.c3,
  .cards.c4 {
    grid-template-columns: 1fr;
  }
  .roadmap {
    grid-template-columns: 1fr;
  }
  .phones {
    gap: 18px 14px;
    padding: 18px 8px;
  }
  .phone,
  .phones.n4 .phone,
  .phones.n5 .phone {
    width: 46%;
    max-width: 170px;
  }
  .phone-frame {
    border-width: 5px;
    border-radius: 24px;
  }
  .phone-frame img {
    border-radius: 19px;
  }
  .steps {
    padding-left: 46px;
  }
  .steps > h3::before {
    left: -46px;
    width: 32px;
    height: 32px;
  }
  .steps::before {
    left: 15px;
  }
  .pager {
    grid-template-columns: 1fr;
  }
  .lb-stage {
    padding: 56px 10px 10px;
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 14px;
  }
  .content h2 {
    font-size: 23px;
  }
}
/* ---------- print ---------- */
@media print {
  .topbar,
  .sidebar,
  .toc,
  .pager,
  .search-modal,
  .lightbox,
  .shot-more,
  .copy-btn {
    display: none !important;
  }
  .main {
    padding: 0;
  }
  .is-tall .shot-zoom {
    max-height: none;
  }
  .is-tall .shot-zoom::after {
    display: none;
  }
  a {
    color: inherit;
  }
}
