:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #f9fbff;
  --line: #dde5f0;
  --text: #1f2937;
  --muted: #475467;
  --green: #2e7d32;
  --green-soft: #eef8f0;
  --blue: #2563eb;
  --amber: #b45309;
  --shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  font-weight: 800;
  color: #101828;
  font-size: 1.02rem;
}

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

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #344054;
  font-size: 0.94rem;
}

.top-nav a:hover,
.top-nav a.current {
  text-decoration: none;
  background: #eff6ff;
  color: #1d4ed8;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(191, 211, 255, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.nav-toggle:hover {
  text-decoration: none;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: inline-block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

.nav-toggle.is-open .nav-toggle-icon {
  background: transparent;
}

.nav-toggle.is-open .nav-toggle-icon::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-icon::after {
  transform: translateY(-5px) rotate(-45deg);
}

.page-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

.page-utility-bar {
  position: relative;
  z-index: 2;
}

.page-utility-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: #344054;
  font-size: 0.94rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.back-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
  transition: 160ms ease;
}

.back-link-label {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 800;
}

.landing-hero {
  padding: 30px;
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  color: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.landing-hero h1 {
  margin: 0 0 14px;
  font-size: 2.35rem;
  line-height: 1.2;
}

.landing-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.12rem;
  max-width: 780px;
}

.page-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.page-link-card {
  display: block;
  padding: 22px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: inherit;
}

.page-link-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  transition: 160ms ease;
}

.page-link-card h3 {
  margin: 10px 0 10px;
  color: #101828;
}

.page-link-card p {
  margin: 0;
  color: #344054;
  font-size: 1rem;
  line-height: 1.68;
}

.page-link-card .checklist {
  margin-top: 12px;
}

.page-link-card .checklist li {
  margin-bottom: 7px;
  font-size: 0.97rem;
  line-height: 1.62;
}

.page-link-card.with-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.card-preview {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(191, 211, 255, 0.92);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 12px 24px rgba(15, 23, 42, 0.08);
}

.card-preview img {
  width: 100%;
  height: 180px;
  display: block;
  object-fit: contain;
  object-position: center top;
  border-radius: 12px;
  border: 1px solid #d8e1ee;
  background: #fff;
}

.eyebrow {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.76rem;
  font-weight: 700;
  width: fit-content;
  align-self: flex-start;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.hero-stat-tile {
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-stat-tile strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.hero-stat-tile span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.55;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: #111827;
  color: white;
  font-weight: 700;
}

.button-link.alt {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
}

.button-link:hover {
  text-decoration: none;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 0.76rem;
  font-weight: 700;
  width: fit-content;
}

.figure-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.figure-panel img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.number-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  align-items: flex-start;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.guide-figure {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.guide-figure img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  max-height: 640px;
  object-fit: contain;
}

.guide-figure figcaption {
  margin-top: 10px;
  color: #344054;
  font-size: 0.98rem;
  line-height: 1.65;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.guide-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
}

.guide-panel h3,
.guide-panel h4 {
  margin-top: 0;
}

.focus-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.focus-point {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: #344054;
  line-height: 1.66;
}

.focus-point strong {
  display: block;
  margin-bottom: 4px;
  color: #101828;
}

.context-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.context-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 0.88rem;
  font-weight: 700;
}

.scenario-visual {
  display: grid;
  grid-template-columns: minmax(380px, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin-top: 16px;
}

.scenario-visual img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  max-height: 640px;
  object-fit: contain;
}

.scenario-visual .visual-caption {
  margin-top: 8px;
  color: #344054;
  font-size: 0.98rem;
  line-height: 1.65;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.platform-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #c7d7fe;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.platform-note h3,
.platform-note h4 {
  margin-top: 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.platform-grid--stacked {
  grid-template-columns: 1fr;
}

.platform-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.platform-card h4 {
  margin: 0 0 8px;
}

.platform-card h5 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.platform-card__body {
  display: block;
}

.platform-card__content {
  min-width: 0;
}

.platform-shot {
  margin-top: 10px;
}

.platform-shot img {
  width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.os-legend,
.os-inline-guide {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

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

.os-inline-guide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.os-legend-item,
.os-inline-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  padding: 12px 14px;
}

.mac-card {
  border-color: #bfd3ff;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.win-card {
  border-color: #cde7d4;
  background: linear-gradient(180deg, #f7fcf8 0%, #eef8f0 100%);
}

.os-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #1f2937;
}

.os-symbol {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf1ff;
  color: #1849a9;
  font-size: 0.9rem;
}

.mac-card .os-symbol {
  background: #eaf1ff;
  color: #1849a9;
}

.mac-card .os-label {
  color: #1d4ed8;
}

.win-card .os-symbol {
  background: #e9f7ec;
  color: #166534;
}

.win-card .os-label {
  color: #15803d;
}

.os-inline-card p,
.os-legend-item p {
  margin: 0;
  color: #344054;
  font-size: 0.99rem;
  line-height: 1.64;
}

.popup-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.popup-item {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.popup-item h4 {
  margin: 0 0 8px;
}

.popup-item p {
  margin: 0 0 10px;
  color: #344054;
  line-height: 1.66;
}

.popup-list {
  margin: 0;
  padding-left: 18px;
  color: #344054;
}

.popup-list li + li {
  margin-top: 6px;
}

.number-card {
  flex: 1 1 280px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fcfdff;
  box-shadow: var(--shadow);
  min-height: 0;
}

.number-badge {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111827;
  color: white;
  font-weight: 800;
  margin-bottom: 10px;
}

.number-card h4 {
  margin: 0 0 8px;
}

.number-card p {
  margin: 0;
}

.checklist {
  margin: 0;
  padding-left: 18px;
}

.checklist li {
  margin-bottom: 8px;
  color: #344054;
}

.section-nav {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.section-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid transparent;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 700;
}

.section-nav a:hover,
.section-nav a.active {
  text-decoration: none;
  color: #1849a9;
  background: #eaf2ff;
  border-color: #bfd3ff;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 28px 20px;
  background: linear-gradient(180deg, #1f2937 0%, #24364f 100%);
  color: #fff;
}

.brand {
  margin-bottom: 24px;
}

.brand h1 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.badge.code { background: rgba(59, 130, 246, 0.18); }
.badge.pending { background: rgba(245, 158, 11, 0.18); }
.badge.verified { background: rgba(34, 197, 94, 0.18); }

.nav-group {
  margin-top: 28px;
}

.nav-group h2 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.sidebar nav a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background: rgba(255,255,255,0.12);
  text-decoration: none;
}

.content {
  padding: 32px;
}

.hero,
.section,
.callout,
.screenshot-card,
.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
  margin-bottom: 24px;
}

.hero h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.25;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-lead {
  font-size: 1.12rem;
  color: #344054;
  line-height: 1.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.hero-stat {
  padding: 16px;
  border-radius: 14px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.hero-stat strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.section {
  padding: 26px;
  margin-bottom: 20px;
}

.section[id] {
  scroll-margin-top: 120px;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.55rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section h2::after {
  content: "";
  flex: 1;
  min-width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.22), transparent);
}

.section h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.section h4 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1rem;
}

.section p,
.section li {
  color: #344054;
}

.section p {
  font-size: 1.02rem;
  line-height: 1.72;
}

.callout {
  padding: 16px 18px;
  margin: 16px 0;
  background: var(--green-soft);
}

.callout.warn {
  background: #fff7ed;
  border-color: #fed7aa;
}

.callout.info {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.callout strong {
  display: block;
  margin-bottom: 4px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.task-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
  color: inherit;
}

.task-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  transition: 160ms ease;
  border-color: #bfd4ff;
}

.task-card h3 {
  margin: 6px 0 10px;
  font-size: 1.1rem;
  color: #101828;
}

.mini-label {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  width: fit-content;
}

.cta-link {
  display: inline-flex;
  margin-top: 10px;
  color: #1d4ed8;
  font-weight: 600;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.flow-step {
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.flow-step strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  margin-bottom: 8px;
}

.flow-step h4 {
  margin: 0 0 6px;
}

.figure-stack {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}

.figure-large {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}

.figure-large img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
}

.figure-large figcaption {
  margin-top: 12px;
  color: #344054;
  font-size: 0.96rem;
  line-height: 1.66;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
}

.card h4 {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

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

th {
  background: #f8fafc;
  font-size: 0.92rem;
  color: #475467;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 16px;
  color: #344054;
  line-height: 1.7;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.screenshot-card {
  padding: 18px;
}

.screenshot-card img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.detail-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fcfdff;
  box-shadow: var(--shadow);
}

.detail-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 12px;
}

.detail-card h4 {
  margin-top: 0;
}

.scenario-stack {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.accordion {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fcfdff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
  color: #101828;
  background: #f8fafc;
}

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

.accordion[open] summary {
  border-bottom: 1px solid var(--line);
}

.accordion > *:not(summary) {
  padding-left: 20px;
  padding-right: 20px;
}

.scenario-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: var(--shadow);
}

.scenario-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.scenario-card header h4 {
  margin: 0;
  font-size: 1.08rem;
}

.scenario-card--image-xl .scenario-visual {
  grid-template-columns: minmax(500px, 1.38fr) minmax(240px, 0.62fr);
  gap: 16px;
}

.scenario-card--image-xl .scenario-visual img {
  max-height: 720px;
}

.scenario-card--image-xl .visual-caption {
  margin-top: 6px;
  padding: 9px 11px;
  font-size: 0.94rem;
  line-height: 1.58;
}

.scenario-card--image-tall .scenario-visual {
  grid-template-columns: minmax(440px, 1.22fr) minmax(250px, 0.78fr);
}

.scenario-card--image-tall .scenario-visual img {
  max-height: 760px;
}

.scenario-tag {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 0.8rem;
  border: 1px solid #abefc6;
}

.steps.compact li {
  margin-bottom: 12px;
}

.result-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: #475467;
}

.result-box strong {
  display: block;
  margin-bottom: 4px;
  color: #101828;
}

.shot-placeholder {
  height: 220px;
  border-radius: 14px;
  border: 2px dashed #cbd5e1;
  background:
    linear-gradient(135deg, rgba(203,213,225,0.18), rgba(241,245,249,0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 18px;
}

.shot-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.footnote {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.figure-caption {
  margin-top: 10px;
  color: #344054;
  font-size: 0.98rem;
  line-height: 1.66;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.screen-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}

.screen-map-layout .figure-panel {
  margin-top: 0;
}

.screen-map-copy {
  min-width: 0;
}

.side-number-grid {
  width: 100%;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.side-number-grid .number-card {
  flex: initial;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "badge title"
    "badge text";
  gap: 6px 12px;
  align-items: start;
  padding: 16px;
  min-height: 124px;
}

.side-number-grid .number-badge {
  grid-area: badge;
  margin: 0;
  width: 36px;
  height: 36px;
}

.side-number-grid .number-card h4 {
  grid-area: title;
  margin: 2px 0 0;
}

.side-number-grid .number-card p {
  grid-area: text;
  color: #475467;
  font-size: 0.96rem;
  line-height: 1.58;
}

.screen-map-panel {
  padding: 16px;
  overflow: hidden;
  border-color: #dbe7ff;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.screen-map-shot {
  overflow: hidden;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(191, 211, 255, 0.9);
  background: linear-gradient(180deg, #ffffff 0%, #eff4ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 16px 32px rgba(37, 99, 235, 0.08);
}

.screen-map-shot img {
  width: 100%;
  display: block;
  max-height: 620px;
  object-fit: contain;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid #dce4f0;
  background: #fff;
  transform: scale(1.05);
  transform-origin: center top;
}

.page-tools .figure-panel img {
  max-height: 440px;
  object-fit: contain;
}

.page-home .screen-map-shot img {
  max-height: 590px;
  transform: scale(1.04);
}

.page-blog-generation .screen-map-shot img {
  max-height: 560px;
  transform: scale(1.045);
}

.page-tools .screen-map-shot img {
  max-height: 520px;
  transform: scale(1.1);
}

.page-tools .guide-figure img {
  max-height: 460px;
}

.page-tools .scenario-visual {
  grid-template-columns: minmax(400px, 1.22fr) minmax(280px, 0.78fr);
}

.page-tools .scenario-visual > div:first-child {
  max-width: none;
}

.page-tools .scenario-visual img {
  max-height: 560px;
}

.page-blog-generation .scenario-visual img {
  max-height: 600px;
}

.page-blog-generation .platform-shot img {
  max-height: none;
  object-fit: contain;
}

.page-blog-generation .platform-card--side-by-side .platform-card__body {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.page-blog-generation .platform-card--side-by-side .platform-shot {
  margin-top: 0;
}

.page-blog-generation .platform-card--side-by-side .platform-shot img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center top;
}

.page-blog-generation .platform-card--side-by-side .checklist {
  margin-top: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 6px;
}

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .screenshot-grid,
  .detail-grid,
  .task-grid,
  .flow-grid,
  .page-links,
  .number-grid,
  .guide-layout,
  .scenario-visual,
  .focus-points,
  .platform-grid,
  .os-legend,
  .os-inline-guide,
  .popup-guide {
    grid-template-columns: 1fr;
  }

  .scenario-card header {
    flex-direction: column;
  }

  .page-blog-generation .platform-card--side-by-side .platform-card__body {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .screen-map-layout {
    grid-template-columns: 1fr;
  }

  .side-number-grid {
    grid-template-columns: 1fr;
  }
}

/* --- shadcn/ui-inspired brand layer for manual site --- */

body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 4%, rgba(59, 130, 246, 0.12), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(245, 158, 11, 0.11), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #f4f7fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 88%);
  opacity: 0.08;
}

.site-header,
.page-container {
  position: relative;
  z-index: 1;
}

.site-header {
  background: rgba(248, 250, 252, 0.84);
  border-bottom-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid rgba(191, 211, 255, 0.95);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-text strong {
  color: #0f172a;
  font-size: 1rem;
}

.brand-text small {
  margin-top: 4px;
  color: #667085;
  font-size: 0.76rem;
  font-weight: 600;
}

.brand-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.brand-hero::before,
.brand-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.7;
}

.brand-hero::before {
  width: 240px;
  height: 240px;
  right: -40px;
  top: -60px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
}

.brand-hero::after {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.18), transparent 72%);
}

.page-home .brand-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 62%, #38bdf8 100%);
}

.page-blog-generation .brand-hero {
  background: linear-gradient(135deg, #0b1120 0%, #1d4ed8 54%, #f59e0b 100%);
}

.page-tools .brand-hero {
  background: linear-gradient(135deg, #0b1120 0%, #0f766e 52%, #22c55e 100%);
}

.page-troubleshooting .brand-hero {
  background: linear-gradient(135deg, #111827 0%, #334155 52%, #ea580c 100%);
}

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

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
}

.hero-soft-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.guide-fit-note {
  margin: 12px 0 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 720px;
}

.hero-visual {
  display: flex;
}

.hero-visual-card {
  width: 100%;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 48px rgba(2, 6, 23, 0.22);
}

.mascot-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.94);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.mascot-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 100%);
  padding: 12px;
  border: 1px solid #fde7c7;
}

.mascot-card strong {
  display: block;
  margin: 5px 0 6px;
  color: #101828;
  font-size: 1.03rem;
  line-height: 1.4;
}

.mascot-card p {
  margin: 0;
  color: #475467;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-avatar-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.hero-avatar-row img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-screenshot-frame {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.18);
}

.frame-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.frame-dots span:nth-child(1) { background: #f87171; }
.frame-dots span:nth-child(2) { background: #fbbf24; }
.frame-dots span:nth-child(3) { background: #4ade80; }

.hero-screenshot-frame img {
  width: 100%;
  display: block;
  max-height: 340px;
  object-fit: contain;
  padding: 12px;
  background: #fff;
}

.page-home .hero-screenshot-frame img {
  max-height: 460px;
}

.page-blog-generation .hero-screenshot-frame img,
.page-tools .hero-screenshot-frame img,
.page-troubleshooting .hero-screenshot-frame img {
  max-height: 360px;
}

.page-home .brand-mark {
  background: linear-gradient(180deg, #ffffff 0%, #e8f0ff 100%);
  border-color: rgba(191, 211, 255, 0.95);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.16);
}

.page-home .hero-soft-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-home .hero-visual-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(191, 219, 254, 0.16) 100%);
}

.page-blog-generation .brand-mark {
  background: linear-gradient(180deg, #fff7ed 0%, #eef4ff 100%);
  border-color: rgba(253, 186, 116, 0.9);
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.18);
}

.page-blog-generation .hero-soft-badge {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(191, 219, 254, 0.25);
}

.page-blog-generation .hero-visual-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(59, 130, 246, 0.2) 100%);
}

.page-blog-generation .button-link {
  background: linear-gradient(135deg, #111827 0%, #1d4ed8 100%);
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.24);
}

.page-blog-generation .button-link.alt {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(251, 191, 36, 0.32);
}

.page-blog-generation .mascot-card img {
  background: linear-gradient(180deg, #fff7ed 0%, #eff6ff 100%);
  border-color: #fed7aa;
}

.page-tools .brand-mark {
  background: linear-gradient(180deg, #f0fdf4 0%, #eefcf6 100%);
  border-color: rgba(134, 239, 172, 0.88);
  box-shadow: 0 12px 26px rgba(34, 197, 94, 0.18);
}

.page-tools .hero-soft-badge {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(167, 243, 208, 0.22);
}

.page-tools .hero-visual-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(16, 185, 129, 0.18) 100%);
}

.page-tools .button-link {
  background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.24);
}

.page-tools .button-link.alt {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(110, 231, 183, 0.3);
}

.page-tools .mascot-card img {
  background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
  border-color: #bbf7d0;
}

.page-troubleshooting .brand-mark {
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 100%);
  border-color: rgba(253, 186, 116, 0.92);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.18);
}

.page-troubleshooting .hero-soft-badge {
  background: rgba(251, 146, 60, 0.17);
  border-color: rgba(253, 186, 116, 0.22);
}

.page-troubleshooting .hero-visual-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(251, 146, 60, 0.16) 100%);
}

.page-troubleshooting .button-link {
  background: linear-gradient(135deg, #111827 0%, #ea580c 100%);
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.22);
}

.page-troubleshooting .button-link.alt {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(251, 146, 60, 0.28);
}

.page-troubleshooting .mascot-card img {
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 100%);
  border-color: #fdba74;
}

.page-link-card,
.scenario-card,
.number-card,
.popup-item,
.card,
.detail-card,
.figure-panel,
.guide-figure,
.guide-panel,
.platform-note,
.table-wrap {
  border-color: rgba(226, 232, 240, 0.96);
}

.page-link-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.page-link-card::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -26px;
  width: 132px;
  height: 132px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
  pointer-events: none;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-mascot {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand-inline-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.98);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.brand-inline-note img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 100%);
  padding: 12px;
  border: 1px solid #fde7c7;
}

.brand-inline-note strong {
  display: block;
  margin: 5px 0 6px;
  color: #101828;
  font-size: 1.04rem;
  line-height: 1.45;
}

.brand-inline-note p {
  margin: 0;
  color: #475467;
  font-size: 0.98rem;
  line-height: 1.68;
}

.figure-panel,
.guide-figure,
.guide-panel,
.scenario-card,
.popup-item,
.number-card,
.card,
.platform-note,
.table-wrap {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.site-footer {
  margin: 42px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.footer-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #101828;
  font-size: 1rem;
}

.footer-copy p {
  margin: 0;
  color: #475467;
  font-size: 0.95rem;
  line-height: 1.64;
}

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

.footer-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #344054;
  font-size: 0.82rem;
  font-weight: 700;
}

body.lightbox-open {
  overflow: hidden;
}

.zoomable-image-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.zoomable-image-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.76);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.zoomable-image-wrap:hover .zoomable-image-badge,
.zoomable-image-wrap:focus-within .zoomable-image-badge {
  opacity: 1;
  transform: translateY(0);
}

.zoomable-image {
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.zoomable-image:hover,
.zoomable-image:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
  outline: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__content {
  width: min(96vw, 1600px);
  margin: 20px auto;
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.image-lightbox__close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
  transition: transform 160ms ease, background 160ms ease;
}

.image-lightbox__close:hover,
.image-lightbox__close:focus-visible {
  background: rgba(15, 23, 42, 0.88);
  transform: translateY(-1px);
  outline: none;
}

.image-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.image-lightbox__nav:hover,
.image-lightbox__nav:focus-visible {
  background: rgba(15, 23, 42, 0.88);
  outline: none;
}

.image-lightbox__nav:disabled {
  opacity: 0.34;
  cursor: default;
}

.image-lightbox__nav--prev {
  left: 10px;
}

.image-lightbox__nav--next {
  right: 10px;
}

.image-lightbox__stage {
  width: 100%;
  max-height: calc(100vh - 150px);
  overflow: auto;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  cursor: default;
}

.image-lightbox__content.is-zoomed .image-lightbox__stage {
  cursor: grab;
}

.image-lightbox__content.is-zoomed .image-lightbox__stage.is-dragging {
  cursor: grabbing;
}

.image-lightbox__image {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.38);
  cursor: pointer;
}

.image-lightbox__caption {
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: min(92vw, 980px);
}

.image-lightbox__hint {
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.55;
}

.image-lightbox__content.is-tall {
  width: min(96vw, 1700px);
}

.image-lightbox__content.is-zoomed .image-lightbox__image {
  cursor: zoom-out;
}

@media (max-width: 1100px) {
  body {
    font-size: 16px;
  }

  .page-container {
    padding: 22px 16px 48px;
  }

  .site-header-inner {
    padding: 12px 16px;
  }

  .brand-hero {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 26px;
  }

  .hero-avatar-row {
    justify-content: flex-start;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .section-nav {
    position: static;
  }

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

  .footer-pill-row {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
    line-height: 1.58;
  }

  .page-utility-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .back-link {
    width: 100%;
    justify-content: center;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .site-header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 12px;
    gap: 12px;
  }

  .brand-link {
    width: auto;
    flex: 1 1 auto;
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .brand-mark img {
    width: 26px;
    height: 26px;
  }

  .brand-text strong {
    font-size: 0.96rem;
  }

  .brand-text small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .top-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(191, 211, 255, 0.95);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
  }

  .top-nav.is-open {
    display: flex;
  }

  .top-nav a {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .page-container {
    padding: 16px 12px 36px;
  }

  .landing-hero,
  .brand-hero {
    padding: 18px;
    border-radius: 22px;
    gap: 16px;
  }

  .landing-hero h1 {
    font-size: 1.68rem;
    line-height: 1.22;
    margin-bottom: 10px;
  }

  .landing-hero p,
  .section-lead,
  .guide-fit-note {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .hero-badge-row {
    gap: 8px;
    margin-top: 14px;
  }

  .hero-soft-badge {
    padding: 7px 10px;
    font-size: 0.76rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button-link,
  .button-link.alt {
    width: 100%;
    min-height: 44px;
  }

  .section-nav {
    margin: 14px 0 18px;
    padding: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

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

  .section-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  .section {
    padding: 18px 14px;
    margin-bottom: 16px;
    border-radius: 18px;
  }

  .section h2 {
    font-size: 1.22rem;
    line-height: 1.34;
    gap: 8px;
    margin-bottom: 12px;
  }

  .section h2::after {
    display: none;
  }

  .section h3 {
    margin-top: 18px;
    font-size: 1.02rem;
  }

  .section h4 {
    font-size: 0.96rem;
  }

  .section p,
  .section li {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .eyebrow,
  .section-kicker,
  .mini-label,
  .footer-pill {
    font-size: 0.72rem;
  }

  .hero-visual-card,
  .brand-inline-note,
  .mascot-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .mascot-card img,
  .brand-inline-note img {
    width: 76px;
    height: 76px;
  }

  .mascot-card,
  .brand-inline-note {
    gap: 12px;
  }

  .figure-panel,
  .guide-figure,
  .guide-panel,
  .platform-card,
  .card,
  .detail-card,
  .number-card,
  .popup-item {
    padding: 14px;
    border-radius: 16px;
  }

  .guide-figure figcaption,
  .guide-panel,
  .figure-caption,
  .visual-caption,
  .result-box,
  .callout {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .hero-screenshot-frame img {
    max-height: 220px;
    padding: 8px;
  }

  .card-preview img {
    height: 138px;
  }

  .number-card {
    flex-basis: 100%;
  }

  .side-number-grid .number-card {
    grid-template-columns: 34px 1fr;
    min-height: 0;
    gap: 4px 10px;
    padding: 14px;
  }

  .number-badge,
  .side-number-grid .number-badge {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .screen-map-shot img {
    max-height: 300px;
    transform: scale(1.01);
  }

  .scenario-card--image-xl .scenario-visual,
  .scenario-card--image-tall .scenario-visual {
    grid-template-columns: 1fr;
  }

  .scenario-card--image-xl .scenario-visual img,
  .scenario-card--image-tall .scenario-visual img {
    max-height: 320px;
  }

  table {
    min-width: 540px;
  }

  th,
  td {
    padding: 10px 10px;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .footer-inner {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .footer-copy strong {
    font-size: 0.95rem;
  }

  .footer-copy p {
    font-size: 0.9rem;
  }

  .image-lightbox {
    padding: 16px;
  }

  .image-lightbox__stage {
    max-height: calc(100vh - 132px);
  }

  .image-lightbox__close {
    right: 6px;
    top: 6px;
    width: 42px;
    height: 42px;
    font-size: 1.45rem;
  }

  .image-lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 1.65rem;
  }

  .image-lightbox__nav--prev {
    left: 6px;
  }

  .image-lightbox__nav--next {
    right: 6px;
  }

  .image-lightbox__image {
    border-radius: 16px;
  }

  .image-lightbox__caption {
    border-radius: 16px;
    font-size: 0.88rem;
  }

  .image-lightbox__hint {
    font-size: 0.8rem;
  }
}

@media (max-width: 700px) {
  .zoomable-image-badge {
    right: 10px;
    top: 10px;
    padding: 6px 9px;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 14px;
  }

  .page-utility-inner {
    padding: 12px 10px 0;
  }

  .page-container {
    padding: 12px 10px 28px;
  }

  .landing-hero,
  .brand-hero,
  .section {
    border-radius: 16px;
  }

  .landing-hero h1 {
    font-size: 1.48rem;
  }

  .hero-screenshot-frame img,
  .screen-map-shot img {
    max-height: 190px;
  }

  .card-preview {
    min-height: 140px;
  }

  .card-preview img {
    height: 120px;
  }

  .figure-panel,
  .guide-figure,
  .guide-panel,
  .platform-card,
  .card,
  .detail-card,
  .number-card {
    padding: 12px;
  }

  .callout,
  .result-box {
    padding: 12px;
  }

  table {
    min-width: 500px;
  }
}
