:root {
  --ink: #172033;
  --muted: #667085;
  --line: #d9e2ee;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --blue: #1f6feb;
  --blue-dark: #174ea6;
  --green: #1f9d72;
  --amber: #f5a524;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(19, 33, 56, 0.14);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 238, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  color: #344054;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover {
  background: var(--soft);
  color: var(--blue-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) 42px;
  background:
    linear-gradient(115deg, rgba(245, 248, 251, 0.96), rgba(255, 255, 255, 0.75)),
    linear-gradient(45deg, rgba(31, 111, 235, 0.11), rgba(31, 157, 114, 0.09));
}

.sub-hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(245, 248, 251, 0.98), rgba(255, 255, 255, 0.82)),
    linear-gradient(45deg, rgba(31, 111, 235, 0.12), rgba(245, 165, 36, 0.1));
}

.sub-hero > div {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  word-break: keep-all;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: #475467;
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.06);
}

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

.button.primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 36px 0 0;
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(217, 226, 238, 0.9);
  border-radius: var(--radius);
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 860px);
  max-width: 860px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  max-width: 836px;
  height: clamp(360px, 38vw, 560px);
  max-height: 560px;
  object-fit: cover;
  object-position: top left;
  border-radius: 6px;
}

.floating-panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(260px, 58%);
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(23, 32, 51, 0.15);
}

.floating-panel span,
.floating-panel small {
  display: block;
  color: var(--muted);
}

.floating-panel strong {
  display: block;
  margin: 2px 0;
  font-size: 20px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band p {
  margin: 0;
  padding: 20px;
  background: #fff;
  text-align: center;
  font-weight: 800;
}

.section,
.video-section,
.cta-section {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 32px;
}

.section-heading h2,
.video-section h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.compact p,
.cta-section p {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ecosystem-section {
  background: #fbfcfe;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ecosystem-grid article {
  min-height: 270px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.05);
}

.ecosystem-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 32px;
  padding: 4px 10px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
}

.ecosystem-grid h3 {
  margin: 20px 0 10px;
  font-size: 22px;
}

.ecosystem-grid p {
  margin: 0;
  color: var(--muted);
}

.custom-form-note {
  padding: clamp(42px, 6vw, 74px) clamp(20px, 5vw, 72px);
  background: #102033;
  color: #fff;
}

.custom-form-note > div {
  max-width: 980px;
}

.custom-form-note .eyebrow {
  color: #98e0c2;
}

.custom-form-note h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
}

.custom-form-note p:not(.eyebrow) {
  max-width: 820px;
  color: #d0d5dd;
}

.form-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.form-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.05);
}

.form-card .screen-shot {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.form-card .screen-shot img {
  aspect-ratio: 16 / 10;
  background: #f8fafc;
}

.form-card h3 {
  margin: 20px 20px 6px;
  font-size: 21px;
}

.form-card p {
  margin: 0 20px 22px;
  color: var(--muted);
}

.feature-card {
  min-height: 250px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.05);
}

.feature-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius);
  font-weight: 900;
}

.feature-card h3 {
  margin: 20px 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1.25fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--soft);
}

.compact {
  margin: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue-dark);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  counter-increment: step;
  position: relative;
  min-height: 112px;
  padding: 24px 24px 24px 84px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  font-size: 21px;
}

.timeline span {
  margin-top: 6px;
  color: var(--muted);
}

.checklist-section {
  background: #fbfcfe;
}

.checklist-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.checklist-grid article,
.faq-grid details {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.05);
}

.checklist-grid strong {
  display: block;
  font-size: 21px;
}

.checklist-grid p,
.faq-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.faq-grid summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: #101828;
  color: #fff;
}

.video-section .eyebrow {
  color: #92c5ff;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-section {
  background: var(--soft);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-grid a {
  display: block;
  min-height: 132px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.guide-grid a:hover {
  border-color: rgba(31, 111, 235, 0.5);
  box-shadow: 0 14px 32px rgba(23, 32, 51, 0.08);
}

.guide-grid strong,
.guide-grid span {
  display: block;
}

.guide-grid strong {
  font-size: 19px;
}

.guide-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.screen-shot {
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: zoom-in;
}

.screen-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.24s ease;
}

.screen-shot:hover img {
  transform: scale(1.035);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.75fr);
  gap: 28px;
  align-items: center;
  background: linear-gradient(120deg, #edf7f3, #f7f9fc);
  border-top: 1px solid var(--line);
}

.cta-actions {
  justify-content: flex-end;
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: #d0d5dd;
  background: #111827;
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer a {
  display: inline-flex;
  margin-left: 14px;
  color: #fff;
  font-weight: 800;
}

.site-footer > p {
  grid-column: 1 / -1;
  color: #98a2b3;
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 64px 20px 28px;
  background: rgba(9, 13, 23, 0.84);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  min-width: 72px;
  min-height: 42px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .video-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 680px);
    max-width: 680px;
  }

  .hero-visual img {
    max-width: 656px;
    height: clamp(280px, 54vw, 420px);
    max-height: 420px;
  }

  .feature-grid,
  .ecosystem-grid,
  .checklist-grid,
  .faq-grid,
  .guide-grid,
  .form-gallery,
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .hero-stats,
  .trust-band,
  .feature-grid,
  .ecosystem-grid,
  .checklist-grid,
  .faq-grid,
  .guide-grid,
  .form-gallery,
  .screen-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .floating-panel {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .hero-visual img {
    height: clamp(240px, 68vw, 360px);
    max-height: 360px;
  }

  .timeline li {
    padding: 22px 20px 22px 74px;
  }

  .site-footer a {
    margin: 10px 14px 0 0;
  }
}
