: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;
}

.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;
}

.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;
}

.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;
}

.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: #fff;
  border: 1px solid #d7deea;
  color: #1f2937;
}

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

.button-link.alt:hover {
  background: #f8fafc;
}

.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-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;
}

.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;
}

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 h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.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-dangdangi .figure-panel img {
  max-height: 440px;
  object-fit: contain;
}

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

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

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

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

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

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

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

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

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;
  }

  .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-gongdangi .brand-hero {
  background: linear-gradient(135deg, #0b1120 0%, #1d4ed8 54%, #f59e0b 100%);
}

.page-dangdangi .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-gongdangi .hero-screenshot-frame img,
.page-dangdangi .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-gongdangi .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-gongdangi .hero-soft-badge {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(191, 219, 254, 0.25);
}

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

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

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

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

.page-dangdangi .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-dangdangi .hero-soft-badge {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(167, 243, 208, 0.22);
}

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

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

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

.page-dangdangi .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);
}

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

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

@media (max-width: 700px) {
  .page-utility-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .brand-link {
    width: 100%;
  }

  .brand-text small {
    display: none;
  }

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

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

  .hero-screenshot-frame img {
    max-height: 240px;
  }

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

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

  .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: 420px;
  }
}
