@import url('./fonts.css');

:root { color-scheme: dark; --surface: #0d0e11; --title: #f1f1f4; --body: #c2c4d1; --muted: #a7a8b5; --border: #34353e; --accent: #c3bfff; --width: 1120px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--surface); color: var(--body); font-family: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; font-size: 16px; line-height: 27px; word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { color: var(--title); }
h1 { font-size: 68px; line-height: 83px; letter-spacing: -2.38px; font-weight: 700; }
h2 { font-size: 30px; line-height: 40px; font-weight: 700; }
h3 { font-size: 21px; line-height: 30px; font-weight: 600; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--title); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
img { display: block; max-width: 100%; }
.container { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; background: #dcddfc; color: #202034; padding: 10px 20px; }
.skip-link:focus { top: 12px; }
.header { border-bottom: 1px solid #282930; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 79px; }
.brand { font-size: 21px; font-weight: 700; line-height: 30px; color: var(--title); text-decoration: none; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.nav a:hover { color: var(--accent); }
.menu-toggle { display: none; border: 1px solid var(--border); border-radius: 7px; padding: 6px 12px; color: var(--body); background: transparent; }
.hero { padding-block: 76px 56px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-label { color: var(--accent); font-size: 15px; line-height: 18px; font-weight: 600; letter-spacing: .3px; }
.hero-description { max-width: 690px; font-size: 20px; line-height: 31px; }
.actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { padding: 10px 20px; color: #202034; background: #dcddfc; border-radius: 7px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.button:hover { color: #202034; background: #eeeefe; }
.button:active { transform: scale(.98); }
.text-link { font-weight: 600; }
.preview { margin-top: 42px; border: 1px solid #3b3c48; border-radius: 12px; overflow: hidden; }
.preview-toolbar { background: #1a1b23; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 26px; }
.preview-toolbar strong { color: #ececf5; font-size: 15px; line-height: 23px; font-weight: 600; }
.preview-toolbar span { color: #b6b5c5; font-size: 13px; line-height: 20px; }
.preview-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.preview-sidebar { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 27px 23px; background: #14151a; color: #abacb8; font-size: 15px; line-height: 23px; }
.preview-sidebar .workspace { color: #8e90a1; font-size: 13px; line-height: 20px; font-weight: 600; }
.preview-sidebar strong { color: #d6d0ff; font-size: 17px; line-height: 26px; }
.preview-content { padding: 24px 32px; background: #191a20; min-width: 0; }
.preview-content h2 { font-size: 30px; line-height: 45px; color: #f5f5f7; }
.preview-status { color: #beb7eb; font-size: 15px; line-height: 23px; font-weight: 600; margin-block: 14px; }
.table-scroll { overflow-x: auto; border-radius: 7px; }
.project-table { border-collapse: collapse; width: 100%; min-width: 700px; font-size: 14px; line-height: 23px; color: #bcbdca; text-align: left; }
.project-table th { background: #24252d; font-weight: 400; color: #a7a8b6; }
.project-table td, .project-table th { padding: 10px 18px; border-bottom: 1px solid #2a2b34; white-space: nowrap; }
.project-table td { background: #1b1c23; }
.project-table td:first-child { color: #f0f0f2; font-size: 15px; }
.project-table .complete { color: #b6d6c3; }
.project-table .waiting { color: #f0c796; }
.section { padding-block: 64px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.section-heading { padding-bottom: 32px; border-bottom: 2px solid var(--border); align-items: end; }
.label { font-size: 13px; line-height: 18px; letter-spacing: .26px; color: var(--muted); font-weight: 600; }
.section-heading h2 { margin-top: 8px; }
.feature { padding-block: 26px; margin-block: 32px; align-items: center; }
.feature-copy { display: flex; align-items: flex-start; flex-direction: column; gap: 16px; }
.feature-copy > p { max-width: 460px; }
.label-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.badge { border: 1px solid var(--border); border-radius: 999px; padding: 4px 16px; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.development-image { width: 100%; height: 244px; object-fit: contain; border: 1px solid var(--border); border-radius: 2px; }
figcaption { margin-top: 8px; }
.capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.capability { padding: 32px; background: #17181d; border: 1px solid #2f3038; border-radius: 12px; display: flex; flex-direction: column; gap: 16px; }
.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #111216; margin-top: 8px; border-radius: 2px; }
.workflow > div { padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.workflow strong { font-size: 30px; line-height: 40px; color: var(--title); }
.workflow .small { color: var(--muted); font-size: 14px; line-height: 22px; }
.development-status { padding-top: 18px; }
.development-status p { margin-top: 8px; }
.domain-note { margin-top: 32px; }
.section-copy { display: flex; align-items: flex-start; flex-direction: column; gap: 16px; }
.prose p + p { margin-top: 27px; }
.consultation { padding-block: 76px; background: #171820; }
.consultation .section-copy > p { max-width: 460px; }
.consultation-list { list-style: none; padding: 0; margin: 0; }
.consultation-list li { border-top: 1px solid var(--border); padding-block: 16px; font-weight: 600; }
.consultation-list li:last-child { border-bottom: 1px solid var(--border); color: var(--muted); font-size: 14px; line-height: 22px; }
.catalog { color-scheme: light; --surface: #fff; --title: #1b1f23; --body: #4b5563; --muted: #8f3a14; --border: #e8ddd6; --accent: #1f2a44; }
.catalog .header { border-bottom-color: var(--border); }
.catalog .header-inner { min-height: 74px; }
.catalog .brand { color: var(--title); }
.catalog .text-link { color: #1f2a44; }
.catalog-main { padding-block: 64px; }
.catalog .section-heading { border-bottom-color: #1f2a44; }
.catalog .section-heading h1 { font-size: 30px; line-height: 40px; letter-spacing: 0; margin-top: 8px; }
.product-heading { margin-block: 32px; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.product { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.product-image { width: 100%; height: 304px; border: 1px solid #1f2a44; border-radius: 2px; object-fit: contain; background: white; }
.products-development { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.products-development .product-image { height: 230px; }
.single-gacha { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 26px; margin-top: 32px; }
.single-gacha .product-image { height: 150px; }
.single-gacha .prose { color: var(--title); }
.catalog-return { display: inline-block; margin-top: 32px; }

@media (min-width: 1280px) { .container { width: min(var(--width), calc(100% - 160px)); } }
@media (max-width: 1023px) {
  .nav { gap: 20px; font-size: 14px; }
  .two-col { gap: 32px; }
  h1 { font-size: 56px; line-height: 1.25; letter-spacing: -1.9px; }
  .hero-description { max-width: 690px; }
  .preview-layout { grid-template-columns: 150px minmax(0, 1fr); }
  .preview-sidebar { padding-inline: 18px; }
  .preview-content { padding-inline: 24px; }
  .capability { padding: 24px; }
  .workflow > div { padding: 12px; }
  .workflow strong { font-size: 26px; }
  .workflow .small { font-size: 13px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; position: relative; flex-wrap: wrap; gap: 0; }
  .menu-toggle { display: block; }
  .nav { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 20px; font-size: 16px; }
  .nav[data-collapsible='true'] { display: none; }
  .nav[data-collapsible='true'].is-open { display: flex; }
  .nav a { padding-block: 6px; }
  h1 { font-size: clamp(36px, 7.4vw, 52px); line-height: 1.3; letter-spacing: -1.2px; }
  h2 { font-size: 26px; line-height: 36px; }
  h3 { font-size: 20px; }
  .hero { padding-block: 48px; }
  .hero-label { font-size: 14px; }
  .hero-description { font-size: 18px; line-height: 29px; }
  .actions { gap: 20px; }
  .preview-toolbar { align-items: flex-start; flex-direction: column; padding: 14px 18px; gap: 4px; }
  .preview-layout { display: block; }
  .preview-sidebar { display: none; }
  .preview-content { padding: 20px 18px; }
  .preview-content h2 { font-size: 25px; }
  .section { padding-block: 44px; }
  .two-col, .capabilities { grid-template-columns: 1fr; gap: 28px; }
  .section-heading { align-items: start; }
  .feature { padding-block: 12px; margin-block: 28px; }
  .development-image { height: auto; aspect-ratio: 528 / 244; }
  .workflow strong { font-size: 25px; line-height: 36px; }
  .workflow .label, .workflow .small { font-size: 12px; }
  .workflow > div { padding: 10px; }
  .domain-note { line-height: 23px; }
  .consultation { padding-block: 44px; }
  .catalog-main { padding-block: 40px; }
  .catalog .header-inner { flex-wrap: nowrap; }
  .catalog .header-inner .text-link { font-size: 14px; }
  .products, .products-development { grid-template-columns: 1fr; gap: 36px; }
  .product-image { height: 304px; }
  .products-development .product-image { height: 230px; }
  .single-gacha { grid-template-columns: 1fr; }
  .single-gacha > .product { max-width: 320px; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
