:root {
  --bg: #f3f5f9;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #6e6e73;
  --line: rgba(60, 60, 67, 0.1);
  --blue: #0a84ff;
  --blue-press: #0066d6;
  --blue-soft: #eaf3ff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.04);
  --shadow-hover: 0 8px 28px rgba(10, 132, 255, 0.1);
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(10, 132, 255, 0.1), transparent 58%),
    radial-gradient(720px 360px at 100% 0%, rgba(10, 132, 255, 0.05), transparent 46%),
    var(--bg);
}

.page {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

img {
  max-width: 100%;
  height: auto;
}

a,
button,
summary {
  -webkit-tap-highlight-color: rgba(10, 132, 255, 0.12);
}

::selection {
  background: #cce4ff;
}

a {
  color: var(--blue);
}

code {
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
  font-size: 0.9em;
  background: var(--blue-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

button {
  font: inherit;
  cursor: pointer;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  background: #fff;
  padding: 8px 10px;
  border-radius: 8px;
}

.wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  flex: 0 0 auto;
  z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: #f7f8fc;
  border-bottom: 1px solid var(--line);
}

main,
.doc,
.doc-main,
.step,
.step-visual,
.steps-ol,
p,
li,
a,
code {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 24px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(10, 132, 255, 0.18);
}

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

.header-nav a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.2;
  padding: 6px 10px;
  border-radius: 980px;
}

.header-nav a:hover,
.header-nav a.is-on {
  color: var(--blue);
  background: var(--blue-soft);
}

.lang {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 0 0 16px;
  list-style: none;
  border-left: 1px solid var(--line);
  min-width: 0;
  line-height: 1.2;
}

.lang li {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.lang li + li::before {
  content: "/";
  margin: 0 7px;
  color: #c7c7cc;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.lang a,
.lang button {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.lang a:hover,
.lang button:hover {
  color: var(--text);
}

.lang a.is-on,
.lang button.is-on {
  color: var(--text);
  font-weight: 600;
}

.lang-footer {
  padding: 14px 0 0;
  border-left: 0;
}

.lang-footer a,
.lang-footer button {
  font-size: 13px;
}

.footer-links {
  text-align: right;
}

.intro {
  padding: 56px 0 12px;
}

.intro-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.intro-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(10, 132, 255, 0.16);
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 4px 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  background: var(--blue-soft);
  border-radius: 980px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 7vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lead,
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.lead {
  max-width: 36em;
  font-size: 18px;
  line-height: 1.75;
}

.about,
.prepare,
.guides,
.download,
.faq,
.scope,
.next {
  padding: 52px 0 8px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 8px;
}

.section-head .section-lead {
  max-width: 38em;
}

h2 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.prose p,
.prose li,
.outline,
.note-panel,
.related {
  overflow-wrap: break-word;
}

.prose p {
  margin: 0 0 14px;
  max-width: 42em;
  color: #3a3a3c;
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.split-cards > div,
.outline,
.related,
.note-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-cards > div {
  padding: 22px 22px 18px;
}

.split-cards h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.split-cards ul,
.outline ol,
.note-panel ol,
.related ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #3a3a3c;
}

.split-cards li + li,
.outline li + li,
.note-panel li + li,
.related li + li {
  margin-top: 8px;
}

.outline,
.note-panel {
  margin: 20px 0 8px;
  padding: 20px 22px;
}

.outline p,
.note-panel p,
.related p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.related {
  margin: 36px 0 0;
  padding: 20px 22px;
}

.related h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
  padding: 0;
  list-style: none;
}

.path li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.path li:not(:last-child)::after {
  content: "→";
  color: #c7c7cc;
}

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

.path a:hover {
  color: var(--blue);
}

.table-wrap {
  margin: 16px 0 0;
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.table-wrap table {
  margin: 0;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 16px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  background: var(--blue-soft);
  border-radius: 10px;
}

.check-list h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.check-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card,
.facts,
.prepare-list li,
.guide-list li,
.download-panel,
.faq-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 0;
  overflow: hidden;
}

.facts div {
  padding: 18px 18px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div:nth-child(3n) {
  border-right: 0;
}

.facts dt {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 550;
}

.prepare-list,
.guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prepare-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  counter-reset: prep;
}

.prepare-list li {
  padding: 22px 22px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prepare-list li:hover,
.guide-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.prepare-list li::before {
  counter-increment: prep;
  content: counter(prep, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.prepare-list h3,
.guide-list h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.prepare-list p,
.guide-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.guide-list li {
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-list li > a,
.guide-list li > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px 22px;
  color: inherit;
  text-decoration: none;
}

.guide-list li > a:hover h3,
.guide-list .go {
  color: var(--blue);
}

.guide-list .go {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.guide-list li + li {
  margin-top: 12px;
}

.guide-list span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  background: var(--blue-soft);
  border-radius: 10px;
}

.download-panel {
  padding: 8px 24px 22px;
}

.store-card {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 8px 0 28px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.store-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(10, 132, 255, 0.16);
}

.store-copy h2 {
  margin: 0 0 4px;
  font-size: 28px;
}

.store-copy > p {
  margin: 0;
  color: var(--muted);
}

.store-meta {
  margin-top: 8px !important;
  font-size: 14px;
}

.store-card .actions {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}

.download-check h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.download-check .section-lead {
  margin-bottom: 16px;
}

.step .table-wrap,
.step .check-list li {
  box-shadow: none;
  background: var(--bg);
}

.download-check .facts {
  margin-top: 0;
}

.download-check .facts dd a {
  word-break: break-all;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

th {
  width: 28%;
  color: var(--muted);
  font-weight: 400;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: auto;
  padding: 0 18px;
  border: 0;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  overflow-wrap: normal;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 132, 255, 0.24);
}

.btn-primary:active {
  background: var(--blue-press);
}

.btn-secondary {
  background: var(--blue-soft);
  color: var(--blue);
}

.copy-state {
  font-size: 13px;
  color: var(--blue);
}

.faq-list {
  padding: 6px 8px 8px 22px;
}

.faq-list details + details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 36px 16px 0;
  font-size: 16px;
  font-weight: 550;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 16px;
  color: var(--blue);
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0 36px 16px 0;
  color: var(--muted);
}

.footer {
  margin-top: 72px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  background: color-mix(in srgb, #fff 55%, transparent);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-name {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer nav a:hover {
  color: var(--blue);
}

.doc {
  padding-bottom: 48px;
}

.post {
  padding-bottom: 88px;
}

.doc-hero {
  padding: 36px 0 12px;
}

.doc-hero h1 {
  font-size: clamp(32px, 5vw, 44px);
}

.doc-hero time {
  display: block;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.blog-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.blog-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.blog-list a {
  display: block;
  padding: 22px 24px;
  color: inherit;
  text-decoration: none;
}

.blog-list a:hover h2 {
  color: var(--blue);
}

.blog-list time {
  color: var(--muted);
  font-size: 13px;
}

.blog-list h2 {
  margin: 8px 0;
  font-size: 20px;
}

.blog-list p {
  margin: 0;
  max-width: 40em;
  color: var(--muted);
}

.blog-list .go {
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.post .prose {
  padding-top: 12px;
}

.post .prose h2 {
  margin: 32px 0 12px;
  font-size: 22px;
}

.post .prose ul,
.post .prose ol {
  margin: 0 0 16px;
  padding-left: 1.2rem;
  max-width: 42em;
  color: #3a3a3c;
}

.post .prose li + li {
  margin-top: 8px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--blue);
}

.crumbs [aria-current="page"] {
  color: var(--text);
}

.dl-card {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 40px 0 8px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dl-card img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(10, 132, 255, 0.16);
}

.dl-card h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.dl-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.dl-card .actions {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

.dl-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(280px, calc(100vw - 32px));
  padding: 12px 40px 12px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(16, 24, 40, 0.12);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dl-float.is-away {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.dl-float img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

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

.dl-float a {
  font-size: 13px;
  text-decoration: none;
}

.dl-float-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
}

.dl-float-close:hover {
  color: var(--text);
}

body:has(.dl-float) {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

@media (max-width: 520px) {
  .dl-float {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

.step {
  margin: 20px 0 0;
  padding: 28px 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step h2 {
  font-size: 22px;
}

.step > p:first-of-type {
  margin-top: 0;
}

.step-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
  margin-top: 18px;
}

.step-visual > .shot {
  grid-column: 2;
  grid-row: 1;
}

.step-visual > div {
  grid-column: 1;
  grid-row: 1;
}

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 392 / 696;
  object-fit: contain;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.verify-card {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.verify-card img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.verify-card strong {
  display: block;
  font-size: 18px;
}

.verify-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.callout {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--blue-soft);
  border-radius: 12px;
}

.callout p {
  margin: 0;
}

.steps-ol {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}

.steps-ol li + li {
  margin-top: 8px;
}

.doc-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.doc-pager a {
  text-decoration: none;
  color: var(--text);
}

.doc-pager small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.doc-pager strong {
  color: var(--blue);
  font-weight: 600;
}

.doc-with-index {
  width: min(1100px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  column-gap: 48px;
}

.doc-with-index > .doc-hero {
  grid-column: 1 / -1;
}

.doc-with-index > .guide-index {
  grid-column: 1;
  grid-row: 2;
  position: sticky;
  top: 84px;
  align-self: start;
  margin: 20px 0 0;
}

.doc-with-index > .doc-main {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.guide-index p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.guide-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-index a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid var(--line);
}

.guide-index li:last-child a {
  border-bottom: 0;
}

.guide-index a span {
  flex: 0 0 1.6em;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.guide-index a:hover,
.guide-index a.is-on {
  color: var(--blue);
}

.guide-index a.is-on {
  font-weight: 600;
}

.guide-index a.is-on span {
  color: var(--blue);
}

@media (max-width: 860px) {
  .doc-with-index {
    width: min(920px, calc(100% - 32px));
    display: block;
    overflow: visible;
  }

  .doc-with-index > .doc-hero,
  .doc-with-index > .guide-index,
  .doc-with-index > .doc-main {
    display: block;
    position: static;
    top: auto;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .doc-with-index > .guide-index,
  .guide-index {
    position: static;
    margin: 8px 0 20px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
    background: transparent;
    max-width: 100%;
    min-width: 0;
  }

  .guide-index ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    overflow: visible;
  }

  .guide-index a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    white-space: nowrap;
    min-height: 40px;
    padding: 8px 2px;
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(920px, calc(100% - 32px));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand lang"
      "nav nav";
    gap: 4px 12px;
    min-height: 0;
    padding: 10px 0 12px;
  }

  .brand {
    grid-area: brand;
    font-size: 16px;
    min-width: 0;
  }

  .lang {
    grid-area: lang;
    padding: 0;
    border-left: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: none;
  }

  .lang li + li::before {
    margin: 0 5px;
  }

  .header-nav {
    grid-area: nav;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .header-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 12px;
  }

  .facts,
  .prepare-list,
  .split-cards {
    grid-template-columns: 1fr;
  }

  .intro-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .intro-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .intro-actions {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .facts div,
  .facts div:nth-child(3n) {
    border-right: 0;
  }

  .facts div:last-child {
    border-bottom: 0;
  }

  .footer-links,
  .footer nav {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
  }

  .intro {
    padding: 28px 0 8px;
  }

  .about,
  .prepare,
  .guides,
  .download,
  .faq,
  .scope,
  .next {
    padding: 36px 0 4px;
  }

  h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  h2 {
    font-size: 24px;
  }

  .lead {
    font-size: 16px;
  }

  .store-card,
  .dl-card,
  .verify-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .store-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }

  .step {
    padding: 20px 16px 16px;
  }

  .step h2,
  .post .prose h2 {
    font-size: 20px;
  }

  .step-visual {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-visual > .shot,
  .step-visual > div {
    grid-column: auto;
    grid-row: auto;
  }

  .step-visual > div {
    order: 1;
  }

  .step-visual > .shot {
    order: 2;
  }

  .shot img {
    width: min(240px, 72vw);
    margin: 0 auto;
  }

  .guide-list li > a,
  .guide-list li > div,
  .blog-list a,
  .check-list li {
    padding: 16px;
  }

  .outline,
  .note-panel,
  .related,
  .split-cards > div {
    padding: 16px;
  }

  .doc-hero,
  .crumbs {
    padding-top: 20px;
  }

  .doc-pager {
    flex-direction: column;
    gap: 12px;
  }

  .doc-pager a:last-child {
    text-align: right;
  }

  .table-wrap {
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
  }

  .table-wrap table,
  .table-wrap thead,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap th,
  .table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap tr {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

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

  .table-wrap td {
    padding: 4px 0;
    border-bottom: 0;
    font-size: 14px;
  }

  .table-wrap td:first-child {
    font-weight: 600;
  }

  .footer {
    margin-top: 48px;
    padding: 24px 0 calc(28px + env(safe-area-inset-bottom));
  }

  .path {
    margin-bottom: 18px;
  }

  .dl-card .actions,
  .store-card .actions,
  .intro-actions {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .header-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "lang";
  }

  .lang {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .store-card .actions .btn,
  .dl-card .actions .btn {
    width: 100%;
  }

  .lang a,
  .lang button {
    font-size: 12px;
  }

  .header-nav {
    margin: 0 -12px;
    padding: 0 12px;
  }

  .post {
    padding-bottom: 108px;
  }
}

@media (hover: none) {
  .btn:hover,
  .prepare-list li:hover,
  .guide-list li:hover,
  .blog-list li:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .prepare-list li,
  .guide-list li,
  .blog-list li {
    transition: none;
  }

  .btn:hover,
  .prepare-list li:hover,
  .guide-list li:hover,
  .blog-list li:hover {
    transform: none;
  }
}
