/* ═══════════════ 공개 페이지: SYNERBRIDGY 브랜드 테마 ═══════════════
   로고 색: 인디고 #312E45 · 화이트 · 라벤더 그레이 #919AAD
   style.css 다음에 불러오며, <body class="pub"> 인 공개 페이지에만 적용됩니다. */
@import url("https://cdn.jsdelivr.net/npm/@fontsource/oswald@5.0.17/500.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/oswald@5.0.17/600.css");

.pub {
  --b-ink: #312E45; --b-ink-2: #24223A; --b-ink-3: #413D5E;
  --b-lav: #919AAD; --b-lav-2: #C9CEDB; --b-lav-3: #EEF0F5;
  --b-glow: #8B93FF;
  --display: "Oswald", "Pretendard Variable", Pretendard, sans-serif;
  background: #F7F7FA;
}
.pub a { color: var(--b-ink-3); }
.pub .btn-primary { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.pub .btn-primary:hover { background: var(--b-ink-3); }
.pub .btn-white { background: #fff; border-color: #fff; color: var(--b-ink); font-weight: 700; }
.pub .btn-white:hover { background: var(--b-lav-3); }
.pub .btn-ghost-w { background: transparent; border-color: rgba(201, 206, 219, .45); color: #fff; }
.pub .btn-ghost-w:hover { background: rgba(255, 255, 255, .08); }

/* ── 헤더 ── */
.pub .site-header { background: rgba(49, 46, 69, .97); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.pub .site-header .inner { height: 68px; }
.pub .logo .brand-logo { height: 34px; width: auto; display: block; }
.pub .site-nav a { color: rgba(255, 255, 255, .78); }
.pub .site-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.pub .site-nav a.active { color: #fff; }
.pub .site-nav a.btn-primary { background: #fff; color: var(--b-ink); border-color: #fff; }
.pub .site-nav a.btn-primary:hover { background: var(--b-lav-3); }

/* ── 히어로 ── */
.hero2 {
  position: relative; overflow: hidden; color: #fff; padding: 88px 0 96px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(139, 147, 255, .18), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(145, 154, 173, .16), transparent 60%),
    linear-gradient(170deg, #312E45 0%, #24223A 100%);
}
.hero2::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero2-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero2-grid.single { grid-template-columns: minmax(0, 1fr); }
.hero2-grid.single .hero2-copy { max-width: 760px; }
.eyebrow2 { font-family: var(--display); font-weight: 500; letter-spacing: .18em; font-size: 13px; color: var(--b-lav-2); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow2::before { content: ""; width: 28px; height: 1px; background: var(--b-lav); }
.hero2 h1 { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; margin: 18px 0 0; }
.hero2 h1 .hl { color: #fff; background: linear-gradient(transparent 64%, rgba(139, 147, 255, .45) 64%); padding: 0 2px; }
.hero2 p { font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .78); max-width: 560px; margin: 20px 0 32px; }
.hero2 .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 52px 0 0; }
.hero-stats > div {
  position: relative; overflow: hidden; padding: 24px 26px 22px; border-radius: 18px;
  background: linear-gradient(162deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .13);
}
.hero-stats > div::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--b-glow), transparent 75%); opacity: .7;
}
.hero-stats dt { font-size: 13.5px; font-weight: 500; color: var(--b-lav-2); letter-spacing: .005em; }
.hero-stats dd { display: flex; align-items: baseline; gap: 5px; margin: 12px 0 0; }
.hero-stats b { font-family: var(--display); font-weight: 600; font-size: 56px; line-height: .9; letter-spacing: 0; color: #fff; }
.hero-stats small { font-size: 15px; font-weight: 500; color: var(--b-lav-2); }

/* 헤드 메시지 + 두 채널 (Top Down / Bottom Up) */
.hero2 .hero-head { font-size: 32px; line-height: 1.45; max-width: 980px; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.channel {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 30px 30px 32px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
}
.channel h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; color: #fff; }
.channel h2 .hl { color: #fff; background: linear-gradient(transparent 64%, rgba(139, 147, 255, .45) 64%); padding: 0 2px; }
.channel p { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .78); flex: 1; }
.channel-tag {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; letter-spacing: .16em; font-size: 13px;
  color: #fff; background: rgba(139, 147, 255, .22); border: 1px solid rgba(139, 147, 255, .45); border-radius: 999px; padding: 5px 12px;
}
.channel-tag em { font-family: "Pretendard Variable", Pretendard, sans-serif; font-style: normal; letter-spacing: 0; font-weight: 500; font-size: 12px; color: var(--b-lav-2); }
.pub .page-hero .channel-tag { margin-bottom: 14px; }
.cta2-acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* 상단 메뉴: 두 번째 등록 버튼 */
.pub .site-nav a.btn-nav-alt { background: transparent; border: 1px solid rgba(201, 206, 219, .5); color: #fff; }
.pub .site-nav a.btn-nav-alt:hover { background: rgba(255, 255, 255, .1); }

/* ── 섹션 ── */
.section2 { padding: 88px 0; }
.section2.tint { background: var(--b-lav-3); }
.section-head2 { margin-bottom: 36px; }
.section-head2.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.kicker2 { font-family: var(--display); font-weight: 500; letter-spacing: .18em; font-size: 13px; color: var(--b-lav); }
.section-head2 h2 { font-size: 32px; margin-top: 8px; color: var(--b-ink); letter-spacing: -0.03em; }
.section-head2 p { margin: 10px 0 0; color: var(--ink-2); }

.flow { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 2px; height: 2px; background: repeating-linear-gradient(90deg, var(--b-lav) 0 8px, transparent 8px 14px); opacity: .6; }
.flow li { position: relative; background: #fff; border: 1px solid #E4E6EE; border-radius: 16px; padding: 0 22px 24px; }
.flow .no {
  position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 14px; border-radius: 14px;
  background: var(--b-ink); color: #fff; font-family: var(--display); font-size: 20px; font-weight: 600; box-shadow: 0 8px 20px rgba(49, 46, 69, .25);
}
.flow h3 { font-size: 18px; color: var(--b-ink); margin-bottom: 8px; }
.flow p { margin: 0; color: var(--ink-2); font-size: 14px; }

.collab { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.collab article { background: #fff; border-radius: 16px; padding: 26px 22px; border: 1px solid #E4E6EE; transition: transform .15s, box-shadow .15s; }
.collab article:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(49, 46, 69, .10); }
.collab svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--b-ink); color: #fff; margin-bottom: 16px; }
.collab h3 { font-size: 18px; color: var(--b-ink); margin-bottom: 6px; }
.collab p { margin: 0; color: var(--ink-2); font-size: 14px; }
.collab-note { margin: 18px 0 0; color: var(--ink-3); font-size: 14px; }

.pub .sc-card { border-color: #E4E6EE; border-radius: 16px; }
.pub .sc-x { color: var(--b-lav); }
.pub .ci-text { color: var(--b-ink); }
.pub .badge-blue { background: var(--b-lav-3); color: var(--b-ink-3); }

.cta2 {
  position: relative; overflow: hidden;
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; border-radius: 24px; padding: 52px 52px; color: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
  background: radial-gradient(640px 260px at 100% 0%, rgba(139, 147, 255, .28), transparent 62%), linear-gradient(135deg, #312E45, #201E33);
  box-shadow: 0 24px 60px rgba(36, 34, 58, .28);
}
.cta2::before {
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(500px 260px at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(500px 260px at 100% 0%, #000, transparent 70%);
}
.cta2 > * { position: relative; }
.cta2 h2 { font-size: 29px; letter-spacing: -0.02em; line-height: 1.35; }
.cta2 p { margin: 10px 0 0; color: rgba(255, 255, 255, .74); font-size: 15.5px; line-height: 1.7; }

/* ── 공개 서브페이지 (수요 등록 · 매칭 성과) ── */
.pub .page-hero { background: linear-gradient(170deg, #312E45, #24223A); border: 0; padding: 52px 0 44px; }
.pub .page-hero h1 { color: #fff; }
.pub .page-hero p { color: rgba(255, 255, 255, .75); }
.pub .form-section h2 .num { background: var(--b-ink); }
.pub .chip-check input:checked + span { background: var(--b-ink); border-color: var(--b-ink); }
.pub .input:focus { border-color: var(--b-ink-3); box-shadow: 0 0 0 3px rgba(145, 154, 173, .25); }
.pub .filter-chips button.on { background: var(--b-ink); border-color: var(--b-ink); }
.pub .success .check { background: var(--b-lav-3); color: var(--b-ink); }
.pub .interest-note { background: var(--b-lav-3); color: var(--b-ink); }
.pub .sc-title { color: var(--b-ink); }

/* ── 푸터 ── */
.pub .site-footer { background: #24223A; padding: 0; }
.pub .site-footer a { color: var(--b-lav-2); transition: color .15s; }
.pub .site-footer a:hover { color: #fff; }
.f-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px 48px; flex-wrap: wrap; padding: 52px 0 32px; }
.f-brand { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.f-logo { height: 30px; width: auto; align-self: flex-start; opacity: .95; }
.f-brand p { margin: 0; color: var(--b-lav); font-size: 14px; line-height: 1.75; }
.f-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.f-nav a { font-size: 14.5px; }
.f-base {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 18px 0 40px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.f-base span { color: var(--b-lav); font-size: 12.5px; letter-spacing: .01em; }
.f-base a { font-size: 12.5px; }

@media (max-width: 960px) {
  .hero2-grid { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
  .hero2 .hero-head { font-size: 26px; }
  .hero2 .hero-head br { display: none; }
  .flow, .collab { grid-template-columns: 1fr 1fr; }
  .flow::before { display: none; }
  .flow li { margin-top: 26px; }
}
@media (max-width: 640px) {
  .pub .site-header .inner { height: 60px; }
  .pub .logo .brand-logo { height: 26px; }
  .hero2 { padding: 52px 0 60px; }
  .hero2 h1 { font-size: 30px; }
  .hero2 .hero-head { font-size: 22px; }
  .channel { padding: 22px 20px 24px; }
  .channel h2 { font-size: 23px; }
  .channel h2 br { display: none; }
  .channel p { font-size: 15px; }
  .channel .btn { width: 100%; }
  .pub .site-nav a:not(.btn) { display: none; }
  .pub .site-nav .btn { padding: 0 9px; font-size: 12px; }
  .hero2 p { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr; gap: 10px; margin-top: 34px; }
  .hero-stats > div { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; }
  .hero-stats dd { margin: 0; }
  .hero-stats b { font-size: 40px; }
  .section2 { padding: 60px 0; }
  .cta2 { padding: 34px 24px; }
  .cta2 h2 { font-size: 23px; }
  .f-inner { padding: 40px 0 26px; gap: 28px; }
  .section-head2 h2 { font-size: 24px; }
  .flow, .collab { grid-template-columns: 1fr; }
}

/* 공개 페이지: 어두운 헤더 위 언어 선택 */
.pub .lang-switch { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.pub .lang-switch button { color: rgba(255, 255, 255, .75); }
.pub .lang-switch button:hover { color: #fff; }
.pub .lang-switch button.on { background: #fff; color: var(--b-ink); }

/* 일본어 헤드 메시지는 글자 수가 많아 조금 작게 */
:root[lang=ja] .hero2 .hero-head { font-size: 28px; }
:root[lang=ja] .channel h2 { font-size: 26px; }
@media (max-width: 640px) { :root[lang=ja] .hero2 .hero-head { font-size: 20px; } :root[lang=ja] .channel h2 { font-size: 20px; } }

/* 홈 화면 관리로 추가한 섹션: 배경 톤·자유 텍스트 */
.tx-body { max-width: 760px; color: var(--ink-2); font-size: 16px; line-height: 1.8; }
.tx-body p { margin: 0 0 14px; }
.tx-body p:last-child { margin-bottom: 0; }
.pub .section2.dark { background: radial-gradient(700px 360px at 85% 0%, rgba(139, 147, 255, .18), transparent 60%), linear-gradient(160deg, #312E45, #24223A); }
.pub .section2.dark .section-head2 h2, .pub .section2.dark .tx-body { color: #fff; }
.pub .section2.dark .section-head2 h2 .hl { background: linear-gradient(transparent 64%, rgba(139, 147, 255, .45) 64%); }
.pub .section2.dark .tx-body { color: rgba(255, 255, 255, .82); }
.pub .section2.dark .kicker2 { color: var(--b-lav-2); }
.pub .section2.dark .collab-note { color: var(--b-lav-2); }
.pub .section2.dark .collab article, .pub .section2.dark .flow li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.pub .section2.dark .collab h3, .pub .section2.dark .flow h3 { color: #fff; }
.pub .section2.dark .collab p, .pub .section2.dark .flow p { color: rgba(255, 255, 255, .76); }
.pub .section2.dark .collab svg { background: rgba(255, 255, 255, .14); }
.pub .section2.dark .flow::before { opacity: .3; }
