:root {
  color-scheme: light;
  font-family: "Aptos", "Segoe UI Variable", "Noto Sans", "Noto Sans KR", "Yu Gothic UI", sans-serif;
  font-synthesis: none;
  --canvas: #eef1ee;
  --surface: #f6f7f4;
  --surface-strong: #ffffff;
  --surface-soft: #e8ece8;
  --ink: #171a18;
  --ink-soft: #343a36;
  --muted: #626962;
  --muted-light: #8b928c;
  --line: #d3d9d4;
  --line-strong: #b7c0b9;
  --brand: #238b5b;
  --brand-dark: #176b45;
  --brand-soft: #e9f4ee;
  --amber: #d99a3d;
  --success: #176b45;
  --success-soft: #eaf4ee;
  --warning-soft: #fff6e5;
  --code: #1d1f20;
  --radius-small: 4px;
  --radius: 6px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 12px;
  border-radius: var(--radius-small);
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-height);
  padding: 11px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 244, 0.96);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  font-weight: 780;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.sidebar-controls {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.control-group label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
}

.control-group input,
.control-group select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  outline: none;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 13px;
}

.control-group select {
  padding-right: 30px;
}

.search-control {
  width: 240px;
}

.language-control {
  width: 168px;
}

.control-group input::placeholder {
  color: var(--muted-light);
}

.control-group input:focus,
.control-group select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(35, 139, 91, 0.18);
}

.docs-shell {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: calc(100dvh - var(--header-height));
}

.sidebar {
  position: sticky;
  top: var(--header-height);
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--header-height));
  padding: 26px 18px 20px;
  border-right: 1px solid var(--line);
  background: #e8ece8;
  color: var(--ink);
}

.side-nav {
  min-height: 0;
  margin: 0 -6px 18px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.side-nav a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: var(--radius-small);
  color: #5f5a55;
  font-size: 12.5px;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.side-nav a span:first-child {
  color: #9a938c;
  font-variant-numeric: tabular-nums;
  font-size: 10px;
}

.side-nav a:hover {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

.side-nav a[aria-current="true"] {
  background: var(--surface-strong);
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--brand);
}

.side-nav a[aria-current="true"] span:first-child {
  color: var(--brand-dark);
}

.version-panel {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: flex-start;
  gap: 9px;
  margin-top: auto;
  padding: 12px 10px;
  border-top: 1px solid var(--line-strong);
}

.version-panel strong,
.version-panel small {
  display: block;
}

.version-panel strong {
  font-size: 11px;
}

.version-panel small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--success);
}

.main-column {
  min-width: 0;
}

.mobile-header {
  display: none;
}

.docs-content {
  width: min(980px, calc(100% - 80px));
  margin: 0 auto;
  padding: 66px 0 92px;
}

.checkout-status {
  margin: 0 0 34px;
  padding: 15px 18px;
  border-left: 4px solid var(--success);
  background: var(--success-soft);
}

.checkout-status strong {
  display: block;
  font-size: 14px;
}

.checkout-status p {
  max-width: 68ch;
  margin: 3px 0 0;
  color: #3b5c4c;
  font-size: 14px;
}

.guide-intro {
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line-strong);
}

.release-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 760;
}

.release-line .divider {
  width: 22px;
  height: 1px;
  background: #aeaaa4;
}

.guide-intro h1 {
  max-width: 840px;
  margin: 0;
  font-size: 48px;
  font-weight: 780;
  line-height: 1.12;
  text-wrap: balance;
}

.guide-intro > p {
  max-width: 66ch;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
  text-wrap: pretty;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 25px;
}

.fact-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f4b47;
  font-size: 12px;
  font-weight: 700;
}

.fact-row span::before {
  width: 6px;
  height: 6px;
  background: var(--brand);
  content: "";
}

.product-figure {
  max-width: 900px;
  margin: 38px 0 0;
}

.product-figure a {
  display: block;
  border-radius: var(--radius);
  outline: none;
  cursor: zoom-in;
}

.product-figure picture {
  display: block;
}

.product-figure a:focus-visible {
  box-shadow: 0 0 0 4px var(--canvas), 0 0 0 7px var(--brand);
}

.product-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #e6e2dc;
  box-shadow: 0 18px 44px rgba(64, 50, 39, 0.12);
}

.product-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.doc-section {
  padding: 58px 0 12px;
  scroll-margin-top: 96px;
}

.doc-section + .doc-section {
  border-top: 1px solid var(--line);
}

.section-number {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.doc-section h2 {
  max-width: 820px;
  margin: 0;
  font-size: 32px;
  font-weight: 760;
  line-height: 1.22;
  text-wrap: balance;
}

.section-intro {
  max-width: 68ch;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 16px;
  text-wrap: pretty;
}

.steps,
.detail-list,
.qa-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.step,
.detail-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.step-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #7eb89b;
  border-radius: var(--radius-small);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
}

.step h3,
.detail-item h3,
.qa-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.42;
}

.step p,
.detail-item p,
.qa-item p {
  max-width: 68ch;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.62;
}

.detail-item {
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
}

.detail-item p {
  margin-top: 0;
}

.qa-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qa-item {
  padding: 22px 24px 23px 0;
  border-bottom: 1px solid var(--line);
}

.qa-item:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.qa-item:nth-child(even) {
  padding-left: 28px;
}

.bullet-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.bullet-list li {
  position: relative;
  max-width: 76ch;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--line);
  color: #494642;
  font-size: 14.5px;
}

.bullet-list li::before {
  position: absolute;
  top: 25px;
  left: 4px;
  width: 7px;
  height: 7px;
  background: var(--brand);
  content: "";
}

.sample-block {
  margin: 28px 0 0;
  padding: 20px 22px;
  overflow-x: auto;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--code);
  color: #f5f2ed;
  font: 13.5px/1.7 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.callout {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  gap: 15px;
  margin: 28px 0 0;
  padding: 17px 18px 18px 0;
  background: var(--success-soft);
}

.callout::before {
  background: var(--success);
  content: "";
}

.callout.warning {
  background: var(--warning-soft);
}

.callout.warning::before {
  background: var(--amber);
}

.callout strong {
  display: block;
  font-size: 14px;
}

.callout p {
  max-width: 68ch;
  margin: 4px 0 0;
  color: #476052;
  font-size: 14px;
}

.callout.warning p {
  color: #6f572f;
}

.search-summary {
  width: min(980px, calc(100% - 80px));
  margin: 26px auto -30px;
  padding: 12px 15px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  color: #24573e;
  font-size: 13px;
}

.empty-search {
  margin-top: 30px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.loading-layout {
  display: grid;
  gap: 15px;
  padding-top: 20px;
}

.loading-layout span {
  display: block;
  height: 18px;
  max-width: 720px;
  background: #ddd8d1;
  animation: loading-pulse 1.2s ease-in-out infinite alternate;
}

.loading-layout span:first-child {
  width: 78%;
  height: 54px;
}

.loading-layout span:nth-child(2) {
  width: 62%;
}

.loading-layout span:nth-child(3) {
  width: 92%;
}

.loading-layout span:nth-child(4) {
  width: 86%;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 25px 38px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
}

.site-footer > span:first-child {
  color: var(--ink);
  font-weight: 760;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--brand-dark);
}

[hidden] {
  display: none !important;
}

@keyframes loading-pulse {
  from { opacity: 0.45; }
  to { opacity: 0.9; }
}

@media (max-width: 1040px) {
  .docs-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 14px;
  }

  .docs-content,
  .search-summary {
    width: min(900px, calc(100% - 52px));
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
  }

  html {
    scroll-padding-top: 132px;
  }

  .site-header {
    min-height: var(--header-height);
    padding: 10px 16px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 10px;
  }

  .sidebar-controls,
  .sidebar {
    display: none;
  }

  .docs-shell {
    display: block;
  }

  .mobile-header {
    position: sticky;
    top: var(--header-height);
    z-index: 15;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6px 8px;
    padding: 9px 16px 11px;
    border-bottom: 1px solid var(--line);
    background: rgba(238, 241, 238, 0.97);
    backdrop-filter: blur(10px);
  }

  .mobile-section-label {
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.1;
  }

  .mobile-header select {
    width: 100%;
    min-width: 0;
    height: 34px;
    padding: 0 25px 0 8px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-small);
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 11px;
  }

  .docs-content,
  .search-summary {
    width: min(100% - 32px, 760px);
  }

  .docs-content {
    padding: 42px 0 68px;
  }

  .search-summary {
    margin-top: 18px;
    margin-bottom: -20px;
  }

  .guide-intro h1 {
    font-size: 36px;
  }

  .guide-intro > p {
    font-size: 16.5px;
  }

  .doc-section {
    scroll-margin-top: 138px;
  }

  .qa-list {
    display: block;
  }

  .qa-item,
  .qa-item:nth-child(odd),
  .qa-item:nth-child(even) {
    padding: 20px 0;
    border-right: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 22px 16px 28px;
  }

  .footer-links {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15.5px;
  }

  .guide-intro {
    padding-bottom: 44px;
  }

  .guide-intro h1 {
    font-size: 32px;
    line-height: 1.16;
  }

  .guide-intro > p {
    font-size: 16px;
  }

  .fact-row {
    display: grid;
    gap: 9px;
  }

  .product-figure {
    margin-top: 28px;
  }

  .doc-section {
    padding-top: 46px;
  }

  .doc-section h2 {
    font-size: 27px;
  }

  .section-intro {
    font-size: 15px;
  }

  .step,
  .detail-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .detail-item {
    display: block;
  }

  .detail-item p {
    margin-top: 6px;
  }

  .step-index {
    width: 32px;
    height: 32px;
  }

  .sample-block {
    margin-inline: -16px;
    padding-inline: 18px;
    border-radius: 0;
    font-size: 12.5px;
  }

  .callout {
    margin-inline: -16px;
    padding-right: 16px;
  }

  .site-footer {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

/* DESIGN.md editorial scale, enlarged for OrderFill documentation. */
:root {
  --radius-small: 12px;
  --radius: 20px;
  --header-height: 96px;
}

body {
  font-size: 18px;
  line-height: 1.72;
}

.site-header {
  min-height: var(--header-height);
  padding: 16px 32px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  width: 58px;
  height: 58px;
}

.brand strong {
  font-size: 26px;
  font-weight: 700;
}

.brand small {
  margin-top: 4px;
  font-size: 13px;
}

.sidebar-controls {
  gap: 14px;
}

.control-group label {
  margin-bottom: 6px;
  font-size: 13px;
}

.control-group input,
.control-group select {
  height: 48px;
  padding: 0 15px;
  border-radius: 14px;
  font-size: 15px;
}

.control-group select {
  padding-right: 36px;
}

.search-control {
  width: 300px;
}

.language-control {
  width: 200px;
}

.docs-shell {
  grid-template-columns: 320px minmax(0, 1fr);
}

.sidebar {
  padding: 34px 24px 24px;
}

.side-nav {
  margin: 0 -8px 24px;
}

.side-nav a {
  grid-template-columns: 40px minmax(0, 1fr);
  min-height: 62px;
  padding: 10px 16px;
  border-radius: 14px;
  color: #454b46;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.side-nav a span:first-child {
  font-size: 13.5px;
  font-weight: 600;
}

.side-nav a[aria-current="true"] {
  box-shadow: inset 4px 0 0 var(--brand);
  font-weight: 700;
}

.version-panel {
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  padding: 20px;
  border: 0;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
}

.version-panel strong {
  font-size: 16px;
}

.version-panel small {
  margin-top: 4px;
  color: #b8c0ba;
  font-size: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  background: var(--amber);
}

.docs-content,
.search-summary {
  width: min(1120px, calc(100% - 88px));
}

.docs-content {
  padding: 88px 0 120px;
}

.checkout-status {
  margin-bottom: 44px;
  padding: 22px 26px;
  border-left-width: 6px;
  border-radius: 0 18px 18px 0;
}

.checkout-status strong {
  font-size: 18px;
}

.checkout-status p {
  margin-top: 5px;
  font-size: 17px;
}

.guide-intro {
  position: relative;
  padding-bottom: 76px;
}

.guide-intro::before {
  position: absolute;
  top: 8px;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--amber);
  content: "";
}

.release-line {
  gap: 12px;
  margin-bottom: 22px;
  font-size: 15px;
}

.release-line .divider {
  width: 36px;
  background: var(--amber);
}

.guide-intro h1 {
  max-width: 980px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.13;
}

.guide-intro > p {
  max-width: 64ch;
  margin-top: 26px;
  font-size: 22px;
  line-height: 1.58;
}

.fact-row {
  gap: 12px;
  margin-top: 32px;
}

.fact-row span {
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  font-size: 15px;
}

.fact-row span::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.product-figure {
  max-width: none;
  margin-top: 50px;
}

.product-figure a,
.product-figure img {
  border-radius: 28px;
}

.product-figure img {
  border-color: var(--line);
  box-shadow: none;
}

.product-figure figcaption {
  margin-top: 14px;
  font-size: 15px;
}

.doc-section {
  padding: 82px 0 18px;
}

.section-number {
  margin-bottom: 12px;
  font-size: 14px;
}

.doc-section h2 {
  max-width: 940px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
}

.section-intro {
  max-width: 66ch;
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.65;
}

.steps,
.detail-list,
.qa-list {
  margin-top: 38px;
}

.step,
.detail-item {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
}

.step-index {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 14px;
}

.step h3,
.detail-item h3,
.qa-item h3 {
  font-size: 20px;
  line-height: 1.45;
}

.step p,
.detail-item p,
.qa-item p {
  margin-top: 7px;
  font-size: 17px;
  line-height: 1.7;
}

.detail-item {
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: 40px;
}

.qa-item {
  padding: 30px 34px 32px 0;
}

.qa-item:nth-child(odd) {
  padding-right: 40px;
}

.qa-item:nth-child(even) {
  padding-left: 40px;
}

.bullet-list {
  margin-top: 36px;
}

.bullet-list li {
  padding: 20px 0 20px 34px;
  font-size: 17px;
  line-height: 1.68;
}

.bullet-list li::before {
  top: 31px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.sample-block {
  margin-top: 36px;
  padding: 28px 30px;
  border-left-width: 6px;
  border-radius: 0 20px 20px 0;
  font-size: 17px;
  line-height: 1.75;
}

.callout {
  grid-template-columns: 6px minmax(0, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding: 24px 28px 25px 0;
  border-radius: 0 20px 20px 0;
}

.callout strong {
  font-size: 18px;
}

.callout p {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.65;
}

.search-summary {
  padding: 18px 22px;
  border-left-width: 5px;
  border-radius: 0 16px 16px 0;
  font-size: 16px;
}

.site-footer {
  display: grid;
  grid-template-columns: 250px minmax(360px, 1fr) 300px;
  align-items: start;
  gap: 48px;
  padding: 56px max(32px, calc((100vw - 1280px) / 2));
  border-top: 0;
  background: var(--ink);
  color: #c5cdc7;
  font-size: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
}

.footer-brand strong,
.footer-brand small,
.footer-company strong,
.footer-company span,
.footer-company a {
  display: block;
}

.footer-brand strong {
  color: #fff;
  font-size: 24px;
}

.footer-brand small {
  margin-top: 3px;
  color: #9fa9a1;
  font-size: 14px;
}

.footer-company {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #c5cdc7;
  font-style: normal;
  line-height: 1.55;
}

.footer-company strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 18px;
}

.footer-company a {
  margin-top: 5px;
  color: #79c89f;
  text-underline-offset: 4px;
}

.footer-utility p {
  margin: 0 0 18px;
  color: #b7c0b9;
  font-size: 15px;
  line-height: 1.55;
}

.footer-links {
  justify-content: flex-start;
  gap: 12px 20px;
}

.footer-links a {
  color: #fff;
  font-size: 14px;
}

.footer-links a:hover {
  color: #79c89f;
}

@media (max-width: 1180px) {
  .docs-shell {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 18px;
  }

  .side-nav a {
    grid-template-columns: 34px minmax(0, 1fr);
    font-size: 17px;
  }

  .docs-content,
  .search-summary {
    width: min(100% - 56px, 1000px);
  }

  .guide-intro h1 {
    font-size: 56px;
  }

  .site-footer {
    grid-template-columns: 220px minmax(300px, 1fr);
  }

  .footer-utility {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 84px;
  }

  html {
    scroll-padding-top: 170px;
  }

  .site-header {
    min-height: var(--header-height);
    padding: 13px 18px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 23px;
  }

  .brand small {
    font-size: 12px;
  }

  .sidebar-controls,
  .sidebar {
    display: none;
  }

  .docs-shell {
    display: block;
  }

  .mobile-header {
    top: var(--header-height);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 8px 10px;
    padding: 12px 18px 15px;
  }

  .mobile-section-label {
    font-size: 13px;
  }

  .mobile-header select {
    height: 48px;
    padding: 0 34px 0 12px;
    border-radius: 14px;
    font-size: 15px;
  }

  .docs-content,
  .search-summary {
    width: min(100% - 36px, 800px);
  }

  .docs-content {
    padding: 58px 0 84px;
  }

  .guide-intro h1 {
    font-size: 44px;
  }

  .guide-intro > p {
    font-size: 20px;
  }

  .doc-section {
    padding-top: 66px;
    scroll-margin-top: 176px;
  }

  .doc-section h2 {
    font-size: 36px;
  }

  .qa-list {
    display: block;
  }

  .qa-item,
  .qa-item:nth-child(odd),
  .qa-item:nth-child(even) {
    padding: 26px 0;
    border-right: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 46px 22px;
  }

  .footer-utility {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 18px;
  }

  .guide-intro h1 {
    font-size: 38px;
    line-height: 1.16;
  }

  .guide-intro > p,
  .section-intro {
    font-size: 18px;
  }

  .fact-row span {
    font-size: 14px;
  }

  .product-figure a,
  .product-figure img {
    border-radius: 18px;
  }

  .doc-section h2 {
    font-size: 32px;
  }

  .step,
  .detail-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .detail-item {
    display: block;
  }

  .step h3,
  .detail-item h3,
  .qa-item h3 {
    font-size: 19px;
  }

  .step p,
  .detail-item p,
  .qa-item p,
  .bullet-list li,
  .callout p {
    font-size: 17px;
  }

  .sample-block {
    margin-inline: -18px;
    padding: 24px 20px;
    border-radius: 0;
    font-size: 15px;
  }
}
