:root {
  color-scheme: light;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-synthesis: none;
  --carbon: #17191b;
  --graphite: #292b2e;
  --canvas: #dfddd7;
  --surface: #efede8;
  --ink: #1d2023;
  --copy: #5f6468;
  --line: #cfcec8;
  --orange: #b83a0b;
  --page-gutter: clamp(1.25rem, 2.5vw, 3rem);
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.7; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.35; letter-spacing: -.035em; word-break: keep-all; }
p, dd { word-break: keep-all; overflow-wrap: anywhere; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.skip-link { position: absolute; z-index: 5; top: -6rem; left: 1rem; padding: .7rem 1rem; background: var(--surface); }
.skip-link:focus { top: 1rem; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 84px;
  padding: 1rem var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: #f3f1ec;
}
.brand, .home-link { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.brand img { display: block; width: 120px; height: auto; }
.home-link { gap: .65rem; font-weight: 600; }
.home-link span { color: var(--orange); font-size: 1.25rem; }
.home-link:hover { text-decoration: underline; }
main { margin: 2rem var(--page-gutter) 4rem; }

.install-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--carbon);
  color: #f5f3ed;
}
.hero-copy { min-width: 0; max-width: 44rem; }
.eyebrow { color: var(--orange); font-size: .875rem; font-weight: 700; letter-spacing: .06em; }
.hero-copy .eyebrow { color: #f29c72; }
h1 { margin-top: 1.1rem; font-size: clamp(2rem, 5.4vw, 4rem); font-weight: 650; line-height: 1.2; overflow-wrap: anywhere; }
.hero-intro { margin-top: 1.4rem; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.6; letter-spacing: -.025em; }
.hero-description { max-width: 54ch; margin-top: 1.15rem; color: #b9bbbd; }
.service-status { max-width: 54ch; margin-top: .8rem; color: #f2c4ad; font-size: .9375rem; }
.install-panel { width: 100%; max-width: 35rem; min-width: 0; justify-self: end; padding: clamp(1.5rem, 3vw, 2.3rem); background: var(--surface); color: var(--ink); border-top: 3px solid #d94a12; }
.install-panel h2 { font-size: clamp(1.5rem, 2.7vw, 1.85rem); }
.install-copy { margin-top: .75rem; color: var(--copy); }
.install-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 1.5rem;
  padding: .85rem 1rem;
  border: 1px solid var(--orange);
  border-radius: 3px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
}
.install-button:hover { background: #963007; border-color: #963007; }
.install-button:disabled { cursor: default; opacity: .65; }
.status { margin-top: .7rem; color: var(--copy); font-size: .875rem; }
.connection-note { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.connection-note strong { font-size: .9375rem; font-weight: 700; }
.connection-note p { margin-top: .25rem; color: var(--copy); font-size: .875rem; }
noscript p { margin-top: 1rem; font-size: .9375rem; }

.usage-guide { margin-top: clamp(3rem, 6vw, 5rem); }
.section-heading h2 { margin-top: .55rem; font-size: clamp(1.65rem, 3vw, 2.15rem); font-weight: 650; }
.steps { margin: 1.8rem 0 0; padding: 0; list-style: none; border-top: 1px solid #9b9c98; }
.steps > li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.5rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.step-number { padding-top: .05rem; color: var(--orange); font-size: 1.375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.step-content { min-width: 0; }
.step-content h3 { font-size: 1.25rem; font-weight: 700; }
.step-content > p { max-width: 68ch; margin-top: .65rem; color: var(--copy); }
.platform-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 1.25rem; }
.platform-guide > div + div { padding-left: 2rem; border-left: 1px solid #bcbdb8; }
.platform-guide h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.platform-guide p { max-width: 58ch; margin-top: .5rem; color: var(--copy); }
.platform-guide strong { color: var(--ink); font-weight: 600; }
.step-content > .guide-note { margin-top: 1rem; font-size: .875rem; }
.menu-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 1.25rem 0 0; padding: 1.25rem 1.5rem; background: var(--surface); }
.menu-guide > div { min-width: 0; }
.menu-guide dt { font-weight: 700; }
.menu-guide dd { margin: .3rem 0 0; color: var(--copy); font-size: .9375rem; }

.monitor-guide { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); }
.monitor-guide .section-heading { padding-top: .7rem; }
.monitor-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 60rem;
  justify-self: end;
  min-width: 0;
  aspect-ratio: 16 / 10;
  padding: 1.5rem;
  border: 1px solid #42464a;
  background: var(--graphite);
  color: #c6c8ca;
  text-align: center;
}
.monitor-media p { font-size: .9375rem; }
.monitor-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-footer { padding: 1.5rem 1.25rem; border-top: 1px solid var(--line); color: var(--copy); text-align: center; font-size: .875rem; }
.site-footer span { margin-inline: .4rem; }

@media (max-width: 800px) {
  main { margin-top: 1.25rem; margin-bottom: 3rem; }
  .install-hero { grid-template-columns: 1fr; gap: 1.75rem; padding: 1.75rem; }
  .hero-intro { font-size: 1.3rem; }
  .install-panel { max-width: none; padding: 1.5rem; }
  .steps > li { grid-template-columns: 36px minmax(0, 1fr); gap: 1rem; padding-block: 1.5rem; }
  .platform-guide { grid-template-columns: 1fr; gap: 1.2rem; }
  .platform-guide > div + div { padding: 1.2rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .menu-guide { grid-template-columns: 1fr; gap: 1rem; padding: 1.1rem; }
  .menu-guide > div + div { padding-top: 1rem; border-top: 1px solid var(--line); }
  .monitor-guide { grid-template-columns: 1fr; gap: 1.3rem; }
  .monitor-guide .section-heading { padding-top: 0; }
}
@media (max-width: 380px) {
  :root { --page-gutter: 1.1rem; }
  .site-header { min-height: 76px; padding: .75rem var(--page-gutter); }
  .install-hero { padding: 1.25rem; }
  .install-panel { padding: 1.25rem; }
  .steps > li { grid-template-columns: 28px minmax(0, 1fr); gap: .65rem; }
  .step-number { font-size: 1.125rem; }
  .step-content h3 { font-size: 1.125rem; }
}
@media (forced-colors: active) {
  .install-hero, .install-panel, .monitor-media, .menu-guide { border: 1px solid CanvasText; }
  .install-button { border-color: ButtonText; }
}
