/* 색상 변수와 공통 요소 기본값 */
:root {
  --ink: #111;
  --blue: #1855ed;
  --line: #e4e4e2;
  --paper: #fff;
  --soft: #f7f7f5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", "Manrope", sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
.wrap {
  max-width: 1220px;
  margin: auto;
  padding: 105px 50px;
}
/* 상단 내비게이션, 공통 버튼, 제목 스타일 */
.site-header {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 4.5%;
  gap: 40px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fffffff2;
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.1em;
}
.brand img,
.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  object-position: center;
  background: transparent;
}
.site-header nav {
  display: flex;
  gap: 34px;
  margin: auto;
  font-size: 12px;
  font-weight: 700;
}
.site-header nav a:hover,
.under:hover,
footer nav a:hover {
  color: var(--blue);
}
.header-cta {
  background: var(--blue);
  color: #fff;
  padding: 14px 23px;
  font-size: 11px;
  font-weight: 800;
}
.header-cta b {
  margin-left: 10px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 24px;
}
.eyebrow {
  font: 10px "DM Mono";
  letter-spacing: 0.13em;
  color: #777;
}
/* 첫 화면과 노트북 일러스트 */
.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding-top: 80px;
}
.hero h1 {
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.1em;
  margin: 24px 0;
}
.hero em,
.section-title em,
.problem em {
  color: var(--blue);
  font-style: normal;
}
.lead {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.07em;
  color: #6a6a67;
}
.lead strong {
  color: var(--ink);
}
.actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  padding: 15px 22px;
  font-size: 11px;
  font-weight: 800;
}
.btn.blue {
  color: #fff;
  background: var(--blue);
}
.btn span {
  font-size: 16px;
}
.under {
  font-size: 11px;
  font-weight: 800;
}
.under span {
  margin-left: 12px;
  color: var(--blue);
}
.hero-device {
  height: 450px;
  position: relative;
}
.laptop {
  position: absolute;
  right: 2%;
  top: 34px;
  width: 88%;
  transform: rotate(-7deg);
  filter: drop-shadow(20px 25px 20px #0002);
}
.screen {
  height: 285px;
  background: #191919;
  border: 8px solid #292929;
  border-radius: 9px 9px 3px 3px;
  color: #fff;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.screen-nav {
  display: flex;
  justify-content: space-between;
  font: 7px "DM Mono";
  color: #aaa;
}
.screen-copy {
  position: absolute;
  left: 45px;
  bottom: 35px;
  font: 800 46px/1 "Manrope";
  letter-spacing: -0.09em;
}
.screen-copy i {
  color: var(--blue);
  font-style: normal;
}
.screen-copy span {
  color: var(--blue);
}
.screen-circle {
  position: absolute;
  right: 50px;
  top: 60px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.8;
}
.keyboard {
  height: 18px;
  background: linear-gradient(#777, #ddd);
  clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
  border-radius: 0 0 5px 5px;
}
.hero-square {
  position: absolute;
  right: 0;
  top: 0;
  width: 95px;
  height: 95px;
  background: var(--blue);
}
.device-shadow {
  position: absolute;
  bottom: 30px;
  left: 5%;
  width: 90%;
  height: 30px;
  background: #0002;
  filter: blur(20px);
}
/* 서비스·문제 제기·포트폴리오 영역 */
.section-title {
  display: flex;
  align-items: start;
  gap: 20px;
  margin-bottom: 55px;
}
.section-title > span {
  font: 11px "DM Mono";
  color: #777;
  margin-top: 10px;
}
.section-title h2 {
  margin: 0;
  font-size: 41px;
  line-height: 1.1;
  letter-spacing: -0.1em;
}
.why {
  border-top: 1px solid var(--line);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 75px;
}
.why-grid article {
  min-height: 180px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
}
.why-grid i {
  font-style: normal;
  font-size: 25px;
}
.why-grid b {
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -0.06em;
}
.why-grid p {
  grid-column: 2;
  margin: 10px 0 0;
  color: #888;
  font-size: 11px;
  line-height: 1.6;
}
.problem {
  background: var(--soft);
  max-width: none;
  padding-left: max(50px, calc((100vw - 1120px) / 2));
  padding-right: max(50px, calc((100vw - 1120px) / 2));
  text-align: center;
}
.problem h2 {
  font-size: 54px;
  line-height: 1.2;
  letter-spacing: -0.1em;
  margin: 26px 0 50px;
}
.process-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}
.process-compare article {
  padding: 30px 38px;
  background: #fff;
  border: 1px solid #e5e5e3;
}
.process-compare article > p {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.process-compare ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-compare li {
  position: relative;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.process-compare li + li:before {
  content: "↓";
  display: block;
  position: absolute;
  top: -9px;
  left: 0;
  color: #aaa;
  font-size: 12px;
  font-weight: 400;
}
.process-compare small {
  display: block;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #e8e8e6;
  color: #888;
  font-size: 11px;
}
.standard-process {
  color: #777;
}
.standard-process li {
  padding-left: 18px;
}
.standard-process li:after {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8b8b5;
}
.gijeom-process {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff;
}
.gijeom-process li + li:before {
  color: #b9caff;
}
.gijeom-process small {
  border-color: #ffffff42;
  color: #d6e0ff;
}
.portfolio {
  padding-bottom: 120px;
}
.portfolio-statement {
  margin: -8px 0 35px;
  color: #555;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: -0.04em;
}
.demo-project-link {
  position: relative;
  display: block;
  height: 340px;
  overflow: hidden;
  color: #fff;
}
.demo-project-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(0.68);
  transition: transform 0.7s, filter 0.5s;
}
.demo-project-link:hover img {
  transform: scale(1.035);
  filter: saturate(0.9);
}
.demo-project-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #050505b5, #05050520 72%);
}
.demo-project-copy {
  position: absolute;
  left: 40px;
  bottom: 37px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.demo-project-copy small {
  font: 10px "DM Mono";
  letter-spacing: 0.08em;
}
.demo-project-copy b {
  font-size: 23px;
  letter-spacing: -0.07em;
}
.demo-project-copy em {
  margin-top: 5px;
  padding-bottom: 4px;
  border-bottom: 1px solid #fff;
  font-size: 11px;
  font-style: normal;
}
.demo-project-copy i {
  margin-left: 20px;
  font-style: normal;
}
/* 진행 과정, 가격, 문의, 푸터 및 스크롤 등장 효과 */
.process {
  padding-bottom: 85px;
}
.process-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.process-track > div {
  position: relative;
  text-align: center;
}
.process-track i {
  display: flex;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border: 1px solid #ddd;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-style: normal;
  box-shadow: 0 5px 15px #0000000c;
}
.process-track b {
  font-size: 12px;
  line-height: 1.6;
}
.process-track small {
  display: block;
  margin-top: 12px;
  color: #888;
  font-size: 10px;
  line-height: 1.5;
}
.process-track .arrow {
  position: absolute;
  right: -18px;
  top: 25px;
  color: #aaa;
}
.pricing {
  background: var(--soft);
  max-width: none;
  padding-left: max(50px, calc((100vw - 960px) / 2));
  padding-right: max(50px, calc((100vw - 960px) / 2));
}
.pricing .section-title {
  justify-content: center;
}
.pricing .section-title > span {
  display: none;
}
.pricing .section-title h2 {
  text-align: center;
}
.price-card {
  background: #fff;
  border: 1px solid #eee;
  text-align: center;
  padding: 30px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 50px;
}
.price-card > small:first-child,
.price-card > strong,
.price-card > small:last-child {
  grid-column: 1/-1;
}
.price-card small {
  font: 10px "DM Mono";
  color: #777;
}
.price-card strong {
  font: 700 38px "Manrope";
  color: var(--blue);
}
.price-card strong span {
  font-size: 20px;
}
.price-card div {
  text-align: left;
  border-top: 1px solid #eee;
  padding-top: 15px;
  font-size: 11px;
  line-height: 1.7;
}
.price-card p {
  margin: 4px 0;
}
.contact {
  background: #060606;
  color: #fff;
  text-align: center;
  padding: 130px 20px;
}
.contact h2 {
  font-size: 55px;
  line-height: 1.2;
  letter-spacing: -0.1em;
  margin: 25px 0 20px;
}
.contact p:not(.eyebrow) {
  color: #999;
  font-size: 13px;
}
.contact .btn {
  margin-top: 20px;
}
.contact-benefits {
  display: flex;
  justify-content: center;
  gap: 90px;
  margin-top: 80px;
}
.contact-benefits span {
  font-size: 25px;
}
.contact-benefits b {
  display: block;
  font-size: 10px;
  font-weight: 500;
  margin-top: 10px;
  color: #bbb;
}
footer {
  padding: 45px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  border-top: 1px solid #222;
}
.footer-brand {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
}
.footer-brand img {
  grid-row: 1/3;
}
.footer-brand small {
  grid-column: 2;
  color: #888;
  font-size: 10px;
  line-height: 1.5;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px;
}
footer > p {
  color: #999;
  font: 10px "DM Mono";
  text-align: right;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* 화면 폭 800px 이하에서 적용하는 모바일 레이아웃 */
@media (max-width: 800px) {
  .site-header {
    height: 68px;
    padding: 0 6vw;
  }
  .site-header nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .site-header nav.mobile-open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px 7vw;
    flex-direction: column;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .wrap {
    padding: 75px 7vw;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
    gap: 35px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .hero-device {
    height: 310px;
  }
  .screen {
    height: 205px;
  }
  .screen-copy {
    font-size: 34px;
    left: 28px;
    bottom: 25px;
  }
  .screen-circle {
    width: 100px;
    height: 100px;
  }
  .hero-square {
    width: 65px;
    height: 65px;
  }
  .why-grid,
  .process-compare {
    grid-template-columns: 1fr;
  }
  .section-title {
    margin-bottom: 35px;
  }
  .section-title h2 {
    font-size: 34px;
  }
  .problem {
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .problem h2 {
    font-size: 40px;
  }
  .process-compare {
    gap: 10px;
  }
  .process-compare article {
    padding: 27px 25px;
  }
  .portfolio-statement {
    margin: -13px 0 27px;
    font-size: 14px;
  }
  .demo-project-link {
    height: 290px;
  }
  .demo-project-copy {
    left: 23px;
    bottom: 24px;
  }
  .demo-project-copy b {
    font-size: 19px;
  }
  .process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 10px;
  }
  .process-track .arrow {
    display: none;
  }
  .price-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .price-card > div {
    grid-column: 1/-1;
  }
  .contact h2 {
    font-size: 44px;
  }
  .contact-benefits {
    gap: 18px;
  }
  .contact-benefits span {
    font-size: 19px;
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
  footer > p {
    text-align: left;
    grid-column: 1/-1;
  }
}

/* 프로젝트 문의용 프리미엄 브리프 모달 */
.inquiry-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}
.inquiry-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.inquiry-backdrop {
  position: absolute;
  inset: 0;
  background: #050505d9;
}
.inquiry-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #0b0b0b;
  color: #fff;
  border: 1px solid #333;
  padding: 52px 56px;
  transform: translateY(12px);
  transition: 0.2s;
}
.inquiry-modal.is-open .inquiry-dialog {
  transform: none;
}
.inquiry-close {
  position: absolute;
  right: 18px;
  top: 14px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #fff;
  font: 32px/1 Arial;
  cursor: pointer;
}
.inquiry-heading h2 {
  margin: 13px 0 26px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.1em;
}
.inquiry-heading em,
.inquiry-complete em {
  color: #4d75ff;
  font-style: normal;
}
.inquiry-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  font: 11px "DM Mono";
  color: #bbb;
}
.progress-track {
  height: 3px;
  flex: 1;
  background: #333;
}
.progress-track i {
  display: block;
  width: 33.333%;
  height: 100%;
  background: #2457f5;
  transition: 0.2s;
}
.inquiry-step {
  padding-top: 32px;
}
.inquiry-step fieldset {
  border: 0;
  margin: 0 0 30px;
  padding: 0;
}
.inquiry-step legend {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.service-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.service-card,
.choice {
  position: relative;
  border: 1px solid #3a3a3a;
  padding: 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: 0.15s;
}
.service-card span {
  display: block;
  margin-bottom: 13px;
  font: 10px "DM Mono";
  color: #899eff;
}
.service-card input,
.choice input {
  position: absolute;
  opacity: 0;
}
.service-card:has(input:checked),
.choice:has(input:checked) {
  border-color: #2457f5;
  background: #17204a;
}
.choice-row,
.budget-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.website-field {
  margin: -9px 0 30px;
}
.inquiry-dialog label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}
.inquiry-dialog label small,
.field-note {
  font-size: 11px;
  color: #999;
  font-weight: 500;
}
.inquiry-dialog input:not([type="radio"]),
.inquiry-dialog textarea {
  width: 100%;
  border: 1px solid #3a3a3a;
  border-radius: 0;
  background: #141414;
  color: #fff;
  padding: 13px;
  font:
    14px "Noto Sans KR",
    sans-serif;
  outline: 0;
}
.inquiry-dialog textarea {
  resize: vertical;
  min-height: 120px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  margin-bottom: 8px;
}
.field-note {
  margin: 0 0 28px;
}
.inquiry-dialog b {
  color: #7993ff;
}
.inquiry-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  border-top: 1px solid #2d2d2d;
  padding-top: 20px;
}
.inquiry-actions .btn {
  margin-left: auto;
  border: 0;
  cursor: pointer;
}
.inquiry-actions .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}
.inquiry-actions .under {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.form-error {
  min-height: 18px;
  margin: 18px 0 -12px;
  color: #9eb0ff;
  font-size: 12px;
}
.inquiry-complete {
  text-align: center;
  padding: 50px 0 20px;
}
.inquiry-complete h3 {
  margin: 15px 0;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.1em;
}
.inquiry-complete > p:not(.eyebrow) {
  color: #aaa;
  font-size: 13px;
}
.inquiry-complete .btn {
  border: 0;
  margin-top: 20px;
  cursor: pointer;
}
.inquiry-dialog button:focus-visible,
.inquiry-dialog input:focus-visible,
.inquiry-dialog textarea:focus-visible,
.service-card:has(input:focus-visible),
.choice:has(input:focus-visible) {
  outline: 2px solid #86a0ff;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .inquiry-modal {
    padding: 0;
  }
  .inquiry-dialog {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    padding: 44px 22px 30px;
    border: 0;
  }
  .service-options,
  .form-grid,
  .choice-row,
  .budget-options {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 13px;
  }
  .service-card span {
    display: inline;
    margin: 0 10px 0 0;
  }
  .inquiry-heading h2 {
    font-size: 38px;
  }
  .inquiry-complete h3 {
    font-size: 37px;
  }
}
