:root {
    --paper: #ffffff;
    --paper-soft: #f8fafc;
    --ink: #111827;
    --ink-soft: #4b5563;
    --ink-muted: #8b95a1;
    --line: #e8edf3;
    --blue: #3182f6;
    --blue-soft: #eaf3ff;
    --mint: #12b886;
    --mint-soft: #e8fbf4;
    --pink: #f06595;
    --pink-soft: #fff0f6;
    --yellow: #f2b705;
    --yellow-soft: #fff8db;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --radius: 8px;
    --container: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
    letter-spacing: 0;
}

button {
    border: 0;
    cursor: pointer;
}

.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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(232, 237, 243, 0.9);
    backdrop-filter: blur(16px);
}

.nav {
    width: min(100% - 40px, var(--container));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--ink);
}

.brand__mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.brand__text {
    font-size: 18px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__menu a {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--radius);
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 700;
}

.nav__menu a:hover,
.nav__menu a:focus-visible {
    background: var(--paper-soft);
    color: var(--ink);
    outline: none;
}

.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: var(--paper-soft);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.nav__toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.96) 52%, rgba(255, 255, 255, 0.72) 100%),
        var(--paper);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 88px 32px auto auto;
    width: 280px;
    height: 280px;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.55;
    pointer-events: none;
}

.hero__playground {
    position: absolute;
    right: max(28px, calc((100vw - var(--container)) / 2));
    bottom: 86px;
    width: 420px;
    height: 430px;
    pointer-events: none;
}

.mini-phone,
.mini-card {
    position: absolute;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.mini-phone {
    right: 54px;
    bottom: 0;
    width: 230px;
    height: 360px;
    padding: 22px;
}

.mini-phone__bar {
    width: 72px;
    height: 6px;
    margin: 0 auto 28px;
    border-radius: 999px;
    background: var(--line);
}

.mini-phone__title {
    font-size: 24px;
    font-weight: 900;
}

.mini-phone__row {
    width: 100%;
    height: 58px;
    margin-top: 16px;
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, var(--blue-soft) 0 38%, #fff 38% 100%);
    border: 1px solid var(--line);
}

.mini-phone__row--short {
    width: 82%;
    background:
        linear-gradient(90deg, var(--pink-soft) 0 44%, #fff 44% 100%);
}

.mini-phone__pill {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--blue);
    color: #fff;
    font-weight: 900;
}

.mini-card {
    width: 172px;
    min-height: 112px;
    padding: 18px;
}

.mini-card span {
    width: 36px;
    height: 36px;
    display: block;
    margin-bottom: 12px;
    border-radius: var(--radius);
}

.mini-card strong {
    display: block;
    font-size: 18px;
}

.mini-card em {
    display: block;
    margin-top: 2px;
    color: var(--ink-muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.mini-card--blue {
    top: 28px;
    left: 4px;
}

.mini-card--blue span {
    background: var(--blue-soft);
}

.mini-card--mint {
    right: 0;
    top: 166px;
}

.mini-card--mint span {
    background: var(--mint-soft);
}

.hero__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    padding: 112px 0 96px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1,
.section__heading h2,
.contact__copy h2 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.12;
    color: var(--ink);
}

.hero h1 {
    max-width: 720px;
    font-size: 64px;
    font-weight: 900;
}

.hero__lead {
    max-width: 560px;
    margin: 28px 0 0;
    color: var(--ink-soft);
    font-size: 20px;
    font-weight: 600;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: var(--radius);
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.button--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 12px 28px rgba(49, 130, 246, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: #1d6fe8;
}

.button--ghost {
    background: var(--paper-soft);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
}

.hero__notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 36px 0 0;
    padding: 0;
}

.hero__notes div {
    width: 142px;
    min-height: 82px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
}

.hero__notes dt {
    color: var(--ink);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
}

.hero__notes dd {
    margin: 6px 0 0;
    color: var(--ink-muted);
    font-size: 14px;
    font-weight: 700;
}

.section {
    padding: 92px 0;
    background: var(--paper);
}

.section--compact {
    padding: 0 0 44px;
}

.section--soft {
    background: var(--paper-soft);
}

.section__inner {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.section__heading {
    max-width: 680px;
    margin-bottom: 34px;
}

.section__heading--row {
    max-width: none;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: end;
}

.section__heading h2,
.contact__copy h2 {
    font-size: 42px;
    font-weight: 900;
}

.section__heading p:not(.eyebrow),
.contact__copy p {
    margin: 16px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
    font-weight: 600;
}

.promise-strip {
    min-height: 96px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.promise-strip__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--pink-soft);
    color: var(--pink);
}

.promise-strip h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.35;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card,
.work-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.service-card {
    min-height: 360px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 20px;
}

.service-card--mint .service-card__icon {
    background: var(--mint-soft);
    color: var(--mint);
}

.service-card--pink .service-card__icon {
    background: var(--pink-soft);
    color: var(--pink);
}

.service-card h3 {
    margin: 22px 0 10px;
    font-size: 24px;
    line-height: 1.25;
}

.service-card p {
    margin: 0;
    color: var(--ink-soft);
    font-weight: 600;
}

.service-card ul {
    display: grid;
    gap: 8px;
    margin: auto 0 0;
    padding: 24px 0 0;
    list-style: none;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 700;
}

.service-card li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

.service-card--mint li::before {
    background: var(--mint);
}

.service-card--pink li::before {
    background: var(--pink);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    min-height: 210px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.process-list span {
    display: inline-flex;
    width: 42px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--yellow-soft);
    color: #9a6c00;
    font-size: 14px;
    font-weight: 900;
}

.process-list strong {
    display: block;
    margin-top: 28px;
    font-size: 22px;
    line-height: 1.35;
}

.process-list p {
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-weight: 600;
}

.work-board {
    display: grid;
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
    gap: 16px;
}

.work-item {
    min-height: 250px;
    padding: 24px;
}

.work-item__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: var(--radius);
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.work-item__badge--green {
    background: var(--mint-soft);
    color: var(--mint);
}

.work-item__badge--yellow {
    background: var(--yellow-soft);
    color: #9a6c00;
}

.work-item h3 {
    margin: 42px 0 12px;
    font-size: 26px;
    line-height: 1.25;
}

.work-item p {
    margin: 0;
    color: var(--ink-soft);
    font-weight: 600;
}

.contact {
    padding-top: 100px;
}

.contact__inner {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 48px;
    align-items: start;
}

.contact__copy {
    position: sticky;
    top: 110px;
}

.contact__details {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.contact__details a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
}

.contact__details i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--paper-soft);
    color: var(--blue);
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-soft);
    color: var(--ink);
    padding: 12px 14px;
    outline: none;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 132px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(49, 130, 246, 0.12);
}

.contact-form__submit {
    width: 100%;
}

.contact-form__submit.is-loading {
    pointer-events: none;
    opacity: 0.76;
}

.form-message {
    min-height: 24px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
}

.form-message.is-success {
    color: var(--mint);
}

.form-message.is-error {
    color: #e03131;
}

.legal {
    background: #fff;
}

.legal__hero {
    width: min(100% - 40px, 860px);
    margin: 0 auto;
    padding: 92px 0 42px;
}

.legal__hero h1 {
    margin: 0;
    font-size: 44px;
    line-height: 1.14;
}

.legal__hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
    font-weight: 650;
}

.legal__hero span {
    display: inline-flex;
    margin-top: 22px;
    padding: 7px 12px;
    border-radius: var(--radius);
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
}

.legal__content {
    width: min(100% - 40px, 860px);
    margin: 0 auto;
    padding: 0 0 92px;
}

.legal__content article {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.legal__content h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
}

.legal__content p {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-weight: 650;
}

.legal__content a {
    color: var(--blue);
    font-weight: 850;
}

.footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer__inner {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    padding: 32px 0;
}

.footer strong {
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
}

.footer__info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__info li,
.footer p {
    color: var(--ink-muted);
    font-size: 13px;
    font-weight: 650;
}

.footer__contact {
    margin: 12px 0 0;
}

.footer__notice {
    margin: 6px 0 0;
}

.footer a {
    font-weight: 850;
    color: var(--blue);
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-end;
    gap: 10px 16px;
}

.footer__links a {
    font-size: 14px;
}

@media (max-width: 980px) {
    .hero {
        min-height: auto;
        align-items: flex-start;
    }

    .hero__playground {
        right: 20px;
        bottom: 18px;
        width: 270px;
        height: 280px;
        opacity: 0.18;
    }

    .mini-phone {
        width: 180px;
        height: 270px;
        right: 22px;
        padding: 18px;
    }

    .mini-card {
        width: 132px;
        min-height: 92px;
        padding: 14px;
    }

    .hero h1 {
        max-width: 640px;
        font-size: 48px;
    }

    .hero__lead {
        font-size: 18px;
    }

    .service-grid,
    .process-list,
    .work-board,
    .contact__inner,
    .section__heading--row {
        grid-template-columns: 1fr;
    }

    .contact__copy {
        position: static;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 15px;
    }

    .nav {
        width: min(100% - 28px, var(--container));
        height: 64px;
    }

    .nav__toggle {
        display: inline-flex;
    }

    .nav__menu {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow);
    }

    .nav__menu.is-open {
        display: flex;
    }

    .nav__menu a {
        width: 100%;
        justify-content: center;
    }

    .hero__inner {
        width: min(100% - 28px, var(--container));
        padding: 72px 0 64px;
    }

    .hero__playground {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero__lead,
    .section__heading p:not(.eyebrow),
    .contact__copy p {
        font-size: 16px;
    }

    .hero__actions,
    .hero__notes {
        flex-direction: column;
        align-items: stretch;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        width: min(100% - 28px, var(--container));
    }

    .footer__links {
        justify-content: flex-start;
    }

    .nav__menu--simple {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        width: auto;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .nav__menu--simple a {
        width: auto;
    }

    .hero__notes div {
        width: 100%;
    }

    .section {
        padding: 68px 0;
    }

    .section--compact {
        padding: 0 0 28px;
    }

    .section__inner {
        width: min(100% - 28px, var(--container));
    }

    .section__heading h2,
    .contact__copy h2 {
        font-size: 30px;
    }

    .promise-strip,
    .form-row {
        grid-template-columns: 1fr;
    }

    .promise-strip h2 {
        font-size: 20px;
    }

    .service-card,
    .work-item,
    .process-list li {
        min-height: auto;
    }

    .contact-form {
        padding: 18px;
    }

    .legal__hero,
    .legal__content {
        width: min(100% - 28px, 860px);
    }

    .legal__hero {
        padding: 62px 0 34px;
    }

    .legal__hero h1 {
        font-size: 34px;
    }

    .legal__content {
        padding-bottom: 68px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}
