.ll {
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --accent: #0f766e;
    --accent-ink: #042f2e;
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: #0b1220;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.ll * { box-sizing: border-box; }
.ll.ll { display: block; }

.ll a { color: var(--accent); text-decoration: none; }
.ll a:hover { text-decoration: underline; }

.ll-frame {
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
    min-height: 100vh;
}

.ll-panel {
    display: flex;
    background: #fff;
    min-width: 0;
}

.ll-panel-inner {
    width: min(400px, 100%);
    margin: auto;
    padding: 40px 32px;
}

.ll-brand,
.ll-visual-brand {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 12px;
}

.ll-brand-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.ll-brand-copy strong {
    overflow-wrap: anywhere;
}

.ll-brand { margin-bottom: 28px; }

.ll-stack {
    width: 100%;
    min-width: 0;
}

.ll-brand img,
.ll-visual-brand img {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    max-width: var(--ll-logo-max, 44px);
    max-height: var(--ll-logo-max, 44px);
    object-fit: contain;
    object-position: center;
}

.ll-brand img {
    border-radius: 10px;
}

.ll-visual-brand img {
    max-width: 40px;
    max-height: 40px;
    padding: 3px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
}

.ll-brand small,
.ll-visual-brand small {
    display: block;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.ll-brand strong,
.ll-visual-brand strong {
    display: block;
    font-size: 16px;
    line-height: 1.25;
}

.ll-brand em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}

.ll-kicker {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.ll h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.ll-lead {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.ll-field { display: block; margin-bottom: 14px; }
.ll-field span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}

.ll-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--ink);
    font-size: 15px;
}

.ll-input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, .15);
}

.ll-submit {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, #0f766e, #115e59);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.ll-submit:hover { filter: brightness(1.05); }

.ll-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    font-size: 13px;
}

.ll-social { margin-top: 8px; }
.ll-social .btn { border-radius: 999px; }

.ll-demo {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ecfeff;
    font-size: 13px;
}

.ll-demo div { display: flex; justify-content: space-between; gap: 12px; }
.ll-demo span { color: var(--muted); }

.ll-foot {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 28px 0 0;
    font-size: 12px;
    color: #94a3b8;
}

.ll-visual {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    background: #134e4a;
}

.ll-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.ll-visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .05) 20%, rgba(15, 23, 42, .62));
}

.ll-visual-brand {
    display: none;
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 24px;
    bottom: 24px;
    color: #fff;
}

.ll-visual-brand small,
.ll-visual-brand strong { color: #fff; }

.ll .alert { border-radius: 12px; margin-bottom: 16px; font-size: 14px; }

/* 1 — form kiri, foto kanan */
.ll-1 .ll-visual-brand { display: none; }

/* 2 — foto kiri, form kanan */
.ll-2 .ll-frame { grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); }
.ll-2 .ll-visual { order: -1; }
.ll-2 .ll-visual-brand { display: none; }

/* 3 — kartu tengah di atas foto */
.ll-3 { background: #020617; }
.ll-3 .ll-frame { display: block; position: relative; min-height: 100vh; }
.ll-3 .ll-visual { position: absolute; inset: 0; }
.ll-3 .ll-panel {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    background: transparent;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.ll-3 .ll-panel-inner {
    width: min(420px, 100%);
    padding: 32px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    backdrop-filter: blur(10px);
}
.ll-3 .ll-brand { margin-bottom: 20px; }
.ll-3 .ll-brand img { --ll-logo-max: 40px; }

/* 4 — foto atas */
.ll-4 { background: #f8fafc; }
.ll-4 .ll-frame { grid-template-columns: 1fr; grid-template-rows: min(46vh, 460px) auto; }
.ll-4 .ll-visual { order: -1; min-height: 240px; }
.ll-4 .ll-panel { justify-content: center; }
.ll-4 .ll-brand { display: none; }
.ll-4 .ll-visual-brand { display: flex; }
.ll-4 h1 { display: none; }

/* 5 — rel gelap */
.ll-5 .ll-frame { grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); }
.ll-5 .ll-panel { background: #0f172a; color: #e2e8f0; }
.ll-5 .ll-brand small,
.ll-5 .ll-brand em,
.ll-5 .ll-lead,
.ll-5 .ll-foot { color: #94a3b8; }
.ll-5 .ll-kicker { color: #5eead4; }
.ll-5 h1,
.ll-5 .ll-brand strong,
.ll-5 .ll-field span { color: #f8fafc; }
.ll-5 .ll-input { background: #1e293b; border-color: #334155; color: #fff; }
.ll-5 .ll-foot a { color: #99f6e4; }
.ll-5 .ll-visual-brand { display: none; }

/* 6 — rel terang, foto inset */
.ll-6 { background: #e2e8f0; }
.ll-6 .ll-frame {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 18px;
    padding: 18px;
}
.ll-6 .ll-visual { order: -1; border-radius: 24px; }
.ll-6 .ll-panel { border-radius: 24px; box-shadow: 0 16px 40px rgba(15, 23, 42, .08); }
.ll-6 .ll-visual-brand { display: none; }

/* 7 — kartu mengambang kiri bawah */
.ll-7 .ll-frame { display: block; position: relative; min-height: 100vh; }
.ll-7 .ll-visual { position: absolute; inset: 0; }
.ll-7 .ll-panel {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    align-items: flex-end;
    justify-content: flex-start;
    background: transparent;
    padding: 28px;
}
.ll-7 .ll-panel-inner {
    width: min(420px, 100%);
    padding: 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    backdrop-filter: blur(12px);
}
.ll-7 .ll-panel .ll-brand img { --ll-logo-max: 40px; }
.ll-7 .ll-brand { display: none; }
.ll-7 .ll-visual-brand { display: flex; top: 28px; bottom: auto; }
.ll-7 h1 { display: none; }

/* 8 — kartu ganda di tengah */
.ll-8 {
    background:
        radial-gradient(700px 280px at 10% 0%, rgba(45, 212, 191, .35), transparent 60%),
        radial-gradient(700px 280px at 100% 100%, rgba(167, 139, 250, .35), transparent 55%),
        #f8fafc;
}
.ll-8 .ll-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 28px;
}
.ll-8 .ll-panel,
.ll-8 .ll-visual {
    width: min(440px, 46vw);
    height: min(680px, calc(100vh - 56px));
    min-height: 520px;
}
.ll-8 .ll-panel {
    border-radius: 0 28px 28px 0;
    box-shadow: 18px 24px 60px rgba(15, 23, 42, .12);
}
.ll-8 .ll-visual { border-radius: 28px 0 0 28px; }
.ll-8 .ll-panel-inner { padding-top: 28px; }
.ll-8 .ll-visual-brand { display: none; }

/* 9 — masthead */
.ll-9 { background: #f8fafc; }
.ll-9 .ll-frame {
    display: grid;
    grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    padding-top: 0;
}
.ll-9 .ll-panel,
.ll-9 .ll-panel-inner {
    display: contents;
}
.ll-9 .ll-brand {
    grid-column: 1 / -1;
    grid-row: 1;
    position: static;
    z-index: 1;
    height: auto;
    min-height: 64px;
    margin: 0;
    padding: 12px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.ll-9 .ll-brand em { display: none; }
.ll-9 .ll-brand img { --ll-logo-max: 38px; }
.ll-9 .ll-stack {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 28px 32px 40px;
    background: #fff;
    align-self: stretch;
}
.ll-9 .ll-visual {
    grid-column: 2;
    grid-row: 2;
    margin: 18px 18px 18px 0;
    border-radius: 20px;
    min-height: 280px;
}
.ll-9 h1 { font-size: 34px; }

/* 10 — editorial */
.ll-10 { background: #faf7f2; }
.ll-10 .ll-frame { grid-template-columns: minmax(0, 1.25fr) minmax(340px, 520px); }
.ll-10 .ll-visual { order: -1; }
.ll-10 .ll-panel { background: #faf7f2; }
.ll-10 .ll-kicker,
.ll-10 h1 { display: none; }
.ll-10 .ll-brand { align-items: center; gap: 14px; margin-bottom: 22px; }
.ll-10 .ll-brand img { --ll-logo-max: 48px; }
.ll-10 .ll-brand strong { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.ll-10 .ll-kicker { color: #9a3412; }
.ll-10 .ll-submit { background: linear-gradient(180deg, #9a3412, #7c2d12); }
.ll-10 .ll-input:focus { border-color: #9a3412; box-shadow: 0 0 0 4px rgba(154, 52, 18, .15); }
.ll-10 .ll-visual-brand { display: none; }
.ll-10 .ll-visual-shade { background: linear-gradient(90deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .45)); }

@media (max-width: 900px) {
    .ll-1 .ll-frame,
    .ll-2 .ll-frame,
    .ll-4 .ll-frame,
    .ll-5 .ll-frame,
    .ll-6 .ll-frame,
    .ll-8 .ll-frame,
    .ll-9 .ll-frame,
    .ll-10 .ll-frame {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
        min-height: 100vh;
    }

    .ll-1 .ll-visual,
    .ll-2 .ll-visual,
    .ll-4 .ll-visual,
    .ll-5 .ll-visual,
    .ll-6 .ll-visual,
    .ll-8 .ll-visual,
    .ll-9 .ll-visual,
    .ll-10 .ll-visual {
        order: -1;
        width: 100%;
        height: 34vh;
        min-height: 200px;
        border-radius: 0;
        margin: 0;
    }

    .ll-1 .ll-panel,
    .ll-2 .ll-panel,
    .ll-4 .ll-panel,
    .ll-5 .ll-panel,
    .ll-6 .ll-panel,
    .ll-8 .ll-panel,
    .ll-9 .ll-panel,
    .ll-10 .ll-panel {
        width: 100%;
        height: auto;
        min-height: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .ll-8 .ll-panel,
    .ll-8 .ll-visual { width: 100%; height: auto; }

    .ll-9 .ll-panel,
    .ll-9 .ll-panel-inner {
        display: block;
        width: 100%;
    }
    .ll-9 .ll-panel-inner {
        width: min(400px, 100%);
        margin: auto;
        padding: 24px 32px 32px;
    }
    .ll-9 .ll-brand {
        grid-column: unset;
        grid-row: unset;
        padding: 16px 24px;
        border-bottom: 1px solid var(--line);
    }
    .ll-9 .ll-stack {
        grid-column: unset;
        grid-row: unset;
        width: 100%;
        padding: 0;
        background: transparent;
    }
    .ll-9 .ll-visual {
        grid-column: unset;
        grid-row: unset;
    }

    .ll-3 .ll-panel,
    .ll-7 .ll-panel { padding: 16px; align-items: center; }
    .ll h1 { font-size: 26px; }
    .ll-10 h1 { font-size: 28px; }
}
