/* Sentrix Link — shared styles. Values come from the confirmed "A안 디벨롭" comps
   (HomeA2-Desktop 1440 / HomeA2-Mobile 390). Page-specific rules live in their own files. */

@font-face{font-family:'Pretendard';src:url(/static/fonts/Pretendard-Regular.subset.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Pretendard';src:url(/static/fonts/Pretendard-SemiBold.subset.woff2) format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Pretendard';src:url(/static/fonts/Pretendard-Bold.subset.woff2) format('woff2');font-weight:700;font-display:swap}

:root{
  --bg:#F2F2F7; --surface:#FFFFFF; --navy:#11182A;
  --ink:#11182A; --ink-2:#3A4050; --muted:#4B5162; --muted-2:#626878; --hint:#767B88;
  --line:#DCDCE2; --line-2:#E3E3E8; --line-3:#E9E9EE; --line-btn:#D5D5DC; --off:#E3E3E8;
  --accent:#FF6B00; --accent-ink:#B64000;
  --on-navy:#FFFFFF; --on-navy-2:#C9CDD8; --on-navy-3:#B9BFCC; --on-navy-dim:#8E95A8; --on-navy-track:#3A4256; --on-navy-accent:#FF8A3D;
  --phone:#1C1C1E; --phone-edge:#48484A;
  --radius-card:28px; --radius-field:14px; --pill:999px;
  --header-h:72px; --wrap:1200px; --gutter:56px;
  --sec-y:128px;
  --h1:56px; --h2:48px; --lead:19px;
  --ease:cubic-bezier(0.2,0,0,1);
  font-family:'Pretendard',system-ui,-apple-system,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;
  color:var(--ink); background:var(--bg);
  -webkit-text-size-adjust:100%; text-size-adjust:100%;
}
@media (max-width:1023px){ :root{ --header-h:64px; --gutter:32px; --sec-y:104px; --h1:44px; --h2:38px; --lead:18px } }
@media (max-width:719px){ :root{ --header-h:56px; --gutter:20px; --sec-y:72px; --h1:30px; --h2:28px; --lead:16px; --radius-card:22px } }

*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:calc(var(--header-h) + 16px)}
body{margin:0;min-height:100dvh;display:flex;flex-direction:column;word-break:keep-all;overflow-wrap:anywhere;line-height:1.5;-webkit-font-smoothing:antialiased}
main{flex:1 0 auto;min-width:0}
img,svg{max-width:100%}
img{display:block;height:auto}
a{color:var(--ink)}
a:hover{color:var(--accent-ink)}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,p,figure{margin:0}
button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:16px;top:-80px;z-index:100;padding:12px 18px;border-radius:var(--pill);background:var(--navy);color:#fff;font-weight:600;text-decoration:none}
.skip:focus{top:12px;color:#fff}
.skip:hover{color:#fff}
.sec--navy a:hover{color:var(--on-navy-accent)}

/* layout */
.wrap{width:min(100%,calc(var(--wrap) + var(--gutter) * 2));margin:0 auto;padding:0 var(--gutter);min-width:0}
.sec{padding:var(--sec-y) 0}
.sec--white{background:var(--surface)}
.sec--navy{background:var(--navy);color:var(--on-navy)}
.stack{display:flex;flex-direction:column;min-width:0}
.h1{font-size:var(--h1);line-height:1.24;font-weight:700;letter-spacing:-0.02em}
.h2{font-size:var(--h2);line-height:1.25;font-weight:700;letter-spacing:-0.02em}
.lead{font-size:var(--lead);line-height:1.6;color:var(--muted)}
.sec--navy .lead{color:var(--on-navy-2)}
.more{font-size:16px;font-weight:600;text-underline-offset:4px;align-self:flex-start;min-height:44px;display:inline-flex;align-items:center}
.sec--navy .more{color:#fff}

/* buttons */
.btn{height:44px;padding:0 20px;border:0;border-radius:var(--pill);display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background-color 160ms var(--ease),box-shadow 160ms var(--ease)}
.btn--primary{background:var(--navy);color:#fff}
.btn--primary:hover{background:#26304A;color:#fff}
.btn--secondary{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-btn)}
.btn--secondary:hover{color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.btn--lg{height:56px;padding:0 28px;font-size:17px}
.btn--block{width:100%}

/* header */
.site-header{position:sticky;top:0;z-index:50;height:var(--header-h);background:rgba(255,255,255,0.86);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--line-2)}
.site-header__in{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 var(--gutter);max-width:1440px;margin:0 auto}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:19px;font-weight:700;color:var(--ink);white-space:nowrap;min-height:44px}
.brand:hover{color:var(--ink)}
.brand img{height:24px;width:auto}
.gnav{display:flex;gap:36px;font-size:15px;font-weight:600}
.gnav a{text-decoration:none;color:var(--muted);min-height:44px;display:inline-flex;align-items:center}
.gnav a:hover,.gnav a[aria-current="page"]{color:var(--ink)}
.hactions{display:flex;align-items:center;gap:8px}
.menu-btn{display:none;width:44px;height:44px;border:0;background:transparent;padding:0;align-items:center;justify-content:center;border-radius:var(--pill)}
.mnav{display:none}
@media (max-width:1023px){
  .gnav{gap:24px}
}
@media (max-width:899px){
  .site-header__in{padding:0 8px 0 var(--gutter)}
  .brand{font-size:17px;gap:8px}
  .brand img{height:21px}
  .gnav,.hactions .btn--secondary{display:none}
  .hactions{gap:4px}
  .hactions .btn--primary{height:40px;padding:0 16px;font-size:14px}
  .menu-btn{display:inline-flex}
  .mnav{position:fixed;inset:var(--header-h) 0 0 0;z-index:49;background:var(--surface);padding:8px var(--gutter) calc(32px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
  .mnav[data-open="true"]{display:flex;flex-direction:column;gap:24px}
  .mnav ul{display:flex;flex-direction:column}
  .mnav li a{display:flex;align-items:center;min-height:56px;border-bottom:1px solid var(--line-3);font-size:19px;font-weight:600;text-decoration:none}
  .mnav .btn{height:56px;font-size:17px}
  body[data-menu-open="true"]{overflow:hidden}
}

/* footer — one Naver-style link row on every page */
.site-footer{background:var(--surface);border-top:1px solid var(--line-2);padding:28px 0 calc(48px + env(safe-area-inset-bottom))}
.site-footer .wrap{display:flex;flex-direction:column;gap:12px}
.flinks{display:flex;flex-wrap:wrap;align-items:center;row-gap:4px;font-size:14px;line-height:1.2}
.flinks li{padding:0 12px;border-left:1px solid var(--line-btn)}
.flinks li:first-child{padding-left:0;border-left:0}
.flinks li:last-child{border-left:0;padding-left:4px;font-weight:700}
.flinks a{color:var(--ink-2);text-decoration:none;display:inline-flex;align-items:center;min-height:32px}
.flinks a:hover{color:var(--accent-ink)}
.flinks a.is-strong{color:var(--ink);font-weight:700}
.fcompany{font-size:13px;line-height:1.6;color:var(--muted-2)}
@media (max-width:719px){
  .flinks li{padding:0 10px}
  .flinks li:nth-child(4){padding-left:0;border-left:0}
}

/* product-language parts: progress dashes, ECI bars, cards */
.dash{display:block;width:36px;height:6px;border-radius:3px;background:var(--accent)}
.dash.off{background:var(--line-btn)}
.dashes{display:flex;gap:10px}
.gdash{display:grid;gap:8px}
.gdash span{height:6px;border-radius:3px;background:var(--accent)}
.gdash span.off{background:var(--off)}
.eci{display:flex;gap:4px}
.eci span{width:8px;height:22px;border-radius:3px;background:var(--accent)}
.eci span.off{background:var(--off)}
.gcard{background:var(--surface);border-radius:var(--radius-card);padding:40px;display:flex;flex-direction:column;gap:26px;color:var(--ink);min-width:0}
.gcard--grey{background:var(--bg)}
.gt{font-size:30px;line-height:1.3;font-weight:700;letter-spacing:-0.02em}
.gmeta{font-size:16px;color:var(--muted-2)}
.gfoot{padding-top:18px;border-top:1px solid var(--line-3);font-size:16px;line-height:1.6;color:var(--muted)}
.gcard--grey .gfoot{border-top-color:var(--line)}
.glabels{display:grid;gap:8px;font-size:15px}
@media (max-width:719px){
  .gcard{padding:26px 22px;gap:20px}
  .gt{font-size:23px}
  .gmeta{font-size:15px}
  .gfoot{font-size:15px;padding-top:14px}
  .glabels{font-size:13px}
}

/* phone frame with a real iOS capture (1206x2622 → ratio 2.174) */
.phone{width:var(--pw,340px);aspect-ratio:340/713.6;padding:calc(var(--pw,340px) * 0.032);border-radius:calc(var(--pw,340px) * 0.158);background:var(--phone);box-shadow:inset 0 0 0 1px var(--phone-edge),0 30px 60px rgba(17,24,42,0.14);flex:none}
.phone img{width:100%;height:100%;border-radius:calc(var(--pw,340px) * 0.126);object-fit:cover}

/* rule lists (three short facts under a line) */
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.facts li{border-top:1px solid var(--line-2);padding-top:20px;display:flex;flex-direction:column;gap:6px;min-width:0}
.facts strong{font-size:20px;line-height:1.4}
.facts span{font-size:16px;line-height:1.6;color:var(--muted)}
@media (max-width:899px){
  .facts{grid-template-columns:minmax(0,1fr);gap:0}
  .facts li{padding:20px 0 24px}
  .facts strong{font-size:18px}
  .facts span{font-size:15px}
}

/* closing 4 steps on navy */
.steps-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.steps-track span{height:6px;border-radius:3px;background:var(--on-navy-track)}
.steps-track span.on{background:var(--accent)}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-top:-20px}
.steps li{display:flex;flex-direction:column;gap:8px;min-width:0}
.steps .n{font-size:15px;font-weight:600;color:var(--on-navy-3)}
.steps li:first-child .n{color:var(--on-navy-accent)}
.steps strong{font-size:21px;line-height:1.35}
.steps span:last-child{font-size:16px;line-height:1.6;color:var(--on-navy-3)}
@media (max-width:899px){
  .steps-track{display:none}
  .steps{grid-template-columns:minmax(0,1fr);gap:28px;margin-top:0}
  .steps li{padding-top:16px;position:relative}
  .steps li::before{content:"";position:absolute;left:0;top:0;width:32px;height:5px;border-radius:3px;background:var(--on-navy-track)}
  .steps li:first-child::before{background:var(--accent)}
  .steps .n{display:none}
  .steps strong{font-size:18px}
  .steps strong::before{content:attr(data-n) " "}
  .steps span:last-child{font-size:15px}
}

/* brochure dialog shell (product chooser) */
dialog.sheet{border:0;padding:0;background:transparent;max-width:none;max-height:none;width:100%;height:100%;margin:0;color:var(--ink)}
dialog.sheet::backdrop{background:rgba(17,24,42,0.48)}
.sheet__panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100% - 40px));max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;background:var(--surface);border-radius:var(--radius-card);padding:36px}
@media (max-width:719px){
  .sheet__panel{left:0;right:0;top:auto;bottom:0;transform:none;width:100%;max-height:calc(100dvh - 24px);border-radius:22px 22px 0 0;padding:28px 20px calc(24px + env(safe-area-inset-bottom))}
}

/* reveal: progress dashes fill left to right once (site.js adds .will-fill/.is-filled; skipped on reduced motion) */
.will-fill > span,.will-fill > .dash,.will-fill > li > .bar{transform-origin:left center;transform:scaleX(0);transition:transform 520ms var(--ease)}
.will-fill.is-filled > span,.will-fill.is-filled > .dash,.will-fill.is-filled > li > .bar{transform:scaleX(1)}
.will-fill.is-filled > :nth-child(2),.will-fill.is-filled > li:nth-child(2) > .bar{transition-delay:80ms}
.will-fill.is-filled > :nth-child(3),.will-fill.is-filled > li:nth-child(3) > .bar{transition-delay:160ms}
.will-fill.is-filled > :nth-child(4),.will-fill.is-filled > li:nth-child(4) > .bar{transition-delay:240ms}
.will-fill.is-filled > :nth-child(5){transition-delay:320ms}
.will-fill.is-filled > :nth-child(6){transition-delay:400ms}
.will-fill.is-filled > :nth-child(7){transition-delay:480ms}
.will-fill.is-filled > :nth-child(n+8){transition-delay:560ms}

/* Reduced motion: scroll scenes are skipped in site.js (final state shown); only colour and
   focus feedback keep their short transitions here. */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn,.send,.ghost{transition:none}
}

/* form controls (download dialog on every page, contact form) */
.field{display:flex;flex-direction:column;gap:8px;min-width:0}
.lbl{font-size:15px;font-weight:600}
.opt{font-weight:400;color:var(--muted-2)}
.in{display:block;width:100%;height:52px;border:0;border-radius:var(--radius-field);background:var(--bg);padding:0 16px;font:inherit;font-size:17px;color:var(--ink);outline:none}
.in::placeholder{color:var(--muted-2)}
.in:focus{box-shadow:inset 0 0 0 2px var(--ink);background:var(--surface)}
.in[aria-invalid="true"]{box-shadow:inset 0 0 0 2px var(--accent-ink);background:var(--surface)}
textarea.in{height:168px;padding:14px 16px;line-height:1.6;resize:vertical}
select.in{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2311182A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center}
.check{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:1.5;font-weight:600;cursor:pointer;min-height:44px;padding-top:10px}
.check input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--ink)}
.consent{gap:0}
.consent .small,.consent .err{padding-left:34px}
.small{font-size:14px;line-height:1.6;color:var(--muted-2)}
.small a{color:var(--ink);font-weight:600}
.err{font-size:14px;line-height:1.5;font-weight:600;color:var(--accent-ink)}
.send,.ghost{height:56px;border:0;border-radius:var(--pill);font-size:17px;font-weight:600;width:100%;transition:background-color 160ms var(--ease),box-shadow 160ms var(--ease)}
.send{background:var(--navy);color:#fff}
.send:hover{background:#26304A}
.send:disabled{background:#4B5162;cursor:progress}
.ghost{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line-btn);color:var(--ink)}
.ghost:hover{box-shadow:inset 0 0 0 1px var(--ink)}
.x{width:44px;height:44px;flex:none;border:0;border-radius:var(--pill);background:var(--bg);display:flex;align-items:center;justify-content:center;color:var(--ink)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.tbd{font-weight:600;color:var(--accent-ink)}

.sheet__panel{display:flex;flex-direction:column;gap:24px;box-shadow:0 30px 80px rgba(17,24,42,0.28)}
.dl-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.dl-title{gap:8px}
.dl-h{font-size:28px;line-height:1.3;font-weight:700;letter-spacing:-0.02em}
.dl-sub{font-size:16px;line-height:1.6;color:var(--muted)}
@media (max-width:719px){
  .sheet__panel{gap:20px}
  .sheet__panel::before{content:"";align-self:center;width:36px;height:5px;border-radius:3px;background:var(--line-btn);margin:-14px 0 -4px}
  .dl-h{font-size:24px}
}

/* real-app journeys (<!--journey ID--> in pages, played by scenes.js). The stage height is fixed per
   layout so the Player can draw at real CSS px; below it a one-line caption follows the beat. */
.jr{margin:0;display:flex;flex-direction:column;gap:14px;min-width:0}
.jr__stage{position:relative;height:560px;border-radius:var(--radius-card);overflow:hidden;display:flex;align-items:center;justify-content:center}
.jr--web .jr__stage{height:auto;aspect-ratio:1440/806}
.jr--mix .jr__stage{height:540px}
.jr__still{display:block;max-width:100%;max-height:100%}
.jr__still--phone{height:calc(100% - 20px);width:auto;border-radius:34px;box-shadow:0 0 0 8px #1C1C1E,0 24px 48px rgba(17,24,42,0.16)}
.jr__still--web,.jr__still--excel{width:calc(100% - 20px);border-radius:12px;box-shadow:0 0 0 1px var(--line),0 24px 48px rgba(17,24,42,0.10)}
.jr__stage.is-scene{display:block}
.jr__cap{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;min-height:52px;font-size:16px;line-height:1.5;color:var(--muted)}
.jr__n{font-size:13px;font-weight:600;color:var(--muted-2);font-variant-numeric:tabular-nums}
.jr__t{font-weight:700;color:var(--ink)}
.jr__c{flex:1 1 220px;min-width:0}
.sec--navy .jr__cap{color:var(--on-navy-2)}
.sec--navy .jr__t{color:#fff}
.sec--navy .jr__n{color:var(--on-navy-3)}
.jr__ctrl{display:flex;gap:4px;margin-top:-6px}
.jr__ctrl[hidden]{display:none}
.jr__btn{height:44px;padding:0 14px;border:0;border-radius:var(--pill);background:transparent;color:var(--muted);font-size:14px;font-weight:600}
.jr__btn:hover{color:var(--ink);background:rgba(17,24,42,0.05)}
.sec--navy .jr__btn{color:var(--on-navy-2)}
.sec--navy .jr__btn:hover{color:#fff;background:rgba(255,255,255,0.08)}
@media (max-width:1023px){ .jr--mix .jr__stage{height:500px} .jr--phone .jr__stage{height:520px} }
@media (max-width:719px){
  .jr__stage{border-radius:22px}
  .jr--phone .jr__stage{height:460px}
  .jr--mix .jr__stage{height:440px}
  .jr__cap{font-size:15px;min-height:68px}
}

/* a still real PC screen in a browser window (role tabs etc.) */
.shot-web{width:100%;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px var(--line),0 24px 48px rgba(17,24,42,0.10)}
.shot-web__bar{height:30px;display:flex;align-items:center;gap:6px;padding:0 12px;background:#F7F7F9;border-bottom:1px solid var(--line-2)}
.shot-web__bar span{width:9px;height:9px;border-radius:50%;background:var(--line-btn)}
.shot-web__bar em{margin-left:10px;height:20px;padding:0 10px;border-radius:6px;background:#fff;box-shadow:0 0 0 1px var(--line-2);display:flex;align-items:center;font-style:normal;font-size:11px;font-weight:600;color:var(--muted)}
.shot-web img{width:100%;height:auto}
@media (max-width:599px){ .jr--web .jr__stage{aspect-ratio:auto;height:380px} }

/* brochure chooser (header 「제품소개서 받기」) */
.bro-list{display:flex;flex-direction:column;gap:10px}
.bro{display:flex;flex-direction:column;align-items:flex-start;gap:8px;position:relative;padding:20px 52px 20px 20px;border-radius:18px;background:var(--bg);text-decoration:none;color:var(--ink);min-height:44px}
a.bro:hover{color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
.bro img{height:16px;width:auto}
.bro__d{font-size:15px;line-height:1.5;color:var(--muted)}
.bro__go{position:absolute;right:20px;top:50%;translate:0 -50%;font-size:20px;font-weight:600}
.bro__soon{position:absolute;right:16px;top:18px;height:26px;padding:0 10px;border-radius:var(--pill);background:#fff;box-shadow:inset 0 0 0 1px var(--line);display:inline-flex;align-items:center;font-size:13px;font-weight:600;color:var(--muted)}
.bro.is-soon img{opacity:0.7}
