/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --container: 1400px;

  --section-y: 120px;
  --section-y-md: 96px;
  --section-y-mobile: 72px;

  --hero-main-height: 100vh;
  --hero-sub-height: 100vh;
  --hero-height-mobile: 100svh;

  --font-h1: clamp(42px, 6vw, 82px);
  --font-h2: clamp(32px, 4vw, 56px);
  --font-h3: clamp(22px, 2vw, 30px);
  --font-body: 16px;
  --font-small: 14px;

  --color-bg: #ffffff;
  --color-dark: #111111;
  --color-muted: #666666;
  --color-line: #e5e5e5;
  --color-primary: #111111;
  --color-primary-hover: #333333;
  --color-on-dark: #ffffff;
  --color-overlay: rgba(0, 0, 0, 0.45);
  --color-section-muted: #f7f7f7;
  --color-section-dark-bg: #111111;

  /* on-dark opacity scale */
  --color-on-dark-85: rgba(255, 255, 255, 0.85);
  --color-on-dark-75: rgba(255, 255, 255, 0.75);
  --color-on-dark-70: rgba(255, 255, 255, 0.70);
  --color-on-dark-55: rgba(255, 255, 255, 0.55);
  --color-on-dark-50: rgba(255, 255, 255, 0.50);
  --color-on-dark-45: rgba(255, 255, 255, 0.45);
  --color-on-dark-30: rgba(255, 255, 255, 0.30);
  --color-on-dark-12: rgba(255, 255, 255, 0.12);
  --color-on-dark-10: rgba(255, 255, 255, 0.10);
  --color-on-dark-08: rgba(255, 255, 255, 0.08);
  --color-on-dark-07: rgba(255, 255, 255, 0.07);
  --color-on-dark-05: rgba(255, 255, 255, 0.05);

  --radius-card: 4px;
  --radius-button: 4px;
  --radius-input: 4px;

  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --gap-xl: 64px;

  --header-h: 72px;
  --transition: 0.25s ease;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-header: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-size: var(--font-body);
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sound-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-on-dark-30);
  border-radius: var(--radius-button);
  color: var(--color-on-dark);
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.sound-toggle:hover {
  border-color: var(--color-on-dark-55);
  background: rgba(17, 17, 17, 0.9);
  transform: translateY(-1px);
}

.sound-toggle-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-toggle-icon-off,
.sound-toggle.is-muted .sound-toggle-icon-on {
  display: none;
}

.sound-toggle.is-muted .sound-toggle-icon-off {
  display: block;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gap-lg);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: var(--color-bg);
  border-bottom-color: var(--color-line);
  box-shadow: var(--shadow-header);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.header-logo-text {
  font-size: 16px;
  font-weight: 900;
  color: #4a90e2;
  letter-spacing: 0.04em;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
}

.site-nav a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-on-dark-85);
  transition: color var(--transition);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-on-dark);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-on-dark);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-header.scrolled .site-nav a {
  color: var(--color-muted);
}

.site-header.scrolled .site-nav a::after {
  background: var(--color-dark);
}

.site-header.scrolled .site-nav a:hover,
.site-header.scrolled .site-nav a.active {
  color: var(--color-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--gap-xs);
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-on-dark);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
  border-radius: 2px;
}

.site-header.scrolled .hamburger span {
  background: var(--color-dark);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-lg);
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-size: var(--font-h3);
  font-weight: 600;
  color: var(--color-on-dark);
  letter-spacing: -0.01em;
}

.mobile-nav a.active {
  opacity: 0.5;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--hero-main-height);
  min-height: var(--hero-main-height);
  background: var(--color-dark);
}

.hero-sub {
  height: var(--hero-sub-height);
  min-height: var(--hero-sub-height);
}

@supports (height: 100svh) {
  @media (max-width: 767px) {
    .hero,
    .hero-sub {
      height: var(--hero-height-mobile);
      min-height: var(--hero-height-mobile);
    }
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-on-dark);
  text-align: center;
  padding-block: var(--gap-xl);
}

.hero-label {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a90e2;
  margin-bottom: var(--gap-md);
}

.hero-content h1 {
  font-size: var(--font-h1);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--gap-md);
}

.hero-content .hero-sub-copy {
  font-size: clamp(16px, 2vw, 22px);
  color: #ffffff;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--gap-lg);
}


.hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);
  font-size: var(--font-small);
  color: var(--color-on-dark-55);
  margin-bottom: var(--gap-md);
}

.hero-breadcrumb span {
  opacity: 0.4;
}

.hero-content h2 {
  font-size: var(--font-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--gap-md);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--gap-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-xs);
  color: var(--color-on-dark-50);
  font-size: var(--font-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECTION
   ============================================================ */
.section {
  padding-block: var(--section-y);
  background: var(--color-bg);
}

.section-dark {
  background: var(--color-section-dark-bg);
  color: var(--color-on-dark);
}

.section-muted {
  background: var(--color-section-muted);
}

.section-cta {
  padding-block: var(--section-y);
  text-align: center;
}

.section-compact {
  padding-block: var(--section-y-md);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--gap-xl);
}

.section-label {
  display: inline-block;
  font-size: var(--font-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a90e2;
  margin-bottom: var(--gap-sm);
}

.section-dark .section-label {
  color: #4a90e2;
}

.section-header h2 {
  font-size: var(--font-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--gap-sm);
}

.section-header p {
  font-size: var(--font-body);
  color: var(--color-muted);
  line-height: 1.7;
}

.section-dark .section-header p {
  color: var(--color-on-dark-55);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
  padding: 14px var(--gap-lg);
  border-radius: var(--radius-button);
  font-size: var(--font-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-on-dark);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn-outline:hover {
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.btn-light {
  background: var(--color-on-dark);
  color: var(--color-dark);
  border-color: var(--color-on-dark);
}

.btn-light:hover {
  background: var(--color-on-dark-85);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-on-dark);
  border-color: var(--color-on-dark-50);
}

.btn-outline-light:hover {
  border-color: var(--color-on-dark);
  background: var(--color-on-dark-10);
}

.btn-group {
  display: flex;
  gap: var(--gap-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: var(--gap-lg);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.section-dark .card {
  background: var(--color-on-dark-05);
  border-color: var(--color-on-dark-10);
}

.section-muted .card {
  background: var(--color-bg);
}

.business-visual-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../images/main_page/section_background.webp") center / cover no-repeat;
}

.business-visual-section .container {
  position: relative;
  z-index: 1;
}

.business-visual-section .section-header h2 {
  color: var(--color-on-dark);
}

.business-visual-section .section-label {
  color: #4aa3ff;
}

.business-visual-section .section-header p {
  color: var(--color-on-dark-75);
}

.business-visual-section .card {
  background: #111111;
  border-color: #ffffff;
}

.business-visual-section .card-icon {
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.08);
}

.business-visual-section .card-icon svg {
  stroke: #ffffff;
}

.business-visual-section .card h3,
.business-visual-section .card p {
  text-align: center;
  color: #ffffff;
}

.business-visual-section .btn-primary {
  background: #111111;
  border-color: #ffffff;
  color: #ffffff;
}

.business-visual-section .btn-primary:hover {
  background: #222222;
  border-color: #ffffff;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-section-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--gap-md);
}

.section-dark .card-icon {
  background: var(--color-on-dark-08);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-dark);
  fill: none;
}

.section-dark .card-icon svg {
  stroke: var(--color-on-dark);
}

.card h3 {
  font-size: var(--font-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--gap-sm);
}

.card p {
  font-size: var(--font-small);
  color: var(--color-muted);
  line-height: 1.7;
}

.section-dark .card p {
  color: var(--color-on-dark-50);
}

.joint-partners {
  max-width: 820px;
  margin-inline: auto;
}

.partner-card {
  padding: var(--gap-xl);
}

.partner-card h3 {
  margin-bottom: var(--gap-md);
  text-align: center;
}

.partner-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap-xl);
}

.partner-list li {
  position: relative;
  padding: 14px 0 14px 16px;
  border-top: 1px solid var(--color-line);
  font-size: var(--font-small);
  line-height: 1.55;
  color: var(--color-muted);
}

.partner-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4a90e2;
}

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.img-placeholder {
  background: var(--color-line);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: var(--font-small);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.card .img-placeholder {
  aspect-ratio: auto;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder-tall {
  aspect-ratio: 4 / 5;
}

.img-placeholder-square {
  aspect-ratio: 1;
}

.section-dark .img-placeholder {
  background: var(--color-on-dark-07);
  color: var(--color-on-dark-30);
}

/* ============================================================
   SPLIT LAYOUT
   ============================================================ */
.split-layout {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: var(--gap-xl);
  align-items: center;
}

.split-layout .img-placeholder {
  min-height: 420px;
}

.split-image {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-section-muted);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-layout.split-reverse {
  grid-template-columns: 55fr 45fr;
  direction: rtl;
}

.split-layout.split-reverse > * {
  direction: ltr;
}

.split-text h2 {
  font-size: var(--font-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--gap-md);
}

.split-text p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: var(--gap-lg);
}

.section-dark .split-text p {
  color: var(--color-on-dark-55);
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}

.feature-item {
  display: flex;
  gap: var(--gap-md);
  align-items: flex-start;
}

.feature-num {
  flex-shrink: 0;
  min-width: 1.6em;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-line);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.section-dark .feature-num {
  color: var(--color-on-dark-12);
}

.feature-text h3 {
  font-size: var(--font-h3);
  font-weight: 600;
  margin-bottom: var(--gap-xs);
}

.feature-text p {
  font-size: var(--font-small);
  color: var(--color-muted);
  line-height: 1.7;
}

.section-dark .feature-text p {
  color: var(--color-on-dark-50);
}

/* ============================================================
   FEATURE PANELS
   ============================================================ */
.section-header-left {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: var(--gap-xl);
  align-items: end;
  text-align: left;
}

.section-header-left p {
  margin-bottom: 0;
}

.feature-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-on-dark-12);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.feature-panel {
  min-height: 260px;
  padding: var(--gap-lg);
  border-right: 1px solid var(--color-on-dark-12);
  border-bottom: 1px solid var(--color-on-dark-12);
  background: var(--color-on-dark-05);
}

.feature-panel:nth-child(4n),
.feature-panel:last-child {
  border-right: 0;
}

.feature-panel:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.feature-panel:nth-child(4) {
  border-bottom: 0;
}

.feature-panel-large {
  grid-column: span 2;
}

.feature-panel-accent {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-on-dark);
  color: var(--color-dark);
}

.feature-panel-kicker {
  display: block;
  margin-bottom: var(--gap-lg);
  color: var(--color-on-dark-45);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-panel h3 {
  max-width: 360px;
  margin-bottom: var(--gap-sm);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature-panel p {
  max-width: 420px;
  color: var(--color-on-dark-55);
  font-size: var(--font-small);
  line-height: 1.8;
}

.feature-panel-accent .feature-panel-kicker,
.feature-panel-accent p {
  color: var(--color-muted);
}

/* ============================================================
   CONNECT HERO
   ============================================================ */
.connect-hero {
  position: relative;
  overflow: hidden;
}

.connect-hero-copy {
  max-width: 980px;
}

.connect-hero-copy h2 {
  margin-bottom: var(--gap-md);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.connect-hero-copy p {
  max-width: 720px;
  color: var(--color-muted);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.75;
}

/* ============================================================
   STEPS / PROCESS
   ============================================================ */
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
  counter-reset: step;
}

.step-item {
  position: relative;
  padding-top: var(--gap-xl);
}

.step-item::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--color-line);
  letter-spacing: -0.03em;
  line-height: 1;
}

.section-dark .step-item::before {
  color: var(--color-on-dark-10);
}

.step-item h3 {
  font-size: var(--font-h3);
  font-weight: 600;
  margin-bottom: var(--gap-xs);
}

.step-item p {
  font-size: var(--font-small);
  color: var(--color-muted);
  line-height: 1.7;
}

.section-dark .step-item p {
  color: var(--color-on-dark-50);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
}

.section-dark .faq-item {
  border-bottom-color: var(--color-on-dark-10);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap-md);
  padding-block: var(--gap-md);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: var(--font-body);
  font-weight: 600;
  color: inherit;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-muted);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding-bottom: var(--gap-md);
  font-size: var(--font-small);
  color: var(--color-muted);
  line-height: 1.8;
}

.section-dark .faq-answer-inner p {
  color: var(--color-on-dark-50);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--gap-xl);
  align-items: start;
}

.contact-form-wrap-single {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.contact-form-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.contact-form-main h2 {
  font-size: var(--font-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--gap-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.form-row {
  display: grid;
  gap: var(--gap-md);
}

.form-row-2 {
  grid-template-columns: 1fr 1fr;
}

.form-hint {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-top: var(--gap-xs);
}

.required {
  color: var(--color-dark);
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-sm);
  cursor: pointer;
  font-size: var(--font-small);
  color: var(--color-dark);
}

.check-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-dark);
}

.contact-info {
  background: var(--color-section-muted);
  border: 1px solid var(--color-dark);
  border-radius: var(--radius-card);
  padding: var(--gap-lg);
}

.section-muted .contact-info {
  background: var(--color-bg);
}

.contact-info h2 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--gap-lg);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.contact-info-list li {
  display: flex;
  gap: var(--gap-sm);
  align-items: flex-start;
}

.contact-info-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--color-dark);
  fill: none;
  margin-top: 2px;
}

.contact-info-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-list li strong {
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-dark);
}

.contact-info-list li span {
  font-size: var(--font-small);
  color: var(--color-muted);
  line-height: 1.6;
}

.contact-info-list li span a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-info-list li span a:hover {
  color: var(--color-dark);
}

.company-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: var(--gap-xl);
  align-items: stretch;
}

.company-contact-layout .contact-info {
  height: 100%;
}

.company-map-placeholder {
  min-height: 320px;
  height: 100%;
  border: 1px solid var(--color-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
}

.form-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
}

.form-group label {
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px var(--gap-md);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-input);
  font-size: var(--font-body);
  font-family: inherit;
  color: var(--color-dark);
  background: var(--color-bg);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-dark);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-sm);
  font-size: var(--font-small);
  color: var(--color-muted);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-dark);
}

.form-submit {
  margin-top: var(--gap-md);
  text-align: center;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--color-dark);
  padding-block: var(--section-y);
  text-align: center;
  color: var(--color-on-dark);
}

.cta-band h2 {
  font-size: var(--font-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--gap-sm);
}

.cta-band p {
  color: var(--color-on-dark-55);
  margin-bottom: var(--gap-lg);
  max-width: 480px;
  margin-inline: auto;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
  text-align: center;
}

.stat-item .stat-num {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--gap-xs);
}

.stat-item .stat-label {
  font-size: var(--font-small);
  color: var(--color-muted);
}

.section-dark .stat-item .stat-label {
  color: var(--color-on-dark-45);
}

/* ============================================================
   COMPANY INFO
   ============================================================ */
.company-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: start;
}

.company-info dt {
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--gap-xs);
}

.company-info dd {
  font-size: var(--font-body);
  margin-bottom: var(--gap-md);
  line-height: 1.6;
}

/* ============================================================
   PRIVACY NOTE
   ============================================================ */
.privacy-note {
  background: var(--color-section-muted);
  border-radius: var(--radius-input);
  padding: var(--gap-md);
  font-size: var(--font-small);
  color: var(--color-muted);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-dark);
  color: var(--color-on-dark-50);
  padding-block: var(--gap-xl);
  font-size: var(--font-small);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--gap-xl);
  align-items: start;
  margin-bottom: var(--gap-lg);
}

.footer-brand .footer-logo {
  font-size: 20px;
  font-weight: 900;
  color: #4a90e2;
  letter-spacing: 0.04em;
  margin-bottom: var(--gap-sm);
}

.footer-brand p {
  line-height: 1.7;
  max-width: 360px;
}

.footer-bizinfo {
  margin-top: var(--gap-sm);
  font-size: 12px;
  opacity: 0.5;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  gap: var(--gap-xl);
}

.footer-nav-group h4 {
  font-size: var(--font-small);
  font-weight: 600;
  color: var(--color-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--gap-md);
}

.footer-nav-group ul {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

.footer-nav-group a {
  transition: color var(--transition);
}

.footer-nav-group a:hover {
  color: var(--color-on-dark);
}

.footer-bottom {
  border-top: 1px solid var(--color-on-dark-08);
  padding-top: var(--gap-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap-md);
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: var(--gap-md);
}

.footer-legal a:hover {
  color: var(--color-on-dark);
}

/* ============================================================
   POLICY MODAL
   ============================================================ */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.policy-modal.is-open {
  display: flex;
}

.policy-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.policy-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  background: var(--color-bg);
  color: var(--color-dark);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.policy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  padding: 24px 28px;
  border-bottom: 1px solid var(--color-line);
}

.policy-modal-header h2 {
  font-size: 22px;
  line-height: 1.3;
}

.policy-modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--color-dark);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.policy-modal-close:hover {
  border-color: var(--color-dark);
  background: var(--color-section-muted);
}

.policy-modal-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.policy-modal-body {
  overflow-y: auto;
  padding: 28px;
}

.policy-modal-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.policy-modal-section h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.4;
}

.policy-modal-section p,
.policy-modal-section li {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.8;
}

.policy-modal-section ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: disc;
  padding-left: 18px;
}

/* ============================================================
   HISTORY / TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: var(--gap-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-line);
}

.section-dark .timeline::before {
  background: var(--color-on-dark-10);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--gap-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--gap-xl));
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-muted);
  transform: translateX(calc(-50% + 0.5px));
}

.timeline-year {
  font-size: var(--font-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: var(--gap-xs);
}

.timeline-item h3 {
  font-size: var(--font-h3);
  font-weight: 600;
  margin-bottom: var(--gap-xs);
}

.timeline-item p {
  font-size: var(--font-small);
  color: var(--color-muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT TYPE CARDS
   ============================================================ */
.contact-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
  margin-bottom: var(--gap-xl);
}

.contact-type-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: var(--gap-lg);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  text-align: center;
}

.contact-type-card .card-icon {
  margin-inline: auto;
}

.contact-type-card:hover,
.contact-type-card.selected {
  border-color: var(--color-dark);
  box-shadow: var(--shadow-card);
}

.contact-type-card h3 {
  font-size: var(--font-body);
  font-weight: 600;
  margin-bottom: var(--gap-xs);
}

.contact-type-card p {
  font-size: var(--font-small);
  color: var(--color-muted);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius-card);
  pointer-events: none;
}

.lightbox-close {
  position: absolute;
  top: var(--gap-md);
  right: var(--gap-md);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
}

.map-zoomable {
  cursor: zoom-in;
}

/* ============================================================
   RESPONSIVE — TABLET (≤1023px)
   ============================================================ */
@media (max-width: 1023px) {
  .container {
    padding-inline: var(--gap-md);
  }

  .section {
    padding-block: var(--section-y-md);
  }

  .cta-band {
    padding-block: var(--section-y-md);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header-left {
    grid-template-columns: 1fr;
    gap: var(--gap-sm);
  }

  .feature-panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-panel:nth-child(4n) {
    border-right: 1px solid var(--color-on-dark-12);
  }

  .feature-panel:nth-child(2n),
  .feature-panel:last-child {
    border-right: 0;
  }

  .feature-panel:nth-child(4),
  .feature-panel:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--color-on-dark-12);
  }

  .feature-panel:last-child {
    border-bottom: 0;
  }

  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-wrap {
    grid-template-columns: 1fr;
  }

  .company-contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    gap: var(--gap-lg);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤767px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --section-y: var(--section-y-mobile);
    --header-h: 60px;
  }

  .container {
    padding-inline: var(--gap-sm);
  }

  .site-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section-header {
    margin-bottom: var(--gap-lg);
  }

  .card-grid,
  .card-grid-4,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .partner-card {
    padding: var(--gap-lg);
  }

  .partner-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-header-left {
    text-align: left;
  }

  .feature-panel-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .feature-panel:nth-child(4n),
  .feature-panel:nth-child(2n) {
    min-height: auto;
    padding: var(--gap-md);
    border-right: 0;
    border-bottom: 1px solid var(--color-on-dark-12);
  }

  .feature-panel-large,
  .feature-panel-accent {
    grid-column: span 1;
  }

  .feature-panel:last-child {
    border-bottom: 0;
  }

  .feature-panel-kicker {
    margin-bottom: var(--gap-md);
  }

  .connect-hero-copy h2 {
    font-size: 40px;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout,
  .split-layout.split-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--gap-md);
  }

  .split-layout .split-text {
    display: contents;
  }

  .split-layout .split-text > p {
    margin-bottom: 0;
  }

  .split-layout .split-text > .btn {
    order: 2;
    justify-self: center;
    margin-top: var(--gap-sm);
  }

  .split-layout > .img-placeholder {
    order: 1;
    min-height: 260px;
  }

  .split-layout > .split-image {
    order: 1;
    min-height: 260px;
  }

  .split-image img {
    min-height: 260px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    grid-template-columns: 1fr;
  }

  .contact-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-map-placeholder {
    min-height: 240px;
  }

  .company-info-grid {
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
  }

  .site-footer {
    padding-block: var(--gap-lg);
  }

  .footer-inner {
    gap: var(--gap-md);
    margin-bottom: var(--gap-md);
  }

  .footer-brand p {
    font-size: 13px;
    max-width: 100%;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--gap-sm) var(--gap-md);
  }

  .footer-nav-group h4 {
    display: none;
  }

  .footer-nav-group ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--gap-sm) var(--gap-md);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-sm);
    padding-top: var(--gap-md);
  }

  .policy-modal {
    padding: 16px;
  }

  .policy-modal-header {
    padding: 20px;
  }

  .policy-modal-header h2 {
    font-size: 20px;
  }

  .policy-modal-body {
    padding: 20px;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .timeline {
    padding-left: var(--gap-lg);
  }

  .cta-band {
    padding-block: var(--section-y-mobile);
  }
}
