:root {
  color-scheme: dark;
  --bg: #070a12;
  --ink: #f8fbff;
  --muted: #a8b3c7;
  --line: rgba(214, 226, 255, .12);
  --line-strong: rgba(143, 243, 255, .26);
  --paper: #0f1725;
  --paper-raised: #121c2b;
  --blue: #2f7dff;
  /* 채운 버튼 전용 파랑. 브랜드 파랑 #2f7dff 는 흰 글자와 3.82:1 이라
     본문 기준 4.5:1 에 못 미쳤습니다. 테두리·강조선처럼 글자가 아닌 곳은
     3:1 이면 되므로 --blue 는 그대로 두고, 글자를 얹는 배경만 분리합니다.
     #2870ec 는 흰 글자와 4.59:1 입니다. */
  --blue-strong: #2870ec;
  --cyan: #8ff3ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Noto Sans KR", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  /* 한국어는 낱말 중간에서 끊으면 안 됩니다. 개별 규칙 몇 곳에만 걸려 있어서
     본문 문단이 "확인할 수 있습 / 니다" 처럼 쪼개졌습니다. 페이지 전체에 둡니다. */
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 18, .88);
  backdrop-filter: blur(18px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 900;
  margin-right: auto;
}
.brand::before {
  content: "";
  width: 30px;
  aspect-ratio: 1;
  background: url("../assets/overplatform-symbol-96.png?v=20260811-symbol96") center / contain no-repeat;
}
.product-list-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 17px;
  font-weight: 850;
  background: var(--paper);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.product-list-link::before {
  content: "←";
  margin-right: 8px;
  color: var(--cyan);
}
.button.primary {
  border-color: var(--blue-strong);
  color: #fff;
  background: var(--blue-strong);
}
.product-list-link:hover,
.button:not(.primary):hover {
  border-color: var(--line-strong);
  background: var(--paper-raised);
  transform: translateY(-1px);
}
.button.primary:hover {
  border-color: #73a6ff;
  background: #438cff;
  box-shadow: 0 12px 28px rgba(47, 125, 255, .22);
  transform: translateY(-1px);
}
a:focus-visible { outline: 2px solid #8ff3ff; outline-offset: 3px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
  min-height: min(720px, calc(100vh - 68px));
  padding: 70px 0;
}
.hero-copy { min-width: 0; }
.kicker,
.section-label,
.card-label {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  max-width: 720px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.72;
  word-break: keep-all;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.hero-points li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #dce7f8;
  font-size: 13px;
  font-weight: 750;
  background: rgba(15, 23, 37, .72);
}
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.visual {
  position: relative;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}
.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(7, 10, 18, .76));
}
.visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.visual:hover img { transform: scale(1.025); }
body[data-product="overdevice"] .visual { aspect-ratio: 16 / 9; }
body[data-product="overdevice"] .visual img { object-fit: contain; }
.visual figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-top: 15px;
}
.visual figcaption span {
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.visual figcaption strong { font-size: clamp(22px, 2.4vw, 30px); line-height: 1; }

.section { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
/* h1 은 최대 60px 입니다. h2 가 44px 이면 둘의 비율이 1.28 이라 화면에서
   제목 두 개가 같은 무게로 읽혔습니다. 38px 로 낮춰 비율을 1.5 로 벌리고,
   아래 .dark h2 (이미 38px) 와도 크기를 맞춥니다. */
h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: 0;
  word-break: keep-all;
}
.section-head p { margin: 0; color: var(--muted); line-height: 1.7; }
/* 카드 안쪽 여백이 24px 인데 카드 사이가 14px 이면 경계가 묻혀
   여러 장이 한 덩어리로 보입니다. 안쪽보다 좁지 않게 둡니다. */
.grid { display: grid; gap: 20px; }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.context-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.card:hover {
  border-color: var(--line-strong);
  background: var(--paper-raised);
  transform: translateY(-2px);
}
.feature-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
}
.card-index {
  grid-row: 1 / span 2;
  color: rgba(143, 243, 255, .62);
  font-size: 12px;
  font-weight: 900;
}
.card b { display: block; margin-bottom: 8px; font-size: 18px; line-height: 1.4; }
.card p { margin: 0; color: var(--muted); line-height: 1.65; word-break: keep-all; }
.card-label { margin-bottom: 15px; font-size: 12px; }
/* 앞 섹션과 이어지는 흐름이라 위 여백을 줄여둔 자리입니다.
   26px 은 어디서도 쓰지 않는 값이라, 다른 여백과 같은 8의 배수로 맞춥니다. */
.context-section { padding-top: 24px; }
/* 그리드 항목은 기본으로 같은 행 높이까지 늘어납니다. 고정 208px 은
   내용이 짧은 제품에서 아래쪽 빈 칸으로 남을 뿐이라 하한만 남깁니다. */
.context-grid .card { min-height: 176px; }

.dark {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 40px 0 72px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 40px;
  color: #fff;
  background: var(--paper);
}
.dark h2 { margin-bottom: 8px; font-size: clamp(28px, 3vw, 38px); }
.dark p { max-width: 680px; margin: 0; color: rgba(255, 255, 255, .68); line-height: 1.65; }
.dark .buttons { flex: 0 0 auto; margin: 0; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 58px 0;
  }
  .hero-copy { max-width: 720px; }
  .visual { width: min(100%, 620px); }
  .context-grid { grid-template-columns: 1fr; }
  .context-grid .card { min-height: 0; }
  .dark { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, 1160px); }
  .nav-inner { min-height: 64px; }
  .brand { font-size: 15px; }
  .brand::before { width: 27px; }
  .product-list-link { min-height: 44px; padding: 0 13px; font-size: 14px; }
  .hero { gap: 38px; padding: 46px 0 42px; }
  h1 { font-size: clamp(36px, 10.2vw, 44px); line-height: 1.12; }
  .lead { font-size: 16px; line-height: 1.68; }
  .hero-points { margin-top: 20px; }
  .hero-points li { padding: 7px 10px; font-size: 12px; }
  .visual figcaption { right: 16px; bottom: 16px; left: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .feature-card { grid-template-columns: 34px minmax(0, 1fr); padding: 21px 18px; }
  .card { padding: 21px 18px; }
  .dark { margin: 24px 0 56px; padding: 26px 22px; }
  .dark .buttons { width: 100%; }
}

@media (max-width: 420px) {
  .buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .button { min-width: 0; padding: 0 10px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-list-link, .button, .card, .visual img { transition: none; }
}

/* ------------------------------------------------------------------
   Linear scroll product story. Large usage screenshots paired with
   benefit-led copy, revealed as they enter the viewport.
   ------------------------------------------------------------------ */

body[data-layout="scroll"] { --story-gap: clamp(80px, 11vw, 160px); }

.story-hero { padding: clamp(72px, 11vw, 140px) 0 0; text-align: center; }
.story-hero h1 {
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 16px 0 20px;
  margin-inline: auto;
  font-weight: 600;
}
.story-hero .lead {
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 1.7;
  max-width: 54ch;
  margin: 0 auto 30px;
}
.story-hero .buttons { justify-content: center; }
.hero-note {
  margin: 20px 0 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  opacity: .8;
}

.shot-frame {
  margin: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 40px 110px rgba(0, 0, 0, .5);
}
/* 원본보다 크게 늘리지 않습니다. 히어로 틀이 1160px 인데 캡처는 820~900px 이라
   1.3~1.4배로 확대돼 글자가 뭉개졌습니다. UI 스크린샷은 흐려지면 제품이
   덜 만들어진 것처럼 보이므로, 선명함을 크기보다 우선합니다.
   좁은 화면에서는 100% 로 줄어듭니다. */
.shot-frame .shot { display: block; width: auto; max-width: 100%; height: auto; }
.shot-frame--hero {
  width: fit-content;
  max-width: min(1160px, calc(100% - 48px));
  margin-top: clamp(44px, 6vw, 80px);
  margin-inline: auto;
}

/* Missing capture: keep the page usable and make the gap obvious. */
.shot-frame[data-missing] { position: relative; aspect-ratio: 16 / 10; }
.shot-frame[data-missing] .shot { display: none; }
.shot-frame[data-missing]::after {
  content: "화면 캡처 준비 중";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
  background:
    repeating-linear-gradient(45deg, rgba(214,226,255,.03) 0 12px, transparent 12px 24px),
    var(--paper-raised);
}

.story { padding: var(--story-gap) 0 0; }
.story-inner { display: grid; gap: clamp(28px, 4vw, 52px); }
.story--split .story-inner,
.story--split-reverse .story-inner {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
}
.story--split-reverse .story-copy { order: 2; }

/* 캡처가 아직 없는 섹션. 이미지 자리를 비워 두면 한 칼럼이 통째로 빈 채
   남으므로, 글줄 길이만 읽기 좋게 잡고 전폭으로 흐르게 둡니다. */
.story--text .story-copy { max-width: 62ch; }
.story--text .story-copy p { font-size: clamp(15px, 1.4vw, 17px); }

.story-index {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.story-copy h2 {
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.22;
  letter-spacing: -.015em;
  margin: 0 0 16px;
  font-weight: 600;
}
.story-copy p {
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.8;
  margin: 0;
  max-width: 52ch;
}

/* reveal */
[data-story], .shot-frame--hero {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
[data-story].is-visible, .shot-frame--hero.is-visible { opacity: 1; transform: none; }

.story-facts { padding: var(--story-gap) 0 0; }
.story-facts dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto;
}
.fact { background: var(--bg); padding: 26px 24px; }
.fact dt { font-size: 12px; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.fact dd { margin: 0; font-size: 17px; font-weight: 500; }

.story-faq { padding: var(--story-gap) 0 0; }
.story-faq h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 28px; font-weight: 600; }
.faq-list { display: grid; gap: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.faq-item summary i {
  position: relative;
  width: 13px;
  height: 13px;
  flex: none;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  background: var(--muted);
  transition: transform .2s ease;
}
.faq-item summary i::before { inset: 6px 0 auto; height: 1.5px; }
.faq-item summary i::after { inset: 0 6px auto; width: 1.5px; height: 13px; }
.faq-item[open] summary i::after { transform: scaleY(0); }
.faq-item p { margin: 0; padding: 0 22px 22px; color: var(--muted); line-height: 1.8; max-width: 70ch; }

body[data-layout="scroll"] .dark { margin-top: var(--story-gap); }
.dark.shell { margin-inline: auto; }

@media (max-width: 860px) {
  .story--split .story-inner,
  .story--split-reverse .story-inner { grid-template-columns: minmax(0, 1fr); }
  .story--split-reverse .story-copy { order: 0; }
}

@media (prefers-reduced-motion: reduce) {
  [data-story], .shot-frame--hero { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 620px) {
  .nav-inner { gap: 6px; }
  .product-list-link { border: 0; background: none; padding-inline: 6px; font-size: 14px; }
  .product-list-link::before { content: none; }
  .shot-frame--hero { max-width: calc(100% - 32px); }
  .hero-note { line-height: 1.7; }
}

/* Product guides: readable instructions and real application captures. */
body.product-guide {
  --story-gap: 72px;
  --bg: #101214;
  --paper: #191c20;
  --muted: #b7bfc7;
  --cyan: #80d8c9;
  letter-spacing: 0;
}
body.product-guide .shell { max-width: 1120px; }
body.product-guide .nav-inner { justify-content: flex-end; gap: 12px; }
body.product-guide .brand { margin-right: auto; }
body.product-guide .kicker { letter-spacing: 0; }
body.product-guide .story-hero { padding-top: 64px; }
body.product-guide .story-hero h1 { margin-inline: auto; font-size: 56px; line-height: 1.2; letter-spacing: 0; }
body.product-guide .story-hero .lead { font-size: 18px; max-width: 55ch; }
body.product-guide .hero-note { font-size: 14px; letter-spacing: 0; opacity: 1; line-height: 1.7; }
body.product-guide .shot-frame { border-radius: 8px; box-shadow: none; }
body.product-guide .shot-frame--hero { margin-top: 36px; }
body.product-guide .story-inner { gap: 28px; }
body.product-guide .story-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; max-width: none; }
body.product-guide .story-index { grid-column: 1 / -1; font-size: 14px; letter-spacing: 0; }
body.product-guide .story-copy h2 { font-size: 30px; line-height: 1.4; letter-spacing: 0; word-break: keep-all; }
body.product-guide .story-copy p { grid-column: 1; font-size: 16px; }
.story-points { grid-column: 2; grid-row: 2 / 4; margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.story-points li + li { margin-top: 10px; }
.story-points li::marker { color: var(--cyan); }
.shot-zoom { display: block; position: relative; }
.shot-zoom:focus-visible { outline: 2px solid var(--cyan); outline-offset: -3px; }
.shot-zoom span { display: block; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); background: var(--paper); font-size: 14px; text-align: right; }
.shot-zoom:hover span { color: var(--ink); }
body.product-guide .story-facts dl { margin-inline: auto; border-radius: 8px; }
body.product-guide .fact { padding: 20px; }
body.product-guide .fact dt { font-size: 14px; letter-spacing: 0; }
body.product-guide .faq-item { border-radius: 8px; }
body.product-guide .story-faq h2 { font-size: 28px; letter-spacing: 0; }
body.product-guide .dark { margin-inline: auto; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 36px 0 0; }
body.product-guide .dark h2 { font-size: 26px; line-height: 1.4; letter-spacing: 0; }
@media (max-width: 700px) {
  body.product-guide { --story-gap: 44px; }
  body.product-guide .story-hero { padding-top: 40px; }
  body.product-guide .story-hero h1 { font-size: 40px; }
  body.product-guide .story-hero .lead { font-size: 16px; }
  body.product-guide .story-copy { display: block; }
  body.product-guide .story-copy h2 { font-size: 24px; }
  body.product-guide .story-points { margin-top: 20px; }
  body.product-guide .story-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.product-guide .fact { padding: 16px 12px; }
  body.product-guide .fact dd { font-size: 15px; overflow-wrap: anywhere; }
  body.product-guide .nav-inner { gap: 6px; }
  body.product-guide .product-list-link { border: 0; background: none; padding-inline: 6px; font-size: 14px; }
  body.product-guide .product-list-link::before { content: none; }
  body.product-guide .shot-frame--hero { max-width: calc(100% - 32px); }
}
body.product-guide .story--split .story-copy { display: block; }
body.product-guide .story--split .story-points { margin-top: 20px; }
body.product-guide .story--split .shot-frame { max-width: 512px; width: 100%; justify-self: center; }
