@import url("https://cdn.jsdelivr.net/gh/sunn-us/SUIT/fonts/variable/woff2/SUIT-Variable.css");

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --primary: #0071e3;
  --primary-strong: #005bb5;
  --accent: #34c759;
  --dark-surface: #111216;
  --dark-text: #f5f5f7;
  --header-h: 44px;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 12px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "SUIT Variable", "Noto Sans KR",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(110% 68% at 50% -8%, #e4f0ff 0%, rgba(228, 240, 255, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 62%, #edf4fb 100%);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 2.4rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.6rem 1rem;
  background: #000;
  color: #fff;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.section {
  padding: 4.4rem 0;
}

.section-soft {
  background: linear-gradient(180deg, #fff 0%, #f7f7f9 100%);
  border-top: 1px solid rgba(29, 29, 31, 0.05);
  border-bottom: 1px solid rgba(29, 29, 31, 0.05);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 0.6rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 109, 181, 0.14);
  color: var(--primary-strong);
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(250, 250, 252, 0.82);
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  width: min(1024px, calc(100% - 1rem));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  font-size: 0.74rem;
}

.brand-mark {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.62rem;
  background: linear-gradient(145deg, #2e7ec8 0%, #0f6db5 100%);
}

.brand-text {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.main-nav a {
  text-decoration: none;
  color: rgba(29, 29, 31, 0.82);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: -0.01em;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 0.38rem 0.76rem;
  border-radius: 999px;
  font-size: 0.72rem;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.48rem;
  gap: 0.24rem;
  flex-direction: column;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 3px;
  background: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(2.2rem, 4.5vw, 4.7rem);
  color: var(--text);
  background:
    radial-gradient(120% 120% at 50% -15%, #ffffff 0%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  text-align: center;
  animation: rise-in 700ms ease both;
}

.hero-copy h1 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy > p {
  color: var(--muted);
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
  justify-content: center;
}

.hero-preview {
  margin: 1.15rem auto 0;
  max-width: 960px;
  border: 1px solid #dfe4ed;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f6f9 0%, #e4e9f1 100%);
  position: relative;
}

.hero-preview.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #f2f4f8 25%, #e6ebf2 37%, #f2f4f8 63%);
  background-size: 220% 100%;
  animation: skeleton-shift 1.15s linear infinite;
  z-index: 1;
}

.hero-preview.is-ready::before,
.hero-preview.is-error::before {
  display: none;
}

.hero-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

.hero-preview figcaption {
  padding: 0.58rem 0.75rem;
  font-size: 0.84rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #e0e4ec;
  position: relative;
  z-index: 3;
}

.meta-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.meta-list li {
  font-size: 0.88rem;
  color: var(--text);
  background: #f2f2f4;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.hero-panel {
  padding: 1.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  animation: rise-in 850ms ease both;
}

.hero-panel dl {
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
}

.hero-panel div {
  background: #fff;
  border: 1px solid #e6e6eb;
  border-radius: var(--radius-sm);
  padding: 0.8rem;
}

.hero-panel dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
}

.section-dark {
  background:
    radial-gradient(110% 120% at 50% -20%, #27456f 0%, rgba(39, 69, 111, 0) 52%),
    linear-gradient(180deg, #15171c 0%, #07090d 100%);
  color: var(--dark-text);
}

.section-dark .section-head {
  max-width: 880px;
}

.section-dark h2,
.section-dark h3 {
  color: var(--dark-text);
}

.section-dark p {
  color: rgba(245, 245, 247, 0.84);
}

.section-dark .eyebrow {
  background: rgba(41, 151, 255, 0.24);
  color: #93ceff;
}

.section-dark .btn-primary {
  background: linear-gradient(180deg, #2997ff 0%, #0071e3 100%);
}

.section-dark .btn-ghost {
  border-color: #2997ff;
  color: #2997ff;
  background: transparent;
}

.stats {
  padding-top: 0.9rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.stats-grid article {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  padding: 1.15rem;
}

.stats-grid h2 {
  color: var(--primary);
}

.improvement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.improvement-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.improvement-grid p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  min-height: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #c9c9cf;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.09);
}

.card p {
  color: var(--muted);
  margin-top: 0.4rem;
}

.business-cards .card {
  background: linear-gradient(180deg, #fff 0%, #fafafd 100%);
  position: relative;
  overflow: hidden;
}

.business-cards .card::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.business-cards .card h3 {
  margin-top: 0.35rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.timeline li {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.timeline li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.timeline p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-grid > article,
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.contact-list {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
}

.contact-list li + li {
  margin-top: 0.5rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  padding: 0.66rem 0.7rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible,
.main-nav a:focus-visible {
  outline: 3px solid #46a5ff;
  outline-offset: 2px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.68rem 1.08rem;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, #0580ff 0%, var(--primary) 100%);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #006edb 0%, #005dc1 100%);
}

.btn-ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}

.form-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid #d2d2d7;
  background: #f5f5f7;
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.94rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: absolute;
    right: 1.2rem;
    top: calc(100% - 4px);
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    padding: 0.8rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    transform-origin: top right;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 3.8rem 0;
  }

  .stats-grid,
  .improvement-grid,
  .cards,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.menu-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.link-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  max-height: 420px;
  overflow: auto;
}

.link-list li + li {
  margin-top: 0.45rem;
}

.data-toolbar {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
}

.result-line {
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.visual-toolbar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
}

.visual-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.visual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  min-height: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  position: relative;
}

.visual-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #f2f2f5 0%, #e7e7ec 45%, #f2f2f5 100%);
}

.visual-card.is-loading::before {
  content: "이미지 로딩 중";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: calc(100% - 74px);
  display: grid;
  place-items: center;
  color: #6e6e73;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  background: linear-gradient(110deg, #f0f3f6 25%, #e5eaef 37%, #f0f3f6 63%);
  background-size: 200% 100%;
  animation: skeleton-shift 1.2s linear infinite;
  z-index: 1;
}

.visual-card.is-ready::before,
.visual-card.is-error::before,
.visual-card.visual-skeleton::before {
  display: none;
}

.visual-skeleton .visual-skeleton-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(110deg, #f0f3f6 25%, #e5eaef 37%, #f0f3f6 63%);
  background-size: 200% 100%;
  animation: skeleton-shift 1.2s linear infinite;
  border-bottom: 1px solid var(--line);
}

.visual-skeleton h3 {
  color: var(--muted);
}

.visual-meta {
  padding: 0.65rem 0.7rem 0.8rem;
  background: #fff;
  position: relative;
  z-index: 2;
}

.visual-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  background: #e8f3ff;
  color: var(--primary-strong);
  font-size: 0.75rem;
  font-weight: 700;
}

.visual-meta h3 {
  margin-top: 0.38rem;
  font-size: 0.94rem;
}

.product-cards {
  margin-top: 0.9rem;
}

.product-card {
  display: grid;
  gap: 0.5rem;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #e4e4ea;
  background: linear-gradient(120deg, #f2f2f5 0%, #e7e7ec 45%, #f2f2f5 100%);
}

img.media-pending {
  opacity: 0.55;
  filter: saturate(0.85);
}

img.media-ready {
  opacity: 1;
  filter: none;
  transition: opacity 240ms ease;
}

img.media-error {
  opacity: 1;
  filter: none;
  background: #ebebf0;
}

.hero-preview img.media-pending {
  opacity: 0;
}

.product-card .sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-meta {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.mini-meta li + li {
  margin-top: 0.22rem;
}

.inline-link {
  font-size: 0.9rem;
  font-weight: 700;
}

.page-card .eyebrow {
  margin-bottom: 0.45rem;
}

.load-wrap {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
}

.product-actions {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.product-actions .btn {
  padding: 0.46rem 0.72rem;
  font-size: 0.86rem;
}

.product-actions .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.detail-modal {
  width: min(980px, 94vw);
  max-height: 88vh;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  box-shadow: var(--shadow);
}

.detail-modal::backdrop {
  background: rgba(9, 18, 34, 0.58);
}

.detail-shell {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.detail-head {
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
  align-items: center;
}

.detail-head h2 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.detail-meta span {
  background: #e9f3ff;
  border-radius: 999px;
  padding: 0.24rem 0.56rem;
  color: var(--primary-strong);
  font-size: 0.84rem;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #f6f9ff;
}

.detail-gallery p {
  margin: 0;
  color: var(--muted);
}

.detail-attachments,
.detail-body {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  background: #fff;
}

.detail-attachments h3,
.detail-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.detail-attachments p {
  margin: 0.2rem 0;
}

.detail-body-text {
  font-size: 0.93rem;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
}

.detail-link {
  margin: 0;
}

@keyframes skeleton-shift {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

@media (max-width: 980px) {
  .menu-columns {
    grid-template-columns: 1fr;
  }

  .data-toolbar {
    grid-template-columns: 1fr;
  }

  .visual-toolbar {
    grid-template-columns: 1fr;
  }

  .visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-text {
    display: none;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }
}
