/* walknride.kr 공통 모양. 전통적인 소프트웨어 회사 결: 흰 바탕, 회사 파랑 하나, 네모난 단추, 표와 패널.
   모서리 규칙: 단추·입력 칸 4px, 패널 6px. 글꼴은 Pretendard 하나. */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --blue: #1b4fbf;
  --blue-d: #153f99;
  --navy: #0e2238;
  --ink: #1c2127;
  --sub: #55606e;
  --faint: #8a94a1;
  --line: #d8dee6;
  --fill: #f3f5f8;
  --err: #c0271d;
  --ok: #1a7f4b;
  --r: 4px;
  --r-box: 6px;
  --w: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 16px/1.65 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 28px; }

/* 단추: 네모, 단색 */
.btn {
  appearance: none; border: 1px solid var(--blue); background: var(--blue); color: #fff;
  font: inherit; font-weight: 500; font-size: 15px; line-height: 1; white-space: nowrap;
  height: 44px; padding: 0 20px; border-radius: var(--r); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #b8c2d0; border-color: #b8c2d0; cursor: default; transform: none; }
.btn.line { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn.line:hover { background: #eef3fc; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn.small { height: 34px; padding: 0 13px; font-size: 14px; }
.btn.text { background: none; border-color: transparent; color: var(--sub); padding: 0 10px; }
.btn.text:hover { background: none; color: var(--ink); text-decoration: underline; }
.btn.danger { color: var(--err); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* 입력: 이름표는 위, 오류는 아래 */
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--sub); font-weight: 500; }
.input, textarea.input {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid #c3cbd6; border-radius: var(--r); padding: 0 12px; height: 42px;
}
textarea.input { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,79,191,.12); }
.msg { font-size: 14px; color: var(--err); min-height: 22px; }

/* ── 소개 사이트 ── */
.gnb { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.gnb-in { height: 68px; display: flex; align-items: center; gap: 40px; }
.mark { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; color: var(--navy); }
.menu { display: flex; gap: 30px; flex: 1; }
.menu a { text-decoration: none; font-size: 16px; font-weight: 500; color: var(--ink); padding: 22px 0; border-bottom: 2px solid transparent; }
.menu a:hover { color: var(--blue); border-bottom-color: var(--blue); }

.hero { position: relative; background: var(--navy) center/cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,25,45,.86) 0%, rgba(10,25,45,.62) 38%, rgba(10,25,45,.08) 70%); }
.hero .wrap { position: relative; min-height: 500px; display: flex; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero-txt { max-width: 560px; }
.hero .brand { font-size: 17px; font-weight: 600; letter-spacing: .02em; opacity: .92; }
.hero h1 { margin-top: 12px; font-size: clamp(32px, 4.4vw, 48px); line-height: 1.22; letter-spacing: -0.03em; font-weight: 700; }
.hero .lead { margin-top: 18px; font-size: 18px; opacity: .92; }
.acts { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }

.block { padding: 76px 0; }
.block.gray { background: var(--fill); }
.title { font-size: 30px; letter-spacing: -0.02em; font-weight: 700; }
.title + .lead2 { margin-top: 10px; color: var(--sub); }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 3px; font-size: 13px; font-weight: 600; background: #e6ebf2; color: #44505f; }
.badge.on { background: #e3f3ea; color: var(--ok); }
.soft { margin-top: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-box); padding: 34px; }
.soft + .soft { margin-top: 20px; }
.soft h3 { margin-top: 14px; font-size: 26px; letter-spacing: -0.02em; font-weight: 700; }
.soft .desc { margin-top: 10px; color: var(--sub); max-width: 40em; }
.product { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 40px; align-items: start; }
.preview { background: var(--fill); border: 1px solid var(--line); border-radius: var(--r-box); padding: 12px; }
.preview video { display: block; width: 100%; height: auto; aspect-ratio: 888 / 440; background: #000; border-radius: 2px; }
.spec { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 15px; border-top: 2px solid var(--navy); }
.spec th, .spec td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 108px; font-weight: 600; background: var(--fill); white-space: nowrap; }

.steps { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-box); background: #fff; }
.steps li { list-style: none; padding: 28px 30px; }
.steps li + li { border-left: 1px solid var(--line); }
.steps b { display: block; font-size: 14px; color: var(--blue); font-weight: 700; letter-spacing: .04em; }
.steps strong { display: block; margin-top: 6px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.steps span { display: block; margin-top: 8px; color: var(--sub); font-size: 15px; }
ol.steps { padding: 0; }

.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.info { border-top: 2px solid var(--navy); }
.info div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.info dt { font-weight: 600; }
.info dd { margin: 0; color: var(--sub); }
dl { margin: 0; }
.foot { background: var(--navy); color: #b7c2d0; padding: 34px 0 40px; font-size: 13px; line-height: 1.9; }
.foot strong { color: #fff; font-size: 16px; font-weight: 700; display: block; margin-bottom: 8px; }
.foot a { text-decoration: none; }

/* ── 앱 ── */
body.app { background: var(--fill); }
.appbar { background: var(--navy); color: #fff; }
.appbar .top { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.appbar .mark { color: #fff; font-size: 18px; }
.appbar .mark small { font-weight: 500; font-size: 14px; opacity: .8; margin-left: 10px; letter-spacing: 0; }
.top nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.who { color: #c9d3e0; font-size: 14px; margin-right: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar .btn.text { color: #dfe6ef; }
.appbar .btn.text:hover { color: #fff; }

.page { padding: 26px 0 90px; min-height: calc(100dvh - 56px); }
.narrow { max-width: 420px; margin: 7dvh auto 0; display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-box); padding: 34px 32px 30px; }
.narrow h1 { font-size: 22px; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 6px; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-height: 40px; }
.head h1 { font-size: 22px; letter-spacing: -0.02em; font-weight: 700; }
.tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tab { appearance: none; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--sub); height: 42px; padding: 0 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }

.box { border: 1px solid var(--line); border-radius: var(--r-box); overflow: hidden; background: #fff; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; min-height: 58px; text-decoration: none; }
.row + .row { border-top: 1px solid var(--line); }
.row.th { min-height: 38px; padding-top: 0; padding-bottom: 0; background: var(--fill); font-size: 13px; font-weight: 600; color: var(--sub); }
a.row:hover { background: #f7f9fc; }
.row.sel { background: #eef3fc; }
.row .main { flex: 1; min-width: 0; }
.row .t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
button.t { appearance: none; border: 0; background: none; padding: 0; font: inherit; font-weight: 500; color: var(--blue); cursor: pointer; text-align: left; max-width: 100%; display: block; }
button.t:hover { text-decoration: underline; }
.row .s { color: var(--sub); font-size: 13.5px; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.row .acts { margin: 0; display: flex; gap: 4px; flex-shrink: 0; flex-wrap: nowrap; }
.state { font-size: 13px; font-weight: 600; white-space: nowrap; flex-shrink: 0; color: #44505f; background: #e6ebf2; height: 24px; padding: 0 9px; border-radius: 3px; display: inline-flex; align-items: center; }
.state.on { color: var(--blue); background: #e4ecfb; }
.empty { padding: 52px 20px; text-align: center; color: var(--sub); }
.empty .btn { margin-top: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 200px; gap: 12px; }
.stack { display: grid; gap: 14px; }

/* 패널: 제목 띠가 있는 묶음 */
.sec { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-box); overflow: hidden; }
.sec > h2 { font-size: 15px; font-weight: 700; padding: 11px 16px; background: var(--fill); border-bottom: 1px solid var(--line); }
.sec > .pad { padding: 16px; }
.sec > .pad.meta { font-size: 15px; }
.sec .box { border: 0; border-radius: 0; border-top: 1px solid var(--line); }
.sec .bottom { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; align-items: start; }
.cols > div > .sec:first-child, .side > .sec:first-child { margin-top: 0; }
.side { position: sticky; top: 16px; }
.player { background: #0b0f14; aspect-ratio: 16 / 9; display: grid; place-items: center; color: #9aa6b4; font-size: 14px; text-align: center; padding: 0; }
.player video { width: 100%; height: 100%; display: block; background: #000; }
.player p { padding: 0 20px; }
.pname { padding: 10px 16px; font-size: 14px; color: var(--sub); border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 16px; }
.pick.over { background: #eef3fc; }
.bar { height: 4px; border-radius: 2px; background: #e3e8ef; margin-top: 7px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); transition: transform .3s; }
.meta { color: var(--sub); font-size: 15px; display: grid; gap: 4px; }
.meta div { white-space: pre-wrap; }
.meta b { color: var(--ink); font-weight: 600; }
.bottom { margin-top: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bottom .gap { flex: 1; }
.code { font: 600 21px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; }
.skel { height: 58px; border-radius: var(--r-box); background: #e9edf2; }
.skel + .skel { margin-top: 10px; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .product, .contact { grid-template-columns: 1fr; gap: 26px; }
  .cols { grid-template-columns: 1fr; }
  .side { position: static; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .gnb-in { gap: 14px; height: 58px; }
  .menu { gap: 16px; overflow-x: auto; }
  .menu a { font-size: 14px; padding: 18px 0; white-space: nowrap; }
  .hero .wrap { min-height: 420px; }
  .hero::before { background: rgba(10,25,45,.72); }
  .block { padding: 52px 0; }
  .title { font-size: 25px; }
  .soft { padding: 22px 18px; }
  .soft h3 { font-size: 22px; }
  .spec th { width: 84px; }
  .grid2 { grid-template-columns: 1fr; }
  .who { display: none; }
  .row { flex-wrap: wrap; gap: 8px; }
  .row .acts { width: 100%; justify-content: flex-end; }
  .narrow { padding: 26px 20px; margin-top: 4dvh; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
