:root {
    --ink: #10241f;
    --ink-soft: #2a433c;
    --paper: #f2f6f4;
    --paper-2: #e4ece8;
    --teal: #0f5c52;
    --teal-deep: #083832;
    --accent: #d97706;
    --line: rgba(16, 36, 31, 0.12);
    --shadow: 0 18px 50px rgba(8, 56, 50, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(242, 246, 244, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--ink);
}

.logo img {
    height: 34px;
    width: auto;
}

.logo-text {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-text em {
    font-style: normal;
    color: var(--teal);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.35rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.92rem;
}

.nav-menu a:hover {
    color: var(--teal);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #f7fbf9;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(217, 119, 6, 0.22), transparent 55%),
        linear-gradient(160deg, #062924 0%, #0f5c52 48%, #143c36 100%);
    background-size: cover;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
    animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 48px 48px, 48px 48px; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding: 5.5rem 1.5rem 4rem;
}

.brand-mark {
    font-family: "Literata", Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
    animation: rise 0.8s ease both;
}

.hero h1 {
    font-family: "Literata", Georgia, serif;
    font-size: clamp(2.1rem, 5.5vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    max-width: 14ch;
    margin-bottom: 1.1rem;
    animation: rise 0.9s ease 0.08s both;
}

.hero-lead {
    max-width: 40rem;
    font-size: 1.12rem;
    opacity: 0.95;
    animation: rise 1s ease 0.14s both;
}

.hero .lang-ko {
    margin-top: 0.7rem;
    max-width: 38rem;
    color: rgba(247, 251, 249, 0.88);
    font-size: 0.95rem;
    animation: rise 1s ease 0.2s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.75rem;
    animation: rise 1s ease 0.26s both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.35rem;
    background: #fff;
    color: var(--teal-deep);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-on-dark {
    background: #fff;
    color: var(--teal-deep);
}

.launch-chip {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: #fff;
}

.section-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.section h2 {
    font-family: "Literata", Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.subtitle-ko {
    margin-top: 0.35rem;
    color: #5a6f68;
    font-size: 0.98rem;
}

.prose {
    margin-top: 1.75rem;
    max-width: 46rem;
}

.prose p {
    margin-bottom: 1rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.lang-ko {
    display: block;
    margin-top: 0.55rem;
    color: #5a6f68;
    font-size: 0.95rem;
}

.service-list {
    margin-top: 2rem;
    display: grid;
    gap: 1.25rem;
}

.service-block {
    padding: 1.35rem 0 1.35rem 1.15rem;
    border-left: 3px solid var(--teal);
}

.service-block h3 {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

.service-block h3 span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--teal);
}

.service-block p {
    color: var(--ink-soft);
}

.table-scroll {
    margin-top: 1.75rem;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.arch-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: 0.95rem;
}

.arch-table th,
.arch-table td {
    text-align: left;
    vertical-align: top;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--line);
}

.arch-table th {
    background: var(--paper-2);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.arch-table td .ko {
    color: var(--teal);
    font-size: 0.85rem;
    font-weight: 600;
}

.diff-list {
    list-style: none;
    margin-top: 1.75rem;
    display: grid;
    gap: 1.35rem;
}

.diff-list li {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.diff-list strong {
    font-size: 1.08rem;
}

.diff-ko {
    display: block;
    margin: 0.2rem 0 0.45rem;
    color: var(--teal);
    font-weight: 600;
    font-size: 0.92rem;
}

.diff-list p {
    color: var(--ink-soft);
}

.cta {
    background: linear-gradient(145deg, var(--teal-deep), var(--teal));
    color: #f7fbf9;
    text-align: center;
}

.cta h2 {
    color: #fff;
}

.cta p {
    margin: 0.6rem auto 0;
    max-width: 34rem;
    opacity: 0.95;
}

.cta .lang-ko {
    color: rgba(247, 251, 249, 0.88);
    margin-bottom: 1.4rem;
}

.cta .btn-primary {
    margin-top: 0.5rem;
}

.footer {
    background: #071c19;
    color: rgba(247, 251, 249, 0.85);
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.92rem;
}

.footer a {
    color: #9fd4c8;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p + p {
    margin-top: 0.55rem;
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0.85rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem 1.5rem 1.35rem;
        border-bottom: 1px solid var(--line);
    }

    .nav-menu.open {
        display: flex;
    }

    .hero {
        min-height: 70vh;
        align-items: center;
    }

    .hero-content {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
}
