/* Aiocia — shared styles */
:root {
  color-scheme: light;
  --ink: #0f1115;
  --muted: #5f6368;
  --soft-ink: #33363b;
  --line: #e6e7eb;
  --soft: #f7f8fa;
  --soft-2: #f1f2f5;
  --accent: #3f3dc3;
  --accent-ink: #2b2a8c;
  --max: 1080px;
  --max-text: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.container-text {
  width: min(var(--max-text), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), #6a68e0);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 8px;
}
.nav-links a {
  color: var(--soft-ink);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }

.nav-cta { margin-left: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.04s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  background:
    radial-gradient(900px 360px at 50% -120px, rgba(63, 61, 195, 0.10), transparent 70%);
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(63, 61, 195, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 720;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero .lead {
  margin: 22px auto 0;
  max-width: 56ch;
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--soft-ink);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-tight { padding: 44px 0; }

.section-head { max-width: 60ch; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

h2.section-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-sub { margin: 0; color: var(--muted); font-size: 18px; }

.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  background: #fff;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  box-shadow: 0 10px 30px rgba(15, 17, 21, 0.06);
  transform: translateY(-2px);
  border-color: #d9dbe2;
}
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--soft-ink); font-size: 15.5px; }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--soft-2);
  display: grid; place-items: center;
  font-size: 22px; margin-bottom: 16px;
}

/* ---------- Product feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.feature .media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
  aspect-ratio: 4 / 3;
}
.feature .media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.feature .pill {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
.feature h3 { margin: 0 0 14px; font-size: clamp(24px, 3.4vw, 30px); letter-spacing: -0.02em; }
.feature p { color: var(--soft-ink); font-size: 17px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: clamp(30px, 5vw, 44px); font-weight: 750; letter-spacing: -0.02em; color: var(--ink); }
.stat .label { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; }
.partners img { height: 46px; width: auto; opacity: 0.85; filter: grayscale(0.1); }

/* ---------- Soft band ---------- */
.band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-accent {
  background: linear-gradient(135deg, #f3f3fb, #eef0fc);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Article / prose ---------- */
.article { padding: 72px 0; }
.article h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; }
.article .meta { color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.prose { font-size: 17.5px; color: var(--soft-ink); }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin: 40px 0 12px; color: var(--ink); }
.prose h3 { font-size: 20px; margin: 30px 0 8px; color: var(--ink); }
.prose p { margin: 0 0 18px; }
.prose ul { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--ink); }

/* ---------- Info table (corporate) ---------- */
.info-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.info-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row .label { color: var(--muted); font-size: 14px; font-weight: 600; }
.info-row .value { color: var(--ink); font-size: 16px; overflow-wrap: break-word; word-break: keep-all; }

/* ---------- Blog list ---------- */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-item:first-child { border-top: 1px solid var(--line); }
.post-item h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.01em; }
.post-item h3 a { color: var(--ink); }
.post-item .meta { color: var(--muted); font-size: 14px; }
.post-item p { margin: 8px 0 0; color: var(--soft-ink); }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 80px 0; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; margin: 0 0 14px; }
.cta p { color: var(--soft-ink); font-size: 18px; max-width: 52ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
  padding: 56px 0 40px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: var(--ink); font-size: 14px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--soft-ink); }
.footer-brand p { margin: 12px 0 0; max-width: 38ch; color: var(--muted); }
.footer-legal {
  display: flex; justify-content: space-between; gap: 20px;
  padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 64px 0 48px; }
  section { padding: 48px 0; }
}
