/* Google Font (similar clean style) */


:root {
    --bg: #e3e3e3;
    --text: #000000;
    --muted: #666666;
    --logo-color: #111111;
}
@font-face {
    font-family: riforma-web;
    src: local("\263a"), url(/fonts/riforma/300.woff2) format("woff2"), url(/fonts/riforma/300.woff) format("woff");
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: riforma-web;
    src: local("\263a"), url(/fonts/riforma/400.woff2) format("woff2"), url(/fonts/riforma/400.woff) format("woff");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: riforma-web;
    src: local("\263a"), url(/fonts/riforma/600.woff2) format("woff2"), url(/fonts/riforma/600.woff) format("woff");
    font-weight: 600;
    font-style: normal
}

@font-face {
    font-family: riforma-web;
    src: local("\263a"), url(/fonts/riforma/700.woff2) format("woff2"), url(/fonts/riforma/700.woff) format("woff");
    font-weight: 700;
    font-style: normal
}

@media only screen and (max-width: 600px) {
    :root {
        --site-margin-y: (25 / var(--size-base) * 1rem);
        --side-margin: (20 / var(--size-base) * 1rem);
        --grid-gap-x: (7 / var(--size-base) * 1rem);
        --grid-gap-y: (45 / var(--size-base) * 1rem)
    }
}

@media only screen and (min-width: 601px) and (max-width: 992px) {
    :root {
        --viewport-base: 768;
        --size-base: 18
    }
}

@media only screen and (max-width: 600px) {
    :root {
        --viewport-base: 375;
        --size-base: 15.75
    }
}
/* Dark Theme Variables */
[data-theme="dark"] {
    --bg: #d1ff00;
    --text: #000000;
    --muted: #a9a9a9;
    --logo-color: #000000
}
* {
    box-sizing: border-box;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-size-adjust: none;
    text-rendering: geometricprecision !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    outline: none;
}
body {
    background: var(--bg);
    color: var(--text);
    font-family:"riforma-web", "Helvetica", "Arial", "Tahoma", "Verdana", "Sans-Serif";
    margin: 0;
    padding: 0;
    font-size: clamp(11px, 2.5vw, 20px);
    line-height: 1.5
    /* hide scrollbar */
}
*::-webkit-scrollbar {
    display: none;
}
.container {
    max-width: 1380px;
    margin: auto;
    padding: 25px 20px;
}
@media (min-width: 992px) {
    .container {
        padding: 40px 20px;
    }
}
.header h1 {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 400;
    margin: 0;
    margin-bottom: 60px;
}
.logo{
    width: 94px;
    margin: 0 auto 120px;
}
.logo svg {
    fill: var(--logo-color);
    width: 100%;
    height: auto;
}
@media (min-width:768px) {
    .logo {
        width: 114px;
    }
}
@media (min-width:992px) {
    .logo {
        width: 184px;
        margin-bottom: 170px;
    }
}
.logo svg {
    width: 100%;
    height: auto;
}
/* Theme Toggle Button */
.toggle-btn {
    position: fixed;
    top: 20px;
    right: 15px;
    border: none;
    background: var(--text);
    color: var(--bg);
    font-size: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.2;
}
@media (min-width:992px) {
    .toggle-btn {
        top: 50px;
        right: 50px;
    }
}
.toggle-btn:hover {
    opacity: 0.7;
}
/* Intro */
.intro {
    font-size: clamp(15px, 4.2vw, 23px);
    line-height: 1.6
}
.intro p {
    margin-bottom: 50px;
    max-width: 1000px;
}
.intro .ko {
    margin-left: auto;
    font-weight: 500;
    letter-spacing: -0.05em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-top: 85px;
}

@media(max-width: 800px) {
    .footer-grid {
        gap:20px;
        grid-template-columns: 1fr 1fr;
    }
    .intro p {
        margin-bottom: 65px;
    }
}

.footer-grid h3 {
    margin-bottom: 10px;
    font-weight: 700;
}
@media(min-width: 992px) {
    .footer-grid h3 {
        font-size: 20px;
    }
}
.footer-grid p,
.footer-grid li {
    list-style: none;
}

.footer-bottom {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;}
.footer-grid a {
    color: inherit;
    text-decoration: none;
}
.footer-bottom a {
    color: inherit;
}
ul {
    padding: 0;
}