:root {
  color-scheme: light;
  --ink: #18283f;
  --navy: #13294b;
  --muted: #4b5e72;
  --line: #dce3ea;
  --surface: #ffffff;
  --canvas: #f7f8fa;
  --amber: #f8b43b;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); line-height: 1.7; word-break: keep-all; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #245fd6; outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 10px 16px; color: #fff; background: var(--navy); }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 40px, 1160px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; min-height: 48px; color: var(--navy); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.wordmark img { width: 40px; height: 40px; border-radius: 10px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 14px; font-weight: 650; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #344a60; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #144fbb; text-decoration: underline; text-underline-offset: 6px; }
.site-footer { margin-top: 100px; padding: 30px 0 40px; border-top: 1px solid var(--line); color: #526579; font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-business strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 16px; }
.footer-business p { margin: 3px 0; }
.footer-business a { text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.18; text-wrap: balance; }
p { text-wrap: pretty; }

/* App collection */
.hub-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 60px; min-height: 405px; padding-block: 72px 66px; }
.hub-hero h1 { max-width: 760px; margin: 0 0 21px; font-size: clamp(2.65rem, 5.7vw, 5rem); letter-spacing: -.035em; font-weight: 780; }
.hub-hero p { max-width: 54ch; margin: 0; color: var(--muted); font-size: 18px; }
.hub-mark { width: clamp(150px, 20vw, 235px); height: auto; aspect-ratio: 1; border-radius: 26%; box-shadow: 0 8px 18px rgb(89 51 2 / .13); }
.collection { padding: 0 0 30px; }
.collection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 0 0 12px; border-bottom: 1px solid #aebccc; }
.collection-heading h2 { margin: 0; font-size: clamp(1.55rem, 2.5vw, 2.1rem); letter-spacing: -.025em; }
.collection-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.app-list { margin: 0; padding: 0; list-style: none; }
.app-link { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 28px; min-height: 164px; padding: 22px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.app-link:hover { background: #edf2f8; }
.app-link img { width: 88px; height: 88px; border-radius: 20px; object-fit: contain; }
.app-link strong { display: block; margin-bottom: 2px; color: var(--navy); font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.025em; line-height: 1.25; }
.app-link small { display: block; max-width: 58ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
.app-link .link-word { color: #1b58b6; font-size: 14px; font-weight: 750; white-space: nowrap; }
.app-link:hover .link-word { text-decoration: underline; text-underline-offset: 4px; }
.hub-note { padding-top: 24px; color: var(--muted); font-size: 14px; }

/* Shared product introduction */
.product-page { --product: #245fd6; --product-soft: #eaf1ff; }
.product-page.checkon { --product: #064b39; --product-soft: #e9f5ee; }
.product-hero { overflow: hidden; background: var(--product-soft); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); align-items: center; gap: clamp(28px, 6vw, 76px); min-height: 570px; padding-block: 68px; }
.product-title { display: flex; align-items: center; gap: 15px; margin-bottom: 28px; color: var(--product); font-size: 15px; font-weight: 750; }
.product-title img { width: 60px; height: 60px; border-radius: 15px; object-fit: contain; }
.hero-copy h1 { margin-bottom: 24px; font-size: clamp(2.55rem, 5vw, 4.6rem); letter-spacing: -.035em; font-weight: 780; }
.hero-copy h1 em { color: var(--product); font-style: normal; }
.hero-copy > p { max-width: 53ch; margin-bottom: 26px; color: #30465a; font-size: 18px; }
.hero-copy .status { margin: 20px 0 0; color: #355165; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; }
.button-primary { background: var(--product); color: #fff; }
.button-primary:hover { filter: brightness(.9); }
.button-secondary { background: #fff; border: 1px solid #b7c6d6; color: var(--product); }
.button-secondary:hover { background: #f2f5f9; }
.screen-frame { display: flex; justify-content: center; align-items: flex-start; max-height: 470px; overflow: hidden; }
.screen-frame img { width: min(100%, 270px); height: auto; border-radius: 24px 24px 0 0; box-shadow: 0 8px 18px rgb(15 32 55 / .12); }
.screen-caption { margin: 14px 0 0; text-align: center; color: #3b5066; font-size: 13px; }
.story-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; padding-block: 78px 0; }
.story-section h2 { margin-bottom: 20px; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.025em; }
.story-section p { max-width: 70ch; color: var(--muted); font-size: 16px; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.fact-list li { padding: 17px 0; border-top: 1px solid var(--line); color: #30465a; font-weight: 600; }
.fact-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.wide-video { padding: clamp(30px, 5vw, 62px) 0; background: #063b2f; scroll-margin-top: 0; }
.wide-video video { width: min(100%, 1066px); height: auto; margin-inline: auto; border-radius: 8px; background: #063b2f; }
.closing { margin-top: 82px; padding: 46px 0; border-top: 1px solid var(--line); }
.closing h2 { margin-bottom: 13px; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.025em; }
.closing p { max-width: 67ch; margin-bottom: 20px; color: var(--muted); }

@media (max-width: 760px) {
  .header-inner { padding-block: 8px; align-items: flex-start; flex-direction: column; }
  .site-nav { width: 100%; gap: 2px 16px; }
  .hub-hero { grid-template-columns: 1fr; gap: 28px; min-height: auto; padding-block: 58px 46px; }
  .hub-mark { grid-row: 1; width: 110px; border-radius: 24px; }
  .hub-hero p, .hero-copy > p { font-size: 16px; }
  .collection-heading { display: block; }
  .collection-heading p { margin-top: 5px; }
  .app-link { grid-template-columns: 62px minmax(0, 1fr); gap: 16px; min-height: 135px; }
  .app-link img { width: 62px; height: 62px; border-radius: 15px; }
  .app-link small { font-size: 13px; }
  .app-link .link-word { grid-column: 2; margin-top: -7px; }
  .hero-inner, .story-section { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding-block: 52px 40px; }
  .screen-frame { max-height: 340px; }
  .screen-frame img { width: min(100%, 240px); }
  .story-section { padding-top: 58px; }
  .site-footer { margin-top: 60px; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 32px, 1160px); }
  .site-nav { font-size: 13px; gap: 2px 12px; }
  .product-title img { width: 52px; height: 52px; }
  .fact-list { grid-template-columns: 1fr; }
  .fact-list li:nth-last-child(2) { border-bottom: 0; }
  .fact-list li:last-child { border-bottom: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
