/* ==========================================================================
   IntelliMind — 공식 소개 전용 랜딩 (케어 앱과 분리)
   종이 바탕 · 큰 활자 · 얇은 선 · 절제된 모션.
   ========================================================================== */

body.intro {
  margin: 0;
  background: #f6f2ea;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100%;
}

body.intro::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 50% at 78% 6%, rgba(213, 226, 214, 0.5), transparent 62%),
    radial-gradient(60% 40% at 10% 32%, rgba(238, 219, 196, 0.55), transparent 65%),
    radial-gradient(50% 40% at 70% 82%, rgba(226, 214, 196, 0.4), transparent 60%);
}

body.intro > * { position: relative; z-index: 1; }

/* ── 내비 ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 46px);
  transition: background 0.4s var(--ease), border-color 0.4s, padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(246, 242, 234, 0.82);
  backdrop-filter: blur(14px) saturate(1.05);
  border-bottom-color: rgba(33, 29, 24, 0.07);
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 3px;
}
.nav__links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width 0.35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 12.5px; }
.btn--lg { height: 58px; padding: 0 34px; font-size: 15.5px; }

@media (max-width: 720px) { .nav__links { display: none; } }

/* ── 히어로 ─────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(100px, 14vh, 150px) clamp(20px, 6vw, 80px) clamp(60px, 9vh, 110px);
  position: relative;
}
.hero__copy { max-width: 620px; }
.hero__title {
  margin: 0 0 24px;
  font-size: clamp(34px, 5.1vw, 64px);
  line-height: 1.32;
  letter-spacing: -0.045em;
  font-weight: 720;
}
.hero__em { position: relative; white-space: nowrap; }
.hero__em::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%; bottom: 6%;
  height: 0.42em;
  background: rgba(181, 125, 92, 0.22);
  border-radius: 40% 60% 55% 45%;
  z-index: -1;
  transform: rotate(-0.6deg) scaleX(0);
  transform-origin: left;
  animation: brush 1.3s 0.7s var(--ease) forwards;
}
@keyframes brush { to { transform: rotate(-0.6deg) scaleX(1); } }

.hero__lede {
  margin: 0 0 34px;
  font-size: clamp(14.5px, 1.35vw, 17px);
  line-height: 1.92;
  color: var(--ink-2);
  max-width: 520px;
}
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__meta { margin: 0; font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.01em; }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 76vh;
  display: grid;
  place-items: center;
}
#intro-canvas { width: 100%; height: 100%; display: block; }
.hero__caption {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  color: var(--ink-2);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); animation: pulse 4s var(--ease) infinite; }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  background: rgba(33, 29, 24, 0.14);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute; top: -46px; left: 0; width: 1px; height: 46px;
  background: var(--ink-2);
  animation: scroll-line 2.8s var(--ease) infinite;
}
@keyframes scroll-line { 0% { top: -46px; } 70%, 100% { top: 46px; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; min-height: auto; }
  .hero__visual { order: -1; max-height: 46vh; aspect-ratio: 1.25 / 1; margin-bottom: 4px; }
  .hero__caption { bottom: 2%; }
  .hero__scroll { display: none; }
}

/* ── 공통 섹션 ──────────────────────────────────────────── */
section { padding: clamp(64px, 10vh, 130px) clamp(20px, 6vw, 80px); }
.eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage-deep); font-weight: 680; margin: 0 0 18px;
}
.statement__index {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 620; margin: 0 0 22px;
}
.section-title {
  margin: 0 0 18px;
  font-size: clamp(27px, 3.4vw, 44px);
  line-height: 1.36;
  letter-spacing: -0.038em;
  font-weight: 700;
}
.section-sub { margin: 0 0 40px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

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

/* ── 명제 ───────────────────────────────────────────────── */
.statement { border-top: 1px solid var(--line); max-width: 1180px; margin: 0 auto; }
.statement__text {
  margin: 0 0 58px;
  font-size: clamp(24px, 3.3vw, 42px);
  line-height: 1.52;
  letter-spacing: -0.038em;
  font-weight: 660;
  max-width: 940px;
}
.statement__text em { font-style: normal; color: var(--sage-deep); }
.statement__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 46px);
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.statement__cols h3 { margin: 0 0 10px; font-size: 15px; letter-spacing: -0.02em; }
.statement__cols p { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }
@media (max-width: 820px) { .statement__cols { grid-template-columns: 1fr; gap: 24px; } }

/* ── 작동 ───────────────────────────────────────────────── */
.how { max-width: 1080px; margin: 0 auto; border-top: 1px solid var(--line); }
.section-head { max-width: 760px; }
.steps { list-style: none; margin: 46px 0 0; padding: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 80px;
  align-items: start;
  gap: 20px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, 0.34); padding-left: 14px; }
.step__n {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--clay);
  font-weight: 700;
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.025em; font-weight: 660; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--ink-2); max-width: 620px; }
.step__tag { font-size: 11px; color: var(--ink-3); text-align: right; padding-top: 5px; letter-spacing: 0.02em; }
@media (max-width: 640px) {
  .step { grid-template-columns: 40px 1fr; }
  .step__tag { display: none; }
}

/* ── 장면 ───────────────────────────────────────────────── */
.scenes { max-width: 1180px; margin: 0 auto; border-top: 1px solid var(--line); }
.scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.scene-card {
  position: relative;
  padding: 26px 26px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(251, 248, 242, 0.66);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.scene-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -40px rgba(40, 32, 24, 0.4); }
.scene-card h3 { margin: 18px 0 8px; font-size: 18px; letter-spacing: -0.03em; }
.scene-card p { margin: 0 0 14px; font-size: 13px; line-height: 1.85; color: var(--ink-2); max-width: 380px; }
.scene-card__meta { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.scene-card__viz { position: relative; height: 132px; border-radius: 14px; overflow: hidden; }
.scene-card--garden .scene-card__viz { background: linear-gradient(170deg, #f7ecd8, #dce6d4 60%, #b8c9a8); }
.scene-card--room .scene-card__viz { background: linear-gradient(170deg, #efe7d8, #e4d8c6 60%, #cbb99f); }
.scene-card--shore .scene-card__viz { background: linear-gradient(180deg, #eee5d2 0%, #c8d6d2 46%, #8fa8a6 100%); }
.scene-card--forest .scene-card__viz { background: linear-gradient(180deg, #e6ecd9, #b8c9a7 58%, #7d9270); }

.orb {
  position: absolute; left: 50%; top: 54%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fffdf6, #e0c39a 62%, rgba(214, 160, 118, 0.6));
  box-shadow: 0 0 40px rgba(255, 235, 200, 0.9);
  animation: orb 7s var(--ease) infinite;
}
@keyframes orb { 0%, 100% { transform: scale(0.86); } 46% { transform: scale(1.12); } }
.ring {
  position: absolute; left: 50%; top: 54%; width: 86px; height: 86px; margin: -43px 0 0 -43px;
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%;
  animation: ring 7s var(--ease) infinite;
}
.ring--2 { width: 118px; height: 118px; margin: -59px 0 0 -59px; animation-delay: 0.6s; }
@keyframes ring { 0%, 100% { transform: scale(0.9); opacity: 0.3; } 46% { transform: scale(1.06); opacity: 0.8; } }

.win { position: absolute; left: 22px; top: 20px; width: 58px; height: 66px; border: 2px solid rgba(120, 98, 76, 0.5); background: linear-gradient(180deg, #ffeecd, #e9cda6); }
.desk { position: absolute; right: 18px; bottom: 26px; width: 92px; height: 10px; background: rgba(150, 120, 90, 0.55); border-radius: 2px; }
.desk::after { content: ''; position: absolute; right: 8px; top: 10px; width: 6px; height: 26px; background: rgba(120, 98, 76, 0.45); }
.mote { position: absolute; left: 46%; top: 38%; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 250, 238, 0.85); box-shadow: 0 0 18px rgba(255, 240, 210, 0.9); animation: float 8s ease-in-out infinite; }
.mote--2 { left: 62%; top: 52%; width: 11px; height: 11px; animation-delay: 1.4s; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -10px); } }

.wave { position: absolute; left: -10%; bottom: 26px; width: 120%; height: 34px; background: rgba(255, 255, 255, 0.18); border-radius: 50%; animation: wave 6s ease-in-out infinite; }
.wave--2 { bottom: 8px; height: 28px; background: rgba(255, 255, 255, 0.12); animation-delay: 1.2s; }
@keyframes wave { 0%, 100% { transform: translateX(-6px) scaleY(1); } 50% { transform: translateX(8px) scaleY(1.18); } }
.card { position: absolute; left: 50%; top: 40%; width: 62px; height: 26px; margin-left: -31px; background: rgba(255, 252, 244, 0.9); border-radius: 5px; transform: rotate(-6deg); animation: card 9s ease-in-out infinite; }
@keyframes card { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-6px); } }

.tree { position: absolute; left: 18%; bottom: 0; width: 12px; height: 86px; background: rgba(90, 78, 60, 0.5); }
.tree::after { content: ''; position: absolute; left: -24px; top: -44px; width: 60px; height: 66px; border-radius: 50%; background: rgba(94, 118, 84, 0.65); }
.tree--2 { left: 70%; height: 70px; transform: scale(0.82); }
.path { position: absolute; left: 40%; bottom: -10px; width: 46%; height: 96px; background: linear-gradient(180deg, rgba(246, 240, 226, 0.9), rgba(240, 232, 214, 0.6)); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); }

.scenes__note { margin: 26px 0 0; font-size: 12px; line-height: 1.8; color: var(--ink-3); max-width: 720px; }
@media (max-width: 760px) { .scene-grid { grid-template-columns: 1fr; } }

/* ── 맞춤 ───────────────────────────────────────────────── */
.fit {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  border-top: 1px solid var(--line);
}
.fit__copy p { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.fit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fit__grid > div { background: rgba(251, 248, 242, 0.8); padding: 20px; }
.fit__grid span { display: block; font-size: 13px; font-weight: 660; margin-bottom: 6px; letter-spacing: -0.01em; }
.fit__grid p { margin: 0; font-size: 12px; line-height: 1.75; color: var(--ink-2); }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } }

/* ── 안전 ───────────────────────────────────────────────── */
.safety-section { max-width: 1000px; margin: 0 auto; }
.safety-section__card {
  border: 1px solid rgba(168, 79, 66, 0.18);
  background: rgba(253, 248, 244, 0.72);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 48px);
}
.safety-section__card p { font-size: 14px; line-height: 1.9; color: var(--ink-2); max-width: 720px; }
.hotlines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 26px 0 20px; }
.hotlines a {
  text-decoration: none; color: var(--ink); padding: 16px 12px; border-radius: 14px;
  background: rgba(168, 79, 66, 0.06); border: 1px solid rgba(168, 79, 66, 0.16);
  transition: background 0.25s, transform 0.25s var(--ease);
}
.hotlines a:hover { background: rgba(168, 79, 66, 0.12); transform: translateY(-2px); }
.hotlines b { display: block; font-size: 20px; color: var(--danger); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.hotlines span { display: block; margin-top: 4px; font-size: 10.5px; line-height: 1.5; color: var(--ink-2); }
.safety-section__fine { font-size: 11.5px !important; color: var(--ink-3) !important; }
@media (max-width: 700px) { .hotlines { grid-template-columns: repeat(2, 1fr); } }

/* ── 시작 ───────────────────────────────────────────────── */
.start { max-width: 900px; margin: 0 auto; text-align: center; }
.start__title { margin: 0 0 14px; font-size: clamp(28px, 4vw, 50px); letter-spacing: -0.045em; line-height: 1.34; }
.start__sub { margin: 0 0 30px; font-size: 15px; color: var(--ink-2); }
.start__meta { margin: 18px 0 0; font-size: 11.5px; color: var(--ink-3); }

/* ── 푸터 ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px clamp(20px, 6vw, 80px) 46px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand strong { font-size: 14px; letter-spacing: -0.01em; }
.footer__brand p { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-3); }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__links a { font-size: 12px; color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; font-size: 10.5px; color: var(--ink-3); line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .orb, .ring, .mote, .wave, .card, .hero__scroll span, .dot { animation: none !important; }
  .hero__em::after { animation: none; transform: rotate(-0.6deg) scaleX(1); }
}
