:root {
    --ink: #141110;
    --steel: #6E6762;
    --line: #E7E1DC;
    --paper: #FFFFFF;
    --sand: #F7F4F1;
    --flame: #FF4700;
    --ember: #FFEDE5;
    --maxw: 1160px;
    --r: 14px;

    /* 타이포그래피 토큰 */
    --font-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    --font-num: tabular-nums;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    word-break: keep-all;
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px
}

.profile {
    position: relative;
    cursor: pointer;
}

.profile>img {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    object-fit: cover;
}

/* pagination */
.pagination {display:flex; justify-content:flex-end; align-items:center; width: 100%;}
.pagination li{display:flex; justify-content:center; align-items:center; width: 25px; height: 25px; margin-right:8px; border-radius:50%; font-size: 14px; font-weight: 500; cursor:pointer;}
.pagination li:last-child{margin-right:0;}
.pagination_double_next,.pagination_double_prev,.pagination_prev,.pagination_next{ border: 1px solid var(--line); }
.pagination_item a { display: block; width: 100%; height:100%; line-height:24px; text-align: center;}
.pagination_item.active{background-color:var(--flame);}
.pagination_item.active a {color:var(--ember);}
.pagination_border.acitve span { background-color: var(--main);}
.pagination_border span img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);}

.pagination_double_prev { background: url(../img/svg/icon_arrow_left_double.svg) no-repeat center; }
.pagination_double_next a, .pagination_next a, .pagination_prev a, .pagination_double_prev a { display: block; width: 100%; height:100%; line-height:24px; text-align: center; }
.pagination_double_prev.active { background: url(../img/svg/icon_arrow_left_double_active.svg) no-repeat center;  }

.pagination_prev { background: url(../img/svg/ic-allow_left.svg) no-repeat center; }
.pagination_prev.active { background: url(../img/svg/ic-allow_left_active.svg) no-repeat center;  }

.pagination_next { background: url(../img/svg/ic-allow_right.svg) no-repeat center;  }
.pagination_next.active { background: url(../img/svg/ic-allow_right_active.svg) no-repeat center;  }

.pagination_double_next { background: url(../img/svg/icon_arrow_right_double.svg) no-repeat center;  }
.pagination_double_next.active { background: url(../img/svg/icon_arrow_right_double_active.svg) no-repeat center;  }


/* ---------- card ---------- */
.card {
    background-color: #fff;
    margin-bottom: 50px;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--line);
}

.card_inner {
    padding: 20px;
}

.card_title {
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #ccc;
}


/* ---------- type ---------- */
.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--flame);
    display: inline-block;
    margin-bottom: 16px;
}

h1,
h2,
h3 {
    letter-spacing: -.035em;
    line-height: 1.22;
    font-weight: 800;
    word-break: keep-all
}

h2 {
    font-size: clamp(27px, 3.6vw, 42px)
}

h3 {
    font-size: 19px;
    letter-spacing: -.03em;
    font-weight: 700;
    line-height: 1.4
}

.lead {
    color: var(--steel);
    font-size: clamp(15px, 1.5vw, 17px);
    word-break: keep-all;
    max-width: 52ch
}

/* ---------- nav ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px
}

.nav img {
    height: 24px;
    width: auto
}

.nav nav {
    display: flex;
    gap: 34px;
    font-size: 15px;
    font-weight: 600
}

.nav nav a {
    color: var(--steel);
    transition: color .18s
}

.nav nav a:hover {
    color: var(--ink)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform .16s, box-shadow .16s, background .16s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--flame);
    color: #fff;
    box-shadow: 0 6px 20px -8px rgba(255, 71, 0, .7)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -10px rgba(255, 71, 0, .75)
}

.btn-ghost {
    border-color: var(--line);
    color: var(--ink);
    background: #fff
}

.btn-ghost:hover {
    border-color: var(--ink)
}

.nav .btn {
    padding: 10px 18px;
    font-size: 14px
}

@media(max-width:900px) {
    .nav nav {
        display: none
    }
}

/* ---------- hero ---------- */
.hero {
    padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px);
    position: relative;
    overflow: hidden
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto auto 0 50%;
    translate: -50% 0;
    width: 1100px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 71, 0, .07), transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
    position: relative
}

.hero h1 {
    font-size: clamp(33px, 5.1vw, 60px);
    margin-bottom: 22px
}

.hero h1 em {
    font-style: normal;
    color: var(--flame)
}

.hero .lead {
    margin-bottom: 32px
}

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

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--steel);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 13px;
    background: #fff;
}

@media(max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px
    }
}

/* ---------- signature: 계보도 ---------- */
.tree-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px 20px 18px;
    box-shadow: 0 30px 60px -34px rgba(20, 17, 16, .28);
}

.tree-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px
}

.tree-head span:first-child {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.02em
}

.tree-head span:last-child {
    font-size: 11px;
    font-weight: 700;
    color: var(--flame);
    letter-spacing: .08em
}

.tree-svg {
    width: 100%;
    height: auto;
    display: block
}

.tree-link {
    stroke: var(--line);
    stroke-width: 1.5;
    fill: none
}

.tree-flow {
    stroke: var(--flame);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 6 200;
    stroke-dashoffset: 206;
    animation: flow 3.6s linear infinite
}

@keyframes flow {
    to {
        stroke-dashoffset: 0
    }
}

.node circle {
    fill: #fff;
    stroke: var(--line);
    stroke-width: 1.5
}

.node text {
    font-size: 9px;
    font-weight: 700;
    fill: var(--steel);
    text-anchor: middle;
    dominant-baseline: central
}

.node.on circle {
    fill: var(--ember);
    stroke: var(--flame)
}

.node.on text {
    fill: var(--flame)
}

.node.root circle {
    fill: var(--flame);
    stroke: var(--flame)
}

.node.root text {
    fill: #fff
}

.tree-foot {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    margin-top: 14px;
    padding-top: 14px;
}

.stat b {
    display: block;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em
}

.stat span {
    font-size: 11px;
    color: var(--steel);
    font-weight: 600
}

@media(prefers-reduced-motion:reduce) {
    .tree-flow {
        animation: none;
        stroke-dasharray: none;
        stroke-dashoffset: 0;
        opacity: .5
    }
}

/* ---------- sections ---------- */
section {
    padding: clamp(60px, 8vw, 104px) 0
}

.sand {
    background: var(--sand);
    border-block: 1px solid var(--line)
}

.sec-head {
    max-width: 640px;
    margin-bottom: 44px
}

.sec-head h2 {
    margin-bottom: 14px
}

/* ---------- 비용 비교 ---------- */
.cost {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.cost-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 30px 28px
}

.cost-card.hi {
    border-color: var(--flame);
    box-shadow: 0 20px 44px -28px rgba(255, 71, 0, .5);
    position: relative
}

.cost-card.hi::after {
    content: "TARASOFT";
    position: absolute;
    top: -11px;
    right: 24px;
    background: var(--flame);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    padding: 4px 11px;
    border-radius: 999px;
}

.cost-card h3 {
    margin-bottom: 20px;
    color: var(--steel);
    font-size: 15px;
    letter-spacing: 0
}

.cost-card.hi h3 {
    color: var(--flame)
}

.price {
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.1;
    margin-bottom: 4px
}

.price small {
    font-size: 15px;
    font-weight: 600;
    color: var(--steel);
    letter-spacing: -.02em
}

.price-sub {
    font-size: 13px;
    color: var(--steel);
    margin-bottom: 22px
}

.cost-list {
    list-style: none;
    font-size: 14.5px;
    display: grid;
    gap: 11px
}

.cost-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--steel);
    word-break: keep-all
}

.mark {
    flex: none;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 900;
    margin-top: 4px;
    color: #fff
}

.mark.y {
    background: var(--flame)
}

.mark.n {
    background: #CFC8C2
}

.cost-card.hi .cost-list li {
    color: var(--ink);
    font-weight: 500
}

@media(max-width:820px) {
    .cost {
        grid-template-columns: 1fr
    }
}

/* ---------- 기능 그리드 ---------- */
.feat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden
}

.feat-item {
    background: #fff;
    padding: 30px 26px 32px
}

.feat-item .ico {
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    color: var(--flame)
}

.feat-item p {
    font-size: 14.5px;
    color: var(--steel);
    margin-top: 9px;
    word-break: keep-all
}

@media(max-width:900px) {
    .feat {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:560px) {
    .feat {
        grid-template-columns: 1fr
    }
}

/* ---------- 화면 소개 ---------- */
.screens {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px
}

.screen {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.screen-view {
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    min-height: 186px
}

.screen-body {
    padding: 22px 24px 26px
}

.screen-body p {
    font-size: 14.5px;
    color: var(--steel);
    margin-top: 8px;
    word-break: keep-all
}

.ui {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 13px
}

.ui-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid var(--line)
}

.ui-row:last-child {
    border-bottom: 0
}

.ui-row span:last-child {
    color: var(--flame);
    font-weight: 800
}

.ui-lbl {
    font-size: 10px;
    letter-spacing: .1em;
    font-weight: 800;
    color: var(--steel);
    margin-bottom: 9px
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 66px;
    margin-top: 10px
}

.bars i {
    flex: 1;
    background: var(--ember);
    border-radius: 3px 3px 0 0
}

.bars i.on {
    background: var(--flame)
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.chips b {
    font-size: 10.5px;
    font-weight: 700;
    background: var(--ember);
    color: var(--flame);
    padding: 5px 9px;
    border-radius: 6px
}

@media(max-width:820px) {
    .screens {
        grid-template-columns: 1fr
    }
}

/* ---------- 솔루션 ---------- */
.sol {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.sol-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 26px 24px 28px
}

.sol-card .k {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--flame);
    margin-bottom: 14px
}

.sol-card p {
    font-size: 14px;
    color: var(--steel);
    margin-top: 9px;
    word-break: keep-all
}

.sol-card .note {
    font-size: 12px;
    color: #9A938D;
    margin-top: 12px
}

@media(max-width:980px) {
    .sol {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:560px) {
    .sol {
        grid-template-columns: 1fr
    }
}

/* ---------- footer ---------- */
footer {
    border-top: 1px solid var(--line);
    padding: 44px 0 56px;
    font-size: 13.5px;
    color: var(--steel)
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap
}

footer img {
    height: 22px;
    width: auto;
    margin-bottom: 18px
}

.foot dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    font-size: 13px
}

.foot dt {
    font-weight: 700;
    color: var(--ink)
}

.copy {
    margin-top: 32px;
    font-size: 12.5px;
    color: #A29B95
}

.ph {
    color: #B9B2AC
}

.cursor_pointer {
    cursor: pointer;
}
/* 폼 요소는 본문 서체를 상속 */
button, input, select, textarea {
    font-family: inherit;
}

/* 표·수치는 고정폭 숫자로 정렬 */
table, .gridTable, .file-size, .eng {
    font-variant-numeric: var(--font-num);
}
