/* 조이인포 — 시안(1440) 기준 값 */
:root {
  --navy: #14213D;
  --navy-2: #1E2E52;
  --navy-line: #2E4170;
  --navy-border: #3A4E7A;
  --navy-deep: #0E1830;
  --accent: #FFC93C;
  --gray-bg: #F4F6FA;
  --line: #E1E6EF;
  --muted: #6B7A99;
  --body: #4A5878;
  --on-navy: #D5DDEC;
  --on-navy-2: #A9B6CF;
  --footer-text: #8A97B1;
  --white: #FFFFFF;
  --gutter: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: #2E4170; }
h1, h2, h3, p { margin: 0; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { color: var(--navy); filter: brightness(1.05); }
.btn--ghost { border: 2px solid var(--navy-border); color: var(--white); }
.btn--ghost:hover { color: var(--white); background: rgba(255,255,255,.06); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { color: var(--white); background: #1E2E52; }
.btn--pill { padding: 12px 26px; border-radius: 999px; }
.btn--lg { padding: 20px 36px; border-radius: 16px; font-size: 20px; }
.btn--md { padding: 18px 32px; border-radius: 16px; font-size: 19px; align-self: flex-start; }
.btn--block { height: 64px; border-radius: 16px; font-size: 20px; width: 100%; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.nav__inner { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand__logo { width: 52px; height: 52px; border-radius: 14px; background: var(--white); overflow: hidden; }
.brand__name { font-size: 26px; font-weight: 900; color: var(--white); letter-spacing: -0.5px; }
.brand:hover .brand__name { color: var(--white); }
.nav__menu { display: flex; align-items: center; gap: 48px; font-size: 18px; font-weight: 500; }
.nav__menu a:not(.btn) { color: var(--on-navy); text-decoration: none; }
.nav__menu a:not(.btn):hover { color: var(--white); }
.nav__toggle { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 110px 0 130px; }
.hero__ring {
  position: absolute; right: -160px; top: -160px; width: 620px; height: 620px;
  border-radius: 50%; border: 3px solid rgba(255,201,60,0.14); pointer-events: none;
}
.hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 80px; position: relative; }
.hero__copy { max-width: 640px; display: flex; flex-direction: column; }
.badge {
  align-self: flex-start; padding: 10px 22px; border: 2px solid var(--accent); border-radius: 999px;
  font-size: 18px; font-weight: 700; color: var(--accent);
}
.hero h1 { margin-top: 36px; font-size: 76px; line-height: 1.2; font-weight: 900; letter-spacing: -3px; }
.hero__copy > p { margin-top: 28px; font-size: 22px; line-height: 1.7; color: var(--on-navy); }
.hero__cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }

.chat {
  width: 440px; flex-shrink: 0; border-radius: 32px; background: var(--navy-2); padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--navy-line); }
.chat__avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); flex-shrink: 0; }
.chat__title { font-size: 17px; font-weight: 700; }
.chat__sub { font-size: 14px; color: var(--on-navy-2); margin-top: 2px; }
.bubble { padding: 14px 18px; font-size: 17px; line-height: 1.5; color: var(--navy); animation: pop .45s ease backwards; }
.bubble--me { align-self: flex-end; max-width: 300px; border-radius: 18px 18px 4px 18px; background: var(--accent); }
.bubble--ai { align-self: flex-start; max-width: 320px; border-radius: 18px 18px 18px 4px; background: var(--white); }
.bubble:nth-of-type(2) { animation-delay: .3s; }
.bubble:nth-of-type(3) { animation-delay: 1.1s; }
.bubble:nth-of-type(4) { animation-delay: 1.9s; }
.bubble:nth-of-type(5) { animation-delay: 2.7s; }
.chat__note { font-size: 13px; color: var(--on-navy-2); text-align: center; }
@keyframes pop { from { transform: translateY(8px) scale(.96); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 130px 0; background: var(--white); }
.section--gray { background: var(--gray-bg); }
.eyebrow { font-size: 18px; font-weight: 700; letter-spacing: 4px; color: var(--muted); }
.eyebrow--accent { color: var(--accent); }
.section h2, .contact h2 { margin-top: 14px; font-size: 48px; line-height: 1.3; font-weight: 900; letter-spacing: -1.5px; }

.grid { margin-top: 64px; display: grid; }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid--5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid--2 { grid-template-columns: 1fr 1fr; gap: 28px; }

.icon {
  width: 60px; height: 60px; border-radius: 18px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 48px; height: 48px; border-radius: 14px; }
.icon--sm svg { width: 24px; height: 24px; stroke-width: 2.6; }
.icon--md { width: 56px; height: 56px; border-radius: 16px; }
.icon--md svg { width: 28px; height: 28px; }

.section__lead { margin-top: 18px; max-width: 760px; font-size: 19px; line-height: 1.7; color: var(--body); }

/* Pattern tags (5가지 자동화 유형) */
.tag { display: inline-flex; align-items: center; flex-shrink: 0; padding: 4px 10px; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--navy); white-space: nowrap; }
.tag--1 { background: #FFF1C7; }
.tag--2 { background: #DFE9FF; }
.tag--3 { background: #DDF3E6; }
.tag--4 { background: #EEE3FF; }
.tag--5 { background: #FFE2DA; }

/* Patterns */
.patterns { gap: 20px; }
.pcard { padding: 32px 26px; border-radius: 24px; background: var(--gray-bg); display: flex; flex-direction: column; gap: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,33,61,.08); }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pcard h3 { font-size: 22px; line-height: 1.4; font-weight: 900; letter-spacing: -0.5px; }
.pcard p { font-size: 16px; line-height: 1.7; color: var(--body); flex: 1; }
.pcard__ex { margin-top: 4px; padding-top: 14px; border-top: 1.5px solid var(--line); font-size: 15px; font-weight: 700; color: var(--navy); }

/* Industry tabs */
.ind-tabs { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px; }
.ind-tab {
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font: inherit; font-size: 17px; font-weight: 700; color: var(--navy); cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ind-tab:hover { border-color: var(--navy); }
.ind-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ind-tab:focus-visible, .faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ind-panel { margin-top: 24px; padding: 48px; border-radius: 32px; background: var(--white); display: flex; flex-direction: column; }
.ind-panel[hidden] { display: none; }
.ind-panel h3 { font-size: 30px; font-weight: 900; letter-spacing: -0.5px; }
.ind-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.ind-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.6; }
.ind-list .tag { margin-top: 2px; }

/* 흰 섹션 위 단계 카드, 회색 섹션 위 FAQ는 배경을 바꿔 구분 */
.section:not(.section--gray) .step { background: var(--gray-bg); }
.section--gray .faq details { background: var(--white); }

/* Process */
.steps { list-style: none; padding: 0; }
.step { padding: 32px 26px; border-radius: 24px; background: var(--white); display: flex; flex-direction: column; gap: 12px; }
.step__tag { align-self: flex-start; font-size: 18px; font-weight: 900; background: var(--accent); padding: 6px 14px; border-radius: 999px; }
.step h3 { font-size: 24px; font-weight: 700; }
.step p { font-size: 16px; line-height: 1.7; color: var(--body); }

/* Plans */
.plan { position: relative; padding: 52px 48px; border-radius: 32px; border: 2px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.plan h3 { font-size: 32px; font-weight: 900; }
.plan > p { font-size: 19px; line-height: 1.7; color: var(--body); }
.plan--dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.plan--dark > p { color: var(--on-navy); }
.plan__badge { position: absolute; top: 40px; right: 40px; padding: 8px 18px; border-radius: 999px; background: var(--accent); color: var(--navy); font-size: 16px; font-weight: 700; }
.plan__price { margin-top: 12px; font-size: 20px; font-weight: 700; }
.plan--dark .plan__price { color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.checks li::before {
  content: ''; width: 22px; height: 22px; flex-shrink: 0;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.plan--dark .checks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC93C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Enterprise */
.biz { display: flex; gap: 80px; align-items: flex-start; }
.biz__intro { width: 470px; flex-shrink: 0; display: flex; flex-direction: column; gap: 22px; }
.biz__intro h2 { margin-top: 0; }
.lead { font-size: 19px; line-height: 1.75; color: var(--body); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; font-size: 16px; font-weight: 700; }
.chips span { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--on-navy); }
.biz__intro .btn { margin-top: 10px; }
.biz__list { flex: 1; display: grid; gap: 16px; }
.feature { padding: 30px 32px; border-radius: 24px; background: var(--white); display: flex; gap: 20px; align-items: flex-start; }
.feature h3 { font-size: 22px; font-weight: 700; }
.feature p { margin-top: 6px; font-size: 17px; line-height: 1.65; color: var(--body); }

/* FAQ */
.faq { margin-top: 56px; display: flex; flex-direction: column; gap: 16px; }
.faq details { padding: 32px 40px; border-radius: 24px; background: var(--gray-bg); }
.faq summary { font-size: 22px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 28px; font-weight: 500; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; font-size: 18px; line-height: 1.7; color: var(--body); }

/* Contact */
.contact { padding: 130px 0; background: var(--navy); color: var(--white); }
.contact__inner { display: flex; gap: 80px; }
.contact__copy { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.contact h2 { margin-top: 0; font-size: 52px; }
.contact__copy > p { font-size: 20px; line-height: 1.7; color: var(--on-navy); }
.contact__copy .btn { margin-top: 12px; font-size: 20px; }
.mailcard { width: 620px; flex-shrink: 0; align-self: flex-start; padding: 48px; border-radius: 32px; background: var(--white); color: var(--navy); display: flex; flex-direction: column; gap: 22px; }
.mailcard__head { display: flex; align-items: center; gap: 16px; }
.mailcard__label { font-size: 16px; font-weight: 700; color: var(--muted); }
.mailcard__addr { margin-top: 2px; font-size: 26px; font-weight: 900; letter-spacing: -0.5px; word-break: break-all; }
.mailcard hr { width: 100%; height: 1.5px; border: 0; margin: 0; background: var(--line); }
.mailcard__guide { font-size: 18px; font-weight: 700; }
.numlist { list-style: none; counter-reset: n; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
.numlist li { counter-increment: n; display: flex; gap: 16px; align-items: center; }
.numlist li::before {
  content: counter(n); width: 34px; height: 34px; flex-shrink: 0; border-radius: 999px; background: var(--gray-bg);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900;
}
.mailcard .btn { margin-top: 8px; }

/* Footer */
.footer { padding: 44px 0; background: var(--navy-deep); color: var(--footer-text); font-size: 15px; line-height: 1.8; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  :root { --gutter: 64px; }
  .hero h1 { font-size: 64px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .mailcard { width: 520px; }
  .ind-list { grid-template-columns: 1fr; }
  .biz__intro { width: 400px; }
  .nav__menu { gap: 32px; }
}

@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    border-top: 1px solid var(--navy-line); display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
  .nav__menu .btn { margin-top: 20px; }

  .hero__inner { flex-direction: column; align-items: stretch; gap: 56px; }
  .hero__copy { max-width: none; }
  .chat { width: 100%; max-width: 480px; align-self: center; }
  .biz, .contact__inner { flex-direction: column; gap: 48px; }
  .biz__intro, .mailcard { width: 100%; }
  .br-pc { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 72px; }
  .nav__inner { height: 72px; }
  .brand__logo { width: 42px; height: 42px; border-radius: 12px; }
  .brand__name { font-size: 22px; }

  .hero { padding: 64px 0 80px; }
  .hero__ring { width: 360px; height: 360px; right: -140px; top: -120px; }
  .badge { font-size: 14px; padding: 8px 16px; }
  .hero h1 { margin-top: 24px; font-size: 42px; letter-spacing: -1.5px; }
  .hero__copy > p { font-size: 17px; margin-top: 20px; }
  .hero__cta { margin-top: 32px; flex-direction: column; }
  .btn--lg { font-size: 18px; padding: 18px 24px; }
  .chat { padding: 20px; border-radius: 24px; }
  .bubble { font-size: 15px; }

  .section, .contact { padding: 80px 0; }
  .eyebrow { font-size: 14px; letter-spacing: 3px; }
  .section h2, .contact h2 { font-size: 30px; letter-spacing: -1px; }
  .grid { margin-top: 40px; }
  .grid--4, .grid--5, .grid--3, .grid--2 { grid-template-columns: 1fr; gap: 14px; }
  .step p { font-size: 16px; }
  .section__lead { font-size: 16px; }
  .pcard { padding: 24px 22px; border-radius: 20px; }
  .pcard h3 { font-size: 20px; }
  .ind-tabs { margin-top: 32px; gap: 8px; }
  .ind-tab { padding: 9px 14px; font-size: 15px; }
  .ind-panel { margin-top: 18px; padding: 26px 20px; border-radius: 22px; }
  .ind-panel h3 { font-size: 22px; }
  .ind-list { margin: 16px 0 24px; }
  .ind-list li { flex-direction: column; gap: 8px; padding: 16px 0; font-size: 16px; }
  .ind-list .tag { margin-top: 0; font-size: 13px; }
  .step { padding: 24px; }
  .plan { padding: 36px 26px; border-radius: 24px; }
  .plan h3 { font-size: 26px; }
  .plan > p { font-size: 17px; }
  .plan__badge { top: 32px; right: 24px; }
  .checks { font-size: 16px; }
  .lead { font-size: 17px; }
  .chips { font-size: 14px; }
  .btn--md { font-size: 17px; width: 100%; }
  .feature { padding: 24px 20px; gap: 16px; }
  .feature h3 { font-size: 19px; }
  .feature p { font-size: 15px; }
  .faq { margin-top: 36px; }
  .faq details { padding: 22px 22px; border-radius: 18px; }
  .faq summary { font-size: 17px; }
  .faq details p { font-size: 16px; }
  .contact__copy > p { font-size: 17px; }
  .mailcard { padding: 28px 22px; border-radius: 24px; }
  .mailcard__addr { font-size: 20px; }
  .numlist, .mailcard__guide { font-size: 16px; }
  .btn--block { height: 58px; font-size: 18px; }
  .footer { font-size: 13px; padding: 32px 0; }
}
