* {
    box-sizing: inherit;
}

body {
    box-sizing: border-box;

    margin: 0;

    font-family: 'Sunghyun Sans KR', 'Sunghyun Sans', sans-serif;
    font-size: 16px;

    color: var(--primary-text);
    background-color: var(--bodyBG);
}

:root {
    --bodyBG: #FFFFFF;
    --sectionBG: #F3F3F5;
    --headerBG: rgba(255, 255, 255, 0.8);
    --sidebarBG: rgba(255, 255, 255, 0.8);
    --sidebar-segmentedBG: rgba(204, 204, 204, 0.25);
    --cardBG: rgba(255, 255, 255, 0.75);

    --primary-border: #CCCCCC;
    --secondary-border: #DCDCDC;

    --primary-text: #3c3c3e;
    --primary-text-alt: #f2f2f7;
    --secondary-text: #AEAEAE;

    --focus-accent: #FF9181;
    --primary-accent: #3cc1ff;
    --secondary-accent: rgba(255, 127, 107, 0.15);

    --toolbarBackground: rgba(255, 255, 255, 0.75);
    --toolbarBackgroundHover: #fff;
    --toolbarResultBackground: rgba(255, 255, 255, 0.5);
    --toolbarResultBackgroundHover: rgba(255, 255, 255, 0.75);
    --toolbarBorder: linear-gradient(150deg, var(--toolbar-border1) 0%, var(--toolbar-border2) 50%, var(--toolbar-border1) 100%);
    --toolbarText: rgba(60, 60, 62, 0.75);
    --toolbarTextHover: #000;

    --toolbar-border1: white;
    --toolbar-border2: rgba(255, 255, 255, 0.3);

    --primary-warning: #E5294D;
    --focus-warning: #FF2D55;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bodyBG: black;
        --sectionBG: #1c1c1e;
        --headerBG: rgba(28, 28, 30, 0.8);
        --sidebarBG: rgba(28, 28, 30, 0.8);
        --sidebar-segmentedBG: rgba(99, 99, 99, 0.25);
        --toolbarBG: black;
        --toolbar-insetBG: #2c2c2e;
        --cardBG: rgba(0, 0, 0, 0.75);

        --primary-border: #3c3c3e;
        --secondary-border: #2c2c2e;

        --primary-text: #e5e5ea;
        --primary-text-alt: #1c1c1e;
        --secondary-text: #a8a8a8;

        --toolbarBackground: rgba(0, 0, 0, 0.75);
        --toolbarBackgroundHover: #000000;
        --toolbarResultBackground: rgba(0, 0, 0, 0.25);
        --toolbarResultBackgroundHover: rgb(0, 0, 0);
        --toolbarBorder: linear-gradient(150deg, var(--toolbar-border1) 0%, var(--toolbar-border2) 50%, var(--toolbar-border1) 100%);
        --toolbarText: rgba(242, 242, 247, 0.75);
        --toolbarTextHover: #fff;

        --toolbar-border1: rgba(255, 255, 255, 0.25);
        --toolbar-border2: rgba(168, 168, 168, 0.2);

        --primary-warning: #D14747;
        --focus-warning: #E84F4F;
    }
}

@font-face {
    font-family: 'Super Shape';
    src: url('/ui/assets/fonts/SuperShape-PV9qE.ttf') format('truetype');
    font-display: swap;
}

.super {
    font-family: "super shape", sans-serif;
}

.container {
    width: 100%;
    min-width: auto;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 478px) {
    .container {
        max-width: none;
    }
}

@media screen and (max-width: 767px) {
    .container {
        max-width: none;
    }
}

@media screen and (max-width: 990px) {
    .container {
        max-width: 927px;
    }
}

@media screen and (min-width: 991px) {
    .container {
        width: 75%;
        min-width: 927px;
        max-width: 1068px;
    }
}

@media screen and (min-width: 1440px) {
    .container {
        min-width: 1068px;
        max-width: 1440px;
    }
}

@media screen and (min-width: 1920px) {
    .container {
        min-width: 1280px;
        max-width: 1440px;
    }
}

.layout.content-wrapper {
    display: flex;
    flex-direction: column;
}

.page.content-wrapper {
    display: flex;
    flex-direction: column;

    margin: 0px 0px 12px 0px;

    gap: 12px;

}

.section.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: var(--sectionBG);
}

.section.content {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    padding: 24px 0px;
}

.grid.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: transparent;
}

.grid.content {
    display: flex;
    flex-direction: row;
    align-items: stretch;

    text-align: center;

    padding: 0px 12px;
    gap: 12px;
}

@media screen and (max-width: 478px) {
.grid.content {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    text-align: center;

    padding: 0px 12px;
    gap: 12px;
}
}

.grid.card.content-wrapper {
    display: flex;

    padding: 1px;
    border-radius: 24px;
    corner-shape: squircle; 
    width: 100%;

    background: var(--toolbarBorder);

    backdrop-filter: blur(6px) saturate(60%);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);

    transition: all 0.5s cubic-bezier(0.00, 1.13, 0.00, 0.97);
}

.grid.card.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;

    height: 100%;
    width: 100%;
    min-width: 0;
    padding: 24px;
    margin: 0;
    border-radius: 24px;
    corner-shape: squircle;

    font-size: 14px;
    font-weight: 600;

    background: var(--toolbarBackground);
    color: var(--toolbarText);

    transition: all 0.5s cubic-bezier(0.00, 1.13, 0.00, 0.97);
}

.grid.card.title-wrapper {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
}

.grid.card.logo-wrapper {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
}

.grid.card.logo {
    width: 50%;
}

.grid.card.image-wrapper {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 0;
}

.grid.card.image-wrapper .section.trio-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.grid.card.button-wrapper {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 100%;
}

.card.content-wrapper {
    padding: 1px;
    border-radius: 999px;

    background: var(--toolbarBorder);

    backdrop-filter: blur(6px) saturate(60%);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);

    transition: all 0.5s cubic-bezier(0.00, 1.13, 0.00, 0.97);
}

.card.content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    height: 100%;
    min-width: 0;
    margin: 0;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    background: var(--toolbarBackground);
    color: var(--toolbarText);

    transition: all 0.5s cubic-bezier(0.00, 1.13, 0.00, 0.97);
}

.section.button-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    margin-top: 12px;
    gap: 12px;
}

.button {
    margin-top: 12px;
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: none;
    min-width: 120px;
    white-space: nowrap;
}

@media only screen and (max-width: 767px) {
    .button {
        font-size: 14px;
        min-width: 30px;
        padding: 7px 15px;
        line-height: 1.43;
    }
}

.button.prefer {
    background-color: var(--primary-accent);
    color: var(--primary-text-alt);
}

.button.alternative {
    background-color: transparent;
    color: var(--primary-accent);
    border: 1px solid var(--primary-accent);
}

.button.nonprefer {
    background-color: var(--secondary-border);
    color: var(--warning);
}

.button.nuetral {
    background-color: transparent;
    color: var(--primary-accent);
    border: 1px solid var(--primary-accent);
}

.button.prefer.fill,
.button.nonprefer.fill,
.button.nuetral.fill {
    width: 100%;
}

.input-wrapper.split {
    flex-direction: row;
}

@media only screen and (max-width: 478px) {
    .input-wrapper.split {
        flex-direction: column;
    }
}

.input-label {
    z-index: 5;

    font-size: 12px;

    margin-bottom: -14px;
    margin-left: 16px;
    padding: 0px 8px;

    background-color: transparent;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 500px var(--autofillBG) inset !important;
    -webkit-text-fill-color: var(--primary-accent) !important;
}

.logo {
    font-size: 48px;
    font-weight: 900;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

.h1.hero {
    font-size: 56px;
    line-height: 1;
    font-weight: 700;

    text-align: center;
}

@media only screen and (max-width: 991px) {
    .h1.hero {
        font-size: 48px;
        line-height: 1;
        font-weight: 700;
    }
}

@media only screen and (max-width: 767px) {
    .h1.hero {
        font-size: 40px;
        line-height: 1.125;
        font-weight: 800;
    }
}

@media only screen and (max-width: 478px) {
    .h1.hero {
        font-size: 28px;
        line-height: 1.125;
        font-weight: 900;
    }
}

p {
    margin: 0;
    line-height: 1.5;
}

.p.hero {
    font-size: 32px;
    line-height: 1.4;
    font-weight: 400;

    margin-top: 6px;

    text-align: center;
}

@media only screen and (max-width: 767px) {
    .p.hero {
        font-size: 24px;
        line-height: 1.35;

        max-width: 310px;
    }
}

@media only screen and (max-width: 478px) {
    .p.hero {
        font-size: 20px;
        line-height: 1.25;

        max-width: 256px;
    }
}
