/* ==========================================================================
   Android Connect Landing Page Design System
   Theme: Ultra-Modern Dark Glassmorphism with Vibrant Accents
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-dark: #07090E;
  --bg-card: rgba(18, 24, 38, 0.65);
  --bg-card-hover: rgba(28, 36, 56, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.3);
  
  /* Brand Gradients */
  --primary-blue: #3B82F6;
  --primary-cyan: #06B6D4;
  --accent-emerald: #10B981;
  --accent-purple: #8B5CF6;
  
  --grad-hero: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #06B6D4 100%);
  --grad-apple-win: linear-gradient(90deg, #60A5FA, #34D399);
  --grad-glow: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 80%);

  /* Text Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.25);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  
  --font-main: 'Outfit', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  background-image: 
    radial-gradient(at 10% 10%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(139, 92, 246, 0.12) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(16, 185, 129, 0.08) 0px, transparent 50%);
}

/* Background Grid Overlay */
.bg-grid {
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan { color: var(--primary-cyan); }
.text-emerald { color: var(--accent-emerald); }
.text-purple { color: var(--accent-purple); }

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, 0.75);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3B82F6, #10B981);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #60A5FA;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 60px;
}

.hero-security-note span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Interactive App Showcase Window */
.app-mockup-wrapper {
  margin: 0 auto;
  max-width: 1040px;
  perspective: 1000px;
}

.app-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 60px rgba(59, 130, 246, 0.15);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mockup-header {
  height: 44px;
  background: rgba(10, 14, 23, 0.8);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.mockup-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-os-tag {
  display: flex;
  gap: 8px;
}

.os-badge {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 480px;
  background: #0B0F19;
}

.mockup-sidebar {
  background: rgba(15, 21, 35, 0.8);
  border-right: 1px solid var(--border-light);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-item:hover, .sidebar-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}

.sidebar-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mockup-main {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Phone Frame Simulator */
.phone-simulator {
  width: 230px;
  height: 440px;
  background: #000000;
  border-radius: 36px;
  border: 4px solid #334155;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-camera {
  width: 80px;
  height: 18px;
  background: #1E293B;
  margin: 8px auto 0;
  border-radius: 10px;
}

.phone-screen {
  flex: 1;
  margin: 10px;
  background: linear-gradient(180deg, #1E1E2E 0%, #0F0F1A 100%);
  border-radius: 24px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  position: relative;
}

.phone-screen-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-header-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94A3B8;
}

.phone-app-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-nav-bar {
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-btn {
  width: 14px;
  height: 14px;
  border: 2px solid #94A3B8;
  border-radius: 3px;
}

.phone-btn.circle {
  border-radius: 50%;
}

.phone-btn.back {
  border-right: none;
  border-top: none;
  transform: rotate(45deg);
  width: 10px;
  height: 10px;
}

/* Feature Details Showcase Panel inside Mockup */
.mockup-feature-panel {
  flex: 1;
  padding-left: 24px;
  text-align: left;
}

.feature-panel-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-panel-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.feature-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-panel-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #CBD5E1;
}

.feature-panel-list svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-emerald);
}

/* Section Common */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--primary-cyan);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.15);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-blue { background: rgba(59, 130, 246, 0.15); color: #60A5FA; }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: #34D399; }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: #A78BFA; }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #22D3EE; }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }

.feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Architecture & OS Specs Tabs */
.tech-specs-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
}

.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover, .tab-btn.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--primary-blue);
  color: #ffffff;
}

.tab-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.platform-content {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.platform-content.active {
  display: grid;
}

.spec-item {
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.spec-item-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.spec-item-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.spec-item-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Download Modal & Banner */
.download-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.08) 100%);
  border-top: 1px solid var(--border-light);
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
}

.dl-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.dl-os-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.dl-mac-icon {
  background: linear-gradient(135deg, #1E293B, #334155);
}

.dl-win-icon {
  background: linear-gradient(135deg, #0284C7, #2563EB);
}

.dl-os-icon svg {
  width: 36px;
  height: 36px;
  fill: #fff;
}

.dl-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dl-card-ver {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.dl-features-mini {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  text-align: left;
  width: 100%;
}

.dl-features-mini li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-features-mini svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-emerald);
  flex-shrink: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 900px) {
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .nav-links {
    display: none;
  }
}

/* ── 다운로드 전제조건(ADB) 안내 ─────────────────────────────────────────
   ADB가 없으면 앱은 켜지지만 기기를 못 잡는다. 다운로드 버튼 바로 아래에
   붙여 내려받기 전에 반드시 보이도록 한다. */
.prereq {
  /* .download-section이 text-align:center라 그대로 두면 설명문과 단계 목록까지
     가운데 정렬돼 읽기 어렵다. 이 블록은 문서형이라 왼쪽 정렬로 되돌린다. */
  text-align: left;
  margin-top: 40px;
  padding: 28px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.07), rgba(245, 158, 11, 0.02));
}

.prereq-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.prereq-icon { font-size: 1.15rem; line-height: 1; }

.prereq-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.prereq-desc {
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.prereq-desc strong { color: var(--text-primary); font-weight: 600; }

.prereq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.prereq-item {
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--bg-glass);
}

.prereq-os {
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-cyan);
}

.prereq-code {
  display: block;
  overflow-x: auto;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: #7DD3FC;
  white-space: nowrap;
}

.prereq-note {
  margin-top: 9px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.prereq-note code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  color: var(--text-secondary);
}

.prereq-phone {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.prereq-phone strong { color: var(--text-primary); font-weight: 600; }

.prereq-phone-label {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  font-size: 0.74rem;
  font-weight: 700;
  color: #93C5FD;
}

.prereq-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
}

.prereq-link:hover { text-decoration: underline; }

.prereq-phone-head { margin-bottom: 12px; }

.prereq-steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.prereq-steps li::marker { color: var(--primary-blue); font-weight: 700; }
.prereq-steps strong { color: var(--text-primary); font-weight: 600; }

.prereq-phone .prereq-note { margin-top: 12px; }

/* 좁은 화면에서는 설치 명령을 가로 스크롤 대신 줄바꿈시킨다.
   복사해서 쓰는 문구라 한눈에 다 보이는 편이 낫다. */
@media (max-width: 640px) {
  .prereq { padding: 20px; }
  .prereq-code { white-space: pre-wrap; word-break: break-word; }
}

/* ── 한국어 줄바꿈 교정 ────────────────────────────────────────────────
   브라우저 기본값은 CJK를 글자 단위로 끊어서 "연결해보세 / 요." 처럼
   단어 한가운데서 줄이 바뀐다. keep-all로 어절(공백) 단위로만 끊고,
   URL·긴 영문처럼 끊을 곳이 없는 토큰만 예외적으로 강제 줄바꿈해
   레이아웃이 넘치지 않게 한다. */
body {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 제목은 줄 길이를 고르게 나눠 "하세요" 같은 한 단어짜리 끝줄을 막는다. */
h1, h2, h3,
.hero-title,
.section-title,
.feature-card-title,
.feature-panel-title,
.dl-card-title,
.prereq-title {
  text-wrap: balance;
}

/* 본문은 마지막 줄에 한 단어만 남는 것(고아 줄)을 피한다. */
p,
.hero-subtitle,
.section-desc,
.feature-card-desc,
.feature-panel-desc,
.spec-item-sub,
.prereq-desc,
.prereq-note,
.prereq-steps li,
.prereq-phone {
  text-wrap: pretty;
}

/* 설치 명령은 문장이 아니라 복사 대상이라 위 규칙에서 제외한다. */
.prereq-code {
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: nowrap;
}

@media (max-width: 640px) {
  .prereq-code {
    word-break: break-all;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }
}
