:root {
  color-scheme: light;
  --ink: #0b1220;
  --muted: #657084;
  --line: #dce2ea;
  --surface: #ffffff;
  --canvas: #f5f6f8;
  --lime: #c9f227;
  --lime-dark: #9fc400;
  --blue: #2e6cf6;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 22px 60px rgba(14, 24, 42, .08);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 280px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 40px));
  height: 80px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .98rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand b { color: #6b7280; font-weight: 650; }

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 950;
  line-height: 1;
  transform: rotate(-6deg);
}

.header-guide-link {
  color: #525d6d;
  font-size: .86rem;
  font-weight: 750;
  text-underline-offset: 4px;
  text-decoration-color: #a8b0bc;
}

main { display: block; }

.section-kicker {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.pre-download-note {
  display: flex;
  width: min(1060px, calc(100% - 40px));
  align-items: flex-start;
  gap: 18px;
  margin: 16px auto 0;
  padding: 23px 27px;
  border: 1px solid #cadcff;
  border-radius: var(--radius-md);
  background: #f1f6ff;
  box-shadow: 0 16px 40px rgba(14, 24, 42, .05);
}

.pre-download-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #d92d20;
}

.pre-download-icon svg { width: 24px; height: 24px; }
.pre-download-note strong { display: block; margin: 1px 0 5px; color: #b42318; font-size: 1.04rem; }
.pre-download-note p { margin: 0; color: #526176; font-size: .88rem; }
.pre-download-note b { color: #234b9e; }

.apps-section, .install-guide {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

.apps-section { padding: 52px 0 42px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading .section-kicker, .guide-intro .section-kicker { margin-bottom: 6px; color: #8aaa08; }
.section-heading h2, .guide-intro h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.55rem); letter-spacing: -.045em; line-height: 1.2; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: .88rem; }

.app-list { display: grid; gap: 18px; }

.loading-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 180px;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  background: var(--surface);
}

.loading-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime-dark); box-shadow: 0 0 0 7px rgba(159,196,0,.12); animation: pulse 1.2s ease-in-out infinite; }

@keyframes pulse { 50% { opacity: .45; transform: scale(.8); } }

.app-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.app-icon {
  position: relative;
  display: flex;
  width: 116px;
  height: 116px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(145deg, #202c40, #09111f);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 16px 35px rgba(14,24,42,.18);
}

.app-icon::before { content: ""; position: absolute; width: 76px; height: 76px; border: 6px solid var(--lime); border-radius: 50%; border-left-color: rgba(201,242,39,.25); transform: rotate(-25deg); }
.app-icon::after { content: ""; position: absolute; top: 12px; width: 20px; height: 6px; border-radius: 4px; background: var(--lime); }
.app-icon span { position: relative; z-index: 1; font-size: 2rem; font-weight: 900; letter-spacing: -.07em; line-height: 1; }
.app-icon small { position: relative; z-index: 1; margin-top: 2px; color: var(--lime); font-size: .58rem; font-weight: 850; letter-spacing: .12em; }
.app-icon.has-image { background: #85b91c; }
.app-icon.has-image::before, .app-icon.has-image::after { content: none; }
.app-icon-image { display: block; width: 100%; height: 100%; object-fit: contain; }

.app-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.app-tags span { padding: 3px 9px; border-radius: 999px; color: #4c5c25; background: #f2f9d8; font-size: .69rem; font-weight: 800; }
.app-tags span + span { color: #536177; background: #eef1f5; }
.app-info h3 { margin: 8px 0 4px; font-size: 1.45rem; letter-spacing: -.035em; line-height: 1.25; }
.app-info > p { margin: 0; color: var(--muted); font-size: .9rem; }
.app-meta { display: flex; flex-wrap: wrap; gap: 26px; margin: 17px 0 0; }
.app-meta div { display: grid; grid-template-columns: auto auto; gap: 6px; align-items: baseline; }
.app-meta dt { color: #8a94a3; font-size: .72rem; }
.app-meta dd { margin: 0; color: #3a4556; font-size: .76rem; font-weight: 800; }

.app-actions { display: grid; width: 190px; gap: 9px; }
.primary-button, .secondary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 0;
  border-radius: 15px;
  font: inherit;
  font-size: .9rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.primary-button { color: var(--ink); background: var(--lime); box-shadow: 0 12px 24px rgba(159,196,0,.17); }
.primary-button svg, .secondary-button svg { width: 18px; height: 18px; }
.secondary-button { min-height: 45px; color: #536071; background: #f1f3f6; }
.primary-button:hover { background: #d6f84f; box-shadow: 0 15px 28px rgba(159,196,0,.24); transform: translateY(-2px); }
.secondary-button:hover { color: var(--ink); background: #e8ebef; transform: translateY(-1px); }

.primary-button:focus-visible, .secondary-button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(46,108,246,.4); outline-offset: 3px; }

.quick-install {
  width: min(1060px, calc(100% - 40px));
  margin: 8px auto 0;
  padding: 28px;
  border: 1px solid #d9e8a6;
  border-radius: var(--radius-md);
  background: #f9fce9;
}

.quick-install-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 21px; }
.quick-install-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 14px; color: var(--ink); background: var(--lime); }
.quick-install-icon svg { width: 24px; height: 24px; }
.quick-install-heading .section-kicker { margin: 0 0 2px; color: #779400; font-size: .65rem; }
.quick-install-heading h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.025em; }

.quick-install-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-install-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 17px;
  border: 1px solid #e1e9c1;
  border-radius: 15px;
  background: rgba(255, 255, 255, .76);
}

.quick-install-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--ink);
  background: var(--lime);
  font-size: .86rem;
  font-weight: 900;
}

.quick-install-steps strong { display: block; margin: 1px 0 3px; font-size: .9rem; }
.quick-install-steps p { margin: 0; color: #677348; font-size: .8rem; line-height: 1.58; }
.quick-install-steps b { color: #3f4e18; }
.quick-install-steps mark { padding: 1px 4px; color: #6f3700; background: #fff0a8; font-weight: 850; }
.quick-install-steps .drive-download-step { border-color: #efd167; background: #fffdf1; }

.install-guide { padding: 112px 0 80px; }

.guide-intro { max-width: 690px; margin: 0 auto 36px; text-align: center; }
.guide-intro > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: .95rem; }

.before-you-start {
  display: flex;
  gap: 19px;
  margin-bottom: 50px;
  padding: 26px 28px;
  border: 1px solid #cadcff;
  border-radius: var(--radius-md);
  background: #f1f6ff;
}

.aside-icon { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 13px; color: #fff; background: var(--blue); }
.aside-icon svg { width: 23px; height: 23px; }
.before-you-start h3, .after-install h3 { margin: 0 0 7px; font-size: 1rem; }
.before-you-start p, .after-install p { margin: 5px 0; color: #526176; font-size: .87rem; }
.before-you-start strong { color: #234b9e; }

.steps { margin: 0; padding: 0; list-style: none; }
.step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 25px; padding: 0 0 46px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 64px; bottom: 5px; left: 31px; width: 1px; background: #d6dbe2; }
.step-number { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 21px; color: var(--ink); background: var(--lime); font-size: 1.55rem; font-weight: 900; box-shadow: 0 10px 24px rgba(159,196,0,.15); }
.step-content { padding-top: 4px; }
.step-content h3 { margin: 0 0 10px; font-size: 1.24rem; letter-spacing: -.025em; }
.step-content p { margin: 6px 0; color: #5f6b7b; font-size: .91rem; }
.step-tip { margin-top: 13px; padding: 14px 17px; border-left: 3px solid var(--lime-dark); border-radius: 0 11px 11px 0; color: #5a6540; background: #f7f9ee; font-size: .84rem; }
.step-tip strong { margin-right: 5px; color: #344000; }

.after-install {
  display: flex;
  gap: 19px;
  margin: 4px 0 54px 89px;
  padding: 25px 28px;
  border: 1px solid #c9ead8;
  border-radius: var(--radius-md);
  background: #f0faf5;
}

.after-install-check { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: #23a568; }
.after-install-check svg { width: 23px; height: 23px; stroke-width: 2.4; }

.help-section { margin-left: 89px; }
.help-section > h3 { margin: 0 0 15px; font-size: 1.06rem; }
.help-section details { margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.help-section summary { display: grid; grid-template-columns: 42px minmax(0, 1fr) 22px; align-items: center; gap: 13px; min-height: 76px; padding: 14px 18px; cursor: pointer; list-style: none; }
.help-section summary::-webkit-details-marker { display: none; }
.summary-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: #fff; background: #5969e8; }
.summary-icon.play { background: #34a853; }
.summary-icon svg { width: 21px; height: 21px; }
.help-section summary span:nth-child(2) { min-width: 0; }
.help-section summary b { display: block; font-size: .89rem; }
.help-section summary small { display: block; margin-top: 1px; color: #8a94a3; font-size: .72rem; }
.chevron { width: 20px; height: 20px; color: #8a94a3; transition: transform .2s ease; }
details[open] .chevron { transform: rotate(180deg); }
.details-body { padding: 2px 24px 23px 73px; color: #5f6b7b; font-size: .87rem; }
.details-body p { margin: 8px 0; }
.details-body ol { margin: 9px 0; padding-left: 22px; }
.details-body li { margin: 5px 0; }
.details-body strong { color: #313c4b; }

.error-card { padding: 28px; border: 1px solid #f2c8c8; border-radius: var(--radius-md); color: #8e3030; background: #fff5f5; text-align: center; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  padding: 30px max(20px, calc((100% - 1060px) / 2));
  border-top: 1px solid #e1e5ea;
  color: #6d7786;
  background: #edf0f3;
}

.footer-brand { color: var(--ink); }
footer p { margin: 0; font-size: .78rem; }

@media (max-width: 860px) {
  .app-card { grid-template-columns: 100px minmax(0, 1fr); gap: 24px; }
  .app-icon { width: 100px; height: 100px; border-radius: 24px; }
  .app-actions { grid-column: 1 / -1; grid-template-columns: 1.15fr .85fr; width: 100%; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .site-header { width: min(100% - 28px, 1160px); height: 68px; }
  .header-guide-link { font-size: .78rem; }
  .brand { gap: 8px; font-size: .87rem; }
  .brand-mark { width: 31px; height: 31px; border-radius: 9px; }

  .pre-download-note, .apps-section, .install-guide, .quick-install { width: calc(100% - 28px); }
  .pre-download-note { gap: 13px; margin-top: 8px; padding: 19px; }
  .pre-download-icon { width: 39px; height: 39px; border-radius: 12px; }
  .pre-download-note strong { font-size: .96rem; line-height: 1.42; }
  .pre-download-note p { font-size: .81rem; }

  .apps-section { padding: 42px 0 29px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading > p { margin-top: 7px; }

  .app-card { grid-template-columns: 78px minmax(0, 1fr); gap: 17px; padding: 20px; border-radius: 23px; }
  .app-icon { width: 78px; height: 78px; border-radius: 20px; }
  .app-icon::before { width: 55px; height: 55px; border-width: 4px; }
  .app-icon::after { top: 9px; width: 16px; height: 5px; }
  .app-icon span { font-size: 1.45rem; }
  .app-icon small { font-size: .5rem; }
  .app-info h3 { margin-top: 7px; font-size: 1.12rem; }
  .app-info > p { display: none; }
  .app-meta { grid-column: 1 / -1; gap: 13px; margin-top: 12px; }
  .app-meta div { display: block; }
  .app-meta dt { font-size: .65rem; }
  .app-meta dd { font-size: .72rem; }
  .app-actions { grid-template-columns: 1fr; }
  .primary-button { min-height: 54px; }
  .secondary-button { min-height: 47px; }

  .quick-install { margin-top: 4px; padding: 20px; }
  .quick-install-heading { margin-bottom: 16px; }
  .quick-install-icon { width: 39px; height: 39px; border-radius: 12px; }
  .quick-install-heading h2 { font-size: 1.12rem; }
  .quick-install-steps { grid-template-columns: 1fr; }
  .quick-install-steps li { grid-template-columns: 31px minmax(0, 1fr); gap: 10px; padding: 15px; }
  .quick-install-steps li > span { width: 31px; height: 31px; border-radius: 10px; }

  .install-guide { padding: 78px 0 60px; }
  .guide-intro { margin-bottom: 27px; text-align: left; }
  .before-you-start { gap: 13px; margin-bottom: 38px; padding: 20px; }
  .aside-icon { width: 38px; height: 38px; }

  .step { grid-template-columns: 46px minmax(0, 1fr); gap: 15px; padding-bottom: 38px; }
  .step-number { width: 46px; height: 46px; border-radius: 15px; font-size: 1.15rem; }
  .step:not(:last-child)::after { top: 51px; left: 22px; }
  .step-content { padding-top: 1px; }
  .step-content h3 { font-size: 1.07rem; }
  .step-content p { font-size: .84rem; }

  .after-install, .help-section { margin-left: 0; }
  .after-install { gap: 13px; margin-bottom: 42px; padding: 20px; }
  .after-install-check { width: 38px; height: 38px; }
  .help-section summary { grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 11px; padding: 13px 14px; }
  .summary-icon { width: 38px; height: 38px; }
  .details-body { padding: 2px 18px 20px; }

  footer { align-items: flex-start; flex-direction: column; padding-block: 26px; }
}

@media (max-width: 360px) {
  .site-header, .pre-download-note, .apps-section, .install-guide, .quick-install { width: calc(100% - 20px); }
  .app-card { padding: 17px; }
  .app-tags span { padding-inline: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
