/* Open Mobility — 모바일 전용 홈 (m/index.html) */

body.page-m-site {
  background: #f5f7fb;
}

.m-site-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* 상단 바: PC 버전 링크 */
.m-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
  background: rgba(10, 14, 38, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.m-top-bar a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.m-top-bar a.m-link-pc {
  color: #8cb8ff;
}

/* 히어로: 슬라이더 대신 한 화면 요약 */
.m-main {
  display: block;
}

.m-hero {
  position: relative;
  padding: 28px max(16px, env(safe-area-inset-left)) 40px max(16px, env(safe-area-inset-right));
  padding-top: calc(16px + env(safe-area-inset-top, 0px));
  background: linear-gradient(165deg, #050a1e 0%, #0d1b3e 45%, #0a2050 100%);
  color: #fff;
  overflow: hidden;
}

.m-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 70% 20%, rgba(0, 102, 204, 0.18), transparent 55%);
  pointer-events: none;
}

.m-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.m-hero-kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(102, 170, 255, 0.95);
  margin-bottom: 14px;
}

.m-hero h1 {
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 14px;
  word-break: keep-all;
}

.m-hero-lead {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 22px;
  word-break: keep-all;
}

.m-hero-visual {
  margin: 0 auto 20px;
  max-width: 280px;
}

.m-hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.35));
}

.m-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.m-hero-actions .btn {
  justify-content: center;
  width: 100%;
}

.m-hero-actions .m-btn-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.m-hero-actions .m-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* 선순환: 메인과 동일 블록이나 단일 컬럼 레이아웃 */
.cycle-section.m-cycle-aside-below .container {
  max-width: 100%;
}

/* 파트너: 상단 여백만 살짝 */
.m-partners-tight {
  padding-top: 48px;
}

/* 섹션 공통 */
.m-section {
  padding: 48px max(16px, env(safe-area-inset-left)) 48px max(16px, env(safe-area-inset-right));
}

.m-section--light {
  background: #fff;
}

.m-section--soft {
  background: linear-gradient(180deg, #eef2f8 0%, #e4eaf4 100%);
}

.m-section--dark {
  background: linear-gradient(180deg, #0f1020 0%, #0a0a18 100%);
  color: #ccc;
}

.m-section-head .label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.m-section--dark .m-section-head .label {
  color: #66aaff;
}

.m-section-head h2 {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 12px;
  word-break: keep-all;
}

.m-section--dark .m-section-head h2 {
  color: #fff;
}

.m-section-head p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 0;
  word-break: keep-all;
}

.m-section--dark .m-section-head p {
  color: rgba(255, 255, 255, 0.7);
}

/* 에코시스템: 세로 스택 (가로 스크롤 없음) */
.m-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.m-feature-stack .feature-card {
  flex: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 20px;
}

.page-m-site .m-feature-stack .feature-card p {
  font-size: 15px;
  line-height: 1.75;
}

/* 플랫폼 요약 + 수치 */
.m-info-block {
  margin-top: 24px;
}

.m-info-block .info-content h2 {
  font-size: clamp(19px, 4.8vw, 24px);
}

.m-info-block .info-stats {
  margin-top: 20px;
}

/* 선순환: 스텝 전체 폭 */
.m-cycle-wrap .cycle-grid {
  margin-top: 20px;
}

.m-cycle-wrap .cycle-card--full {
  grid-column: 1 / -1;
}

.m-cycle-aside-inner {
  text-align: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(102, 170, 255, 0.2);
}

/* 푸터 위 여백 */
.page-m-site #footer {
  margin-top: 0;
}

.page-m-site .footer-main {
  padding-top: 44px;
}

/* 헤더: 모바일 전용에서 언어 줄 간격 */
.page-m-site .header-inner {
  padding-top: max(4px, env(safe-area-inset-top, 0px));
}
