@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

:root {
  --lavender: #c8a2cb;
  --lavender-dark: #86618b;
  --lavender-deep: #5f4564;
  --lavender-light: #f4edf5;
  --ink: #27212a;
  --muted: #766e78;
  --line: #e8e0e9;
  --white: #ffffff;
  --background: #fcfafc;
  --shadow: 0 18px 50px rgba(95, 69, 100, 0.10);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(252, 250, 252, 0.88);
  border-bottom: 1px solid rgba(232, 224, 233, 0.8);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--lavender);
  font-size: 1.4rem;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--lavender-dark);
}

.hero {
  overflow: hidden;
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 45%, rgba(200, 162, 203, 0.22), transparent 32%),
    linear-gradient(180deg, #fcfafc 0%, #f8f1f9 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 162, 203, 0.28);
  pointer-events: none;
}

.hero::before {
  width: 480px;
  height: 480px;
  right: -160px;
  top: -100px;
}

.hero::after {
  width: 300px;
  height: 300px;
  right: 40px;
  bottom: -180px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lavender-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: -0.07em;
}

h1 span {
  color: var(--lavender-dark);
}

.hero-text {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--lavender-dark);
  box-shadow: 0 10px 24px rgba(134, 97, 139, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.cat-card {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.cat-glow {
  position: absolute;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  background: rgba(200, 162, 203, 0.22);
  filter: blur(2px);
}

.cat {
  position: relative;
  width: 230px;
  height: 200px;
  margin-top: -25px;
  border-radius: 48% 48% 44% 44%;
  background: #c8a2cb;
  box-shadow: 0 28px 50px rgba(95, 69, 100, 0.18);
}

.ear {
  position: absolute;
  top: -45px;
  width: 92px;
  height: 105px;
  background: #c8a2cb;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.ear.left {
  left: 8px;
  transform: rotate(-10deg);
}

.ear.right {
  right: 8px;
  transform: rotate(10deg);
}

.face {
  position: absolute;
  inset: 22px 25px 18px;
  border-radius: 48%;
  background: #d8b9da;
}

.eye {
  position: absolute;
  top: 70px;
  width: 14px;
  height: 18px;
  border-radius: 50%;
  background: var(--lavender-deep);
}

.left-eye {
  left: 55px;
}

.right-eye {
  right: 55px;
}

.nose {
  position: absolute;
  left: 50%;
  top: 98px;
  width: 10px;
  height: 8px;
  border-radius: 50% 50% 55% 55%;
  background: #86618b;
  transform: translateX(-50%);
}

.mouth {
  position: absolute;
  top: 104px;
  width: 12px;
  height: 8px;
  border-bottom: 2px solid #86618b;
  border-radius: 50%;
}

.left-mouth {
  left: calc(50% - 12px);
  transform: rotate(12deg);
}

.right-mouth {
  left: 50%;
  transform: rotate(-12deg);
}

.whisker {
  position: absolute;
  width: 64px;
  height: 1px;
  background: rgba(95, 69, 100, 0.55);
}

.w1 { left: -50px; top: 90px; transform: rotate(10deg); }
.w2 { left: -48px; top: 112px; transform: rotate(-4deg); }
.w3 { right: -50px; top: 90px; transform: rotate(-10deg); }
.w4 { right: -48px; top: 112px; transform: rotate(4deg); }

.cat-caption {
  position: absolute;
  bottom: 22px;
  color: var(--lavender-dark);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: var(--lavender-light);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-card,
.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px;
}

.project-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--white);
  background: var(--lavender-dark);
  font-size: 1.3rem;
  font-weight: 800;
}

.project-label {
  color: var(--lavender-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.project-card h3 {
  margin: 5px 0 10px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.project-card p {
  margin-bottom: 16px;
  color: var(--muted);
}

.project-card ul {
  margin: 0;
  padding-left: 18px;
  color: #5f5761;
  font-size: 0.9rem;
}

.about-card {
  padding: 36px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card p {
  color: #5f5761;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.legal-links a {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.legal-links a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.legal-links span {
  grid-row: span 2;
  color: var(--lavender-dark);
  font-weight: 800;
}

.legal-links strong {
  font-size: 1rem;
}

.legal-links small {
  color: var(--muted);
}

.site-footer {
  padding: 42px 0 24px;
  color: #6f6672;
  background: #2c2530;
}

.site-footer strong {
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin: 7px 0 0;
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.82rem;
}

.copyright {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.legal-page {
  padding: 80px 0 110px;
}

.legal-container {
  width: min(820px, calc(100% - 40px));
}

.legal-title {
  padding-bottom: 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.legal-title h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.legal-title > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-content {
  color: #4f4852;
}

.legal-content h2 {
  margin: 42px 0 12px;
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 8px 0 20px;
  padding-left: 24px;
}

.notice-box {
  margin-top: 48px;
  padding: 22px 24px;
  border: 1px solid rgba(134, 97, 139, 0.22);
  border-radius: 18px;
  background: var(--lavender-light);
}

.notice-box strong {
  color: var(--lavender-deep);
}

.notice-box p {
  margin: 7px 0 0;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .nav {
    gap: 12px;
  }

  .nav a:nth-child(n+3) {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 75px 0;
  }

  .cat-card {
    width: min(320px, 90%);
  }

  .project-grid,
  .legal-links {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 560px) {
  .container,
  .narrow,
  .legal-container {
    width: min(100% - 28px, 1120px);
  }

  .nav-wrap {
    min-height: 64px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav {
    font-size: 0.78rem;
  }

  h1 {
    font-size: 3rem;
  }

  .project-card {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .about-card {
    padding: 26px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .legal-page {
    padding: 55px 0 80px;
  }
}
