/* Home page. Sections: hero, stories, license, compare, process, exam, VE, contact, FAQ. */
.home {
  overflow-x: hidden;
}
.home section {
  scroll-margin-top: 64px;
}

/* Shared section frame */
.section {
  padding: 96px 0;
}
.section-intro {
  display: grid;
  gap: 16px;
}
.section-intro h2,
.section-heading {
  margin: 16px 0 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.section-intro > p {
  max-width: 760px;
  margin: 0;
  color: var(--vk-gray-70);
  font-size: 17px;
  line-height: 1.7;
}
.home-lead {
  color: var(--vk-gray-70);
  font-size: 17px;
  line-height: 1.7;
}
.home-note {
  margin-top: 20px;
  color: var(--vk-gray-50);
  font-size: 13px;
  line-height: 24px;
}

/* Hero */
.home-hero {
  background: var(--vk-primary-5);
}
.home-hero-body {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  justify-content: start;
  padding: 80px 0;
}
.home-hero h1 {
  max-width: 680px;
  margin: 24px 0 0.67em;
  color: var(--vk-gray-90);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.home-hero h1 span {
  color: var(--vk-primary-60);
}
.home-hero h1 + p {
  max-width: 620px;
  margin-top: 24px;
  color: var(--vk-gray-70);
  font-size: 18px;
  line-height: 1.7;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

/* Stories: see testimonials/testimonials.css */

/* License levels: the three rows take turns being highlighted */
.license-levels {
  overflow: hidden;
  margin-top: 64px;
  border-block: 1px solid var(--vk-gray-20);
}
.license-row {
  --license-delay: 0s;
  display: grid;
  grid-template-columns: 56px 1fr 1.5fr 1fr;
  align-items: center;
  gap: 24px;
  min-height: 120px;
  padding: 24px;
  animation: license-row-highlight 9s ease-in-out infinite;
  animation-delay: var(--license-delay);
}
.license-row + .license-row {
  border-top: 1px solid var(--vk-gray-20);
}
.license-row:nth-child(2) {
  --license-delay: -6s;
}
.license-row:nth-child(3) {
  --license-delay: -3s;
}
.license-row > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--vk-secondary-5);
  color: var(--vk-primary-60);
  font-size: 14px;
  font-weight: 700;
}
.license-row h3 {
  font-size: 22px;
  font-weight: 700;
  transform-origin: left center;
  animation: license-title-highlight 9s ease-in-out infinite;
  animation-delay: var(--license-delay);
}
.license-row p {
  color: var(--vk-gray-70);
  font-size: 16px;
  line-height: 1.7;
}
.license-row > b {
  color: var(--vk-gray-50);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
@keyframes license-row-highlight {
  0%,
  26%,
  100% {
    background: var(--vk-primary-5);
    box-shadow: inset 4px 0 var(--vk-primary-50);
  }
  33%,
  93% {
    background: transparent;
    box-shadow: inset 0 0 transparent;
  }
}
@keyframes license-title-highlight {
  0%,
  26%,
  100% {
    color: var(--vk-primary-60);
    transform: scale(1.1);
  }
  33%,
  93% {
    color: var(--vk-gray-90);
    transform: scale(1);
  }
}
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.benefit {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--vk-gray-20);
  border-left: 4px solid var(--vk-primary-50);
  border-radius: var(--vk-radius-md);
  padding: 18px 20px;
}
.benefit b {
  font-size: 17px;
}
.benefit span {
  margin-top: 4px;
  color: var(--vk-gray-50);
  font-size: 14px;
}

/* Korea / US comparison */
#compare {
  background: var(--vk-gray-5);
}
.comparison {
  overflow: hidden;
  margin-top: 64px;
  border: 1px solid var(--vk-gray-20);
  border-radius: var(--vk-radius-lg);
  background: #fff;
}
.comparison-row {
  display: grid;
  grid-template-columns: 0.55fr 1fr 1fr;
  border-bottom: 1px solid var(--vk-gray-20);
}
.comparison-row > * {
  padding: 18px 20px;
}
.comparison-row span {
  color: var(--vk-gray-50);
  font-size: 15px;
}
.comparison-row b {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.comparison-row.head {
  background: var(--vk-secondary-70);
  color: #fff;
}
.comparison-row.head span {
  color: rgba(255, 255, 255, 0.78);
}

/* Process */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
  padding: 0;
  list-style: none;
}
.process-list li {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--vk-gray-20);
  border-radius: var(--vk-radius-lg);
  padding: 24px;
}
.process-list li:hover {
  border-color: var(--vk-primary-20);
  box-shadow: 0 8px 20px rgba(30, 40, 50, 0.07);
  transform: translateY(-2px);
}
.process-list > li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--vk-primary-50);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.process-list h3 {
  font-size: 20px;
  font-weight: 700;
}
.process-list p {
  margin-top: 9px;
  color: var(--vk-gray-70);
  font-size: 15px;
  line-height: 1.7;
}
.process-list a {
  color: var(--vk-primary-60);
}

/* Exam panel */
.home-exam {
  padding-bottom: 96px;
}
.exam-panel {
  display: grid;
  overflow: hidden;
  border-radius: var(--vk-radius-xl);
  background: var(--vk-primary-70);
  color: #fff;
}
.exam-panel > div:first-child,
.exam-check {
  padding: 48px;
}
.exam-panel .vk-eyebrow {
  color: #fff;
}
.exam-panel .vk-eyebrow::before {
  background: #fff;
}
.exam-panel h2 {
  margin-top: 19px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.045em;
}
.exam-panel > div:first-child > p:not(.vk-eyebrow) {
  max-width: 544px;
  margin-top: 27px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.7;
}
.exam-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.exam-check {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.12);
}
.exam-check-heading {
  max-width: 760px;
}
.exam-check-heading > span {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--vk-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.exam-check-heading h3 {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.exam-check-heading > p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.6;
}
.exam-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.exam-check-list li {
  display: grid;
  min-height: 108px;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--vk-radius-md);
  background: rgba(255, 255, 255, 0.07);
  padding: 18px;
}
.exam-check-list li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--vk-primary-70);
  font-family: var(--vk-font-mono);
  font-size: 12px;
  font-weight: 700;
}
.exam-check-list b {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.exam-check-list p,
.exam-check-list small {
  display: block;
  font-size: 12.5px;
}
.exam-check-list p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}
.exam-check-list small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.55;
}

/* Becoming a VE */
#ve {
  position: relative;
  background: var(--vk-secondary-5);
}

/* 모집 마감 오버레이: 섹션 전체를 덮고 아래 내용을 흐리게 */
#ve-recruit-close {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: rgba(10, 12, 16, 0.6);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}

.ve-recruit-close-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  color: #fff;
  text-align: center;
}

.ve-recruit-close-message strong {
  font-size: 28px;
  font-weight: 700;
}

.ve-recruit-close-message span {
  font-size: 16px;
  opacity: 0.75;
}

.ve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.ve-grid .home-lead {
  margin-top: 28px;
}
.ve-heading {
  margin-bottom: 10px;
}
.ve-list {
  border-top: 1px solid rgba(24, 33, 43, 0.2);
}
.ve-list p {
  display: flex;
  min-height: 64px;
  gap: 20px;
  border-bottom: 1px solid rgba(24, 33, 43, 0.2);
  padding: 19px 0;
  font-size: 16px;
  font-weight: 600;
}
.ve-list span {
  color: var(--vk-primary-60);
  font-family: var(--vk-font-mono);
  font-size: 12px;
}
.ve-cta {
  margin-top: 36px;
}

/* Contact */
#contact {
  background: #fff;
}
.contact-body {
  max-width: 720px;
  text-align: center;
}
.contact-body .vk-eyebrow {
  justify-content: center;
}
.contact-body .section-heading {
  margin-top: 20px;
}
.contact-body > p:not(.vk-eyebrow) {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--vk-gray-70);
  font-size: 17px;
  line-height: 1.7;
}
.contact-email {
  display: inline-block;
  margin-top: 36px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-weight: 700;
  text-decoration: none;
}

/* FAQ carousel */
.faq-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.faq-head h3 {
  margin-top: 13px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.faq-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-controls > span {
  min-width: 92px;
  margin-right: 12px;
  color: var(--vk-gray-70);
  font-family: var(--vk-font-mono);
  font-size: 12px;
  text-align: right;
}
.faq-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--vk-gray-30);
  border-radius: var(--vk-radius-md);
  background: #fff;
  color: var(--vk-gray-90);
  font-size: 16px;
  cursor: pointer;
}
.faq-controls button:hover {
  border-color: var(--vk-gray-90);
  background: var(--vk-gray-90);
  color: #fff;
}
.faq-controls button:disabled {
  border-color: var(--vk-gray-20);
  background: var(--vk-gray-5);
  color: var(--vk-gray-30);
  cursor: not-allowed;
}
.faq-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  margin-top: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.faq-track::-webkit-scrollbar {
  display: none;
}
.faq-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  border: 1px solid var(--vk-gray-20);
  border-radius: var(--vk-radius-lg);
  background: #fff;
  padding: 27px;
  scroll-snap-align: start;
}
.faq-card > span {
  color: var(--vk-primary-60);
  font-family: var(--vk-font-mono);
  font-size: 12px;
}
.faq-card h4 {
  margin-top: 40px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.025em;
}
.faq-card p {
  margin-top: 44px;
  color: var(--vk-gray-70);
  font-size: 14px;
  line-height: 1.75;
}
.faq-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--vk-gray-70);
  font-size: 13px;
}
.faq-hint::before {
  content: '↔';
  color: var(--vk-primary-60);
  font-size: 16px;
}

@media (min-width: 1024px) {
  .exam-check {
    display: grid;
    grid-template-columns: minmax(208px, 0.42fr) 1fr;
    align-items: start;
    gap: 80px;
  }
  .exam-check-list {
    margin-top: 0;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .faq-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }
}
@media (max-width: 900px) {
  .home-hero-body,
  .ve-grid {
    grid-template-columns: 1fr;
  }
  .section-intro {
    gap: 24px;
  }
  .benefits,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
  .exam-check {
    border-top-color: rgba(255, 255, 255, 0.2);
  }
}
@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  .home-hero-body {
    padding: 48px 0;
  }
  .home-hero h1 {
    font-size: 38px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .license-row {
    grid-template-columns: 48px 1fr;
  }
  .license-row p,
  .license-row > b {
    grid-column: 2;
  }
  .comparison {
    overflow-x: auto;
  }
  .comparison-row {
    min-width: 620px;
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .process-list li {
    min-height: 0;
  }
  .exam-panel > div:first-child,
  .exam-check {
    padding: 32px 24px;
  }
  .exam-check-list {
    grid-template-columns: 1fr;
  }
  .exam-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .exam-actions .vk-btn {
    justify-content: space-between;
  }
  .faq-head h3 {
    font-size: 24px;
  }
  .faq-controls > span {
    display: none;
  }
  .faq-track {
    grid-auto-columns: 87%;
  }
  .faq-card {
    min-height: 296px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .license-row,
  .license-row h3 {
    animation: none;
  }
}
