:root {
  --purple: #70258d;
  --purple-dark: #401252;
  --purple-light: #f5eff8;
  --ink: #17131a;
  --muted: #67616b;
  --line: #e7e0e9;
  --white: #fff;
  --max: 1160px;
  --shadow: 0 18px 60px rgba(49, 18, 62, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.7;
  word-break: keep-all;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: #111; color: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(112,37,141,.09);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 132px; height: auto; }
.site-nav { display: flex; gap: 30px; align-items: center; }
.site-nav a { text-decoration: none; font-size: .94rem; font-weight: 700; color: #403844; }
.site-nav a:hover, .site-nav a:focus { color: var(--purple); }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.hero { padding: 84px 0 72px; overflow: hidden; background: radial-gradient(circle at 80% 10%, #f2e9f7 0, transparent 37%); }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 14px; font-size: .78rem; letter-spacing: .16em; font-weight: 850; color: var(--purple); }
.hero h1 { margin: 0; font-size: clamp(2.65rem, 5.1vw, 5.2rem); line-height: 1.08; letter-spacing: -.055em; }
.hero h1 span { color: var(--purple); }
.hero-lead { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 800; }
.button.primary { color: #fff; background: var(--purple); box-shadow: 0 10px 30px rgba(112,37,141,.26); }
.button.primary:hover { background: var(--purple-dark); }
.button.secondary { border: 1px solid var(--line); background: #fff; }
.button.secondary:hover { border-color: var(--purple); color: var(--purple); }
.hero-visual { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: #fff; transform: rotate(1.2deg); }
.hero-visual::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.5); border-radius: inherit; pointer-events: none; }
.hero-visual img { width: 100%; aspect-ratio: 1.95 / 1; object-fit: cover; }

.section { padding: 104px 0; }
.section-tint { background: var(--purple-light); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.section-heading h2, .technology-copy h2, .platform-copy h2, .contact-section h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1.17; letter-spacing: -.045em; }
.section-heading.centered { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-heading.centered > p:last-child { color: var(--muted); }
.prose p { margin: 0 0 20px; color: #3e3841; font-size: 1.03rem; }
.prose .en-copy { margin-top: 34px; padding-left: 20px; border-left: 3px solid var(--purple); color: var(--muted); font-size: .92rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 260px; padding: 30px; border: 1px solid rgba(112,37,141,.13); border-radius: 22px; background: rgba(255,255,255,.78); box-shadow: 0 10px 36px rgba(62,29,73,.05); }
.card-number { font-size: .77rem; font-weight: 900; letter-spacing: .12em; color: var(--purple); }
.card h3 { margin: 52px 0 12px; font-size: 1.34rem; }
.card p { margin: 0; color: var(--muted); }

.technology-grid, .platform-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.platform-grid { margin-top: 110px; grid-template-columns: .9fr 1.1fr; }
.visual-card { padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.visual-card img { width: 100%; height: auto; border-radius: 12px; }
.visual-card.compact { padding: 30px; background: #faf8fb; }
.technology-copy p, .platform-copy p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; }
.check-list li { position: relative; padding: 11px 0 11px 32px; border-bottom: 1px solid var(--line); font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 900; }
.note { margin-top: 24px; font-size: .82rem; }

.contact-section { color: #fff; background: linear-gradient(135deg, #391044, #70258d 63%, #8a42a4); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.eyebrow.light { color: #e8c8f2; }
.contact-section p { color: rgba(255,255,255,.76); }
.contact-card { padding: 28px 32px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
dl > div:last-child { border-bottom: 0; }
dt { font-size: .76rem; letter-spacing: .1em; font-weight: 800; color: #e8c8f2; text-transform: uppercase; }
dd { margin: 0; }
dd a { font-weight: 800; }

.site-footer { background: #130b16; color: rgba(255,255,255,.67); }
.footer-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .83rem; }
.footer-inner div { display: flex; gap: 20px; }
.footer-inner a { text-decoration: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.legal-page { min-height: 100vh; background: #faf8fb; }
.legal-wrap { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 90px 0 120px; }
.legal-wrap h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0 0 30px; }
.legal-wrap h2 { margin-top: 42px; }
.legal-wrap p, .legal-wrap li { color: #504a53; }
.back-link { display: inline-block; margin-bottom: 44px; color: var(--purple); font-weight: 800; }

@media (max-width: 900px) {
  .hero-grid, .split, .technology-grid, .platform-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero { padding-top: 58px; }
  .hero-visual { transform: none; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card h3 { margin-top: 28px; }
  .platform-grid { margin-top: 80px; }
  .platform-copy { order: 2; }
  .visual-card.compact { order: 1; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 78px 0; }
  .header-inner { min-height: 68px; }
  .brand img { width: 112px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual img { aspect-ratio: 1.25 / 1; }
  .visual-card { padding: 10px; border-radius: 16px; }
  .visual-card.compact { padding: 15px; }
  dl > div { grid-template-columns: 1fr; gap: 5px; }
  .footer-inner { padding: 22px 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
