/* Shared, local-only visual system for the product and documentation. */
:root {
  color-scheme: light;
  --bg: #fff;
  --paper: #f5f5f7;
  --panel: #fff;
  --ink: #1d1d1f;
  --muted: #626268;
  --line: #d7d7dc;
  --blue: #0066cc;
  --blue-fill: #0071e3;
  --blue-soft: #eaf3ff;
  --nav: #f5f5f7;
  --dark: #111820;
  --radius: 12px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3,
h4 {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  letter-spacing: -0.045em;
  text-wrap: balance;
  word-break: keep-all;
}
p,
li {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
html[lang="ko"] [data-copy="en"],
html[lang="en"] [data-copy="ko"],
html[lang="ko"] .l-en,
html[lang="en"] .l-ko {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--panel);
  padding: 10px 18px;
  border: 2px solid var(--blue);
  border-radius: 10px;
}
.skip-link:focus {
  transform: none;
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav);
  backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -1px;
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 29px;
  height: 29px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.site-nav a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}
.language-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--paper);
  border-radius: 9px;
}
.language-switch button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  min-width: 38px;
  min-height: 34px;
  padding: 5px 8px;
  color: var(--muted);
}
.language-switch button[aria-pressed="true"] {
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 1px 4px #0000000d;
}
.locale-picker {
  position: relative;
  display: block;
  padding: 0;
  background: transparent;
}
.locale-picker summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.locale-picker summary::-webkit-details-marker { display: none; }
.locale-picker summary::after {
  content: "⌄";
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
}
.locale-picker[open] summary {
  background: var(--panel);
  border-color: var(--blue);
}
.locale-list {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  right: 0;
  width: 188px;
  max-height: min(70vh, 390px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 8px 28px #00000016;
}
.locale-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}
.locale-list a:hover,
.locale-list a[aria-current="true"] {
  background: var(--nav);
  color: var(--blue);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 9px;
  min-width: 44px;
  min-height: 44px;
  font-size: 13px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--blue-fill);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
}
.button:hover {
  background: #0064c9;
  color: #fff;
  text-decoration: none;
}
.button.secondary {
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--paper);
}
.button[aria-busy="true"] {
  opacity: 0.65;
  pointer-events: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.muted,
.caption {
  color: var(--muted);
}
.caption {
  font-size: 12px;
  line-height: 1.7;
}
.section {
  padding-block: 76px;
}
.section-head {
  margin-bottom: 45px;
  max-width: 760px;
}
.section h2 {
  font-size: clamp(31px, 3.5vw, 45px);
  margin-bottom: 20px;
}
.section-head p {
  font-size: 19px;
  color: var(--muted);
  max-width: 650px;
}
.soft {
  background: var(--paper);
}
/* Homepage */
.hero {
  text-align: left;
  position: relative;
  overflow: hidden;
  padding: 78px 0 82px;
  background: var(--bg);
}
.hero > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  column-gap: 57px;
  grid-template-areas:
    "eyebrow stage"
    "title stage"
    "lead stage"
    "actions stage"
    "requirements stage"
    ". caption";
  align-items: center;
}
.hero .eyebrow {
  grid-area: eyebrow;
  align-self: end;
}
.hero h1 {
  grid-area: title;
  font-size: clamp(48px, 5.25vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.07em;
  margin-bottom: 26px;
  font-weight: 640;
}
.hero h1 span {
  display: block;
}
.hero .lead {
  grid-area: lead;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 455px;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero .actions {
  grid-area: actions;
  justify-content: start;
}
.hero .requirements {
  grid-area: requirements;
  font-size: 12px;
  color: var(--muted);
  margin-top: 17px;
}
.workspace-stage {
  grid-area: stage;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 6px solid #202125;
  border-radius: 14px;
  box-shadow: none;
  background: #17191c;
  text-align: left;
  position: relative;
}
.workspace-grid {
  display: grid;
  grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr));
  gap: 5px;
  aspect-ratio: 4/2.7;
  border-radius: 7px;
  overflow: hidden;
}
.workspace-pane {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #f5f5f7;
  color: #34343a;
  overflow: hidden;
}
.pane-top {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 11px 14px;
  font-size: 10px;
  font-weight: 550;
  border-bottom: 1px solid #0000000a;
  flex-shrink: 0;
}
.pane-top i {
  width: 6px;
  height: 6px;
  background: #607d89;
  border-radius: 50%;
  display: inline-block;
}
.pane-top span:last-child {
  margin-left: auto;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}
.pane-content {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: 22px 26px;
  position: relative;
}
.pane-content h3 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.pane-content p {
  font-size: 11px;
  line-height: 1.7;
  color: #66666c;
}
.pane-content .tiny-label {
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 650;
  margin-bottom: 11px;
  opacity: 0.7;
}
.pane-document {
  background: #f5f5f7;
  color: #34343a;
}
.pane-document p {
  color: #66666c;
}
.document-lines {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  max-width: 90%;
}
.document-lines span {
  height: 3px;
  background: #b4a49050;
  border-radius: 4px;
}
.document-lines span:last-child {
  width: 63%;
}
.pane-code {
  background: #22252a;
  color: #dbe8f2;
}
.pane-code .pane-top {
  border-color: #ffffff0c;
}
.pane-code pre {
  font:
    12px/1.9 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  margin: 0;
  white-space: pre-wrap;
}
.syntax-blue {
  color: #86baff;
}
.syntax-green {
  color: #a6caae;
}
.syntax-muted {
  color: #718b9e;
}
.pane-board {
  background: #eceef1;
  color: #343b40;
}
.board-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.board-column {
  padding: 12px;
  background: #ffffffb8;
  border-radius: 9px;
  display: grid;
  gap: 8px;
}
.board-column small {
  font-size: 9px;
  font-weight: 650;
  opacity: 0.7;
}
.board-task {
  border-radius: 5px;
  background: #fff9;
  padding: 8px;
  font-size: 10px;
}
.pane-preview {
  background: #e7eef8;
  color: #254674;
}
.preview-art {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 0;
}
.preview-art:before,
.preview-art:after {
  content: "";
  position: absolute;
  inset: 8% 19%;
  border: 1px solid #688fc35c;
  border-radius: 29%;
  transform: rotate(20deg);
}
.preview-art:after {
  inset: 10% 23%;
  transform: rotate(-20deg);
  background: linear-gradient(130deg, #f5f9ff77, #7fabef3d);
}
.preview-art strong {
  z-index: 1;
  font-size: 36px;
  letter-spacing: -2px;
  color: #3968a6;
}
.workspace-stage[data-layout="1"] .workspace-grid {
  grid-template: 1fr/1fr;
}
.workspace-stage[data-layout="2"] .workspace-grid {
  grid-template: 1fr/1fr 1fr;
}
.workspace-stage[data-layout="3"] .workspace-pane:first-child {
  grid-row: span 2;
}
.workspace-stage[data-layout="1"] .pane-content {
  max-width: 550px;
  width: 100%;
  margin: auto;
}
.workspace-stage[data-layout="1"] .pane-content h3 {
  font-size: 48px;
}
.workspace-stage[data-layout="1"] .pane-content p {
  font-size: 16px;
}
.workspace-stage[data-layout="1"] .document-lines {
  gap: 16px;
}
.workspace-stage[data-layout="1"] .document-lines span {
  height: 5px;
}
.workspace-caption {
  grid-area: caption;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  margin-top: 18px;
}
.layout-selector {
  display: inline-flex;
  padding: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 100px;
  gap: 3px;
}
.layout-selector button {
  font-size: 12px;
  min-height: 38px;
  min-width: 54px;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  border-radius: 100px;
  color: var(--muted);
}
.layout-selector button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
.intro-strip {
  display: flex;
  justify-content: center;
  gap: 54px;
  flex-wrap: wrap;
  padding: 31px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.intro-strip strong {
  color: var(--ink);
  font-weight: 600;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: transparent;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 26px 0 0;
  min-width: 0;
}
.feature-card .number {
  font-size: 12px;
  color: var(--blue);
  margin-bottom: 18px;
  display: block;
}
.feature-card h3 {
  font-size: 25px;
  font-weight: 590;
  margin-bottom: 16px;
}
.feature-card p {
  color: var(--muted);
  font-size: 15px;
}
.layout-diagram {
  display: grid;
  grid-template: 1fr 1fr/1fr 1fr;
  gap: 6px;
  height: 133px;
  margin-top: 27px;
}
.layout-diagram span {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 14px;
}
.size-diagram {
  height: 133px;
  margin-top: 27px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.size-diagram span {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 10px;
  font-size: 12px;
  text-align: center;
  color: var(--muted);
}
.size-diagram strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 550;
}
.input-diagram {
  height: 133px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.input-diagram kbd {
  font-size: 15px;
  font-family: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 9px;
  padding: 11px 14px;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.split-section h2 {
  font-size: 39px;
}
.split-section p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 20px;
}
.product-shot {
  background: #080a0d;
  border-radius: 14px;
  padding: 7px;
  box-shadow: none;
}
.product-shot img {
  display: block;
  border-radius: 8px;
  width: 100%;
}
.product-shot + figcaption {
  margin-top: 13px;
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.route-block {
  padding: 30px 30px 32px 0;
}
.route-block + .route-block {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.route-block .route-label {
  font-size: 11px;
  letter-spacing: 0.7px;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}
.route-block h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.route-block p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 17px;
}
.route-block a {
  font-size: 14px;
}
.trust-section {
  background: #1d1d1f;
  color: #edf2fa;
}
.trust-section .eyebrow,
.trust-section a {
  color: #8fbdff;
}
.trust-section .section-head p {
  color: #adbaca;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.trust-grid h3 {
  font-size: 26px;
  margin-bottom: 16px;
}
.trust-grid p {
  font-size: 16px;
  color: #b1becf;
}
.download-section {
  text-align: center;
}
.download-section .section-head {
  margin-inline: auto;
}
.download-section .section-head p {
  margin-inline: auto;
}
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  max-width: 880px;
  margin: auto;
  text-align: left;
}
.download-card {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 26px 0 0;
  background: transparent;
}
.download-card h3 {
  font-size: 27px;
  margin-bottom: 10px;
}
.download-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}
.download-card .caption {
  margin: 16px 0 0;
  font-size: 12px;
}
.download-status {
  font-size: 13px;
  margin-top: 10px;
  min-height: 0;
}
.download-status:empty {
  display: none;
}
.faq-list {
  max-width: 880px;
  margin: auto;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-list summary {
  padding: 23px 35px 23px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 550;
  position: relative;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 6px;
  font-size: 24px;
  color: var(--muted);
  top: 16px;
  font-weight: 300;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details p,
.faq-list .answer {
  font-size: 16px;
  color: var(--muted);
  padding: 0 28px 24px 0;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.resource-link {
  display: block;
  padding: 26px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
  color: var(--ink);
}
.resource-link:hover {
  border-color: var(--blue);
  text-decoration: none;
}
.resource-link small {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.8px;
}
.resource-link h3 {
  font-size: 22px;
  margin: 16px 0 11px;
}
.resource-link p {
  font-size: 14px;
  color: var(--muted);
}
/* Documentation */
.doc-hero {
  padding: 64px 0 46px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.doc-hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  margin-bottom: 20px;
  max-width: 850px;
}
.doc-hero .lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 740px;
  line-height: 1.7;
}
.doc-hero .caption {
  margin-top: 22px;
}
.doc-layout {
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr);
  gap: 64px;
  padding-block: 50px 90px;
}
.doc-toc {
  position: sticky;
  top: 103px;
  align-self: start;
  max-height: calc(100dvh - 130px);
  overflow: auto;
  padding-right: 12px;
}
.doc-toc .toc-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1px;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}
.doc-toc a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}
.doc-toc a:hover {
  color: var(--blue);
}
.doc-body {
  min-width: 0;
}
.doc-body section {
  margin-bottom: 58px;
  scroll-margin-top: 104px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.doc-body h2 {
  font-size: 30px;
  margin: 0 0 22px;
}
.doc-body h3 {
  font-size: 21px;
  margin: 30px 0 12px;
}
.doc-body h4 {
  font-size: 18px;
  margin: 23px 0 10px;
}
.doc-body p,
.doc-body ul,
.doc-body ol {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 18px;
}
.doc-body li {
  margin: 8px 0;
}
.doc-body strong {
  color: var(--ink);
  font-weight: 600;
}
.doc-body ul,
.doc-body ol {
  padding-left: 23px;
}
.doc-body code {
  font:
    13px/1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  background: var(--paper);
  border-radius: 5px;
  padding: 3px 6px;
  overflow-wrap: anywhere;
}
.doc-body .note {
  background: var(--paper);
  border-radius: 8px;
  padding: 21px 24px;
  margin: 22px 0;
  color: var(--ink);
  font-size: 15px;
}
.doc-body .note p:last-child {
  margin-bottom: 0;
}
.doc-body .summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 31px;
}
.summary-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.summary-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}
.summary-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.doc-body details {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 12px 0;
  background: var(--panel);
  overflow: hidden;
}
.doc-body summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 550;
  font-size: 16px;
  min-height: 55px;
}
.doc-body details > div {
  padding: 0 22px 5px;
}
.doc-body details p {
  font-size: 15px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin: 22px 0;
}
.doc-body table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
}
.doc-body th,
.doc-body td {
  padding: 16px 19px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.doc-body th {
  background: var(--paper);
  font-weight: 600;
  color: var(--ink);
}
.doc-body td {
  color: var(--muted);
}
.doc-body tr:last-child td {
  border-bottom: 0;
}
.step-list {
  list-style: none;
  counter-reset: step;
  padding: 0 !important;
}
.step-list > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 25px 50px;
  margin: 0 0 22px !important;
  border-bottom: 1px solid var(--line);
}
.step-list > li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--blue-soft);
  color: var(--blue);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
}
.step-list h3 {
  margin: 0 0 10px;
}
.screenshot {
  margin: 25px 0;
}
.screenshot a {
  display: block;
  background: var(--paper);
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.screenshot img {
  display: block;
  width: 100%;
  border-radius: 4px;
}
.screenshot figcaption {
  margin-top: 11px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.doc-body .reference {
  font-size: 13px;
}
.setup-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 24px 0;
}
.setup-choice {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-align: left;
  padding: 22px;
  min-height: 105px;
}
.setup-choice[aria-pressed="true"] {
  border: 2px solid var(--blue);
  padding: 21px;
  background: var(--blue-soft);
}
.setup-choice strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}
.setup-choice span {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.permission-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0;
}
.permission-list code {
  padding: 8px 11px;
  background: var(--blue-soft);
  color: var(--blue);
}
.field-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background: var(--paper);
  border-radius: 15px;
  padding: 24px;
  margin: 22px 0;
}
.field-map div {
  min-width: 0;
}
.field-map small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.field-map strong {
  display: block;
  font-size: 16px;
  margin: 6px 0;
}
.field-map p {
  font-size: 13px;
  margin: 0;
}
.contact-box {
  background: var(--blue-soft);
  padding: 27px;
  border-radius: 18px;
  margin-top: 30px;
}
.contact-box h3 {
  margin-top: 0;
}
.contact-box .actions {
  margin-top: 20px;
}
.mobile-toc {
  display: none;
}
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 38px 0 25px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
  padding-bottom: 28px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: flex-end;
  max-width: 630px;
}
.footer-nav a {
  color: var(--muted);
  font-size: 13px;
  min-height: 32px;
  padding: 5px 0;
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--blue);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 11px;
  color: var(--muted);
}
.image-dialog {
  width: min(1180px, calc(100vw - 32px));
  max-height: 92dvh;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 30px 90px #0005;
}
.image-dialog::backdrop {
  background: #10182699;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
}
.dialog-heading h2 {
  font-size: 17px;
}
.dialog-heading button {
  border: 0;
  background: var(--paper);
  border-radius: 9px;
  min-height: 44px;
  min-width: 60px;
  padding: 9px 14px;
  color: var(--ink);
  font-size: 14px;
}
.dialog-content {
  padding: 12px;
  overflow: auto;
  max-height: 75dvh;
}
.dialog-content img {
  display: block;
  margin: auto;
  width: auto;
  max-height: 70dvh;
  object-fit: contain;
}
.image-dialog[open] {
  display: block;
}
@media (max-width: 1000px) {
  .site-nav {
    gap: 18px;
  }
  .header-inner {
    gap: 22px;
  }
  .feature-grid {
    gap: 15px;
  }
  .feature-card {
    padding: 26px;
  }
  .split-section {
    gap: 38px;
  }
  .doc-layout {
    gap: 38px;
    grid-template-columns: 170px minmax(0, 1fr);
  }
  .route-block {
    padding-right: 20px;
  }
  .route-block + .route-block {
    padding-left: 20px;
  }
}
@media (max-width: 780px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 64px;
    gap: 15px;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px;
    box-shadow: 0 15px 30px #0001;
  }
  .site-nav[data-open] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .site-nav a {
    font-size: 15px;
    padding: 12px;
  }
  .language-switch button {
    min-height: 38px;
    min-width: 38px;
  }
  .section {
    padding-block: 68px;
  }
  .hero {
    padding-top: 50px;
  }
  .hero h1 {
    font-size: clamp(44px, 8.9vw, 66px);
  }
  .hero .lead {
    font-size: 17px;
    padding-inline: 10px;
  }
  .hero .requirements {
    font-size: 11px;
  }
  .workspace-stage {
    border-width: 7px;
    border-radius: 19px;
    margin-top: 35px;
  }
  .workspace-grid {
    border-radius: 11px;
    gap: 3px;
  }
  .pane-top {
    padding: 7px 10px;
    font-size: 8px;
  }
  .pane-content {
    padding: 14px;
  }
  .pane-content h3 {
    font-size: 20px;
  }
  .pane-content p {
    font-size: 9px;
  }
  .pane-content .tiny-label {
    font-size: 8px;
    margin-bottom: 6px;
  }
  .pane-code pre {
    font-size: 9px;
  }
  .board-columns {
    gap: 5px;
  }
  .board-column {
    padding: 7px;
    gap: 5px;
  }
  .board-task {
    font-size: 8px;
    padding: 6px;
  }
  .preview-art strong {
    font-size: 28px;
  }
  .intro-strip {
    gap: 13px 26px;
    font-size: 13px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
    padding: 28px;
  }
  .feature-card .number {
    margin-bottom: 15px;
  }
  .feature-card h3 {
    font-size: 24px;
  }
  .feature-card .feature-visual {
    grid-column: 2;
    grid-row: 1/5;
    height: 100%;
    min-height: 135px;
    margin: 0;
  }
  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-section h2 {
    font-size: 36px;
  }
  .route-grid {
    grid-template-columns: 1fr;
  }
  .route-block,
  .route-block + .route-block {
    padding: 25px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .route-block:first-child {
    border-top: 0;
  }
  .route-block p {
    max-width: 570px;
  }
  .trust-grid {
    gap: 30px;
  }
  .download-grid {
    gap: 14px;
  }
  .download-card {
    padding: 27px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .resource-link {
    padding: 25px;
  }
  .resource-link h3 {
    margin-top: 11px;
  }
  .doc-hero {
    padding: 44px 0 32px;
  }
  .doc-hero h1 {
    font-size: 44px;
  }
  .doc-hero .lead {
    font-size: 18px;
  }
  .doc-layout {
    display: block;
    padding-top: 28px;
  }
  .doc-toc {
    display: none;
  }
  .mobile-toc {
    display: block;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 18px;
    margin-bottom: 33px;
    background: var(--panel);
  }
  .mobile-toc summary {
    padding-block: 15px;
    font-size: 14px;
    cursor: pointer;
  }
  .mobile-toc nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 20px;
    padding: 0 0 16px;
  }
  .mobile-toc a {
    font-size: 13px;
    padding: 6px 0;
    text-decoration: none;
  }
  .doc-body section {
    margin-bottom: 42px;
  }
  .doc-body h2 {
    font-size: 28px;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-nav {
    justify-content: start;
    gap: 10px 22px;
  }
}
@media (max-width: 480px) {
  .brand {
    font-size: 23px;
    gap: 8px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .header-inner {
    gap: 10px;
  }
  .language-switch button {
    font-size: 11px;
    min-width: 32px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.4px;
  }
  .hero .lead {
    font-size: 16px;
  }
  .button {
    font-size: 13px;
    padding: 12px 18px;
    min-height: 46px;
  }
  .workspace-stage {
    margin-inline: -5px;
    border-width: 5px;
    border-radius: 14px;
  }
  .workspace-grid {
    aspect-ratio: 4/3;
  }
  .pane-content {
    padding: 11px;
  }
  .pane-content h3 {
    font-size: 16px;
  }
  .pane-top {
    font-size: 7px;
    padding: 6px 8px;
  }
  .pane-top i {
    width: 4px;
    height: 4px;
  }
  .pane-content p {
    font-size: 8px;
    line-height: 1.6;
  }
  .pane-content .tiny-label {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .document-lines {
    gap: 5px;
    margin-top: 8px;
  }
  .document-lines span {
    height: 2px;
  }
  .pane-code pre {
    font-size: 7px;
    line-height: 1.7;
  }
  .board-columns {
    grid-template-columns: 1fr;
  }
  .board-column:nth-child(2) {
    display: none;
  }
  .board-column small {
    font-size: 8px;
  }
  .board-task {
    font-size: 7px;
    padding: 4px;
  }
  .preview-art strong {
    font-size: 25px;
  }
  .workspace-caption {
    gap: 10px;
  }
  .workspace-caption .caption {
    font-size: 10px;
  }
  .layout-selector button {
    min-height: 40px;
    min-width: 52px;
  }
  .workspace-stage[data-layout="1"] .pane-content h3 {
    font-size: 31px;
  }
  .workspace-stage[data-layout="1"] .pane-content p {
    font-size: 11px;
  }
  .intro-strip {
    gap: 8px 21px;
    font-size: 12px;
  }
  .feature-card {
    display: block;
  }
  .feature-card .feature-visual {
    margin-top: 22px;
    height: 110px;
    min-height: 0;
  }
  .feature-card h3 {
    font-size: 26px;
  }
  .trust-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    margin-bottom: 30px;
  }
  .section-head p {
    font-size: 17px;
  }
  .section h2 {
    font-size: 33px;
  }
  .download-card h3 {
    font-size: 25px;
  }
  .doc-hero h1 {
    font-size: 38px;
  }
  .doc-body p,
  .doc-body li {
    font-size: 15px;
  }
  .doc-body .summary-grid {
    grid-template-columns: 1fr;
  }
  .setup-choices {
    grid-template-columns: 1fr;
  }
  .setup-choice {
    min-height: 0;
    padding: 18px;
  }
  .setup-choice[aria-pressed="true"] {
    padding: 17px;
  }
  .field-map {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .doc-body th,
  .doc-body td {
    padding: 12px;
    font-size: 13px;
  }
  .step-list > li {
    padding-left: 43px;
  }
  .doc-body .note {
    padding: 18px;
  }
  .doc-body h2 {
    font-size: 26px;
  }
  .footer-nav {
    gap: 8px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .doc-toc,
  .mobile-toc,
  .language-switch,
  .setup-choices {
    display: none;
  }
  .doc-layout {
    display: block;
  }
  .doc-body details > div {
    display: block;
  }
  .doc-body details {
    break-inside: avoid;
  }
  body {
    color: #111;
    background: #fff;
  }
  .wrap {
    width: 100%;
  }
}

.anchor {
  display: block;
  height: 0;
  scroll-margin-top: 104px;
}
@media (pointer: coarse) {
  .language-switch button {
    min-height: 44px;
    min-width: 44px;
  }
  .doc-toc a {
    min-height: 44px;
  }
}

body:has(.image-dialog[open]) {
  overflow: hidden;
}
html[data-static-locale="true"] .hero h1 {
  overflow-wrap: break-word;
  text-wrap: balance;
}
html[lang="ja"] .hero h1,
html[lang="zh-Hans"] .hero h1,
html[lang="zh-Hant"] .hero h1 {
  font-size: clamp(38px, 3.8vw, 50px);
  letter-spacing: -0.05em;
}
html[lang="ja"] :is(h1, h2, h3, h4),
html[lang="zh-Hans"] :is(h1, h2, h3, h4),
html[lang="zh-Hant"] :is(h1, h2, h3, h4) {
  word-break: normal;
  overflow-wrap: anywhere;
}
html[lang="es"] .hero h1,
html[lang="de"] .hero h1,
html[lang="fr"] .hero h1 {
  hyphens: auto;
}
@media (pointer: coarse) {
  .layout-selector button {
    min-height: 44px;
  }
}

/* The selected System Pages layout stacks only after the product image stops
   fitting beside the heading. Keep the same content and reading order. */
@media (max-width: 900px) {
  .hero > .wrap {
    display: block;
    text-align: center;
  }
  .hero .lead {
    margin: 0 auto 22px;
  }
  .hero .actions,
  .workspace-caption {
    justify-content: center;
  }
  .workspace-stage {
    max-width: 680px;
    margin: 35px auto 0;
  }
  .hero h1 {
    font-size: clamp(44px, 8vw, 65px);
  }
}
@media (max-width: 780px) {
  .section {
    padding-block: 66px;
  }
  .feature-card,
  .download-card,
  .resource-link {
    padding: 22px 0 0;
  }
}
@media (max-width: 530px) {
  .hero {
    padding: 48px 0 52px;
  }
  .hero .lead {
    font-size: 16px;
  }
  .workspace-stage {
    border-width: 4px;
  }
}
