@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

* {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
::-moz-selection {background: #000000; /*메인색*/ color: #e6e6e6;text-shadow: none;}
::selection {background: #000000; color: #e6e6e6; text-shadow: none;}
html, body, div, span, object, iframe, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, strong, sub, sup, legend, caption, table, tbody, thead, tfoot, tr, th, td, summary, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, b, i, a, small, menu, nav, section, time, mark, audio, video, dl, dt, dd, ul, li, ol, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, select, textarea, p, blockquote, button {margin:0;padding:0; border: 0;outline: 0;font-weight: inherit;font-style: inherit;font-family: inherit;color:inherit;vertical-align: middle}
dl,ul,ol,menu,li {list-style:none}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
input,select,textarea,button {font-family:"Pretendard";background:none}
input::-moz-placeholder, textarea::-moz-placeholder {color: #bbb !important;}
img {border:0; max-width:100%}
table {border-collapse:collapse; table-layout: fixed;}
a {text-decoration:none;}
a:hover {transition:.3s all ease}
span {vertical-align:top}
blockquote {font-style:italic;border-left:5px #000 solid; padding-left:20px;margin:40px 20px;}
div,p {word-break:keep-all;}
b, strong {font-weight:700;}
html{font-size:16px;scroll-behavior: smooth;}
body {color:#333; font-family:"Pretendard","Malgun Gothic","Apple SD Gothic NEO",dotum,sans-serif; background:#f8f9fa;-webkit-font-smoothing: antialiased;-webkit-overflow-scrolling: touch;}

/* --- mytype.kr UI Layout --- */

header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 1.25rem 0;
    text-align: center;
}
header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
header h1 a {
    color: #4F46E5;
}

.container {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1.25rem;
}

.container h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.card-badge {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    background: #EEF2FF;
    color: #4F46E5;
    margin-bottom: 0.85rem;
    vertical-align: baseline;
}

.card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
    line-height: 1.4;
}

.card p {
    font-size: 0.925rem;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-start {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
    text-align: center;
    background: #4F46E5;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}
.btn-start:hover {
    background: #4338CA;
}

/* --- Footer Layout --- */
footer {
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 2.5rem 0;
    margin-top: 4rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: #4F46E5;
}

.footer-links a {
    color: #4b5563;
    margin-left: 1rem;
    font-size: 0.85rem;
}
.footer-links a:first-child {
    margin-left: 0;
}
.footer-links a:hover {
    color: #111827;
}

.footer-bottom {
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.5;
}