:root {
    color-scheme: light;
    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-soft: #f2f4f7;
    --text: #101828;
    --muted: #667085;
    --line: #e4e7ec;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-soft: #eff6ff;
    --ink: #111827;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

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

h1,
h2,
h3,
p {
    word-break: keep-all;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 68px;
    background: rgba(247, 248, 250, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(228, 231, 236, 0.82);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 max(24px, calc((100vw - 1120px) / 2));
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: Inter, sans-serif;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.site-nav a:hover {
    color: var(--text);
}

.admin-link {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    padding: 8px 12px;
}

.hero,
.feature-section,
.service-band,
.process-section,
.contact-section {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: 64px;
    min-height: calc(100vh - 68px);
    padding: 54px 0 84px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(44px, 6.5vw, 78px);
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.lead {
    max-width: 650px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 600;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.primary-cta,
.secondary-cta,
button {
    min-height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-weight: 900;
    padding: 12px 18px;
    cursor: pointer;
}

.primary-cta,
button {
    border: 0;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.primary-cta:hover,
button:hover {
    background: var(--accent-dark);
}

.secondary-cta {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
}

.hero-visual,
.feature-visual {
    min-width: 0;
}

.image-slot {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(20, 184, 166, 0.1)),
        repeating-linear-gradient(135deg, #f8fafc 0, #f8fafc 14px, #eef2f7 14px, #eef2f7 28px);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    color: var(--ink);
}

.image-slot::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(16, 24, 40, 0.2);
    border-radius: 20px;
}

.image-slot span,
.image-slot strong,
.image-slot small {
    position: relative;
    z-index: 1;
}

.image-slot span {
    width: fit-content;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    padding: 8px 11px;
}

.image-slot strong {
    margin-top: 14px;
    font-size: 28px;
    letter-spacing: -0.02em;
}

.image-slot small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.hero-slot {
    min-height: 620px;
}

.phone-slot {
    min-height: 560px;
    max-width: 420px;
    margin-left: auto;
}

.dashboard-slot {
    min-height: 420px;
}

.feature-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    align-items: center;
    gap: 70px;
    padding: 104px 0;
}

.feature-section.reverse {
    direction: rtl;
}

.feature-section.reverse > * {
    direction: ltr;
}

.feature-copy h2,
.section-heading h2,
.process-copy h2,
.contact-copy h2 {
    margin: 0;
    font-size: clamp(34px, 4.4vw, 56px);
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.feature-copy p:not(.eyebrow),
.process-copy p,
.contact-copy p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.75;
}

.service-band {
    padding: 98px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

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

.service-card,
.process-list li,
.contact-section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.service-card {
    min-height: 230px;
    padding: 26px;
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 24px;
}

.service-card h3,
.process-list h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.service-card p,
.process-list p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.process-section {
    display: grid;
    grid-template-columns: 0.82fr 1fr;
    gap: 44px;
    align-items: start;
    padding: 98px 0;
}

.process-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.process-list li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    padding: 24px;
}

.process-list span {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 900;
}

.contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 36px;
    padding: 36px;
    margin-bottom: 84px;
}

.contact-copy h2 {
    margin-bottom: 18px;
}

.form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--text);
    padding: 13px 14px;
    font: inherit;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

textarea {
    resize: vertical;
}

.message {
    min-height: 22px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.message.error {
    color: #b42318;
}

@media (max-width: 920px) {
    .site-header {
        padding: 0 20px;
    }

    .hero,
    .feature-section,
    .process-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 54px;
    }

    .phone-slot {
        max-width: none;
        margin-left: 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .site-header {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        padding-block: 14px;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
        white-space: nowrap;
    }

    .hero,
    .feature-section,
    .service-band,
    .process-section,
    .contact-section {
        width: min(100% - 32px, 1120px);
    }

    .hero {
        padding: 44px 0 58px;
    }

    h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .lead,
    .feature-copy p:not(.eyebrow),
    .process-copy p,
    .contact-copy p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-cta,
    .secondary-cta,
    button {
        width: 100%;
    }

    .hero-slot,
    .phone-slot,
    .dashboard-slot {
        min-height: 380px;
    }

    .feature-section,
    .service-band,
    .process-section {
        padding: 64px 0;
    }

    .service-card,
    .process-list li,
    .contact-section {
        padding: 22px;
    }

    .process-list li {
        grid-template-columns: 1fr;
    }
}
