:root{
  --navy:#10263f;
  --navy2:#193653;
  --ink:#172334;
  --paper:#fffdf8;
  --ivory:#f6f1e7;
  --sage:#8fa695;
  --sage-dark:#526b5b;
  --gold:#b99a5f;
  --line:#ded8cd;
  --muted:#667383;
  --soft:#f3f2ed;
  --white:#fff;
  --shadow:0 14px 34px rgba(16,38,63,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,-apple-system,sans-serif;
  line-height:1.65;
  word-break:keep-all;
}
a{color:inherit;text-decoration:none}
a,button{-webkit-tap-highlight-color:transparent}
.shell{width:min(100% - 28px,1120px);margin:0 auto}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:14px;top:10px;z-index:1000;padding:10px 14px;background:#fff;border:2px solid var(--navy);border-radius:10px}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,253,248,.96);
  border-bottom:1px solid rgba(16,38,63,.08);
  backdrop-filter:blur(12px);
}
.header-inner{
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{display:flex;align-items:center;gap:9px;min-width:0}
.brand-logo{
  flex:0 0 auto;
  width:40px;
  height:40px;
  display:block;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 0 0 1px rgba(16,38,63,.10);
}
.brand-copy{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.brand-copy strong{font-size:15.5px;letter-spacing:-.035em;white-space:nowrap}
.brand-copy small{margin-top:4px;color:#7b8490;font-size:10.5px;font-weight:750}
.top-nav{display:flex;align-items:center;gap:8px}
.top-nav a{
  min-height:38px;
  display:flex;align-items:center;
  padding:0 10px;
  border-radius:10px;
  color:#526071;
  font-size:12.5px;
  font-weight:850;
}
.top-nav a.current,.top-nav a:hover{background:#eef2ed;color:var(--sage-dark)}

.eyebrow{
  margin:0 0 10px;
  color:var(--sage-dark);
  font-size:12px;
  font-weight:950;
  letter-spacing:.055em;
}
.home-hero{padding:34px 0 24px}
.home-hero h1,.page-hero h1{
  margin:0;
  color:var(--navy);
  font-size:36px;
  line-height:1.2;
  letter-spacing:-.055em;
}
.home-hero h1 span{color:var(--sage-dark)}
.hero-copy{
  max-width:680px;
  margin:17px 0 0;
  color:#536170;
  font-size:16px;
  line-height:1.75;
}

.home-hub{padding:22px 0 38px}
.section-title-row{margin-bottom:18px}
.section-title-row h2{
  margin:0;
  color:var(--navy);
  font-size:25px;
  line-height:1.35;
  letter-spacing:-.04em;
}
.hub-grid{display:grid;grid-template-columns:1fr;gap:12px}
.hub-card{
  display:block;
  min-height:164px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 5px 16px rgba(16,38,63,.035);
}
.hub-card.active-card{
  background:linear-gradient(145deg,#f0f5ef,#fff 72%);
  border-color:#cbd8ce;
}
.hub-card.muted-card{background:#f5f4ef;color:#666d71}
.hub-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hub-no{color:#9a8a6b;font-size:11px;font-weight:950}
.mini-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 9px;
  border-radius:999px;
  background:#edf0f2;
  color:#657180;
  font-size:10.5px;
  font-weight:900;
}
.mini-badge.live{background:#dfeade;color:#3d5a47}
.mini-badge.soon{background:#e8e6df;color:#77756e}
.hub-card h3{
  margin:16px 0 6px;
  color:var(--navy);
  font-size:24px;
  letter-spacing:-.04em;
}
.hub-card p{margin:0;color:#5e6a78;font-size:14.5px;line-height:1.65}
.hub-link{
  display:flex;align-items:center;justify-content:space-between;
  margin-top:16px;
  color:var(--sage-dark);
  font-size:13px;
  font-weight:950;
}
.hub-link b{font-size:18px}
.hub-link.muted{color:#8a8d8c;font-weight:800}

.featured-tool{
  padding:34px 0 58px;
  background:var(--ivory);
  border-top:1px solid var(--line);
}
.featured-label{
  margin-bottom:11px;
  color:#6a7480;
  font-size:12px;
  font-weight:900;
}
.featured-card{
  display:grid;
  grid-template-columns:1fr 44px;
  gap:12px;
  align-items:center;
  padding:22px;
  border-radius:22px;
  background:var(--navy);
  color:#fff;
  box-shadow:0 16px 40px rgba(16,38,63,.16);
}
.featured-copy h2{margin:12px 0 7px;font-size:26px;letter-spacing:-.04em}
.featured-copy p{margin:0;color:#dbe2e8;font-size:14.5px;line-height:1.7}
.featured-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.featured-tags span{
  padding:6px 9px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:9px;
  color:#e9eef2;
  font-size:10.5px;
  font-weight:800;
}
.featured-action{
  width:40px;height:40px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#fff8e7;
  color:var(--navy);
  font-size:21px;
  font-weight:900;
}

.page-hero{
  padding:34px 0 30px;
  background:linear-gradient(180deg,#fffdf8,#f7f3eb);
  border-bottom:1px solid var(--line);
}
.back-link{
  display:inline-flex;
  margin-bottom:22px;
  color:#6a7480;
  font-size:12.5px;
  font-weight:850;
}
.page-hero>div>p:last-child{
  max-width:670px;
  margin:16px 0 0;
  color:#586676;
  font-size:15.5px;
  line-height:1.75;
}
.page-section{padding:34px 0 60px}
.tools-list{display:grid;gap:14px}
.product-card{
  display:block;
  padding:22px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--shadow);
}
.product-card.upcoming-card{background:#f5f4ef;box-shadow:none}
.product-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.product-no{color:#9a8a6b;font-size:12px;font-weight:900}
.product-card h2{
  margin:18px 0 7px;
  color:var(--navy);
  font-size:27px;
  letter-spacing:-.045em;
}
.product-card p{margin:0;color:#5d6977;font-size:14.5px;line-height:1.7}
.product-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.product-tags span{
  padding:6px 9px;
  border:1px solid #dcd6ca;
  border-radius:9px;
  background:#fffaf1;
  color:#606a63;
  font-size:10.5px;
  font-weight:850;
}
.product-cta{
  display:flex;align-items:center;justify-content:space-between;
  min-height:50px;
  margin-top:20px;
  padding:0 14px;
  border-radius:13px;
  background:var(--navy);
  color:#fff;
  font-size:14px;
  font-weight:950;
}
.product-cta b{font-size:18px}

.about-stack{display:grid;gap:12px}
.about-block{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:12px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}
.about-no{color:var(--gold);font-size:11px;font-weight:950;padding-top:4px}
.about-block h2{margin:0;color:var(--navy);font-size:21px;letter-spacing:-.035em}
.about-block p{margin:7px 0 0;color:#5c6978;font-size:14.5px;line-height:1.72}
.credential-card{
  margin-top:8px;
  padding:20px;
  border-radius:18px;
  background:var(--navy);
  color:#fff;
}
.credential-card span{display:block;color:#b9c4ce;font-size:11px;font-weight:850}
.credential-card strong{display:block;margin-top:7px;font-size:16px}

.site-footer{padding:32px 0;background:#0c1d30;color:#eef1f3}
.footer-inner{display:grid;gap:18px}
.site-footer strong{font-size:15px}
.site-footer p{margin:7px 0 0;color:#aebac5;font-size:12px;line-height:1.55}
.footer-meta{display:flex;flex-direction:column;gap:4px;color:#96a4b1;font-size:10.5px}

@media(min-width:700px){
  .shell{width:min(100% - 48px,1120px)}
  .header-inner{min-height:74px}
  .brand-logo{width:44px;height:44px}
  .brand-copy strong{font-size:17px}
  .top-nav{gap:12px}
  .top-nav a{padding:0 14px;font-size:14px}
  .home-hero{padding:64px 0 42px}
  .home-hero h1,.page-hero h1{font-size:52px;max-width:820px}
  .hero-copy{font-size:17px}
  .home-hub{padding:34px 0 64px}
  .section-title-row h2{font-size:34px}
  .hub-grid{grid-template-columns:repeat(2,1fr);gap:18px}
  .hub-card{min-height:190px;padding:25px}
  .hub-card h3{font-size:27px}
  .hub-card p{font-size:15px}
  .featured-tool{padding:52px 0 72px}
  .featured-card{grid-template-columns:1fr 56px;padding:30px}
  .featured-copy h2{font-size:32px}
  .featured-copy p{font-size:15.5px}
  .featured-action{width:50px;height:50px}
  .page-hero{padding:56px 0 48px}
  .page-section{padding:48px 0 78px}
  .tools-list{grid-template-columns:1.15fr .85fr;gap:18px}
  .product-card{padding:28px}
  .about-stack{gap:16px}
  .about-block{grid-template-columns:46px 1fr;padding:26px}
  .about-block h2{font-size:25px}
  .footer-inner{grid-template-columns:1fr auto;align-items:end}
  .footer-meta{align-items:flex-end}
}

@media(min-width:1020px){
  .home-hero{padding:78px 0 50px}
  .home-hero h1{font-size:62px}
  .home-hub{padding:38px 0 76px}
  .hub-grid{grid-template-columns:repeat(4,1fr)}
  .hub-card{min-height:245px}
  .hub-card h3{margin-top:22px}
  .featured-card{padding:34px 38px}
}


/* ===== V1.3 mobile-first compact hub ===== */
@media(max-width:699px){
  .home-hero{
    padding:24px 0 14px;
  }
  .home-hero .eyebrow{
    margin-bottom:7px;
  }
  .home-hero h1{
    font-size:31px;
    line-height:1.22;
  }
  .hero-copy{
    margin-top:12px;
    font-size:15px;
    line-height:1.6;
  }

  .home-hub{
    padding:14px 0 24px;
  }
  .section-title-row{
    margin-bottom:12px;
  }
  .section-title-row .eyebrow{
    display:none;
  }
  .section-title-row h2{
    font-size:21px;
    line-height:1.3;
  }

  .hub-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .hub-card{
    min-height:138px;
    padding:14px;
    border-radius:16px;
    box-shadow:none;
  }
  .hub-no{
    display:none;
  }
  .mini-badge{
    min-height:24px;
    padding:0 7px;
    font-size:10px;
  }
  .hub-card-top{
    min-height:24px;
    justify-content:flex-end;
  }
  .hub-card h3{
    margin:10px 0 5px;
    font-size:18px;
    line-height:1.28;
    letter-spacing:-.035em;
  }
  .hub-card p{
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size:13px;
    line-height:1.45;
  }
  .hub-link{
    margin-top:10px;
    font-size:11.5px;
    line-height:1.3;
  }
  .hub-link b{
    font-size:15px;
  }

  .featured-tool{
    padding:22px 0 34px;
  }
  .featured-label{
    margin-bottom:8px;
    font-size:11.5px;
  }
  .featured-card{
    grid-template-columns:minmax(0,1fr) 36px;
    gap:8px;
    padding:16px;
    border-radius:17px;
    box-shadow:0 10px 24px rgba(16,38,63,.13);
  }
  .featured-copy > .mini-badge{
    display:none;
  }
  .featured-copy h2{
    margin:0 0 5px;
    font-size:21px;
  }
  .featured-copy p{
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size:13px;
    line-height:1.5;
  }
  .featured-tags{
    gap:5px;
    margin-top:10px;
  }
  .featured-tags span{
    padding:4px 7px;
    font-size:9.5px;
  }
  .featured-action{
    width:34px;
    height:34px;
    font-size:18px;
  }

  .site-footer{
    padding:24px 0;
  }
  .footer-inner{
    gap:12px;
  }
}

/* Tiny phones keep the 2×2 hub readable without shrinking text. */
@media(max-width:350px){
  .hub-grid{
    grid-template-columns:1fr;
  }
  .hub-card{
    min-height:auto;
  }
}


/* ===== V1.4 brand hierarchy ===== */
.core-hub{
  grid-template-columns:1fr;
}
.core-card{
  min-height:auto;
}
.available-now{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:14px;
  padding:10px 11px;
  border-radius:11px;
  background:rgba(82,107,91,.08);
  color:var(--sage-dark);
  font-size:12px;
}
.available-now span{font-weight:750}
.available-now strong{font-weight:950}
.future-note{
  margin:14px 2px 0;
  color:#7b8490;
  font-size:12px;
  line-height:1.55;
}
.footer-link{
  color:#c3ccd4;
  font-weight:850;
}
@media(max-width:699px){
  .top-nav a{
    min-height:34px;
    padding:0 8px;
    font-size:12px;
  }
  .core-hub{
    grid-template-columns:1fr;
    gap:10px;
  }
  .core-card{
    min-height:auto;
    padding:16px;
  }
  .core-card .hub-card-top{
    justify-content:flex-start;
  }
  .core-card h3{
    margin:9px 0 4px;
    font-size:21px;
  }
  .core-card p{
    display:block;
    font-size:14px;
    line-height:1.5;
  }
  .core-card .hub-link{
    margin-top:12px;
    font-size:13px;
  }
  .available-now{
    margin-top:12px;
    font-size:12.5px;
  }
  .future-note{
    margin-top:12px;
    font-size:12.5px;
  }
}
@media(min-width:700px){
  .core-hub{
    grid-template-columns:1.08fr .92fr;
  }
}


/* ===== Financial information notice ===== */
.finance-notice{
  width:min(100% - 28px,860px);
  margin:18px auto 0;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.10);
  color:#8796a5;
  font-size:10.5px;
  line-height:1.65;
  text-align:center;
}
@media(min-width:700px){
  .finance-notice{
    width:min(100% - 48px,860px);
    font-size:11px;
  }
}


/* ===== V1.4.1 unified centered footer ===== */
.site-footer .footer-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
}
.site-footer .footer-meta{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  text-align:center;
}
.site-footer .finance-notice{
  width:min(100% - 28px,760px);
  margin:16px auto 0;
  padding-top:14px;
  text-align:center;
}
@media(min-width:700px){
  .site-footer .footer-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    text-align:center;
  }
  .site-footer .footer-meta{
    align-items:center;
    text-align:center;
  }
  .site-footer .finance-notice{
    width:min(100% - 48px,760px);
  }
}


/* ===== V1.5 micro interactions ===== */
.hub-card,
.product-card,
.about-block,
.brand-logo,
.top-nav a,
.hub-link,
.product-cta,
.featured-card,
.featured-action{
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    color .18s ease,
    opacity .18s ease;
}

/* Cards: subtle lift on pointer devices */
@media (hover:hover) and (pointer:fine){
  .hub-card:hover,
  .product-card:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 28px rgba(16,38,63,.09);
    border-color:#c9d5cb;
  }

  .about-block:hover{
    transform:translateY(-2px);
    border-color:#cfd7cf;
    box-shadow:0 8px 20px rgba(16,38,63,.055);
  }

  .brand:hover .brand-logo{
    transform:scale(1.035);
    box-shadow:0 0 0 2px rgba(185,154,95,.18);
  }

  .top-nav a:hover{
    background:#e8efe9;
    color:#405a49;
  }

  .hub-card:hover .hub-link,
  .product-card:hover .product-cta{
    color:#405a49;
  }

  .product-card:hover .product-cta{
    background:#173552;
    color:#fff;
  }

  .hub-card:hover .hub-link b,
  .product-card:hover .product-cta b,
  .featured-card:hover .featured-action{
    transform:translateX(4px);
  }
}

/* Touch / click feedback */
.hub-card:active,
.product-card:active,
.about-block:active{
  transform:scale(.985);
}

.brand:active .brand-logo{
  transform:scale(.94);
}

.top-nav a:active{
  transform:scale(.96);
  background:#e8efe9;
}

.hub-link b,
.product-cta b,
.featured-action{
  display:inline-block;
  transition:transform .18s ease;
}

.hub-card:active .hub-link{
  color:#405a49;
}

.product-card:active .product-cta{
  background:#173552;
}

.hub-card:active .hub-link b,
.product-card:active .product-cta b{
  transform:translateX(3px);
}

/* Short page-entry motion */
@keyframes chageunFadeUp{
  from{
    opacity:0;
    transform:translateY(7px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.home-hero .shell,
.page-hero .shell{
  animation:chageunFadeUp .42s ease-out both;
}

.home-hub .section-title-row{
  animation:chageunFadeUp .4s .05s ease-out both;
}

.hub-card{
  animation:chageunFadeUp .42s ease-out both;
}
.hub-card:nth-child(1){animation-delay:.10s}
.hub-card:nth-child(2){animation-delay:.16s}
.hub-card:nth-child(3){animation-delay:.22s}
.hub-card:nth-child(4){animation-delay:.28s}

.future-note{
  animation:chageunFadeUp .36s .22s ease-out both;
}

.product-card,
.about-block,
.credential-card{
  animation:chageunFadeUp .4s ease-out both;
}
.product-card:nth-child(1),
.about-block:nth-child(1){animation-delay:.08s}
.product-card:nth-child(2),
.about-block:nth-child(2){animation-delay:.14s}
.about-block:nth-child(3){animation-delay:.20s}
.credential-card{animation-delay:.24s}

/* Keep motion comfortable for users who prefer less animation */
@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto !important;
    animation:none !important;
    transition:none !important;
  }
}


/* ===== V1.5.1 content channel links ===== */
.channel-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:14px;
}
.channel-link{
  position:relative;
  min-width:0;
  padding:11px 12px;
  border:1px solid #dde2de;
  border-radius:12px;
  background:#f7f8f6;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    box-shadow .18s ease;
}
.channel-link span{
  display:block;
  margin-bottom:2px;
  color:#7a8490;
  font-size:9.5px;
  font-weight:900;
  letter-spacing:.035em;
}
.channel-link strong{
  display:block;
  padding-right:17px;
  color:var(--navy);
  font-size:12.5px;
  line-height:1.35;
}
.channel-link b{
  position:absolute;
  right:10px;
  bottom:10px;
  color:var(--sage-dark);
  font-size:15px;
  transition:transform .18s ease;
}
@media (hover:hover) and (pointer:fine){
  .channel-link:hover{
    transform:translateY(-2px);
    border-color:#c9d5cb;
    background:#f1f5f1;
    box-shadow:0 7px 16px rgba(16,38,63,.055);
  }
  .channel-link:hover b{
    transform:translateX(3px);
  }
}
.channel-link:active{
  transform:scale(.975);
  background:#edf3ee;
}
.channel-link:active b{
  transform:translateX(3px);
}
@media(max-width:390px){
  .channel-links{
    grid-template-columns:1fr;
  }
}
