:root {
  --bg: #fff;
  --ink: #222;
  --muted: #64646e;
  --line: #e6e6eb;
  --soft: #f6f7fc;
  --accent: #222;
  --primary: #ffd631;
  --tint: #fff6d1;
  --shadow: 0 4px 20px #22222206;
  --header: 72px;
  color-scheme: only light;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.75;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a,
input,
summary {
  outline-offset: 4px;
}
button {
  background: none;
  border: 0;
}
a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -100px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
}
.skip:focus {
  top: 8px;
}
.topbar {
  height: var(--header);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  width: 108px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  flex: 1;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  text-align: left;
  font-size: 13px;
  min-height: 42px;
  margin-left: auto;
}
.search-trigger > span:first-child {
  font-size: 24px;
  line-height: 1;
}
.search-trigger kbd {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 10px;
  padding: 0 5px;
  white-space: nowrap;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  white-space: nowrap;
}
.language {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}
.product-link {
  background: var(--primary);
  color: #222;
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 7px 11px;
}
.mobile-menu {
  display: none;
  font-size: 20px;
}
.layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr) 208px;
  max-width: 1680px;
  margin: auto;
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 30px 20px 40px 24px;
  height: calc(100dvh - var(--header));
  position: sticky;
  top: var(--header);
  overflow: auto;
  font-size: 14px;
  background: color-mix(in srgb, var(--soft) 45%, var(--bg));
  scrollbar-width: thin;
}
.sidebar nav > .nav-home {
  display: block;
  padding: 9px 10px;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 18px;
}
.sidebar details {
  margin: 0 0 18px;
}
.sidebar summary {
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 10px;
  list-style: none;
}
.sidebar summary::after {
  content: "−";
  float: right;
  color: var(--muted);
}
.sidebar details:not([open]) summary::after {
  content: "+";
}
.sidebar ul {
  list-style: none;
  padding: 5px 0 0;
  margin: 0;
}
.sidebar li a {
  display: block;
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 5px;
  line-height: 1.55;
}
.sidebar .active,
.sidebar li a.active {
  background: var(--tint);
  color: var(--accent);
  font-weight: 600;
}
.sidebar li a:hover {
  background: var(--soft);
  color: var(--ink);
}
main {
  min-width: 0;
  padding: 24px 56px 0;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
}
.landing {
  grid-template-columns: 252px minmax(0, 1fr);
}
.landing main {
  max-width: none;
  padding: 36px 48px 0;
}
.article-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  flex-wrap: wrap;
}
.status {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
}
.status.checked {
  color: var(--accent);
  background: var(--tint);
  border-color: var(--primary);
}
.article-tools button {
  color: var(--muted);
  min-height: 40px;
  padding: 8px 12px;
}
h1,
h2,
h3,
h4 {
  line-height: 1.35;
  letter-spacing: -0.035em;
}
article {
  font-size: 16px;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
article > h1 {
  font-size: 36px;
  line-height: 1.35;
  letter-spacing: -1px;
  margin: 0 0 20px;
  font-weight: 700;
  text-wrap: balance;
}
article h2 {
  font-size: 25px;
  margin: 52px 0 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
article h3 {
  font-size: 19px;
  margin: 28px 0 12px;
}
article h4 {
  font-size: 15px;
  margin: 24px 0 10px;
}
article p {
  margin: 16px 0;
}
article > .article-lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 68ch;
}
article a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent), transparent 65%);
  text-underline-offset: 4px;
}
article .heading-anchor {
  opacity: 0;
  font-size: 0.7em;
  padding-left: 8px;
  text-decoration: none;
}
article h2:hover .heading-anchor,
article h3:hover .heading-anchor,
.heading-anchor:focus {
  opacity: 1;
}
article ul,
article ol {
  padding-left: 22px;
}
article li {
  padding-left: 3px;
  margin: 9px 0;
}
article li::marker {
  font-weight: 650;
}
article table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: auto;
  font-size: 14px;
  margin: 22px 0;
}
article th,
article td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  min-width: 110px;
  vertical-align: top;
}
article th {
  background: var(--soft);
  font-weight: 600;
  white-space: nowrap;
}
article tr:last-child td {
  border: 0;
}
article td:first-child {
  font-weight: 500;
}
article code {
  font-size: 0.9em;
  background: var(--soft);
  padding: 2px 5px;
  border-radius: 3px;
}
article pre {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
  overflow: auto;
  line-height: 1.6;
}
article pre code {
  padding: 0;
  white-space: pre;
}
.hint {
  border-left: 3px solid var(--primary);
  background: var(--soft);
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  font-size: 14px;
}
.hint p {
  margin: 4px 0;
}
.hint.warning {
  border-color: #ca9b35;
  background: color-mix(in srgb, #e9c05c 10%, var(--bg));
}
.hint.danger {
  border-color: #c0554a;
  background: color-mix(in srgb, #d9665c 8%, var(--bg));
}
article blockquote {
  margin: 22px 0;
  padding: 8px 20px;
  border-left: 3px solid var(--line);
  color: var(--muted);
}
figure {
  margin: 32px 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  box-shadow: var(--shadow);
}
figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 12px 12px 0 0;
  background: #fff;
}
figcaption {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px 20px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.figure-detail {
  font-size: 11px;
}
.screenshot-button {
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  position: relative;
}
.screenshot-button::after {
  content: "↗";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #e6e6eb;
  border-radius: 8px;
  background: #fff;
  color: #222;
  box-shadow: 0 2px 6px #0001;
}
.privacy-note {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
}
.page-toc {
  position: sticky;
  top: var(--header);
  height: calc(100dvh - var(--header));
  padding: 48px 22px 24px 6px;
  overflow: auto;
  font-size: 12px;
}
.page-toc strong {
  font-size: 12px;
  letter-spacing: 0.02em;
}
.page-toc nav {
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}
.page-toc a {
  padding: 6px 12px;
  color: var(--muted);
  line-height: 1.6;
}
.page-toc a.active {
  color: var(--accent);
  border-left: 2px solid var(--primary);
  margin-left: -1px;
}
.pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 36px 0 60px;
}
.pagination a {
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
}
.pagination a:last-child {
  text-align: right;
}
.pagination small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.pagination strong {
  font-size: 14px;
  font-weight: 500;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 32px;
  font-size: 12px;
  color: var(--muted);
}
.hero {
  background: var(--soft);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 36px 36px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, 0.8fr);
  align-items: start;
  gap: 28px;
  color: var(--ink);
  border: 1px solid var(--line);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 650;
  color: var(--accent);
  margin: 0 0 16px;
}
.hero .eyebrow {
  color: var(--muted);
}
.hero h1 {
  font-size: clamp(30px, 2.5vw, 42px);
  margin: 0 0 20px;
  line-height: 1.3;
  position: relative;
  letter-spacing: -1.4px;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.hero-intro {
  max-width: 580px;
  font-size: 15px;
  line-height: 1.8;
  position: relative;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  position: relative;
  margin: 24px 0 8px;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
}
.primary {
  display: inline-flex;
  gap: 26px;
  background: var(--primary);
  color: #222;
  border-radius: 8px;
  padding: 11px 17px;
}
.primary:hover {
  background: #ffd740;
  color: #222;
  text-decoration: none;
}
.hero-foot {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 15px;
  position: relative;
  grid-column: 1 / -1;
}
.hero-helper {
  border: 1px solid color-mix(in srgb, var(--primary) 60%, var(--line));
  border-radius: 12px;
  padding: 22px;
  background: var(--bg);
  box-shadow: var(--shadow);
}
.helper-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  background: var(--tint);
  padding: 4px 8px;
  border-radius: 4px;
}
.hero-helper h2 {
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  margin: 14px 0;
}
.hero-helper ol {
  padding-left: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.hero-helper li {
  margin: 5px 0;
}
.hero-helper a {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
}
.hero-foot span {
  color: var(--ink);
  margin: 0 12px;
}
.popular {
  margin: 44px 0 40px;
}
.popular .eyebrow,
.all-guides > .eyebrow {
  margin-bottom: 8px;
}
.popular h2,
.all-guides > h2,
.flow > h2 {
  font-size: 24px;
  margin: 0 0 20px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 18px 16px;
  position: relative;
  min-height: 260px;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  text-decoration: none;
}
.card-number {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #222;
  background: var(--primary);
  padding: 4px 7px;
  border-radius: 4px;
}
.card h3 {
  font-size: 18px;
  margin: 20px 0 6px;
}
.card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  min-height: 44px;
}
.card-screen {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 20px;
}
.card-arrow {
  position: absolute;
  top: 20px;
  right: 18px;
  color: var(--muted);
}
.flow {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 44px;
  background: var(--soft);
}
.flow h2 {
  font-size: 16px;
}
.flow ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  gap: 15px;
}
.flow li {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.flow li span {
  font-size: 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.all-guides {
  margin-bottom: 60px;
}
.guide-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.guide-groups h3 {
  font-size: 13px;
  margin: 0 0 10px;
}
.guide-groups ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.guide-groups li a {
  font-size: 12px;
  padding: 7px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.guide-groups a:hover {
  color: var(--accent);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-heading h2,
article .section-heading h2 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  border: 0;
}
.section-heading .eyebrow {
  margin: 0 0 8px;
}
.section-heading > a {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
}
.section-intro,
.library-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: -6px 0 22px;
}
.examples-home {
  margin: 48px 0;
}
.scenario-grid,
article .scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.scenario-grid > li,
article .scenario-grid > li {
  min-width: 0;
  padding: 0;
  margin: 0;
}
.scenario-card,
article .scenario-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--bg);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.scenario-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 24px #2222220c;
}
.scenario-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.example-badge {
  display: inline-block;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 7px;
  background: var(--soft);
  font-weight: 450;
}
.sample-checked {
  border-color: color-mix(in srgb, var(--primary) 65%, var(--line));
  background: var(--tint);
  color: var(--ink);
}
.scenario-card h3,
article .scenario-card h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  font-weight: 650;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.scenario-card p,
article .scenario-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 8px;
}
.scenario-action {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.guide-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 44px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.guide-shortcuts a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 9px 14px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-decoration: none;
  background: var(--bg);
}
.guide-shortcuts a:first-child {
  border-color: var(--primary);
  background: var(--tint);
  font-weight: 650;
}
.guide-examples {
  margin: 0 0 56px;
}
.use-case {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--bg);
  box-shadow: var(--shadow);
  margin: 22px 0;
  scroll-margin-top: 100px;
}
.use-case-heading {
  display: flex;
  align-items: start;
  gap: 14px;
}
.example-number {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #222;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}
.example-kicker {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
article .use-case h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 650;
}
.example-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
}
.example-context dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 5px;
}
.example-context dd {
  margin: 0;
}
.sample-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
}
article .example-steps {
  list-style: none;
  counter-reset: example-step;
  margin: 26px 0;
  padding: 0;
}
article .example-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 3px 14px;
  margin: 0 0 22px;
  padding: 0;
  counter-increment: example-step;
  font-size: 15px;
}
.example-steps li::before {
  content: counter(example-step);
  grid-column: 1;
  grid-row: 1 / 3;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  font-size: 12px;
  font-weight: 600;
  margin-top: 1px;
}
.example-steps strong,
.example-steps p {
  grid-column: 2;
}
article .example-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.example-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
}
.example-comparison > div {
  padding: 16px;
}
.example-comparison > div:last-child {
  background: var(--soft);
  border-left: 1px solid var(--line);
}
.example-comparison span {
  color: var(--muted);
  font-size: 11px;
}
article .example-comparison p {
  margin: 6px 0 0;
  font-size: 14px;
}
.example-result {
  border-left: 3px solid var(--primary);
  background: var(--soft);
  padding: 16px 18px;
  border-radius: 0 8px 8px 0;
}
.example-result strong,
.example-caution strong {
  font-size: 12px;
}
article .example-result p,
article .example-caution p {
  font-size: 14px;
  margin: 5px 0 0;
}
.example-caution {
  margin: 18px 0;
  padding: 14px 18px;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--line));
  background: color-mix(in srgb, var(--tint) 55%, var(--bg));
  border-radius: 8px;
}
.example-evidence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 20px;
  font-size: 11px;
}
.example-evidence a {
  color: var(--muted);
}
.feature-reference {
  border-top: 1px solid var(--line);
  padding-top: 1px;
}
.example-library {
  margin: 36px 0 48px;
}
.example-library .scenario-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
[data-example-count] {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  white-space: nowrap;
}
.example-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.example-filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  font-size: 13px;
  background: var(--bg);
}
.example-filters button[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #222;
  font-weight: 650;
}
.library-reading-notes {
  border-top: 1px solid var(--line);
  padding-top: 1px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  padding: 24px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 24px 100px #0004;
}
dialog::backdrop {
  background: #18181bb3;
  backdrop-filter: blur(3px);
}
#search-dialog {
  width: 660px;
  margin: 12vh auto;
  max-height: 76dvh;
}
.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.search-head h2 {
  font-size: 15px;
  margin: 0;
}
.search-head button {
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 10px;
  padding: 3px 7px;
}
#search-input {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
}
#search-status {
  font-size: 11px;
  color: var(--muted);
  margin: 14px 0;
}
#search-results {
  padding: 0;
  margin: 0;
  list-style: none;
}
#search-results a {
  display: block;
  border-top: 1px solid var(--line);
  padding: 14px 8px;
  border-radius: 5px;
}
#search-results a:hover,
#search-results a:focus {
  background: var(--soft);
}
#search-results strong {
  font-size: 13px;
}
#search-results p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
#image-dialog {
  max-width: 95vw;
  max-height: 94dvh;
  padding: 12px;
}
#image-dialog > button {
  display: block;
  margin: 0 0 12px auto;
  font-size: 12px;
}
#image-dialog img {
  max-width: 100%;
  max-height: 80dvh;
  object-fit: contain;
  background: #fff;
}
.not-found {
  padding: 12vh 8vw;
}
.not-found h1 {
  font-size: 30px;
}
.not-found a {
  display: inline-block;
  margin: 20px 20px 0 0;
  color: var(--accent);
}
@media (min-width: 1600px) {
  .landing main {
    padding: 40px 64px 0;
  }
  .hero {
    padding: 60px 56px 24px;
    min-height: 410px;
  }
}
@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 224px minmax(0, 1fr);
  }
  .page-toc {
    display: none;
  }
  .sidebar {
    padding-left: 16px;
  }
  .topbar {
    padding: 0 24px;
    gap: 22px;
  }
  main {
    padding: 24px 40px 0;
  }
  .landing main {
    padding: 30px 32px 0;
  }
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .card {
    min-height: 150px;
  }
  .guide-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-helper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10px 24px;
  }
  .hero-helper ol {
    grid-column: 2;
    grid-row: 1 / 4;
  }
  .hero-helper h2,
  .hero-helper a {
    margin: 0;
  }
  .helper-label {
    justify-self: start;
  }
  .scenario-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  :root {
    --header: 60px;
  }
  .topbar {
    padding: 0 18px;
    gap: 12px;
  }
  .brand-logo {
    width: 86px;
    height: 32px;
  }
  .top-actions {
    gap: 10px;
    margin-left: auto;
  }
  .product-link {
    display: none;
  }
  .search-trigger {
    flex: 0;
    padding: 0;
    border: 0;
    background: none;
    margin-left: auto;
    min-width: 24px;
    justify-content: center;
  }
  .search-trigger > span:nth-child(2),
  .search-trigger kbd {
    display: none;
  }
  .search-trigger > span:first-child {
    font-size: 28px;
  }
  .mobile-menu {
    display: block;
    padding: 2px;
    min-width: 36px;
    min-height: 42px;
  }
  .layout,
  .landing {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: var(--header);
    width: 280px;
    background: var(--bg);
    z-index: 25;
    transform: translateX(-100%);
    transition: transform 0.15s;
    visibility: hidden;
    box-shadow: 12px 15px 30px #0001;
    padding: 20px;
  }
  .menu-open .sidebar {
    transform: translateX(0);
    visibility: visible;
  }
  .menu-open {
    overflow: hidden;
  }
  main,
  .landing main {
    padding: 24px 22px 0;
  }
  article > h1 {
    font-size: 28px;
  }
  article h2 {
    font-size: 21px;
  }
  article {
    font-size: 16px;
  }
  article > .article-lead {
    font-size: 17px;
  }
  .hero {
    padding: 26px 22px 20px;
    border-radius: 12px;
    gap: 24px;
  }
  .hero h1 {
    font-size: 31px;
    letter-spacing: -1.2px;
  }
  .hero-intro {
    font-size: 14px;
    max-width: none;
  }
  .hero-actions {
    gap: 16px;
    margin: 24px 0 0;
    font-size: 12px;
  }
  .hero-foot {
    font-size: 9px;
    letter-spacing: .06em;
  }
  .hero-foot span {
    margin: 0 6px;
  }
  .hero-helper {
    display: block;
    padding: 20px;
  }
  .hero-helper h2 {
    font-size: 20px;
    margin: 12px 0;
  }
  .hero-helper ol {
    margin: 12px 0;
  }
  .hero-helper a {
    margin-top: 16px;
  }
  .popular {
    margin-top: 32px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .card {
    padding: 20px;
    min-height: 0;
  }
  .card h3 {
    font-size: 18px;
  }
  .card p {
    font-size: 13px;
    min-height: 0;
  }
  .card-arrow {
    top: 16px;
    right: 12px;
  }
  .flow {
    padding: 22px;
  }
  .flow ol {
    grid-template-columns: 1fr;
    gap: 18px 10px;
  }
  .guide-groups {
    gap: 26px 20px;
  }
  .guide-groups li a {
    font-size: 13px;
  }
  .guide-groups h3 {
    font-size: 14px;
  }
  .pagination {
    gap: 10px;
  }
  .pagination a {
    padding: 14px 12px;
  }
  footer {
    font-size: 11px;
    flex-wrap: wrap;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .section-heading h2,
  article .section-heading h2 {
    font-size: 22px;
  }
  .example-library .scenario-grid {
    grid-template-columns: 1fr;
  }
  .use-case {
    padding: 20px 16px;
    border-radius: 12px;
  }
  article .use-case h3 {
    font-size: 20px;
  }
  .example-context,
  .example-comparison {
    grid-template-columns: 1fr;
  }
  .example-comparison > div:last-child {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .guide-shortcuts a {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .example-evidence {
    justify-content: start;
  }
  .figure-detail {
    font-size: 11px;
  }
  #search-dialog {
    margin: 8vh auto;
    padding: 18px;
    max-height: 82dvh;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
@media print {
  .topbar,
  .sidebar,
  .page-toc,
  .pagination,
  footer,
  .article-tools button,
  .heading-anchor,
  .skip,
  dialog {
    display: none !important;
  }
  .layout {
    display: block;
  }
  main {
    max-width: none;
    padding: 0;
  }
  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }
  article {
    font-size: 11pt;
  }
  .hint,
  pre,
  figure,
  tr {
    break-inside: avoid;
  }
  .example-filters,
  .guide-shortcuts {
    display: none !important;
  }
  .use-case,
  .scenario-card {
    box-shadow: none;
  }
  .example-steps li,
  .example-result,
  .example-caution {
    break-inside: avoid;
  }
  .privacy-note {
    font-size: 9pt;
  }
  a {
    color: inherit !important;
  }
}
