:root {
    color-scheme: dark;
    --bg: #03070c;
    --panel: #0a111a;
    --panel-2: #0f1824;
    --text: #f6fbff;
    --muted: #9fafbf;
    --border: rgba(156, 179, 203, 0.18);
    --accent: #55e6b7;
    --accent-2: #79a7ff;
    --accent-soft: rgba(85, 230, 183, 0.12);
    --warning: #ffd28a;
    --warning-soft: rgba(255, 210, 138, 0.12);
    --danger-soft: rgba(255, 128, 128, 0.14);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
    --link: #55e6b7;
    --on-accent: #04110d;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --device: rgba(3, 7, 12, 0.78);
    --input: rgba(3, 7, 12, 0.74);
    --panel-top: rgba(15, 24, 36, 0.94);
    --panel-bottom: rgba(10, 17, 26, 0.94);
    --glow-1: rgba(85, 230, 183, 0.14);
    --glow-2: rgba(121, 167, 255, 0.12);
    --warning-ink: #ffd28a;
    --error-ink: #ffd4d4;
}

@media (prefers-color-scheme: light) {
    :root {
        color-scheme: light;
        --bg: #f3f6fa;
        --panel: #ffffff;
        --panel-2: #f6f9fc;
        --text: #0c1722;
        --muted: #44566a;
        --border: rgba(12, 23, 34, 0.16);
        --accent: #087a5b;
        --accent-2: #2b5fd0;
        --accent-soft: rgba(8, 122, 91, 0.1);
        --warning-soft: rgba(176, 108, 0, 0.1);
        --danger-soft: rgba(200, 40, 40, 0.08);
        --shadow: 0 18px 50px rgba(12, 23, 34, 0.1);
        --link: #066048;
        --on-accent: #ffffff;
        --surface: rgba(12, 23, 34, 0.035);
        --surface-2: rgba(12, 23, 34, 0.06);
        --device: rgba(255, 255, 255, 0.85);
        --input: #ffffff;
        --panel-top: #ffffff;
        --panel-bottom: #f8fafc;
        --glow-1: rgba(8, 122, 91, 0.1);
        --glow-2: rgba(43, 95, 208, 0.08);
        --warning-ink: #7a4a00;
        --error-ink: #8a1f1f;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 18% 0%, var(--glow-1), transparent 28rem),
        radial-gradient(circle at 88% 8%, var(--glow-2), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--link);
    font-weight: 800;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(85, 230, 183, 0.42);
    outline-offset: 3px;
}

.skip-link {
    background: var(--accent);
    color: var(--on-accent);
    left: 12px;
    padding: 10px 14px;
    position: absolute;
    top: -60px;
    z-index: 10;
}

.skip-link:focus {
    top: 12px;
}

.shell {
    margin: 0 auto;
    max-width: 1180px;
    padding: 24px 20px 56px;
}

.topbar {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.brand {
    align-items: center;
    color: var(--text);
    display: inline-flex;
    font-size: 18px;
    font-weight: 900;
    gap: 10px;
    letter-spacing: 0;
    min-height: 44px;
    text-decoration: none;
    white-space: nowrap;
}

.brand-mark {
    background: url('../favicon.png') center / cover no-repeat;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(79, 89, 255, 0.28);
    display: inline-block;
    height: 28px;
    width: 28px;
}

.nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.nav a,
.button {
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    display: inline-flex;
    font-size: 14px;
    justify-content: center;
    min-height: 44px;
    padding: 9px 13px;
    text-decoration: none;
}

.nav a {
    white-space: nowrap;
}

.nav-menu {
    display: none;
}

.nav-menu summary {
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    list-style: none;
    min-height: 44px;
    padding: 9px 16px;
}

.nav-menu summary::-webkit-details-marker {
    display: none;
}

.nav-menu summary::after {
    content: "+";
    margin-left: 10px;
}

.nav-menu[open] summary::after {
    content: "\2212";
}

.nav-menu .nav {
    justify-content: flex-start;
    margin-top: 10px;
}

.nav a[aria-current="page"] {
    background: var(--accent-soft);
    border-color: rgba(85, 230, 183, 0.36);
}

.button {
    background: var(--accent);
    border-color: transparent;
    color: var(--on-accent);
    font-weight: 900;
    min-height: 44px;
    padding: 11px 16px;
}

.button.secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}

.hero,
.content,
.section {
    background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    margin-bottom: 22px;
    padding: clamp(26px, 5vw, 52px);
}

.hero:not(.full) {
    align-items: stretch;
}

.hero.full {
    display: block;
}

.hero-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

h1 {
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: 0;
    margin: 0 0 16px;
}

h1 .h1-sep {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

h1 .h1-tagline {
    color: var(--muted);
    display: block;
    font-size: clamp(20px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 12px;
}

h2 {
    font-size: clamp(25px, 3.4vw, 38px);
    line-height: 1.14;
    letter-spacing: 0;
    margin: 0 0 14px;
}

h3 {
    font-size: 19px;
    line-height: 1.35;
    margin: 0 0 8px;
}

html[lang="ko"] body {
    word-break: keep-all;
    overflow-wrap: anywhere;
}

p {
    margin: 0 0 14px;
}

ul,
ol {
    margin: 0 0 18px;
    padding-left: 24px;
}

li {
    margin: 7px 0;
}

.summary {
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    max-width: 780px;
}

.meta,
.fineprint {
    color: var(--muted);
    font-size: 14px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.cta-row + .meta {
    margin-top: 20px;
}

.content,
.section {
    margin-bottom: 18px;
    padding: clamp(22px, 4vw, 38px);
}

.content a:not(.button):not(.card),
.section a:not(.button):not(.card) {
    align-items: center;
    display: inline-flex;
    min-height: 44px;
}

.section-header {
    max-width: 760px;
}

.grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.card,
.plan,
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    color: var(--text);
    min-height: 150px;
    padding: 18px;
    text-decoration: none;
}

.card span,
.plan span,
.faq-item p {
    color: var(--muted);
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

.plan strong {
    display: block;
    font-size: 26px;
    margin: 8px 0 10px;
}

.notice,
.warning,
.error {
    border-radius: 18px;
    margin: 18px 0;
    padding: 16px;
}

.notice {
    background: var(--accent-soft);
    border: 1px solid rgba(85, 230, 183, 0.22);
}

.warning {
    background: var(--warning-soft);
    border: 1px solid rgba(255, 210, 138, 0.24);
    color: var(--warning-ink);
}

.error {
    background: var(--danger-soft);
    border: 1px solid rgba(255, 128, 128, 0.28);
    color: var(--error-ink);
}

.form-grid {
    display: grid;
    gap: 16px;
    margin-top: 20px;
    max-width: 620px;
}

.field {
    display: grid;
    gap: 7px;
}

.field label {
    font-size: 14px;
    font-weight: 800;
}

.field input {
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font: inherit;
    min-height: 48px;
    padding: 11px 13px;
    width: 100%;
}

.field input::placeholder {
    color: #718296;
}

button.button {
    cursor: pointer;
    width: fit-content;
}

.product-visual {
    align-self: stretch;
    background: linear-gradient(160deg, rgba(85, 230, 183, 0.12), rgba(121, 167, 255, 0.10));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    display: grid;
    gap: 14px;
    align-content: center;
    min-height: 0;
    padding: 20px;
}

.device-card {
    background: var(--device);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 18px;
}

.widget-preview {
    display: grid;
    gap: 10px;
}

.preview-row {
    align-items: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    padding: 12px;
}

.preview-row strong {
    flex: 0 1 45%;
    min-width: 0;
}

.preview-row span {
    flex: 0 1 50%;
    min-width: 0;
    color: var(--muted);
    font-size: 13px;
}

.theme-strip {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}

.project-promo {
    margin: 0 0 22px;
}

.project-promo-card {
    background: #07101f;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    color: #fff;
    display: block;
    height: 116px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.project-promo-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
    transform: translateY(-2px);
}

.project-promo-cover,
.project-promo-shade {
    inset: 0;
    position: absolute;
}

.project-promo-cover {
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
    width: 100%;
}

.project-promo-card:hover .project-promo-cover {
    transform: scale(1.025);
}

.project-promo-shade {
    background: linear-gradient(90deg, rgba(2, 8, 23, .98), rgba(2, 8, 23, .9) 55%, rgba(2, 8, 23, .2));
}

.project-promo-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 116px;
    max-width: 620px;
    padding: 13px 20px;
    position: relative;
    z-index: 1;
}

.project-promo-logo-plate {
    align-items: center;
    background: rgba(255, 255, 255, .95);
    border-radius: 8px;
    display: flex;
    height: 28px;
    margin-bottom: 7px;
    max-width: 116px;
    padding: 4px 8px;
    width: max-content;
}

.project-promo-logo {
    display: block;
    max-height: 20px;
    max-width: 96px;
    object-fit: contain;
}

.project-promo-copy > strong {
    font-size: clamp(16px, 2.2vw, 19px);
    line-height: 1.15;
}

.project-promo-copy > span:last-child {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}

.swatch {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    min-height: 56px;
}

.swatch:nth-child(1) {
    background: linear-gradient(135deg, #04110d, #55e6b7);
}

.swatch:nth-child(2) {
    background: linear-gradient(135deg, #070a13, #79a7ff);
}

.swatch:nth-child(3) {
    background: linear-gradient(135deg, #100914, #ff8fd7);
}

.swatch:nth-child(4) {
    background: linear-gradient(135deg, #081114, #ffd28a);
}

.footer {
    color: var(--muted);
    font-size: 13px;
    margin-top: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.footer-links a {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0 12px;
}

.shots {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
}

.shot {
    margin: 0;
}

.shot img {
    border: 1px solid var(--border);
    border-radius: 18px;
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 280px;
    width: 100%;
}

@media (max-width: 880px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .grid,
    .grid.two {
        grid-template-columns: 1fr;
    }

    .shots {
        grid-auto-columns: 200px;
        grid-auto-flow: column;
        grid-template-columns: none;
        overflow-x: auto;
        padding-bottom: 8px;
    }
}

@media (max-width: 640px) {
    .shell {
        padding: 16px 12px 36px;
    }

    .topbar {
        align-items: flex-start;
        flex-wrap: wrap;
        margin-bottom: 18px;
    }

    .topbar > .nav {
        display: none;
    }

    .nav-menu {
        display: block;
        margin-left: auto;
    }

    .nav-menu[open] {
        flex: 0 0 100%;
    }

    .nav-menu[open] summary {
        margin-left: auto;
        display: flex;
        width: max-content;
    }

    .nav-menu .nav {
        width: 100%;
    }

    .nav a {
        flex: 0 0 auto;
        padding: 8px 10px;
    }

    .product-visual {
        min-height: 0;
        padding: 14px;
    }

    .project-promo-card,
    .project-promo-copy {
        height: 104px;
    }

    .project-promo-copy {
        padding: 11px 14px;
    }
}
